The content of the invention
In view of this, it is current in the prior art to overcome the invention provides a kind of Internet of Things frequency sweeping method and sweep generator
Not the problem of not having the detection method of strong and weak and coverage of the arrowband Internet of Things standard signal produced for base station also.
To achieve the above object, the present invention provides following technical scheme:
A kind of Internet of Things frequency sweeping method, applied to sweep generator, including:
Receive the signal for the arrowband Internet of Things standard that base station is sent;
The data frame for belonging to the corresponding frequency band range of the frequency pre-set, each frequency correspondence are obtained from the signal
One frequency band range;
Determine to carry the main sync bit of master sync signal in the data frame, and obtained at the main sync bit
Pilot signal, the master sync signal includes the pilot signal for being used to carry out channel estimation;
Determine to carry the auxiliary sync bit of auxiliary synchronous signals in the data frame, and obtained at the assist in synchronization position
Cell ID ID is taken, the auxiliary synchronous signals include the data for being used to calculate the cell ID ID belonging to the data frame, or, institute
State the cell ID ID belonging to data frame;
The received signal strength of the cell ID ID is obtained according to the pilot signal, the received signal strength includes
Reference Signal Received Power RSRP, or, Reference Signal Received Power RSRP and signal to noise ratio SINR;
The cell ID ID and the corresponding received signal strengths of cell ID ID are sent to remote terminal, with
Just remote terminal analyzes the base station according to the corresponding received signal strengths of the cell ID ID and cell ID ID
Signal intensity and signal coverage.
Wherein, it is described to send the cell ID ID and the corresponding received signal strengths of cell ID ID to remote
Journey terminal includes:
According to the corresponding received signal strengths of cell ID ID, the cell ID ID is stored into default entry
Be stored with each corresponding received signal strengths of cell ID ID in corresponding position, the default entry, and the default entry is deposited
Each cell ID ID of storage is arranged according to corresponding received signal strength descending or ascending order;
The default entry is sent to the remote terminal.
Wherein, it is described to send the cell ID ID and the corresponding received signal strengths of cell ID ID to remote
Journey terminal also includes:
When acquisition receives the cell ID ID corresponding data frames, the geographical position where the sweep generator;
The corresponding geographical position of cell ID ID is stored into the default entry.
Wherein, the main sync bit for determining to carry master sync signal in the data frame includes:
Generate the first local signal;
According to the first correlation function pre-set, the phase relation of first local signal and the data frame is calculated
Number, first correlation function is using coefficient correlation as because becoming by independent variable of the subcarrier in the time slot and frequency domain in time domain
The function of amount;
By corresponding first time slot of the maximum correlation coefficient of first correlation function and target sub-carriers, it is defined as institute
State main sync bit in data frame.
Wherein, the auxiliary sync bit for determining to carry auxiliary synchronous signals in the data frame includes:
Generate the second local signal;
According to the second correlation function pre-set, the phase relation of second local signal and the data frame is calculated
Number, it using the time slot of time domain is function of the independent variable using coefficient correlation as dependent variable that second correlation function, which is,;
By corresponding second time slot of the maximum correlation coefficient of second correlation function, it is defined as auxiliary same in the data frame
Step is put.
Preferably, also include:
Corresponding second time slots of the cell ID ID are sent to the remote terminal.
A kind of sweep generator, including:
Receiver module, the signal of the arrowband Internet of Things standard for receiving base station transmission;
First acquisition module, the number of the corresponding frequency band range of frequency pre-set is belonged to for being obtained from the signal
According to frame, one frequency band range of each frequency correspondence;
First determining module, the main sync bit for determining to carry master sync signal in the data frame, and from institute
Acquisition pilot signal at main sync bit is stated, the master sync signal includes the pilot signal for being used to carry out channel estimation;
Second determining module, the auxiliary sync bit for determining to carry auxiliary synchronous signals in the data frame, and from institute
Acquisition cell ID ID at assist in synchronization position is stated, the auxiliary synchronous signals include being used to calculate the cell belonging to the data frame
ID data are identified, or, the cell ID ID belonging to the data frame;
Second acquisition module, the received signal strength for obtaining the cell ID ID according to the pilot signal, institute
Stating received signal strength includes Reference Signal Received Power RSRP, or, Reference Signal Received Power RSRP and signal to noise ratio SINR;
Sending module, for the corresponding received signal strengths of the cell ID ID and cell ID ID to be sent
To remote terminal, so that remote terminal is according to the cell ID ID and the corresponding received signal strengths of cell ID ID
Analyze the signal intensity of the base station and the coverage of signal.
Wherein, the sending module includes:
First memory cell, for according to the corresponding received signal strengths of cell ID ID, by the cell ID
ID stores each cell ID ID that is stored with the corresponding position into default entry, the default entry, and to receive signal accordingly strong
Degree, each cell ID ID of the default entry storage is arranged according to corresponding received signal strength descending or ascending order;
Transmitting element, for the default entry to be sent to the remote terminal.
Wherein, first determining module includes:
First generation unit, for generating the first local signal;
First computing unit, for according to the first correlation function pre-set, calculating first local signal and institute
The coefficient correlation of data frame is stated, first correlation function is using the subcarrier in the time slot and frequency domain in time domain as independent variable
Using coefficient correlation as the function of dependent variable;
First determining unit, for by corresponding first time slot of the maximum correlation coefficient of first correlation function and mesh
Subcarrier is marked, is defined as main sync bit in the data frame.
Wherein, second determining module includes:
Second generation unit, for generating the second local signal;
Second computing unit, for according to the second correlation function pre-set, calculating second local signal and institute
State the coefficient correlation of data frame, it using the time slot of time domain is independent variable using coefficient correlation as dependent variable that second correlation function, which is,
Function;
Second determining unit, for by corresponding second time slot of the maximum correlation coefficient of second correlation function, it is determined that
For auxiliary sync bit in the data frame.
Understood via above-mentioned technical scheme, compared with prior art, the embodiments of the invention provide a kind of present invention is real
The Internet of Things frequency sweeping method for applying example offer can apply to sweep generator, in actual applications, can constantly move sweep generator (example
Such as, sweep generator is placed on moveable vehicle) so that sweep generator can detect base station generation in different geographical position
Arrowband Internet of Things standard signal, sweep generator obtains pilot signal by the main sync bit where master sync signal in data frame;
The auxiliary sync bit where auxiliary synchronous signals obtains cell ID ID in a data frame, so that it is determined that going out respective cell identifies ID pairs
The received signal strength answered, received signal strength can just embody the power of base station sending signal.
Further, due to that can set GPS module on sweep generator, sweep generator can obtain the geographical position where itself
Put, or, on the vehicle for placing sweep generator, GPS module is provided with, GPS module can obtain the geographical position where sweep generator,
It can be sent by the current geographical position of sweep generator and in the received signal strength that the geographical location is measured to remote terminal, far
Journey terminal can just go out the intensity and the coverage of signal of the signal of base station generation according to these information analyses.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, being a kind of schematic flow sheet of Internet of Things frequency sweeping method provided in an embodiment of the present invention, this method bag
Include:
Step S101:Receive the signal for the arrowband Internet of Things standard that base station is sent.
The signal of arrowband Internet of Things standard can (Narrow Band Internet of Things, be based on for NB-IOT
Cellular arrowband Internet of Things) standard signal.
Above-mentioned Internet of Things frequency sweeping method can apply to sweep generator, and sweep generator may receive one or more in synchronization
One or more signals that base station is sent.This is relevant with the geographical position where sweep generator.When sweep generator is in the letter of two base stations
Number coverage intersection, then may receive the signal that two base stations are sent.When sweep generator is only in the signal covering of a base station
In the range of, then it is only capable of receiving the signal that a base station is sent.
Step S102:The data frame for belonging to the corresponding frequency band range of the frequency pre-set is obtained from the signal, often
One frequency, one frequency band range of correspondence.
Frequency refers to the centre frequency of specific absolute frequency value, generally modulated signal.Such as frequency interval is
200KHz.890MHz to 915MHz signal frequency range is divided into according to frequency interval:890MHz、890.2MHz、
890.4MHz ..., 125 frequency ranges such as 915MHz, each frequency range is numbered, it is assumed that numbering is respectively:1st, 2,3 ..., 125,
Then these numberings are frequency.
Each frequency one frequency band range of correspondence, still exemplified by above-mentioned, the corresponding frequency band range of frequency 1 be 890MHz extremely
890.2MHz, the corresponding frequency band range of frequency 2 is 890.2MHz to 890.4MHz, by that analogy.
Sweep generator preset signals frequency range can be successively numbered in sequence, i.e., with the frequency interval of software merit rating
For obtaining the frequency in preset signals frequency range.
The corresponding frequency band range of frequency is relevant with the frequency band range where the data frame that sweep generator is received.
Step S103:Determine to carry the main sync bit of master sync signal in the data frame, and from the main synchronization
Pilot signal is obtained at position, the master sync signal includes the pilot signal for being used to carry out channel estimation.
Step S104:Determine to carry the auxiliary sync bit of auxiliary synchronous signals in the data frame, and it is same from the auxiliary
The step place of putting obtains cell ID ID.
The auxiliary synchronous signals include the data for being used to calculate the cell ID ID belonging to the data frame, or, the number
According to the cell ID ID belonging to frame.
Step S105:The received signal strength of the cell ID ID, the reception letter are obtained according to the pilot signal
Number intensity includes Reference Signal Received Power RSRP, or, Reference Signal Received Power RSRP and signal to noise ratio SINR.
Channel estimation value h (n), Reference Signal Received Power RSRP (Reference can be calculated according to pilot signal
Signal Receiving Power, Reference Signal Received Power)=| h (n) |2。
Utilize channel estimation value and h (n) and noise measured value hnoise, can calculate
Step S106:The cell ID ID and the corresponding received signal strengths of cell ID ID are sent to remote
Journey terminal, so that remote terminal is according to the corresponding received signal strength analyses of the cell ID ID and cell ID ID
The signal intensity of the base station and the coverage of signal.
It can every time detect after the corresponding received signal strengths of cell ID ID, send in real time to remote terminal.
The corresponding received signal strengths of cell ID ID detected can be stored into default entry, default entry can be form
Or memory space etc..
It is preferred that, each cell ID ID for presetting entry storage is arranged according to corresponding received signal strength descending or ascending order
Row.Default entry can be sent to remote terminal.
It is preferred that, GPS (Global Positioning System, global positioning system) module is provided with sweep generator,
Sweep generator can obtain the geographical position where itself according to GPS module.Sweep generator can also be by cell ID ID accordingly
Reason position is stored into default entry.
Internet of Things frequency sweeping method provided in an embodiment of the present invention can apply to sweep generator, in actual applications, can not
Disconnected mobile sweep generator (for example, sweep generator is placed on moveable vehicle) so that sweep generator can be in different geography
Position detects base station and produces arrowband Internet of Things standard signal, and sweep generator passes through the main synchronization where master sync signal in data frame
Position obtains pilot signal;The auxiliary sync bit where auxiliary synchronous signals obtains cell ID ID in a data frame, so that it is determined that
Go out the corresponding received signal strengths of respective cell mark ID, received signal strength can just embody the strong of base station sending signal
It is weak.
Further, due to that can set GPS module on sweep generator, sweep generator can obtain the geographical position where itself
Put, or, on the vehicle for placing sweep generator, GPS module is provided with, GPS module can obtain the geographical position where sweep generator,
It can be sent by the current geographical position of sweep generator and in the received signal strength that the geographical location is measured to remote terminal, far
Journey terminal can just go out the intensity and the coverage of signal of the signal of base station generation according to these information analyses.
As shown in Fig. 2 to determine to carry in the data frame in Internet of Things frequency sweeping method provided in an embodiment of the present invention
A kind of method flow schematic diagram of implementation of the main sync bit of master sync signal, this method includes:
Step S201:Generate the first local signal.
Step S202:According to the first correlation function pre-set, first local signal and the data frame are calculated
Coefficient correlation, it using the subcarrier in the time slot and frequency domain in time domain is independent variable with phase relation that first correlation function, which is,
Number is the function of dependent variable.
The mode that sweep generator generates the first local signal has a variety of, and the embodiment of the present invention provides but is not limited to implemented below side
Formula.
It can be Zadoff-Chu sequence that sweep generator, which produces the first local signal, can produce first according to below equation
Earth signal d (l, n).Assuming that the first local signal NPSS transmission cycle is 10ms.
Wherein, n is the time slot in time domain, and l is the volume of frequency domain sub-carriers
Number, Zadoff-Chu is shown in Table 1 with sequence index u=5 for distinct symbols index S (l) value.
The distinct symbols of table 1 index S (l) value
Concrete mode is as follows:
The first local signal d (l, n) zero padding to N=128 points, then negate after conjugation, by IFFT, (inverse Fourier becomes
Change) time domain is transformed to, sequence is obtained to be Si(n), i=3,4 ..13, n=0,1,2 .., N-1.That is, by the first local signal
Intercept as i first ground subsignal, each first ground subsignal Si(n) represent.
First correlation function can be convolutional calculation formula:Each first background is calculated respectively
The coefficient correlation of signal and data frame r (l, n),It is Si(n) conjugation.First local signal and the 20ms numbers received
Coefficient correlation is calculated according to the corresponding sequence r (l, n) of frame, related operation is transformed into frequency domain realizes, obtains the first correlation function most
Big value (i.e. maximum correlation coefficient) corresponding (l, n), is defined as the position of master sync signal in a data frame.
Step S203:Corresponding first time slot of the maximum correlation coefficient of first correlation function and target are carried
Ripple, is defined as main sync bit in the data frame.
Due to having intercepted the first local signal into multiple firsts ground subsignal in step S202, step S203 can have
Body includes:
Subsignal maximum correlation coefficient corresponding with the data frame and the first predetermined threshold value is big with judging each first
Small relation;The maximum correlation coefficient corresponding first ground subsignal equal to first predetermined threshold value is will be greater than, is defined as mesh
Mark first ground subsignal;The corresponding target time slot of maximum correlation coefficient equal to first predetermined threshold value is will be greater than, it is determined that
For main sync bit in the data frame.
Due to first subsignal have i, then each first subsignal and data frame have a maximal correlation system
Number, i.e., one has i maximum correlation coefficient.
Depending on first predetermined threshold value can be according to actual conditions, it is not specifically limited here.Due in the first local signal
Only one first subsignal there is stronger correlation with data frame, so in order to determine that this first background is believed
Number, just set the first predetermined threshold value.It will be greater than the corresponding first of maximum correlation coefficient equal to first predetermined threshold value
Ground subsignal, with being defined as target first subsignal.
It is preferred that, by the corresponding target firsts of cell ID ID subsignal send to remote terminal.
As shown in figure 3, to determine to carry in the data frame in Internet of Things frequency sweeping method provided in an embodiment of the present invention
A kind of method flow schematic diagram of implementation of the auxiliary sync bit of auxiliary synchronous signals, this method includes:
Step S301:Generate the second local signal.
The mode that sweep generator generates the second local signal has a variety of, and the embodiment of the present invention provides but is not limited to implemented below side
Formula.
Correlation computations, second are done with receiving sequence in locally generated second local signal NSSS sequences, interception NSSS part
Local signal can be as follows by frequency domain Zadoff-Chu sequence producing method:
N is time slot;
Wherein:
N=0,1 ..., 131
N '=nmod131
M=nmod128
U=Ncellmod126+3
Cyclic shift θfIn radio frames nfUnder be:
The binary system scrambler sequence b of second local signal NSSS sequencesq(m) it is a Hadamard sequence, producing method
It is as follows:Wherein:s0=0, s1=31, s2=63, s3=
127。
Step S302:According to the second correlation function pre-set, second local signal and the data frame are calculated
Coefficient correlation, it using the time slot of time domain is function of the independent variable using coefficient correlation as dependent variable that second correlation function, which is,.
Second correlation function of the second local signal and data frame is with that can be convolutional calculation method:Second local signal d (n) calculating, Ncell values be 0,1 ... ... 503, θfValue is 0,2,
4,8, the second local signal d (n) sequences one have 504*4=2016 kinds possibility, choose corresponding to coefficient correlation maximum
Ncell is NB-IOT cell IDs ID.
Step S202 is specifically as follows:Second local signal is intercepted into the multiple second local subsignals;Count respectively
Calculate the coefficient correlation of each second local subsignal and the auxiliary synchronous signals.
There is stronger correlation due to only having a second local subsignal and data frame in the second local signal, so
In order to determine this second local subsignal, the second local signal is just intercepted into the multiple second local subsignals.
Step S303:By corresponding second time slot of the maximum correlation coefficient of second correlation function, it is defined as the number
According to auxiliary sync bit in frame.
Step S303 is specifically included:
Judge the big of each second local subsignal maximum correlation coefficient corresponding with the data frame and the second predetermined threshold value
Small relation;The local subsignal of maximum correlation coefficient corresponding second equal to second predetermined threshold value is will be greater than, is defined as mesh
Mark the second local subsignal;The corresponding target time slot of maximum correlation coefficient equal to second predetermined threshold value is will be greater than, it is determined that
For auxiliary sync bit in the data frame.
Depending on second predetermined threshold value can be according to actual conditions, it is not specifically limited here.Due in the second local signal
Only one the second local subsignal has stronger correlation with data frame, so in order to determine this second background letter
Number, just set the second predetermined threshold value.It will be greater than corresponding second equal to the maximum correlation coefficient of second predetermined threshold value
Ground subsignal, is defined as the local subsignal of target second.
It is preferred that, the local subsignal of the corresponding targets second of cell ID ID is sent to remote terminal.
The embodiment of the present invention additionally provides sweep generator corresponding with Internet of Things frequency sweeping method, the mould included below to sweep generator
Block, unit are briefly described, and the detailed description of each module and each unit may refer to walk accordingly in Physical Network frequency sweeping method
Suddenly, repeat no more here.
As shown in figure 4, being the structural representation of sweep generator provided in an embodiment of the present invention, the sweep generator includes:
Receiver module 41, the signal of the arrowband Internet of Things standard for receiving base station transmission;
First acquisition module 42, belongs to the corresponding frequency band range of frequency pre-set for being obtained from the signal
Data frame, one frequency band range of each frequency correspondence;
First determining module 43, the main sync bit for determining to carry master sync signal in the data frame, and from
Pilot signal is obtained at the main sync bit, the master sync signal includes the pilot signal for being used to carry out channel estimation;
Second determining module 44, the auxiliary sync bit for determining to carry auxiliary synchronous signals in the data frame, and from
Cell ID ID is obtained at the assist in synchronization position, the auxiliary synchronous signals include being used to calculate small belonging to the data frame
Area identifies ID data, or, the cell ID ID belonging to the data frame;
Second acquisition module 45, the received signal strength for obtaining the cell ID ID according to the pilot signal,
The received signal strength includes Reference Signal Received Power RSRP, or, Reference Signal Received Power RSRP and signal to noise ratio
SINR;
Sending module 46, for the corresponding received signal strengths of the cell ID ID and cell ID ID to be sent out
Remote terminal is delivered to, according to the cell ID ID and the cell ID ID to receive signal accordingly strong so as to remote terminal
The signal intensity of the degree analysis base station and the coverage of signal.
Optionally, sending module includes:
First memory cell, for according to the corresponding received signal strengths of cell ID ID, by the cell ID
ID stores each cell ID ID that is stored with the corresponding position into default entry, the default entry, and to receive signal accordingly strong
Degree, each cell ID ID of the default entry storage is arranged according to corresponding received signal strength descending or ascending order;
Transmitting element, for the default entry to be sent to the remote terminal.
Optionally, the sending module also includes:
First acquisition unit, when receiving the corresponding data frames of the cell ID ID for obtaining, the sweep generator institute
Geographical position;
Second memory cell, for the corresponding geographical position of cell ID ID to be stored into the default entry.
Optionally, the first determining module includes:
First generation unit, for generating the first local signal;
First computing unit, for according to the first correlation function pre-set, calculating first local signal and institute
The coefficient correlation of data frame is stated, first correlation function is using the subcarrier in the time slot and frequency domain in time domain as independent variable
Using coefficient correlation as the function of dependent variable;
First determining unit, for by corresponding first time slot of the maximum correlation coefficient of first correlation function and mesh
Subcarrier is marked, is defined as main sync bit in the data frame.
Optionally, second determining module includes:
Second generation unit, for generating the second local signal;
Second computing unit, for according to the second correlation function pre-set, calculating second local signal and institute
State the coefficient correlation of data frame, it using the time slot of time domain is independent variable using coefficient correlation as dependent variable that second correlation function, which is,
Function;
Second determining unit, for by corresponding second time slot of the maximum correlation coefficient of second correlation function, it is determined that
For auxiliary sync bit in the data frame.
As shown in figure 5, the embodiment of the present invention additionally provides a kind of internal structure schematic diagram of sweep generator, the sweep generator can be with
Including:Processor 51, communication interface 52, memory 53 and communication bus 54;
Wherein processor 51, communication interface 52, memory 53 complete mutual communication by communication bus 54;
Optionally, communication interface 52 can be the interface of communication module, the interface of such as gsm module;
Processor 51, for configuration processor;
Memory 53, for depositing program and data;
Program can include program code, and described program code includes computer-managed instruction.
Processor 51 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention
Road.
Memory 53 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile
Memory), for example, at least one magnetic disk storage.
Wherein, program can be specifically for:
Receive the signal for the arrowband Internet of Things standard that base station is sent;
The data frame for belonging to the corresponding frequency band range of the frequency pre-set, each frequency correspondence are obtained from the signal
One frequency band range;
Determine to carry the main sync bit of master sync signal in the data frame, and obtained at the main sync bit
Pilot signal, the master sync signal includes the pilot signal for being used to carry out channel estimation;
Determine to carry the auxiliary sync bit of auxiliary synchronous signals in the data frame, and obtained at the assist in synchronization position
Cell ID ID is taken, the auxiliary synchronous signals include the data for being used to calculate the cell ID ID belonging to the data frame, or, institute
State the cell ID ID belonging to data frame;
The received signal strength of the cell ID ID is obtained according to the pilot signal, the received signal strength includes
Reference Signal Received Power RSRP, or, Reference Signal Received Power RSRP and signal to noise ratio SINR;
The cell ID ID and the corresponding received signal strengths of cell ID ID are sent to remote terminal, with
Just remote terminal analyzes the base station according to the corresponding received signal strengths of the cell ID ID and cell ID ID
Signal intensity and signal coverage.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other
Between the difference of embodiment, each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the application.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or scope.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.