Summary of the invention
Based on this, it is necessary to all possibility port number situations are needed to be traversed for for the method for above-mentioned determining port number,
Whole process is more mechanical, and the technical problem that computational complexity is high, the processing time is long, provides a kind of determination side of port number
Method, device, computer equipment and storage medium.
In a first aspect, the embodiment of the present invention provides a kind of determination method of port number, which comprises
According to narrowband Physical Broadcast Channel NPBCH signal, the narrowband reference signal NRS for obtaining first port respectively is corresponding
First port power and the corresponding second port power of the NRS of second port;
According to the first port power and the second port power, the initial transmission end of the NPBCH signal is determined
Mouth number;
According to the Signal to Noise Ratio (SNR) of the initial transmission port number and the NRS of the first port, the NPBCH letter is determined
Number object transmission port number.
The corresponding first port function of narrowband reference signal NRS for obtaining first port in one of the embodiments,
The corresponding second port power of the NRS of rate and second port, comprising:
It is true according to the first port power, the second port power, the first power difference and the second power difference
The initial transmission port number of the fixed NPBCH signal;First power difference indicates that port number is 1 power difference, described
Second power difference indicates that port number is 2 power difference.
It is described according to the first port power, the second port power, the first power in one of the embodiments,
Difference and the second power difference determine the initial transmission port number of the NPBCH signal, comprising:
If the first port power be greater than the second port power and first power difference and, it is determined that institute
The initial transmission port number for stating NPBCH signal is 1;
If the difference of the first port power and the second port power is less than preset threshold, it is determined that the NPBCH
The initial transmission port number of signal is 2;
If the first port power and second power difference and be less than the second port power, it is determined that institute
The initial transmission port number for stating NPBCH signal is 0.
The letter according to the initial transmission port number and the NRS of the first port in one of the embodiments,
It makes an uproar than SNR, before the object transmission port number for determining the NPBCH signal, which comprises
The SNR of the first port NRS is determined according to the first port power and noise power.
The letter according to the initial transmission port number and the NRS of the first port in one of the embodiments,
It makes an uproar than SNR, determines the object transmission port number of the NPBCH signal, comprising:
According to the initial transmission port number, the SNR of the first port NRS, noise threshold and NPBCH equilibrium solution
Reconcile the object transmission port number that code threshold value determines the NPBCH signal.
In one of the embodiments, it is described according to the initial transmission port number, the first port NRS SNR, make an uproar
Glottis limit value and NPBCH equalizing demodulation decoding threshold value determine the object transmission port number of the NPBCH signal, comprising:
If the SNR of the first port NRS is greater than the noise threshold, it is determined that the initial transmission port number is institute
State the object transmission port number of NPBCH signal;
If the SNR of the first port NRS is greater than the NPBCH equalizing demodulation decoding threshold value, and the first port
The SNR of NRS is less than or equal to the noise threshold, it is determined that the object transmission port number of the NPBCH signal is 2;
If the SNR of the first port NRS is less than or equal to the NPBCH equalizing demodulation decoding threshold value, it is determined that
The object transmission port number of the NPBCH signal is sky.
In one of the embodiments, according to narrowband Physical Broadcast Channel NPBCH signal, first port is obtained respectively
Before the corresponding first port power of narrowband reference signal NRS and the corresponding second port power of NRS of second port, the side
Method further include:
The NPBCH signal is converted to from time-domain signal by frequency-region signal using fast Fourier transformation algorithm.
Second aspect, the embodiment of the present invention provide a kind of determining device of port number, and described device includes:
Module is obtained, for obtaining the narrowband reference of first port respectively according to narrowband Physical Broadcast Channel NPBCH signal
The corresponding second port power of NRS of the corresponding first port power of signal NRS and second port;
First determining module, for determining the NPBCH according to the first port power and the second port power
The initial transmission port number of signal;
Second determining module, for the signal-to-noise ratio according to the initial transmission port number and the NRS of the first port
SNR determines the object transmission port number of the NPBCH signal.
The third aspect, a kind of computer equipment of the embodiment of the present invention, including memory and processor, the memory storage
There is computer program, the processor performs the steps of when executing the computer program
According to narrowband Physical Broadcast Channel NPBCH signal, the narrowband reference signal NRS for obtaining first port respectively is corresponding
First port power and the corresponding second port power of the NRS of second port;
According to the first port power and the second port power, the initial transmission end of the NPBCH signal is determined
Mouth number;
According to the Signal to Noise Ratio (SNR) of the initial transmission port number and the NRS of the first port, the NPBCH letter is determined
Number object transmission port number.
A kind of fourth aspect, computer readable storage medium of the embodiment of the present invention, is stored thereon with computer program, described
It is performed the steps of when computer program is executed by processor
According to narrowband Physical Broadcast Channel NPBCH signal, the narrowband reference signal NRS for obtaining first port respectively is corresponding
First port power and the corresponding second port power of the NRS of second port;
According to the first port power and the second port power, the initial transmission end of the NPBCH signal is determined
Mouth number;
According to the Signal to Noise Ratio (SNR) of the initial transmission port number and the NRS of the first port, the NPBCH letter is determined
Number object transmission port number.
Determination method, apparatus, computer equipment and the storage medium of a kind of port number provided by the embodiments of the present application, terminal
Equipment first determines the initial transmission end of NPBCH signal according to the first port power and second port power for obtaining NPBCH signal
Mouth number, then secondary-confirmation is carried out to initial transmission port number by the SNR of the initial transmission port number and first port NRS and is obtained
Object transmission port number in this way, carrying out initial decision by the relevant physical quantity of NRS to NPBCH signal, then is initially sentenced this
Disconnected result is verified, and avoids directly that demodulating and decoding judges transmission port number respectively to NPBCH mono- dual-port, to drop significantly
The complexity of low port number determination process operation shortens the processing time.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
A kind of determination method of port number provided by the present application, can be applied in application environment as shown in Figure 1, the end
End equipment can be server, which includes processor, the memory, network interface sum number connected by system bus
According to library.Wherein, the processor of the terminal device is for providing calculating and control ability.The memory of the terminal device includes non-easy
The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and database.It should
Built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The terminal device
Data of the database for the determination method method of storage port number.The network interface of the terminal device is used for and external other
Equipment passes through network connection communication.A kind of determination method of port number is realized when the computer program is executed by processor.
Embodiments herein provides determination method, apparatus, computer equipment and the storage medium of a kind of port number, it is intended to
The method for solving to determine port number needs to be traversed for all possibility port number situations, and whole process is more mechanical, and operation is multiple
The technical problem that miscellaneous degree is high, the processing time is long.Embodiment will be passed through below and in conjunction with attached drawing specifically to the technical side of the application
How the technical solution of case and the application, which solve above-mentioned technical problem, is described in detail.These specific embodiments below
It can be combined with each other, the same or similar concept or process may be repeated no more in certain embodiments.It needs to illustrate
It is a kind of determination method of port number provided by the invention, executing subject is terminal device, wherein the executing subject may be used also
To be the determining device of port number, wherein the device can be implemented as by way of software, hardware or software and hardware combining
The determining device of port number it is some or all of.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In one embodiment, as Fig. 2 the embodiment of the present application provides a kind of determination method of port number, the present embodiment is related to
And be initial transmission port number that terminal device determines NPBCH signal according to first port power and second port power, then
The SNR of first port NRS carries out secondary-confirmation to the initial transmission port number and obtains the detailed process of object transmission port number, such as
Shown in Fig. 2, this method comprises:
S101 obtains the corresponding first port function of narrowband reference signal NRS of first port according to NPBCH signal respectively
The corresponding second port power of the NRS of rate and second port.
In this step, terminal device first receives narrowband physics broadcast channel signal (the Narrow physical of base station transmission
Broadcast channel, abbreviation NPBCH) signal, then terminal device obtains first port according to the NPBCH signal respectively
The corresponding first port power of narrowband reference signal (Narrow band reference signal, abbreviation NRS) and second
The corresponding second port power of the NRS of port, wherein terminal device obtains the mode of first port power and second port power
Can be the frequency domain data of the NRS by first port NRS and second port squared absolute value be determined as first port power and
Second port power is also possible to other modes and is calculated, and the present embodiment does not limit this.
S102 determines the initial biography of the NPBCH signal according to the first port power and the second port power
Defeated port number.
Based in above-mentioned S101 step, the first port power and second port power that terminal device determines, terminal device
Determine the initial transmission port number of NPBCH signal, wherein terminal device can pass through first port power and second port power
Specific value judge the quality of transmission PBCH signal, according to the excellent determining port for transmitting the PBCH signal of quality
Number, as initial port number, certain terminal device determine that the mode of initial transmission port number can also be other modes, this implementation
Example does not limit this.
S103 determines the NPBCH signal according to the SNR of the initial transmission port number and the NRS of the first port
Object transmission port number.
Based in above-mentioned S102 step, the initial transmission port number that terminal device determines, terminal device is according to the initial biography
The signal-to-noise ratio (Signal to Noise Ratio, abbreviation SNR) of defeated port number and first port NRS, determines NPBCH signal
Object transmission port number.Terminal device can first determine the transmission of first port according to the SNR of first port NRS
In NPBCH signal in present channel actual noise power size, according to the size of the actual noise power to initial transmission end
Mouth number carries out secondary-confirmation, the transmission port number finally determined, as object transmission port number.Equally, terminal device is true
The mode of the transmission port that sets the goal number is also possible to other modes, and the present embodiment is to this and without limitation.
A kind of determination method of port number provided in this embodiment, terminal device is according to the first end for obtaining NPBCH signal
Mouthful power and second port power, first determine the initial transmission port number of NPBCH signal, then by the initial transmission port number and
The SNR of first port NRS to initial transmission port number carry out secondary-confirmation obtain object transmission port number, in this way, by pair
The relevant physical quantity of the NRS of NPBCH signal carries out initial decision, then verifies to the initial decision result, and it is directly right to avoid
Demodulating and decoding judges transmission port number to the mono- dual-port of NPBCH respectively, to substantially reduce answering for port number determination process operation
Miscellaneous degree shortens the processing time.
The specific of initial transmission port number and object transmission port number is determined to terminal device below by several embodiments
Process is made to introduce.
In one embodiment, the embodiment of the present application provides a kind of determination method of port number, what which was related to
Terminal device determines that NPBCH believes according to first port power, second port power, the first power difference and the second power difference
Number initial transmission port number detailed process, wherein above-mentioned S102 step includes: according to the first port power, described
Two-port netwerk power, the first power difference and the second power difference determine the initial transmission port number of the NPBCH signal;It is described
First power difference indicates that port number is 1 power difference, and second power difference indicates that port number is 2 power difference.
Wherein, first port power and second port power are the numerical value determined in above-described embodiment.First difference power
Value indicates power difference when port number is 1, power difference when the second power difference port number is 2.Wherein, for the first function
The specific value of rate difference and the second power difference can be emulated using ideal parameters by simulated environment, obtain one
Specific value, the present embodiment determine that the mode of the first power difference and the second power difference specific value does not limit for emulating
It is fixed, it can carry out according to the actual situation.
In practical applications, terminal device is according to first port power, second port power, the first power difference and
Two power differences determine the initial transmission port number of NPBCH signal, and method of determination can be terminal device according to first port
Each parameter is input to analog loop by the specific value of power, second port power, the first power difference and the second power difference
It is emulated in border, initial transmission port number is then determined according to simulation result, naturally it is also possible to be other modes, the present embodiment
It does not limit this.
Optionally, terminal device is according to first port power, second port power, the first power difference and the second power
Difference determines that a kind of achievable mode of the initial transmission port number of NPBCH signal includes three kinds of schemes, respectively following proposal
A, option b and scheme C:
Option A, if the first port power be greater than the second port power and first power difference and,
The initial transmission port number for determining the NPBCH signal is 1.
In the present solution, terminal device according in above-described embodiment determine first port power, second port power and
First power difference, judge first port power whether be greater than second port power and first power difference and, if
First port power be greater than second port power and first power difference and, expression first port channel quality is good,
Then terminal device determines that the initial transmission port number of NPBCH signal is 1.
Option b, if the difference of the first port power and the second port power is less than preset threshold, it is determined that described
The initial transmission port number of NPBCH signal is 2.
In the present solution, terminal device calculates the difference of first port power and second port power, if the first port function
Rate and the difference of second port power are less than preset threshold, indicate that two channel qualities are good, then terminal device determines NPBCH signal
Initial transmission port number be 2.Wherein, preset threshold is the customized setting of user, is the value of a very little, indicates first port
Power is approximately equal to second port power.
Scheme C, if the first port power and second power difference and be less than the second port power,
The initial transmission port number for determining the NPBCH signal is 0.
In the present solution, that terminal device judges first port power and the second power difference and whether be less than second port function
Rate, if first port power and the second power difference and be less than second port power, then it represents that receive NPBCH signaling channel
There are exceptions, and first port certainly exists, it can determining the NRS of second port, there may be disturbed conditions, then eventually
End equipment determines that the initial transmission port number of NPBCH signal is 0, no longer carries out subsequent processing to currently received signal, waits
The arrival of next frame signal repeats above method and judges initial transmission port.
Illustratively, initial transmission port number is set as N, and first port power is Pport1, second port power is Pport2,
First power difference be Δ p1, the second power difference be Δ p2, then terminal device according to the following equation (1) to initial transmission port
Number is determined.
A kind of determination method of port number provided in this embodiment, terminal device is according to first port power, second port
Size relation between power, the first power difference and the second power difference determines the initial transmission port number of NPBCH signal,
In this way, first carrying out initial decision to transmission port number according to the relevant physical quantity of NRS, avoid directly to the mono- dual-port of NPBCH
It is determining to carry out port number for demodulating and decoding respectively, to substantially reduce the complexity of port number determination process operation, shorten the processing time.
Due to first port be certainly it is existing, in the case where above-described embodiment has determined initial transmission port number, be
The accuracy for guaranteeing determining transmission port number, can be verified by noise in the channel of first port, then at one
In embodiment, which comprises determine the SNR of the first port NRS according to the first port power and noise power.
Wherein, terminal device can be in such a way that first port power and noise power determine the SNR of first port NRS, by
Single port power and the ratio of noise power determines, wherein the noise power can by simulated environment using ideal parameters into
Row emulation, obtains a specific value, and what is indicated is an ideal noise power, determines that noise power is specific for emulating
The mode this embodiment of numerical value without limitation, can carry out according to the actual situation.Illustratively, set first port power as
Pport1, noise power Pn, then (2) determine the SNR of first port NRS according to the following equation.
SNR=Pport1/Pn (2)
In another embodiment, the embodiment of the present application provides a kind of determination method of port number, which relates to
And be terminal device according to initial transmission port number, the SNR of first port NRS, noise threshold and NPBCH equalizing demodulation
Decoding threshold value determines the detailed process of the object transmission port number of NPBCH signal, then above-mentioned S103 step includes: according to
Initial transmission port number, the SNR of the first port NRS, noise threshold and NPBCH equalizing demodulation decoding threshold value determine
The object transmission port number of the NPBCH signal.
Wherein, initial transmission port number is and has determined that in above-described embodiment, and value can be 1 or 2.Noise gate
Limit value indicates that the critical value of noise in NPBCH signal, NPBCH equalizing demodulation decoding threshold value indicate NPBCH signal demodulating and decoding
When critical value simulated environment can be passed through for the specific value of noise threshold and NPBCH equalizing demodulation decoding threshold value
It is emulated using ideal parameters, obtains a specific value, the present embodiment determines noise threshold and NPBCH for emulating
The mode of the specific value of equalizing demodulation decoding threshold value without limitation, can carry out according to the actual situation.
In practical applications, terminal device is according to initial transmission port number, SNR, the noise gate of the first port NRS
Value and NPBCH equalizing demodulation decoding threshold value determine the object transmission port number of the NPBCH signal, and method of determination can be with
It is terminal device according to initial transmission port number, the SNR of the first port NRS, noise threshold and NPBCH equalizing demodulation
Each parameter is input in simulated environment and emulates, then determines mesh according to simulation result by the specific value of decoding threshold value
Mark transmission port number, naturally it is also possible to be other modes, the present embodiment does not limit this.
Optionally, terminal device according to the initial transmission port number, the SNR of first port NRS, noise threshold and
NPBCH equalizing demodulation decoding threshold value determines that a kind of achievable mode of the object transmission port number of NPBCH signal includes three kinds
Scheme, respectively following proposal D, scheme E and scheme F:
Scheme D, if the SNR of the first port NRS is greater than the noise threshold, it is determined that the initial transmission port
Number is the object transmission port number of the NPBCH signal.
In the present solution, terminal device is according to the SNR of the first port NRS of above-mentioned determination and the specific number of noise threshold
Value, judges whether the SNR of first port NRS is greater than noise threshold, if the SNR of first port NRS is greater than noise threshold,
Then indicate that noise power is relatively small in NPBCH signal, it is determined that initial transmission port number it is reliable, therefore by initial transmission
Port number is determined as the object transmission port number of NPBCH signal, i.e., terminal device is with determining initial transmission port number to NPBCH
Signal carries out demodulating and decoding.
Scheme E, if the SNR of the first port NRS is greater than the NPBCH equalizing demodulation decoding threshold value, and described the
The SNR of Single port NRS is less than or equal to the noise threshold, it is determined that the object transmission port number of the NPBCH signal
It is 2.
In the present solution, terminal device is if it is determined that the SNR of first port NRS is less than or equal to noise threshold, expression
Noise power compares larger in NPBCH signal, then first port power and second port power are determined with regard to essentially identical
Initial transmission port number is 2, and then, terminal device judges SNR and NPBCH the equalizing demodulation decoding threshold of first port NRS again
Size relation between value indicates present channel matter if the SNR of first port NRS is greater than NPBCH equalizing demodulation decoding threshold value
Amount is good, then terminal device determines that the object transmission port number is 2, i.e. terminal device carries out NPBCH signal with dual-port number
Demodulating and decoding.
Scheme F, if the SNR of the first port NRS is less than or equal to the NPBCH equalizing demodulation decoding threshold value,
Then determine the object transmission port number of the NPBCH signal for sky.
In the present solution, terminal device is if it is determined that the SNR of first port NRS is decoded less than or equal to NPBCH equalizing demodulation
Threshold value indicates that present channel quality is too poor, is not able to satisfy NPBCH signal demodulating and decoding requirement, then terminal device determines NPBCH
The object transmission port number of signal is sky, that is, waits next frame data to handle without demodulating and decoding process the signal.
Illustratively, object transmission port number is set as M, and determining initial transmission port number is N, and noise threshold is
SNRTH, NPBCH equalizing demodulation decoding threshold value is SNRTH_DM, then terminal device according to the following equation (3) to object transmission port
Number is determined.
A kind of determination method of port number provided in this embodiment, terminal device is according to initial transmission port number, first end
Size relation between the SNR of mouthful NRS, noise threshold and NPBCH equalizing demodulation decoding threshold value, determines each port pair
The influence of the channel quality and noise answered, so that it is determined that the object transmission port number of NPBCH signal, in this way, by determination
Initial transmission port number carry out secondary determination, substantially increase the accuracy of determining transmission port number.
In view of the received NPBCH signal of terminal device is time-domain signal, and use one kind provided by the embodiments of the present application
Need to use the frequency-region signal of NPBCH signal when the determination method of port number, therefore in one embodiment, the application is real
It applies example and provides a kind of determination method of port number, the terminal device which is related to is by received NPBCH signal from time domain
Signal is converted to the detailed process of frequency-region signal, which comprises uses fast Fourier transfer algorithm by the NPBCH signal
Frequency-region signal is converted to from time-domain signal.In the present embodiment, terminal device passes through fast Fourier transfer algorithm (Fast
Fourier Transformation, abbreviation FFT) time-domain signal of the NPBCH signal received is converted into NPBCH signal
Frequency-region signal, it should be noted that the time-domain signal of NPBCH signal is converted to frequency-region signal in addition to using other by terminal device
Algorithm is converted, the fft algorithm provided in the present embodiment be a kind of for example, the present embodiment to this and without limitation.
A kind of determination method of port number provided in this embodiment, by terminal device to received NPBCH signal from
Time-domain signal is converted to frequency-region signal, in this way, sophisticated signal to be decomposed into the superposition of simple signal (sinusoidal signal), Ke Yigeng
Add the accurate first port power and second port power for calculating NPBCH signal.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this
A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps
It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2
Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps
It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,
But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 3, the embodiment of the present application provides a kind of determining device of port number, comprising:
Obtain module 10, the first determining module 11 and the second determining module 12, in which:
Module 10 is obtained, NPBCH signal is used for, obtains the narrowband reference signal NRS corresponding first of first port respectively
Port power and the corresponding second port power of the NRS of second port;
First determining module 11, described in determining according to the first port power and the second port power
The initial transmission port number of NPBCH signal;
Second determining module 12, for the SNR according to the initial transmission port number and the NRS of the first port, really
The object transmission port number of the fixed NPBCH signal.
A kind of determining device of port number provided by the above embodiment, implementing principle and technical effect and the above method are real
It is similar to apply example, details are not described herein.
In one embodiment, the embodiment of the present application provides a kind of determining device of port number, and above-mentioned first determines mould
Block 11 includes: the first determination unit 111, for according to the first port power, the second port power, the first difference power
Value and the second power difference determine the initial transmission port number of the NPBCH signal;First power difference indicates port
The power difference that number is 1, second power difference indicate that port number is 2 power difference.
In one embodiment, above-mentioned as shown in figure 4, the embodiment of the present application provides a kind of determining device of port number
Determination unit 111 includes: at the beginning of the first initial port determines that subelement 1111, the second initial port determine subelement 1112 and third
Beginning mouth determines subelement 1113.Wherein:
First initial port determines subelement 1111, if being greater than the second port power for the first port power
With first power difference and, it is determined that the initial transmission port number of the NPBCH signal be 1;
Second initial port determines subelement 1112, if for the first port power and the second port power it
Difference is less than preset threshold, it is determined that the initial transmission port number of the NPBCH signal is 2;
Third initial port determines subelement 1113, if for the first port power and second power difference
Be less than the second port power, it is determined that the initial transmission port number of the NPBCH signal be 0.
A kind of determining device of port number provided by the above embodiment, implementing principle and technical effect and the above method are real
It is similar to apply example, details are not described herein.
In one embodiment, the embodiment of the present application provides a kind of determining device of port number, and described device includes: letter
It makes an uproar than determining module, for determining the SNR of the first port NRS according to the first port power and noise power.
In one embodiment, the embodiment of the present application provides a kind of determining device of port number, and above-mentioned second determines mould
Block 12 includes: the second determination unit 121, for SNR, the noise according to the initial transmission port number, the first port NRS
Threshold value and NPBCH equalizing demodulation decoding threshold value determine the object transmission port number of the NPBCH signal.
In one embodiment, above-mentioned as shown in figure 5, the embodiment of the present application provides a kind of determining device of port number
Second determination unit 121 includes: that first object port determines that subelement 1211, the second target port determine subelement 1212 and
Three target ports determine subelement 1213.
First object port determines subelement 1211, if the SNR for the first port NRS is greater than the noise gate
Value, it is determined that the initial transmission port number is the object transmission port number of the NPBCH signal;
Second target port determines subelement 1212, if the SNR for the first port NRS is equal greater than the NPBCH
Weigh demodulating and decoding threshold value, and the SNR of the first port NRS is less than or equal to the noise threshold, it is determined that described
The object transmission port number of NPBCH signal is 2;
Third target port determines subelement 1213, if being less than or equal to the NPBCH for the first port NRS
Equalizing demodulation decoding threshold value, it is determined that the object transmission port number of the NPBCH signal is sky.
A kind of determining device of port number provided by the above embodiment, implementing principle and technical effect and the above method are real
It is similar to apply example, details are not described herein.
In one embodiment, the embodiment of the present application provides a kind of determining device of port number, and described device further includes
Conversion module, for the NPBCH signal to be converted to frequency-region signal from time-domain signal using fast Fourier transformation algorithm.
A kind of determining device of port number provided by the above embodiment, implementing principle and technical effect and the above method are real
It is similar to apply example, details are not described herein.
The specific of determining device about port number limits the limit that may refer to the determination method above for port number
Fixed, details are not described herein.Modules in the determining device of above-mentioned port number can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 1 above.The computer equipment include by system bus connect processor, memory, network interface,
Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment
Memory include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and calculating
Machine program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.It should
The network interface of computer equipment is used to communicate with external terminal by network connection.The computer program is executed by processor
When to realize the determination method of port number a kind of.The display screen of the computer equipment can be liquid crystal display or electric ink
Display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to outside computer equipment
Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in above-mentioned Fig. 1, only portion relevant to application scheme
The block diagram of separation structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer
Equipment may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure
It sets.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program
According to NPBCH signal, the corresponding first port power of narrowband reference signal NRS and the of first port is obtained respectively
The corresponding second port power of the NRS of Two-port netwerk;
According to the first port power and the second port power, the initial transmission end of the NPBCH signal is determined
Mouth number;
According to the SNR of the initial transmission port number and the NRS of the first port, the mesh of the NPBCH signal is determined
Mark transmission port number.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
According to NPBCH signal, the corresponding first port power of narrowband reference signal NRS and the of first port is obtained respectively
The corresponding second port power of the NRS of Two-port netwerk;
According to the first port power and the second port power, the initial transmission end of the NPBCH signal is determined
Mouth number;
According to the SNR of the initial transmission port number and the NRS of the first port, the mesh of the NPBCH signal is determined
Mark transmission port number.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.