Voiceprint positioning method, device, equipment and storage medium
By obtaining the infrasound wave time difference information and position information received by the sound receiving device group, the user's target position is calculated, which solves the problem of difficult positioning under obstacles and achieves precise positioning without affecting the environment.
Patent Information
- Application Number
- CN202110011437.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-01-05
AI Technical Summary
Under the obstruction of obstacles, traditional GPS and AGPS positioning technologies are difficult to achieve accurate positioning.
By obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code received by the sound receiving device group, and combined with the location information, the user's target location information is calculated to achieve precise positioning.
Even when blocked by obstacles, the user's target location information can be quickly obtained to achieve precise positioning of the user without generating additional sound, light or electromagnetic wave pollution to avoid interference to humans.
Smart Images

Figure CN112816941B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to a voiceprint positioning method, device, equipment and storage medium. Background Art
[0002] Traditional positioning technology is mainly based on GPS positioning and AGPS mobile base station assisted positioning. However, when we are blocked by obstacles, such as in basements, under elevated roads, etc., it is easy to fail to receive GPS signals and mobile base station signals. In this case, it is difficult to perform GPS positioning and AGPS positioning, resulting in inaccurate positioning. Summary of the invention
[0003] The main purpose of the present invention is to provide a voiceprint positioning method, device, equipment and storage medium, aiming to solve the technical problem that people cannot perform accurate positioning when blocked by obstacles.
[0004] To achieve the above object, an embodiment of the present invention provides a voiceprint positioning method, which includes:
[0005] Acquiring time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the infrasound waves;
[0006] Acquire the position information of the sound receiving device group, and determine the target position information of the user according to the position information and the time difference information;
[0007] Send positioning feedback information to the user according to the target location information.
[0008] Preferably, before the step of obtaining the time difference information of the infrasound waves received by the sound receiving device group based on the preset QR code sent by the user, the method further comprises:
[0009] When receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, obtaining request information in the infrasound wave sending request;
[0010] Generate identity information according to the request information;
[0011] The identity information is sent as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information.
[0012] Preferably, the step of determining the target location information of the user according to the location information and the time difference information comprises:
[0013] Generate a set of equations according to the position information and the time difference information;
[0014] The equation group is solved to obtain the target location information of the user.
[0015] Preferably, the step of generating a set of equations according to the position information and the time difference information comprises:
[0016] Acquire a sound propagation speed, and calculate distance information formed by the time difference according to the sound propagation speed and the time difference information;
[0017] A set of equations is generated according to the distance information and the position information.
[0018] Preferably, the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the infrasound waves includes:
[0019] Respectively obtain time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code;
[0020] respectively calculating the time difference between the plurality of time information;
[0021] If the number of time differences is greater than or equal to a preset threshold, the multiple time differences are generated as time difference information.
[0022] Preferably, after the step of respectively calculating the time difference between the plurality of time information, the method further comprises:
[0023] comparing the amount of time difference to a preset threshold;
[0024] If the number of time differences is less than the preset threshold, it is determined that a sound receiving device in the sound receiving device group is faulty, and fault prompt information is output.
[0025] Preferably, before the step of obtaining the time difference information of the infrasound waves received by the sound receiving device group based on the preset QR code sent by the user, the method further comprises:
[0026] Establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to exchange data with the multiple sound receiving devices.
[0027] To achieve the above object, the present invention further provides a voiceprint positioning device, the voiceprint positioning device comprising:
[0028] An acquisition module, used for acquiring time difference information of the infrasound waves sent by the user based on a preset QR code received by the sound receiving device group;
[0029] a determination module, configured to obtain the position information of the sound receiving device group, and determine the target position information of the user according to the position information and the time difference information;
[0030] The sending module is used to obtain the identity information in the infrasound wave, and send positioning feedback information to the user according to the identity information and the target position information.
[0031] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a voiceprint positioning device, which includes a memory, a processor, and a voiceprint positioning program stored in the memory and executable on the processor, and the voiceprint positioning program implements the steps of the above-mentioned voiceprint positioning method when executed by the processor.
[0032] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a voiceprint positioning program is stored, and when the voiceprint positioning program is executed by a processor, the steps of the above-mentioned voiceprint positioning method are implemented.
[0033] The embodiment of the present invention provides a voiceprint positioning method, device, equipment and storage medium, which obtains the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the time difference information; obtains the position information of the sound receiving device group, determines the target position information of the user according to the position information and the time difference information; and sends positioning feedback information to the user according to the target position information. In the present invention, the user scans the preset QR code and sends the infrasound wave, obtains the time difference information of the infrasound waves received by the sound receiving device group, and calculates the target position information of the user in combination with the position information of the sound receiving device group. Even if blocked by obstacles, the user's target position information can be quickly obtained by scanning the infrasound waves sent by the preset QR code, thereby realizing accurate positioning of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the voiceprint positioning method of the present invention;
[0035] Figure 2 It is a flow chart of the first embodiment of the voiceprint positioning method of the present invention;
[0036] Figure 3 It is a flow chart of the second embodiment of the voiceprint positioning method of the present invention;
[0037] Figure 4 It is a flow chart of the third embodiment of the voiceprint positioning method of the present invention;
[0038] Figure 5 It is a flowchart of a fourth embodiment of the voiceprint positioning method of the present invention;
[0039] Figure 6 It is a schematic diagram of the functional modules of a preferred embodiment of the voiceprint positioning device of the present invention.
[0040] 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
[0041] 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.
[0042] The embodiment of the present invention provides a voiceprint positioning method, device, equipment and storage medium, which obtains the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the time difference information; obtains the position information of the sound receiving device group, determines the target position information of the user according to the position information and the time difference information; and sends positioning feedback information to the user according to the target position information. In the present invention, the user scans the preset QR code and sends the infrasound wave, obtains the time difference information of the infrasound waves received by the sound receiving device group, and calculates the target position information of the user in combination with the position information of the sound receiving device group. Even if blocked by obstacles, the user's target position information can be quickly obtained by scanning the infrasound waves sent by the preset QR code, thereby realizing accurate positioning of the user.
[0043] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of a voiceprint positioning device in the hardware operating environment involved in the embodiment of the present invention.
[0044] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0045] The voiceprint positioning device in the embodiment of the present invention may be a PC, or a portable terminal device such as a tablet computer or a portable computer.
[0046] like Figure 1 As shown, the voiceprint positioning device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. 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 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.
[0047] Those skilled in the art will understand that Figure 1 The voiceprint positioning device structure shown in the figure does not constitute a limitation on the voiceprint positioning device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0048] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a voiceprint positioning program.
[0049] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the voiceprint positioning program stored in the memory 1005 and perform the following operations:
[0050] Acquiring time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the infrasound waves;
[0051] Acquire the position information of the sound receiving device group, and determine the target position information of the user according to the position information and the time difference information;
[0052] Send positioning feedback information to the user according to the target location information.
[0053] Furthermore, before the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code received by the sound receiving device group, the processor 1001 can be used to call the voiceprint positioning program stored in the memory 1005 and perform the following operations:
[0054] When receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, obtaining request information in the infrasound wave sending request;
[0055] Generate identity information according to the request information;
[0056] The identity information is sent as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information.
[0057] Further, the step of determining the target location information of the user according to the location information and the time difference information includes:
[0058] Generate a set of equations according to the position information and the time difference information;
[0059] The equation group is solved to obtain the target location information of the user.
[0060] Further, the step of generating a set of equations according to the position information and the time difference information includes:
[0061] Acquire a sound propagation speed, and calculate distance information formed by the time difference according to the sound propagation speed and the time difference information;
[0062] A set of equations is generated according to the distance information and the position information.
[0063] Furthermore, the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the infrasound waves includes:
[0064] Respectively obtain time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code;
[0065] respectively calculating the time difference between the plurality of time information;
[0066] If the number of time differences is greater than or equal to a preset threshold, the multiple time differences are generated as time difference information.
[0067] Further, after the step of respectively calculating the time differences between the plurality of time information, the processor 1001 may be used to call the voiceprint positioning program stored in the memory 1005, and perform the following operations:
[0068] comparing the amount of time difference to a preset threshold;
[0069] If the number of time differences is less than the preset threshold, it is determined that a sound receiving device in the sound receiving device group is faulty, and fault prompt information is output.
[0070] Furthermore, before the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code received by the sound receiving device group, the processor 1001 can be used to call the voiceprint positioning program stored in the memory 1005 and perform the following operations:
[0071] Establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to exchange data with the multiple sound receiving devices.
[0072] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0073] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0074] Reference Figure 2 , the first embodiment of the present invention provides a flow chart of a voiceprint positioning method. In this embodiment, the voiceprint positioning method includes the following steps:
[0075] Step S10, obtaining time difference information of the sound receiving device group receiving the infrasound waves sent by the user based on the preset QR code;
[0076] In this embodiment, the voiceprint positioning method is applied to a voiceprint positioning system, which is hereinafter referred to as the system. The system includes a server and a sound receiving device group consisting of multiple sound receiving devices. The server and the multiple sound receiving devices have established a connection relationship. The multiple sound receiving devices are arranged at different locations within the same area. The server is a type of computer that provides computing or application services to other clients in the network. The sound receiving device is used to receive infrasound waves emitted by a user's preset terminal. The preset terminal in this embodiment can be a mobile terminal such as a smart phone or a tablet computer.
[0077] Understandably, daily positioning means are mainly based on GPS (Global Positioning System) positioning and AGPS (Assisted Global Positioning System) mobile base station assisted positioning. However, when people are blocked by obstacles, such as in basements, under elevated roads, etc., they usually cannot receive GPS signals and mobile base station signals. In this case, it is difficult for people to perform GPS positioning and AGPS positioning. Since accurate positioning cannot be performed, people are out of touch, which brings great trouble to people's lives. On this basis, the present application proposes a voiceprint positioning method, in which a preset QR code is placed in the above occasions for users to scan and send infrasound waves, and then the voiceprint positioning system obtains the time difference information of the sound receiving device group receiving the infrasound waves and calculates the user's target location information in combination with the location information of the sound receiving device group. Even under the blockage of obstacles, the user's target location information can be quickly obtained by scanning the infrasound waves sent by the preset QR code, so as to achieve accurate positioning of the user.
[0078] Further, in order to enable people to accurately locate in places such as basements and under elevated roads, which are blocked by obstacles, the present embodiment posts preset QR codes in places such as basements and under elevated roads, and specifically, preset QR codes can be posted at the entrance, rest area, and on the ground in places such as basements, so that when users have positioning needs, they can generate and send infrasound waves by scanning the preset QR codes, wherein the preset QR codes are provided with an infrasound wave generating program for generating infrasound waves; and, in order to enable users to smoothly send out infrasound waves after scanning the preset QR codes, if the network signal is poor in places such as basements and under elevated roads, which are blocked by obstacles, a wireless network, such as WI-FI (wireless Internet access), is deployed in the places. Further, after the user scans the preset QR code and sends the infrasound wave through the preset terminal, the multiple sound receiving devices in the sound receiving device group receive the infrasound wave respectively, and send the receiving time of the received infrasound wave and the identity information in the infrasound wave to the server, wherein the identity information is used to uniquely identify the user. Furthermore, the server receives the reception time of the infrasound waves sent by each sound receiving device in the sound receiving device group, obtains multiple reception times, and then performs pairwise difference operations on the multiple reception times to obtain multiple time differences between the reception times and form time difference information, so as to determine the user's target position information based on the time difference information and the position information of the sound receiving device group, thereby facilitating accurate positioning of the user.
[0079] Furthermore, before the step of obtaining the time difference information of the infrasound waves received by the sound receiving device group based on the preset QR code sent by the user, it also includes:
[0080] Step A1: establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to interact with the multiple sound receiving devices.
[0081] Furthermore, in order to enable the server to interact with multiple sound receiving devices in the sound receiving device group in a timely manner, the server also needs to establish communication connections with the multiple sound receiving devices in the sound receiving device group respectively. Specifically, the server can establish communication connections with the multiple sound receiving devices in the sound receiving device group respectively through a wireless network (such as WI-FI, local area network, etc.) so that after establishing a communication connection with the multiple sound receiving devices in the sound receiving device group, the server can obtain the time information and identity identification information of each sound receiving device receiving the infrasound wave from the sound receiving device group, so as to facilitate the precise positioning of the user.
[0082] Step S20, obtaining the position information of the sound receiving device group, and determining the target position information of the user according to the position information and the time difference information;
[0083] It can be understood that each sound receiving device in the sound receiving device group is provided with a specific location information. For example, a sound receiving device set in a basement is provided with two-dimensional location information and longitudinal information of the sound receiving device (for example, the floor where the sound receiving device is set) to form three-dimensional location information. Further, the server obtains the location information corresponding to each sound receiving device from each sound receiving device according to the connection relationship with each sound receiving device in the sound receiving device group. After obtaining the location information of each sound receiving device in the sound receiving device group, the server calculates the target location information of the user through the obtained location information and time difference information. Specifically, the server calculates the user's location information by establishing and solving a set of equations based on the time difference of receiving infrasound waves between two sound receiving devices and the difference in distance between the two sound receiving devices and the location where the infrasound waves are sent, so as to accurately locate the user.
[0084] Step S30: Send positioning feedback information to the user according to the target location information.
[0085] After calculating the user's target location information, since the calculated target location information is two-dimensional location information, the server adjusts the target location information according to the longitudinal information in the location information of each sound receiving device to obtain more accurate target location information. Further, the server receives the identity information identified and sent by each sound receiving device from the infrasound wave, generates positioning feedback information with the identity information and the obtained accurate target location information, and sends the positioning feedback information to the user's preset terminal, so that the user can determine his or her location based on the received positioning feedback information. It can be understood that in order to ensure the security of user information, before sending the positioning feedback information to the user, the server can also verify the identity information received from each sound receiving device to determine whether multiple identity information is the same, and only send positioning feedback information to the user based on the identity information when multiple identity information are the same.
[0086] This embodiment provides a voiceprint positioning method, device, equipment and storage medium, which obtains the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives the time difference information; obtains the position information of the sound receiving device group, and determines the target position information of the user according to the position information and the time difference information; sends positioning feedback information to the user according to the target position information. In the present invention, the user scans the preset QR code and sends the infrasound wave, obtains the time difference information of the infrasound waves received by the sound receiving device group, and calculates the target position information of the user in combination with the position information of the sound receiving device group. Even under the obstruction of obstacles, the user's target position information can be quickly obtained by scanning the infrasound waves sent by the preset QR code, so as to realize accurate positioning of the user. In addition, when the user of the present application scans the preset QR code, no additional sound, light or electromagnetic wave pollution will be generated, and the sent infrasound waves cannot be perceived by humans, which will not cause interference or adverse effects on humans while realizing accurate positioning of the user.
[0087] Further, refer to Figure 3 Based on the first embodiment of the voiceprint positioning method of the present invention, a second embodiment of the voiceprint positioning method of the present invention is proposed. In the second embodiment, before the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code by the sound receiving device group, it also includes:
[0088] Step S1, when receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, obtaining request information in the infrasound wave sending request;
[0089] Step S2, generating identity information according to the request information;
[0090] Step S3, sending the identity information as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information.
[0091] It is understandable that after the user scans through the preset terminal, the user needs to choose the opening method according to the actual use environment, for example, a web page can be opened, or a light application can be started, or a third-party applet such as Alipay, WeChat, Toutiao, etc. to request to play the infrasound with user information representing the voiceprint, and the user information is used as the request information to generate an infrasound sending request, and the infrasound sending request is sent to the server, wherein the web page requires the user to enter the mobile phone number and other user information to send the request, and the third-party applet sends the request through the user information authorized by the user. Further, in order to respond to the user's positioning needs in a timely manner, the server detects in real time whether there is an infrasound sending request sent by the user through the preset terminal scanning the preset QR code. If there is an infrasound sending request, the infrasound sending request is received and parsed to obtain the user information contained in the infrasound sending request as the request information. In order to distinguish users, the server generates identity information according to the request information to uniquely identify the user, so as to distinguish different users. Furthermore, the server sends the identity information as a confirmation instruction to the preset terminal according to the path of receiving the infrasound wave sending request from the preset terminal, so that the preset terminal can generate and send infrasound based on the identity information, so that the server can distinguish different users when determining the user's target location information, thereby improving the accuracy of positioning.
[0092] Before obtaining the time difference information of the sound receiving device group receiving the infrasound waves sent by the user based on the preset QR code, this embodiment generates identity identification information according to the infrasound wave sending request sent by the user, and sends the identity identification information as a confirmation instruction to the user's preset terminal, so that the preset terminal can generate and send infrasound waves based on the identity identification information to determine the user's target position information and realize accurate positioning of the user.
[0093] Further, refer to Figure 4 Based on the first embodiment of the voiceprint positioning method of the present invention, a third embodiment of the voiceprint positioning method of the present invention is proposed. In the third embodiment, the step of determining the target location information of the user according to the location information and the time difference information includes:
[0094] Step S21, generating a set of equations according to the position information and the time difference information;
[0095] Step S22, solving the equation group to obtain the target location information of the user.
[0096] After obtaining the position information of each sound receiving device in the sound receiving device, the server first calculates multiple distance information formed by the time difference according to the sound propagation speed and the time difference information of the multiple sound receiving devices receiving the infrasound waves, and then generates a set of equations according to the multiple distance information and the position information of each sound receiving device. After generating the set of equations, the server calls the set of equations solving algorithm set in the internal memory, solves the set of equations through the set of equations solving algorithm, calculates the user's target position information, and realizes accurate positioning of the user.
[0097] Further, the step of generating a set of equations according to the position information and the time difference information includes:
[0098] Step S211, obtaining a sound propagation speed, and calculating distance information formed by the time difference according to the sound propagation speed and the time difference information;
[0099] Step S212, generating a set of equations according to the distance information and the position information.
[0100] Further, the server can obtain the sound propagation speed based on the wireless network, or can obtain the sound propagation speed from the internal memory; after obtaining the sound propagation speed, the server calculates the distance information formed by the time difference when each sound receiving device receives the infrasound wave according to the distance calculation formula and the sound propagation speed. Specifically, the sound propagation speed and multiple time differences are respectively input into the distance calculation formula to obtain the distance information formed by the multiple time differences; further, since the user's target position information is two-dimensional, there are only two unknown parameters, and the specific parameter information can be calculated by a system of equations composed of two equations. The server can obtain the position information of each pair of sound receiving devices, combine the position information of the two sound receiving devices with the distance information formed by the time difference when the two sound receiving devices receive the infrasound wave, and then form an equation according to the point-to-point distance formula. After obtaining an equation, the server then obtains the distance information formed by the time difference between one of the two sound receiving devices and any one of the remaining sound receiving devices receiving the infrasound wave, and forms a second equation according to the position information and distance information of the two sound receiving devices, and the two equations constitute an equation system, so that the user's target position information can be obtained by solving the equation system. For example, the time difference between the first sound receiving device and the second sound receiving device in receiving the infrasound wave can be calculated first, and the distance information calculated from the position information of the first sound receiving device, the position information of the second sound receiving device, and the time difference between the first sound receiving device and the second sound receiving device can be combined with the point-to-point distance calculation formula to generate the first equation; then the time difference between the first sound receiving device and the third sound receiving device in receiving the infrasound wave can be calculated, and the distance information calculated from the position information of the first sound receiving device, the position information of the third sound receiving device, and the time difference between the first sound receiving device and the third sound receiving device can be combined with the point-to-point distance calculation formula to generate the second equation; finally, the first equation and the second equation form a system of equations.
[0101] This embodiment generates a set of equations based on the position information and time difference information of each sound receiving device, and then solves the set of equations to accurately calculate the user's target position information, thereby achieving precise positioning of the user.
[0102] Further, refer to Figure 5 Based on the first embodiment of the voiceprint positioning method of the present invention, a fourth embodiment of the voiceprint positioning method of the present invention is proposed. In the fourth embodiment, the step of obtaining the time difference information of the infrasound waves sent by the user based on the preset QR code received by the sound receiving device group includes:
[0103] Step S11, respectively obtaining the time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code;
[0104] Step S12, respectively calculating the time difference between the plurality of time information;
[0105] Step S13: if the number of time differences is greater than or equal to a preset threshold, a plurality of the time differences are generated as time difference information.
[0106] It is understandable that, since the user needs to send an infrasound wave sending request to the server before sending the infrasound wave through the preset terminal, the server can determine the time of sending the confirmation instruction to the preset terminal as the sending information of the infrasound wave, or obtain the communication delay length with the preset terminal, and compensate the time of sending the confirmation instruction by the delay length to obtain the sending information of the infrasound wave. Further, the server performs a difference operation on the sending time of the infrasound wave and the receiving time of the infrasound wave by each sound receiving device, and obtains the time information from the sending of the infrasound wave to the receiving of the infrasound wave by each sound receiving device. Further, the server performs a difference operation on multiple time information respectively, and obtains multiple time differences for each sound receiving device to receive the infrasound wave. Since determining the two-dimensional target position information requires at least two equations to be solved, and forming the two equations requires at least two time differences to calculate the two distance information, the server determines that the conditions for calculating the target position information are met when it detects that the number of time differences is greater than or equal to the preset threshold, and then generates multiple time differences as time difference information, where the preset threshold is a value set according to the actual calculation conditions. For example, when calculating the two-dimensional position information in the present application, the preset threshold can be 2.
[0107] Furthermore, after the step of respectively calculating the time difference between the plurality of time information, the method further comprises:
[0108] Step S14, comparing the amount of time difference with a preset threshold;
[0109] Step S15: If the number of time differences is less than the preset threshold, it is determined that a sound receiving device in the sound receiving device group is faulty, and fault prompt information is output.
[0110] Further, the server identifies the number of calculated time differences, and compares the number of identified time differences with a preset threshold, and determines whether the number of time differences is greater than or equal to the preset threshold based on the comparison result. Further, if it is determined through comparison that the number of time differences is less than the preset threshold, it means that the user's target location information cannot be calculated based on the current time difference, and further indicates that at least one of the multiple sound receiving devices in the sound receiving device group has a fault, then a fault prompt information is generated, and the fault prompt information is output to the management personnel, for example, by sending it to the management personnel through SMS, mini-programs, etc., to notify the management personnel to troubleshoot the sound receiving device group, to ensure the normal operation of the voiceprint positioning system, and to achieve accurate positioning of the user.
[0111] This embodiment obtains the time difference information of the infrasound waves sent by the user based on the preset QR code when the sound receiving device group receives them, so as to calculate the distance information according to the time difference information, and then calculate the user's target position information by combining the distance information with the position information of the sound receiving device group, so as to accurately locate the user.
[0112] Furthermore, the present invention also provides a voiceprint positioning device.
[0113] Reference Figure 6 , Figure 6 It is a schematic diagram of the functional modules of the first embodiment of the voiceprint positioning device of the present invention.
[0114] The voiceprint positioning device comprises:
[0115] An acquisition module 10 is used to acquire time difference information of the infrasound waves sent by the user based on a preset QR code when the sound receiving device group receives the infrasound waves;
[0116] A determination module 20, configured to obtain the position information of the sound receiving device group, and determine the target position information of the user according to the position information and the time difference information;
[0117] The sending module 30 is used to obtain the identity information in the infrasound wave, and send positioning feedback information to the user according to the identity information and the target position information.
[0118] Furthermore, the acquisition module 10 includes:
[0119] A first acquisition unit is used to, when receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, acquire request information in the infrasound wave sending request;
[0120] A first generating unit, configured to generate identity information according to the request information;
[0121] The sending unit is used to send the identity information as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information.
[0122] Furthermore, the acquisition module 10 further includes:
[0123] A second acquisition unit is used to respectively acquire time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code;
[0124] A first calculation unit, used for respectively calculating the time difference between the plurality of time information;
[0125] The second generating unit is configured to generate a plurality of the time differences as time difference information if the number of the time differences is greater than or equal to a preset threshold.
[0126] Furthermore, the acquisition module 10 further includes:
[0127] A comparison unit, used to compare the amount of time difference with a preset threshold;
[0128] The output unit is used to determine that a sound receiving device in the sound receiving device group has a fault if the number of time differences is less than the preset threshold, and output fault prompt information.
[0129] Furthermore, the acquisition module 10 further includes:
[0130] The communication unit is used to establish communication connections with multiple sound receiving devices in the sound receiving device group respectively, so as to exchange data with the multiple sound receiving devices.
[0131] Furthermore, the determining module 20 includes:
[0132] A third generating unit, configured to generate a set of equations according to the position information and the time difference information;
[0133] A solving unit is used to solve the equation group to obtain the target position information of the user.
[0134] Furthermore, the determining module 20 further includes:
[0135] A second calculation unit is used to obtain a sound propagation speed, and calculate the distance information formed by the time difference according to the sound propagation speed and the time difference information;
[0136] The fourth generating unit is used to generate a set of equations according to the distance information and the position information.
[0137] In addition, the present invention also provides a storage medium, which is preferably a computer-readable storage medium, storing a voiceprint positioning program thereon, and when the voiceprint positioning program is executed by a processor, the steps of each embodiment of the above-mentioned voiceprint positioning method are implemented.
[0138] In the embodiments of the voiceprint positioning device and computer-readable medium of the present invention, all technical features of the above-mentioned voiceprint positioning method embodiments are included, and the description and explanation content are basically the same as those of the above-mentioned voiceprint positioning method embodiments, which will not be repeated here.
[0139] 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.
[0140] 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.
[0141] 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 the 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, disk, CD), and includes several instructions for enabling a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers and other smart homes; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices) to execute the methods described in the various embodiments of the present invention.
[0142] 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 voiceprint positioning method, characterized in that: The voiceprint positioning method comprises: When receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, obtaining request information in the infrasound wave sending request; Generate identity information according to the request information; Sending the identity information as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information; Respectively obtain time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code; respectively calculating the time difference between the plurality of time information; If the number of time differences is greater than or equal to a preset threshold, generating a plurality of the time differences as time difference information; Acquire position information of the sound receiving device group, wherein the position information includes two-dimensional position information and longitudinal information of the sound receiving devices; Acquire a sound propagation speed, and calculate distance information formed by the time difference according to the sound propagation speed and the time difference information; Generate a set of equations according to the distance information and the position information; Solving the equation group to obtain the target position information of the user; the target position information is two-dimensional; adjusting the target position information based on the longitudinal information; Sending positioning feedback information to the user according to the adjusted target position information; after the step of respectively calculating the time difference between the plurality of time information, further comprising: comparing the amount of time difference to a preset threshold; If the number of time differences is smaller than the preset threshold, it is determined that a sound receiving device in the sound receiving device group is faulty, and fault prompt information is output.
2. The voiceprint positioning method according to claim 1, characterized in that: Before the step of obtaining the time difference information of the infrasound waves received by the sound receiving device group based on the preset two-dimensional code sent by the user, the method further includes: Establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to exchange data with the multiple sound receiving devices.
3. A voiceprint positioning device, characterized in that: The voiceprint positioning device comprises: Get modules for: When receiving an infrasound wave sending request triggered by a preset terminal scanning a preset QR code, obtaining request information in the infrasound wave sending request; Generate identity information according to the request information; Sending the identity information as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasound waves based on the identity information; Respectively obtain time information of each sound receiving device in the sound receiving device group receiving the infrasound wave sent by the user based on the preset QR code; respectively calculating the time difference between the plurality of time information; If the number of time differences is greater than or equal to a preset threshold, the multiple time differences are generated as time difference information; a determination module is used to: Acquire position information of the sound receiving device group, wherein the position information includes two-dimensional position information and longitudinal information of the sound receiving devices; Acquire a sound propagation speed, and calculate distance information formed by the time difference according to the sound propagation speed and the time difference information; Generate a set of equations according to the distance information and the position information; Solving the equation group to obtain the target position information of the user; the target position information is two-dimensional; adjusting the target position information based on the longitudinal information; A sending module, used for sending positioning feedback information to the user according to the adjusted target position information; The determining module is further used for: comparing the amount of time difference to a preset threshold; If the number of time differences is smaller than the preset threshold, it is determined that a sound receiving device in the sound receiving device group is faulty, and fault prompt information is output.
4. A voiceprint positioning device, characterized in that: The voiceprint positioning device includes a memory, a processor, and a voiceprint positioning program stored in the memory and executable on the processor. When the voiceprint positioning program is executed by the processor, the steps of the voiceprint positioning method according to claim 1 or 2 are implemented.
5. A storage medium, characterized in that: The storage medium stores a voiceprint positioning program, and when the voiceprint positioning program is executed by the processor, the steps of the voiceprint positioning method according to claim 1 or 2 are implemented.
