CN114697863A - Positioning method and device - Google Patents

Positioning method and device Download PDF

Info

Publication number
CN114697863A
CN114697863A CN202210515479.7A CN202210515479A CN114697863A CN 114697863 A CN114697863 A CN 114697863A CN 202210515479 A CN202210515479 A CN 202210515479A CN 114697863 A CN114697863 A CN 114697863A
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.)
Granted
Application number
CN202210515479.7A
Other languages
Chinese (zh)
Other versions
CN114697863B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

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: receiving signal data broadcasted by a network hotspot in an idle state of a network, 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. According to the technical scheme, the mobile terminal can be rapidly positioned, and meanwhile, the time of radio frequency switching during channel change is reduced.

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 needs to assist positioning by using the network (such as WiFi). 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 is also required to support sending of the network frame, so that additional requirements are also imposed on the power consumption of the mobile terminal.
In view of this, how to realize fast positioning of the mobile terminal becomes an urgent technical problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present application provide a positioning method and apparatus, which can improve positioning efficiency of a mobile terminal and reduce radio frequency switching time during channel change.
In a first aspect, an embodiment of the present application provides a positioning method, applied to a mobile terminal, including: receiving signal data broadcasted by a network hotspot in an idle state of a network, 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 spectrum shifting on the filtered signal data to obtain 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; respectively correlating the first phase and the second phase with the first lead code to obtain a maximum diameter and a secondary maximum diameter; acquiring a first despreading result based on the maximum diameter and the secondary maximum 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 the largest path and the second largest path includes: acquiring a first weight and a second weight based on the maximum diameter and the secondary large 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 carrying out 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 and 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 to obtain the maximum path and the second maximum path comprises: respectively performing sliding correlation on the first phase and the second phase with the first lead code 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 merged sequence is taken as the maximum path, and the next largest value in the merged sequence is taken as the next largest path.
In certain embodiments of the present application, the method further comprises: correlating the phase data corresponding to the maximum diameter with a second lead code to obtain a plurality of segment correlation results, wherein the phase data is a first phase or a second phase, and the second lead code and the first lead code form a complete lead code; performing product accumulation on the plurality of segment correlation results to obtain an accumulation result; carrying out angle conversion on the accumulated result to obtain a third phase; when the third phase exceeds a preset phase threshold, it is determined that adjacent channel interference exists and channel data is discarded.
In some embodiments of the present application, receiving signal data broadcasted by a network hotspot includes: receiving signal data broadcast by the network hotspot based on a first sampling rate, wherein prior to acquiring the first phase and the second phase on the channel data, further comprising: carrying out sampling rate conversion on the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sampling rate.
In certain embodiments of the present application, the method further comprises: judging whether the signal intensity of a channel to be received in a first channel received in a preset time period is smaller than a preset intensity threshold value or not; and receiving channel data in the first channel when the signal strength is greater than or equal to a preset strength threshold value.
In certain 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 apparatus, applied to a mobile terminal, including: the receiving module is used for receiving signal data broadcasted by a network hotspot in an idle state of a network, wherein the signal data comprises 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; the judging module is used for judging whether the channel data is a beacon frame or not; and the acquisition module is used for acquiring the 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, where the storage medium stores a computer program, and the computer program is configured to execute 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 according to the first aspect.
The embodiment of the application provides a positioning method and a positioning device, and by receiving signal data of a plurality of first channels simultaneously in an idle state of a network and analyzing channel data of each first channel in the plurality of first channels, the embodiment of the application realizes the requirement of auxiliary positioning of a mobile terminal on the premise of not influencing the normal communication function of the mobile terminal. And the beacon frame in a plurality of channel data is detected and demodulated at one time, 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, a transmitting side) has no requirements on power consumption and the like, 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 schematic flowchart of a positioning method according to an exemplary embodiment of the present application.
Fig. 3 is a schematic flowchart of a positioning method according to another exemplary embodiment of the present application.
Fig. 4 is a schematic flowchart illustrating a mobile terminal processing signal data according to an exemplary embodiment of the present application.
Fig. 5 is a schematic flowchart of a positioning method according to another exemplary embodiment of the present application.
Fig. 6 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application.
Fig. 7 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application.
Fig. 8 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application.
Fig. 9 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application.
Fig. 10 is a schematic structural diagram 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 according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Summary of the application
The Internet of Things (IOT) terminal has a need to use WIFI (also referred to as Wi-Fi) for assisting positioning after accessing a Long Term Evolution (LTE) network, and at this time, it needs to use a WIFI scanning process to complete BSSID (Basic Service Set Identifier) collection and power estimation of a nearby Access Point (AP), and The Internet of Things terminal (i.e., a mobile terminal) completes 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 sends 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) broadcast by the AP to complete BSSID collection. The active scanning occupies a short time, but the terminal is required to support the sending of the WIFI frame, so that extra requirements are imposed on the power consumption of the terminal; the passive scanning takes a long time, but has no design requirement and power consumption requirement of the transmitting side.
In order to solve the above problems, various non-limiting embodiments of the present application will be described in detail 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 the network hotspots 110 may be 1 or more, and the network hotspots are not particularly limited in this embodiment.
The mobile terminal 120 may be an internet of things terminal to be located, such as a refrigerator, an air conditioner, and the like. 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 the type 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 achieve 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 schematic flowchart 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 broadcasted by the network hotspot.
In one embodiment, the signal data includes data of a plurality of first channels.
Specifically, the mobile terminal (or a processor of the mobile terminal) may collect signal data at a hardware outlet of a Digital Front End (DFE) based on an idle state of a network and based on a first sampling rate (e.g., 30.72MHz), and store the signal data in 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, thereby positioning 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 (DRX) mechanisms, one is Connected DRX (CDRX), and the other is Idle DRX (also called Idle DRX), i.e. paging mechanism. The mobile terminal can receive the signal data broadcasted by the network hotspot in an idle state under the 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, wherein the WiFi hotspot typically broadcasts periodic broadcast signal data using direct-sequence spread spectrum (DSSS) to the outside.
The process of the mobile terminal receiving the signal data broadcasted by the network hotspot (i.e. AP) can be understood as a passive scanning process, that is, the mobile terminal can complete WiFi passive scanning in an IDLE state of LTE. That is to say, 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 a requirement for sending information (for example, a request frame), or establish a connection with a network hotspot, and discards channel data (for example, channel data with a long data length) that exceeds 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, where the number of the first channels may be 2 or 3, and this is not particularly limited in this 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 both sides of the frequency point correspond to one first channel.
Preferably, the number of the first channels is set to 3 in the embodiment of the present application 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 a receiving path (i.e., RX path) on the mobile terminal hardware and completes configuration of Automatic Gain Control (AGC) so as to keep the receiving and output voltages constant when the signal data changes greatly.
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. The filtered signal data is then separated by spectrum shifting to obtain channel data for 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 here, the plurality of first channels are separated by applying a spectrum shifting technique.
It should be noted that, please refer to the description of the embodiment in fig. 2 for details of the detailed description of the step, and the detailed 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 simultaneously determine whether the channel data of each of the plurality of first channels is a beacon frame, i.e., 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, in the embodiment of the present application, the channel data of each of the plurality of first channels is simultaneously detected and analyzed by using a simultaneous determination method.
In one embodiment, the mobile terminal (or the processor of the mobile terminal) performs despreading, demodulation and descrambling on the channel data, and performs Check on the descrambled channel data, wherein the Check may be a Cyclic Redundancy Check (CRC) or the like; after the channel Data passes through the CRC detection, acquiring an information Protocol Data Unit (MPDU); it is determined whether the channel data is a beacon frame based on the MPDU, where the channel data is a beacon frame, step 240 is performed, otherwise the channel data is discarded (i.e., the MPDU is discarded).
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 then 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 missed detection rate of the beacon frame, steps 210 to 240 in the embodiment of the present application may be repeatedly performed, and after the repetition is completed, the channel group is switched to another channel group for scanning.
It should be further noted that, in the embodiments of the present application, it can be understood that, with the higher sampling rate of the transmitting or receiving side (i.e., TX/RX side) in the LTE mode, parallel passive scanning on multiple adjacent WiFi channels is implemented. And starting WiFi passive scanning once in an idle state after the LTE is resident, finishing the scanning process before the LTE is awakened, finishing traversing each channel group of the current frequency point of the WiFi together by scanning for multiple times, and outputting BSSID and power value of each AP of the WiFi after traversing is finished so as to realize the positioning of the mobile terminal.
Therefore, in the embodiment of the present application, signal data of a plurality of first channels are received simultaneously in an idle state of a network, and channel data of each first channel in the plurality of first channels is analyzed, so that the embodiment of the present application meets the requirement of performing auxiliary positioning on the mobile terminal on the premise of not affecting the normal communication function of the mobile terminal. And the beacon frame in a plurality of channel data is detected and demodulated at one time, 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, a transmitting side) has no requirements on power consumption and the like, and the design of the mobile terminal is simplified.
Fig. 3 is a schematic flowchart of a positioning method according to another exemplary embodiment of the present application. The fig. 3 embodiment is a description of step 220 in the fig. 2 embodiment. As shown in fig. 3, this step 220 includes the following.
310: and filtering the signal data to obtain the filtered signal data.
Specifically, the mobile terminal may adjust the sampling rate using an Analog-to-Digital Converter (ADC), for example, the sampling rate of the mobile terminal is adjusted to the first sampling rate in the LTE mode, i.e., 30.72MHz, using the ADC. And receiving signal data broadcasted by the network hotspot based on the first sampling rate. Then, down-sampling the signal data to obtain down-sampled signal data, and then filtering the down-sampled signal data by using a filter (Finite Impulse Response, FIR) at the mobile terminal to obtain filtered signal data, where the type of the filter and a specific filtering method are not specifically limited in the embodiment of the present application.
320: and carrying out spectrum shifting on the filtered signal data to obtain 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 can be implemented in a hardware portion of the mobile terminal, the steps of sample rate conversion and subsequent spectrum shifting can be implemented in a software portion of the mobile terminal by a processor, see for example fig. 4, where ADC411, down sampling 412 (also called down) and FIR413 are implemented in a hardware portion 410 of the mobile terminal, and sample rate conversion 421, separation channel data 422 and detection and parsing 423 of the channel data are implemented in a software portion.
Therefore, the embodiment of the application provides guarantee for detecting and demodulating the channel data of different channels simultaneously at the same time while meeting the requirements of software and hardware division by filtering and then shifting the frequency.
Fig. 5 is a flowchart illustrating a positioning method according to another exemplary embodiment of the present application. The fig. 5 embodiment is a description of step 230 in the fig. 2 embodiment. As shown in fig. 5, this step 230 includes the following.
510: a first phase and a second phase on the channel data are obtained.
Specifically, the channel data may be a WiFi signal, and its DSSS uses a barker sequence of 11 chips, where each chip corresponds to 2 sampling points, i.e., 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 phase 0 acquired on the received channel data of each first channel; the second phase may be data corresponding to phase 1 obtained on the received channel data of each first channel.
It should be noted that the sampling rate of the processor output of the mobile terminal is 2 times of the chip rate, i.e. the sampling rate of the output is 22 MHz.
It should be further noted that, in the embodiments of the present application, the gain is obtained by combining 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 path and a secondary large path.
In particular, 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, regardless of whether the channel data is a beacon frame, a data packet sent by each first channel includes a local preamble sequence, and the preamble sequence has two types of long/short, and the embodiment of the present application may detect the long/short preamble at the same time.
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; interleaving and combining the first correlation result and the second correlation result according to a time sequence to obtain a combined sequence; and then taking the maximum value in the merging sequence as a maximum diameter, and taking the second largest value in the merging sequence as a second largest diameter, wherein the second largest values are positioned on the left side and the right side of the maximum value.
530: and obtaining a first despreading result based on the maximum path and the secondary maximum path.
Specifically, the maximum value corresponding to the maximum path in the merged sequence is used as the first weight (i.e. h)0) And using the second weight value corresponding to the second major diameter in the merged series(i.e. h)1). And normalizing the first weight and the second weight respectively to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight.
Further, the first phase and the second phase are despread respectively, and a second despread result of the first phase and a third despread 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 a processor of the mobile terminal) may perform demodulation by using a DBPSK (differential Binary Phase Shift Keying) or a DQPSK (differential quadrature Phase Shift Keying), which is not specifically limited in the embodiment of the present application. The descrambling mode may also be flexibly set according to the actual application situation, which is not specifically limited in the embodiment of the present application. It should be noted that, the processor of the mobile terminal may implement the demodulation and descrambling functions of the DSSS through software, and the operation amount is in a controllable range.
Further, after the first despreading result is demodulated and descrambled, the descrambled channel data is converted into a MAC frame (medium access control) from a physical layer frame. It should be noted that 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 the 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, wherein the MPDU can be understood as the MAC layer protocol data unit.
For example, in a signal field in a frame header of a physical layer, the transmission speed of the MPDU is obtained; and in a length field in a frame header of a physical layer, obtaining the data length of the MPDU.
Note that the channel data (or MPDU) in steps 510 to 540 is not determined to be a beacon frame, and determination in step 550 is required.
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 including 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, using phase 0 alone), the embodiment of the present application improves the receiving performance of the mobile terminal through two paths (i.e., phase 0 and phase 1) identification.
Fig. 6 is a flowchart illustrating 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 maximum diameter.
Specifically, the maximum correlation value corresponding to the maximum path is used as the first weight h0The second maximum correlation value corresponding to the second maximum path is used as the second weight h1
620: and normalizing the first weight and the second weight respectively to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight.
Specifically, the formula for normalization is referred to as the following formula (1) and formula (2).
Figure BDA0003641249030000121
Figure BDA0003641249030000122
Wherein the content of the first and second substances,
Figure BDA0003641249030000123
is a first normalization result;
Figure BDA0003641249030000124
the second normalization result is obtained; h is0Is a first weight value; h is1Is the second weight.
630: and respectively carrying out 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, the processor of the mobile terminal performs despreading processing on a first phase of the received channel data to obtain a second despreading result, and performs despreading processing on a second phase of the received channel data to obtain a third despreading result, wherein the specific despreading mode in the embodiment of the application is not limited, and can be flexibly set according to actual conditions.
640: and adding the product of the first normalization result and the second despreading result and 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, in step 640, the results of the two despread phases are combined according to the rake weights, and the subsequent demodulation process is performed, where the combining process can be referred to as the following formula (3).
Figure BDA0003641249030000131
Wherein the content of the first and second substances,
Figure BDA0003641249030000132
is a first normalization result;
Figure BDA0003641249030000133
the second normalization result is obtained; r is1Is the third despreading result; r is0Is a 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, preamble detection performs identification of two paths (i.e., the first phase and the second phase), and combines the preamble detection with a later stage design (i.e., analysis of channel data) to implement a related function of a Rake receiver.
Therefore, the embodiment of the application identifies the first phase and the second phase (i.e. performs two-path identification), and combines the despreading results of the first phase and the second phase, so that the mobile terminal can separate multipath signals and effectively combine the multipath signals to realize the correlation function of the Rake receiver.
Fig. 7 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application. The fig. 7 embodiment is a description of step 520 of the fig. 5 embodiment. As shown in fig. 7, this step 520 includes the following.
710: and performing sliding correlation on the first phase and the second phase and the first preamble respectively 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 a first phase and a first preamble to obtain a first correlation result of the first phase, and performs sliding correlation on a 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 specific form of the first preamble are not specifically limited in this embodiment of the 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 time sequence in a staggered manner, that is, the first correlation result and the second correlation result which are sequences are combined into a total sequence.
730: and taking the maximum value in the merging sequence as the maximum diameter, and taking the second largest value in the merging sequence as the second largest diameter.
Specifically, the maximum value in the merged sequence is taken as the maximum path (also referred to as the main path); the next largest value on both sides of the largest diameter in the merged sequence is referred to as a next largest diameter (also referred to as a next largest diameter).
Therefore, the embodiment of the application combines the correlation results of the two phases, and determines the maximum path and the secondary path in the combined sequence, thereby providing guarantee for subsequently improving the accuracy of the despreading result.
Fig. 8 is a schematic 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 parts are not repeated, and the differences are mainly described here. As shown in fig. 8, the positioning method includes the following.
810: and correlating the phase data corresponding to the maximum path with the second lead code to obtain a plurality of segment correlation results.
In an embodiment, the phase data is the first phase or the 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 section correlation on the phase data corresponding to the maximum path and the second preamble to obtain a plurality of section correlation results. Wherein the multiple segment correlation results can be used as frequency offset judgment. It should be noted that, 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 path may be a first phase or a second phase, which is not specifically limited in this embodiment of the application. The second preamble may be a sequence of a complete preamble except for a portion remaining after the first preamble (i.e., a sequence header) is removed.
820: and performing product accumulation on the plurality of segment correlation results to obtain an accumulation result.
Specifically, the formula of the multiply-accumulate is shown in the following formula (4), wherein it can be understood that the correlation result and the historical value of the correlation result are multiplied and accumulated to obtain the accumulated result.
Figure BDA0003641249030000151
Wherein r is the correlation result; s is the accumulation result.
830: and carrying out 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 seen in the following formula (5).
θ=∠s (5)
Wherein θ is the third phase; and s is the accumulation result.
840: when the third phase exceeds a preset phase threshold, it is determined that adjacent channel interference exists and channel data is discarded.
Specifically, when the processor of the mobile terminal detects that the third phase exceeds the preset phase threshold, it is determined that the adjacent channel has concurrent services and high power, that is, interference of the adjacent channel exists, and the currently analyzed channel data is discarded.
In an embodiment, a value range of the preset phase threshold may be 0.2 pi to 0.3 pi, and a specific value of the preset phase threshold is not specifically limited in this embodiment.
It should be noted that, in the embodiment of the present application, channel data of a plurality of (for example, 3) adjacent first channels are received simultaneously, and there is channel overlap between the adjacent first channels, so that spectrum shift cannot completely separate the plurality of first channels. Therefore, frequency offset estimation is additionally added in detection (such as preamble detection) to identify strong adjacent channel interference, and the preamble false detection rate is reduced.
Therefore, the third phase is compared with the preset phase threshold, so that the identification of the strong adjacent channel interference is enhanced, and the false detection rate of detection (namely preamble detection) is reduced.
In an embodiment of the present application, receiving signal data broadcasted by a network hotspot includes: receiving signal data broadcast by the network hotspot based on a first sampling rate, wherein prior to acquiring the first phase and the second phase on the channel data, further comprising: carrying out sampling rate conversion on the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sampling rate.
Specifically, the first sampling rate is a sampling rate specified in each network mode, and the application does not specifically limit a specific numerical value of the first sampling rate. For example, in LTE mode, the sampling rate requirement of LTE is 30.72MHz, i.e. the first sampling rate is 30.72 MHz. Accordingly, the mobile terminal (or a processor of the mobile terminal) is to receive signal data broadcast by the network hotspot based on the first sampling rate.
In one embodiment, the channel data is a WiFi signal, and the WiFi signal is mostly transmitted in a DSSS modulation using a barker sequence of 11 chips. To meet the specifications of the communication protocol, the sampling rate of the processor output of the mobile terminal may be 2 times the chip rate, i.e., the output sampling rate is 22 MHz.
Thus, in the case where the mobile terminal (or a processor of the mobile terminal) is not directly capable of providing the specified sampling rate, 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 a sampling rate of 22MHz available. It should be noted that this step may be omitted when the mobile terminal is capable of providing a specified sampling rate, such as 22 MHz.
Further, the mobile terminal (or a processor of the mobile terminal) may acquire channel data based on the second sampling rate.
Therefore, the sampling rate is adjusted, so that the application scenarios with different sampling rate requirements can be met, the technical scheme of the application is more flexible, and the adaptability is high.
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 within a preset time period is smaller than a preset strength threshold; and receiving channel data in the first channel when the signal strength is greater than or equal to a preset strength threshold value.
Specifically, within a preset time period, it is detected whether the intensity of the received signal data is less than a preset intensity threshold. The preset Time period may be a Beacon Delay Time (also referred to as "Beacon Delay Time"), and the specific Time of the preset Time period may be flexibly set according to an actual situation, which is not specifically limited in the embodiment of the present application. The preset intensity threshold may also be flexibly set according to actual conditions, and this is not particularly limited in this embodiment of the present application.
In an embodiment, when the strength of the signal data received by the current first channel is greater than or equal to the preset strength threshold, the first channel is considered to have an AP, and the signal data in the first channel is received.
It should be noted that, the embodiments 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 mode may be that carrier detection (CCA) is not triggered in the Beacon Delay Time, and the frequency point is considered to have no AP and is switched to another Channel group (i.e., a second Channel described in the following embodiment) to perform scanning.
Therefore, the method and the device for detecting the channel state avoid the problems of slow channel traversing speed and long time consumption caused by detecting an empty channel (namely no AP exists in the channel) by detecting the channel state.
In an embodiment of the present application, when the intensity of the signal data is smaller than the preset intensity threshold, the second channels are switched to, so as to iteratively perform the positioning method.
Specifically, when the strength indication of the received signal is smaller than the preset strength threshold value within a preset time period (i.e., beacon delay time), the channel is considered to be idle, i.e., no AP is considered to be in the channel, and the channel is switched to a plurality of second channels, and the positioning method described in the embodiment of fig. 1 is repeatedly executed until all channel groups of the current frequency point are traversed, where the second channels may be understood as the remaining channels except the first channel for receiving signal data, that is, the second channels may be used as the first channels when the mobile terminal receives signal data next time.
Therefore, the embodiment of the application can reduce the traversal time of the mobile terminal by switching to other channels in time when detecting the channel without the AP.
Fig. 9 is a flowchart illustrating a positioning method according to still another exemplary embodiment of the present application. The execution subject 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: wait for the idle state of LTE. The LTE idle state detection mode can be flexibly set according to actual conditions.
915: and carrying out parameter configuration of automatic gain control.
920: it is determined whether there is an AP on the first channel, step 930 is performed if there is an AP, otherwise step 925 is performed.
925: the mobile terminal switches to a plurality of second channels, re-detects whether the second channels have APs, receives signal data broadcast by the second channels with the APs if the second channels have APs, and executes the following positioning method.
930: and receiving signal data broadcasted by the network hotspot, 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 the filtered signal data.
940: spectrum shifting (or frequency shifting) is performed on the filtered signal data to obtain channel data of each first channel.
It should be noted that steps 945 to 960 are performed for the channel data of each first channel, but in the actual implementation, the processor of the mobile terminal may synchronously perform parallel processing for the channel data of a plurality of first channels in order to increase the positioning rate.
945: the channel data for each first channel is parsed in parallel.
950: it is determined whether the channel data is a beacon frame and step 960 is performed when the channel data is a beacon frame, otherwise step 955 is performed.
955: the currently detected channel data is discarded.
960: and acquiring the parameter information in the beacon frame to realize the positioning of the mobile terminal.
For details, please refer to the description of the embodiments in fig. 2 to 8 for a specific implementation manner of the above steps.
Exemplary devices
Fig. 10 is a schematic structural diagram of a positioning apparatus 1000 according to an exemplary embodiment of the present application. As shown in fig. 10, the positioning apparatus 1000, applied to a mobile terminal, includes: a receiving module 1010, a separation obtaining module 1020, a determining module 1030, and an obtaining module 1040.
The receiving module 1010 is configured to receive signal data broadcasted by a network hotspot based on a specified sampling rate in an idle state of a network, 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 decision module 1030 is configured to decide 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 implement positioning of the mobile terminal.
The embodiment of the application provides a positioning device, which receives signal data of a plurality of first channels simultaneously in an idle state of a network and analyzes channel data of each first channel in the plurality of first channels, so that the embodiment of the application realizes the requirement of auxiliary positioning on a mobile terminal on the premise of not influencing the normal communication function of the mobile terminal. And the beacon frame in a plurality of channel data is detected and demodulated at one time, 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, a transmitting side) has no requirements on power consumption and the like, and the design of the mobile terminal is simplified.
According to an embodiment of the present application, the separation obtaining module 1020 is configured to perform filtering processing on the signal data to obtain filtered signal data; and carrying out spectrum shifting on the filtered signal data to obtain channel data of each first channel.
According to an embodiment of the present application, the decision module 1030 is configured to obtain a first phase and a second phase on the channel data; respectively correlating the first phase and the second phase with the first lead code to obtain a maximum diameter and a secondary maximum diameter; acquiring a first despreading result based on the maximum diameter and the secondary maximum 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 carrying out 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 and 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 merged sequence is taken as the maximum path, and the next largest value in the merged sequence is taken as the next largest path.
According to an embodiment of the present application, the determining module 1030 is configured to correlate the phase data corresponding to the 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; performing product accumulation on the plurality of segment correlation results to obtain an accumulation result; carrying out angle conversion on the accumulated result to obtain a third phase; when the third phase exceeds a preset phase threshold, it is determined that adjacent channel interference exists and channel data is discarded.
According to an embodiment of the present application, the receiving module 1010 is configured to receive signal data broadcasted by a network hotspot, and includes: receiving signal data broadcast by the network hotspot based on a first sampling rate, wherein prior to acquiring the first phase and the second phase on the channel data, further comprising: carrying out sampling rate conversion on the first sampling rate to obtain a second sampling rate; channel data is acquired based on the second sampling rate.
According to an embodiment of the present application, the determining module 1030 is configured to determine whether a signal strength of a channel to be received in a first channel received within a preset time period is smaller than a preset strength threshold; and receiving the channel data in the first channel when the signal strength is greater than or equal to a preset strength threshold value.
According to an embodiment of the present application, the determining module 1030 is further configured to switch to a plurality of second channels to iteratively perform the positioning method when the strength of the signal data is smaller than a preset strength threshold.
It should be understood that, for specific working processes and functions of the receiving module 1010, the separation acquiring module 1020, the determining module 1030, and the acquiring module 1040 in the foregoing embodiments, reference may be made to the description in the positioning method provided in the foregoing embodiments of fig. 2 to 9, and in order to avoid repetition, details are not described here again.
Exemplary electronic device and computer-readable storage Medium
Fig. 11 is a block diagram of an electronic device for positioning according to 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 application programs, that are executable by processing component 1010. The application programs stored in memory 1020 may include one or more modules that each correspond 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 further comprise a power supply component configured to execute an electronic devicePower management for the 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 ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of the electronic device 1100, enable the electronic device 1100 to perform a positioning method, comprising: receiving signal data broadcasted by a network hotspot in an idle state of a network, 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.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
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 implementation. 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 can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into 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 such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in the description of the present application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modifications, equivalents and the like that are within the spirit and principle of the present application should be included in the scope of the present application.

Claims (12)

1. A positioning method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving signal data broadcasted by a network hotspot in an idle state of a network, 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
and when the channel data is the beacon frame, acquiring parameter information in the beacon frame to realize the positioning of the mobile terminal.
2. The method according to claim 1, wherein the separating the plurality of first channels to obtain the channel data of each of the plurality of first channels comprises:
filtering the signal data to obtain filtered signal data;
and carrying out spectrum shifting on the filtered signal data to acquire the channel data of each first channel.
3. The method of claim 1, wherein determining whether the channel data is a beacon frame comprises:
obtaining a first phase and a second phase on the channel data;
respectively correlating the first phase and the second phase with a first lead code to obtain a maximum diameter and a secondary maximum diameter;
acquiring a first despreading result based on the maximum diameter and the secondary maximum 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.
4. The method according to claim 3, wherein said obtaining a first despreading result based on the maximum path and the second maximum path comprises:
acquiring a first weight and a second weight based on the maximum diameter and the secondary maximum diameter;
normalizing the first weight and the second weight respectively to obtain a first normalization result corresponding to the first weight and a second normalization result corresponding to the second weight;
respectively carrying out 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 summing the product of the first normalization result and the second despreading result and the product of the second normalization result and the third despreading result to obtain the first despreading result.
5. The method of claim 3, wherein the correlating the first phase and the second phase with a first preamble to obtain a maximum path and a second maximum path comprises:
respectively performing sliding correlation on the first phase and the second phase and a first lead code 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;
and taking the maximum value in the merging sequence as the maximum diameter, and taking the second largest value in the merging sequence as the second largest diameter.
6. The method of claim 3, further comprising:
correlating the phase data corresponding to the maximum path with a second lead code to obtain a plurality of segment correlation results, wherein the phase data is the first phase or the second phase, and the second lead code and the first lead code form a complete lead code;
performing product accumulation on the plurality of segment correlation results to obtain an accumulation result;
carrying out angle conversion on the accumulated result to obtain a third phase;
and when the third phase exceeds a preset phase threshold, judging that adjacent channel interference exists and discarding the channel data.
7. The method according to claim 3, wherein the receiving signal data broadcasted by the network hotspot comprises:
receiving signal data broadcast by the network hotspot based on a first sampling rate,
wherein, prior to said obtaining the first phase and the second phase on the channel data, further comprising:
performing sampling rate conversion on the first sampling rate to obtain a second sampling rate;
the channel data is acquired based on the second sampling rate.
8. The method according to any one of claims 1 to 7, 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 time period is smaller than a preset intensity threshold value;
and receiving the channel data in the first channel when the signal intensity is greater than or equal to the preset intensity threshold.
9. The positioning method according to claim 8, 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.
10. A positioning device applied to a mobile terminal, comprising:
the receiving module is used for receiving signal data broadcasted by a network hotspot in an idle state of a network, wherein the signal data comprises data of a plurality of first channels;
a separation obtaining module, configured to separate the multiple first channels to obtain channel data of each of the multiple first channels;
the judging module is used for judging whether the channel data is a beacon frame or not; and
and the acquisition module is used for acquiring the parameter information in the beacon frame when the channel data is the beacon frame so as to realize the positioning of the mobile terminal.
11. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the positioning method of any of the above claims 1 to 9.
12. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions,
wherein the processor is configured to perform the positioning method of any one of the preceding claims 1 to 9.
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 true CN114697863A (en) 2022-07-01
CN114697863B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040081114A1 (en) * 2000-12-18 2004-04-29 Liangcheng Jiang Ds-cdma integration spreading coherent receiver
CN1516460A (en) * 2003-01-09 2004-07-28 北京泰美世纪科技有限公司 Method for making synchronization by utilizing time domain spread spectrum beacon in digital video broadcast
US20090168849A1 (en) * 2007-12-31 2009-07-02 Silicon Laboratories Inc. Method and apparatus for symbol synchronization for an 802.15.4 radio platform
US20090296798A1 (en) * 2006-04-05 2009-12-03 Agere Systems Inc,. Hsdpa co-processor for mobile terminals
US20170350985A1 (en) * 2016-06-06 2017-12-07 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
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040081114A1 (en) * 2000-12-18 2004-04-29 Liangcheng Jiang Ds-cdma integration spreading coherent receiver
CN1516460A (en) * 2003-01-09 2004-07-28 北京泰美世纪科技有限公司 Method for making synchronization by utilizing time domain spread spectrum beacon in digital video broadcast
US20090296798A1 (en) * 2006-04-05 2009-12-03 Agere Systems Inc,. Hsdpa co-processor for mobile terminals
US20090168849A1 (en) * 2007-12-31 2009-07-02 Silicon Laboratories Inc. Method and apparatus for symbol synchronization for an 802.15.4 radio platform
US20170350985A1 (en) * 2016-06-06 2017-12-07 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
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
CN114697863B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US9237479B2 (en) Method and device for data traffic distribution
JP5941566B2 (en) Coexistence of WLAN and LTE in unlicensed radio frequency band
RU2464730C2 (en) Repeated selection of cells in wireless communication system
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
US20070109967A1 (en) Apparatus and method for post-processing Data Rate Control value in high rate packet data system
KR20120099568A (en) Method and appratus for measuring inteference from in-device communication module in wireless communication system
JP2013503528A (en) Method of initial frequency scanning, frequency scanning control apparatus, and apparatus
CN109889288B (en) Continuous spectrum sensing method based on ensemble average value iterative detection
CN112261672B (en) Uplink data analysis method, electronic device and storage medium
CN112425199A (en) Intelligent adaptive channel switching game router
KR100933162B1 (en) Method and apparatus for searching frequency burst for synchronization acquisition in mobile communication system
CN114697863B (en) Positioning method and device
CN105846924B (en) A kind of WLAN disturbance restraining method and jamproof WLAN devices
US8917704B2 (en) Method and system for automatically rescaling an accumulation buffer in synchronization systems
US10334453B2 (en) Method of neighbor cell detection
CN113115432B (en) Wireless communication method, device, equipment and storage medium
CN114885401A (en) WIFI active scanning method and device, and terminal positioning method and device
EP3593566A1 (en) User node, network node and methods for allocating and using resources for control signals
CN110474705B (en) Physical broadcast channel receiving method and device
CN111602458B (en) Method and apparatus for NPRACH detection
CN113904751B (en) Network searching method of terminal and wireless communication baseband chip of terminal
EP1441551B1 (en) Method of optimizing the performance of a mobile terminal
EP1780915A1 (en) Method and apparatus for selective disregard of co-channel transmissions on a medium

Legal Events

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