Prompt tone setting method, device and computer readable storage medium

By parsing and correlating the prompt sound data packets sent by the user terminal, the customized prompt sound setting of the Bluetooth headset is realized, which solves the problem that the prompt sound of the Bluetooth headset cannot be customized and improves the user experience.

CN113849152BActive Publication Date: 2024-10-11GEER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111004005.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-10-11
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

Bluetooth headsets cannot flexibly customize the prompt sound according to user needs, resulting in a poor user experience.

Method used

By receiving the prompt sound data packet sent by the user terminal, parsing and correlating the custom prompt sound audio with the playback scene, the custom prompt sound can be played in a specific scenario.

Benefits of technology

The flexibility of headphone prompt sound settings has been improved, allowing users to customize the prompt sounds for various scenarios according to their needs, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849152B_ABST
    Figure CN113849152B_ABST
Patent Text Reader

Abstract

The present invention discloses a prompt tone setting method, device and computer-readable storage medium, the method comprising: receiving a prompt tone data packet sent by a user terminal, parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scene of the custom prompt tone audio; associating the custom prompt tone audio with the playback scene; when a prompt tone playback instruction triggered in a target playback scene is detected, obtaining the custom prompt tone audio associated with the target playback scene for playback. The present invention enables users to set prompt tones for various scenes in headphone devices and acoustic temples according to their needs through user terminals, thereby improving the flexibility of prompt tone settings in headphone devices and acoustic temples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of earphone technology, and in particular to a prompt tone setting method, device and computer-readable storage medium. Background Art

[0002] At present, wireless Bluetooth headsets have been used by a large number of consumers, and shipments have reached new highs every year. However, due to the characteristics of the product itself, Bluetooth headsets cannot provide some visual displays like mobile phones when transmitting certain signals to users, but can only provide some voice signals. People will encounter a problem when using Bluetooth headsets, that is, the built-in prompt tones of various scenarios in the Bluetooth headsets, such as power on / off, Bluetooth pairing, Bluetooth connection and Bluetooth disconnection, are generally fixed by the manufacturer, and the prompt tones for various scenarios cannot be flexibly and freely customized according to the actual needs of users. Summary of the invention

[0003] The main purpose of the present invention is to provide a prompt tone setting method, device and computer-readable storage medium, aiming to solve the technical problem that the earphone prompt tone cannot be flexibly customized.

[0004] To achieve the above object, the present invention provides a method for setting a prompt tone, which is applied to a target device, wherein the target device is an earphone device or an acoustic temple of smart glasses, and the method comprises the following steps:

[0005] Receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio;

[0006] Associating the custom prompt audio with the playback scene;

[0007] When a prompt tone playing instruction triggered in a target playing scene is detected, the custom prompt tone audio associated with the target playing scene is obtained for playing.

[0008] Optionally, the step of associating the custom prompt audio with the playback scene includes:

[0009] Saving the custom prompt sound audio to a custom storage partition corresponding to the playback scene in the storage area of ​​the target device to associate the custom prompt sound audio with the playback scene;

[0010] When a prompt sound playing instruction triggered in a target playback scene is detected, the step of obtaining a custom prompt sound audio associated with the target playback scene for playing includes:

[0011] When a prompt sound playing instruction triggered in a target playing scene is detected, the custom prompt sound audio is obtained from the custom storage partition corresponding to the target playing scene for playing.

[0012] Optionally, the storage area of ​​the target device further includes original storage partitions corresponding to various playback scenarios respectively, and before the step of obtaining the custom prompt audio from the custom storage partition corresponding to the target playback scenario for playback, the step further includes:

[0013] When a prompt sound playing instruction triggered in a target playback scene is detected, whether a custom prompt sound audio is stored in the custom storage partition corresponding to the target playback scene;

[0014] If yes, then executing the step of obtaining the custom prompt sound audio from the custom storage partition corresponding to the target playback scene for playback;

[0015] If not, the original prompt tone audio is obtained from the original storage partition corresponding to the target playback scene for playback.

[0016] Optionally, the step of receiving a prompt tone data packet sent by a user terminal and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scene of the custom prompt tone audio includes:

[0017] Receive each prompt tone data packet sent by the user terminal;

[0018] Analyze and obtain each audio data in each prompt tone data packet and the unpacking information and playback scene corresponding to each audio data;

[0019] The audio data corresponding to the same playback scene are combined according to the corresponding unpacking information to obtain a custom prompt sound audio, and the playback scene of each audio data obtained by combining the custom prompt sound audio is used as the playback scene of the custom prompt sound audio.

[0020] To achieve the above object, the present invention also provides a method for setting a prompt tone, which is applied to a user terminal and comprises the following steps:

[0021] Obtaining a custom prompt tone audio and a playback scenario of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal;

[0022] Generate a prompt tone data packet carrying the custom prompt tone audio and the playback scene;

[0023] The prompt tone data packet is sent to a target device that is communicatively connected to the user terminal, so that the target device parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scene, so as to play the custom prompt tone audio in the playback scene, and the target device is a headphone device or an acoustic temple of smart glasses.

[0024] Optionally, the prompt tone setting interface includes a scene selection control and a prompt tone setting control, and the step of obtaining the custom prompt tone audio and the playback scene of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal includes:

[0025] When receiving a prompt tone setting determination instruction triggered based on the prompt tone setting interface, obtaining a custom prompt tone audio set based on the prompt tone setting control;

[0026] The playback scene selected based on the scene selection control is obtained as the playback scene corresponding to the custom prompt tone audio.

[0027] Optionally, the prompt tone setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control, and the step of obtaining a custom prompt tone audio set based on the prompt tone setting control includes:

[0028] Using the audio recorded based on the recording control as a custom prompt audio; or,

[0029] Using the audio converted from the text entered into the text entry control as the custom prompt audio; or,

[0030] Use the built-in voice configured based on the built-in voice configuration control as the custom prompt audio; or,

[0031] The audio imported based on the audio import control is used as the custom prompt audio.

[0032] Optionally, the step of generating a prompt tone data packet carrying the custom prompt tone audio and the playback scene includes:

[0033] Detect whether the audio volume of the custom prompt tone audio is greater than a preset value;

[0034] If it is greater than, unpacking the custom prompt tone audio with the preset value as the maximum audio size to obtain each audio data and unpacking information corresponding to each audio data;

[0035] Each of the audio data is combined with the playback scene and the corresponding unpacking information to generate each prompt sound data packet.

[0036] To achieve the above object, the present invention further provides a device for setting a prompt sound, the device is deployed on a target device, the target device is a headphone device or an acoustic temple of smart glasses, and the device comprises:

[0037] A parsing module, used for receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio;

[0038] An association module, used to associate the custom prompt tone audio with the playback scene;

[0039] The playing module is used to obtain the custom prompt sound audio associated with the target playback scene for playback when a prompt sound playing instruction triggered in the target playback scene is detected.

[0040] To achieve the above object, the present invention further provides a device for setting a prompt tone, which is deployed in a user terminal and includes:

[0041] An acquisition module, used to acquire a custom prompt tone audio and a playback scenario of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal;

[0042] A generating module, used to generate a prompt tone data packet carrying the custom prompt tone audio and the playback scene;

[0043] A sending module is used to send the prompt tone data packet to a target device that is communicatively connected to the user terminal, so that the target device can parse the prompt tone data packet to obtain the custom prompt tone audio and the playback scene, so as to play the custom prompt tone audio in the playback scene. The target device is a headphone device or an acoustic temple of smart glasses.

[0044] To achieve the above-mentioned purpose, the present invention also provides a prompt sound setting device, which includes: a memory, a processor, and a prompt sound setting program stored in the memory and executable on the processor, and when the prompt sound setting program is executed by the processor, the steps of the prompt sound setting method as described above are implemented.

[0045] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which a prompt sound setting program is stored, and when the prompt sound setting program is executed by a processor, the steps of the prompt sound setting method described above are implemented.

[0046] In the present invention, for the headphone device or the acoustic temple of the smart glasses that serves as the target device, when the target device receives a prompt tone data packet sent by the user terminal, a custom prompt tone audio and a playback scene of the custom prompt tone audio are parsed from the prompt tone data packet, and the custom prompt tone audio and the playback scene are associated, and when a prompt tone playback instruction triggered in the target playback scene is detected, the custom prompt tone audio associated with the target playback scene is obtained for playback, so that the user can set the prompt tone for various scenes in the target device according to his own needs through the user terminal, thereby improving the flexibility of the prompt tone setting in the target device. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for setting a prompt tone according to the present invention;

[0048] Figure 2 A schematic diagram of a target device storage area involved in an embodiment of the present invention;

[0049] Figure 3 A schematic diagram of a flow chart of a third embodiment of a method for setting a prompt tone according to the present invention;

[0050] Figure 4 A schematic diagram of a scene selection control in a prompt tone setting interface according to an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of a prompt tone setting control in a prompt tone setting interface according to an embodiment of the present invention;

[0052] Figure 6 A schematic diagram of a voice type selection control in a prompt tone setting interface according to an embodiment of the present invention;

[0053] Figure 7 The present invention is a schematic diagram of a text entry control in a prompt tone setting interface according to an embodiment of the present invention.

[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0056] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a first embodiment of a method for setting a prompt tone according to the present invention.

[0057] The embodiment of the present invention provides an embodiment of a method for setting a prompt tone. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here. In this embodiment, the method for setting a prompt tone is applied to a headphone device or an acoustic temple of smart glasses; the headphone device may be a wired headphone or a wireless headphone, which may be connected to a user terminal by wire or wireless means; the user terminal may be a smart phone, a personal computer, a server or other device, which is not limited in this embodiment; for ease of description below, the headphone device and the acoustic temple are collectively referred to as the target device. In this embodiment, the method for setting a prompt tone includes:

[0058] Step S10, receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio;

[0059] When a user customizes a prompt tone for his or her target device, the user terminal can be used to connect to the target device, and the prompt tone for various playback scenarios of the headset can be customized through the user terminal. Among them, the playback scenario may include power on / off, Bluetooth pairing, Bluetooth connection, Bluetooth disconnection, headset battery reminder, incoming call reminder and other scenarios, which are not limited in this embodiment. After the user terminal obtains the custom prompt tone audio set by the user and the playback scenario of the custom prompt tone audio, it generates a prompt tone data packet carrying the custom prompt tone audio and the playback scenario, and sends the prompt tone data packet to the target device. Among them, the playback scenario of the custom prompt tone audio means that the custom prompt tone audio is a prompt tone for playing in the playback scenario, that is, the user can set the prompt tone separately for various playback scenarios. It should be noted that the target device and the user terminal can use numbers or codes to represent and distinguish various playback scenarios, so carrying the playback scenario in the prompt tone data packet actually means carrying the number or code of the playback scenario.

[0060] Specifically, in one embodiment, the user can customize the earphone prompt tone through the prompt tone setting interface on the user terminal. The prompt tone setting interface can be a UI interface of the application software for setting the earphone prompt tone installed or loaded in the user terminal, and some controls for the user to customize the earphone prompt tone can be set in the prompt tone setting interface. The customized prompt tone provided to the user through the prompt tone setting interface may include recording, text entry synthesis speech, selection of built-in speech and other methods, which are not limited in this embodiment. The user terminal obtains the customized prompt tone audio and the playback scene of the customized prompt tone audio set by the user based on the prompt tone setting interface, generates a prompt tone data packet carrying the customized prompt tone audio and the playback scene, and sends the prompt tone data packet to the target device. Furthermore, a display control for displaying the prompt audio information of each current playback scene in the target device can also be set in the prompt audio setting interface; after the target device is connected to the user terminal, the prompt audio information of each current playback scene is sent to the user terminal, and the user terminal displays it in the display control; the prompt audio information may include the file name of the prompt audio, which of multiple prompt audios is currently being used, and other information; when the user needs to audition the prompt audio, the audition instruction can be triggered through the display control, and after the user terminal detects the audition instruction, it obtains the corresponding prompt audio from the target device and plays it.

[0061] The target device receives the prompt tone data packet sent by the user terminal, and parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scene of the custom prompt tone audio. It should be noted that the communication protocol between the user terminal and the target device can be set in advance, and the encapsulation rules of the prompt tone data packet are specified by the protocol. The user terminal encapsulates the custom prompt tone audio and the playback scene into the prompt tone data packet according to the encapsulation rules, and the target device parses the prompt tone data packet according to the encapsulation rules to obtain the custom prompt tone audio and the playback scene. The encapsulation rules can be set according to specific needs, and are not limited in this embodiment. For example, it can include the maximum audio size allowed to be encapsulated in a single prompt tone data packet, an identifier used to indicate that the data packet is a prompt tone data packet, and the position of various data encapsulated in the prompt tone data packet. It can be understood that when the maximum audio size allowed to be encapsulated in a single prompt tone data packet is limited, the user terminal may split the larger custom prompt tone audio into multiple audio data and encapsulate them into multiple prompt tone data packets. Then the target device can parse the multiple prompt tone data packets, and combine and restore the multiple audio data obtained by the parsing to obtain the custom prompt tone audio.

[0062] Furthermore, in one embodiment, step S10 includes:

[0063] Step S101, receiving each prompt tone data packet sent by the user terminal;

[0064] When the user terminal obtains the custom prompt audio and the playback scene of the custom prompt audio and needs to send it to the target device, it can detect whether the audio size of the custom prompt audio is greater than the preset value. Among them, the preset value can be the audio size allowed to be encapsulated by a single prompt audio data packet pre-set in the user terminal, which can be set as needed. If the audio size of the custom prompt audio is greater than the preset value, it means that the custom prompt audio needs to be split to use multiple prompt audio data packets to send the custom prompt audio in batches; at this time, the user terminal splits the custom prompt audio into multiple audio data with the preset value as the maximum audio size, and records the number of audio data of each audio data of the custom prompt audio as the unpacking information corresponding to each audio data; after the user terminal splits and obtains each audio data, it combines each audio data with the playback scene of the custom prompt audio and the corresponding unpacking information to obtain multiple prompt audio data packets, that is, multiple prompt audio data packets are generated according to the custom prompt audio, each prompt audio data packet includes an audio data and the unpacking information and playback scene corresponding to the audio data, and the playback scene in each prompt audio data packet is the same. If the audio size of the custom prompt tone audio is not greater than the preset value, it means that one prompt tone data packet can be used to send the custom prompt tone audio; at this time, the user terminal can combine the custom prompt tone audio with the playback scene to obtain a prompt tone data packet, and the unpacking information in the prompt tone data packet can be empty, or it can be an information used to indicate that the package has not been unpacked.

[0065] The user terminal sends one or more prompt tone data packets generated according to the customized prompt tone audio to the target device. The target device receives each prompt tone data packet sent by the user terminal.

[0066] Step S102, parsing to obtain each audio data in each prompt tone data packet and the unpacking information and playback scene corresponding to each audio data;

[0067] The target device parses each prompt audio data packet to obtain the audio data, unpacking information and playback scene in each prompt audio data packet. When there are multiple prompt audio data packets, multiple audio data are parsed, as well as the unpacking information and playback scene corresponding to each audio data. It should be noted that if the multiple prompt audio data packets received by the target device are obtained by splitting the custom prompt audio of a playback scene, then the playback scenes parsed from the multiple prompt audio data packets are the same, that is, the playback scenes corresponding to the multiple audio data are the same; if the multiple prompt audio data packets received by the target device are obtained by splitting multiple custom prompt audio of different playback scenes, then the playback scenes parsed from the multiple prompt audio data packets will be different.

[0068] Step S103, combining audio data corresponding to the same playback scene according to corresponding unpacking information to obtain a custom prompt sound audio, and using the playback scene of each audio data obtained by combining the custom prompt sound audio as the playback scene of the custom prompt sound audio.

[0069] The target device combines multiple audio data corresponding to the same playback scene to obtain a customized prompt sound audio; the combination process is performed according to the unpacking information corresponding to the multiple audio data, that is, the unpacking information indicates which segment of audio data the audio data is of the customized prompt sound audio, and according to the unpacking information of each audio data, each audio data can be spliced ​​and restored in sequence to obtain the customized prompt sound audio; the playback scene of the customized prompt sound audio is the playback scene corresponding to each audio data obtained by combining the customized prompt sound audio.

[0070] Furthermore, in one embodiment, the prompt tone data packet may also carry information (e.g., called a service type) for indicating that the data packet is a prompt tone data packet to distinguish other types of data packets. The positions of the service type, playback scene, audio data, unpacking information, and the size of the audio data in the prompt tone data packet may be set as needed. For example, in one embodiment, a service type field may be stored in the first byte of the data packet to distinguish that the data packet is used for the function of customizing the prompt tone; the second byte stores the playback scene, that is, the number or code of the playback scene; the third byte stores the size of the audio data in the prompt tone data packet; the fourth byte stores the unpacking information, such as the highest bit is used to record whether unpacking is required, and the following bits are used to record which segment of the audio data in the current prompt tone data packet is in the custom prompt tone audio, so that the target device can assemble the packets in order after receiving the prompt tone data packet; the audio data is stored after the fourth byte.

[0071] Step S20, associating the custom prompt audio with the playback scene;

[0072] After the target device obtains the custom prompt audio and the playback scene after parsing, the custom prompt audio and the playback scene are associated. Specifically, the target device can store an association table for associating various playback scenes and prompts, and the target device adds the association relationship between the file name of the custom prompt audio and the playback scene to the association table.

[0073] In one embodiment, a playback scene may only be associated with one prompt audio. If the playback scene has been associated with other prompt audio, the association between the custom prompt audio and the playback scene may be used to replace the original association between the playback scene. In another embodiment, a playback scene may allow the association of multiple prompt audios, and each prompt audio can be set with a usage status, and only one of the prompt audios is allowed to have a usage status of being in use, while the usage status of the other prompt audios is not in use; then, when the target device associates the custom prompt audio with the playback scene, the usage status of the custom prompt audio is set to being in use, and the usage status of other prompt audios associated with the playback scene is set to being not in use; when the target device obtains the prompt audio associated with the playback scene with a usage status of being in use, it plays the prompt audio; correspondingly, the prompt audio information value sent by the target device to the user terminal may also include the usage status of each prompt audio, which is displayed in a display control by the user terminal. A change control for the user to change the usage status may be set in the display control, and the user triggers a usage status change instruction based on the change control. After receiving the change instruction, the user terminal sends the changed usage status to the target device, and the target device changes the usage status of the corresponding prompt audio.

[0074] Step S30, when a prompt sound playing instruction triggered in a target playback scene is detected, a custom prompt sound audio associated with the target playback scene is obtained for playback.

[0075] When the target device detects a prompt tone play instruction triggered in a certain playback scene (hereinafter referred to as the target playback scene for distinction), the custom prompt tone audio associated with the target playback scene is obtained; if the target playback scene is associated with a custom prompt tone audio, the target device plays the associated custom prompt tone audio after obtaining it. In other embodiments, the target device has built-in default prompt tone audio for each playback scene. When the target playback scene is not associated with a custom prompt tone audio, the target device obtains the default prompt tone audio of the target playback scene for playback to ensure the normal prompt tone broadcast function. It should be noted that in the target playback scene, when a specific event corresponding to the target playback scene occurs, a prompt tone play instruction will be triggered. For example, a power-on event triggers a power-on prompt tone play instruction, and a Bluetooth connection success event triggers a Bluetooth connection success prompt tone play instruction.

[0076] In this embodiment, for the headphone device or the acoustic temple of the smart glasses that serves as the target device, when the target device receives a prompt tone data packet sent by the user terminal, a custom prompt tone audio and a playback scene of the custom prompt tone audio are parsed from the prompt tone data packet, and the custom prompt tone audio and the playback scene are associated, and when a prompt tone playback instruction triggered in the target playback scene is detected, the custom prompt tone audio associated with the target playback scene is obtained for playback, so that the user can set the prompt tone for various scenes in the target device according to their own needs through the user terminal, thereby improving the flexibility of the prompt tone setting in the target device.

[0077] Further, based on the above first embodiment, a second embodiment of the method for setting a prompt tone of the present invention is proposed. In this embodiment, step S20 includes:

[0078] Step S201, saving the custom prompt sound audio to a custom storage partition corresponding to the playback scene in the storage area of ​​the target device, so as to associate the custom prompt sound audio with the playback scene;

[0079] Custom storage partitions corresponding to various playback scenes can be divided in the storage area of ​​the target device to store the custom prompt audio of each playback scene. Specifically, a custom storage partition can be divided in the storage area, and a space address corresponding to each playback scene can be divided in the custom storage partition as the custom storage partition of the playback scene. The storage area can be a flash (a non-volatile random access memory) storage area of ​​the target device.

[0080] After the target device parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scene corresponding to the custom prompt tone audio, the custom prompt tone audio is saved in the custom storage partition corresponding to the playback scene, thereby associating the custom prompt tone audio with the playback scene in this way.

[0081] The step S30 comprises:

[0082] Step S301, when a prompt sound playing instruction triggered in a target playing scene is detected, a custom prompt sound audio is obtained from a custom storage partition corresponding to the target playing scene for playing.

[0083] Correspondingly, when the target device detects the prompt sound playing instruction triggered in the target playback scene, the custom prompt sound audio is obtained from the custom storage partition corresponding to the target playback scene for playback.

[0084] Furthermore, in one embodiment, before the step of acquiring the custom prompt audio from the custom storage partition corresponding to the target playback scene for playback in step S301, the method further includes:

[0085] Step S302, when a prompt sound playing instruction triggered in a target playback scene is detected, detecting whether a custom prompt sound audio is stored in a custom storage partition corresponding to the target playback scene;

[0086] Step S303, if yes, then executing the step of obtaining the custom prompt audio from the custom storage partition corresponding to the target playback scene for playback;

[0087] like Figure 2 As shown, the storage area of ​​the target device may also include original storage partitions corresponding to various playback scenarios, that is, each playback scenario corresponds to two storage partitions, one is a custom storage partition, and the other is an original storage partition, which are used to store custom prompt audio and original prompt audio respectively. Original audio refers to the default audio written when the target device is manufactured.

[0088] When the target device detects the prompt sound playing instruction triggered in the target playback scene, it can first detect whether the custom prompt sound audio is stored in the custom storage partition corresponding to the target playback scene. If so, the custom prompt sound audio is obtained and played first.

[0089] Step S304: if not, obtain the original prompt tone audio from the original storage partition corresponding to the target playback scene for playback.

[0090] If not, it means that the user has not set a custom prompt tone for the target playback scene. At this time, the target device can obtain the original prompt tone audio from the original storage partition corresponding to the target playback scene for playback to ensure normal prompt tone function.

[0091] Furthermore, in one embodiment, the prompt tone setting interface of the user terminal can also set a selection control for the default prompt tone, so that the user can choose to use a custom prompt tone or a default factory prompt tone. The user terminal sends the selection result triggered by the user based on the selection control to the target device; when the target device determines to use the custom prompt tone according to the selection result, it gives priority to obtaining the custom prompt tone audio playback, and only obtains the factory prompt tone audio playback when there is no custom prompt tone audio; when the target device determines to use the default prompt tone according to the selection result, it gives priority to obtaining the factory prompt tone audio playback regardless of whether the custom prompt tone audio is stored.

[0092] Further, based on the above-mentioned first and / or second embodiments, a third embodiment of the method for setting a prompt tone of the present invention is proposed. Figure 3 , Figure 3 This is a flow chart of a third embodiment of the method for setting a prompt tone of the present invention. In this embodiment, the method is applied to a user terminal, and the method includes the following steps:

[0093] Step A10, obtaining a custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal and a playback scenario of the custom prompt tone audio;

[0094] Step A20, generating a prompt tone data packet carrying the custom prompt tone audio and the playback scene;

[0095] Step A30, sending the prompt tone data packet to a target device that is communicatively connected to the user terminal, so that the target device parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scenario, so as to play the custom prompt tone audio in the playback scenario.

[0096] In this embodiment, the specific implementation of steps A10 to A30 may refer to the specific implementation of steps S10 to S30 in the above embodiment, and will not be repeated here.

[0097] Furthermore, in one embodiment, the step A20 includes:

[0098] Step A201, detecting whether the audio volume of the custom prompt tone audio is greater than a preset value;

[0099] Step A202, if it is greater than, unpacking the custom prompt tone audio with the preset value as the maximum audio size to obtain each audio data and unpacking information corresponding to each audio data;

[0100] Step A203: Combine each of the audio data with the playback scene and the corresponding unpacking information to generate each prompt sound data packet.

[0101] In this embodiment, the specific implementation of steps A201 to A203 may refer to the specific implementation of steps S101 to S103 in the above embodiment, and will not be repeated here.

[0102] Further, based on the third embodiment above, a fourth embodiment of the method for setting a prompt tone of the present invention is proposed. In this embodiment, the step A10 includes:

[0103] Step A101, when receiving a prompt tone setting determination instruction triggered based on the prompt tone setting interface, obtaining a custom prompt tone audio set based on the prompt tone setting control;

[0104] Step A102, obtaining a playback scene selected based on the scene selection control as a playback scene corresponding to the custom prompt tone audio.

[0105] In the prompt tone setting interface, a scene selection control and a prompt tone setting control can be set. The scene selection control may include multiple optional playback scene controls for the user to select which playback scene to set the prompt tone for, for example Figure 4 A prompt tone setting interface is shown (the words "custom prompt tone" above the figure indicate that the interface is a prompt tone setting interface), and various selectable playback scene controls are displayed in the interface, and the scene selection control can be regarded as a combination of various playback scene controls as a whole. The prompt tone setting control may include at least one control corresponding to a prompt tone setting method, and the functions of the prompt tone setting control are different according to different prompt tone setting methods, and correspondingly, the setting operations that can be triggered by the user are different. For example, the prompt tone setting method may be to import the prompt tone by importing audio, then the prompt tone setting control may be an audio import control that can provide an audio import function, and the user can import audio from a background server or an external device (such as a USB flash drive) connected to the user terminal based on the audio import control as a custom prompt tone audio.

[0106] A prompt tone setting confirmation control can also be set in the prompt tone setting interface, so that after the user selects the playback scene and sets the custom prompt tone audio, the user can trigger the prompt tone setting confirmation instruction in the user terminal through the confirmation control, which means that the user has set it. When the user terminal receives the prompt tone setting confirmation instruction, the custom prompt tone audio set based on the prompt tone setting control is obtained, and the playback scene selected based on the scene selection control is obtained as the playback scene corresponding to the custom prompt tone audio.

[0107] Further, in one embodiment, the step of obtaining the custom prompt tone audio based on the prompt tone setting control in step A101 includes:

[0108] Step A1011, using the audio recorded based on the recording control as a custom prompt audio; or,

[0109] Step A1012, using the audio converted from the text entered into the text entry control as a custom prompt audio; or,

[0110] Step A1013, using the built-in voice configured based on the built-in voice configuration control as the custom prompt audio; or,

[0111] Step A1014, using the audio imported based on the audio import control as the custom prompt tone audio.

[0112] The prompt tone setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control. Figure 5 A prompt tone setting interface is shown, in which selectable recording controls, text entry controls, built-in voice configuration controls and audio import controls are displayed. The prompt tone setting control can be regarded as a whole combination of various controls. Figure 5 The audition effect control, confirmation control, and default prompt tone control shown below are used for users to audition the currently configured prompt tone, confirm the currently configured prompt tone, and set the default prompt tone.

[0113] Among them, the recording control provides the user with a way to set a custom prompt tone by recording, that is, the user can record based on the recording control as a custom prompt tone audio, and the user terminal will use the audio recorded based on the recording control as the custom prompt tone audio. The text entry control provides the user with a way to set a custom prompt tone by entering text, that is, the user can enter a text based on the recording control, and the user terminal converts the text into audio as a custom prompt tone audio. The built-in voice configuration control provides the user with a way to select a built-in voice as a custom prompt tone, that is, the user can select his favorite built-in voice as a custom prompt tone audio through the built-in voice configuration control; at least one built-in voice for each playback scene can be stored locally in the user terminal, or the built-in voices of various playback scenes can be obtained from the background server; after the user selects the built-in voice configuration control, each built-in voice is displayed in the prompt tone setting interface for the user to choose. The audio import control provides the user with a way to use the custom prompt tone by importing audio, and the user can import audio from the background server or external device (such as a USB flash drive) connected to the user terminal as a custom prompt tone audio based on the audio import control.

[0114] Further, in one embodiment, when the prompt sound of the playback scene belongs to a language prompt sound, built-in voices in multiple languages ​​can be set for the user to choose from, and a voice selection control can be set in the prompt sound setting interface. The voice selection control includes multiple selectable language controls, such as Figure 6 The prompt tone setting interface is shown, which displays multiple language controls.

[0115] Furthermore, in one embodiment, the text entry control may include an input box for the user to input text, and may also include a sound type control for the user to select a sound type. Figure 7 A prompt tone setting interface is shown, in which an input box and three sound type controls, namely, "male voice", "female voice" and "child voice", are shown. The "connection successful" in the figure indicates the text entered by the user. Figure 6 and Figure 7The text entry control shown in the figure belongs to the display styles of the text entry control in two different states. Figure 6 The text entry control in Chinese refers to the control shown in "Text Entry". Figure 7 In , the text entry control can be regarded as a combination of the input box and the sound type control.

[0116] In one embodiment, the user Figure 4 After selecting a playback scene in the prompt tone setting interface shown, enter Figure 5 The prompt tone setting interface shown in the figure; Figure 5 After selecting the built-in voice configuration control in the prompt tone setting interface shown, enter Figure 6 The prompt tone setting interface shown in the figure; Figure 6 After selecting a language type in the prompt tone setting interface shown, one or more built-in voices of the selected language type are displayed for the user to select. After the user selects a built-in voice, the prompt tone setting confirmation command is triggered through the confirmation control below; Figure 5 After selecting the text entry control in the prompt tone setting interface shown, enter Figure 7 The prompt tone setting interface shown in the figure; Figure 7 After entering text in the input box in the prompt tone setting interface shown, after selecting the sound type, the prompt tone setting confirmation command is triggered through the confirmation control below.

[0117] In addition, an embodiment of the present invention further provides a device for setting a prompt sound, wherein the device is deployed on a target device, wherein the target device is an earphone device or an acoustic temple of smart glasses, and the device comprises:

[0118] A parsing module, used for receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio;

[0119] An association module, used to associate the custom prompt tone audio with the playback scene;

[0120] The playing module is used to obtain the custom prompt sound audio associated with the target playback scene for playback when a prompt sound playing instruction triggered in the target playback scene is detected.

[0121] Furthermore, the association module is also used for:

[0122] Saving the custom prompt sound audio to a custom storage partition corresponding to the playback scene in the storage area of ​​the target device to associate the custom prompt sound audio with the playback scene;

[0123] The playback module is also used for:

[0124] When a prompt sound playing instruction triggered in a target playing scene is detected, the custom prompt sound audio is obtained from the custom storage partition corresponding to the target playing scene for playing.

[0125] Furthermore, the storage area of ​​the target device also includes original storage partitions corresponding to various playback scenarios, and the apparatus also includes:

[0126] A detection module, for detecting whether a custom prompt sound audio is stored in a custom storage partition corresponding to the target playback scene when a prompt sound playback instruction triggered in the target playback scene is detected;

[0127] The playback module is also used to:

[0128] If yes, then obtain the custom prompt audio from the custom storage partition corresponding to the target playback scene for playback;

[0129] If not, the original prompt tone audio is obtained from the original storage partition corresponding to the target playback scene for playback.

[0130] Furthermore, the parsing module is also used for:

[0131] Receive each prompt tone data packet sent by the user terminal;

[0132] Analyze and obtain each audio data in each prompt tone data packet and the unpacking information and playback scene corresponding to each audio data;

[0133] The audio data corresponding to the same playback scene are combined according to the corresponding unpacking information to obtain a custom prompt sound audio, and the playback scene of each audio data obtained by combining the custom prompt sound audio is used as the playback scene of the custom prompt sound audio.

[0134] To achieve the above object, the present invention further provides a device for setting a prompt tone, which is deployed in a user terminal and includes:

[0135] An acquisition module, used to acquire a custom prompt tone audio and a playback scenario of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal;

[0136] A generating module, used to generate a prompt tone data packet carrying the custom prompt tone audio and the playback scene;

[0137] A sending module is used to send the prompt tone data packet to a target device that is communicatively connected to the user terminal, so that the target device can parse the prompt tone data packet to obtain the custom prompt tone audio and the playback scene, so as to play the custom prompt tone audio in the playback scene. The target device is a headphone device or an acoustic temple of smart glasses.

[0138] Furthermore, the prompt tone setting interface includes a scene selection control and a prompt tone setting control, and the acquisition module is also used to:

[0139] When receiving a prompt tone setting determination instruction triggered based on the prompt tone setting interface, obtaining a custom prompt tone audio set based on the prompt tone setting control;

[0140] The playback scene selected based on the scene selection control is obtained as the playback scene corresponding to the custom prompt tone audio.

[0141] Furthermore, the prompt tone setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control, and the acquisition module is further used to:

[0142] Using the audio recorded based on the recording control as a custom prompt audio; or,

[0143] Using the audio converted from the text entered into the text entry control as the custom prompt audio; or,

[0144] Use the built-in voice configured based on the built-in voice configuration control as the custom prompt audio; or,

[0145] The audio imported based on the audio import control is used as the custom prompt audio.

[0146] Furthermore, the generating module is also used for:

[0147] Detect whether the audio volume of the custom prompt tone audio is greater than a preset value;

[0148] If it is greater than, unpacking the custom prompt tone audio with the preset value as the maximum audio size to obtain each audio data and unpacking information corresponding to each audio data;

[0149] Each of the audio data is combined with the playback scene and the corresponding unpacking information to generate each prompt sound data packet.

[0150] The expanded contents of the specific implementation manner of the prompt tone setting device of the present invention are basically the same as the embodiments of the above-mentioned prompt tone setting method, and will not be elaborated here.

[0151] In one embodiment, the prompt tone setting device of the present invention may be a target device, and the target device is a headphone device or an acoustic temple of smart glasses. The target device may include a structural shell, a communication module, a main control module, a speaker, a microphone, a memory, etc. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive devices (which may be replaced, deleted or added according to actual functions) to realize the reception and playback functions of wireless audio. The target device may establish a communication connection with the user terminal through the communication module. A prompt tone setting program may be stored in the memory of the target device, and the microprocessor may be used to call the prompt tone setting program stored in the memory and perform the following operations:

[0152] Receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio;

[0153] Associating the custom prompt audio with the playback scene;

[0154] When a prompt tone playing instruction triggered in a target playback scene is detected, the custom prompt tone audio associated with the target playback scene is obtained for playback.

[0155] Further, associating the custom prompt tone audio with the playback scene includes:

[0156] Saving the custom prompt sound audio to a custom storage partition corresponding to the playback scene in the storage area of ​​the target device to associate the custom prompt sound audio with the playback scene;

[0157] When a prompt sound playing instruction triggered in a target playback scene is detected, the step of obtaining a custom prompt sound audio associated with the target playback scene for playing includes:

[0158] When a prompt sound playing instruction triggered in a target playing scene is detected, the custom prompt sound audio is obtained from the custom storage partition corresponding to the target playing scene for playing.

[0159] Furthermore, the storage area of ​​the target device also includes original storage partitions corresponding to various playback scenarios. Before obtaining the custom prompt audio from the custom storage partition corresponding to the target playback scenario for playback, the microprocessor can also be used to call the prompt audio setting program stored in the memory to perform the following operations:

[0160] When a prompt sound playing instruction triggered in a target playback scene is detected, whether a custom prompt sound audio is stored in the custom storage partition corresponding to the target playback scene;

[0161] If yes, then executing the step of obtaining the custom prompt sound audio from the custom storage partition corresponding to the target playback scene for playback;

[0162] If not, the original prompt tone audio is obtained from the original storage partition corresponding to the target playback scene for playback.

[0163] Further, the receiving of the prompt tone data packet sent by the user terminal, and parsing the prompt tone data packet to obtain the custom prompt tone audio and the playback scenario of the custom prompt tone audio include:

[0164] Receive each prompt tone data packet sent by the user terminal;

[0165] Analyze and obtain each audio data in each prompt tone data packet and the unpacking information and playback scene corresponding to each audio data;

[0166] The audio data corresponding to the same playback scene are combined according to the corresponding unpacking information to obtain a custom prompt sound audio, and the playback scene of each audio data obtained by combining the custom prompt sound audio is used as the playback scene of the custom prompt sound audio.

[0167] In one embodiment, the prompt tone setting device of the present invention may be a user terminal, and the user terminal may be a device such as a smart phone, a personal computer, and a server, and no specific restrictions are made here. In this embodiment, the prompt tone setting device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002, and a communication module 1006. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0168] The memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a prompt sound setting program. The operating system is a program that manages and controls the hardware and software resources of the device, and supports the operation of the prompt sound setting program and other software or programs. The user interface 1003 is mainly used for data communication with the client; the network interface 1004 is mainly used to establish a communication connection with the server. The prompt sound setting device can establish a communication connection with the target device through the communication module 1006, and the processor 1001 can be used to call the prompt sound setting program stored in the memory 1005 and perform the following operations:

[0169] Obtaining a custom prompt tone audio and a playback scenario of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal;

[0170] Generate a prompt tone data packet carrying the custom prompt tone audio and the playback scene;

[0171] The prompt tone data packet is sent to a target device that is communicatively connected to the user terminal, so that the target device parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scenario, so as to play the custom prompt tone audio in the playback scenario.

[0172] Furthermore, the prompt tone setting interface includes a scene selection control and a prompt tone setting control, and the obtaining of the custom prompt tone audio and the playback scene of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal includes:

[0173] When receiving a prompt tone setting determination instruction triggered based on the prompt tone setting interface, obtaining a custom prompt tone audio set based on the prompt tone setting control;

[0174] The playback scene selected based on the scene selection control is obtained as the playback scene corresponding to the custom prompt tone audio.

[0175] Further, the prompt tone setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control, and the obtaining of a custom prompt tone audio based on the prompt tone setting control includes:

[0176] Using the audio recorded based on the recording control as a custom prompt audio; or,

[0177] Using the audio converted from the text entered into the text entry control as the custom prompt audio; or,

[0178] Use the built-in voice configured based on the built-in voice configuration control as the custom prompt audio; or,

[0179] The audio imported based on the audio import control is used as the custom prompt audio.

[0180] Further, generating a prompt tone data packet carrying the custom prompt tone audio and the playback scene includes:

[0181] Detect whether the audio volume of the custom prompt tone audio is greater than a preset value;

[0182] If it is greater than, unpacking the custom prompt tone audio with the preset value as the maximum audio size to obtain each audio data and unpacking information corresponding to each audio data;

[0183] Each of the audio data is combined with the playback scene and the corresponding unpacking information to generate each prompt sound data packet.

[0184] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a prompt sound setting program is stored. When the prompt sound setting program is executed by a processor, the steps of the prompt sound setting method described below are implemented.

[0185] The various embodiments of the prompt tone setting device and the computer-readable storage medium of the present invention can all refer to the various embodiments of the prompt tone setting method of the present invention, which will not be described in detail here.

[0186] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0187] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0188] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0189] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for setting a prompt tone, characterized in that: The method is applied to a target device, which is an earphone device or an acoustic temple of smart glasses, and comprises the following steps: Receiving a prompt tone data packet sent by a user terminal, and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scenario of the custom prompt tone audio; Associating the custom prompt audio with the playback scene; When a prompt sound playing instruction triggered in a target playback scene is detected, a custom prompt sound audio associated with the target playback scene is obtained for playback; Wherein, before the step of receiving the prompt tone data packet sent by the user terminal and parsing the prompt tone data packet to obtain the custom prompt tone audio and the playback scene of the custom prompt tone audio, it also includes: The user terminal obtains a custom prompt audio and a playback scene of the custom prompt audio set based on a prompt setting interface displayed in the user terminal, wherein the prompt setting interface includes a scene selection control and a prompt setting control, and the prompt setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control; The step of obtaining the custom prompt tone audio and the playback scene of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal includes: When the user terminal receives the prompt tone setting determination instruction triggered by the prompt tone setting interface, the audio recorded based on the recording control is used as the custom prompt tone audio; or, The user terminal uses the audio converted from the text entered by the text entry control as the custom prompt audio, wherein the text entry control is set as an input box for the user to enter text, and / or is set as a sound type control for the user to select a sound type; or, The user terminal uses the built-in voice configured based on the built-in voice configuration control as the custom prompt tone audio; or, The user terminal uses the audio imported based on the audio import control as the custom prompt audio; The user terminal obtains the playback scene selected based on the scene selection control as the playback scene corresponding to the custom prompt tone audio.

2. The method for setting a prompt tone according to claim 1, wherein: The step of associating the custom prompt audio with the playback scene comprises: Saving the custom prompt sound audio to a custom storage partition corresponding to the playback scene in the storage area of ​​the target device to associate the custom prompt sound audio with the playback scene; When a prompt sound playing instruction triggered in a target playback scene is detected, the step of obtaining a custom prompt sound audio associated with the target playback scene for playing includes: When a prompt sound playing instruction triggered in a target playing scene is detected, the custom prompt sound audio is obtained from the custom storage partition corresponding to the target playing scene for playing.

3. The method for setting a prompt tone according to claim 2, wherein: The storage area of ​​the target device also includes original storage partitions corresponding to various playback scenarios. Before the step of obtaining the custom prompt audio from the custom storage partition corresponding to the target playback scenario for playback, the step also includes: When a prompt sound playing instruction triggered in a target playback scene is detected, detecting whether a custom prompt sound audio is stored in a custom storage partition corresponding to the target playback scene; If yes, then executing the step of obtaining the custom prompt sound audio from the custom storage partition corresponding to the target playback scene for playback; If not, the original prompt tone audio is obtained from the original storage partition corresponding to the target playback scene for playback.

4. The method for setting a prompt tone according to any one of claims 1 to 3, characterized in that: The step of receiving a prompt tone data packet sent by a user terminal and parsing the prompt tone data packet to obtain a custom prompt tone audio and a playback scene of the custom prompt tone audio includes: Receive each prompt tone data packet sent by the user terminal; Analyze and obtain each audio data in each prompt tone data packet and the unpacking information and playback scene corresponding to each audio data; The audio data corresponding to the same playback scene are combined according to the corresponding unpacking information to obtain a custom prompt sound audio, and the playback scene of each audio data obtained by combining the custom prompt sound audio is used as the playback scene of the custom prompt sound audio.

5. A method for setting a prompt tone, characterized in that: The method is applied to a user terminal, and the method comprises the following steps: Obtaining a custom prompt tone audio and a playback scenario of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal; The prompt tone setting interface includes a scene selection control and a prompt tone setting control, the prompt tone setting control includes one or more of a recording control, a text entry control, a built-in voice configuration control, and an audio import control, and the step of obtaining the custom prompt tone audio and the playback scene of the custom prompt tone audio set based on the prompt tone setting interface displayed in the user terminal includes: When receiving a prompt tone setting confirmation instruction triggered by the prompt tone setting interface, using the audio recorded based on the recording control as the custom prompt tone audio; or, Using audio converted from text entered based on the text entry control as a custom prompt audio, wherein the text entry control is set as an input box for the user to enter text, and / or is set as a sound type control for the user to select a sound type; or, Use the built-in voice configured based on the built-in voice configuration control as the custom prompt audio; or, Using the audio imported based on the audio import control as a custom prompt audio; Obtaining the playback scene selected based on the scene selection control as the playback scene corresponding to the custom prompt tone audio; Generate a prompt tone data packet carrying the custom prompt tone audio and the playback scene; The prompt tone data packet is sent to a target device that is communicatively connected to the user terminal, so that the target device parses the prompt tone data packet to obtain the custom prompt tone audio and the playback scene, so as to play the custom prompt tone audio in the playback scene, wherein the target device is a headphone device or an acoustic temple of smart glasses.

6. The method for setting a prompt tone according to claim 5, wherein: The step of generating a prompt tone data packet carrying the custom prompt tone audio and the playback scene comprises: Detect whether the audio volume of the custom prompt tone audio is greater than a preset value; If it is greater than, unpacking the custom prompt tone audio with the preset value as the maximum audio size to obtain each audio data and unpacking information corresponding to each audio data; Each of the audio data is combined with the playback scene and the corresponding unpacking information to generate each prompt sound data packet.

7. A device for setting a prompt tone, characterized in that: The prompt sound setting device comprises: a memory, a processor, and a prompt sound setting program stored in the memory and executable on the processor, wherein the prompt sound setting program implements the steps of the prompt sound setting method according to any one of claims 1 to 6 when executed by the processor.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a prompt sound setting program, and when the prompt sound setting program is executed by the processor, the steps of the prompt sound setting method according to any one of claims 1 to 6 are implemented.