Sound source acquisition method, device, electronic device, computer-readable medium and product

By obtaining and sending the first prompt sound data in wireless headphones, the problem that users cannot customize the prompt sound is solved, personalized prompt sound settings are realized and storage utilization is optimized.

CN114697797BActive Publication Date: 2025-08-05GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210023376.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2025-08-05
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

The prompt sounds of existing wireless headphones are fixed when leaving the factory, and users cannot switch according to their personal interests, cannot meet personalized needs, and storing multiple prompt sounds will waste equipment storage space.

Method used

By obtaining the first prompt sound data and sending it to the wireless audio playback device, instructing it to store and use the prompt sound data as the target prompt sound, a user-defined prompt sound setting is realized.

Benefits of technology

Users can customize the prompt sound of wireless headphones according to their personal interests to meet personal needs while avoiding wasting storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114697797B_ABST
    Figure CN114697797B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, electronic device, computer-readable medium and product for obtaining a sound source, relating to the field of audio technology and applied to an electronic device. The method includes: obtaining first prompt sound data; sending the first prompt sound data to a wireless audio playback device, and instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. The prompt sounds of existing wireless audio playback devices are set at the factory, and users cannot switch them according to their own interests, which cannot meet the personalized needs of users. The present application solves the personalized needs of users for the prompt sounds of wireless audio devices by storing the first prompt sound data in the wireless audio device and using it as the prompt sound of the wireless audio device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio technology, and more specifically, to a method and device for obtaining a sound source, an electronic device, a computer-readable medium, and a product. Background Art

[0002] Currently, with the development of wireless communication technology, more and more users tend to use wireless earphones. However, the prompt sound sources of existing wireless earphones are several default audio files pre-stored in the wireless earphones, which is not convenient for users to switch according to their interests. Summary of the Invention

[0003] This application provides a method and device for obtaining a sound source, an electronic device, a computer-readable medium, and a product to improve the above defects.

[0004] In a first aspect, an embodiment of this application provides a method for obtaining a sound source, which is applied to an electronic device. The method includes: obtaining first prompt sound data; sending the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device.

[0005] In a second aspect, an embodiment of this application further provides a method for obtaining a sound source, which is applied to a wireless audio playback device. The method includes: obtaining first prompt sound data sent by an electronic device; using the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device.

[0006] In a third aspect, an embodiment of this application further provides a device for obtaining a sound source, which is applied to an electronic device. The device includes: a first obtaining unit, configured to obtain first prompt sound data; a sending unit, configured to send the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device.

[0007] In a fourth aspect, an embodiment of this application further provides a device for obtaining a sound source, which is applied to a wireless audio playback device. The device includes: a second obtaining unit, configured to obtain first prompt sound data sent by an electronic device; a processing unit, configured to store and use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device.

[0008] In a fifth aspect, an embodiment of the present application further provides an electronic device, including: one or more first processors; a first memory; one or more applications, where the one or more applications are stored in the first memory and configured to be executed by the one or more first processors, and the one or more applications are configured to execute the above method.

[0009] In a sixth aspect, an embodiment of the present application further provides a wireless audio playback device, including: one or more second processors; a second memory; one or more applications, where the one or more applications are stored in the second memory and configured to be executed by the one or more second processors, and the one or more applications are configured to execute the above method.

[0010] In a seventh aspect, an embodiment of the present application further provides a computer-readable medium, where the readable storage medium stores program code executable by a first processor or a second processor, and when the program code is executed by the first processor or the second processor, the first processor or the second processor is caused to execute the above method.

[0011] In an eighth aspect, an embodiment of the present application further provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a first processor or a second processor, the above method is implemented.

[0012] The sound source acquisition method, device, electronic device, computer-readable medium, and product provided by the present application obtain first prompt sound data; then send the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. By storing the first prompt sound data in the wireless audio device and using the prompt sound corresponding to the first prompt sound data as the prompt sound of the wireless audio device, the present application solves the user's personalized need for the prompt sound of the wireless audio device, and further solves the problem that the prompt sound of the wireless audio playback device is set at the factory, and the user cannot switch according to their own interests and cannot meet the user's personalized needs.

[0013] Other features and advantages of the embodiments of the present application will be described in the subsequent specification, and part of them will become obvious from the specification, or be understood by implementing the embodiments of the present application. The objectives and other advantages of the embodiments of the present application can be achieved and obtained through the structures specifically pointed out in the written specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0015] Figure 1 A diagram showing a scenario in which the sound source acquisition method provided in an embodiment of the present application is applied;

[0016] Figure 2 A flow chart of a method for obtaining a sound source according to an embodiment of the present invention is shown;

[0017] Figure 3 A flow chart of a method for obtaining a sound source according to another embodiment of the present application is shown;

[0018] Figure 4 A schematic diagram showing a specified interface in the sound source acquisition method provided in an embodiment of the present application is shown;

[0019] Figure 5 A schematic diagram showing a designated interface in a sound source acquisition method provided by another embodiment of the present application is shown;

[0020] Figure 6 shows a structural diagram of a designated device provided in an embodiment of the present application;

[0021] Figure 7 A flow chart of a method for obtaining a sound source according to another embodiment of the present application is shown;

[0022] Figure 8 A schematic diagram showing a designated interface in a sound source acquisition method provided in another embodiment of the present application is shown;

[0023] Figure 9 A structural diagram of a sound source acquisition method provided in an embodiment of the present application is shown;

[0024] Figure 10 A flow chart of a method for obtaining a sound source according to another embodiment of the present application is shown;

[0025] Figure 11 Shown Figure 10 An implementation diagram of step S1010;

[0026] Figure 12 A flow chart of a method for obtaining a sound source according to another embodiment of the present application is shown;

[0027] Figure 13 A schematic diagram of data transmission provided by an embodiment of the present application is shown;

[0028] Figure 14 Shows the structural diagram of the sound source acquisition method provided by another embodiment of the present application;

[0029] Figure 15 Shows the method flow chart of the sound source acquisition method provided by another embodiment of the present application;

[0030] Figure 16 Shows the method flow chart of the sound source acquisition method provided by another embodiment of the present application;

[0031] Figure 17 Shows the schematic diagram of the touch control provided by the embodiment of the present application;

[0032] Figure 18 Shows the schematic diagram of another touch control provided by the embodiment of the present application;

[0033] Figure 19 Shows Figure 16 A schematic diagram of an implementation manner of step S1620 in

[0034] Figure 20 Shows the unit block diagram of the sound source acquisition device provided by the embodiment of the present application;

[0035] Figure 21 Shows the unit block diagram of the sound source acquisition device provided by another embodiment of the present application;

[0036] Figure 22 Shows the schematic diagram of the electronic device provided by the embodiment of the present application;

[0037] Figure 23 Shows the schematic diagram of the wireless audio playback device provided by the embodiment of the present application;

[0038] Figure 24 Shows the structural block diagram of the computer-readable storage medium provided by the embodiment of the present application;

[0039] Figure 25 Shows the structural block diagram of the computer program product provided by the embodiment of the present application. Detailed implementation manners

[0040] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Usually, the components of the embodiments of this application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but only represents the selected embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of this application.

[0041] It should be noted that similar reference numerals and letters indicate similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, terms such as "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0042] With the development of wireless communication technology and acoustic technology, more and more users tend to use wireless earphones. Wireless earphones can indicate the current state of the wireless earphones to the user through a prompt tone. For example, during pairing or when already connected, etc. However, the prompt tone of wireless earphones is generally set by the manufacturer at the time of factory production and cannot be switched by the user in real time.

[0043] Specifically, a wireless earphone may include a storage unit. The prompt tone is written into the storage unit of the wireless earphone by the manufacturer at the time of factory production and is directly called from the storage unit during use. Further, some manufacturers may also write two prompt tones into the storage unit of the wireless earphone, such as a Chinese prompt tone and an English prompt tone, and the user can perform a simple switch between Chinese and English during use.

[0044] However, the inventors found in their research that in the above method, if only a specific one or several prompt tones are written into the storage unit of the wireless earphone at the time of factory production, the personalized needs of users cannot be met. When writing multiple prompt tones, it will also cause waste of the storage unit of a truly wireless earphone.

[0045] Therefore, to overcome the above-mentioned deficiencies, the embodiments of the present application provide a sound source acquisition method, device, electronic device, computer-readable medium and product. The method includes obtaining first prompt sound data; then sending the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. By storing the first prompt sound data in the wireless audio device and using it as the prompt sound of the wireless audio device, the present application solves the personalized needs of users for the prompt sound of the wireless audio device, and further solves the problem that the prompt sound of the wireless audio playback device is set at the factory, and users cannot switch according to their own interests and cannot meet the personalized needs of users.

[0046] Please refer to Figure 1 , Figure 1 which shows the application scenario of the sound source acquisition method provided by the embodiments of the present application, that is, the sound source acquisition scenario 100. In this sound source acquisition scenario 100, the electronic device 110 is connected to the wireless audio playback device 120.

[0047] For some embodiments, the electronic device 110 is used to obtain the first prompt sound data and send the first prompt sound data to the wireless audio playback device. The user can communicate through the electronic device 110 and the wireless audio playback device 120, store the first prompt sound data in the wireless audio playback device 120, and use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. The electronic device 110 can run an application program, and the user can obtain the first prompt sound data and send the first prompt sound data to the wireless audio playback device by using the application program, and further instruct the wireless audio playback device to store the first prompt sound data and use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. Specifically, the electronic device 110 can be a smart phone, a tablet computer, a laptop computer and other devices.

[0048] The wireless audio playback device 120 is used to obtain the first prompt sound data sent by the electronic device 110, store the first prompt sound data and use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. For an embodiment provided by the present application, the wireless audio playback device 120 can be connected to the electronic device 110 through Bluetooth. For some embodiments, the wireless audio playback device 120 can be a true wireless stereo (TWS) headset.

[0049] Please refer to Figure 2 , Figure 2It shows a sound source acquisition method provided by an embodiment of the present application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method can be an electronic device. Specifically, this method includes steps S210 to step S220.

[0050] Step S210: Obtain the first prompt tone data.

[0051] For some embodiments, the electronic device can first obtain the first prompt tone data and store the first prompt tone data in the storage unit of the electronic device, and then wait for a transmission request for the first prompt tone data. When a transmission request for the first prompt tone data is obtained, the transmission request can be responded to.

[0052] Specifically, for some embodiments, the electronic device can obtain the first prompt tone data through the server. The electronic device and the server can be connected through the Internet. The server can access the Internet through network devices such as access gateways or routers, and the electronic device can access the Internet through cellular data or wireless routers, etc., so as to realize the communication connection between the electronic device and the server based on the Internet. The user can select the first prompt tone data based on the application program running on the electronic device, and the application program can download the first prompt tone data from the server to the electronic device through the Internet. For other embodiments, the user can also convert other audio on the electronic device into an audio file that meets the requirements of the wireless audio playback device through the application program, and use this audio file as the first prompt tone data. For example, the requirements of the wireless audio playback device can be that the duration of the audio file is 3 to 5 seconds, the size of the audio file is less than 100 kB, and the audio file format is Moving Picture Experts Group Audio Layer III (MP3). The user can use the application program running on the electronic device to convert other audio into an audio file with a duration of 4 seconds, a file size of 80 Kb, and a file format of Moving Picture Experts Group Audio Layer III, and use this audio file as the first prompt tone data.

[0053] Step S220: Send the first prompt tone data to the wireless audio playback device, and instruct the wireless audio playback device to use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device.

[0054] For some embodiments, the first prompt tone data obtained in the foregoing steps may be sent to a wireless audio playback device to instruct the wireless audio playback device to use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device. The first prompt tone data may be a data packet, which may include a data packet header, a prompt tone, and a data packet tail. The contents of the data packet header and the data packet tail are generally pre-agreed and are used to be appended before and after the information to be transmitted during data transmission to determine the starting position of the data. Exemplarily, the first prompt tone data may be "data packet header + prompt tone + data packet tail". When the wireless audio playback device receives the data packet header, it knows that it should start receiving the current data, and when it receives the data packet tail, it knows that the current data transmission ends. For some embodiments, the prompt tone may be used to prompt the user of the current state of the wireless audio playback device. For example, the prompt tone may be "connected", which is used to indicate that the wireless audio playback device has completed the connection with the electronic device and is in a normal working state; the prompt tone may also be "low battery", which is used to indicate that the battery of the wireless audio playback device is low and prompts the user to charge the wireless audio playback device as soon as possible. Specifically, the first prompt tone data may be transmitted to the wireless audio playback device through a wireless communication channel pre-established between the wireless audio playback device and the electronic device. The wireless communication channel may be established based on Bluetooth technology. For other embodiments, the first prompt tone data may also be transmitted to the wireless audio playback device by connecting the first electrical connector of the wireless audio playback device to the second electrical connector of the electronic device.

[0055] For some embodiments, the prompt tone corresponding to the first prompt tone data obtained by the wireless audio playback device may be used to overwrite the area of the prompt tone pre-stored in the wireless audio playback device to update the pre-stored prompt tone and use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device.

[0056] The sound source acquisition method, device, electronic device, computer-readable medium and product provided by this application obtain the first prompt tone data; then send the first prompt tone data to the wireless audio playback device to instruct the wireless audio playback device to use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device. By storing the first prompt tone data in the wireless audio device and using the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio device, this application solves the personalized needs of users for the prompt tones of wireless audio devices, and further solves the problem that the prompt tones of wireless audio playback devices are set at the factory and users cannot switch according to their own interests, thus unable to meet the personalized needs of users.

[0057] Please refer toFigure 3 , Figure 3 shows a method for obtaining a sound source provided by an embodiment of the present application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method can be an electronic device. Specifically, this method includes steps S310 to step S320.

[0058] Step S310: Obtain a transmission request for the first prompt sound data input by the user based on a specified interface of the user terminal, where at least one audio identifier is displayed on the specified interface.

[0059] Step S320: In response to the transmission request, based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device, send the first prompt sound data to the wireless audio playback device.

[0060] For some embodiments, the electronic device can be a user terminal. For example, a smart phone, a tablet computer, etc. The user can, based on this user terminal, obtain a transmission request for the first prompt sound data and respond to the transmission request for the first prompt sound data. Specifically, the user can operate through a specified interface of the user terminal to input a transmission request for the first prompt sound data. Among them, the specified interface can be an interface displayed by an application program running on the user terminal through the display module of the user terminal.

[0061] Please refer to Figure 4 , Figure 4 shows a schematic diagram of a specified interface. Figure 4 In the middle of the upper part of the specified interface shown in, the text "First Prompt Sound Data" is displayed to prompt the user that the specified interface corresponds to the first prompt sound data. Below the text "First Prompt Sound Data" in the specified interface, at least one audio identifier is displayed, and a transmission control is displayed at the right side position of the at least one audio identifier. The user can interact with the transmission control to implement input of the transmission request for the first prompt sound data. Figure 4 In, the audio identifiers are "Chinese" and "English", and the transmission controls are "Transmit" corresponding to "Chinese" and "Transmit" corresponding to "English" respectively. Specifically, for some embodiments, the user can input the transmission request for the first prompt sound data by clicking the transmission control in the specified interface. The user can also input the transmission request for the first prompt sound data based on the content displayed on the specified interface through other input methods. For example, by operating the cursor of the mouse to click the transmission control. For an example, the user can click the transmission control "Transmit" corresponding to the audio identifier "Chinese" to use the audio corresponding to the audio identifier "Chinese" as the first prompt sound data and input the transmission request for the first prompt sound data.

[0062] For an implementation provided by this application, the electronic device can be a user terminal. A wireless communication channel can be established in advance between the user terminal and the wireless audio playback device, so as to transmit the first prompt tone data to the wireless audio playback device through the user terminal. Specifically, the wireless communication channel established between the user terminal and the wireless audio playback device in advance can be established based on the Bluetooth transmission protocol. For an implementation provided by this application, the wireless communication channel can be the Serial Port Profile (SPP) based on Bluetooth. Through this SPP, serial port data communication can be established between the user terminal and the wireless audio playback device based on Bluetooth, so as to transmit the first prompt tone data to the wireless audio playback device, instructing the wireless audio playback device to store the first prompt tone data and use it as the prompt tone of the wireless audio playback device.

[0063] Furthermore, please refer to Figure 5 , the specified interface of the user terminal can also display prompt information for indicating the first prompt tone data being transmitted to the wireless audio playback device. Specifically, the prompt information can include the audio identifier corresponding to the first prompt tone data being transmitted. For example, if the audio identifier corresponding to the first prompt tone data is "Chinese", the prompt information can be "Transmitting Chinese first prompt tone data, please keep the connection with the wireless audio playback device".

[0064] For some other implementations, the electronic device can also be a storage device. The wireless audio playback device can be a wireless earphone, and the storage device can be an earphone case. Currently, wireless earphones are paired with the earphone case for use. The earphone case is used to accommodate the wireless earphones. Please refer to Figure 6 , the earphone case 620 can accommodate the wireless earphones 610. Specifically, the inner wall of the shell of the earphone case 620 forms a receiving cavity, and the wireless earphones 610 can be accommodated in the receiving cavity of the earphone case 620.

[0065] In addition, the earphone case 620 can not only provide a receiving cavity for accommodating the wireless earphones 610, but also communicate with the wireless earphones 610, so as to obtain information such as the battery power, name or network parameters of the wireless earphones 610, so that the user terminal can successfully pair with the wireless earphones 610 through the earphone case 620 and establish a communication connection. As an implementation, the earphone case 620 is also used to charge the wireless earphones 610.

[0066] For some embodiments, the housing of the storage device may further be provided with a target button, and the user can input a first prompt sound data transmission request by touching the target button. For other embodiments, the specified housing may further be connected to other user terminals, and the user can input a first prompt sound data transmission request based on the other user terminals. Further, a wireless communication channel may be established in advance between the storage device and the wireless audio playback device, so as to transmit the first prompt sound data to the wireless audio playback device through the user terminal. The storage device may further include a storage module, and the earphone case may pre-obtain the first prompt sound data and store the first prompt sound data in the storage module. When a first prompt sound data transmission request is obtained, the storage device may send the corresponding first prompt sound data to the wireless audio playback device, instructing the wireless audio playback device to store the first prompt sound data and use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. Further, if after obtaining the transmission request of the first prompt sound data, it is found that the user terminal does not store the first prompt sound data, at this time, the first prompt sound data may be downloaded from the server through the user terminal, and then the first prompt sound data downloaded to the user terminal is transmitted to the wireless audio playback device through the pre-established wireless communication channel. The target prompt sound is the prompt sound corresponding to the first prompt sound data corresponding to the audio identifier corresponding to the transmission request. For example, if the audio identifier corresponding to the transmission request is "Japanese", and the first prompt sound data corresponding to "Japanese" is not stored in the user terminal at this time, the first prompt sound data corresponding to "Japanese" may be downloaded from the server through the user terminal, and then the first prompt sound data corresponding to "Japanese" downloaded to the user terminal is transmitted to the wireless audio playback device through the pre-established wireless communication channel. For other embodiments, the audio identifier may further include different prompt sound styles. Exemplarily, the audio identifier may be "animation", "classical", "rock", and by selecting the audio identifier corresponding to different prompt sound styles, the style of the target prompt sound can be changed, enabling the user to have more diverse choices.

[0067] Please refer to Figure 7 , Figure 7 FIG. shows a method for obtaining a sound source provided by an embodiment of the present application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method may be an electronic device. Specifically, this method includes steps S710 to S740.

[0068] Step S710: In response to a download request input by the user based on the specified interface, download an audio file corresponding to the download request from the server.

[0069] For some embodiments, to meet the needs of users in different languages, audio files corresponding to multiple languages can be produced, and the multiple audio files are uploaded to the server for storage. The audio identifiers corresponding to each audio are displayed through a specified interface of the user terminal to indicate the first prompt sound data that the user can select. When the first prompt sound data is needed, it is downloaded from the server to the user terminal, reducing the data storage pressure on the user terminal. For example, audio files corresponding to audio identifiers "Chinese", "English", "Japanese", and "French" can be produced respectively, and the above audio is stored on the server for the user terminal to download when needed. Further, more personalized first prompt sound data can be provided to the user. For example, different sound effects can be provided so that the user can use sound effects for the current first prompt sound data. For example, sound effects such as "hollow", "stage", and "animation" can be provided. The user can select the "animation" sound effect to act on the first prompt sound data corresponding to "Chinese" to obtain more personalized first prompt sound data.

[0070] Further, the user terminal can respond to a download request input by the user based on the specified interface, and download the audio file corresponding to the download request from the server. Specifically, the specified interface displayed on the user terminal may further include an audio identifier and a download control corresponding to the audio identifier. Please continue to refer to Figure 4 , Figure 4 which also includes the audio identifier "French" and the download control "Download" corresponding to the audio identifier. For one example, the user can click the download control "Download" corresponding to "French" to input a download request. At this time, the user terminal can respond to the download request and download the audio file corresponding to "French" corresponding to the download request from the server.

[0071] Among them, the user terminal and the server can be connected through the Internet. That is, the user terminal can access the Internet through network devices such as a cellular data network or a wireless router, and the server can access the Internet through network devices such as a gateway or a switch, so as to realize data transmission between the user terminal and the server.

[0072] Step S720: Display a transmission control corresponding to the downloaded audio file in the specified interface, where the transmission control is used to input a transmission request.

[0073] For some embodiments, the specified interface can display the audio files that have been downloaded to the user terminal. Specifically, the audio identifier corresponding to the audio file and the transmission control corresponding to the audio file can be displayed, where the transmission control is used to input a transmission request. Please refer to Figure 8 , Figure 8In the middle above the specified interface shown, the text "First Prompt Tone Data" is displayed to prompt the user that the specified interface corresponds to the first prompt tone data. Below the text "First Prompt Tone Data" in the specified interface, the audio identifier corresponding to the downloaded audio file is displayed, and a transmission control corresponding to the audio identifier is displayed on the right side of each audio identifier. Figure 8 The specified interface shown in [it] displays the audio identifiers corresponding to "Chinese", "English", and "French", as well as the transmission control "Transmission" corresponding to each audio identifier.

[0074] Step S730: Obtain a transmission request for the first prompt tone data input by the user based on the specified interface of the user terminal, where at least one audio identifier is displayed on the specified interface. Step S740: In response to the transmission request, based on the wireless communication channel pre-established between the electronic device and the wireless audio playback device, send the first prompt tone data to the wireless audio playback device.

[0075] Among them, steps S730 and S740 have been described in detail in the foregoing embodiments, and will not be elaborated here.

[0076] Please refer to Figure 9 , Figure 9 shows the structural diagram 900 of a sound source acquisition method provided by an embodiment of the present application. The structural diagram 900 includes a server 910, a user terminal 920, and a wireless audio playback device 930. Among them, the user terminal 920 is respectively connected to the server 910 and the wireless audio playback device 930. The user terminal 920 can obtain the first prompt tone data from the server 910, and when obtaining a transmission request, respond to the transmission request and send the first prompt tone data to the wireless audio playback device 930, instructing the wireless audio playback device 930 to use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device 930.

[0077] The sound source acquisition method, device, electronic device, computer-readable medium and product provided by this application obtain the first prompt sound data, and then send the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. The prompt sounds of existing wireless audio playback devices are set at the factory, and users cannot switch them according to their own interests, which cannot meet the personalized needs of users. This application provides users with a variety of audio file selections by obtaining audio files from a server to an electronic device, then storing the first prompt sound data in the wireless audio device through a pre-established wireless communication channel, and using the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio device, without wasting the local storage space of the electronic device, and solving the personalized needs of users for the prompt sounds of wireless audio devices.

[0078] Please refer to Figure 10 , Figure 10 FIG. shows a sound source acquisition method provided by an embodiment of this application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method can be an electronic device. Specifically, this method includes steps S1010 to step S1020.

[0079] Step S1010: When it is detected that the target button is touched when the wireless audio playback device is located inside the storage device, it is determined that a transmission request for the first prompt sound data is obtained.

[0080] For some embodiments, the electronic device can be a storage device for accommodating the wireless audio playback device. A target button is provided on the housing of the storage device, and the first prompt sound data is pre-stored in the memory of the storage device. Before determining that a transmission request for the first prompt sound data is obtained when it is detected that the target button is touched when the wireless audio playback device is located inside the storage device, the first prompt sound data sent by the user terminal can also be obtained and stored in the memory of the storage device.

[0081] Specifically, the user terminal can be connected to the storage device, and the first prompt tone data can be pre-stored in the memory of the storage device. For one example, the user terminal can be connected to the storage device via Universal Serial Bus (USB), and then the first prompt tone data stored in the user terminal is transmitted to the storage device. Among them, the user terminal can download the first prompt tone data through the server, and this method has been introduced in detail in the foregoing embodiments, so it will not be elaborated here. Further, each of the first prompt tone data stored in the user terminal can be stored in the memory of the storage device. For example, if the user terminal stores "Chinese" first prompt tone data, "English" first prompt tone data, and "French" first prompt tone data, then the above three types of first prompt tone data can be stored in the memory of the storage device. It is also possible to only store the selected first prompt tone data in the memory of the storage device. For example, for the above three types of first prompt tone data, only the "French" first prompt tone data can be selected and stored in the memory of the storage device.

[0082] For some embodiments, when the wireless audio playback device is located inside the storage device, it can be determined whether the target button provided on the housing of the storage device is touched. When it is detected that the target button is touched, it is determined that a transmission request for the first prompt tone data is obtained. Specifically, in order to prevent accidental touching of the target button, it can be set that the target button needs to be touched continuously several times within a certain period of time to trigger the transmission request for the first prompt tone data. For example, it needs to be touched continuously three times within 3 s. Then, if the target button is touched three times within 3 s, the transmission request for the first prompt tone data can be triggered. It is also possible to set the duration of the touch. For example, it needs to be touched for 2 s. Then, if the target button is touched once and the touch duration is 3 s, the transmission request for the first prompt tone data can be triggered.

[0083] It should be noted that the number of touches and the duration are only used to illustrate an embodiment provided in the present application. The specific method for triggering the transmission request for the first prompt tone data by touching the target button can be flexibly set according to needs and is not limited here.

[0084] For other embodiments, multiple audio files can also be pre-stored in the memory of the designated accommodation. At this time, the first prompt tone data can be determined by determining the first touch operation information of the target button. Please refer to Figure 11 , Figure 11 which shows Figure 10 an embodiment of step S1010 in Figure 11 including step S1011 and step S1012.

[0085] Step S1011: When it is detected that the target button is touched while the wireless audio playback device is located inside the storage device, determine the first touch operation information of the target button.

[0086] Step S1012: From multiple audio files, determine the audio file corresponding to the first touch operation information as the first prompt tone data, and determine that a transmission request for the first prompt tone data has been obtained.

[0087] For some embodiments, the first touch operation information of the target button may be the number of times the target button is touched within a specified time period. Among them, different numbers of touches may correspond to different audio files. Specifically, one touch can be set to correspond to "Chinese", two touches to correspond to "English", and three touches to correspond to "Japanese". For one example, if the specified time period is 5 seconds and the target button is touched twice within 5 seconds, it can be determined that the audio file corresponding to the first touch operation information is "English", use the audio file corresponding to "English" as the first prompt tone data, and determine that a transmission request for the first prompt tone data based on "English" has been obtained.

[0088] It should be noted that the above first touch operation information is only an example provided by this application, and the first touch operation information can be flexibly set according to needs.

[0089] Step S1020: In response to the transmission request, based on the wireless communication channel previously established between the electronic device and the wireless audio playback device, send the first prompt tone data to the wireless audio playback device.

[0090] Among them, Step S1020 has been described in detail in the foregoing embodiments and will not be elaborated here.

[0091] Please refer to Figure 12 , Figure 12 which shows a method for obtaining a sound source provided by an embodiment of this application. This method can be applied to the sound source acquisition scenario 120 in the foregoing embodiments, and the execution subject of this method can be an electronic device. Specifically, this method includes Step S1210 to Step S1220.

[0092] Step S1210: When it is detected that the target button is touched while the wireless audio playback device is located inside the storage device, determine that a transmission request for the first prompt tone data has been obtained.

[0093] Among them, Step S1210 has been described in detail in the foregoing embodiments and will not be elaborated here.

[0094] Step S1220: In response to the transmission request, send the first prompt tone data to the wireless audio playback device through the first electrical connector and the second electrical connector.

[0095] For some embodiments, the wireless audio playback device may have a first electrical connector, and the storage device may have a second electrical connector. When the wireless audio playback device is located within the storage device, the first electrical connector of the wireless audio playback device is connected to the second electrical connector of the storage device, wherein the first electrical connector and the second electrical connector are used for data transmission, enabling the first prompt tone data within the storage device to be transmitted to the wireless audio playback device.

[0096] For some embodiments, the first electrical connector may be a Type-c female port, and the second electrical connector may be a Type-c male port. The Type-c female port can be connected to the Type-c male port to achieve charging and data transmission, enabling the first prompt tone data within the storage device to be transmitted to the wireless audio playback device. For other embodiments, the storage device and the wireless audio playback device may also communicate through means such as 5V carrier communication, serial port communication, and private protocol communication. Since the amount of information communicated between the storage device and the wireless audio playback device is small, for example, the information communicated between the two includes basic information such as battery power and Bluetooth address, which generally does not exceed 10 bytes, and the main function of the storage device is to charge the wireless audio playback device, using the 5V carrier communication method generally does not affect the charging efficiency of the storage device for the wireless audio playback device.

[0097] The basic principle of 5V carrier communication is that the storage device outputs 5V to charge the wireless audio playback device. When communication is required, the information to be communicated is modulated on the output 5V waveform. Considering that the communication distance is very short and the computing power of the chip used by the storage device is not high, 5V carrier communication generally adopts amplitude modulation. To reduce the error rate, simple and common encoding and decoding are generally used. As Figure 13 shown, when communication is not required, the storage device maintains a stable 5V output to charge the wireless audio playback device. When communication is required, the storage device can send a carrier to the wireless audio playback device by representing bit "1" with 5V and bit "0" with 0V. The wireless audio playback device reads the level value at this time at a fixed clock frequency through a pre-agreed sampling rate to achieve data communication.

[0098] Please continue to refer to Figure 6, the storage device can be an earphone case, and the wireless audio playback device can be wireless earphones. Whether it is serial communication or a communication method such as 5V carrier wave, it is necessary to install spring pins on the earphone case 620. The spring pins contact the exposed pins of the wireless earphones 610 to achieve electrical connection. That is, the first electrical connector can also be a gold finger, and the second electrical connector can also be a pin. A spring pin 621 is provided on the earphone case 620. As an implementation, the spring pin 621 is provided in the accommodating cavity of the earphone case 620. A gold finger 611 is provided on the wireless earphones 610. When the wireless earphones 610 are placed in the accommodating cavity of the earphone case 620, the gold finger 611 contacts the spring pin 621 to achieve electrical connection between the wireless earphones 610 and the earphone case 620. Specifically, a part of the spring pin 621 protrudes from the surface of the accommodating cavity of the earphone case 620. The gold finger 611 of the wireless earphones 610 can be a groove opened on the surface of the housing of the wireless earphones 610. Then, the part of the spring pin 621 that protrudes from the surface of the accommodating cavity of the earphone case 620 just matches the groove, so that the gold finger 611 contacts the spring pin 621. The wireless earphones are electrically connected through the gold finger and the pin of the earphone case, so that the first prompt tone data in the earphone case is transmitted to the wireless earphones.

[0099] Please refer to Figure 14 , Figure 14 shows the structural diagram 1400 of a sound source acquisition method provided by an embodiment of the present application. The structural diagram 1400 includes a user terminal 920, a storage device 1420, and a wireless audio playback device 930. Among them, the storage device 1420 is respectively connected to the user terminal 920 and the wireless audio playback device 930. The storage device 1420 can obtain the first prompt tone data from the user terminal 920, and when a first prompt tone data request is obtained, respond to the first prompt tone data request and transmit the first prompt tone data to the wireless audio playback device 930, instructing the wireless audio playback device 930 to store the first prompt tone data and use it as the prompt tone of the wireless audio playback device 930.

[0100] The sound source acquisition method, device, electronic device, computer-readable medium, and product provided by this application obtain first prompt sound data; then send the first prompt sound data to a wireless audio playback device, instructing the wireless audio playback device to use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device. The prompt sounds of existing wireless audio playback devices are set at the factory, and users cannot switch them according to their own interests, which cannot meet the personalized needs of users. By first storing the first prompt sound data in the memory of a storage device, and then transmitting it to the wireless audio playback device through the storage device and using it as the prompt sound of the wireless audio playback device, multiple alternative first prompt sound data can be stored in the storage device. Users can send a first prompt sound data request through the storage device at any time to replace the prompt sound of the wireless audio playback device, solving the personalized needs of users for the prompt sounds of wireless audio devices.

[0101] Please refer to Figure 15 , Figure 15 shows a sound source acquisition method provided by an embodiment of this application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method can be a wireless audio playback device. Specifically, this method includes steps S1510 to step S1520.

[0102] Step S1510: Obtain the first prompt sound data sent by the electronic device.

[0103] Step S1520: Use the prompt sound corresponding to the first prompt sound data as the target prompt sound of the wireless audio playback device.

[0104] For some embodiments, the wireless audio playback device can obtain the first prompt sound data sent by the electronic device, where the first prompt sound data sent by the electronic device can be obtained and sent based on the method in the foregoing embodiment, which has been described in detail before and will not be elaborated here.

[0105] Furthermore, the wireless audio playback device can use the prompt sound corresponding to the obtained first prompt sound data as the target prompt sound of the wireless audio playback device.

[0106] Please refer to Figure 16 , Figure 16 shows a sound source acquisition method provided by an embodiment of this application. This method can be applied to the sound source acquisition scenario 100 in the foregoing embodiment, and the execution subject of this method can be a wireless audio playback device. Specifically, this method includes steps S1610 to step S1630.

[0107] Step S1610: Obtain the first prompt sound data sent by the electronic device.

[0108] Step S1620: Replace the first prompt tone currently used by the wireless audio playback device with the target prompt tone.

[0109] For some embodiments, the wireless audio playback device may replace the first prompt tone currently used with the prompt tone corresponding to the acquired first prompt tone data. Exemplarily, please refer to Figure 17 and Figure 18 where a touch control may be provided on the housing of the wireless audio playback device, and the touch control may be a button, a touch panel, etc. For some embodiments, as Figure 17 shown, a touch panel 1720 may be provided on the housing 1710 of the wireless audio playback device. For other embodiments, as Figure 18 described, a button 1820 may also be provided on the housing 1710 of the wireless audio playback device. Specifically, the user may input a specified operation gesture based on the touch control. When it is detected that the user inputs the specified operation gesture based on the touch control, the first prompt tone currently used by the wireless audio playback device is replaced with the target prompt tone. Specifically, please refer to Figure 19 , Figure 19 which includes Step S1621 and Step S1622.

[0110] Step S1621: When it is detected that the user inputs a specified operation gesture based on the touch control, determine the gesture information of the specified operation gesture.

[0111] Step S1622: From multiple target prompt tones, determine the second prompt tone corresponding to the gesture information, and replace the first prompt tone currently used by the wireless audio playback device with the second prompt tone.

[0112] For some embodiments, the wireless audio playback device may store multiple target prompt tones, determine the gesture information of the specified operation gesture input based on the touch control, and then determine the corresponding second prompt tone from the multiple target prompt tones according to the gesture information, and replace the first prompt tone currently used by the wireless audio playback device with the second prompt tone.

[0113] Exemplarily, the touch control may be Figure 17The touch panel shown, at this time, the user can correspond different gesture information through different sliding gestures. For example, by sliding to select different target prompt sounds, starting from the first target audio, sliding down once from top to bottom means selecting the next target prompt sound, and sliding up once from bottom to top means selecting the next target audio. Specifically, if it is detected that the user slides down three times from top to bottom and slides up once from bottom to top, it can be determined that this gesture information is to select the third target prompt sound among the multiple target prompt sounds as the second prompt sound. At this time, the first prompt sound currently used by the wireless audio playback device can be replaced with the third target prompt sound.

[0114] For another example, the touch control can also be Figure 18 The button shown, at this time, the user can correspond different gesture information by pressing this button. For example, starting from the first target audio, pressing the upper button once means selecting the next target audio, quickly pressing the upper button twice continuously means selecting the next two target audios, quickly pressing the upper button three times continuously means randomly selecting one from the multiple target prompt sounds stored in the wireless audio playback device, and pressing the lower button once means selecting the previous target audio. Specifically, if it is detected that the user presses the touch control three times, it can be determined that this gesture information is to select the fourth target prompt sound among the multiple target prompt sounds as the second prompt sound. At this time, the first prompt sound currently used by the wireless audio playback device can be replaced with the fourth target prompt sound.

[0115] For some other embodiments, the touch control can also be a sensor capable of recognizing spatial gestures. The user can correspond different gesture information through different waving gestures near the wireless audio playback device. For example, starting from the first target audio, waving the palm from left to right near the wireless audio playback device means selecting the next target prompt sound, and from the state of the palm stretching out to the state of making a fist means randomly selecting one from the multiple target prompt sounds stored in the wireless audio playback device. Specifically, if it is detected that the user waves the palm three times from left to right, it can be determined that this gesture information is to select the fourth target prompt sound among the multiple target prompt sounds as the second prompt sound. At this time, the first prompt sound currently used by the wireless audio playback device can be replaced with the fourth target prompt sound.

[0116] For still some other embodiments, the touch control can also be a microphone. The user can select a specified target prompt sound through voice. For example, the user says "Switch to Chinese prompt sound", and at this time, the first prompt sound currently used by the wireless audio playback device can be replaced with the target prompt sound corresponding to Chinese.

[0117] Step S1630: Delete the first prompt sound.

[0118] For some embodiments, after replacing the first prompt tone currently used by the wireless audio playback device with the target prompt tone, the first prompt tone can also be deleted to save storage space in the wireless audio playback device. For example, if the wireless audio playback device uses the second prompt tone corresponding to "Chinese" and replaces the first prompt tone corresponding to "English", the prompt tone corresponding to "English" can be deleted.

[0119] Please refer to Figure 20 , which shows a structural block diagram of a sound source acquisition device 2000 provided by an embodiment of the present application. Applied to an electronic device, the device may include: a first acquisition unit 2010 and a transmission unit 2020.

[0120] The first acquisition unit 2010 is used to acquire first prompt tone data.

[0121] The transmission unit 2020 is used to send the first prompt tone data to the wireless audio playback device, instructing the wireless audio playback device to use the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device.

[0122] Further, the transmission unit 2020 is further used to respond to a transmission request, and based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device, send the first prompt tone data to the wireless audio playback device.

[0123] Further, the transmission unit 2020 is further used to acquire a transmission request of the first prompt tone data input by the user based on a specified interface of the user terminal, and at least one audio identifier is displayed on the specified interface.

[0124] Further, the transmission unit 2020 is further used to respond to a download request input by the user based on the specified interface, download an audio file corresponding to the download request from a server; display a transmission control for the downloaded audio file in the specified interface, and the transmission control is used to input a transmission request.

[0125] Further, when the wireless audio playback device is located in the storage device, if the target button is detected to be touched, the transmission unit 2020 determines that a transmission request for the first prompt tone data is acquired.

[0126] Further, when the wireless audio playback device is located in the storage device, if the target button is detected to be touched, the transmission unit 2020 determines first touch operation information of the target button; determines an audio corresponding to the first touch operation information from multiple audios as the first prompt tone data, and determines that a transmission request for the first prompt tone data is acquired.

[0127] Further, the sending unit 2020 is further configured to, in response to the transmission request, send the first prompt tone data to the wireless audio playback device through the first electrical connector and the second electrical connector.

[0128] Further, the sending unit 2020 is further configured to obtain the first prompt tone data sent by the user terminal and store the first prompt tone data in the memory of the storage device.

[0129] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.

[0130] In several embodiments provided in the present application, the coupling between units can be electrical, mechanical or other forms of coupling. In addition, in each embodiment of the present application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0131] Please refer to Figure 21 , which shows a structural block diagram of a sound source acquisition device 2100 provided in an embodiment of the present application, applied to a wireless audio playback device. The device may include: a second acquisition unit 2110 and a processing unit 2120.

[0132] The second acquisition unit 2110 is configured to obtain the first prompt tone data sent by the electronic device.

[0133] The processing unit 2120 is configured to store the prompt tone corresponding to the first prompt tone data and use it as the target prompt tone of the wireless audio playback device. Further, the processing unit 2120 is further configured to replace the first prompt tone currently used by the wireless audio playback device with the target prompt tone.

[0134] Further, the processing unit 2120 is further configured to, when detecting a specified operation gesture input by the user based on the touch control, replace the first prompt tone currently used by the wireless audio playback device with the target prompt tone.

[0135] Further, the processing unit 2120 is further configured to, when detecting a specified operation gesture input by the user based on the touch control, determine the gesture information of the specified operation gesture; determine a second prompt tone corresponding to the gesture information from multiple target prompt tones, and replace the first prompt tone currently used by the wireless audio playback device with the second prompt tone.

[0136] Further, the processing unit 2120 is further configured to delete the first prompt tone.

[0137] Please refer to Figure 22 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 2200 may be a smart phone, a laptop computer, a desktop computer, a tablet computer, etc. The electronic device 2200 in the present application may include one or more of the following components: a first processor 2210, a first memory 2220, and one or more application programs, where one or more application programs may be stored in the first memory 2220 and configured to be executed by one or more first processors 2210, and one or more programs are configured to execute the methods described in the foregoing method embodiments.

[0138] The first processor 2210 may include one or more processing cores. The first processor 2210 connects various parts within the entire electronic device 2200 using various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the first memory 2220, and by calling data stored in the first memory 2220, it executes various functions of the electronic device 2200 and processes data. Optionally, the first processor 2210 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The first processor 2210 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.; the GPU is responsible for rendering and drawing display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the first processor 2210 and may be implemented separately by a communication chip.

[0139] The first memory 2220 may include a Random Access Memory (RAM), or may also include a Read-Only Memory. The first memory 2220 can be used to store instructions, programs, codes, code sets or instruction sets. The first memory 2220 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the electronic device 2200, etc.

[0140] Please refer to Figure 23 , which shows a structural block diagram of a wireless audio playback device 2300 provided by an embodiment of the present application. The wireless audio playback device 2300 may be a true wireless stereo (TWS) headset. The wireless audio playback device 2300 in the present application may include one or more of the following components: a second processor 2310, a second memory 2320, and one or more application programs. One or more application programs may be stored in the second memory 2320 and configured to be executed by one or more second processors 2310. One or more programs are configured to execute the methods described in the foregoing method embodiments.

[0141] The second processor 2310 may include one or more processing cores. The second processor 2310 connects various parts within the entire wireless audio playback device 2300 using various interfaces and lines. By running or executing instructions, programs, code sets or instruction sets stored in the second memory 2320, and by invoking data stored in the second memory 2320, it executes various functions of the wireless audio playback device 2300 and processes data. Optionally, the second processor 2310 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA). The second processor 2310 may integrate a combination of one or several of a Central Processing Unit (CPU) and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the modem is used for processing wireless communication. It can be understood that the above modem may not be integrated into the second processor 2310 and may be implemented separately through a communication chip.

[0142] The second memory 2320 may include a random access memory (RAM) and may also include a read-only memory (ROM). The second memory 2320 can be used to store instructions, programs, codes, code sets or instruction sets. The second memory 2320 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the wireless audio playback device 2300, etc.

[0143] Please refer to Figure 24 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 2400, and the program code can be called by the first processor or the second processor to execute the method described in the above method embodiments.

[0144] The computer-readable storage medium 2400 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 2400 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 2400 has a storage space for the program code 2410 for executing any method step in the above method. These program codes can be read from or written into one or more computer program products. The program code 2410 can be compressed in an appropriate form, for example.

[0145] Please refer to Figure 25 , which shows a structural block diagram 2500 of a computer program product provided by an embodiment of the present application. The computer program product 2500 includes a computer program / instructions 2510, and when the computer program / instructions 2510 are executed by the first processor or the second processor, the steps of the above method are implemented.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for obtaining a sound source, characterized in that: Applied to electronic equipment, the method includes: Obtaining first prompt tone data; In a case where the electronic device is a user terminal, obtaining a transmission request for the first prompt sound data input by a user based on a designated interface of the user terminal, where the designated interface displays at least one audio identifier; In response to a transmission request, based on a wireless communication channel pre-established between the electronic device and the wireless audio playback device, the first prompt tone data is sent to the wireless audio playback device, instructing the wireless audio playback device to overwrite the area of the pre-stored prompt tone to update the pre-stored prompt tone, and using the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device, wherein the target prompt audio is used to prompt the user of the current status of the wireless audio playback device, and the current status is used to characterize the connection status between the wireless audio playback device and the electronic device or the battery level of the wireless audio playback device, and the designated interface is further used to display prompt information, the prompt information including the audio identifier corresponding to the first prompt tone data being transmitted, and the prompt information is used to indicate the first prompt tone data being transmitted to the wireless audio playback device.

2. The method according to claim 1, characterized in that Before obtaining the transmission request of the first prompt tone data input by the user based on the designated interface of the user terminal, the method further includes: In response to a download request input by the user based on the designated interface, the server downloads the audio file corresponding to the download request; A transmission control corresponding to the downloaded audio file is displayed in the designated interface, and the transmission control is used to input a transmission request.

3. The method according to claim 1, characterized in that In a case where the electronic device is a storage device for the wireless audio playback device, a target button is provided on a housing of the storage device, and the first prompt sound data is pre-stored in a memory of the storage device. Before sending the first prompt sound data to the wireless audio playback device in response to the transmission request based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device, the method further includes: In a case where the wireless audio playback device is located in the storage device, when it is detected that the target button is touched, it is determined that a transmission request for the first prompt sound data is obtained.

4. The method according to claim 3, characterized in that A plurality of audios are pre-stored in a memory of the storage device. When the wireless audio playback device is located in the storage device, upon detecting that the target button is touched, determining that a transmission request for first prompt sound data is obtained includes: In a case where the wireless audio playback device is located in the storage device, when it is detected that the target button is touched, first touch operation information of the target button is determined; From a plurality of audios, the audio corresponding to the first touch operation information is determined as the first prompt audio data, and a transmission request for the first prompt audio data is determined to be obtained.

5. The method according to claim 3 or 4, characterized in that When the wireless audio playback device is located in the storage device, the first electrical connector of the wireless audio playback device is connected to the second electrical connector of the storage device, and the sending of the first prompt tone data to the wireless audio playback device includes: In response to the transmission request, the first prompt tone data is sent to the wireless audio playback device through the first electrical connector and the second electrical connector.

6. The method according to claim 3, characterized in that In the case where the wireless audio playback device is located in the storage device, before detecting that the target button is touched and determining that a transmission request for the first prompt sound data is obtained, the method further includes: The first prompt sound data sent by the user terminal is obtained, and the first prompt sound data is stored in the memory of the storage device.

7. A method for obtaining a sound source, characterized in that: Applied to a wireless audio playback device, the method includes: Obtaining first prompt tone data sent by an electronic device, wherein the first prompt tone data is, when the electronic device is a user terminal, sent based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device in response to a transmission request for the first prompt tone data input by a user based on a designated interface of the user terminal, the designated interface displaying at least one audio identifier, the designated interface further configured to display prompt information, the prompt information including an audio identifier corresponding to the first prompt tone data being transmitted, the prompt information being used to indicate the first prompt tone data being transmitted to the wireless audio playback device; The area of the pre-stored prompt tone is overwritten to update the pre-stored prompt tone, and the prompt tone corresponding to the first prompt tone data is used as the target prompt tone of the wireless audio playback device, wherein the target prompt audio is used to prompt the user of the current status of the wireless audio playback device, and the current status is used to represent the connection status between the wireless audio playback device and the electronic device or the battery level of the wireless audio playback device.

8. The method according to claim 7, characterized in that The step of using the prompt tone corresponding to the first prompt tone data as the target prompt tone of the wireless audio playback device includes: The first prompt tone currently used by the wireless audio playback device is replaced with the target prompt tone.

9. The method according to claim 8, characterized in that A touch control is provided on a housing of the wireless audio playback device, and replacing a first prompt tone currently used by the wireless audio playback device with the target prompt tone includes: When a designated operation gesture input by the user based on the touch control is detected, the first prompt tone currently used by the wireless audio playback device is replaced with the target prompt tone.

10. The method according to claim 9, characterized in that The wireless audio playback device stores a plurality of target prompt tones, and when a specified operation gesture input by a user based on the touch control is detected, replacing a first prompt tone currently used by the wireless audio playback device with the target prompt tone includes: When detecting a designated operation gesture input by the user based on the touch control, determining gesture information of the designated operation gesture; Determine a second prompt tone corresponding to the gesture information from the multiple target prompt tones, and replace the first prompt tone currently used by the wireless audio playback device with the second prompt tone.

11. The method according to claim 8, characterized in that After replacing the first prompt tone currently used by the wireless audio playback device with the target prompt tone, the method further includes: Delete the first prompt tone.

12. A sound source acquisition device, characterized in that: Applied to electronic equipment, the device comprises: A first acquiring unit, configured to acquire first prompt tone data; A sending unit is configured to, when the electronic device is a user terminal, obtain a transmission request for the first prompt tone data input by a user based on a designated interface of the user terminal, wherein the designated interface displays at least one audio identifier; in response to the transmission request, send the first prompt tone data to the wireless audio playback device based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device, instruct the wireless audio playback device to overwrite an area of pre-stored prompt tones to update the pre-stored prompt tones, and use the prompt tone corresponding to the first prompt tone data as a target prompt tone for the wireless audio playback device, wherein the target prompt audio is used to prompt the user of the current status of the wireless audio playback device, the current status being used to represent the connection status between the wireless audio playback device and the electronic device or the battery level of the wireless audio playback device; the designated interface is further configured to display prompt information, the prompt information including the audio identifier corresponding to the first prompt tone data being transmitted, and the prompt information being used to indicate the first prompt tone data being transmitted to the wireless audio playback device.

13. A sound source acquisition device, characterized in that: Applied to wireless audio playback equipment, the device includes: a second acquiring unit, configured to acquire first prompt tone data sent by the electronic device, wherein the first prompt tone data is, when the electronic device is a user terminal, sent based on a pre-established wireless communication channel between the electronic device and the wireless audio playback device in response to a transmission request for the first prompt tone data input by a user based on a designated interface of the user terminal, the designated interface being displayed with at least one audio identifier, the designated interface being further configured to display prompt information, the prompt information including the audio identifier corresponding to the first prompt tone data being transmitted, the prompt information being used to indicate the first prompt tone data being transmitted to the wireless audio playback device; A processing unit is used to overwrite the area of the pre-stored prompt tone to update the pre-stored prompt tone, store the prompt tone corresponding to the first prompt tone data and use it as the target prompt tone of the wireless audio playback device, wherein the target prompt audio is used to prompt the user of the current status of the wireless audio playback device, and the current status is used to represent the connection status between the wireless audio playback device and the electronic device or the battery level of the wireless audio playback device.

14. An electronic device, characterized in that: include: one or more first processors; a first memory; One or more application programs, wherein the one or more application programs are stored in the first memory and configured to be executed by the one or more first processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 6.

15. A wireless audio playback device, characterized in that: include: one or more second processors; a second memory; One or more application programs, wherein the one or more application programs are stored in the second memory and are configured to be executed by the one or more second processors, and the one or more programs are configured to execute the method according to any one of claims 7 to 11.

16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program code, which can be called by a first processor to execute the method according to any one of claims 1 to 6 or called by a second processor to execute the method according to any one of claims 7 to 11.

17. A computer program product comprising a computer program / instructions, characterized in that The computer program / instruction implements the method according to any one of claims 1 to 6 when executed by a first processor or is called by a second processor to execute the method according to any one of claims 7 to 11.

Citation Information

Patent Citations

  • Audio transmission method, audio transmission system and electronic equipment

    CN113132440A