CN112816941A - Voiceprint positioning method, device, equipment and storage medium - Google Patents

Voiceprint positioning method, device, equipment and storage medium Download PDF

Info

Publication number
CN112816941A
CN112816941A CN202110011437.5A CN202110011437A CN112816941A CN 112816941 A CN112816941 A CN 112816941A CN 202110011437 A CN202110011437 A CN 202110011437A CN 112816941 A CN112816941 A CN 112816941A
Authority
CN
China
Prior art keywords
information
sound receiving
voiceprint
position information
receiving device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110011437.5A
Other languages
Chinese (zh)
Inventor
李敏
徐高峰
曹军伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZNV Technology Co Ltd
Nanjing ZNV Software Co Ltd
Original Assignee
Shenzhen ZNV Technology Co Ltd
Nanjing ZNV Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZNV Technology Co Ltd, Nanjing ZNV Software Co Ltd filed Critical Shenzhen ZNV Technology Co Ltd
Priority to CN202110011437.5A priority Critical patent/CN112816941A/en
Publication of CN112816941A publication Critical patent/CN112816941A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/22Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a voiceprint positioning method, a voiceprint positioning device and a storage medium, wherein time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code is obtained by a sound receiving device group; acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information; and sending positioning feedback information to the user according to the target position information. According to the method and the device, the user scans the preset two-dimensional code and sends the infrasound wave to obtain the time difference information of the sound receiving device group for receiving the infrasound wave and calculate the target position information of the user by combining the position information of the sound receiving device group, and even if the user is shielded by an obstacle, the target position information of the user can be quickly obtained by scanning the infrasound wave sent by the preset two-dimensional code, so that the user can be accurately positioned.

Description

Voiceprint positioning method, device, equipment and storage medium
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a voiceprint positioning method, apparatus, device, and storage medium.
Background
In the conventional positioning technology, the positioning is mainly based on GPS positioning, and the positioning is assisted by AGPS-based mobile base stations. However, when we are under the shelter of obstacles, such as under basement or overhead, the GPS signal and the mobile base station signal are likely to be not received. In this case, it is difficult to perform GPS positioning and AGPS positioning again, resulting in failure to perform accurate positioning.
Disclosure of Invention
The invention mainly aims to provide a voiceprint positioning method, a voiceprint positioning device, voiceprint positioning equipment and a voiceprint positioning storage medium, and aims to solve the technical problem that people cannot perform accurate positioning under the shielding of an obstacle.
In order to achieve the above object, an embodiment of the present invention provides a voiceprint positioning method, where the voiceprint positioning method includes:
acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code by a sound receiving device group;
acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information;
and sending positioning feedback information to the user according to the target position information.
Preferably, before the step of acquiring the time difference information of the infrasonic waves sent by the user based on the preset two-dimensional code, the sound receiving device group further includes:
when an infrasonic wave sending request triggered by scanning a preset two-dimensional code based on a preset terminal is received, request information in the infrasonic wave sending request is obtained;
generating identity identification information according to the request information;
and sending the identity identification information to the preset terminal as a confirmation instruction so that the preset terminal generates and sends infrasonic waves based on the identity identification information.
Preferably, the step of determining the target location information of the user according to the location information and the time difference information includes:
generating an equation set according to the position information and the time difference information;
and solving the equation set to obtain the target position information of the user.
Preferably, the step of generating an equation set according to the position information and the time difference information includes:
acquiring sound propagation speed, and calculating to obtain distance information formed by time difference according to the sound propagation speed and the time difference information;
and generating an equation set according to the distance information and the position information.
Preferably, the step of acquiring time difference information of infrasonic waves sent by a user based on a preset two-dimensional code, which is received by the sound receiving device group, includes:
respectively acquiring time information of infrasonic waves sent by each sound receiving device in the sound receiving device group based on a preset two-dimensional code;
calculating time differences between a plurality of the time information respectively;
and if the number of the time differences is greater than or equal to a preset threshold value, generating a plurality of time differences into time difference information.
Preferably, after the step of calculating the time differences between the plurality of pieces of time information respectively, the method further includes:
comparing the number of time differences with a preset threshold;
and if the number of the time differences is smaller than the preset threshold value, judging that the sound receiving devices in the sound receiving device group have faults, and outputting fault prompt information.
Preferably, before the step of acquiring the time difference information of the infrasonic waves sent by the user based on the preset two-dimensional code, the sound receiving device group further includes:
and respectively establishing communication connection with a plurality of sound receiving devices in a sound receiving device group so as to perform data interaction with the sound receiving devices.
In order to achieve the above object, the present invention further provides a voiceprint positioning apparatus, including:
the acquisition module is used for acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code and received by a sound receiving device group;
the determining module is used for acquiring 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;
and the sending module is used for acquiring the identity identification information in the infrasonic wave and sending positioning feedback information to the user according to the identity identification information and the target position information.
Further, to achieve the above object, the present invention also provides a voiceprint locating apparatus, which includes a memory, a processor, and a voiceprint locating program stored in the memory and executable on the processor, wherein the voiceprint locating program, when executed by the processor, implements the steps of the voiceprint locating method.
Further, to achieve the above object, the present invention further provides a storage medium, where the storage medium stores a voiceprint positioning program, and the voiceprint positioning program, when executed by a processor, implements the steps of the voiceprint positioning method.
The embodiment of the invention provides a voiceprint positioning method, a voiceprint positioning device and a storage medium, wherein time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code is obtained by a sound receiving device group; acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information; and sending positioning feedback information to the user according to the target position information. According to the method and the device, the user scans the preset two-dimensional code and sends the infrasound wave to obtain the time difference information of the sound receiving device group for receiving the infrasound wave and calculate the target position information of the user by combining the position information of the sound receiving device group, and even if the user is shielded by an obstacle, the target position information of the user can be quickly obtained by scanning the infrasound wave sent by the preset two-dimensional code, so that the user can be accurately positioned.
Drawings
FIG. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of a voiceprint positioning method of the present invention;
FIG. 2 is a flowchart illustrating a voiceprint positioning method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a voiceprint positioning method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a voiceprint positioning method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a voiceprint positioning method according to a fourth embodiment of the present invention;
FIG. 6 is a functional block diagram of a voiceprint positioning apparatus according to a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a voiceprint positioning method, a voiceprint positioning device and a storage medium, wherein time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code is obtained by a sound receiving device group; acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information; and sending positioning feedback information to the user according to the target position information. According to the method and the device, the user scans the preset two-dimensional code and sends the infrasound wave to obtain the time difference information of the sound receiving device group for receiving the infrasound wave and calculate the target position information of the user by combining the position information of the sound receiving device group, and even if the user is shielded by an obstacle, the target position information of the user can be quickly obtained by scanning the infrasound wave sent by the preset two-dimensional code, so that the user can be accurately positioned.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a voiceprint locating apparatus in a hardware operating environment according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The voiceprint positioning device can be a PC, and can also be a mobile terminal device such as a tablet computer and a portable computer.
As shown in fig. 1, the voiceprint localization apparatus may comprise: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the voiceprint locating device configuration shown in figure 1 does not constitute a limitation of the voiceprint locating device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a voiceprint positioning program.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a voiceprint locating program stored in the memory 1005 and perform the following operations:
acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code by a sound receiving device group;
acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information;
and sending positioning feedback information to the user according to the target position information.
Further, before the step of acquiring the time difference information of the infrasonic wave transmitted by the user based on the preset two-dimensional code, the processor 1001 may be configured to call the voiceprint locating program stored in the memory 1005 and perform the following operations:
when an infrasonic wave sending request triggered by scanning a preset two-dimensional code based on a preset terminal is received, request information in the infrasonic wave sending request is obtained;
generating identity identification information according to the request information;
and sending the identity identification information to the preset terminal as a confirmation instruction so that the preset terminal generates and sends infrasonic waves based on the identity identification information.
Further, the step of determining the target location information of the user according to the location information and the time difference information includes:
generating an equation set according to the position information and the time difference information;
and solving the equation set to obtain the target position information of the user.
Further, the step of generating an equation set according to the position information and the time difference information includes:
acquiring sound propagation speed, and calculating to obtain distance information formed by time difference according to the sound propagation speed and the time difference information;
and generating an equation set according to the distance information and the position information.
Further, the step of acquiring the time difference information of the infrasonic waves sent by the user based on the preset two-dimensional code by the sound receiving device group comprises:
respectively acquiring time information of infrasonic waves sent by each sound receiving device in the sound receiving device group based on a preset two-dimensional code;
calculating time differences between a plurality of the time information respectively;
and if the number of the time differences is greater than or equal to a preset threshold value, generating a plurality of time differences into time difference information.
Further, after the step of calculating the time difference between the time information, the processor 1001 may be configured to call the voiceprint locating program stored in the memory 1005, and perform the following operations:
comparing the number of time differences with a preset threshold;
and if the number of the time differences is smaller than the preset threshold value, judging that the sound receiving devices in the sound receiving device group have faults, and outputting fault prompt information.
Further, before the step of acquiring the time difference information of the infrasonic wave transmitted by the user based on the preset two-dimensional code, the processor 1001 may be configured to call the voiceprint locating program stored in the memory 1005 and perform the following operations:
and respectively establishing communication connection with a plurality of sound receiving devices in a sound receiving device group so as to perform data interaction with the sound receiving devices.
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, a 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:
step S10, acquiring time difference information of the sound receiving device group receiving the infrasonic waves sent by the user based on the preset two-dimensional code;
the voiceprint positioning method in the embodiment is applied to a voiceprint positioning system, which is hereinafter referred to as a system for short, the system comprises a server and a sound receiving device group consisting of a plurality of sound receiving devices, the server and the sound receiving devices are connected, the sound receiving devices are arranged at different positions in the same area range, the server is one of computers and provides computing or application service for other clients in a network, the sound receiving devices are used for receiving infrasonic waves emitted by a user preset terminal, and the preset terminal can be a mobile terminal such as a smart phone and a tablet computer in the embodiment.
It can be understood that the daily Positioning means is mainly based on GPS (Global Positioning System) Positioning and AGPS (Assisted Global Positioning System) mobile base station Assisted Positioning. However, when people are under the shelter of obstacles, such as a basement or under an overhead, the GPS signal and the mobile base station signal are not received. Under the condition, people are difficult to perform GPS positioning and AGPS positioning, and can not perform accurate positioning, so that people enter an offline state, and further great troubles are brought to the life of people. On the basis, the voiceprint positioning method includes that a preset two-dimensional code is placed in the occasion for a user to scan and send infrasonic waves, then a voiceprint positioning system obtains time difference information of the sound receiving device group for receiving the infrasonic waves and calculates target position information of the user by combining position information of the sound receiving device group, even if the user is shielded by an obstacle, the target position information of the user can be quickly obtained by scanning the infrasonic waves sent by the preset two-dimensional code, and accurate positioning of the user is achieved.
Further, in order to enable people to accurately position in the occasions under the shielding of obstacles, such as the basement and the overhead, a preset two-dimensional code is posted in the occasions under the shielding of obstacles, such as the basement and the overhead, specifically, the preset two-dimensional code can be posted in the entrance, rest area and ground of the occasions under the shielding of obstacles, such as the basement and the overhead, so that when a user has a positioning requirement, an infrasonic wave can be generated and sent by scanning the preset two-dimensional code, wherein an infrasonic wave generating program is arranged in the preset two-dimensional code and used for generating the infrasonic wave; in addition, in order to enable a user to smoothly send infrasonic waves after scanning the preset two-dimensional code, if network signals are poor in occasions under the shielding of obstacles, such as basements and under the viaducts, wireless networks, such as WI-FI (wireless internet access) are deployed in the occasions. Furthermore, after the user scans the preset two-dimensional code through the preset terminal and sends the infrasound wave, the plurality of sound receiving devices in the sound receiving device group respectively receive the infrasound wave and send the receiving time of the received infrasound wave and the identification information in the infrasound wave to the server, wherein the identification information is used for uniquely identifying the user. Furthermore, the server receives the receiving time of the infrasonic waves sent by each sound receiving device in the sound receiving device group to obtain a plurality of receiving times, and then performs pairwise difference operation on the plurality of receiving times to obtain a plurality of time difference values between the receiving times and form time difference information, so that the target position information of the user is determined according to the time difference information and the position information of the sound receiving device group, and the user can be conveniently and accurately positioned.
Further, before the step of acquiring the time difference information of the infrasonic waves sent by the sound receiving device group based on the preset two-dimensional code, the method further includes:
step A1, establishing communication connection with a plurality of sound receiving devices in the sound receiving device group respectively, so as to interact with the sound receiving devices.
Further, in order to enable the server to interact with the plurality of sound receiving devices in the sound receiving device group in time, the server further needs to establish communication connections with the plurality of sound receiving devices in the sound receiving device group, specifically, the server may establish communication connections with the plurality of sound receiving devices in the sound receiving device group through a wireless network (e.g., WI-FI, local area network, etc.), so as to obtain time information and identification information of the infrasonic waves received by each sound receiving device from the sound receiving device group after establishing communication connections with the plurality of sound receiving devices in the sound receiving device group, thereby facilitating accurate positioning of the user.
Step S20, acquiring location information of the sound receiving device group, and determining target location information of the user according to the location information and the time difference information;
it is understood that each sound receiving device in the sound receiving device group is provided with specific position information, such as a sound receiving device arranged in a basement, and two-dimensional position information and longitudinal information (such as a floor on which the sound receiving device is arranged) of the sound receiving device are provided to form three-dimensional position information. Further, the server acquires, from each of the sound receiving apparatuses, position information corresponding to each of the sound receiving apparatuses based on a connection relationship with each of the sound receiving apparatuses in the sound receiving apparatus group. After the position information of each sound receiving device in the sound receiving device group is obtained, the server calculates according to the obtained position information and the time difference information to determine the target position information of the user, specifically, the server calculates the position information of the user by establishing an equation group and solving according to the time difference of receiving the infrasonic wave between every two sound receiving devices and the distance difference between the two sound receiving devices and the infrasonic wave sending position to accurately position the user.
And step S30, sending positioning feedback information to the user according to the target position information.
After the target position information of the user is calculated, the server adjusts the target position information according to the longitudinal information in the position information of each sound receiving device to obtain more accurate target position information because the target position information obtained through calculation is two-dimensional position information. Furthermore, the server receives the identity identification information which is recognized and sent by each sound receiving device from the infrasonic waves, generates the identity identification information and the obtained accurate target position information into positioning feedback information, and sends the positioning feedback information to a preset terminal of a user, so that the user can determine the position of the user according to the received positioning feedback information. It can be understood that, to ensure the security of the user information, the server may check the id information received from each sound receiving device before sending the positioning feedback information to the user, to determine whether the multiple id information are the same, and send the positioning feedback information to the user according to the id information when the multiple id information are the same.
The embodiment provides a voiceprint positioning method, a voiceprint positioning device and a storage medium, wherein time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code is obtained by a sound receiving device group; acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information; and sending positioning feedback information to the user according to the target position information. According to the method and the device, the user scans the preset two-dimensional code and sends the infrasound wave to obtain the time difference information of the sound receiving device group for receiving the infrasound wave and calculate the target position information of the user by combining the position information of the sound receiving device group, and even if the user is shielded by an obstacle, the target position information of the user can be quickly obtained by scanning the infrasound wave sent by the preset two-dimensional code, so that the user can be accurately positioned. In addition, when the user scans the preset two-dimensional code, extra sound, light or electromagnetic wave pollution cannot be generated, the transmitted infrasonic waves cannot be perceived by human beings, and interference or adverse effects on the human beings cannot be generated while the user is accurately positioned.
Further, referring to fig. 3, a second embodiment of the voiceprint positioning method according to the present invention is proposed based on the first embodiment of the voiceprint positioning method according to the present invention, and in the second embodiment, before the step of acquiring the time difference information of the infrasonic wave sent by the user based on the preset two-dimensional code, the step of acquiring the time difference information of the infrasonic wave sent by the sound receiving device group further includes:
step S1, when receiving an infrasonic wave sending request triggered by scanning a preset two-dimensional code based on a preset terminal, acquiring request information in the infrasonic wave sending request;
step S2, generating identification information according to the request information;
step S3, sending the identification information as a confirmation instruction to the preset terminal, so that the preset terminal generates and sends infrasonic waves based on the identification information.
It can be understood that, after the user scans through the preset terminal, the user needs to select an opening mode according to the actual use environment, for example, a webpage may be opened, or a light application may be started, or a third-party applet such as a payment treasure, a WeChat, a headline, and the like requests to play an infrasonic wave with user information representing a voiceprint, generates an infrasonic wave sending request using the user information as request information, and sends the infrasonic wave sending request to the server, where the webpage needs the user information such as a mobile phone number input by the user 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 positioning requirement of the user in time, the server detects whether an infrasonic wave sending request sent by the user through scanning a preset two-dimensional code through a preset terminal exists in real time, if the infrasonic wave sending request exists, the infrasonic wave sending request is received and analyzed, user information serving as request information in the infrasonic wave sending request is obtained, and in order to distinguish the user, the server generates identity identification information according to the request information so as to uniquely identify the user, and different users can be conveniently distinguished. Further, the server sends the identity identification information as a confirmation instruction to the preset terminal according to a path when the preset terminal receives the infrasonic wave sending request sent by the preset terminal, so that the preset terminal generates and sends the infrasonic wave based on the identity identification information, the server can distinguish different users when determining the target position information of the users, and the positioning accuracy is improved.
In this embodiment, before obtaining time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code, a sound receiving device group generates identity identification information according to an infrasonic wave sending request sent by the user, and sends the identity identification information to a preset terminal of the user as a confirmation instruction, so that the preset terminal can generate and send the infrasonic wave based on the identity identification information to determine target position information of the user, and realize accurate positioning of the user.
Further, referring to fig. 4, a third embodiment of the voiceprint positioning method of the present invention is proposed based on the first embodiment of the voiceprint positioning method of the present invention, and 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:
step S21, generating an equation set according to the position information and the time difference information;
and step S22, solving the equation set to obtain the target position information of the user.
After acquiring the position information of each sound receiving device in the sound receiving devices, the server calculates a plurality of distance information formed by time differences according to the sound propagation speed and the time difference information of the infrasonic waves received by the plurality of sound receiving devices, and generates an equation set according to the plurality of distance information and the position information of each sound receiving device. After the equation set is generated, the server calls an equation set solving algorithm set in the internal memory, the equation set is solved through the equation set solving algorithm, the target position information of the user is calculated, and the accurate positioning of the user is achieved.
Further, the step of generating an equation set according to the position information and the time difference information includes:
step S211, acquiring a sound propagation speed, and calculating to obtain distance information formed by time difference according to the sound propagation speed and the time difference information;
and step S212, generating an equation set according to the distance information and the position information.
Further, the server may obtain the sound propagation speed based on the wireless network, or may obtain the sound propagation speed from the internal memory; after obtaining the sound propagation speed, the server respectively calculates distance information formed by time differences when each sound receiving device receives infrasound waves according to a distance calculation formula and the sound propagation speed, and specifically, the distance information formed by the time differences is obtained by inputting the sound propagation speed and the time differences into the distance calculation formula; furthermore, since the user target location information is two-dimensional, only two unknown parameters are needed, the specific parameter information can be calculated through an equation set consisting of two equations, the server can obtain the location information of two sound receiving devices, combine the location information of the two sound receiving devices with the distance information formed by the time difference when the two sound receiving devices receive infrasound waves, form an equation according to the distance formula between points, after obtaining an equation, the server obtains the distance information formed by the time difference between one of the two sound receiving devices and any one of the other sound receiving devices receiving infrasound waves, form a second equation according to the location information and the distance information of the two sound receiving devices, and form the equation set by the two equations, so as to obtain the target position information of the user by solving the equation system. For example: the time difference between the first sound receiving device and the second sound receiving device for receiving the infrasonic wave can be calculated, and a first equation is generated by combining the distance calculation formula from the point to the point according to the position information of the first sound receiving device, the position information of the second sound receiving device and the distance information calculated by the time difference between the first sound receiving device and the second sound receiving device; and calculating the time difference between the first sound receiving device and the third sound receiving device for receiving the infrasonic waves, combining the position information of the first sound receiving device, the position information of the third sound receiving device and the distance information obtained by calculating the time difference between the first sound receiving device and the third sound receiving device to generate a second equation, and finally forming an equation set by the first equation and the second equation.
In this embodiment, an equation set is generated according to the position information and the time difference information of each sound receiving device, and then the equation set is solved, so as to accurately calculate the target position information of the user, thereby accurately positioning the user.
Further, referring to fig. 5, a fourth embodiment of the voiceprint positioning method according to the present invention is proposed based on the first embodiment of the voiceprint positioning method according to the present invention, and in the fourth embodiment, the step of acquiring the time difference information of the infrasonic wave sent by the sound receiving device group based on the preset two-dimensional code includes:
step S11, respectively acquiring time information of each sound receiving device in the sound receiving device group for receiving the infrasonic waves sent by the user based on the preset two-dimensional code;
step S12 of calculating time differences between a plurality of the pieces of time information, respectively;
in step S13, if the number of time differences is greater than or equal to the preset threshold, a plurality of time differences are generated as the time difference information.
It can be understood that, since the user needs to send an infrasonic wave sending request to the server before sending the infrasonic wave through the preset terminal, the server may determine the time for sending the confirmation instruction to the preset terminal as the sending information of the infrasonic wave, or obtain the communication delay time with the preset terminal, and perform compensation calculation on the time for sending the confirmation instruction through the delay time to obtain the sending information of the infrasonic wave. Further, the server calculates the difference between the sending time of the infrasonic wave and the receiving time of the infrasonic wave received by each sound receiving device to obtain the time information between the sending time of the infrasonic wave and the receiving time of the infrasonic wave received by each sound receiving device. Further, the server performs pairwise difference operation on the plurality of time information respectively to obtain a plurality of time differences of the infrasonic waves received by each sound receiving device. Since at least two equations are needed to solve the two-dimensional target position information, and at least two time differences are needed to calculate two distance information to form two equations, when the number of detected time differences is greater than or equal to a preset threshold, the server determines that the condition for calculating the target position information is met, and then generates a plurality of time differences into the time difference information, wherein the preset threshold is a value set according to an actual calculation condition, for example, in the present application, when the two-dimensional position information is calculated, the preset threshold may be 2.
Further, after the step of calculating the time differences between the plurality of time information, respectively, the method further includes:
step S14, comparing the number of the time differences with a preset threshold value;
and step S15, if the number of the time differences is smaller than the preset threshold, determining that the sound receiving device in the sound receiving device group has a fault, and outputting fault prompt information.
Further, the server identifies the number of the calculated time differences, compares the number of the time differences obtained through identification with a preset threshold value, and judges whether the number of the time differences is larger than or equal to the preset threshold value according to a comparison result. Further, if the number of the time differences determined by comparison is smaller than the preset threshold, it is indicated that the target position information of the user cannot be calculated according to the current time difference, and it is further indicated that at least one sound receiving device in the plurality of sound receiving devices of the sound receiving device group has a fault, a fault prompt message is generated, and the fault prompt message is output to a manager, and is sent to the manager in a short message, small program or other manner, so as to inform the manager to perform fault troubleshooting on the sound receiving device group, and ensure the normal operation of the voiceprint positioning system, so as to realize accurate positioning of the user.
In the embodiment, by acquiring the time difference information of the infrasonic waves sent by the user based on the preset two-dimensional code and received by the sound receiving device group, the distance information is conveniently calculated according to the time difference information, and then the target position information of the user is calculated by combining the distance information with the position information of the sound receiving device group, so that the user is accurately positioned.
Furthermore, the invention also provides a voiceprint positioning device.
Referring to fig. 6, fig. 6 is a functional block diagram of a voiceprint positioning apparatus according to a first embodiment of the present invention.
The voiceprint positioning apparatus comprises:
the acquisition module 10 is used for acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code and received by a sound receiving device group;
a determining module 20, configured to obtain location information of the sound receiving device group, and determine target location information of the user according to the location information and the time difference information;
and the sending module 30 is configured to obtain the identity information in the infrasonic wave, and send positioning feedback information to the user according to the identity information and the target position information.
Further, the obtaining module 10 includes:
the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring request information in an infrasonic wave sending request when the infrasonic wave sending request triggered by scanning a preset two-dimensional code based on a preset terminal is received;
the first generating unit is used for generating identity identification information according to the request information;
and the sending unit is used for sending the identity identification information to the preset terminal as a confirmation instruction so that the preset terminal generates and sends infrasonic waves based on the identity identification information.
Further, the obtaining module 10 further includes:
the second acquisition unit is used for respectively acquiring the time information of the infrasonic waves sent by the sound receiving devices in the sound receiving device group based on the preset two-dimensional code;
a first calculation unit configured to calculate time differences between a plurality of the time information, respectively;
a second generating unit configured to generate a plurality of time differences as time difference information if the number of time differences is greater than or equal to a preset threshold.
Further, the obtaining module 10 further includes:
the comparison unit is used for comparing the number of the time differences with a preset threshold value;
and the output unit is used for judging that the sound receiving devices in the sound receiving device group have faults if the number of the time differences is smaller than the preset threshold value, and outputting fault prompt information.
Further, the obtaining module 10 further includes:
the communication unit is used for establishing communication connection with the plurality of sound receiving devices in the sound receiving device group respectively so as to perform data interaction with the plurality of sound receiving devices.
Further, the determining module 20 includes:
the third generating unit is used for generating an equation set according to the position information and the time difference information;
and the solving unit is used for solving the equation set to obtain the target position information of the user.
Further, the determining module 20 further includes:
the second calculation unit is used for acquiring the sound propagation speed, and calculating distance information formed by time difference according to the sound propagation speed and the time difference information;
and the fourth generating unit is used for generating an equation set according to the distance information and the position information.
Furthermore, the present invention also provides a storage medium, preferably a computer-readable storage medium, on which a voiceprint positioning program is stored, which when executed by a processor implements the steps of the above-described voiceprint positioning method embodiments.
In the embodiments of the voiceprint positioning apparatus and the computer-readable medium of the present invention, all technical features of the embodiments of the voiceprint positioning method are included, and the description and explanation contents are basically the same as those of the embodiments of the voiceprint positioning method, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or a part contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and includes a plurality of instructions for enabling a terminal device (which may be a fixed terminal, such as an internet of things smart device including smart homes, such as a smart air conditioner, a smart lamp, a smart power supply, a smart router, etc., or a mobile terminal, including a smart phone, a wearable networked AR/VR device, a smart sound box, an autonomous driving automobile, etc.) to execute the method according to each embodiment of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A voiceprint localization method, comprising:
acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code by a sound receiving device group;
acquiring position information of the sound receiving device group, and determining target position information of the user according to the position information and the time difference information;
and sending positioning feedback information to the user according to the target position information.
2. The voiceprint positioning method according to claim 1, wherein before the step of obtaining the time difference information of the infrasonic waves sent by the sound receiving device group based on the preset two-dimensional code, the method further comprises:
when an infrasonic wave sending request triggered by scanning a preset two-dimensional code based on a preset terminal is received, request information in the infrasonic wave sending request is obtained;
generating identity identification information according to the request information;
and sending the identity identification information to the preset terminal as a confirmation instruction so that the preset terminal generates and sends infrasonic waves based on the identity identification information.
3. The voiceprint positioning method according to claim 1, wherein the step of determining the target position information of the user based on the position information and the time difference information comprises:
generating an equation set according to the position information and the time difference information;
and solving the equation set to obtain the target position information of the user.
4. The voiceprint positioning method of claim 3 wherein said step of generating a system of equations from said position information and said time difference information comprises:
acquiring sound propagation speed, and calculating to obtain distance information formed by time difference according to the sound propagation speed and the time difference information;
and generating an equation set according to the distance information and the position information.
5. The voiceprint positioning method according to claim 1, wherein the step of acquiring the time difference information of the infrasonic waves sent by the user based on the preset two-dimensional code by the sound receiving device group comprises:
respectively acquiring time information of infrasonic waves sent by each sound receiving device in the sound receiving device group based on a preset two-dimensional code;
calculating time differences between a plurality of the time information respectively;
and if the number of the time differences is greater than or equal to a preset threshold value, generating a plurality of time differences into time difference information.
6. The voiceprint positioning method according to claim 5, wherein said step of calculating time differences between a plurality of said time information, respectively, further comprises:
comparing the number of time differences with a preset threshold;
and if the number of the time differences is smaller than the preset threshold value, judging that the sound receiving devices in the sound receiving device group have faults, and outputting fault prompt information.
7. The voiceprint positioning method according to claim 1, wherein before the step of obtaining the time difference information of the infrasonic waves sent by the sound receiving device group based on the preset two-dimensional code, the method further comprises:
and respectively establishing communication connection with a plurality of sound receiving devices in a sound receiving device group so as to perform data interaction with the sound receiving devices.
8. A voiceprint localization apparatus, said voiceprint localization apparatus comprising:
the acquisition module is used for acquiring time difference information of an infrasonic wave sent by a user based on a preset two-dimensional code and received by a sound receiving device group;
the determining module is used for acquiring 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;
and the sending module is used for acquiring the identity identification information in the infrasonic wave and sending positioning feedback information to the user according to the identity identification information and the target position information.
9. A voiceprint localization apparatus comprising a memory, a processor and a voiceprint localization program stored on said memory and executable on said processor, said voiceprint localization program when executed by said processor implementing the steps of the voiceprint localization method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a voiceprint localization program which when executed by a processor implements the steps of the voiceprint localization method according to any one of claims 1 to 7.
CN202110011437.5A 2021-01-05 2021-01-05 Voiceprint positioning method, device, equipment and storage medium Pending CN112816941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110011437.5A CN112816941A (en) 2021-01-05 2021-01-05 Voiceprint positioning method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110011437.5A CN112816941A (en) 2021-01-05 2021-01-05 Voiceprint positioning method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112816941A true CN112816941A (en) 2021-05-18

Family

ID=75857709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110011437.5A Pending CN112816941A (en) 2021-01-05 2021-01-05 Voiceprint positioning method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112816941A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652244A (en) * 2015-12-31 2016-06-08 上海酷远物联网科技有限公司 Mobile terminal positioning method, acoustic positioning transmitter-receiver, mobile terminal and mobile terminal positioning system
CN106896356A (en) * 2016-08-17 2017-06-27 阿里巴巴集团控股有限公司 Determine method, position indicating method and its device and system of distance change
CN108151747A (en) * 2017-12-27 2018-06-12 浙江大学 A kind of indoor locating system and localization method merged using acoustical signal with inertial navigation
CN111007462A (en) * 2019-12-13 2020-04-14 北京小米智能科技有限公司 Positioning method, positioning device, positioning equipment and electronic equipment
CN111257834A (en) * 2020-02-28 2020-06-09 广东美的厨房电器制造有限公司 Sound wave receiving device, sound wave transmitting device and sound wave positioning system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652244A (en) * 2015-12-31 2016-06-08 上海酷远物联网科技有限公司 Mobile terminal positioning method, acoustic positioning transmitter-receiver, mobile terminal and mobile terminal positioning system
CN106896356A (en) * 2016-08-17 2017-06-27 阿里巴巴集团控股有限公司 Determine method, position indicating method and its device and system of distance change
CN108151747A (en) * 2017-12-27 2018-06-12 浙江大学 A kind of indoor locating system and localization method merged using acoustical signal with inertial navigation
CN111007462A (en) * 2019-12-13 2020-04-14 北京小米智能科技有限公司 Positioning method, positioning device, positioning equipment and electronic equipment
CN111257834A (en) * 2020-02-28 2020-06-09 广东美的厨房电器制造有限公司 Sound wave receiving device, sound wave transmitting device and sound wave positioning system

Similar Documents

Publication Publication Date Title
CN109688280B (en) Request processing method, request processing device, browser and storage medium
US20100120422A1 (en) Positioning service utilizing existing radio base stations
CN104025635A (en) Mobile risk assessment
CN112668913B (en) Network construction method, device, equipment and storage medium based on federal learning
CN104221024A (en) Unified scan engine
CN112906011B (en) Vulnerability discovery method, testing method, security testing method, related device and platform
EP4086124A2 (en) Vehicle security check method, system and apparatus, device and storage medium
CN109688096B (en) IP address identification method, device, equipment and computer readable storage medium
CN109729582B (en) Information interaction method and device and computer readable storage medium
CN114615066A (en) Target path determination method and device
CN112816941A (en) Voiceprint positioning method, device, equipment and storage medium
CN110879397B (en) Obstacle recognition method, apparatus, storage medium, and device
JP2003101545A (en) Method for controlling access to lan from wireless lan terminal, wireless lan base station apparatus and wireless lan terminal apparatus
JP4899194B2 (en) Terminal, network device, network device search system including terminal and network device, and network device search method
EP4033787A1 (en) Method for obtaining target identifier, service entity, application entity, electronic device and storage medium
KR101115383B1 (en) The advertising system using using low frequency signals and the executing method of the system
FI128754B (en) Access to a service
CN114363879A (en) Roaming processing method and system for wireless terminal
KR101525349B1 (en) System and method for providing super-directional speaker based wireless communication service network
Kraxberger et al. Wlan location determination without active client collaboration
CN113726717A (en) Counterfeit device detection method and wireless device maintenance system
CN115102742B (en) Network request evaluation method, device, equipment and storage medium
WO2022261868A1 (en) Method, apparatus and system for vulnerability detection
CN114095554B (en) Industrial control data processing method and device, storage medium and industrial control gateway
CN114928532B (en) Alarm message generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination