CN114697863B - Positioning method and device - Google Patents

Positioning method and device Download PDF

Info

Publication number
CN114697863B
CN114697863B CN202210515479.7A CN202210515479A CN114697863B CN 114697863 B CN114697863 B CN 114697863B CN 202210515479 A CN202210515479 A CN 202210515479A CN 114697863 B CN114697863 B CN 114697863B
Authority
CN
China
Prior art keywords
phase
channel
data
result
mobile terminal
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.)
Active
Application number
CN202210515479.7A
Other languages
Chinese (zh)
Other versions
CN114697863A (en
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.)
Nanjing Chuangxin Huilian Technology Co ltd
Original Assignee
Nanjing Chuangxin Huilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Chuangxin Huilian Technology Co ltd filed Critical Nanjing Chuangxin Huilian Technology Co ltd
Priority to CN202210515479.7A priority Critical patent/CN114697863B/en
Publication of CN114697863A publication Critical patent/CN114697863A/en
Application granted granted Critical
Publication of CN114697863B publication Critical patent/CN114697863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a positioning method and a positioning device, wherein the method is applied to a mobile terminal and comprises the following steps: in an idle state of the network, receiving signal data broadcast by a network hot spot, wherein the signal data comprises data of a plurality of first channels; separating the plurality of first channels to obtain channel data of each first channel in the plurality of first channels; determining whether the channel data is a beacon frame; and when the channel data is a beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal. The technical scheme of the application can reduce the time of radio frequency switching when the channel is changed while realizing the rapid positioning of the mobile terminal.

Description

Positioning method and device
Technical Field
The application relates to the technical field of mobile terminal positioning, in particular to a positioning method and a positioning device.
Background
After the terminal of the internet of things accesses the network, the terminal of the internet of things has a need of utilizing the network (such as WiFi) to assist in positioning. However, in the actual positioning process, the mobile terminal needs to traverse each channel of the network frequency point, which results in long scanning time, and in the positioning process, the mobile terminal needs to support sending of the network frame, so that additional requirements are also placed on the power consumption of the mobile terminal.
In view of this, how to achieve fast positioning of a mobile terminal is a technical problem to be solved.
Disclosure of Invention
In view of this, the embodiments of the present application provide a positioning method and apparatus, which can improve the positioning efficiency of a mobile terminal and reduce the time of radio frequency switching during channel change.
In a first aspect, an embodiment of the present application provides a positioning method, which is applied to a mobile terminal, including: in an idle state of the network, receiving signal data broadcast by a network hot spot, wherein the signal data comprises data of a plurality of first channels; separating the plurality of first channels to obtain channel data of each first channel in the plurality of first channels; determining whether the channel data is a beacon frame; and when the channel data is a beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal.
In some embodiments of the present application, separating the plurality of first channels to obtain channel data of each of the plurality of first channels includes: filtering the signal data to obtain filtered signal data; and carrying out frequency spectrum shifting on the filtered signal data to acquire the channel data of each first channel.
In some embodiments of the present application, determining whether the channel data is a beacon frame comprises: acquiring a first phase and a second phase on channel data; the first phase and the second phase are respectively related to the first preamble to obtain a maximum diameter and a secondary maximum diameter; acquiring a first despreading result based on the maximum diameter and the secondary diameter; demodulating and descrambling the first despreading result to obtain an information protocol data unit; and judging whether the information protocol data unit is a beacon frame or not according to the parameter information included in the information protocol data unit.
In some embodiments of the present application, obtaining a first despreading result based on a largest diameter and a next largest diameter includes: acquiring a first weight and a second weight based on the maximum diameter and the secondary diameter; respectively normalizing the first weight and the second weight to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight; respectively performing despreading processing on the first phase and the second phase to obtain a second despreading result of the first phase and a third despreading result of the second phase; and adding the product of the first normalization result and the second despreading result with the product of the second normalization result and the third despreading result to obtain a first despreading result.
In some embodiments of the present application, correlating the first phase and the second phase with the first preamble, respectively, to obtain a maximum path and a second maximum path includes: sliding correlation is carried out on the first phase and the second phase with the first lead code respectively, and a first correlation result of the first phase and a second correlation result of the second phase are obtained; combining the first correlation result and the second correlation result to obtain a combined sequence; the maximum value in the combined sequence is taken as the maximum diameter, and the next largest value in the combined sequence is taken as the next largest diameter.
In certain embodiments of the application, the method further comprises: the phase data corresponding to the maximum diameter is correlated with a second preamble, and a plurality of segmentation correlation results are obtained, wherein the phase data is a first phase or a second phase, and the second preamble and the first preamble form a complete preamble; multiply accumulating the plurality of segmented correlation results to obtain an accumulated result; performing angle conversion on the accumulated result to obtain a third phase; and when the third phase exceeds a preset phase threshold value, judging that adjacent channel interference exists and discarding channel data.
In some embodiments of the present application, receiving signal data broadcast by a network hotspot includes: receiving signal data broadcast by a network hotspot based on a first sampling rate, wherein before acquiring the first phase and the second phase on the channel data, the method further comprises: converting the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sample rate.
In certain embodiments of the application, the method further comprises: judging whether the signal intensity of a channel to be received in a first channel received in a preset period is smaller than a preset intensity threshold value or not; and when the signal strength is greater than or equal to a preset strength threshold value, receiving channel data in the first channel.
In some embodiments of the present application, further comprising: and when the intensity of the signal data is smaller than a preset intensity threshold value, switching to a plurality of second channels to iteratively execute the positioning method.
In a second aspect, an embodiment of the present application provides a positioning device, applied to a mobile terminal, including: the receiving module is used for receiving signal data broadcast by a network hot spot in an idle state of the network, wherein the signal data comprise data of a plurality of first channels; the separation acquisition module is used for separating the plurality of first channels to acquire channel data of each first channel in the plurality of first channels; a determining module, configured to determine whether the channel data is a beacon frame; and the acquisition module is used for acquiring parameter information in the beacon frame when the channel data is the beacon frame so as to realize the positioning of the mobile terminal.
In a third aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program for executing the positioning method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor; a memory for storing processor-executable instructions, wherein the processor is configured to perform the positioning method of the first aspect described above.
The embodiment of the application provides a positioning method and a positioning device, which can simultaneously receive signal data of a plurality of first channels in an idle state of a network and analyze the channel data of each first channel in the plurality of first channels, so that the embodiment of the application can realize the requirement of auxiliary positioning of a mobile terminal on the premise of not influencing the normal communication function of the mobile terminal. In addition, the beacon frames in the plurality of channel data are detected and demodulated once, so that the positioning efficiency of the mobile terminal is improved, and the radio frequency switching time during channel change is reduced. In addition, the embodiment of the application analyzes the received signal data to acquire the parameter information in the beacon frame to realize the positioning of the mobile terminal, so that the mobile terminal (namely the transmitting side) has no power consumption and other requirements, and the design of the mobile terminal is simplified.
Drawings
Fig. 1 is a schematic structural diagram of a positioning system according to an exemplary embodiment of the present application.
Fig. 2 is a flow chart of a positioning method according to an exemplary embodiment of the present application.
Fig. 3 is a flow chart of a positioning method according to another exemplary embodiment of the present application.
Fig. 4 is a schematic flow chart of processing signal data by a mobile terminal according to an exemplary embodiment of the present application.
Fig. 5 is a flowchart of a positioning method according to another exemplary embodiment of the present application.
Fig. 6 is a flowchart of a positioning method according to still another exemplary embodiment of the present application.
Fig. 7 is a flowchart of a positioning method according to still another exemplary embodiment of the present application.
Fig. 8 is a flowchart of a positioning method according to still another exemplary embodiment of the present application.
Fig. 9 is a flowchart of a positioning method according to still another exemplary embodiment of the present application.
Fig. 10 is a schematic structural view of a positioning device according to an exemplary embodiment of the present application.
Fig. 11 is a block diagram of an electronic device for positioning provided by an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Summary of the application
The internet of things (The Internet of Things, IOT) terminal has a requirement of utilizing WIFI (also called Wi-Fi) to assist in positioning after accessing a long term evolution (Long Term Evolution, LTE) network, and at this time, a WIFI scanning process is required to be used to complete BSSID (Basic Service Set Identifier) collection and power estimation of a nearby wireless Access Point (AP), and the internet of things terminal (i.e., mobile terminal) finishes query positioning after reporting.
Common WIFI scanning methods include active scanning and passive scanning. The active scanning is that the terminal of the Internet of things actively transmits a detection request frame, and then receives a detection response frame replied by the AP to complete BSSID collection; the passive scanning is that the terminal of the internet of things passively detects a beacon frame (also called beacon frame) broadcasted by an AP to complete BSSID collection. The active scanning occupies a short time, but the terminal is required to support the transmission of the WIFI frame, and extra requirements are imposed on the power consumption of the terminal; passive scanning takes a long time, but there is no design requirement and no power consumption requirement on the transmitting side.
In order to solve the above problems, various non-limiting embodiments of the present application will be specifically described below with reference to the accompanying drawings.
Exemplary System
Fig. 1 is a schematic structural diagram of a positioning system according to an exemplary embodiment of the present application. Referring to fig. 1, the location system 100 includes a network hotspot 110 and a mobile terminal 120.
The network hotspot 110 may be a wireless access point, i.e. a WiFi hotspot, and the network hotspot 110 may periodically broadcast signal data to the outside. The number of network hotspots 110 may be 1 or more, and the network hotspots are not particularly limited in the embodiment of the present application.
The mobile terminal 120 may be an internet of things terminal to be located, for example, a refrigerator, an air conditioner, etc. Also, the number of mobile terminals 120 may be one or more, and the types thereof may be the same or different. For example, the number of the mobile terminals 120 may be one, or the number of the mobile terminals 120 may be more than ten, or more, and the number and types of the mobile terminals are not particularly limited in the embodiment of the present application. The mobile terminal 120 may receive the signal data sent by the network hotspot 110, and parse the received signal data to obtain parameter information included in the signal data, so as to implement positioning of the mobile terminal 120, where the parameter information may be BSSID collection, power estimation, and the like.
Exemplary method
Fig. 2 is a flow chart of a positioning method according to an exemplary embodiment of the present application. The method of fig. 2 is performed by a computing device, e.g., a mobile terminal or a processor of a mobile terminal. As shown in fig. 2, the positioning method includes the following.
210: and in an idle state of the network, receiving signal data broadcast by network hotspots.
In one embodiment, the signal data includes data of a plurality of first channels.
Specifically, the mobile terminal (or the processor of the mobile terminal) may collect signal data of a preset time based on a first sampling rate (e.g. 30.72 MHz) at a hardware outlet of the digital front end (Digital Front End, DFE) based on an idle state of the network, and store the signal data into a memory (e.g. a random access memory), so that a subsequent processor repeatedly reads the signal data in the memory, and completes detection and demodulation of the signal data, so as to implement positioning of the mobile terminal. The preset Time may be the longest Channel Time (Max Channel Time), and the specific value of the preset Time is not specifically limited in the embodiment of the present application.
The IDLE state of the network may be an IDLE state (also referred to as IDLE DRX) of the LTE network. LTE has two discontinuous reception (Discontinuous Reception, DRX) mechanisms, one is Connected DRX (CDRX) and the other is Idle DRX (also called Idle DRX) mechanism, i.e. paging mechanism. The mobile terminal can receive signal data broadcast by network hotspots in an idle state under a DRX mechanism.
It should be noted that, the mobile terminal may support an LTE communication mode, and the mobile terminal may also support a higher order communication mode, and the communication mode supported by the mobile terminal is not specifically limited in the embodiment of the present application.
The network hotspot may be a WiFi hotspot, where the WiFi hotspot typically employs Direct Sequence Spread Spectrum (DSSS) to broadcast signal data periodically.
The process that the mobile terminal receives signal data broadcast by a network hotspot (i.e., AP) can be understood as a passive scanning process, i.e., the mobile terminal can complete WiFi passive scanning in the IDLE state of LTE. That is, the embodiment of the present application adopts a passive scanning manner, so that the mobile terminal in the embodiment of the present application does not need to consider the requirement of transmitting information (e.g. request frame), and does not need to establish connection with a network hotspot, and the mobile terminal discards channel data (e.g. channel data with longer data length) exceeding the processing capability of the mobile terminal.
The signal data may be a channel group, and the signal data may include channel data of a plurality of first channels, wherein the number of the first channels may be 2 or 3, which is not particularly limited in the embodiment of the present application. For example, the number of the first channels may be 3, that is, the center of the frequency point corresponds to one first channel, and two sides each correspond to one first channel.
Preferably, the embodiment of the present application sets the number of the first channels to 3 based on the limitation of the bandwidth.
It should be noted that, the first channel may be understood as a channel for communication transmission between the network hotspot and the mobile terminal, for example, the first channel may be a WiFi channel, the channel data may be a WiFi signal sent by the WiFi channel, and the channel group may be a combination of every 3 adjacent WiFi channels.
In one embodiment, prior to step 110, the method further comprises: the processor of the mobile terminal turns on the receive path (i.e., RX path) on the mobile terminal hardware and completes the configuration of the automatic gain control (Automatic Gain Control, AGC) so that the receive and output voltages remain constant when the signal data changes significantly.
220: and separating the plurality of first channels to obtain channel data of each first channel in the plurality of first channels.
Specifically, the mobile terminal (or a processor of the mobile terminal) may perform filtering processing on the signal data to obtain filtered signal data. And then separating the filtered signal data by utilizing frequency spectrum shifting to acquire the channel data of each first channel. It should be understood that the signal data received by the mobile terminal is data of a channel group including a plurality of first channels (e.g., 3 first channels), and herein the plurality of first channels are separated by applying a spectrum shifting technique.
It should be noted that, for details of this step, please refer to the description of the embodiment of fig. 2, and further description is omitted here for avoiding repetition.
230: it is determined whether the channel data is a beacon frame.
Specifically, the mobile terminal (or the processor of the mobile terminal) may determine simultaneously whether the channel data of each of the plurality of first channels is a beacon frame, that is, the detection of the channel data in the plurality of first channels is in a parallel state.
In another embodiment, the processor of the mobile terminal may determine whether the channel data of each of the plurality of first channels is a beacon frame one by one in a preset order.
Preferably, in order to increase the recognition speed, the embodiment of the present application adopts a mode of simultaneous determination to detect and analyze channel data of each of the plurality of first channels simultaneously.
In an embodiment, the mobile terminal (or the processor of the mobile terminal) performs despreading, demodulation and descrambling processing on the channel data, and performs a check on the descrambled channel data, where the check may use a cyclic redundancy check (Cyclic Redundancy Check, CRC) or the like; after the channel data passes the CRC detection, acquiring an information protocol data unit (Message Protocol Data Unit, MPDU); determining whether the channel data is a beacon frame based on the MPDU, performing step 240 when the channel data is a beacon frame, otherwise discarding the channel data (i.e., discarding the MPDU).
240: and when the channel data is a beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal.
Specifically, when the channel data is a beacon frame, that is, when the MUPD is a beacon frame, the processor of the mobile terminal may parse the BSSID field of the MUPD; and the mobile terminal reports the BSSID and the frame power to realize the positioning of the mobile terminal.
In another embodiment, the channel data is discarded when it is not a beacon frame, i.e., the MUPD is discarded when it is not a beacon frame.
It should be noted that, in order to reduce the omission ratio of the beacon frame, steps 210 to 240 in the embodiments of the present application may be repeatedly performed, and after the repetition is completed, the scanning may be performed by switching to another channel group.
It should be further noted that, in the embodiment of the present application, the parallel passive scanning on multiple adjacent WiFi channels is realized by using a higher sampling rate on the transmitting or receiving side (i.e., TX/RX side) in the LTE mode. And starting a WiFi passive scanning in an idle state after the LTE resides, ending the scanning process before the LTE wakes up, jointly completing traversal of each channel group of the WiFi current frequency point by multiple times of scanning, and outputting BSSID and power values of each AP of the WiFi after the traversal is completed so as to realize positioning of the mobile terminal.
Therefore, in the embodiment of the application, the signal data of the plurality of first channels are received simultaneously in the idle state of the network, and the channel data of each first channel in the plurality of first channels is analyzed, so that the embodiment of the application realizes the requirement of auxiliary positioning of the mobile terminal on the premise of not influencing the normal communication function of the mobile terminal. In addition, the beacon frames in the plurality of channel data are detected and demodulated once, so that the positioning efficiency of the mobile terminal is improved, and the radio frequency switching time during channel change is reduced. In addition, the embodiment of the application analyzes the received signal data to acquire the parameter information in the beacon frame to realize the positioning of the mobile terminal, so that the mobile terminal (namely the transmitting side) has no power consumption and other requirements, and the design of the mobile terminal is simplified.
Fig. 3 is a flow chart of a positioning method according to another exemplary embodiment of the present application. The embodiment of fig. 3 is a description of step 220 in the embodiment of fig. 2. As shown in fig. 3, this step 220 includes the following.
310: and filtering the signal data to obtain filtered signal data.
In particular, the mobile terminal may adjust the sampling rate using an analog-to-digital converter (Analog to Digital Converter, ADC), for example, using the ADC to adjust the sampling rate of the mobile terminal to a first sampling rate in LTE mode, i.e., 30.72MHz. And further receives signal data broadcast by the network hotspot based on the first sampling rate. And then downsampling the signal data to obtain downsampled signal data, and further filtering the downsampled signal data by the mobile terminal through a filter (Finite Impulse Response, FIR) to obtain filtered signal data, wherein the type and the specific filtering method of the filter are not particularly limited.
320: and carrying out frequency spectrum shifting on the filtered signal data to acquire the channel data of each first channel.
Specifically, the mobile terminal (or a processor of the mobile terminal) performs spectrum shifting on the filtered signal data, and separates the signal data including the plurality of first channels to obtain channel data of each of the plurality of first channels.
In an example, the processor of the mobile terminal may shift the center frequency of any first channel in the signal data to zero frequency, which may save computing resources and facilitate subsequent demodulation computation.
It should be noted that the steps before the filtering process may be implemented in a hardware part of the mobile terminal, the steps of sampling rate conversion and subsequent spectrum shifting may be implemented in a software part of the mobile terminal, for example, see fig. 4, where the ADC411, downsampling 412 (also called downsampling) and FIR413 are implemented in the hardware part 410 of the mobile terminal, and the sampling rate conversion 421, separation of channel data 422 and detection and parsing 423 of the channel data are implemented in the software part.
Therefore, the embodiment of the application can ensure the subsequent simultaneous detection and demodulation of the channel data of different channels while satisfying the software and hardware division through filtering and frequency shift.
Fig. 5 is a flowchart of a positioning method according to another exemplary embodiment of the present application. The embodiment of fig. 5 is a description of step 230 in the embodiment of fig. 2. As shown in fig. 5, this step 230 includes the following.
510: a first phase and a second phase on the channel data are acquired.
In particular, the channel data may be a WiFi signal, and DSSS of the channel data uses a barker sequence of 11 chips, where each chip corresponds to 2 sample points, namely a first phase (e.g., phase 0) and a second phase (e.g., phase 1). That is, the first phase may be data corresponding to the acquired phase 0 on the received channel data of each first channel; the second phase may be data corresponding to the acquired phase 1 on the received channel data of each first channel.
The processor of the mobile terminal outputs a sampling rate 2 times the chip rate, that is, a sampling rate of 22MHz.
It should be further noted that the embodiment of the present application may be understood as combining gain by performing the phase 0 (i.e., the first phase) and the phase 1 (i.e., the second phase).
520: and respectively correlating the first phase and the second phase with the first lead code to obtain a maximum diameter and a secondary large diameter.
Specifically, the first preamble may be a sequence header of a preamble sequence, which may be a fixed local preamble sequence, for example, a preamble sequence included in channel data (or a data packet). It should be noted that, whether the channel data is a beacon frame or not, the data packet sent by each first channel includes a local preamble sequence, and the preamble sequence has two types of long/short.
In an embodiment, the processor of the mobile terminal may perform sliding correlation on the first phase and the second phase with the first preamble, respectively, to obtain a first correlation result of the first phase and a second correlation result of the second phase; the first correlation result and the second correlation result are staggered and combined according to the time sequence to obtain a combined sequence; and further taking the maximum value in the combined sequence as the maximum diameter and taking the next largest value in the combined sequence as the next largest diameter, wherein the next largest value is positioned at the left side and the right side of the maximum value.
530: based on the maximum diameter and the second maximum diameter, a first despreading result is obtained.
Specifically, the maximum value corresponding to the maximum diameter in the combined sequence is used as the first weight (i.e. h 0 ) And taking the next largest value corresponding to the next largest diameter in the merged series as a second weight (i.e. h 1 ). And respectively normalizing the first weight and the second weight to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight.
Further, despreading processing is performed on the first phase and the second phase, and a second despreading result of the first phase and a third despreading result of the second phase are obtained. And further acquiring a first despreading result based on the first normalization result, the second despreading result and the third despreading result.
540: and demodulating and descrambling the first despreading result to obtain an information protocol data unit.
Specifically, the mobile terminal (or the processor of the mobile terminal) may use a DBPSK (differential Binary Phase Shift Keying, differential binary phase shift monitoring) or DQPSK (differential quadrature phase shift keying ) modulation mode to demodulate, and the embodiment of the present application does not specifically limit the demodulation mode. The descrambling manner can also be flexibly set according to the actual application situation, and the embodiment of the application is not particularly limited. It should be noted that, the processor of the mobile terminal may implement the DSSS demodulation and descrambling functions through software, and its operand is in a controllable range.
Further, after demodulating and descrambling the first despreading result, the descrambled channel data is converted into a MAC frame (medium acess control, medium access control) by the physical layer frame. The beacon frame of the channel data belongs to a MAC frame, and the MAC frame includes a MAC frame header, a MAC frame body, and a frame check sequence, where the MAC frame header has a frame control field therein.
In one embodiment, in the physical layer preamble field of a physical layer frame, the position of the physical layer frame header is found, and then the information protocol data unit (i.e., MPDU) is obtained from the physical layer frame header, where MPDU may be understood as a MAC layer protocol data unit.
For example, in a signal field in a physical layer frame header, a transmission speed of MPDUs is obtained; and obtaining the data length of the MPDU in a length field in the physical layer frame header.
It should be noted that, whether the channel data (or MPDU) in steps 510 to 540 is a beacon frame is not determined, and step 550 is required to make a determination.
550: and judging whether the information protocol data unit is a beacon frame or not according to the parameter information included in the information protocol data unit.
Specifically, the parameter information may include a Type parameter (Type) and a Subtype parameter (Subtype). Wherein the information protocol data unit has a frame control field comprising the type parameter and the subtype parameter. The processor of the mobile terminal may determine whether the MPDU is a beacon frame based on the type parameter and the subtype parameter.
Therefore, compared with the identification of the beacon frame only through a single path (for example, single phase 0), the embodiment of the application improves the receiving performance of the mobile terminal through the identification of two paths (namely, phase 0 and phase 1).
Fig. 6 is a flowchart of a positioning method according to still another exemplary embodiment of the present application. The fig. 6 embodiment is a description of step 530 in the fig. 5 embodiment. As shown in fig. 6, this step 530 includes the following.
610: and acquiring a first weight and a second weight based on the maximum diameter and the secondary diameter.
Specifically, a maximum correlation value corresponding to the maximum diameter is used as a first weight h 0 The second maximum correlation value corresponding to the second maximum diameter is used as a second weight h 1
620: and respectively normalizing the first weight and the second weight to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight.
Specifically, the normalized formula is shown in the following formula (1) and formula (2).
Wherein, the liquid crystal display device comprises a liquid crystal display device,is the first normalization result; />Is the second normalization result; h is a 0 Is a first weight; h is a 1 Is the second weight.
630: and respectively performing despreading processing on the first phase and the second phase to obtain a second despreading result of the first phase and a third despreading result of the second phase.
Specifically, a processor of the mobile terminal performs despreading processing on a first phase of received channel data to obtain a second despreading result, and performs despreading processing on the second phase of the received channel data to obtain a third despreading result.
640: and adding the product of the first normalization result and the second despreading result to the product of the second normalization result and the third despreading result to obtain a first despreading result.
Specifically, a first product of the first normalization result and the second despreading result and a second product of the second normalization result and the third despreading result are calculated, and then the first product and the second product are combined (i.e., added) to obtain a combined first despreading result. It should be noted that, step 640 may be understood as combining the results of the despread two phases according to the rake weight, and performing the subsequent demodulation process, where the combining process may be referred to as the following formula (3).
Wherein, the liquid crystal display device comprises a liquid crystal display device,is the first normalization result; />Is the second normalization result; r is (r) 1 Is the third despreading result; r is (r) 0 Is the second despreading result; r is the combined first despreading result.
It should be noted that, in the mobile terminal according to the embodiment of the present application, the preamble detection performs two-path (i.e., the first phase and the second phase) identification, and the preamble detection is combined with the subsequent design (i.e., analysis of the channel data) to implement the correlation function of the Rake receiver.
As can be seen, in the embodiment of the present application, by identifying the first phase and the second phase (i.e., performing two-path identification), and combining the despreading results of the first phase and the second phase, the mobile terminal can separate multipath signals, and effectively combine the multipath signals, so as to implement the correlation function of the Rake receiver.
Fig. 7 is a flowchart of a positioning method according to still another exemplary embodiment of the present application. The fig. 7 embodiment is a description of step 520 in the fig. 5 embodiment. As shown in fig. 7, this step 520 includes the following.
710: and respectively carrying out sliding correlation on the first phase and the second phase with the first preamble to obtain a first correlation result of the first phase and a second correlation result of the second phase.
Specifically, the processor of the mobile terminal performs sliding correlation on the first phase and the first preamble to obtain a first correlation result of the first phase, and performs sliding correlation on the second phase and the first preamble to obtain a second correlation result of the second phase, wherein the first correlation result and the second correlation result are in the form of a sequence.
The first preamble may be a sequence header of a local preamble sequence, and the length and the specific form of the first preamble are not specifically limited in the embodiment of the present application.
720: and combining the first correlation result and the second correlation result to obtain a combined sequence.
Specifically, the first correlation result and the second correlation result are combined into a combined sequence in a staggered manner according to the time sequence, that is, the first correlation result and the second correlation result of the sequence are combined into a total sequence.
730: the maximum value in the combined sequence is taken as the largest diameter, and the next largest value in the combined sequence is taken as the next largest diameter.
Specifically, the maximum value in the combined sequence is taken as the maximum diameter (also referred to as the main diameter); the next largest value on both sides of the largest path in the combined sequence is referred to as the next largest path (also referred to as the next path).
Therefore, the embodiment of the application combines the correlation results of the two phases, and determines the maximum diameter and the secondary diameter in the combined sequence, thereby providing a guarantee for subsequently improving the accuracy of the despreading result.
Fig. 8 is a flowchart of a positioning method according to still another exemplary embodiment of the present application. The embodiment of fig. 8 is an example of the embodiment of fig. 2, and the same points are not repeated, and the differences are emphasized here. As shown in fig. 8, the positioning method includes the following.
810: and correlating the phase data corresponding to the maximum diameter with the second preamble to obtain a plurality of segmentation correlation results.
In one embodiment, the phase data is a first phase or a second phase, and the second preamble and the first preamble form a complete preamble (i.e., a local preamble sequence).
Specifically, the processor of the mobile terminal performs segment correlation on the phase data corresponding to the maximum diameter and the second preamble, and a plurality of segment correlation results are obtained. Wherein the plurality of segment correlation results can be used as frequency offset judgment. Since the phase data is the first phase or the second phase, the sampling rate is 11MHz at this time.
The phase data corresponding to the maximum diameter may be the first phase or the second phase, which is not particularly limited in the embodiment of the present application. The second preamble may be a complete preamble sequence with the remainder of the first preamble (i.e., sequence header) removed.
820: and multiply accumulating the plurality of segmented correlation results to obtain an accumulated result.
Specifically, the formula of multiply-accumulate refers to the following formula (4), wherein it can be understood that the correlation result and the history value of the correlation result are multiplied and accumulated to obtain an accumulated result.
Wherein r is a correlation result; s is the accumulated result.
830: and performing angle conversion on the accumulated result to obtain a third phase.
Specifically, the formula for calculating the third phase based on the accumulation result can be referred to as the following formula (5).
θ=∠s (5)
Wherein θ is the third phase; s is the accumulated result.
840: and when the third phase exceeds a preset phase threshold value, judging that adjacent channel interference exists and discarding channel data.
Specifically, when the processor of the mobile terminal detects that the third phase exceeds the preset phase threshold, the processor considers that the adjacent channel has concurrent service and has higher power, namely, the adjacent channel is interfered, and the current resolved channel data is discarded.
In an embodiment, the range of the preset phase threshold value may be between 0.2 pi and 0.3 pi, and the specific value of the preset phase threshold value is not specifically limited in the embodiment of the present application.
It should be noted that, in the embodiment of the present application, channel data of a plurality of (e.g. 3) adjacent first channels are received simultaneously, and there is a channel overlap between the adjacent first channels, so that the spectrum shifting cannot completely separate the plurality of first channels. Therefore, frequency offset estimation is additionally added in detection (such as preamble detection) to identify the strong adjacent channel interference, so that the preamble false detection rate is reduced.
Therefore, the embodiment of the application enhances the identification of the strong adjacent channel interference and reduces the false detection rate of detection (namely preamble detection) by comparing the calculated third phase with the preset phase threshold.
In an embodiment of the present application, receiving signal data broadcast by a network hotspot includes: receiving signal data broadcast by a network hotspot based on a first sampling rate, wherein before acquiring the first phase and the second phase on the channel data, the method further comprises: converting the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sample rate.
Specifically, the first sampling rate is a sampling rate specified in each network mode, and the specific value of the first sampling rate is not specifically limited in the present application. For example, in LTE mode, the sampling rate requirement for LTE is 30.72MHz, i.e., the first sampling rate is 30.72MHz. Thus, the mobile terminal (or the processor of the mobile terminal) is to receive the signal data broadcast by the network hotspot based on the first sampling rate.
In one embodiment, the channel data is a WiFi signal that is transmitted with DSSS modulation, which uses 11 chips of barker sequence. To meet the specifications of the communication protocol, the processor of the mobile terminal may output a sampling rate 2 times the chip rate at this time, i.e. the output sampling rate is 22MHz.
Thus, in the event that the mobile terminal (or the processor of the mobile terminal) is not provided with the specified sampling rate directly available, the mobile terminal may sample rate convert the first sampling rate to obtain the second sampling rate. For example, the mobile terminal may convert a sampling rate of 30.72MHz or higher to 22MHz when it does not have the capability to provide a 22MHz sampling rate. It should be noted that this step may be omitted when the mobile terminal can provide a specified sampling rate, for example, 22MHz.
Further, the mobile terminal (or a processor of the mobile terminal) may acquire channel data based on the second sampling rate.
Therefore, the embodiment of the application can meet the application scenes with different sampling rate requirements by adjusting the sampling rate, so that the technical scheme of the application is more flexible and has high adaptability.
In an embodiment of the present application, it is determined whether a signal strength of a channel to be received in a first channel received in a preset period is less than a preset strength threshold; and when the signal strength is greater than or equal to a preset strength threshold value, receiving channel data in the first channel.
Specifically, it is detected whether the intensity of the received signal data is less than a preset intensity threshold value within a preset period of time. The preset period may be a beacon delay time (also referred to as "Beacon Delay Time"), and the specific time of the preset period may be flexibly set according to practical situations, which is not particularly limited in the embodiment of the present application. The preset intensity threshold may also be flexibly set according to practical situations, which is not limited in the embodiment of the present application.
In an embodiment, when the intensity of the signal data received by the current first channel is greater than or equal to the preset intensity threshold, the first channel is considered to have an AP, so as to receive the signal data in the first channel.
It should be noted that, the embodiment of the present application may be understood as monitoring whether a channel (e.g., a WiFi channel) is in an idle state (or has an AP). The monitoring may be performed in such a way that no carrier detection (Clear Channel Assessment, CCA) is triggered in Beacon Delay Time, and the frequency bin is considered to have no AP, and is switched to another channel group (i.e., the second channel described in the following embodiments) to scan.
Therefore, the embodiment of the application can avoid the problems of low channel traversing speed and long time consumption caused by detecting the empty channel (namely no AP in the channel) by detecting the state of the channel.
In an embodiment of the present application, when the intensity of the signal data is smaller than a preset intensity threshold, the method is switched to a plurality of second channels to iteratively execute the positioning method.
Specifically, when the strength indication of the received signal is smaller than the preset strength threshold value in the preset period (i.e., the beacon delay time), the channel is considered to be idle, that is, no AP is found in the channel, and the positioning method described in the embodiment of fig. 1 is switched to a plurality of second channels, and is repeatedly executed until each channel group of the current frequency point is traversed, where the second channels may be understood as the remaining channels except the first channel for receiving the signal data, that is, the second channels may be used as the first channels when the mobile terminal receives the signal data next time.
Therefore, the embodiment of the application reduces the traversing time of the mobile terminal by timely switching to the rest channels when the channels without the AP are detected.
Fig. 9 is a flowchart of a positioning method according to still another exemplary embodiment of the present application. The execution body of fig. 9 is a mobile terminal, or a processor of a mobile terminal. As shown in fig. 9, the positioning method includes the following.
910: and waiting for an idle state of LTE. The method for detecting the LTE idle state can be flexibly set according to actual conditions.
915: and performing parameter configuration of automatic gain control.
920: if it is determined whether or not there is an AP on the first channel, step 930 is executed if there is an AP, otherwise step 925 is executed.
925: the mobile terminal switches to a plurality of second channels, re-detects whether the second channels have the AP, receives signal data broadcast by the second channels with the AP if the second channels have the AP, and executes the following positioning method.
930: signal data broadcast by a network hotspot is accepted, wherein the signal data comprises channel data of a plurality of first channels, wherein the first channels can be understood as second channels with APs.
935: and filtering the signal data to obtain filtered signal data.
940: and carrying out frequency spectrum shifting (or frequency shifting) on the filtered signal data to acquire the channel data of each first channel.
It should be noted that, steps 945 to 960 are the processing performed on the channel data of each first channel, but in the actually performed process, in order to increase the positioning rate, the processor of the mobile terminal performs parallel processing on the channel data of a plurality of first channels synchronously.
945: and analyzing the channel data of each first channel in parallel.
950: it is determined whether the channel data is a beacon frame, and if the channel data is a beacon frame, step 960 is performed, otherwise step 955 is performed.
955: the currently detected channel data is discarded.
960: and acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal.
In the specific implementation manner of the above steps, please refer to the description of the embodiments of fig. 2 to 8 for details.
Exemplary apparatus
Fig. 10 is a schematic structural diagram of a positioning device 1000 according to an exemplary embodiment of the present application. As shown in fig. 10, the positioning device 1000 is applied to a mobile terminal, and includes: a receiving module 1010, a separate acquisition module 1020, a decision module 1030, and an acquisition module 1040.
The receiving module 1010 is configured to receive, in an idle state of the network, signal data broadcast by a network hotspot based on a specified sampling rate, where the signal data includes data of a plurality of first channels; the separation obtaining module 1020 is configured to separate the plurality of first channels to obtain channel data of each of the plurality of first channels; the determining module 1030 is configured to determine whether the channel data is a beacon frame; and the obtaining module 1040 is configured to obtain parameter information in the beacon frame when the channel data is the beacon frame, so as to achieve positioning of the mobile terminal.
The embodiment of the application provides a positioning device, which can simultaneously receive signal data of a plurality of first channels in an idle state of a network and analyze the channel data of each first channel in the plurality of first channels, so that the embodiment of the application can realize the requirement of auxiliary positioning of a mobile terminal on the premise of not influencing the normal communication function of the mobile terminal. In addition, the beacon frames in the plurality of channel data are detected and demodulated once, so that the positioning efficiency of the mobile terminal is improved, and the radio frequency switching time during channel change is reduced. In addition, the embodiment of the application analyzes the received signal data to acquire the parameter information in the beacon frame to realize the positioning of the mobile terminal, so that the mobile terminal (namely the transmitting side) has no power consumption and other requirements, and the design of the mobile terminal is simplified.
According to an embodiment of the present application, the separation acquisition module 1020 is configured to perform filtering processing on the signal data to acquire filtered signal data; and carrying out frequency spectrum shifting on the filtered signal data to acquire the channel data of each first channel.
The determining module 1030 is configured to obtain a first phase and a second phase on the channel data according to an embodiment of the present application; the first phase and the second phase are respectively related to the first preamble to obtain a maximum diameter and a secondary maximum diameter; acquiring a first despreading result based on the maximum diameter and the secondary diameter; demodulating and descrambling the first despreading result to obtain an information protocol data unit; and judging whether the information protocol data unit is a beacon frame or not according to the parameter information included in the information protocol data unit.
According to an embodiment of the present application, the determining module 1030 is configured to obtain a first weight and a second weight based on the maximum diameter and the second maximum diameter; respectively normalizing the first weight and the second weight to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight; respectively performing despreading processing on the first phase and the second phase to obtain a second despreading result of the first phase and a third despreading result of the second phase; and adding the product of the first normalization result and the second despreading result to the product of the second normalization result and the third despreading result to obtain a first despreading result.
According to an embodiment of the present application, the determining module 1030 is configured to perform sliding correlation on the first phase and the second phase with the first preamble, respectively, to obtain a first correlation result of the first phase and a second correlation result of the second phase; combining the first correlation result and the second correlation result to obtain a combined sequence; the maximum value in the combined sequence is taken as the maximum diameter, and the next largest value in the combined sequence is taken as the next largest diameter.
According to an embodiment of the present application, the determining module 1030 is configured to correlate phase data corresponding to a maximum diameter with a second preamble, to obtain a plurality of segment correlation results, where the phase data is a first phase or a second phase, and the second preamble and the first preamble form a complete preamble; multiply accumulating the plurality of segmented correlation results to obtain an accumulated result; performing angle conversion on the accumulated result to obtain a third phase; and when the third phase exceeds a preset phase threshold value, judging that adjacent channel interference exists and discarding channel data.
According to an embodiment of the present application, the receiving module 1010 is configured to receive signal data broadcast by a network hotspot, and includes: receiving signal data broadcast by a network hotspot based on a first sampling rate, wherein before acquiring the first phase and the second phase on the channel data, the method further comprises: converting the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sample rate.
According to an embodiment of the present application, the determining module 1030 is configured to determine whether the signal strength of the channel to be received in the first channel received in the preset period is less than a preset strength threshold; and when the signal strength is greater than or equal to a preset strength threshold value, receiving channel data in the first channel.
According to an embodiment of the present application, the determining module 1030 is further configured to switch to the plurality of second channels to iteratively perform the positioning method when the strength of the signal data is less than the preset strength threshold.
It should be appreciated that the specific working procedures and functions of the receiving module 1010, the separation obtaining module 1020, the determining module 1030 and the obtaining module 1040 in the above embodiments may refer to the descriptions in the positioning methods provided in the above embodiments of fig. 2 to 9, and are not repeated herein for avoiding repetition.
Exemplary electronic device and computer-readable storage Medium
Fig. 11 is a block diagram of an electronic device for positioning provided by an exemplary embodiment of the present application.
Referring to fig. 11, electronic device 1100 includes a processing component 1010 that further includes one or more processors and memory resources represented by memory 1020 for storing instructions, such as applications, executable by processing component 1010. The application program stored in memory 1020 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1010 is configured to execute instructions to perform the positioning method described above.
The electronic device 1100 may also include a power supply component configured to perform power management of the electronic device 1100, a wired or wireless network interface configured to connect the electronic device 1100 to a network, and an input output (I/O) interface. The electronic device 1100 may be operated based on an operating system stored in the memory 1020, such as Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Or the like.
A non-transitory computer readable storage medium, which when executed by a processor of the electronic device 1100, enables the electronic device 1100 to perform a positioning method comprising: in an idle state of the network, receiving signal data broadcast by a network hot spot, wherein the signal data comprises data of a plurality of first channels; separating the plurality of first channels to obtain channel data of each first channel in the plurality of first channels; determining whether the channel data is a beacon frame; and when the channel data is a beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program verification codes.
It should be noted that in the description of the present application, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is to be construed as including any modifications, equivalents, and alternatives falling within the spirit and principles of the application.

Claims (11)

1. A positioning method applied to a mobile terminal, comprising:
in an idle state of a network, receiving signal data broadcast by a network hot spot, wherein the signal data comprises data of a plurality of first channels;
separating the plurality of first channels to obtain channel data of each first channel in the plurality of first channels;
determining whether the channel data is a beacon frame; and
when the channel data is the beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal;
the determining whether the channel data is a beacon frame includes:
acquiring a first phase and a second phase on the channel data;
the first phase and the second phase are respectively related to a first lead code, and the maximum diameter and the secondary maximum diameter are obtained;
acquiring a first despreading result based on the maximum diameter and the secondary diameter;
demodulating and descrambling the first despreading result to obtain an information protocol data unit;
And judging whether the information protocol data unit is the beacon frame or not according to the parameter information included in the information protocol data unit.
2. The positioning method of claim 1, wherein the separating the plurality of first channels to obtain channel data for each of the plurality of first channels comprises:
filtering the signal data to obtain filtered signal data;
and carrying out frequency spectrum shifting on the filtered signal data to acquire the channel data of each first channel.
3. The positioning method of claim 1, wherein the obtaining a first despreading result based on the largest diameter and the next largest diameter comprises:
acquiring a first weight and a second weight based on the maximum diameter and the secondary diameter;
respectively normalizing the first weight and the second weight to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight;
respectively performing despreading processing on the first phase and the second phase to obtain a second despreading result of the first phase and a third despreading result of the second phase;
And adding the product of the first normalization result and the second despreading result to the product of the second normalization result and the third despreading result to obtain the first despreading result.
4. The positioning method according to claim 1, wherein the correlating the first phase and the second phase with a first preamble, respectively, to obtain a maximum diameter and a secondary diameter comprises:
sliding correlation is carried out on the first phase and the second phase with a first lead code respectively, and a first correlation result of the first phase and a second correlation result of the second phase are obtained;
combining the first correlation result and the second correlation result to obtain a combined sequence;
the maximum value in the combined sequence is taken as the maximum diameter, and the next largest value in the combined sequence is taken as the next largest diameter.
5. The positioning method of claim 1, wherein the method further comprises:
the phase data corresponding to the maximum diameter is correlated with a second preamble, and a plurality of segmentation correlation results are obtained, wherein the phase data is the first phase or the second phase, and the second preamble and the first preamble form a complete preamble;
Multiply accumulating the plurality of segmented correlation results to obtain an accumulated result;
performing angle conversion on the accumulated result to obtain a third phase;
and when the third phase exceeds a preset phase threshold value, judging that adjacent channel interference exists and discarding the channel data.
6. The positioning method according to claim 1, wherein the receiving signal data broadcast by the network hotspot comprises:
signal data broadcast by a network hotspot is received based on a first sample rate,
wherein before the acquiring the first phase and the second phase on the channel data, the method further comprises:
sampling rate conversion is carried out on the first sampling rate so as to obtain a second sampling rate;
and acquiring the channel data based on the second sampling rate.
7. The positioning method according to any one of claims 1 to 6, characterized in that the method further comprises:
judging whether the signal intensity of a channel to be received in the first channel received in a preset period is smaller than a preset intensity threshold value or not;
and when the signal intensity is greater than or equal to the preset intensity threshold value, receiving the channel data in the first channel.
8. The positioning method as set forth in claim 7, further comprising:
And when the intensity of the signal data is smaller than the preset intensity threshold value, switching to a plurality of second channels to iteratively execute the positioning method.
9. A positioning device applied to a mobile terminal, comprising:
the receiving module is used for receiving signal data broadcast by a network hot spot in an idle state of the network, wherein the signal data comprise data of a plurality of first channels;
the separation acquisition module is used for separating the plurality of first channels and acquiring channel data of each first channel in the plurality of first channels;
a determining module, configured to determine whether the channel data is a beacon frame; and
the acquisition module is used for acquiring parameter information in the beacon frame when the channel data is the beacon frame so as to realize the positioning of the mobile terminal;
the judging module is further used for acquiring a first phase and a second phase on the channel data;
the first phase and the second phase are respectively related to a first lead code, and the maximum diameter and the secondary maximum diameter are obtained;
acquiring a first despreading result based on the maximum diameter and the secondary diameter;
demodulating and descrambling the first despreading result to obtain an information protocol data unit;
And judging whether the information protocol data unit is the beacon frame or not according to the parameter information included in the information protocol data unit.
10. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the positioning method according to any of the preceding claims 1 to 8.
11. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions,
wherein the processor is adapted to perform the positioning method of any of the preceding claims 1 to 8.
CN202210515479.7A 2022-05-12 2022-05-12 Positioning method and device Active CN114697863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210515479.7A CN114697863B (en) 2022-05-12 2022-05-12 Positioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210515479.7A CN114697863B (en) 2022-05-12 2022-05-12 Positioning method and device

Publications (2)

Publication Number Publication Date
CN114697863A CN114697863A (en) 2022-07-01
CN114697863B true CN114697863B (en) 2023-10-24

Family

ID=82145218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210515479.7A Active CN114697863B (en) 2022-05-12 2022-05-12 Positioning method and device

Country Status (1)

Country Link
CN (1) CN114697863B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516460A (en) * 2003-01-09 2004-07-28 北京泰美世纪科技有限公司 Method for making synchronization by utilizing time domain spread spectrum beacon in digital video broadcast
CN110139263A (en) * 2019-07-09 2019-08-16 翱捷科技(上海)有限公司 A kind of mobile terminal and its localization method
WO2020238738A1 (en) * 2019-05-24 2020-12-03 阿里巴巴集团控股有限公司 Beacon frame communication and base station synchronization methods and apparatuses in communication network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1120591C (en) * 2000-12-18 2003-09-03 信息产业部电信传输研究所 Direct bandspread/comprehensive CDMA bandspread coherent receiver
CN101411150A (en) * 2006-04-05 2009-04-15 艾格瑞系统有限公司 HSDPA co-processor for mobile terminals
US8223820B2 (en) * 2007-12-31 2012-07-17 Silicon Laboratories Inc. Method and apparatus for symbol synchronization for an 802.15.4 radio platform
US10775510B2 (en) * 2016-06-06 2020-09-15 Brian G. Agee Blind despreading of civil GNSS signals for resilient PNT applications
US20180084581A1 (en) * 2016-09-20 2018-03-22 John David Terry Method and Apparatus for Dynamic Channel Selection in a Digital Chaos Cooperative Network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516460A (en) * 2003-01-09 2004-07-28 北京泰美世纪科技有限公司 Method for making synchronization by utilizing time domain spread spectrum beacon in digital video broadcast
WO2020238738A1 (en) * 2019-05-24 2020-12-03 阿里巴巴集团控股有限公司 Beacon frame communication and base station synchronization methods and apparatuses in communication network
CN110139263A (en) * 2019-07-09 2019-08-16 翱捷科技(上海)有限公司 A kind of mobile terminal and its localization method

Also Published As

Publication number Publication date
CN114697863A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
JP5941566B2 (en) Coexistence of WLAN and LTE in unlicensed radio frequency band
US9237479B2 (en) Method and device for data traffic distribution
US20070019592A1 (en) Wireless packet communication method and wireless packet communication apparatus
US20160330640A1 (en) Systems and methods for wireless scanning
EP2432181B1 (en) Apparatus and method for communication
CN102282893B (en) Method and apparatus for cell searching
WO2014094460A1 (en) Apparatus and method for detecting frequency spectrum interference
CN107181540B (en) Bluetooth signal processing device and Bluetooth data frame detection method
CN109889288B (en) Continuous spectrum sensing method based on ensemble average value iterative detection
CN104244341A (en) Method for joint cell measurement and system information identification
JP3668160B2 (en) Radio channel communication frequency channel identification method and radio packet communication receiver
CN114697863B (en) Positioning method and device
KR100933162B1 (en) Method and apparatus for searching frequency burst for synchronization acquisition in mobile communication system
CN106612156A (en) Data frame wireless transmission method and device
CN105846924B (en) A kind of WLAN disturbance restraining method and jamproof WLAN devices
WO2010071338A2 (en) Channel sensing scheme using natural quiet period in cognitive radio system
US8917704B2 (en) Method and system for automatically rescaling an accumulation buffer in synchronization systems
US10334453B2 (en) Method of neighbor cell detection
CN114885401A (en) WIFI active scanning method and device, and terminal positioning method and device
EP3560256B1 (en) Channel selection in an unlicensed frequency band
EP3593566A1 (en) User node, network node and methods for allocating and using resources for control signals
CN111602458B (en) Method and apparatus for NPRACH detection
WO2010138006A1 (en) Method and system for training sequence synchronization in a digital communication network
CN116887339B (en) Real-time passenger flow statistics system and method based on WiFi probe
JP7181694B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

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
GR01 Patent grant
GR01 Patent grant