技术领域Technical Field
本发明涉及定位技术领域,尤其涉及一种声纹定位方法、装置、设备及存储介质。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
在传统定位技术中,主要基于GPS定位,以及基于AGPS移动基站辅助定位。但是当我们处于障碍物遮挡下,比如地下室、高架下面等场合下,容易出现接收不到GPS信号和移动基站信号的情况。在这种情况下,很难再进行GPS定位和AGPS定位,导致不能进行精准定位。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
本发明的主要目的在于提供一种声纹定位方法、装置、设备及存储介质,旨在解决人们在障碍物遮挡下不能进行精准定位的技术问题。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.
为实现上述目的,本发明实施例提供一种声纹定位方法,所述声纹定位方法包括:To achieve the above object, an embodiment of the present invention provides a voiceprint positioning method, which includes:
获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;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;
获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;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;
根据所述目标位置信息向所述用户发送定位反馈信息。Send positioning feedback information to the user according to the target location information.
优选地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,还包括: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:
当接收到基于预设终端扫描预设二维码触发的次声波发送请求时,获取所述次声波发送请求中的请求信息;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;
将所述身份标识信息作为确认指令发送至所述预设终端,以供所述预设终端基于所述身份标识信息生成并发送次声波。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.
优选地,所述根据所述位置信息与所述时间差信息确定所述用户的目标位置信息的步骤包括:Preferably, the step of determining the target location information of the user according to the location information and the time difference information comprises:
根据所述位置信息与所述时间差信息生成方程组;Generate a set of equations according to the position information and the time difference information;
对所述方程组进行求解,得到所述用户的目标位置信息。The equation group is solved to obtain the target location information of the user.
优选地,所述根据所述位置信息与所述时间差信息生成方程组的步骤包括:Preferably, the step of generating a set of equations according to the position information and the time difference information comprises:
获取声音传播速度,根据所述声音传播速度与所述时间差信息,计算得到由时间差形成的距离信息;Acquire the sound propagation speed, and calculate the distance information formed by the time difference according to the sound propagation speed and the time difference information;
根据所述距离信息与所述位置信息,生成方程组。A set of equations is generated according to the distance information and the position information.
优选地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤包括: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:
分别获取声音接收装置组中各声音接收装置接收用户基于预设二维码发送的次声波的时间信息;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.
优选地,所述分别计算多个所述时间信息之间的时间差的步骤之后,还包括:Preferably, after the step of respectively calculating the time difference between the plurality of time information, the method further comprises:
将时间差的数量与预设阈值进行对比;comparing the amount of time difference to a preset threshold;
若时间差的数量小于所述预设阈值,则判定所述声音接收装置组中存在声音接收装置发生故障,并输出故障提示信息。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.
优选地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,还包括: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:
分别与声音接收装置组中的多个声音接收装置建立通信连接,以与多个所述声音接收装置进行数据交互。Establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to exchange data with the multiple sound receiving devices.
为实现上述目的,本发明还提供一种声纹定位装置,所述声纹定位装置包括:To achieve the above object, the present invention further provides a voiceprint positioning device, the voiceprint positioning device comprising:
获取模块,用于获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;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;
确定模块,用于获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;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;
发送模块,用于获取所述次声波中的身份标识信息,根据所述身份标识信息与所述目标位置信息向所述用户发送定位反馈信息。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.
进一步地,为实现上述目的,本发明还提供一种声纹定位设备,所述声纹定位设备包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的声纹定位程序,所述声纹定位程序被所述处理器执行时实现上述的声纹定位方法的步骤。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.
进一步地,为实现上述目的,本发明还提供一种存储介质,所述存储介质上存储有声纹定位程序,所述声纹定位程序被处理器执行时实现上述的声纹定位方法的步骤。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.
本发明实施例提供一种声纹定位方法、装置、设备及存储介质,获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;根据所述目标位置信息向所述用户发送定位反馈信息。本发明中用户通过扫描预设二维码并发送次声波,获取声音接收装置组接收次声波的时间差信息并结合声音接收装置组的位置信息计算出用户的目标位置信息,即使在障碍物遮挡下也能通过扫描预设二维码发送的次声波快速获取用户的目标位置信息,实现对用户进行精准定位。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
图1为本发明声纹定位方法实施例方案涉及的硬件运行环境的结构示意图;FIG1 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;
图2为本发明声纹定位方法第一实施例的流程示意图;FIG2 is a schematic diagram of a flow chart of a first embodiment of a voiceprint positioning method according to the present invention;
图3为本发明声纹定位方法第二实施例的流程示意图;FIG3 is a flow chart of a second embodiment of a voiceprint positioning method according to the present invention;
图4为本发明声纹定位方法第三实施例的流程示意图;FIG4 is a schematic diagram of a flow chart of a third embodiment of a voiceprint positioning method according to the present invention;
图5为本发明声纹定位方法第四实施例的流程示意图;FIG5 is a schematic diagram of a flow chart of a fourth embodiment of a voiceprint positioning method according to the present invention;
图6为本发明声纹定位装置较佳实施例的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of a preferred embodiment of a voiceprint positioning device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。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
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。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.
本发明实施例提供一种声纹定位方法、装置、设备及存储介质,获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;根据所述目标位置信息向所述用户发送定位反馈信息。本发明中用户通过扫描预设二维码并发送次声波,获取声音接收装置组接收次声波的时间差信息并结合声音接收装置组的位置信息计算出用户的目标位置信息,即使在障碍物遮挡下也能通过扫描预设二维码发送的次声波快速获取用户的目标位置信息,实现对用户进行精准定位。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.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的声纹定位设备结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of the structure of a voiceprint positioning device in a hardware operating environment involved in an embodiment of the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。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.
本发明实施例声纹定位设备可以是PC,也可以是平板电脑、便携计算机等可移动式终端设备。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.
如图1所示,该声纹定位设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG1 , 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. 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.
本领域技术人员可以理解,图1中示出的声纹定位设备结构并不构成对声纹定位设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the voiceprint positioning device structure shown in FIG. 1 does not constitute a limitation on the voiceprint positioning device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及声纹定位程序。As shown in FIG. 1 , 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.
在图1所示的设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的声纹定位程序,并执行以下操作:In the device shown in FIG1 , the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication 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:
获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;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;
获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;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;
根据所述目标位置信息向所述用户发送定位反馈信息。Send positioning feedback information to the user according to the target location information.
进一步地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,处理器1001可以用于调用存储器1005中存储的声纹定位程序,并执行以下操作: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:
当接收到基于预设终端扫描预设二维码触发的次声波发送请求时,获取所述次声波发送请求中的请求信息;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;
将所述身份标识信息作为确认指令发送至所述预设终端,以供所述预设终端基于所述身份标识信息生成并发送次声波。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.
进一步地,所述根据所述位置信息与所述时间差信息确定所述用户的目标位置信息的步骤包括:Further, the step of determining the target location information of the user according to the location information and the time difference information includes:
根据所述位置信息与所述时间差信息生成方程组;Generate a set of equations according to the position information and the time difference information;
对所述方程组进行求解,得到所述用户的目标位置信息。The equation group is solved to obtain the target location information of the user.
进一步地,所述根据所述位置信息与所述时间差信息生成方程组的步骤包括:Furthermore, the step of generating a set of equations according to the position information and the time difference information includes:
获取声音传播速度,根据所述声音传播速度与所述时间差信息,计算得到由时间差形成的距离信息;Acquire the sound propagation speed, and calculate the distance information formed by the time difference according to the sound propagation speed and the time difference information;
根据所述距离信息与所述位置信息,生成方程组。A set of equations is generated according to the distance information and the position information.
进一步地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤包括:Furthermore, 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 includes:
分别获取声音接收装置组中各声音接收装置接收用户基于预设二维码发送的次声波的时间信息;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.
进一步地,所述分别计算多个所述时间信息之间的时间差的步骤之后,处理器1001可以用于调用存储器1005中存储的声纹定位程序,并执行以下操作: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:
将时间差的数量与预设阈值进行对比;comparing the amount of time difference to a preset threshold;
若时间差的数量小于所述预设阈值,则判定所述声音接收装置组中存在声音接收装置发生故障,并输出故障提示信息。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.
进一步地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,处理器1001可以用于调用存储器1005中存储的声纹定位程序,并执行以下操作: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:
分别与声音接收装置组中的多个声音接收装置建立通信连接,以与多个所述声音接收装置进行数据交互。Establish communication connections with multiple sound receiving devices in the sound receiving device group respectively to exchange data with the multiple sound receiving devices.
为了更好的理解上述技术方案,下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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.
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。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.
参照图2,本发明第一实施例提供一种声纹定位方法的流程示意图。该实施例中,所述声纹定位方法包括以下步骤: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:
步骤S10,获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;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;
本实施例中声纹定位方法应用于声纹定位系统,以下将声纹定位系统简称为系统,系统中包括服务器与由多个声音接收装置组成的声音接收装置组,服务器与多个声音接收装置均建立了连接关系,多个声音接收装置设置于同一区域范围内的不同位置,其中服务器是计算机的一种,在网络中为其它客户机提供计算或者应用服务,声音接收装置用于接收用户预设终端发出的次声波,预设终端在本实施例中可以为智能手机、平板电脑等移动终端。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.
可以理解地,日常的定位手段主要是基于GPS(Global Positioning System,全球定位系统)定位,以及AGPS(Assisted Global Positioning System,辅助全球卫星定位系统)移动基站辅助定位。但是当人们处于障碍物遮挡下,比如地下室、高架下面等场合下,通常会出现接收不到GPS信号和移动基站信号的情况。在这种情况下,人们很难再进行GPS定位和AGPS定位,由于不能进行精准定位,使人们进入失联状态,进而对人们的生活带来极大的困扰。在此基础上,本申请提出一种声纹定位方法,在上述场合中放置预设二维码供用户扫描并发送次声波,然后声纹定位系统获取声音接收装置组接收次声波的时间差信息并结合声音接收装置组的位置信息计算出用户的目标位置信息,即使在障碍物遮挡下也能通过扫描预设二维码发送的次声波快速获取用户的目标位置信息,实现对用户进行精准定位。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.
进一步地,为了能够使得人们在地下室、高架下面等处于障碍物遮挡下的场合中进行精准定位,本实施例在地下室、高架下面等处于障碍物遮挡下的场合中张贴预设二维码,具体地,可以在地下室等场合的入口、休息区以及地面上张贴预设二维码,以使用户在具有定位需求时,可以通过扫描预设二维码生成并发送次声波,其中预设二维码中设置有次声波发生程序,用于生成次声波;并且,为了使得用户扫描预设二维码后,可以顺利地发出次声波,若地下室、高架下面等处于障碍物遮挡下的场合中网络信号较差,则在该场合中部署无线网络,例如WI-FI(无线上网)等。进一步地,在用户通过预设终端扫描预设二维码并发送次声波后,声音接收装置组中的多个声音接收装置分别对次声波进行接收,并将接收到次声波的接收时间以及次声波中的身份标识信息发送至服务器,其中身份标识信息用于对用户进行唯一标识。进一步地,服务器接收声音接收装置组中各声音接收装置发送的次声波的接收时间,得到多个接收时间,再将多个接收时间进行两两差值运算,得到各接收时间之间的多个时间差值并形成时间差信息,以根据时间差信息与声音接收装置组的位置信息确定出用户的目标位置信息,便于对用户进行精准定位。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.
进一步地,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,还包括: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:
步骤A1,分别与声音接收装置组中的多个声音接收装置建立通信连接,以与多个所述声音接收装置进行交互。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.
进一步地,为了使服务器能够及时与声音接收装置组中的多个声音接收装置进行交互,服务器还需要分别与声音接收装置组中的多个声音接收装置建立通信连接,具体地,服务器可以通过无线网络(如WI-FI、局域网等)分别与声音接收装置组中的多个声音接收装置建立通信连接,以在与声音接收装置组中的多个声音接收装置建立通信连接后,从声音接收装置组中获取各声音接收装置接收次声波的时间信息与身份标识信息,便于对用户进行精准定位。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 accurate positioning of the user.
步骤S20,获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;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;
可以理解地,声音接收装置组中各声音接收装置均设置有一个具体的位置信息,例如在地下室内设置的声音接收装置,设置有二维的位置信息以及声音接收装置所在的纵向信息(例如声音接收装置设置的楼层),以形成立体的位置信息。进一步地,服务器根据与声音接收装置组中各声音接收装置的连接关系,从各声音接收装置中获取各声音接收装置分别对应的位置信息。在获取到声音接收装置组中各声音接收装置的位置信息后,服务器通过获取的位置信息与时间差信息进行计算,以确定出用户的目标位置信息,具体地,服务器根据两两声音接收装置之间接收次声波的时间差,以及两个声音接收装置与次声波发送位置之间的距离之差,通过建立方程组并进行求解,计算出用户的位置信息,以对用户进行精准定位。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 a set of equations and solving them according to 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.
步骤S30,根据所述目标位置信息向所述用户发送定位反馈信息。Step S30: Send positioning feedback information to the user according to the target location information.
在计算出用户的目标位置信息后,由于计算得到目标位置信息为二维位置信息,服务器根据各声音接收装置位置信息中的纵向信息,对目标位置信息进行调整,得到更精确的目标位置信息。进一步地,服务器接收各声音接收装置从次声波中识别并发送的身份标识信息,将身份标识信息与得到的精确目标位置信息生成为定位反馈信息,并将定位反馈信息发送至用户的预设终端中,以便于用户根据接收到的定位反馈信息确定自己所处的位置。可以理解地,为确保用户信息的安全性,服务器在向用户发送定位反馈信息之前,还可以对从各声音接收装置中接收的身份标识信息进行校验,确定多个身份标识信息是否相同,在多个身份标识信息均相同时才根据身份标识信息向用户发送定位反馈信息。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.
本实施例提供一种声纹定位方法、装置、设备及存储介质,获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;根据所述目标位置信息向所述用户发送定位反馈信息。本发明中用户通过扫描预设二维码并发送次声波,获取声音接收装置组接收次声波的时间差信息并结合声音接收装置组的位置信息计算出用户的目标位置信息,即使在障碍物遮挡下也能通过扫描预设二维码发送的次声波快速获取用户的目标位置信息,实现对用户进行精准定位。并且,本申请用户扫描预设二维码时不会产生额外的声音、光线或电磁波的污染,发送的次声波无法被人类感知,在实现对用户进行精准定位的同时不会对人类产生干扰或不良影响。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, 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 infrasound waves sent cannot be perceived by humans, which will not cause interference or adverse effects on humans while realizing accurate positioning of the user.
进一步地,参照图3,基于本发明声纹定位方法的第一实施例,提出本发明声纹定位方法的第二实施例,在第二实施例中,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤之前,还包括:Further, referring to FIG. 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 when the sound receiving device group receives the infrasound, the method further includes:
步骤S1,当接收到基于预设终端扫描预设二维码触发的次声波发送请求时,获取所述次声波发送请求中的请求信息;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;
步骤S2,根据所述请求信息生成身份标识信息;Step S2, generating identity information according to the request information;
步骤S3,将所述身份标识信息作为确认指令发送至所述预设终端,以供所述预设终端基于所述身份标识信息生成并发送次声波。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.
可以理解地,当用户通过预设终端扫描后,用户需要根据实际使用环境选择打开方式,例如可以打开一个网页,或者启动一个轻应用,或者支付宝、微信、头条等第三方小程序来请求播放表征声纹的带有用户信息的次声波,并将用户信息作为请求信息生成次声波发送请求,并将次声波发送请求发送至服务器,其中网页需要用户输入的手机号等用户信息来发送请求,第三方小程序通过用户授权的用户信息来发送请求。进一步地,为了及时响应用户的定位需求,服务器实时检测是否存在用户通过预设终端扫描预设二维码发送的次声波发送请求,若存在次声波发送请求,则对次声波发送请求进行接收,并对次声波发送请求进行解析,得到次声波发送请求中包含作为请求信息的用户信息,为了对用户进行区分,服务器根据请求信息生成身份标识信息,以对用户进行唯一标识,便于对不同的用户进行区分。进一步地,服务器根据接收预设终端发送次声波发送请求时的路径,将身份标识信息作为确认指令发送至预设终端,以供预设终端基于身份标识信息生成并发送次声波,使得服务器在确定用户的目标位置信息时可以对不同用户进行区分,提高定位的准确性。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.
本实施例在获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息之前,根据用户发送的次声波发送请求生成身份标识信息,并将身份标识信息作为确认指令发送至用户的预设终端,使得预设终端可以基于身份标识信息生成并发送次声波,以进行用户目标位置信息的确定,实现对用户进行精准定位。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.
进一步地,参照图4,基于本发明声纹定位方法的第一实施例,提出本发明声纹定位方法的第三实施例,在第三实施例中,所述根据所述位置信息与所述时间差信息确定所述用户的目标位置信息的步骤包括:Further, referring to FIG. 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:
步骤S21,根据所述位置信息与所述时间差信息生成方程组;Step S21, generating a set of equations according to the position information and the time difference information;
步骤S22,对所述方程组进行求解,得到所述用户的目标位置信息。Step S22, solving the equation group to obtain the target location information of the user.
在获取声音接收装置中各声音接收装置的位置信息后,服务器首先根据声音传播速度与多个声音接收装置接收次声波的时间差信息,计算得到由时间差形成的多个距离信息,再根据多个距离信息与各声音接收装置的位置信息,生成方程组。在生成方程组后,服务器调用内部存储器中设置的解方程组算法,通过解方程组算法对方程组进行求解,计算出用户的目标位置信息,实现对用户的精准定位。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.
进一步地,所述根据所述位置信息与所述时间差信息生成方程组的步骤包括:Furthermore, the step of generating a set of equations according to the position information and the time difference information includes:
步骤S211,获取声音传播速度,根据所述声音传播速度与所述时间差信息,计算得到由时间差形成的距离信息;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;
步骤S212,根据所述距离信息与所述位置信息,生成方程组。Step S212, generating a set of equations according to the distance information and the position information.
进一步地,服务器可以基于无线网络获取声音传播速度,也可以从内部存储器中获取声音传播速度;在得到声音传播速度后,服务器根据距离计算公式与声音传播速度,分别计算出各声音接收装置接收次声波时的时间差所形成的距离信息,具体地,将声音传播速度分别与多个时间差输入至距离计算公式中,得到由多个时间差分别形成的距离信息;进一步地,由于用户目标位置信息是二维的,因此只有两个未知参数,通过两个方程式组成的方程组就可以计算出具体的参数信息,服务器可以获取两两声音接收装置的位置信息,将两个声音接收装置的位置信息结合由两个声音接收装置接收次声波时的时间差形成的距离信息,再根据点到点之间的距离公式形成一个方程式,在得到一个方程式后,服务器再获取上述两个声音接收装置其中一个声音接收装置,与其余声音接收装置中任一个声音接收装置接收次声波的时间差形成的距离信息,根据两个声音接收装置的位置信息与距离信息,形成第二个方程式,并由两个方程式构成方程组,以便于通过解方程组得到用户的目标位置信息。例如:可以先计算第一个声音接收装置与第二个声音接收装置接收次声波的时间差,由第一个声音接收装置的位置信息、第二个声音接收装置的位置信息、第一个声音接收装置与第二个声音接收装置的时间差计算得到的距离信息,结合点到点之间的距离计算公式生成第一个方程式;再计算第一个声音接收装置与第三个声音接收装置接收次声波的时间差,由第一个声音接收装置的位置信息、第三个声音接收装置的位置信息、第一个声音接收装置与第三个声音接收装置的时间差计算得到的距离信息,结合点到点之间的距离计算公式生成第二个方程式,最后由第一个方程式与第二个方程式组成方程组。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.
本实施例根据各声音接收装置的位置信息与时间差信息生成方程组,再对方程组进行求解,准确地计算出用户的目标位置信息,实现对用户进行精准定位。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.
进一步地,参照图5,基于本发明声纹定位方法的第一实施例,提出本发明声纹定位方法的第四实施例,在第四实施例中,所述获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息的步骤包括:Further, referring to FIG. 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:
步骤S11,分别获取声音接收装置组中各声音接收装置接收用户基于预设二维码发送的次声波的时间信息;Step S11, respectively obtaining 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;
步骤S12,分别计算多个所述时间信息之间的时间差;Step S12, respectively calculating the time difference between the plurality of time information;
步骤S13,若时间差的数量大于或等于预设阈值,则将多个所述时间差生成为时间差信息。Step S13: if the number of time differences is greater than or equal to a preset threshold, then generating a plurality of the time differences as time difference information.
可以理解地,由于用户在通过预设终端发送次声波之前,需要向服务器发送次声波发送请求,因此服务器可以将向预设终端发送确认指令的时间确定为次声波的发送信息,或者获取与预设终端通信延时时长,通过延时时长对发送确认指令的时间进行补偿计算,得到次声波的发送信息。进一步地,服务器将次声波的发送时间分别与各声音接收装置接收次声波的接收时间进行差值运算,得到各声音接收装置从次声波发送到接收到次声波之间的时间信息。进一步地,服务器将多个时间信息分别进行两两差值运算,得到各声音接收装置接收次声波的多个时间差。由于确定二维的目标位置信息至少需要两个方程式才能进行求解,而要形成两个方程式又需要至少两个时间差来计算出两个距离信息,因此在检测到时间差的数量大于或等于预设阈值时,服务器才判定满足计算目标位置信息的条件,则将多个时间差生成为时间差信息,其中预设阈值为根据实际计算条件设定的数值,例如本申请中计算二维的位置信息,则预设阈值可以为2。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.
进一步地,所述分别计算多个所述时间信息之间的时间差的步骤之后,还包括:Furthermore, after the step of respectively calculating the time difference between the plurality of time information, the method further comprises:
步骤S14,将时间差的数量与预设阈值进行对比;Step S14, comparing the amount of time difference with a preset threshold;
步骤S15,若时间差的数量小于所述预设阈值,则判定所述声音接收装置组中存在声音接收装置发生故障,并输出故障提示信息。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.
进一步地,服务器识别计算出的时间差的数量,并将识别得到的时间差的数量与预设阈值进行对比,根据对比结果判断时间差的数量是否大于或等于预设阈值。进一步地,若经对比确定时间差的数量小于预设阈值,说明根据当前的时间差不能计算出用户的目标位置信息,进一步说明声音接收装置组的多个声音接收装置中至少存在一个声音接收装置发生故障,则生成故障提示信息,并将故障提示信息输出给管理人员,例如通过短信、小程序等方式发送给管理人员,以通知管理人员对声音接收装置组进行故障排查,保障声纹定位系统的正常运行,以实现对用户的精准定位。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.
本实施例通过获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息,便于根据时间差信息计算出距离信息,再由距离信息结合声音接收装置组的位置信息计算出用户的目标位置信息,对用户进行精准定位。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.
进一步地,本发明还提供一种声纹定位装置。Furthermore, the present invention also provides a voiceprint positioning device.
参照图6,图6为本发明声纹定位装置第一实施例的功能模块示意图。Refer to FIG. 6 , which is a schematic diagram of functional modules of the first embodiment of the voiceprint positioning device of the present invention.
所述声纹定位装置包括:The voiceprint positioning device comprises:
获取模块10,用于获取声音接收装置组接收用户基于预设二维码发送的次声波的时间差信息;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;
确定模块20,用于获取所述声音接收装置组的位置信息,根据所述位置信息与所述时间差信息确定所述用户的目标位置信息;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;
发送模块30,用于获取所述次声波中的身份标识信息,根据所述身份标识信息与所述目标位置信息向所述用户发送定位反馈信息。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.
进一步地,所述获取模块10包括:Furthermore, the acquisition module 10 includes:
第一获取单元,用于当接收到基于预设终端扫描预设二维码触发的次声波发送请求时,获取所述次声波发送请求中的请求信息;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;
第一生成单元,用于根据所述请求信息生成身份标识信息;A first generating unit, configured to generate identity information according to the request information;
发送单元,用于将所述身份标识信息作为确认指令发送至所述预设终端,以供所述预设终端基于所述身份标识信息生成并发送次声波。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.
进一步地,所述获取模块10还包括:Furthermore, the acquisition module 10 further includes:
第二获取单元,用于分别获取声音接收装置组中各声音接收装置接收用户基于预设二维码发送的次声波的时间信息;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;
第一计算单元,用于分别计算多个所述时间信息之间的时间差;A first calculation unit, used for respectively calculating the time difference between the plurality of time information;
第二生成单元,用于若时间差的数量大于或等于预设阈值,则将多个所述时间差生成为时间差信息。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.
进一步地,所述获取模块10还包括:Furthermore, the acquisition module 10 further includes:
对比单元,用于将时间差的数量与预设阈值进行对比;A comparison unit, used to compare the amount of time difference with a preset threshold;
输出单元,用于若时间差的数量小于所述预设阈值,则判定所述声音接收装置组中存在声音接收装置发生故障,并输出故障提示信息。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.
进一步地,所述获取模块10还包括:Furthermore, the acquisition module 10 further includes:
通信单元,用于分别与声音接收装置组中的多个声音接收装置建立通信连接,以与多个所述声音接收装置进行数据交互。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.
进一步地,所述确定模块20包括:Furthermore, the determining module 20 includes:
第三生成单元,用于根据所述位置信息与所述时间差信息生成方程组;A third generating unit, configured to generate a set of equations according to the position information and the time difference information;
求解单元,用于对所述方程组进行求解,得到所述用户的目标位置信息。A solving unit is used to solve the equation group to obtain the target position information of the user.
进一步地,所述确定模块20还包括:Furthermore, the determining module 20 further includes:
第二计算单元,用于获取声音传播速度,根据所述声音传播速度与所述时间差信息,计算得到由时间差形成的距离信息;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;
第四生成单元,用于根据所述距离信息与所述位置信息,生成方程组。The fourth generating unit is used to generate a set of equations according to the distance information and the position information.
此外,本发明还提供一种存储介质,所述存储介质优选为计算机可读存储介质,其上存储有声纹定位程序,所述声纹定位程序被处理器执行时实现上述声纹定位方法各实施例的步骤。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.
在本发明声纹定位装置和计算机可读介质的实施例中,包含了上述声纹定位方法各实施例的全部技术特征,说明和解释内容与上述声纹定位方法各实施例基本相同,在此不做赘述。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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是固定终端,如物联网智能设备,包括智能空调、智能电灯、智能电源、智能路由器等智能家居;也可以是移动终端,包括智能手机、可穿戴的联网AR/VR装置、智能音箱、自动驾驶汽车等诸多联网设备)执行本发明各个实施例所述的方法。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, in essence or in other words, 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.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110011437.5ACN112816941B (en) | 2021-01-05 | 2021-01-05 | Voiceprint positioning method, voiceprint positioning device, voiceprint positioning equipment and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110011437.5ACN112816941B (en) | 2021-01-05 | 2021-01-05 | Voiceprint positioning method, voiceprint positioning device, voiceprint positioning equipment and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN112816941A CN112816941A (en) | 2021-05-18 |
| CN112816941Btrue CN112816941B (en) | 2024-09-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110011437.5AActiveCN112816941B (en) | 2021-01-05 | 2021-01-05 | Voiceprint positioning method, voiceprint positioning device, voiceprint positioning equipment and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN112816941B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116643237A (en)* | 2023-05-25 | 2023-08-25 | 重庆长安汽车股份有限公司 | A method and system for positioning by vehicle voiceprint |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557296B (en)* | 2015-09-28 | 2020-01-14 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring sound information |
| CN105652244A (en)* | 2015-12-31 | 2016-06-08 | 上海酷远物联网科技有限公司 | Mobile terminal positioning method, acoustic positioning transmitter-receiver, mobile terminal and mobile terminal positioning system |
| CN106292659A (en)* | 2016-07-30 | 2017-01-04 | 许琴琴 | A kind of sweeping robot method for searching |
| CN107733532A (en)* | 2017-09-28 | 2018-02-23 | 阿里巴巴集团控股有限公司 | Information interacting method, device and equipment |
| CN107977562B (en)* | 2017-11-30 | 2021-11-02 | 努比亚技术有限公司 | Identity recognition method, recognition terminal and storage medium |
| CN111257834A (en)* | 2020-02-28 | 2020-06-09 | 广东美的厨房电器制造有限公司 | Sound wave receiving device, sound wave transmitting device and sound wave positioning system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| Publication number | Publication date |
|---|---|
| CN112816941A (en) | 2021-05-18 |
| Publication | Publication Date | Title |
|---|---|---|
| US11356447B2 (en) | Systems and methods for scalable-factor authentication | |
| US11451553B2 (en) | Sensor-based human authorization evaluation | |
| CN110609937B (en) | Crawler identification method and device | |
| KR101970123B1 (en) | Dual channel identity authentication | |
| CN110349591A (en) | Automatic speech pronunciation ownership | |
| US20150120772A1 (en) | Method and system for information push | |
| EP3188522A1 (en) | Authentication and authorization method and apparatus for wireless network and program | |
| CN111768594A (en) | Close contact judgment method, device, computer equipment and storage medium | |
| WO2021180228A1 (en) | Method for assisting with installation of customer premise equipment, and electronic device | |
| CN112286426B (en) | State information display method, device and system | |
| US20170010783A1 (en) | Emergency call smart phone application | |
| CN111190950B (en) | Asset retrieval method and device | |
| CN108810896A (en) | The connection authentication method and device of wireless access point | |
| US12250096B2 (en) | Intelligent signal matching of disparate input data in complex computing networks | |
| CN112816941B (en) | Voiceprint positioning method, voiceprint positioning device, voiceprint positioning equipment and storage medium | |
| KR101510091B1 (en) | Real-time interaction in a communication network | |
| Alamleh et al. | Architecture for continuous authentication in location-based services | |
| CN109688096B (en) | IP address identification method, device, equipment and computer readable storage medium | |
| CN114980313A (en) | System for maintaining living asset fence information based on wireless positioning and block chain | |
| CN104486763A (en) | Wireless access equipment and method for realizing contact type authentication | |
| CN108737350B (en) | Information processing method and client | |
| CN108616886B (en) | A method and device for generating a wireless access point topology network | |
| KR101742524B1 (en) | System for providing coap based mashup services and method thereof | |
| CN110544099A (en) | Payment method, payment processing system and payment acceptance terminal based on block chain | |
| Kraxberger et al. | Wlan location determination without active client collaboration |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address | Address after:Building 7, 5th Floor, Zijin R&D Entrepreneurship Center, No. 89 Shengli Road, Moling Street, Jiangning District, Nanjing City, Jiangsu Province, 210000 (Jiangning Development Zone) Patentee after:Nanjing Liwei Zhilian Technology Co.,Ltd. Country or region after:China Patentee after:SHENZHEN ZNV TECHNOLOGY Co.,Ltd. Address before:No. 888 Zhengfang Middle Road, Jiangning Economic and Technological Development Zone, Nanjing City, Jiangsu Province Patentee before:NANJING ZNV SOFTWARE Co.,Ltd. Country or region before:China Patentee before:SHENZHEN ZNV TECHNOLOGY Co.,Ltd. |