CN114675256A - Positioning method, apparatus, system, terminal, storage medium and program product - Google Patents

Positioning method, apparatus, system, terminal, storage medium and program product Download PDF

Info

Publication number
CN114675256A
CN114675256A CN202210287493.6A CN202210287493A CN114675256A CN 114675256 A CN114675256 A CN 114675256A CN 202210287493 A CN202210287493 A CN 202210287493A CN 114675256 A CN114675256 A CN 114675256A
Authority
CN
China
Prior art keywords
terminal
positioning
target
signal
positioning signal
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
CN202210287493.6A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210287493.6A priority Critical patent/CN114675256A/en
Publication of CN114675256A publication Critical patent/CN114675256A/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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本申请涉及一种定位方法、装置、系统、终端、存储介质和程序产品。所述方法应用于定位系统,所述定位系统包括第一终端和第二终端,所述第一终端和所述第二终端用于同时进行定位信号的收发处理,所述方法包括:获取目标接收端接收到的第一定位信号;若所述第一定位信号为目标发射端发射的目标定位信号,则根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。采用该方法可以提高终端定位的准确性。

Figure 202210287493

The present application relates to a positioning method, apparatus, system, terminal, storage medium and program product. The method is applied to a positioning system, the positioning system includes a first terminal and a second terminal, and the first terminal and the second terminal are used for simultaneous transmission and reception of positioning signals, and the method includes: acquiring a target receiving If the first positioning signal is the target positioning signal transmitted by the target transmitter, then according to the transmission information of the first positioning signal transmitted by the target transmitter and received by the target receiver Perform positioning processing on the received information of the first positioning signal to obtain the relative positional relationship between the first terminal and the second terminal; wherein, the target receiving end is the first terminal and the second terminal. One of the second terminals, and the target sender is the other of the first terminal and the second terminal. Using this method can improve the accuracy of terminal positioning.

Figure 202210287493

Description

定位方法、装置、系统、终端、存储介质和程序产品Positioning method, apparatus, system, terminal, storage medium and program product

技术领域technical field

本申请涉及终端定位技术领域,特别是涉及一种定位方法、装置、系统、终端、存储介质和程序产品。The present application relates to the technical field of terminal positioning, and in particular, to a positioning method, apparatus, system, terminal, storage medium and program product.

背景技术Background technique

随着终端定位技术的迅速发展,如何提高终端定位的准确性也越来越重要。With the rapid development of terminal positioning technology, how to improve the accuracy of terminal positioning is becoming more and more important.

在相关技术中,在需要进行终端定位时,多个终端中的一个发射定位信号,多个终端中的另一个接收定位信号,从而确定出终端之间的相对位置关系。In the related art, when terminal positioning is required, one of the multiple terminals transmits a positioning signal, and another of the multiple terminals receives the positioning signal, thereby determining the relative positional relationship between the terminals.

然而,若多个终端中接收定位信号的一方若被干扰,会导致终端定位的准确性不高。However, if one of the multiple terminals receiving the positioning signal is interfered, the accuracy of the terminal positioning will be low.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种定位方法、装置、系统、终端、存储介质和程序产品,可以提高终端定位的准确性。The embodiments of the present application provide a positioning method, apparatus, system, terminal, storage medium and program product, which can improve the accuracy of terminal positioning.

一种定位方法,应用于定位系统,所述定位系统包括第一终端和第二终端,所述第一终端和所述第二终端用于同时进行定位信号的收发处理,所述方法包括:A positioning method, applied to a positioning system, wherein the positioning system includes a first terminal and a second terminal, the first terminal and the second terminal are used for simultaneous transmission and reception of positioning signals, and the method includes:

获取目标接收端接收到的第一定位信号;obtaining the first positioning signal received by the target receiver;

若所述第一定位信号为目标发射端发射的目标定位信号,则根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;If the first positioning signal is the target positioning signal transmitted by the target transmitter, then according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception of the first positioning signal received by the target receiver performing positioning processing on the information to obtain the relative positional relationship between the first terminal and the second terminal;

其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。The target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal.

一种定位装置,应用于定位系统,所述定位系统包括第一终端和第二终端,所述第一终端和所述第二终端用于同时进行定位信号的收发处理,所述装置包括:A positioning device is applied to a positioning system, the positioning system includes a first terminal and a second terminal, the first terminal and the second terminal are used for simultaneous transmission and reception of positioning signals, and the device includes:

信号获取模块,用于获取目标接收端接收到的第一定位信号;a signal acquisition module, used for acquiring the first positioning signal received by the target receiver;

定位处理模块,用于若所述第一定位信号为目标发射端发射的目标定位信号,则根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;The positioning processing module is configured to, if the first positioning signal is a target positioning signal transmitted by a target transmitter, according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception of the target receiver by the target transmitter Perform positioning processing on the received information of the first positioning signal to obtain the relative positional relationship between the first terminal and the second terminal;

其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。The target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal.

一种终端,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上述的方法的步骤。A terminal includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the above method.

一种定位系统,包括第一终端和第二终端,所述第一终端和所述第二终端用于同时进行定位信号的收发处理,以在目标接收端接收到的第一定位信号为目标发射端发射的目标定位信号的情况下,根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;A positioning system, comprising a first terminal and a second terminal, the first terminal and the second terminal are used for simultaneous transmission and reception of positioning signals, and the first positioning signal received at a target receiving end is used as a target to transmit In the case of the target positioning signal transmitted by the target transmitter, the positioning process is performed according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception information of the first positioning signal received by the target receiver, so as to obtain the target positioning signal. the relative positional relationship between the first terminal and the second terminal;

其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。The target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, the computer program implementing the steps of the above-described method when executed by a processor.

一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述的方法的步骤。A computer program product comprising a computer program that, when executed by a processor, implements the steps of the above-described method.

上述的定位方法、装置、系统、终端、存储介质和程序产品,定位方法应用于定位系统,所述定位系统包括第一终端和第二终端,所述第一终端和所述第二终端用于同时进行定位信号的收发处理,所述方法包括:获取目标接收端接收到的第一定位信号;若所述第一定位信号为目标发射端发射的目标定位信号,则根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。由于通过第一终端和第二终端同时进行定位信号的收发处理,若第一终端和第二终端的任意一方接收到对方发射的定位信号,都可以进行定位处理以得到第一终端与第二终端之间的相对位置关系,解决了相关技术中若多个终端中接收定位信号的一方若被干扰,会导致终端定位的准确性不高的技术问题,实现了提高终端定位的准确性的技术效果。The above-mentioned positioning method, device, system, terminal, storage medium and program product, the positioning method is applied to a positioning system, and the positioning system includes a first terminal and a second terminal, and the first terminal and the second terminal are used for At the same time, the sending and receiving processing of the positioning signal is performed, and the method includes: obtaining a first positioning signal received by the target receiving end; The transmission information of the first positioning signal and the reception information of the first positioning signal received by the target receiving terminal are subjected to positioning processing to obtain the relative positional relationship between the first terminal and the second terminal; The target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal. Since the first terminal and the second terminal simultaneously perform the sending and receiving processing of the positioning signal, if either of the first terminal and the second terminal receives the positioning signal transmitted by the other, the positioning processing can be performed to obtain the first terminal and the second terminal. The relative positional relationship between them solves the technical problem in the related art that if the party receiving the positioning signal among the multiple terminals is interfered, the accuracy of the terminal positioning will be low, and the technical effect of improving the accuracy of the terminal positioning is achieved. .

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例提供的定位方法的应用环境示意图;FIG. 1 is a schematic diagram of an application environment of a positioning method provided by an embodiment of the present application;

图2为本申请实施例提供的一种定位方法的流程示意图;2 is a schematic flowchart of a positioning method provided by an embodiment of the present application;

图3为本申请实施例提供的另一种定位方法的流程示意图;3 is a schematic flowchart of another positioning method provided by an embodiment of the present application;

图4为本申请实施例提供的一种确定目标信号特征的流程示意图;FIG. 4 is a schematic flowchart of determining a target signal feature according to an embodiment of the present application;

图5为本申请实施例提供的另一种定位方法的流程示意图;FIG. 5 is a schematic flowchart of another positioning method provided by an embodiment of the present application;

图6为本申请实施例提供的一种定位装置的结构示意图;6 is a schematic structural diagram of a positioning device according to an embodiment of the present application;

图7为本申请实施例提供的一种终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

参考图1,图1为本申请实施例提供的定位方法的应用环境示意图。如图1所示,该应用环境包括第一终端110和第二终端120。Referring to FIG. 1 , FIG. 1 is a schematic diagram of an application environment of a positioning method provided by an embodiment of the present application. As shown in FIG. 1 , the application environment includes a first terminal 110 and a second terminal 120 .

在相关技术中,通过第一终端110发射定位信号,第二终端120接收定位信号,从而识别出第一终端110与第二终端120之间的相对位置关系。然而,若第二终端120被干扰,则会导致第二终端120接收到非配套的第三终端发射的定位信号,甚至是无法接收到定位信号,此时会影响终端定位的准确性。In the related art, the first terminal 110 transmits the positioning signal, and the second terminal 120 receives the positioning signal, thereby identifying the relative positional relationship between the first terminal 110 and the second terminal 120 . However, if the second terminal 120 is interfered, the second terminal 120 will receive a positioning signal transmitted by a non-matching third terminal, or even fail to receive the positioning signal, which will affect the accuracy of terminal positioning.

以第一终端110为可穿戴显示设备,第二终端120为操控手柄进行举例说明。Take the first terminal 110 as a wearable display device and the second terminal 120 as a control handle for illustration.

其中,可穿戴显示设备用于进行视觉显示,以作为用户与虚拟显示交互的媒介。操控手柄是与可穿戴显示设备的配套产品,用于接收用户的触控操控信息,用户通过手持操控手柄输入触控操控信息,可穿戴显示设备显示的虚拟显示对应发生改变。Among them, the wearable display device is used for visual display as a medium for the user to interact with the virtual display. The control handle is a supporting product with the wearable display device, which is used to receive the user's touch control information. The user inputs the touch control information through the handheld control handle, and the virtual display displayed by the wearable display device changes correspondingly.

具体的,可穿戴显示设备可以向手持操控手柄发射定位信号,操控手柄可以接收可穿戴显示设备发射的定位信号,从而根据可穿戴显示设备发射定位信号的发射信息,以及操控手柄接收到可穿戴显示设备发射的定位信号的接收信息,可以确定出可穿戴显示设备和操控手柄之间的相对位置关系,从而确定用户手持操控手柄的触控操控信息,从而使得可穿戴显示设备显示的虚拟显示对应发生改变。Specifically, the wearable display device can transmit a positioning signal to the handheld control handle, and the control handle can receive the positioning signal transmitted by the wearable display device, so as to transmit the transmission information of the positioning signal according to the wearable display device, and the control handle receives the wearable display device. The receiving information of the positioning signal transmitted by the device can determine the relative positional relationship between the wearable display device and the control handle, so as to determine the touch control information of the user holding the control handle, so that the virtual display displayed by the wearable display device corresponds to the corresponding occurrence. Change.

示例性的,以将超声波作为定位信号进行举例说明。一般的,可穿戴显示设备上有三个超声波接收传感器,控制手柄上有六个超声波接收传感器三个接收传感器,分别对应正前方,左侧方和右侧方各120度范围,以实现360度覆盖;六个接收传感器,分别围绕手柄一圈分布,以保证任意角度能有4个以上的接收传感器处于接收传感器的角度覆盖范围内;超声波定位原理,单点发射,四个点接收,通过声波在空间里的飞行时间来计算出正弦波发射单点到四个接收点之间的距离,进而计算出相对位置的角度和相对空间距离,实现可穿戴式头盔显示对对应控制手柄空间方位和运动轨迹的追踪。Exemplarily, the ultrasonic wave is used as the positioning signal for illustration. Generally, there are three ultrasonic receiving sensors on the wearable display device, and six ultrasonic receiving sensors and three receiving sensors on the control handle, corresponding to the front, left and right sides of 120 degrees respectively to achieve 360 degree coverage ;Six receiving sensors, respectively distributed around the handle, to ensure that more than 4 receiving sensors can be within the angular coverage of receiving sensors at any angle; ultrasonic positioning principle, single-point transmission, four-point receiving, through sound waves in The time of flight in space is used to calculate the distance between the single point of sine wave transmission and the four receiving points, and then the angle of the relative position and the relative spatial distance are calculated, so that the wearable helmet can display the spatial orientation and motion trajectory of the corresponding control handle. tracking.

然而,若可穿戴显示设备和操控手柄在卖场,多人聚会活动和展会类大型现场沉浸式体验等场景进行使用时,由于其它可穿戴显示设备以及其它操控手柄等同类型产品过于集中,则会导致操控手柄收到干扰,无法确定操控手柄接收到的定位信号,是配套的可穿戴显示设备发送的,还是说非配套的其它可穿戴显示设备发送的,因此会导致可穿戴显示设备和操控手柄之间的相对位置关系的识别不够准确,进而导致用户对虚拟显示的体验降低。However, if wearable display devices and controllers are used in scenarios such as storefronts, multi-person gatherings, and large-scale on-site immersive experiences such as exhibitions, other wearable display devices and other products of the same type as controllers are too concentrated. The control handle is interfered, and it is impossible to determine whether the positioning signal received by the control handle is sent by the supporting wearable display device or other non-supporting wearable display devices. The identification of the relative positional relationship between them is not accurate enough, thereby reducing the user's experience of the virtual display.

因此,本申请实施例提供了一种定位方法、装置、系统、终端、存储介质和程序产品,以提高终端定位的准确性。Therefore, the embodiments of the present application provide a positioning method, apparatus, system, terminal, storage medium and program product, so as to improve the accuracy of terminal positioning.

需要说明的是,本实施例提供的定位方法的步骤,可以由第一终端110或第二终端120执行,也可以由与第一终端110和第二终端120连接的控制终端来执行,本实施例不作限制。It should be noted that the steps of the positioning method provided in this embodiment may be executed by the first terminal 110 or the second terminal 120, or may be executed by a control terminal connected to the first terminal 110 and the second terminal 120. This embodiment Examples are not limited.

参考图2,图2为本申请实施例提供的一种定位方法的流程示意图。以该方法应用于图1中的定位系统进行说明。如图2所示,定位方法包括:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a positioning method according to an embodiment of the present application. The application of this method to the positioning system in FIG. 1 will be described. As shown in Figure 2, the positioning method includes:

步骤210、获取目标接收端接收到的第一定位信号。Step 210: Acquire the first positioning signal received by the target receiving end.

其中,目标接收端可以是第一终端和第二终端中的其中一方。第一定位信号是指目标接收端接收到的定位信号。具体的,第一定位信号可能是与目标接收端配套的目标发射端发射的定位信号,也可能是非配套的第三终端发射的定位信号,跟实际的信号接收情况相关,本实施例不作限制。目标发射端为第一终端和第二终端中的另外一方。若第一终端为目标接收端,则第二终端为目标发射端;若第二终端为目标接收端,则第一终端为目标发射端。可选的,本实施例中的第一终端和第二终端的任一方均可以作为目标接收端。同理,第一终端和第二终端的任一方均可以作为目标发射端。The target receiving end may be one of the first terminal and the second terminal. The first positioning signal refers to the positioning signal received by the target receiving end. Specifically, the first positioning signal may be a positioning signal transmitted by a target transmitting terminal matched with the target receiving terminal, or may be a positioning signal transmitted by a non-matching third terminal, which is related to the actual signal reception situation, which is not limited in this embodiment. The target transmitting end is the other of the first terminal and the second terminal. If the first terminal is the target receiver, the second terminal is the target transmitter; if the second terminal is the target receiver, the first terminal is the target transmitter. Optionally, either one of the first terminal and the second terminal in this embodiment may serve as the target receiving end. Similarly, either the first terminal or the second terminal can be used as the target transmitter.

在本实施例中,第一终端和第二终端用于同时进行定位信号的收发处理。具体的,第一终端具备发射定位信号的能力以及接收定位信号的能力;第二终端同样具备发射定位信号的能力以及接收定位信号的能力。第一终端和第二终端用于同时进行定位信号的收发处理,是指在同一时刻,第一终端和第二终端同时向对方发射定位信号,同时第一终端和第二终端也在等待着接收对方发射的定位信号。In this embodiment, the first terminal and the second terminal are used to simultaneously perform transmission and reception processing of positioning signals. Specifically, the first terminal has the ability to transmit the positioning signal and the ability to receive the positioning signal; the second terminal also has the ability to transmit the positioning signal and the ability to receive the positioning signal. The first terminal and the second terminal are used to transmit and receive positioning signals at the same time, which means that at the same time, the first terminal and the second terminal transmit positioning signals to each other at the same time, and the first terminal and the second terminal are also waiting to receive. The positioning signal transmitted by the other party.

步骤220、判断第一定位信号是否为目标发射端发射的目标定位信号。Step 220: Determine whether the first positioning signal is a target positioning signal transmitted by the target transmitting end.

在本实施例中,若是,则执行步骤230。In this embodiment, if yes, step 230 is executed.

步骤230、根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系。Step 230: Perform positioning processing according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception information of the first positioning signal received by the target receiver, so as to obtain the first terminal and the first positioning signal. The relative positional relationship between the second terminals.

其中,相对位置关系可以包括但不限于距离关系和角度关系等,本实施例不作限制。可选的,发射信息包括但不限于发射强度和发射时间中的至少一项。同理对应的,接收信息包括但不限于接收强度和接收时间中的至少一项。可选的,可以通过目标发射端发射定位信号的功率确定发射强度。The relative positional relationship may include, but is not limited to, a distance relationship, an angular relationship, and the like, which is not limited in this embodiment. Optionally, the transmission information includes but is not limited to at least one of transmission intensity and transmission time. Correspondingly, the reception information includes but is not limited to at least one of reception strength and reception time. Optionally, the transmission intensity may be determined by the power of the positioning signal transmitted by the target transmitting end.

在本实施例中,若所述第一定位信号为目标发射端发射的目标定位信号,则根据目标发射端发射第一定位信号的发射信息以及目标接收端接收到第一定位信号的接收信息进行定位处理,从而得到第一终端与第二终端之间的相对位置关系。In this embodiment, if the first positioning signal is a target positioning signal transmitted by the target transmitter, the process is performed according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception information of the first positioning signal received by the target receiver. The positioning process is performed to obtain the relative positional relationship between the first terminal and the second terminal.

可选的,发射信息可以包括但不限于发射强度和发射时间等。接收信息可以包括但不限于接收强度和接收时间等。Optionally, the transmission information may include, but is not limited to, transmission intensity and transmission time. The reception information may include, but is not limited to, reception strength and reception time.

本实施例的技术方案,由于通过第一终端和第二终端同时进行定位信号的收发处理,若第一终端和第二终端的任意一方接收到对方发射的定位信号,都可以进行定位处理以得到第一终端与第二终端之间的相对位置关系,即使其中一方被干扰也不会影响第一终端和第二终端之间的相对位置关系的识别,提高了提高终端定位的准确性的技术效果。In the technical solution of this embodiment, since the first terminal and the second terminal simultaneously perform the receiving and sending processing of the positioning signal, if either of the first terminal and the second terminal receives the positioning signal transmitted by the other side, it can perform the positioning processing to obtain The relative positional relationship between the first terminal and the second terminal, even if one of them is interfered, will not affect the identification of the relative positional relationship between the first terminal and the second terminal, which improves the technical effect of improving the accuracy of terminal positioning .

需要说明的是,可以是只获取第一终端和第二终端的其中一方接收的第一定位信号。若获取的一方接收到的第一定位信号时另一方发射的,则直接进行定位处理;若获取的一方接收的第一定位信号是第三终端发射的定位信号,则再获取另一方接收的第一定位信号,从而进行定位处理。It should be noted that, only the first positioning signal received by one of the first terminal and the second terminal may be acquired. If the obtained first positioning signal received by the other party is transmitted by the other party, the positioning processing is performed directly; if the first positioning signal received by the obtained party is the positioning signal transmitted by the third terminal, then the first positioning signal received by the other party is obtained. A positioning signal to perform positioning processing.

另外,还可以是同时获取第一终端和第二终端接收的定位信号。若其中一方接收到另一方发射的第一定位信号,则基于接收到另一方发射的第一定位信号的接收信息以及另一方发射第一定位信号的发射信息来进行定位处理。若双方均接收到另一方发射的第一定位信号,则根据第一终端发射第一定位信号的第一发射信息、第二终端接收到第一定位信号的第一接收信息、第二终端发射第一定位信号的第二发射信息以及第一终端接收到第一定位信号的第二接收信息来进行定位处理。In addition, the positioning signals received by the first terminal and the second terminal may also be acquired simultaneously. If one of the parties receives the first positioning signal transmitted by the other party, the positioning process is performed based on the reception information of the first positioning signal transmitted by the other party and the transmission information of the first positioning signal transmitted by the other party. If both parties receive the first positioning signal transmitted by the other party, according to the first transmission information of the first positioning signal transmitted by the first terminal, the first reception information of the first positioning signal received by the second terminal, and the first transmission information of the second terminal transmitted by the second terminal. The second transmission information of a positioning signal and the second reception information of the first positioning signal received by the first terminal perform positioning processing.

可以理解的是,若双方均接收到另一方发射的第一定位信号,根据第一终端发射第一定位信号的第一发射信息、第二终端接收到第一定位信号的第一接收信息、第二终端发射第一定位信号的第二发射信息以及第一终端接收到第一定位信号的第二接收信息来进行定位处理,由于进行定位处理的信息更多,因此终端定位的结果也更准确。It can be understood that, if both parties receive the first positioning signal transmitted by the other party, according to the first transmission information of the first positioning signal transmitted by the first terminal, the first reception information of the first positioning signal received by the second terminal, and the first positioning signal received by the second terminal. The second terminal transmits the second transmission information of the first positioning signal and the first terminal receives the second reception information of the first positioning signal to perform positioning processing. Since there is more information for positioning processing, the terminal positioning result is also more accurate.

在一个可能的实施方式中,若目标接收端接收到的第一定位信号为多个,则针对接收到的各第一定位信号,确定是否为目标定位信号;若是,则根据目标发射端发射目标定位信号的发射信息以及目标接收端接收到目标定位信号的接收信息进行定位处理。In a possible implementation, if there are multiple first positioning signals received by the target receiving end, it is determined whether each received first positioning signal is a target positioning signal; The transmission information of the positioning signal and the reception information of the target receiving end receiving the target positioning signal are used for positioning processing.

在一个可能的实施方式中,判断第一定位信号是否为目标发射端发射的目标定位信号,包括:In a possible implementation manner, judging whether the first positioning signal is the target positioning signal transmitted by the target transmitting end includes:

识别所述第一定位信号的第一信号特征;identifying a first signal characteristic of the first positioning signal;

若所述第一信号特征与所述目标定位信号对应的目标信号特征一致,则所述第一定位信号为目标发射端发射的目标定位信号。If the first signal characteristic is consistent with the target signal characteristic corresponding to the target positioning signal, the first positioning signal is the target positioning signal transmitted by the target transmitting end.

其中,第一信号特征是指第一定位信号的特征。可选的,第一信号特征可以是第一定位信号所占用的信道,还可以是第一定位信号的接收间隔时间,本实施例不作限制。目标信号特征是指目标定位信号的特征。相应的,目标信号特征可以是目标定位信号所占用的信道,也可以是目标定位信号的发射间隔时间。The first signal feature refers to the feature of the first positioning signal. Optionally, the first signal characteristic may be a channel occupied by the first positioning signal, and may also be a receiving interval of the first positioning signal, which is not limited in this embodiment. The target signal feature refers to the feature of the target positioning signal. Correspondingly, the target signal characteristic may be the channel occupied by the target positioning signal, or may be the transmission interval time of the target positioning signal.

在本实施例中,若第一信号特征与目标信号特征一致,则可以确定出第一定位信号为目标发射端发射的目标定位信号。In this embodiment, if the first signal characteristic is consistent with the target signal characteristic, it can be determined that the first positioning signal is the target positioning signal transmitted by the target transmitting end.

参考图3,图3为本申请实施例提供的另一种定位方法的流程示意图。本实施例适用于分别控制第一终端和第二终端发射定位信号的情形。在一个实施例中,如图3所示,定位方法包括:Referring to FIG. 3 , FIG. 3 is a schematic flowchart of another positioning method provided by an embodiment of the present application. This embodiment is applicable to the case where the first terminal and the second terminal are respectively controlled to transmit the positioning signal. In one embodiment, as shown in Figure 3, the positioning method includes:

步骤310、获取各第二定位信号的第二信号特征,所述第二定位信号包括在所述第一终端的预设范围内和/或所述第二终端的预设范围内监听到的第三终端发射的定位信号。Step 310: Acquire second signal characteristics of each second positioning signal, where the second positioning signal includes the first terminal monitored within the preset range of the first terminal and/or within the preset range of the second terminal. The positioning signal transmitted by the three terminals.

其中,第三终端是指能够发射定位信号的,但与第一终端和第二终端为非配套的终端。需要说明的是,第三终端不指代特定的终端。所有与第一终端和第三终端为非配套,且能够发射定位信号对第一终端和第二终端造成干扰的终端都可以认为是第三终端。第二定位信号是指监听到的第三终端发射的定位信号。具体的,第二定位信号对于第一终端和第二终端来说,可以认为是干扰信号。Wherein, the third terminal refers to a terminal capable of transmitting a positioning signal but not matched with the first terminal and the second terminal. It should be noted that the third terminal does not refer to a specific terminal. All terminals that are not matched with the first terminal and the third terminal and can transmit positioning signals to cause interference to the first terminal and the second terminal may be regarded as the third terminal. The second positioning signal refers to the monitored positioning signal transmitted by the third terminal. Specifically, the second positioning signal may be regarded as an interference signal for the first terminal and the second terminal.

在本实施例中,可以只监听第一终端的预设范围内的第三终端发射的定位信号,也可以是指监听第二终端的预设范围内的第三终端发射的定位信号,还可以是同时监听第一终端的预设范围内以及第二终端的预设范围内的第三终端发射的定位信号,本实施例不作限制。In this embodiment, only the positioning signal transmitted by the third terminal within the preset range of the first terminal may be monitored, or the positioning signal transmitted by the third terminal within the preset range of the second terminal may be monitored, or It is to simultaneously monitor the positioning signals transmitted by the third terminal within the preset range of the first terminal and within the preset range of the second terminal, which is not limited in this embodiment.

可选的,可以通过第一终端以及第二终端上设置的接收传感器监听第三终端发射的定位信号。其中,预设范围的大小可以取决于接收传感器可监听的范围。Optionally, the positioning signal transmitted by the third terminal may be monitored by receiving sensors provided on the first terminal and the second terminal. The size of the preset range may depend on the range that the receiving sensor can monitor.

需要说明的是,可以在第一终端和第二终端处于待机状态时监听第三终端发射的定位信号;例如可以是在第一终端和第二终端在开机时或者是初始化完成监听第三终端发射的定位信号。另外,也可以是在第一终端和第二终端处于工作状态监听第三终端发射的定位信号,本实施例不作限制。It should be noted that the positioning signal transmitted by the third terminal can be monitored when the first terminal and the second terminal are in a standby state; for example, the monitoring signal transmitted by the third terminal can be monitored when the first terminal and the second terminal are powered on or after the initialization is completed. positioning signal. In addition, it is also possible to monitor the positioning signal transmitted by the third terminal when the first terminal and the second terminal are in a working state, which is not limited in this embodiment.

步骤320、根据各第二定位信号的第二信号特征确定所述目标信号特征。Step 320: Determine the target signal feature according to the second signal feature of each second positioning signal.

在本实施例中,目标信号特征用于指示第一终端和第二终端之间交互的定位信号的干扰减小。In this embodiment, the target signal feature is used to indicate that the interference of the positioning signal interacted between the first terminal and the second terminal is reduced.

步骤330、分别控制所述第一终端和所述第二终端按照所述目标信号特征发射定位信号。Step 330: Control the first terminal and the second terminal respectively to transmit a positioning signal according to the characteristics of the target signal.

在本实施例中,分别控制第一终端和第二终端按照目标信号特征发射定位信号,可以使得第一终端和第二终端发射的目标定位信号的信号特征与目标信号特征一致。In this embodiment, the first terminal and the second terminal are respectively controlled to transmit the positioning signal according to the characteristics of the target signal, so that the signal characteristics of the target positioning signal transmitted by the first terminal and the second terminal are consistent with the characteristics of the target signal.

可选的,本实施例中的目标信号特征可以包括但不限于目标定位信号所占用的信道以及目标定位信号的发射间隔时间中的至少一项。Optionally, the target signal feature in this embodiment may include, but is not limited to, at least one of a channel occupied by the target positioning signal and a transmission interval time of the target positioning signal.

需要说明的是,若目标信号特征为发射间隔时间,则可以通过调节信号发射的占空比来调节第一终端和第二终端发射信号的频率,从而使得第一终端和第二终端发射的定位信号的信号特征呈现为目标信号特征。It should be noted that if the target signal characteristic is the transmission interval, the frequency of the signals transmitted by the first terminal and the second terminal can be adjusted by adjusting the duty cycle of the signal transmission, so that the positioning of the transmission by the first terminal and the second terminal can be achieved. The signal characteristics of the signal are presented as the target signal characteristics.

步骤340、获取目标接收端接收到的第一定位信号。Step 340: Acquire the first positioning signal received by the target receiving end.

步骤350、识别所述第一定位信号的第一信号特征。Step 350: Identify the first signal feature of the first positioning signal.

步骤360、判断第一信号特征与目标信号特征是否一致。Step 360: Determine whether the first signal feature is consistent with the target signal feature.

在本实施例中,若是,则执行步骤370。In this embodiment, if yes, step 370 is executed.

步骤370、根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系。Step 370: Perform positioning processing according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception information of the first positioning signal received by the target receiver to obtain the first terminal and the first positioning signal. The relative positional relationship between the second terminals.

在本实施例中,若第一定位信号的第一信号特征与目标定位信号的目标信号特征一致,则根据目标发射端发射第一定位信号的发射信息以及目标接收端接收到第一定位信号的接收信息进行定位处理。In this embodiment, if the first signal characteristic of the first positioning signal is consistent with the target signal characteristic of the target positioning signal, then according to the transmission information of the first positioning signal transmitted by the target transmitter and the data of the target receiver receiving the first positioning signal Receive information for positioning processing.

在示例的一些情形中,目标定位信号的信号特征都是固定的。然而,目标定位信号的信号特征固定,若第一终端和第二终端周边的第三终端为同类型产品,则第三终端也会以同一信号特征发射定位信号,则此时第一终端和第二终端中的其中一方接收到的第一定位信号,无法得知是配套的另一方发射的,还是非配套的同类型产品的第三终端发射的,从而导致终端定位的准确性降低。In some exemplary cases, the signal characteristics of the targeting signal are fixed. However, the signal characteristics of the target positioning signal are fixed. If the third terminal around the first terminal and the second terminal are products of the same type, the third terminal will also transmit the positioning signal with the same signal characteristics. It is impossible to know whether the first positioning signal received by one of the two terminals is transmitted by the other side of the matching terminal or transmitted by a third terminal of the same type of product that is not matched, thereby reducing the accuracy of terminal positioning.

本实施例的技术方案,通过监听第一终端的预设范围内和/或第二终端的预设范围的第三终端发射的第二定位信号,进而根据第二定位信号的第二信号特征确定出目标信号特征,从而控制第一终端和第二终端按照目标信号特征发射定位信号,由于目标信号特征是根据第一终端和/或第二终端周边的干扰信号的信号特征确定的,则确定出的目标信号特征可以使得第一终端和第二终端之间互相发送的目标定位信号与干扰信号尽可能的不同,以使得第一终端和第二终端之间的干扰尽可能地小,进一步提高终端定位的准确性。In the technical solution of this embodiment, the second positioning signal transmitted by the third terminal within the preset range of the first terminal and/or the preset range of the second terminal is monitored, and then the second positioning signal is determined according to the second signal characteristic of the second positioning signal. The target signal characteristics are obtained, thereby controlling the first terminal and the second terminal to transmit the positioning signal according to the target signal characteristics. Since the target signal characteristics are determined according to the signal characteristics of the interference signals around the first terminal and/or the second terminal, it is determined that The characteristic of the target signal can make the target positioning signal and the interference signal sent between the first terminal and the second terminal as different as possible, so as to make the interference between the first terminal and the second terminal as small as possible, and further improve the positioning accuracy.

以下实施例在上述任一实施例的基础上,对于如何确定目标信号特征进行进一步说明。The following embodiments further describe how to determine the characteristics of the target signal on the basis of any of the above-mentioned embodiments.

参考图4,图4为本申请实施例提供的一种确定目标信号特征的流程示意图。在一个实施例中,第二信号特征包括第二定位信号所占用的信道,第二定位信号所占用的信道为多个预设信道中的一个,如图4所示,根据各第二定位信号的第二信号特征确定目标信号特征,包括:Referring to FIG. 4 , FIG. 4 is a schematic flowchart of determining a feature of a target signal according to an embodiment of the present application. In one embodiment, the second signal characteristic includes a channel occupied by the second positioning signal, and the channel occupied by the second positioning signal is one of a plurality of preset channels. As shown in FIG. 4 , according to each second positioning signal The second signal characteristics of determine the target signal characteristics, including:

步骤410、根据各第二定位信号所占用的信道确定多个预设信道中的候选信道,所述候选信道中的第二定位信号的数量少于或等于任一个预设信道中的第二定位信号的数量。Step 410: Determine candidate channels among multiple preset channels according to the channels occupied by each second positioning signal, where the number of second positioning signals in the candidate channels is less than or equal to the second positioning signal in any one of the preset channels. number of signals.

在本实施例中,示例性的,假设多个预设信道包括信道1、信道2和信道3。若信道1中的第二定位信号的数量<信道2中第二定位信号的数量<信道3中第二定位信号的数量,则信道1为候选信道;若信道1中的第二定位信号的数量=信道2中第二定位信号的数量<信道3中第二定位信号的数量,则信道1和信道2为候选信道。In this embodiment, it is exemplarily assumed that the plurality of preset channels include channel 1, channel 2, and channel 3. If the number of second positioning signals in channel 1 < the number of second positioning signals in channel 2 < the number of second positioning signals in channel 3, then channel 1 is a candidate channel; if the number of second positioning signals in channel 1 = the number of second positioning signals in channel 2 < the number of second positioning signals in channel 3, then channel 1 and channel 2 are candidate channels.

需要说明的是,预设信道的频段可以根据需要进行设置。例如,信道1的频段为1MHz(赫兹)-1.5MHz;信道2的频段为1.5MHz(赫兹)-2MHz;信道3的频段为2MHz(赫兹)-2.5MHz,此处对于预设信道的具体数量以及预设信道的频段区间不作具体限制。It should be noted that the frequency band of the preset channel can be set as required. For example, the frequency band of channel 1 is 1MHz (Hertz)-1.5MHz; the frequency band of channel 2 is 1.5MHz (Hertz)-2MHz; the frequency band of channel 3 is 2MHz (Hertz)-2.5MHz, here for the specific number of preset channels And the frequency band interval of the preset channel is not specifically limited.

在一个可能的实施方式中,在根据各第二定位信号所占用的信道确定多个预设信道中的候选信道之前,包括:In a possible implementation manner, before determining a candidate channel among the multiple preset channels according to the channel occupied by each second positioning signal, the method includes:

获取各第一定位信号的信号频率以及各预设信道对应的信道频段,任意两个预设信道之间的信道频段互不重叠;根据各第一定位信号的信号频率所匹配的信道频段,确定各第一定位信号所占用的信道。Obtain the signal frequency of each first positioning signal and the channel frequency band corresponding to each preset channel, and the channel frequency bands between any two preset channels do not overlap each other; according to the channel frequency band matched by the signal frequency of each first positioning signal, determine Channel occupied by each first positioning signal.

在本实施例中,示例性的,假设多个预设信道包括信道1、信道2和信道3,监听到多个第二定位信号,分别为信号A、信号B和信号C。信道1的频段为1MHz(赫兹)-1.5MHz;信道2的频段为1.5MHz(赫兹)-2MHz;信道3的频段为2MHz(赫兹)-2.5MHz。信号A的频率为1.3MHz,则信号A占用信道1;信号B的频率为1.8MHz,则信号B占用信道2;信号C的频率为2.2MHz,则信号C占用信道3。In this embodiment, it is exemplarily assumed that the multiple preset channels include channel 1, channel 2, and channel 3, and multiple second positioning signals, which are signal A, signal B, and signal C, are monitored. The frequency band of channel 1 is 1MHz (Hertz)-1.5MHz; the frequency band of channel 2 is 1.5MHz (Hertz)-2MHz; the frequency band of channel 3 is 2MHz (Hertz)-2.5MHz. If the frequency of signal A is 1.3MHz, then signal A occupies channel 1; if the frequency of signal B is 1.8MHz, then signal B occupies channel 2; if the frequency of signal C is 2.2MHz, then signal C occupies channel 3.

步骤420、选择所述候选信道中的一个作为所述目标定位信号所占用的目标信道,所述目标信道为所述目标信号特征的一项。Step 420: Select one of the candidate channels as the target channel occupied by the target positioning signal, where the target channel is one of the characteristics of the target signal.

在本实施例中,将候选信道中的一个作为目标定位信号所占用的目标信道即可。例如,候选信道包括信道1,则将信道1作为目标信道;若候选信道包括信道1和信道2,则将信道1和信道2的其中一个作为目标信道。In this embodiment, one of the candidate channels may be used as the target channel occupied by the target positioning signal. For example, if the candidate channel includes channel 1, channel 1 is used as the target channel; if the candidate channel includes channel 1 and channel 2, one of channel 1 and channel 2 is used as the target channel.

可以理解的是,通过选择干扰信号数量最少的信道,作为第一终端与第二终端之间进行定位的目标定位信号的信号特征,则目标定位信号所占用的信道中的干扰信号的数量最少,可以使得被干扰的可能性尽量地低,从而提高了终端定位的准确性。It can be understood that, by selecting the channel with the least number of interference signals as the signal characteristic of the target positioning signal for positioning between the first terminal and the second terminal, the number of interference signals in the channel occupied by the target positioning signal is the least, The possibility of being interfered can be kept as low as possible, thereby improving the accuracy of terminal positioning.

在一个可能的实施方式中,所述选择所述候选信道中的一个作为所述目标定位信号所占用的目标信道,包括:In a possible implementation manner, the selecting one of the candidate channels as the target channel occupied by the target positioning signal includes:

若所述候选信道中的第二定位信号的数量为零,则选择所述候选信道中的任一个作为所述目标信道。If the number of second positioning signals in the candidate channels is zero, any one of the candidate channels is selected as the target channel.

在本实施例中,若候选信道中的第二定位信号的数量为零,则不管候选信道的数量是多少,则每个候选信道的干扰都是几乎没有的,则将候选信道中的任意一个作为目标信道即可。In this embodiment, if the number of second positioning signals in the candidate channels is zero, no matter the number of candidate channels, the interference of each candidate channel is almost non-existent, and any one of the candidate channels is as the target channel.

在一个可能的实施方式中,若候选信道的数量为一个,则将该候选信道作为目标信道即可。In a possible implementation manner, if the number of candidate channels is one, the candidate channel may be used as the target channel.

在一个可能的实施方式中,所述选择所述候选信道中的一个作为所述目标定位信号所占用的目标信道,包括:In a possible implementation manner, the selecting one of the candidate channels as the target channel occupied by the target positioning signal includes:

若所述候选信道为多个且所述候选信道中的第二定位信号的数量大于零,则根据各所述候选信道中的各第二定位信号的信号强度选择所述候选信道中的一个作为所述目标信道。If there are multiple candidate channels and the number of second positioning signals in the candidate channels is greater than zero, select one of the candidate channels as the signal strength of each second positioning signal in the candidate channels the target channel.

其中,所述目标信道中的第二定位信号的信号强度平均值小于或等于任一个候选信道中的第二定位信号的信号强度平均值;和/或所述目标信道中的各第二定位信号的信号强度小于或等于任一个候选信道中的各第二定位信号的信号强度。Wherein, the average signal strength of the second positioning signal in the target channel is less than or equal to the average signal strength of the second positioning signal in any candidate channel; and/or each second positioning signal in the target channel The signal strength of is less than or equal to the signal strength of each second positioning signal in any candidate channel.

在本实施例中,若候选信道为多个,且候选信道中的第二定位信号的数量大于零,则为了使得干扰尽量地小,需要根据各候选信道中的各第二定位信号的信号强度选择候选信道中的一个作为目标信道。In this embodiment, if there are multiple candidate channels and the number of second positioning signals in the candidate channels is greater than zero, in order to minimize the interference, the signal strength of each second positioning signal in each candidate channel needs to be determined according to the signal strength of each second positioning signal in each candidate channel. One of the candidate channels is selected as the target channel.

可选的,可以先检测各候选信道中的各第二定位信号的信号强度,进而确定各候选信道中的所有第二定位信号的信号强度平均值,从而选择信号平均值最小的候选信道作为目标信道。Optionally, the signal strength of each second positioning signal in each candidate channel may be detected first, and then the average signal strength of all second positioning signals in each candidate channel may be determined, so that the candidate channel with the smallest signal average value is selected as the target. channel.

另外,还可以是确定是否存在哪个预设候选信道中的最大信号强度小于其它候选信道的最小信号强度,若存在,则说明该预设候选信道的干扰信号的信号强度最小,因此将该预设候选信道作为目标信道。若该预设候选信道不存在,则再确定各候选信道中的所有第二定位信号的信号强度平均值,从而选择信号平均值最小的候选信道作为目标信道。In addition, it can also be determined whether there is a preset candidate channel whose maximum signal strength is lower than the minimum signal strength of other candidate channels. If there is, it means that the signal strength of the interference signal of the preset candidate channel is the smallest. The candidate channel is used as the target channel. If the preset candidate channel does not exist, then determine the average value of the signal strengths of all the second positioning signals in each candidate channel, so as to select the candidate channel with the smallest signal average value as the target channel.

在一个可能的实施方式中,第二信号特征包括监听间隔时间,监听间隔时间为连续两次监听到同一第二定位信号的间隔时间,根据各第二定位信号的第二信号特征确定目标信号特征,包括:In a possible implementation manner, the second signal characteristic includes a monitoring interval time, and the monitoring interval time is the interval time between two consecutive monitoring of the same second positioning signal, and the target signal characteristic is determined according to the second signal characteristic of each second positioning signal ,include:

根据各第二定位信号的监听间隔时间确定所述目标定位信号的信号发射间隔时间,所述信号发射间隔时间与所述监听间隔时间不同,所述信号发射间隔为所述目标信号特征的一项。The signal transmission interval time of the target positioning signal is determined according to the monitoring interval time of each second positioning signal, the signal transmission interval time is different from the monitoring interval time, and the signal transmission interval is an item of the characteristics of the target signal .

在本实施例中,将目标定位信号的信号发射间隔时间与监听间隔时间区分开,则可以通过接收的第一定位信号的接收间隔时间,确定第一定位信号是否为目标定位信号。具体的,若本次接收到第一定位信号与上一次接收到目标定位信号的接收间隔时间为确定的信号发射间隔时间,则可以确定该第一定位信号为目标定位信号。In this embodiment, the signal transmission interval time of the target positioning signal is distinguished from the monitoring interval time, and whether the first positioning signal is the target positioning signal can be determined according to the reception interval time of the received first positioning signal. Specifically, if the reception interval between the current reception of the first positioning signal and the last reception of the target positioning signal is the determined signal transmission interval, it can be determined that the first positioning signal is the target positioning signal.

示例性的,目标发射端每间隔10us发送一次定位信号,如果目标接收端接收到的第一定位信号与上一次接收到目标定位信号的接收间隔时间为10us,那么可以确定该第一定位信号为目标发射端发射的目标定位信号,从而进行定位处理。Exemplarily, the target transmitter sends a positioning signal every 10us. If the interval between the first positioning signal received by the target receiver and the last time the target positioning signal is received is 10us, then it can be determined that the first positioning signal is The target positioning signal transmitted by the target transmitting end is used for positioning processing.

可选的,可以将信号发射间隔时间设置为小于监听间隔时间。由此,可以保证定位准确,且第一终端与第二终端之间的相对位置关系也能够及时更新。Optionally, the signal transmission interval time may be set to be smaller than the monitoring interval time. Therefore, accurate positioning can be ensured, and the relative positional relationship between the first terminal and the second terminal can also be updated in time.

需要说明的是,同一第二定位信号的判定,可以是通过第二定位信号的频率来确定,若接收到两个频率相同的第二定位信号,则可以认为是同一第二定位信号。另外,还可以是通过第二定位信号所占用的信道来确定,例如两个占用同一信道的第二定位信号,则可以认为是同一第二定位信号,只要可以通过特定的标志特征来判定是否为同一第二定位信号即可,本实施例对于如何判定是否为同一第二定位信号的方式不作限制。It should be noted that the determination of the same second positioning signal may be determined by the frequency of the second positioning signal, and if two second positioning signals with the same frequency are received, it may be regarded as the same second positioning signal. In addition, it can also be determined by the channel occupied by the second positioning signal. For example, two second positioning signals occupying the same channel can be considered to be the same second positioning signal, as long as it can be determined by a specific marker feature. The same second positioning signal is sufficient, and this embodiment does not limit the manner of how to determine whether it is the same second positioning signal.

在一个可能的实施方式中,目标信号特征包括目标信道和信号发射间隔时间。In a possible implementation, the target signal characteristics include target channel and signal transmission interval time.

在本实施例中,可以是第一定位信号的所有第一信号特征均满足对应的目标信号特征,才认为该第一定位信号为目标定位信号。具体的,当第一定位信号所占用的信道为目标信道,且第一定位信号的接收间隔时间与信号发射间隔时间相同,则第一定位信号为目标定位信号。另外,也可以是第一定位信号的其中一个信号特征满足对应的目标信号特征即可,本实施例不作限制。In this embodiment, the first positioning signal may be regarded as a target positioning signal only when all the first signal characteristics of the first positioning signal satisfy the corresponding target signal characteristics. Specifically, when the channel occupied by the first positioning signal is the target channel, and the reception interval of the first positioning signal is the same as the signal transmission interval, the first positioning signal is the target positioning signal. In addition, it may also be that one of the signal characteristics of the first positioning signal satisfies the corresponding target signal characteristics, which is not limited in this embodiment.

参考图5,图5为本申请实施例提供的另一种定位方法的流程示意图。如图5所示,定位方法,包括:Referring to FIG. 5 , FIG. 5 is a schematic flowchart of another positioning method provided by an embodiment of the present application. As shown in Figure 5, the positioning method includes:

步骤501、第一终端进行初始化,并在初始化完成后监听第一终端的预设范围内的第二定位信号。Step 501: The first terminal performs initialization, and monitors a second positioning signal within a preset range of the first terminal after the initialization is completed.

步骤502、第二终端与第一终端同步初始化,并在初始化完成后监听第二终端的预设范围内的第二定位信号。Step 502 , the second terminal is initialized synchronously with the first terminal, and after the initialization is completed, a second positioning signal within a preset range of the second terminal is monitored.

步骤503、控制终端获取各第二定位信号的第二信号特征。Step 503: The control terminal acquires second signal characteristics of each second positioning signal.

步骤504、根据各第二定位信号的第二信号特征确定所述目标信号特征。Step 504: Determine the target signal feature according to the second signal feature of each second positioning signal.

步骤505、分别控制所述第一终端和所述第二终端按照所述目标信号特征发射定位信号。Step 505 , respectively control the first terminal and the second terminal to transmit a positioning signal according to the characteristics of the target signal.

步骤506、第一终端接收到第一定位信号;Step 506, the first terminal receives the first positioning signal;

步骤507、判断第一终端接收到的第一定位信号的第一信号特征是否为目标信号特征。Step 507: Determine whether the first signal feature of the first positioning signal received by the first terminal is the target signal feature.

在本步骤中,若是,则执行步骤508。In this step, if yes, step 508 is executed.

步骤508、根据第一终端接收到第一定位信号的接收信息和第二终端发射第一定位信号的发射信息进行定位处理。Step 508: Perform positioning processing according to the reception information of the first positioning signal received by the first terminal and the transmission information of the first positioning signal transmitted by the second terminal.

步骤509、第二终端接收到第一定位信号;Step 509, the second terminal receives the first positioning signal;

步骤510、判断第二终端接收到的第一定位信号的第一信号特征是否为目标信号特征。Step 510: Determine whether the first signal feature of the first positioning signal received by the second terminal is the target signal feature.

在本步骤中,若是,则执行步骤511。In this step, if yes, step 511 is executed.

步骤511、根据第二终端接收到第一定位信号的接收信息和第一终端发射第一定位信号的发射信息进行定位处理。Step 511: Perform positioning processing according to the reception information of the first positioning signal received by the second terminal and the transmission information of the first positioning signal transmitted by the first terminal.

可以理解的是,本实施例中,可以是控制终端确定出目标信号特征后,目标信号特征不再变更,此时第一终端和第二终端按照目标信号特征发射定位信号。同时,第一终端和第二终端若接收到第一定位信号,则将该第一定位信号发送至控制终端,则控制终端根据第一定位信号确定是否为目标定位信号,若是,则进行定位处理,从而及时更新第一终端和第二终端之间的相关位置关系。It can be understood that, in this embodiment, after the control terminal determines the characteristics of the target signal, the characteristics of the target signal are not changed, and the first terminal and the second terminal transmit the positioning signal according to the characteristics of the target signal. At the same time, if the first terminal and the second terminal receive the first positioning signal, the first positioning signal is sent to the control terminal, and the control terminal determines whether it is the target positioning signal according to the first positioning signal, and if so, performs positioning processing. , so as to update the relative position relationship between the first terminal and the second terminal in time.

另外,由于第一终端和第二终端的周边可能会不定时的有新加入的干扰设备,因此,还可以是定时对目标信号特征进行更新,即间隔预设更新时间重新执行步骤503,以定时更新目标信号特征,进一步提高终端定位的准确性。In addition, since there may be newly added interfering devices in the periphery of the first terminal and the second terminal from time to time, it is also possible to update the target signal characteristics periodically, that is, step 503 is re-executed at a preset update time, to regularly Update the target signal characteristics to further improve the accuracy of terminal positioning.

本实施例的技术方案,由于通过第一终端和第二终端同时进行定位信号的收发处理,若第一终端和第二终端的任意一方接收到对方发射的定位信号,都可以进行定位处理以得到第一终端与第二终端之间的相对位置关系,即使其中一方被干扰也不会影响第一终端和第二终端之间的相对位置关系的识别,提高了提高终端定位的准确性的技术效果。In the technical solution of this embodiment, since the first terminal and the second terminal simultaneously perform the receiving and sending processing of the positioning signal, if either of the first terminal and the second terminal receives the positioning signal transmitted by the other side, it can perform the positioning processing to obtain The relative positional relationship between the first terminal and the second terminal, even if one of them is interfered, will not affect the identification of the relative positional relationship between the first terminal and the second terminal, which improves the technical effect of improving the accuracy of terminal positioning .

需要说明的是,可以是分别获取第一终端接收到的第一定位信号以及第二终端接收到的第一定位信号,从而得到第一终端与第二终端之间的相对位置关系。It should be noted that, the first positioning signal received by the first terminal and the first positioning signal received by the second terminal may be obtained respectively, so as to obtain the relative positional relationship between the first terminal and the second terminal.

应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts involved in the above embodiments are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be performed at different times The execution order of these steps or phases is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or phases in the other steps.

基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的定位方法的定位装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个定位装置实施例中的具体限定可以参见上文中对于定位方法的限定,在此不再赘述。Based on the same inventive concept, an embodiment of the present application also provides a positioning device for implementing the above-mentioned positioning method. The solution to the problem provided by the device is similar to the solution described in the above method, so the specific limitations in one or more positioning device embodiments provided below can refer to the limitations on the positioning method above, here No longer.

参考图6,图6为本申请实施例提供的一种定位装置的结构示意图。在一个实施例中,如图6所示,提供了一种定位装置,包括信号获取模块610和定位处理模块620,其中,Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of a positioning device according to an embodiment of the present application. In one embodiment, as shown in FIG. 6, a positioning device is provided, including a signal acquisition module 610 and a positioning processing module 620, wherein,

信号获取模块610用于获取目标接收端接收到的第一定位信号;定位处理模块620用于若所述第一定位信号为目标发射端发射的目标定位信号,则根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。The signal acquisition module 610 is configured to acquire the first positioning signal received by the target receiving end; the positioning processing module 620 is configured to, if the first positioning signal is the target positioning signal transmitted by the target transmitter, transmit the signal according to the target transmitter. The transmission information of the first positioning signal and the reception information of the first positioning signal received by the target receiving terminal are subjected to positioning processing to obtain the relative positional relationship between the first terminal and the second terminal; wherein , the target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal.

在一个实施例中,该装置还包括:判断模块,用于识别所述第一定位信号的第一信号特征;若所述第一信号特征与所述目标定位信号对应的目标信号特征一致,则所述第一定位信号为目标发射端发射的目标定位信号。In one embodiment, the device further includes: a judgment module for identifying a first signal feature of the first positioning signal; if the first signal feature is consistent with the target signal feature corresponding to the target positioning signal, then The first positioning signal is a target positioning signal transmitted by the target transmitting end.

在一个实施例中,该信号获取模块610还用于获取各第二定位信号的第二信号特征,所述第二定位信号包括在所述第一终端的预设范围内和/或所述第二终端的预设范围内监听到的第三终端发射的定位信号;该装置还包括:特征确定模块,用于根据各第二定位信号的第二信号特征确定所述目标信号特征;控制模块,用于分别控制所述第一终端和所述第二终端按照所述目标信号特征发射定位信号。In one embodiment, the signal acquisition module 610 is further configured to acquire second signal characteristics of each second positioning signal, where the second positioning signal is included in the preset range of the first terminal and/or the first The positioning signal transmitted by the third terminal monitored within the preset range of the two terminals; the device further includes: a feature determining module, configured to determine the target signal feature according to the second signal feature of each second positioning signal; a control module, It is used to respectively control the first terminal and the second terminal to transmit a positioning signal according to the characteristics of the target signal.

在一个实施例中,所述第二信号特征包括所述第二定位信号所占用的信道,所述第二定位信号所占用的信道为多个预设信道中的一个,该特征确定模块包括:信道确定单元,用于根据各第二定位信号所占用的信道确定多个预设信道中的候选信道,所述候选信道中的第二定位信号的数量少于或等于任一个预设信道中的第二定位信号的数量;第一特征确定单元,用于选择所述候选信道中的一个作为所述目标定位信号所占用的目标信道,所述目标信道为所述目标信号特征的一项。In one embodiment, the second signal characteristic includes a channel occupied by the second positioning signal, and the channel occupied by the second positioning signal is one of a plurality of preset channels, and the characteristic determining module includes: A channel determination unit, configured to determine a candidate channel among a plurality of preset channels according to the channel occupied by each second positioning signal, where the number of the second positioning signals in the candidate channel is less than or equal to the number of the second positioning signals in any one of the preset channels. The number of second positioning signals; and a first feature determining unit, configured to select one of the candidate channels as a target channel occupied by the target positioning signal, where the target channel is an item of the target signal feature.

在一个实施例中,第一特征确定单元具体用于若所述候选信道中的第二定位信号的数量为零,则选择所述候选信道中的任一个作为所述目标信道。In an embodiment, the first feature determining unit is specifically configured to select any one of the candidate channels as the target channel if the number of the second positioning signals in the candidate channel is zero.

在一个实施例中,第一特征确定单元具体用于若所述候选信道为多个且所述候选信道中的第二定位信号的数量大于零,则根据各所述候选信道中的各第二定位信号的信号强度选择所述候选信道中的一个作为所述目标信道;其中,所述目标信道中的第二定位信号的信号强度平均值小于或等于任一个候选信道中的第二定位信号的信号强度平均值;和/或所述目标信道中的各第二定位信号的信号强度小于或等于任一个候选信道中的各第二定位信号的信号强度。In one embodiment, the first feature determining unit is specifically configured to, if there are multiple candidate channels and the number of second positioning signals in the candidate channels is greater than zero, determine the The signal strength of the positioning signal selects one of the candidate channels as the target channel; wherein, the average value of the signal strength of the second positioning signal in the target channel is less than or equal to the second positioning signal in any candidate channel. The average value of signal strength; and/or the signal strength of each second positioning signal in the target channel is less than or equal to the signal strength of each second positioning signal in any candidate channel.

在一个实施例中,所述第二信号特征包括监听间隔时间,所述监听间隔时间为连续两次监听到同一第二定位信号的间隔时间,该特征确定模块包括:第二特征确定单元,用于根据各第二定位信号的监听间隔时间确定所述目标定位信号的信号发射间隔时间,所述信号发射间隔时间与所述监听间隔时间不同,所述信号发射间隔为所述目标信号特征的一项。In one embodiment, the second signal characteristic includes a monitoring interval, and the monitoring interval is an interval between two consecutive monitoring of the same second positioning signal, and the characteristic determining module includes: a second characteristic determining unit, which uses In order to determine the signal transmission interval of the target positioning signal according to the monitoring interval of each second positioning signal, the signal transmission interval is different from the monitoring interval, and the signal transmission interval is one of the characteristics of the target signal. item.

上述定位装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above positioning device may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

参考图7,图7为本申请实施例提供的一种终端的结构示意图。在一个实施例中,提供了一终端,其内部结构图可以如图7所示。该终端包括处理器、存储器、输入/输出接口、通信接口、显示单元和输入装置。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口、显示单元和输入装置通过输入/输出接口连接到系统总线。其中,该终端的处理器用于提供计算和控制能力。该终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端的输入/输出接口用于处理器与外部设备之间交换信息。该终端的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种定位方法。该终端的显示单元用于形成视觉可见的画面,可以是显示屏、投影装置或虚拟现实成像装置。显示屏可以是液晶显示屏或者电子墨水显示屏,该终端的输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。Referring to FIG. 7 , FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application. In one embodiment, a terminal is provided, and its internal structure diagram may be as shown in FIG. 7 . The terminal includes a processor, a memory, an input/output interface, a communication interface, a display unit and an input device. Wherein, the processor, the memory and the input/output interface are connected through the system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. The processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The input/output interface of the terminal is used to exchange information between the processor and external equipment. The communication interface of the terminal is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. The computer program when executed by a processor implements a positioning method. The display unit of the terminal is used to form a visually visible picture, which may be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal can be a touch layer covered on the display screen, a button, a trackball or a touchpad set on the terminal shell, or an external device. Keyboard, trackpad or mouse, etc.

需要说明的是,终端可以包括但不限于个人计算机、笔记本电脑、智能手机、平板电脑、控制终端、物联网设备和便携式可穿戴设备,物联网设备可为智能音箱、智能电视、智能空调、智能车载设备等。便携式可穿戴设备可为智能手表、智能手环、头戴设备。It should be noted that terminals can include but are not limited to personal computers, notebook computers, smart phones, tablet computers, control terminals, IoT devices and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart Vehicle equipment, etc. Portable wearable devices can be smart watches, smart bracelets, and head-mounted devices.

本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. More or fewer components are shown in the figures, either in combination or with different arrangements of components.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行定位方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of the positioning method.

本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行定位方法。Embodiments of the present application also provide a computer program product containing instructions, which, when executed on a computer, cause the computer to execute the positioning method.

本申请实施例还提供了一种定位系统,包括第一终端和第二终端所述第一终端和所述第二终端用于同时进行定位信号的收发处理,以在目标接收端接收到的第一定位信号为目标发射端发射的目标定位信号的情况下,根据所述目标发射端发射所述第一定位信号的发射信息以及所述目标接收端接收到所述第一定位信号的接收信息进行定位处理,以得到所述第一终端与所述第二终端之间的相对位置关系;An embodiment of the present application further provides a positioning system, including a first terminal and a second terminal. The first terminal and the second terminal are used to perform receiving and sending processing of positioning signals at the same time, so that the first terminal and the second terminal received at the target receiving end In the case where a positioning signal is a target positioning signal transmitted by a target transmitter, according to the transmission information of the first positioning signal transmitted by the target transmitter and the reception information of the first positioning signal received by the target receiver positioning processing to obtain the relative positional relationship between the first terminal and the second terminal;

其中,所述目标接收端为所述第一终端和所述第二终端中的一个,所述目标发送端为所述第一终端和所述第二终端中的另一个。The target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other one of the first terminal and the second terminal.

需要说明的是,进行定位处理的执行,可以由第一终端和第二终端的其中一个来执行,也可以由与第一终端和第二终端配套的控制终端来执行,本实施例不作限制。It should be noted that the execution of the positioning process may be performed by one of the first terminal and the second terminal, or may be performed by a control terminal matched with the first terminal and the second terminal, which is not limited in this embodiment.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to a memory, a database or other media used in the various embodiments provided in this application may include at least one of a non-volatile memory and a volatile memory. Non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random Memory) Access Memory, MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory, and the like. As an illustration and not a limitation, the RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The database involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a blockchain-based distributed database, etc., but is not limited thereto. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., and are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the present application should be determined by the appended claims.

Claims (12)

1. A positioning method is applied to a positioning system, the positioning system includes a first terminal and a second terminal, the first terminal and the second terminal are used for simultaneously performing transceiving processing of positioning signals, and the method includes:
acquiring a first positioning signal received by a target receiving end;
if the first positioning signal is a target positioning signal transmitted by a target transmitting terminal, positioning according to transmitting information of the first positioning signal transmitted by the target transmitting terminal and receiving information of the first positioning signal received by a target receiving terminal, so as to obtain a relative position relationship between the first terminal and the second terminal;
the target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other of the first terminal and the second terminal.
2. The method of claim 1, wherein after acquiring the first positioning signal received by the target receiving end, the method comprises:
identifying a first signal characteristic of the first positioning signal;
and if the first signal characteristic is consistent with the target signal characteristic corresponding to the target positioning signal, the first positioning signal is a target positioning signal transmitted by a target transmitting terminal.
3. The method of claim 2, wherein prior to the acquiring the first positioning signal received by the target receiving end, the method comprises:
acquiring second signal characteristics of each second positioning signal, wherein the second positioning signal comprises a positioning signal transmitted by a third terminal monitored in a preset range of the first terminal and/or a preset range of the second terminal;
determining the target signal characteristic according to the second signal characteristic of each second positioning signal;
and respectively controlling the first terminal and the second terminal to transmit positioning signals according to the target signal characteristics.
4. The method of claim 3, wherein the second signal characteristics include a channel occupied by the second positioning signal, the channel occupied by the second positioning signal is one of a plurality of preset channels, and the determining the target signal characteristics according to the second signal characteristics of each second positioning signal includes:
determining candidate channels in a plurality of preset channels according to channels occupied by the second positioning signals, wherein the number of the second positioning signals in the candidate channels is less than or equal to that of the second positioning signals in any one of the preset channels;
and selecting one of the candidate channels as a target channel occupied by the target positioning signal, wherein the target channel is one item of the target signal characteristic.
5. The method as claimed in claim 4, wherein said selecting one of said candidate channels as the target channel occupied by said target positioning signal comprises:
and if the number of the second positioning signals in the candidate channels is zero, selecting any one of the candidate channels as the target channel.
6. The method as claimed in claim 4, wherein said selecting one of said candidate channels as the target channel occupied by said target positioning signal comprises:
if the candidate channels are multiple and the number of the second positioning signals in the candidate channels is greater than zero, selecting one of the candidate channels as the target channel according to the signal strength of each second positioning signal in each candidate channel;
wherein the average value of the signal strength of the second positioning signal in the target channel is less than or equal to the average value of the signal strength of the second positioning signal in any one of the candidate channels; and/or the signal strength of each second positioning signal in the target channel is less than or equal to the signal strength of each second positioning signal in any candidate channel.
7. The method of claim 3, wherein the second signal characteristic comprises a listening interval, the listening interval is an interval between two consecutive times of listening to the same second positioning signal, and the determining the target signal characteristic according to the second signal characteristic of each second positioning signal comprises:
and determining the signal transmission interval time of the target positioning signal according to the monitoring interval time of each second positioning signal, wherein the signal transmission interval time is different from the monitoring interval time, and the signal transmission interval is one item of the characteristics of the target signal.
8. A positioning apparatus, applied to a positioning system, where the positioning system includes a first terminal and a second terminal, and the first terminal and the second terminal are configured to perform transceiving processing on a positioning signal simultaneously, the apparatus comprising:
the signal acquisition module is used for acquiring a first positioning signal received by a target receiving end;
a positioning processing module, configured to perform positioning processing according to transmission information of the first positioning signal transmitted by a target transmitting end and reception information of the first positioning signal received by the target receiving end if the first positioning signal is a target positioning signal transmitted by a target transmitting end, so as to obtain a relative position relationship between the first terminal and the second terminal;
the target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other of the first terminal and the second terminal.
9. A terminal comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the computer program, when executed by the processor, causes the processor to carry out the steps of the method according to any of claims 1 to 7.
10. A positioning system is characterized by comprising a first terminal and a second terminal, wherein the first terminal and the second terminal are used for simultaneously carrying out receiving and sending processing on positioning signals, so that under the condition that a first positioning signal received by a target receiving terminal is a target positioning signal transmitted by a target transmitting terminal, positioning processing is carried out according to transmitting information of the first positioning signal transmitted by the target transmitting terminal and receiving information of the first positioning signal received by the target receiving terminal, and the relative position relation between the first terminal and the second terminal is obtained;
the target receiving end is one of the first terminal and the second terminal, and the target transmitting end is the other of the first terminal and the second terminal.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
12. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202210287493.6A 2022-03-23 2022-03-23 Positioning method, apparatus, system, terminal, storage medium and program product Pending CN114675256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210287493.6A CN114675256A (en) 2022-03-23 2022-03-23 Positioning method, apparatus, system, terminal, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210287493.6A CN114675256A (en) 2022-03-23 2022-03-23 Positioning method, apparatus, system, terminal, storage medium and program product

Publications (1)

Publication Number Publication Date
CN114675256A true CN114675256A (en) 2022-06-28

Family

ID=82073341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210287493.6A Pending CN114675256A (en) 2022-03-23 2022-03-23 Positioning method, apparatus, system, terminal, storage medium and program product

Country Status (1)

Country Link
CN (1) CN114675256A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100819392B1 (en) * 2006-12-29 2008-04-04 (재)대구경북과학기술연구원 JP and UWB interlocking positioning system and method
CN102253368A (en) * 2011-04-18 2011-11-23 杭州华韵天略电子科技有限公司 Target positioning and tracking system based on ultrasonic waves
CN102662157A (en) * 2012-04-06 2012-09-12 杭州锐昂科技有限公司 Mobile terminal position system based on multi-channel acoustic communication technology
CN105188025A (en) * 2015-06-04 2015-12-23 深圳信息职业技术学院 Method and system for sending positioning reference signals
CN109348514A (en) * 2018-11-07 2019-02-15 Oppo广东移动通信有限公司 Method and terminal for controlling electromagnetic interference
CN110461036A (en) * 2014-09-25 2019-11-15 华为技术有限公司 A kind of method and terminal for emitting, receiving synchronization signal
CN110536234A (en) * 2019-08-13 2019-12-03 中兴通讯股份有限公司 Method of determining position information, device, first terminal and second terminal
CN111385729A (en) * 2018-12-11 2020-07-07 中兴通讯股份有限公司 Speed measurement positioning method and terminal
CN111464222A (en) * 2020-03-13 2020-07-28 浙江大华技术股份有限公司 Method, device and equipment for receiving transmitted signal and computer readable storage medium
CN112312306A (en) * 2020-10-30 2021-02-02 歌尔光学科技有限公司 Positioning method and device
CN112752214A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Positioning method, positioning device, storage medium and wireless communication system
WO2021097598A1 (en) * 2019-11-18 2021-05-27 华为技术有限公司 Sidelink positioning method and apparatus
CN113286258A (en) * 2021-05-21 2021-08-20 Oppo广东移动通信有限公司 Positioning method, device, terminal, positioning base station and system
CN113612529A (en) * 2021-06-30 2021-11-05 中国电子科技集团公司第五十四研究所 Communication method of scattering communication system
WO2022014734A1 (en) * 2020-07-14 2022-01-20 엘지전자 주식회사 Terminal for controlling wireless sound device, and method therefor
WO2022033287A1 (en) * 2020-08-10 2022-02-17 华为技术有限公司 Channel switching method, access device, and user equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100819392B1 (en) * 2006-12-29 2008-04-04 (재)대구경북과학기술연구원 JP and UWB interlocking positioning system and method
CN102253368A (en) * 2011-04-18 2011-11-23 杭州华韵天略电子科技有限公司 Target positioning and tracking system based on ultrasonic waves
CN102662157A (en) * 2012-04-06 2012-09-12 杭州锐昂科技有限公司 Mobile terminal position system based on multi-channel acoustic communication technology
CN110461036A (en) * 2014-09-25 2019-11-15 华为技术有限公司 A kind of method and terminal for emitting, receiving synchronization signal
CN105188025A (en) * 2015-06-04 2015-12-23 深圳信息职业技术学院 Method and system for sending positioning reference signals
CN109348514A (en) * 2018-11-07 2019-02-15 Oppo广东移动通信有限公司 Method and terminal for controlling electromagnetic interference
CN111385729A (en) * 2018-12-11 2020-07-07 中兴通讯股份有限公司 Speed measurement positioning method and terminal
CN110536234A (en) * 2019-08-13 2019-12-03 中兴通讯股份有限公司 Method of determining position information, device, first terminal and second terminal
CN112752214A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Positioning method, positioning device, storage medium and wireless communication system
WO2021097598A1 (en) * 2019-11-18 2021-05-27 华为技术有限公司 Sidelink positioning method and apparatus
CN111464222A (en) * 2020-03-13 2020-07-28 浙江大华技术股份有限公司 Method, device and equipment for receiving transmitted signal and computer readable storage medium
WO2022014734A1 (en) * 2020-07-14 2022-01-20 엘지전자 주식회사 Terminal for controlling wireless sound device, and method therefor
WO2022033287A1 (en) * 2020-08-10 2022-02-17 华为技术有限公司 Channel switching method, access device, and user equipment
CN112312306A (en) * 2020-10-30 2021-02-02 歌尔光学科技有限公司 Positioning method and device
CN113286258A (en) * 2021-05-21 2021-08-20 Oppo广东移动通信有限公司 Positioning method, device, terminal, positioning base station and system
CN113612529A (en) * 2021-06-30 2021-11-05 中国电子科技集团公司第五十四研究所 Communication method of scattering communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王浩 等: "基于STM32的分体式超声测距与目标定位系统", 《仪表技术与传感器》, no. 02, 15 February 2017 (2017-02-15), pages 58 - 61 *

Similar Documents

Publication Publication Date Title
CN113259952B (en) Beam pointing method, device, equipment and medium
CN108540965B (en) Internet of things communication method and device based on LoRa technology and storage medium
CN108781410B (en) Scanning method and device
EP3087683B1 (en) Apparatus, system and method of bluetooth communication
CN113692046B (en) Label positioning method and device, computer equipment and storage medium
CN113064185B (en) Positioning method, terminal and server
WO2021072846A1 (en) Position acquisition method and apparatus, and storage medium and electronic device
US20140160978A1 (en) Method and apparatus for low energy discovery
US20150220171A1 (en) Method for processing input and electronic device thereof
WO2022268197A1 (en) Positioning processing method, positioning reference signal sending method, apparatus, and device
WO2021155762A1 (en) Method for determining beam information, terminal and network side device
WO2023202141A1 (en) Display method, control device and computer storage medium
WO2019218737A1 (en) Video picture display method in large screen system, apparatus, and storage medium
WO2016037569A1 (en) Wireless communication connection establishing method and terminal device
CN105764040B (en) Method for controlling communication and electronic device thereof
CN114675256A (en) Positioning method, apparatus, system, terminal, storage medium and program product
CN111465096B (en) Wireless positioning method, device and storage medium
CN114660538A (en) Positioning method, device, system, terminal, storage medium and program product
US9338578B2 (en) Localization control method of sound for portable device and portable device thereof
CN115134272B (en) Time delay determining method, time delay determining device, computer equipment and storage medium
WO2023088423A1 (en) Positioning method and apparatus, and terminal and network side device
WO2023179119A1 (en) Near field communication device connection method and apparatus, device, storage medium, and product
CN115061124A (en) Radiation source positioning method, radiation source positioning device, computer equipment and storage medium
CN113791380A (en) UWB angle measurement method, terminal device, tag device, and storage medium
CN112904345A (en) Positioning system and positioning method

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