Method, device, computer equipment and computer program product for generating prompt tone

By analyzing the prompt sound and human ear sound sensitivity information of Bluetooth devices, optimizing the prompt sound generation of Bluetooth devices, solving the problems of lack of prompt sound experience and low recognition in the prior art, and achieving more efficient device positioning.

CN118658247BActive Publication Date: 2024-11-08SHENZHEN SHENGRUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411132494.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-08
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

When looking for accessories, existing Bluetooth devices directly play continuous beeping or interval sounds, resulting in a lack of user experience, low recognition, and affecting positioning efficiency.

Method used

By obtaining the prompt sound information of Bluetooth devices and the gradient map of human ear sound sensitivity, identifying the generation methods of notes and tones, generating standard sound spectrums, filtering target sound segments suitable for different distance ranges, determining the target sound information of Bluetooth devices, and optimizing Generation of prompt tone.

Benefits of technology

It improves the accuracy of users to identify the location of Bluetooth devices within different distances, avoids the high energy consumption and low perception problems of simple humming sounds, and improves positioning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658247B_ABST
    Figure CN118658247B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, computer device, and computer program product for generating prompt tones, applied to a Bluetooth device management system. The invention relates to the fields of Bluetooth communication and artificial intelligence technology. The method includes: acquiring prompt tone information of a Bluetooth device and a human ear sensitivity spectrum; based on the prompt tone information, identifying the generation method of each note and pitch to generate a standard musical score generation table; identifying human ear sensitivity note information at different distance ranges to identify target sound segments suitable for each distance range in a music database; generating sub-prompt tone information corresponding to each target sound segment based on the musical score generation table; and determining the target prompt tone information of the Bluetooth device based on the sub-prompt tone information corresponding to each target sound segment and the distance range corresponding to each target sound segment. This method can improve the efficiency of users searching for and locating Bluetooth devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Bluetooth communication and artificial intelligence, and in particular to a method, device, computer equipment and computer program product for generating a prompt tone. Background Art

[0002] Find My Network Accessory (FMNA) is a term hereinafter referred to as Find My Network Accessory. According to the specifications of the "FindMy" network, FMNA accessories must include a sound emitter (such as a speaker). When the accessory is within range and can be connected to a smart terminal device via Bluetooth, the owner can press "Play Sound" on the smart terminal device to locate the accessory; a sound is played when motion is detected in a detached state (anti-tracking detection); non-owners can also locate the accessory by initiating a play sound command from the non-owner device.

[0003] The traditional solution is to play a continuous beeping sound or a rhythmic beeping sound directly on the accessory. This is not good from the user experience point of view. In addition, the recognition is not high for finding the location and ultrasonic detection alarm, which leads to low efficiency for users to search and locate Bluetooth devices. Summary of the invention

[0004] The main purpose of the present invention is to provide a method, device, computer equipment and computer program product for generating a prompt sound, aiming to solve the problem that the prior art directly plays a continuous buzzing sound "beep~" or a "beep" sound with an interval rhythm, which is insufficient from the perspective of user experience, and also has low recognition for finding positioning and ultrasonic detection alarm.

[0005] To achieve the above object, the first preferred embodiment provided by the present invention is a method for generating a prompt tone, which is applied to a Bluetooth device management and control system, and the method comprises:

[0006] Acquire the prompt tone information of the Bluetooth device and the gradual change map of the sound sensitivity of the human ear, and identify the note generation method of each note and the tone generation method of each tone based on the prompt tone information;

[0007] Based on the note generation method of each of the notes and the tone generation method of each of the tones, a spectrum generation table of a standard spectrum is generated, and based on the gradual change spectrum of human ear sound sensitivity, information of human ear sensitive notes in different distance ranges is identified;

[0008] Based on the human ear sensitive note information of each distance range, in the music database, the target sound segment adapted for each distance range is identified, and based on the spectrum generation table, the sub-prompt sound information corresponding to each target sound segment is generated;

[0009] The target prompt sound information of the Bluetooth device is determined based on the sub-prompt sound information corresponding to each of the target sound segments and the distance range corresponding to each of the target sound segments.

[0010] Optionally, the identifying, based on the prompt sound information, a note generation method for each note and a tone generation method for each tone includes:

[0011] Based on the prompt tone information, identifying the note generation frequency of each note in the same pitch and the generation duration of each note in the same pitch, and using the note generation frequency of each note in the same pitch and the note generation duration of each note in the same pitch as the note generation mode of each note;

[0012] In the prompt tone information, the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone are screened, and among the notes, the notes that are not selected as the target notes are re-screened as new target notes;

[0013] The new target note replaces the target note, and returns to execute the step of filtering the tone generation frequency of the target note in each tone, and the tone generation frequency band of the target note in each tone, to obtain the tone generation frequency of each note in each tone, and the tone generation frequency band of the target note in each tone, as the tone generation method for each tone.

[0014] Optionally, the generating a music score generation table of a standard music score based on the note generation method of each of the notes and the tone generation method of each of the tones includes:

[0015] Obtaining a note sorting table of standard notes, and based on the note sorting table, identifying the order of arrangement of each note in each tone, and the order of arrangement of each tone;

[0016] Based on the arrangement order of each note in each tone and the arrangement order of each tone, the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone are sorted to obtain the spectrum generation table of the standard notes.

[0017] Optionally, the step of identifying the human ear sensitive note information in different distance ranges based on the human ear sound sensitivity gradient map includes:

[0018] Acquire each distance interval range, and based on each distance interval range, split the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range;

[0019] For each sub-gradient spectrum, the sound sensitivity of each note in the sub-gradient spectrum at each tone is identified, and based on the sound sensitivity of each note in each tone, in each tone of each note, a preset number of target tones of each target note are selected in descending order of sound sensitivity as human ear sensitive note information corresponding to the sub-gradient spectrum;

[0020] The human ear sensitive note information corresponding to each of the sub-gradient patterns is used as the human ear sensitive note information of the distance interval range corresponding to each of the sub-gradient patterns.

[0021] Optionally, the step of identifying target sound segments adapted for each distance range in a music database based on the human ear sensitive note information for each distance range includes:

[0022] In a music database, the number of occurrences of each note contained in each segment in each tone and the duration of occurrence of each note in each tone are queried, and based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone, a proportion value of each note in each tone is calculated;

[0023] For each distance interval range, among the sound segments, a sound segment containing the largest proportion of the human ear sensitive note information within the distance interval range is selected as a target sound segment for the distance range adaptation.

[0024] Optionally, the method further includes:

[0025] collecting a user interval distance between the Bluetooth device and the user detected by the Bluetooth device, and identifying a target distance interval range to which the user interval distance belongs;

[0026] Play the target sound segment of the target distance interval range through the broadcast module of the Bluetooth device, re-collect the new user distance, and return to execute the step of identifying the target distance interval range to which the user distance belongs;

[0027] In response to the user's instruction to stop playing, the iterative process is stopped and the broadcast module is closed.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a second preferred embodiment, which is a device for generating a prompt tone, and the device for generating a prompt tone is applied to a Bluetooth device management and control system, and the device includes:

[0029] An acquisition module, used to acquire the prompt tone information of the Bluetooth device and the gradual change map of the sound sensitivity of the human ear, and identify the note generation method of each note and the tone generation method of each tone based on the prompt tone information;

[0030] an identification module, for generating a spectrum generation table of a standard spectrum based on the note generation method of each of the notes and the tone generation method of each of the tones, and identifying human ear sensitive note information of different distance ranges based on the human ear sound sensitivity gradient map;

[0031] A generation module, for identifying target sound segments adapted for each distance range in a music database based on the human ear sensitive note information of each distance range, and generating sub-prompt sound information corresponding to each target sound segment based on the spectrum generation table;

[0032] The determination module is used to determine the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each of the target sound segments and the distance range corresponding to each of the target sound segments.

[0033] Optionally, the acquisition module is specifically used to:

[0034] Based on the prompt tone information, identifying the note generation frequency of each note in the same pitch and the generation duration of each note in the same pitch, and using the note generation frequency of each note in the same pitch and the note generation duration of each note in the same pitch as the note generation mode of each note;

[0035] In the prompt tone information, the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone are screened, and among the notes, the notes that are not selected as the target notes are re-screened as new target notes;

[0036] The new target note replaces the target note, and returns to execute the step of filtering the tone generation frequency of the target note in each tone, and the tone generation frequency band of the target note in each tone, to obtain the tone generation frequency of each note in each tone, and the tone generation frequency band of the target note in each tone, as the tone generation method for each tone.

[0037] Optionally, the identification module is specifically used to:

[0038] Obtaining a note sorting table of standard notes, and based on the note sorting table, identifying the order of arrangement of each note in each tone, and the order of arrangement of each tone;

[0039] Based on the arrangement order of each note in each tone and the arrangement order of each tone, the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone are sorted to obtain the spectrum generation table of the standard notes.

[0040] Optionally, the identification module is specifically used to:

[0041] Acquire each distance interval range, and based on each distance interval range, split the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range;

[0042] For each sub-gradient spectrum, the sound sensitivity of each note in the sub-gradient spectrum at each tone is identified, and based on the sound sensitivity of each note in each tone, in each tone of each note, a preset number of target tones of each target note are selected in descending order of sound sensitivity as human ear sensitive note information corresponding to the sub-gradient spectrum;

[0043] The human ear sensitive note information corresponding to each of the sub-gradient patterns is used as the human ear sensitive note information of the distance interval range corresponding to each of the sub-gradient patterns.

[0044] Optionally, the generating module is specifically used for:

[0045] In a music database, the number of occurrences of each note contained in each segment in each tone and the duration of occurrence of each note in each tone are queried, and based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone, a proportion value of each note in each tone is calculated;

[0046] For each distance interval range, among the sound segments, a sound segment containing the largest proportion of the human ear sensitive note information within the distance interval range is selected as a target sound segment for the distance range adaptation.

[0047] Optionally, the device further comprises:

[0048] a collection module, used for collecting the user interval distance between the Bluetooth device and the user detected by the Bluetooth device, and identifying the target distance interval range to which the user interval distance belongs;

[0049] A playing module, used for playing the target sound segment of the target distance interval range through the broadcasting module of the Bluetooth device, re-collecting the new user distance, and returning to execute the step of identifying the target distance interval range to which the user distance belongs;

[0050] The termination module is used to stop the iteration process and close the broadcast module in response to the user's stop playing instruction.

[0051] To achieve the purpose of this application, this application also provides a third preferred embodiment, which is a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for generating a prompt tone described in the first preferred embodiment when executing the computer program.

[0052] To achieve the purpose of this application, this application also provides a fourth preferred embodiment, which is a computer program product. The computer program product includes a computer program, which, when executed by a processor, implements the steps of the method for generating a prompt tone described in the first preferred embodiment.

[0053] The present invention provides a method, device, computer equipment and computer program product for generating a prompt sound. The method is applied to a Bluetooth device management and control system. The method comprises: obtaining prompt sound information of a Bluetooth device and a gradual change map of human ear sound sensitivity, and based on the prompt sound information, identifying a note generation method for each note and a tone generation method for each tone; generating a spectrum generation table of a standard spectrum based on the note generation method of each note and the tone generation method of each tone, and identifying human ear sensitive note information of different distance ranges based on the gradual change map of human ear sound sensitivity; identifying a target sound segment adapted for each distance range in a music database based on the human ear sensitive note information of each distance range, and generating sub-prompt sound information corresponding to each target sound segment based on the spectrum generation table; determining the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each target sound segment and the distance range corresponding to each target sound segment. This solution analyzes the prompt tone generation information of the Bluetooth device and the perception information of the human ear's sound sensitivity, thereby identifying the spectrum generation table corresponding to the generation method of different notes in each tone, and identifying the human ear-sensitive note information corresponding to different distance ranges, so as to filter the sub-prompt tone information corresponding to the target sound segments using different distance ranges. When the user searches for the Bluetooth device through the prompt tone, no matter what distance range the user is in, it can not only accurately identify the distance range between the user and the Bluetooth device, but also more accurately locate the specific position of the Bluetooth device through the human ear, avoiding the high energy consumption and low perception problems of simple buzzing sounds, thereby comprehensively improving the efficiency of users in searching and locating Bluetooth devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0055] Figure 1 is a flow chart of a method for generating a prompt tone provided by an embodiment of the present invention;

[0056] Figure 2 is a schematic diagram of the structure of a device for generating a prompt tone provided by an embodiment of the present invention;

[0057] Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The method for generating an alert tone provided by an embodiment of the present invention is applied to an improved system for Bluetooth alert tones. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0059] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0060] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0061] The method for generating a prompt tone provided in the embodiment of the present application can be applied to the application environment of the Bluetooth device management and control system. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal analyzes the prompt tone generation information of the Bluetooth device and the perception information of the human ear sound sensitivity, thereby identifying the spectrum generation table corresponding to the generation method of different notes in each tone, and identifying the human ear sensitive note information corresponding to different distance ranges, thereby screening the sub-prompt tone information corresponding to the target sound segment using different distance ranges, so that when the user searches for a Bluetooth device through the prompt tone, no matter which distance range the user is in, it can not only accurately identify the distance range between the user and the Bluetooth device, but also more accurately locate the specific location of the Bluetooth device through the human ear, avoiding the high energy consumption and low perception of the simple buzzing sound, thereby comprehensively improving the efficiency of the user's search and positioning of the Bluetooth device.

[0062] The first preferred embodiment proposed in this application is as follows Figure 1 As shown, a method for generating a prompt tone is described by taking the method applied to a terminal as an example, and includes the following steps:

[0063] Step S101, obtaining the prompt sound information of the Bluetooth device and the gradual change map of the sound sensitivity of the human ear, and identifying the note generation method of each note and the tone generation method of each tone based on the prompt sound information.

[0064] In this embodiment, the terminal collects the prompt sound information of the Bluetooth device at each prompt angle, wherein the prompt sound information includes the sound information of different notes at different tones, wherein the Bluetooth device may be, but is not limited to, a series of devices that can be connected via Bluetooth, such as a Bluetooth headset, a Bluetooth pen, a Bluetooth hard drive, and a Bluetooth small appliance. The sound information includes the sound frequency and the sound duration. For example, in a PWM-driven buzzer, we control the notes and tones of the sound emitted by the buzzer by changing the duty cycle of the level signal (i.e., the ratio of the high level duration to the total duration). To make the buzzer play a melody, it is necessary to perform more complex control on the PWM signal it outputs. The melody contains information in two dimensions: pitch and duration. Therefore, we need to adjust the frequency of the PWM signal (to change the pitch) and the duration of the pulse (to change the duration). When implementing the code, we can define different PWM frequencies (corresponding to our popular "do, re, mi, fa, sol, la, si") as an array. / * Frequency corresponding to the note, here we take A4=440Hz of Western music as a reference* / static const uint16_t g_tuneFreqs[] = { 262,294,330,349,392,440,494,523,587,659,698,784,880,988 Duration is the duration of the note. For example, if we define a whole note to last for 1 second, then a quarter note is 1000ms / 4=250ms, and an eighth note is 1000ms / 8=125ms. So we can define an array to represent the duration of a note. The "1,1,2" in birthday_scoreNotes corresponds to the "8,8,4" in the array below, which means they last for 125ms, 125ms, and 250ms respectively, and so on. / * Music score duration, assuming 4 is a quarter note, 8 is an eighth note, etc.* / static const uint8_t birthday_scoreDurations[] = { 8,8,4,4,4,2,8,8,4,4,4,2,8,8,4,4,2,8,4,4,8,4,4,4,2 Then, the terminal obtains a gradual change map of human ear sound sensitivity, which is the sensitivity information of normal users perceiving different tones of different notes at different distances. The higher the sensitivity, the more obvious the tone of the note perceived by the human ear, and the lower the sensitivity, the less obvious the tone of the note perceived by the human ear. Then, based on the prompt tone information, the terminal identifies the note generation method of each note and the tone generation method of each tone. The specific recognition process will be described in detail later.

[0065] Step S102, based on the note generation method of each note and the tone generation method of each tone, a spectrum generation table of the standard spectrum is generated, and based on the gradual change spectrum of human ear sound sensitivity, human ear sensitive note information in different distance ranges is identified.

[0066] In this embodiment, the terminal generates a spectrum generation table of the standard spectrum based on the note generation method of each note and the tone generation method of each tone, and identifies the sensitive note information of the human ear in different distance ranges based on the gradual change spectrum of the human ear sound sensitivity. The spectrum generation table is a generation table of each note in each tone, in which the notes are sorted from low to high in terms of tone and from "do" to "si". The sensitive note information of the human ear is the target note with higher sensitivity corresponding to different distance ranges, and the target tone corresponding to the target note. The specific recognition process will be described in detail later.

[0067] Step S103, based on the human ear sensitive note information of each distance range, the target sound segment adapted for each distance range is identified in the music database, and based on the spectrum generation table, the sub-prompt sound information corresponding to each target sound segment is generated.

[0068] In this embodiment, the terminal identifies the target sound segments adapted for each distance range in the music database based on the human ear sensitive note information of each distance range, and generates the sub-prompt sound information corresponding to each target sound segment based on the sound spectrum generation table. Among them, the music database contains a large number of sound segments, each of which is a sound segment that can provide a more obvious sound prompt to the user, collected by the staff based on big data surveys, Internet searches, expert analysis, etc. The duration of each sound segment is the same, for example, 10S, 20S, 15S, etc. Each sound segment includes the sorted sound spectrum of each note and each tone of each note. The sorted sound spectrum includes the arrangement order of each note and each tone of each note (repeatable). The specific screening process will be described in detail later.

[0069] Step S104: determining the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each target sound segment and the distance range corresponding to each target sound segment.

[0070] In this embodiment, the terminal determines the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each target sound segment and the distance range corresponding to each target sound segment.

[0071] Based on the above scheme, by analyzing the prompt tone generation information of the Bluetooth device and the perception information of the human ear's sound sensitivity, the sound spectrum generation table corresponding to the generation method of different notes in each tone is identified, and the human ear's sensitive note information corresponding to different distance ranges is identified, so as to filter the sub-prompt tone information corresponding to the target sound segments using different distance ranges. When the user searches for the Bluetooth device through the prompt tone, no matter what distance range the user is in, it can not only accurately identify the distance range between the user and the Bluetooth device, but also more accurately locate the specific position of the Bluetooth device through the human ear, avoiding the high energy consumption and low perception problems of simple buzzing sound, thereby comprehensively improving the efficiency of users searching and locating Bluetooth devices.

[0072] Optionally, based on the prompt sound information, the note generation method of each note and the tone generation method of each tone are identified, including: based on the prompt sound information, the note generation frequency of each note in the same tone and the generation duration of each note in the same tone are identified, and the note generation frequency of each note in the same tone and the note generation duration of each note in the same tone are used as the note generation method of each note; in the prompt sound information, the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone are screened, and among each note, the notes that are not selected as target notes are re-screened as new target notes; the new target note is used to replace the target note, and the step of screening the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone is returned to execute, so as to obtain the tone generation frequency of each note in each tone and the tone generation frequency band of the target note in each tone as the tone generation method of each tone.

[0073] In this embodiment, the terminal identifies the note generation frequency of each note in the same tone and the generation duration of each note in the same tone based on the prompt tone information, and uses the note generation frequency of each note in the same tone and the note generation duration of each note in the same tone as the note generation mode of each note. Then, the terminal screens the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone in the prompt tone information, and re-screens the notes that are not selected as target notes in each note as new target notes. Then, the terminal replaces the target note with the new target note, and returns to execute the step of screening the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone, and obtains the tone generation frequency of each note in each tone and the tone generation frequency band of the target note in each tone as the tone generation mode of each tone.

[0074] Based on the above scheme, by identifying the generation frequency and generation duration of different notes and different tones, the generation method of different notes and different tones is determined, thereby improving the accuracy of the determined generation method.

[0075] Optionally, based on the note generation method of each note and the tone generation method of each tone, a music score generation table of a standard music score is generated, including: obtaining a note sorting table of standard notes, and based on the note sorting table, identifying the arrangement order of each note in each tone and the arrangement order of each tone; based on the arrangement order of each note in each tone and the arrangement order of each tone, sorting the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone to obtain a music score generation table for standard notes.

[0076] In this embodiment, the terminal obtains a note sorting table of standard notes, and identifies the arrangement order of each note in each tone and the arrangement order of each tone based on the note sorting table. Then, based on the arrangement order of each note in each tone and the arrangement order of each tone, the terminal sorts the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone to obtain a spectrum generation table of standard notes.

[0077] Based on the above scheme, a spectrum generation table is generated according to a note sorting table of standard notes, thereby improving the efficiency of generating prompt tone information for subsequent target sound segments.

[0078] Optionally, based on the human ear sound sensitivity gradient spectrum, human ear sensitive note information in different distance ranges is identified, including: obtaining each distance interval range, and based on each distance interval range, splitting the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range; for each sub-gradient spectrum, identifying the sound sensitivity of each note in the sub-gradient spectrum in each tone, and based on the sound sensitivity of each note in each tone, in each tone of each note, in order of sound sensitivity from large to small, screening a preset number of target tones of each target note as the human ear sensitive note information corresponding to the sub-gradient spectrum; using the human ear sensitive note information corresponding to each sub-gradient spectrum as the human ear sensitive note information of the distance interval range corresponding to each sub-gradient spectrum.

[0079] In this embodiment, the terminal obtains each distance interval range, and based on each distance interval range, splits the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range. Then, for each sub-gradient spectrum, the terminal identifies the sound sensitivity of each note in the sub-gradient spectrum in each tone, and based on the sound sensitivity of each note in each tone, in each tone of each note, in the order of sound sensitivity from large to small, selects a preset number of target tones of each target note as the human ear sensitive note information corresponding to the sub-gradient spectrum. Finally, the terminal uses the human ear sensitive note information corresponding to each sub-gradient spectrum as the human ear sensitive note information of the distance interval range corresponding to each sub-gradient spectrum. Among them, the preset number is the number preset in the terminal by the staff.

[0080] Based on the above scheme, the musical note information sensitive to the human ear in different distance intervals is split and recognized, thereby improving the recognition accuracy of the musical note information sensitive to the human ear in different distance intervals.

[0081] Optionally, based on the human ear-sensitive note information of each distance range, target sound segments adapted for each distance range are identified in a music database, including: in the music database, querying the number of occurrences of each note contained in each sound segment in each tone, and the duration of occurrence of each note in each tone, and calculating the proportion of each note in each tone based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone; for each distance interval range, in each sound segment, screening the sound segment with the largest proportion of the human ear-sensitive note information within the distance interval range as the target sound segment adapted for the distance range.

[0082] In this embodiment, the terminal searches the music database for the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone contained in each segment, and calculates the proportion of each note in each tone based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone. The proportion is the average value between a first proportion of the number of occurrences of each note in each tone to all tones of all notes and a second proportion of the duration of occurrence of each note in each tone to all durations of the segment.

[0083] For each distance interval range, the terminal selects, from among the sound segments, a sound segment having the largest ratio of human ear-sensitive note information within the distance interval range as a target sound segment for distance range adaptation.

[0084] Based on the above solution, the target segment is screened by querying the occurrence frequency of each tone of each note in each segment, thereby improving the efficiency of screening the target segment.

[0085] Optionally, the method also includes: collecting the user interval distance between the Bluetooth device and the user detected by the Bluetooth device, and identifying the target distance interval range to which the user interval distance belongs; playing the target sound segment of the target distance interval range through the broadcast module of the Bluetooth device, and re-collecting the new user interval distance, and returning to execute the step of identifying the target distance interval range to which the user interval distance belongs; in response to the user's stop playback instruction, stopping the iterative process and closing the broadcast module.

[0086] In this embodiment, the terminal collects the user interval distance between the Bluetooth device and the user detected by the Bluetooth device, and identifies the target distance interval range to which the user interval distance belongs. Then, the terminal plays the target sound segment of the target distance interval range through the broadcast module of the Bluetooth device, re-collects the new user interval distance, and returns to execute the step of identifying the target distance interval range to which the user interval distance belongs. Until, when the terminal responds to the user's stop playing instruction, the iterative process is stopped and the broadcast module is turned off.

[0087] Based on the above scheme, by using the target prompt tone information of the Bluetooth device provided by this scheme, not only the distance range between the user and the Bluetooth device can be accurately identified, but also the specific position of the Bluetooth device can be more accurately located through the human ear, avoiding the high energy consumption and low perception problems of simple buzzing sounds, thereby comprehensively improving the efficiency of users in searching and locating Bluetooth devices.

[0088] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0089] Based on the same inventive concept, the present application also provides a second preferred embodiment, which is a device for implementing a method for generating a prompt tone involved in the method described in the first preferred embodiment. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more embodiments of the device for generating a prompt tone provided below can refer to the limitations of the method for generating a prompt tone above, and will not be repeated here.

[0090] Further references Figure 2 , as a response to the above Figure 1 In order to realize the method shown in the figure, the present application provides an embodiment of a device 200 for generating a prompt tone, the device 200 includes an acquisition module 210, an identification module 220, a generation module 230 and a determination module 240, wherein:

[0091] The acquisition module 210 is used to acquire the prompt tone information of the Bluetooth device and the gradual change spectrum of the sound sensitivity of the human ear, and identify the note generation method of each note and the tone generation method of each tone based on the prompt tone information;

[0092] The recognition module 220 is used to generate a spectrum generation table of a standard spectrum based on the note generation method of each of the notes and the tone generation method of each of the tones, and to recognize the human ear sensitive note information of different distance ranges based on the human ear sound sensitivity gradient map;

[0093] A generating module 230, for identifying target sound segments adapted to each of the distance ranges in a music database based on the human ear sensitive note information of each of the distance ranges, and generating sub-prompt sound information corresponding to each of the target sound segments based on the spectrum generation table;

[0094] The determination module 240 is used to determine the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each of the target sound segments and the distance range corresponding to each of the target sound segments.

[0095] Optionally, the acquisition module 210 is specifically configured to:

[0096] Based on the prompt tone information, identifying the note generation frequency of each note in the same pitch and the generation duration of each note in the same pitch, and using the note generation frequency of each note in the same pitch and the note generation duration of each note in the same pitch as the note generation mode of each note;

[0097] In the prompt tone information, the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone are screened, and among the notes, the notes that are not selected as the target notes are re-screened as new target notes;

[0098] The new target note replaces the target note, and returns to execute the step of filtering the tone generation frequency of the target note in each tone, and the tone generation frequency band of the target note in each tone, to obtain the tone generation frequency of each note in each tone, and the tone generation frequency band of the target note in each tone, as the tone generation method for each tone.

[0099] Optionally, the identification module 220 is specifically configured to:

[0100] Obtaining a note sorting table of standard notes, and based on the note sorting table, identifying the order of arrangement of each note in each tone, and the order of arrangement of each tone;

[0101] Based on the arrangement order of each note in each tone and the arrangement order of each tone, the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone are sorted to obtain the spectrum generation table of the standard notes.

[0102] Optionally, the identification module 220 is specifically configured to:

[0103] Acquire each distance interval range, and based on each distance interval range, split the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range;

[0104] For each sub-gradient spectrum, the sound sensitivity of each note in the sub-gradient spectrum at each tone is identified, and based on the sound sensitivity of each note in each tone, in each tone of each note, a preset number of target tones of each target note are selected in descending order of sound sensitivity as human ear sensitive note information corresponding to the sub-gradient spectrum;

[0105] The human ear sensitive note information corresponding to each of the sub-gradient patterns is used as the human ear sensitive note information of the distance interval range corresponding to each of the sub-gradient patterns.

[0106] Optionally, the generating module 230 is specifically configured to:

[0107] In a music database, the number of occurrences of each note contained in each segment in each tone and the duration of occurrence of each note in each tone are queried, and based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone, a proportion value of each note in each tone is calculated;

[0108] For each distance interval range, among the sound segments, a sound segment containing the largest proportion of the human ear sensitive note information within the distance interval range is selected as a target sound segment for the distance range adaptation.

[0109] Optionally, the device further comprises:

[0110] a collection module, used for collecting the user interval distance between the Bluetooth device and the user detected by the Bluetooth device, and identifying the target distance interval range to which the user interval distance belongs;

[0111] A playing module, used for playing the target sound segment of the target distance interval range through the broadcasting module of the Bluetooth device, re-collecting the new user distance, and returning to execute the step of identifying the target distance interval range to which the user distance belongs;

[0112] The termination module is used to stop the iteration process and close the broadcast module in response to the user's stop playing instruction.

[0113] Each module in the above-mentioned device for generating a prompt tone can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0114] Based on the same inventive concept, the present application also provides a third preferred embodiment, which is a computer device, which can be a terminal, and its internal structure diagram can be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for generating a prompt sound is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.

[0115] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0116] In one embodiment, a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the method described in the first preferred embodiment are implemented.

[0117] Based on the same inventive concept, the present application provides a fourth preferred embodiment, which is a computer program product, including a computer program, which implements the steps of the method described in the first preferred embodiment when executed by a processor.

[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0119] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0121] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for generating a prompt tone, applied to a Bluetooth device management and control system, characterized in that: The method comprises: Acquire the prompt tone information of the Bluetooth device and the gradual change map of the sound sensitivity of the human ear, and identify the note generation method of each note and the tone generation method of each tone based on the prompt tone information; Based on the note generation method of each of the notes and the tone generation method of each of the tones, a spectrum generation table of a standard spectrum is generated, and based on the gradual change spectrum of human ear sound sensitivity, information of human ear sensitive notes in different distance ranges is identified; Based on the human ear sensitive note information of each distance range, in the music database, the target sound segment adapted for each distance range is identified, and based on the spectrum generation table, the sub-prompt sound information corresponding to each target sound segment is generated; Determine the target prompt sound information of the Bluetooth device based on the sub-prompt sound information corresponding to each of the target sound segments and the distance range corresponding to each of the target sound segments; The step of identifying the human ear sensitive note information in different distance ranges based on the human ear sound sensitivity gradient map includes: (1) Obtaining each distance interval range, and based on each distance interval range, splitting the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range; (2) for each sub-gradient spectrum, identifying the sound sensitivity of each note in the sub-gradient spectrum at each tone, and based on the sound sensitivity of each note in each tone, selecting a preset number of target tones of each target note in order of sound sensitivity from large to small in each tone of each note as human ear sensitive note information corresponding to the sub-gradient spectrum; and (3) using the human ear sensitive note information corresponding to each of the sub-gradient patterns as the human ear sensitive note information of the distance interval range corresponding to each of the sub-gradient patterns; The step of identifying target sound segments adapted to each distance range in a music database based on the human ear sensitive note information of each distance range includes: (1) in a music database, querying the number of occurrences of each note contained in each segment in each tone and the duration of occurrence of each note in each tone, and calculating the proportion of each note in each tone based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone; and (2) For each distance interval range, among the sound segments, a sound segment having the largest proportion of human ear-sensitive note information within the distance interval range is selected as a target sound segment for adaptation of the distance range.

2. The method according to claim 1, characterized in that The step of identifying a note generation method for each note and a tone generation method for each tone based on the prompt tone information includes: Based on the prompt tone information, identifying the note generation frequency of each note in the same pitch and the generation duration of each note in the same pitch, and using the note generation frequency of each note in the same pitch and the note generation duration of each note in the same pitch as the note generation mode of each note; In the prompt tone information, the tone generation frequency of the target note in each tone and the tone generation frequency band of the target note in each tone are screened, and among the notes, the notes that are not selected as the target notes are re-screened as new target notes; The new target note replaces the target note, and returns to execute the step of filtering the tone generation frequency of the target note in each tone, and the tone generation frequency band of the target note in each tone, to obtain the tone generation frequency of each note in each tone, and the tone generation frequency band of the target note in each tone, as the tone generation method for each tone.

3. The method according to claim 2, characterized in that The method of generating a musical score generation table of a standard musical score based on the musical note generation method of each of the musical notes and the musical tone generation method of each of the musical tones comprises: Obtaining a note sorting table of standard notes, and based on the note sorting table, identifying the order of arrangement of each note in each tone, and the order of arrangement of each tone; Based on the arrangement order of each note in each tone and the arrangement order of each tone, the tone generation frequency of each note in each tone and the tone generation duration of each note in each tone are sorted to obtain the spectrum generation table of the standard notes.

4. The method according to claim 1, characterized in that Also includes: Collecting a user interval distance between the Bluetooth device and a user detected by the Bluetooth device, and identifying a target distance interval range to which the user interval distance belongs; Play the target sound segment of the target distance interval range through the broadcast module of the Bluetooth device, re-collect the new user distance, and return to execute the step of identifying the target distance interval range to which the user distance belongs; In response to the user's instruction to stop playing, the iterative process is stopped and the broadcast module is closed.

5. A device for generating a prompt tone, applied to a Bluetooth device management and control system, characterized in that: The device comprises: An acquisition module, used to acquire the prompt tone information of the Bluetooth device and the gradual change map of the sound sensitivity of the human ear, and identify the note generation method of each note and the tone generation method of each tone based on the prompt tone information; an identification module, for generating a spectrum generation table of a standard spectrum based on the note generation method of each of the notes and the tone generation method of each of the tones, and identifying human ear sensitive note information of different distance ranges based on the human ear sound sensitivity gradient map; A generation module, for identifying target sound segments adapted for each distance range in a music database based on the human ear sensitive note information of each distance range, and generating sub-prompt sound information corresponding to each target sound segment based on the spectrum generation table; A determination module, configured to determine the target prompt tone information of the Bluetooth device based on the sub-prompt tone information corresponding to each of the target sound segments and the distance range corresponding to each of the target sound segments; The identification module is specifically used for: Acquire each distance interval range, and based on each distance interval range, split the human ear sound sensitivity gradient spectrum to obtain a sub-gradient spectrum corresponding to each distance interval range; For each sub-gradient spectrum, the sound sensitivity of each note in the sub-gradient spectrum at each tone is identified, and based on the sound sensitivity of each note in each tone, in each tone of each note, a preset number of target tones of each target note are selected in descending order of sound sensitivity as human ear sensitive note information corresponding to the sub-gradient spectrum; Using the human ear sensitive note information corresponding to each of the sub-gradient spectra as the human ear sensitive note information of the distance interval range corresponding to each of the sub-gradient spectra; The generating module is specifically used for: In the music database, the number of occurrences of each note contained in each segment in each tone and the duration of occurrence of each note in each tone are searched, and based on the number of occurrences of each note in each tone and the duration of occurrence of each note in each tone, the proportion value of each note in each tone is calculated; and For each distance interval range, among the sound segments, a sound segment containing the largest proportion of the human ear sensitive note information within the distance interval range is selected as a target sound segment for the distance range adaptation.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method for generating a prompt sound according to any one of claims 1 to 3 is implemented.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a prompt tone according to any one of claims 1 to 3 is implemented.