Aerial angle adjusting method, signal projector and storage medium

文档序号:1744018 发布日期:2019-11-26 浏览:25次 中文

阅读说明:本技术 天线角度调节方法、信号发射器和存储介质 (Aerial angle adjusting method, signal projector and storage medium ) 是由 姚德才 于 2019-07-31 设计创作,主要内容包括:本发明中提供了一种天线角度调节方法、信号发射器和存储介质,方法包括获取发射端通信连接的接收端的当前信号强度值;判断所述当前信号强度值是否低于预设的信号强度阈值;若是,控制天线转动到指定角度进行调试,并根据调试结果来确定天线的目标角度;控制天线转动至所述目标角度。本申请当信号接收端的信号过低时,根据天线在不同的角度时接收端的信号强度来调节信号发射端的天线角度,以满足接收端的信号强度要求。根据接收端的上层应用程序的对信号强度的需求,自动获取到对应的信号强度阈值,可以实现准确的调节天线角度的需求。(A kind of aerial angle adjusting method, signal projector and storage medium are provided in the present invention, method includes obtaining the current signal strength value of the receiving end of transmitting terminal communication connection;Judge whether the current signal strength value is lower than preset signal strength threshold;If so, control antenna turns to specified angle and debugged, and the target angle of antenna is determined according to debugging result;Control antenna turns to the target angle.The application is when the signal of signal receiving end is too low, according to the signal strength of antenna receiving end in different angles come the aerial angle of adjustment signal transmitting terminal, to meet the signal strength requirement of receiving end.According to the demand to signal strength of the upper level applications of receiving end, corresponding signal strength threshold is got automatically, and the demand for accurately adjusting aerial angle may be implemented.)

1. a kind of aerial angle adjusting method, which comprises the following steps:

Obtain the current signal strength value of the receiving end of transmitting terminal communication connection;

Judge whether the current signal strength value is lower than preset signal strength threshold;

If so, control antenna turns to specified angle and debugged, and the target angle of antenna is determined according to debugging result;

Control antenna turns to the target angle.

2. aerial angle adjusting method according to claim 1, which is characterized in that the control antenna turns to specified angle Degree is debugged, and the step of determining according to debugging result the target angle of antenna, comprising:

Control antenna turns to extreme angles from zero degree, after the first specified degree of every rotation, coarse adjustment tune locating for record antenna Signal strength indication is debugged in the coarse adjustment for trying angle and receiving end, obtains multiple coarse adjustment debugging angles and corresponding coarse adjustment debugging letter Number intensity value;

Multiple coarse adjustment debugging signal strength indications are compared, obtain being worth maximum coarse adjustment debugging signal strength indication;

The target angle is calculated according to the corresponding coarse adjustment debugging goniometer of the maximum coarse adjustment debugging signal strength indication of described value.

3. aerial angle adjusting method according to claim 2, which is characterized in that described according to the maximum coarse adjustment of described value Debug the step of corresponding coarse adjustment debugging goniometer of signal strength indication calculates the target angle, comprising:

According to the maximum coarse adjustment debugging signal strength indication of described value corresponding coarse adjustment debugging angle, fine tuning angular range is set;

Control antenna is rotated from lower limit angle to upper limit angle in the fine tuning angular range, and every rotation second is specified After degree, signal strength indication is debugged in the fine tuning for recording the debugging angle of fine tuning locating for antenna and receiving end, obtains multiple fine tunings It debugs angle and signal strength indication is debugged in corresponding fine tuning, the second specified degree is less than the described first specified degree;

Multiple fine tuning debugging signal strength indications are compared, obtain being worth maximum fine tuning debugging signal strength indication;

Using the corresponding fine tuning debugging angle of the maximum fine tuning debugging signal strength indication of described value as the target angle.

4. aerial angle adjusting method according to claim 2, which is characterized in that the control antenna is rotated from zero degree To extreme angles, after the first specified degree of every rotation, the coarse adjustment tune of the debugging angle of coarse adjustment locating for antenna and receiving end is recorded Trial signal intensity value, before the step of obtaining multiple coarse adjustment debugging angles and corresponding coarse adjustment debugging signal strength indication, comprising:

According to the debugging demand that receiving end is sent, coarse adjustment number is set;

The coarse adjustment number is subtracted one and obtains dividend, by the extreme angles divided by the dividend, described first is obtained and refers to Determine degree.

5. aerial angle adjusting method according to claim 3, which is characterized in that the first specified degree and second Specified degree is sent to the transmitting terminal after being arranged by the receiving end.

6. aerial angle adjusting method according to claim 3, which is characterized in that described according to the maximum coarse adjustment of described value Debug the step of fine tuning angular range is arranged in the corresponding coarse adjustment debugging angle of signal strength indication, comprising:

According to the historical data of transmitting terminal, difference angle is set;

Judge whether the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is small plus the difference angle In or be equal to the extreme angles, and the corresponding coarse adjustment debugging angle of described value maximum coarse adjustment debugging signal strength subtract it is described Whether difference angle is greater than or equal to the zero degree;

If being, the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is added and is subtracted respectively institute Difference angle is stated, two angles are obtained, respectively as the upper limit angle and lower limit angle of the fine tuning angular range, described in setting Fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is greater than described plus the difference angle The corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is then subtracted the difference angle and obtained by extreme angles Institute is arranged respectively as the lower limit angle and upper limit angle of the fine tuning angular range in the angle and the extreme angles arrived State fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value subtracts the difference angle less than described Zero degree then obtains the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value plus the difference angle Angle and the zero degree be arranged described thin respectively as the upper limit angle and lower limit angle of the fine tuning angular range Hue angle range.

7. aerial angle adjusting method according to claim 1, which is characterized in that the judgement current signal strength Before the step of whether value is lower than preset signal strength threshold, comprising:

Obtain the upper level applications of receiving end;

According to the corresponding relationship of application program and signal strength standard, corresponding signal is strong with the upper level applications for acquisition Spend standard value;

According to the signal strength standard value setting signal intensity threshold.

8. aerial angle adjusting method according to claim 1, which is characterized in that the control antenna turns to the mesh After the step of marking angle, comprising:

Obtain signal strength indication after the adjusting of the receiving end;

Whether signal strength indication is lower than the signal strength threshold after judging the adjusting;

If signal strength indication is lower than the signal strength threshold after the adjusting, other antennas and the receiving end of transmitting terminal are controlled Connection.

9. a kind of signal projector, including memory and processor, it is stored with computer program in the memory, feature exists In the step of processor realizes any one of claims 1 to 8 the method when executing the computer program.

10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.

Technical field

The present invention relates to technical field of data processing, in particular to a kind of aerial angle adjusting method, signal projector and Storage medium.

Background technique

Signal projector refers to the device that can emit signal, and wherein signal is generally defined as wireless signal.Signal hair The application of emitter in daily life mainly includes mobile phone, router, base station towers etc..It is provided with antenna on signal projector, believes When number transmitter and signal receiver communicate to connect, signal projector is launched after Digital Signal Processing by antenna, with Receive signal receiver.

Antenna is usually the hardware of strip, when antenna and signal receiver are when being in different relative positions, signal The intensity that receiver receives signal can have a certain impact.When user uses receiving end, if poor signal, adjustment is needed to connect The position of receiving end, so that the needs of information of receiving end meets oneself.But such adjust is the adjusting for comparing blindness, is compared Time-consuming, and it is extremely difficult to the signal strength of oneself needs.

Summary of the invention

The main object of the present invention is to provide a kind of aerial angle adjusting method, signal projector and storage medium, automatically According to the signal strength of signal receiver come the aerial angle of adjustment signal transmitter, to meet the reception signal of signal receiver Intensity.

In order to achieve the above object, the present invention provides a kind of aerial angle adjusting methods, comprising:

Obtain the current signal strength value of the receiving end of transmitting terminal communication connection;

Judge whether the current signal strength value is lower than preset signal strength threshold;

If so, control antenna turns to specified angle and debugged, and the target angle of antenna is determined according to debugging result Degree;

Control antenna turns to the target angle.

Further, the control antenna turns to specified angle and is debugged, and determines antenna according to debugging result Target angle the step of, comprising:

Control antenna turns to extreme angles from zero degree, thick locating for record antenna after the first specified degree of every rotation Tune tries angle and signal strength indication is debugged in the coarse adjustment of receiving end, obtains multiple coarse adjustment debugging angles and corresponding coarse adjustment tune Trial signal intensity value;

Multiple coarse adjustment debugging signal strength indications are compared, obtain being worth maximum coarse adjustment debugging signal strength indication;

The target angle is calculated according to the corresponding coarse adjustment debugging goniometer of the maximum coarse adjustment debugging signal strength indication of described value Degree.

Further, described that angle calculation is debugged according to the corresponding coarse adjustment of the maximum coarse adjustment debugging signal strength indication of described value The step of target angle out, comprising:

According to the maximum coarse adjustment debugging signal strength indication of described value corresponding coarse adjustment debugging angle, fine tuning angular range is set;

Control antenna is rotated from lower limit angle to upper limit angle in the fine tuning angular range, every rotation second After specified degree, signal strength indication is debugged in the fine tuning for recording the debugging angle of fine tuning locating for antenna and receiving end, is obtained multiple Angle is debugged in fine tuning and signal strength indication is debugged in corresponding fine tuning, and the second specified degree is less than the described first specified degree Number;

Multiple fine tuning debugging signal strength indications are compared, obtain being worth maximum fine tuning debugging signal strength indication;

Using the corresponding fine tuning debugging angle of the maximum fine tuning debugging signal strength indication of described value as the target angle.

Further, the control antenna turns to extreme angles from zero degree, after the first specified degree of every rotation, record Signal strength indication is debugged in the coarse adjustment that angle and receiving end are debugged in coarse adjustment locating for antenna, obtain multiple coarse adjustment debugging angles and Before the step of corresponding coarse adjustment debugging signal strength indication, comprising:

According to the debugging demand that receiving end is sent, coarse adjustment number is set;

The coarse adjustment number is subtracted one and obtains dividend, by the extreme angles divided by the dividend, obtains described One specified degree.

Further, the described first specified degree and the second specified degree are sent to institute after being arranged by the receiving end State transmitting terminal.

Further, described according to the corresponding coarse adjustment debugging angle setting of the maximum coarse adjustment debugging signal strength indication of described value The step of fine tuning angular range, comprising:

According to the historical data of transmitting terminal, difference angle is set;

Judge the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is plus the difference angle It is no to be less than or equal to the extreme angles, and the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value subtracts Whether the difference angle is greater than or equal to the zero degree;

If being, the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is added and subtracted respectively The difference angle is gone, two angles are obtained, respectively as the upper limit angle and lower limit angle of the fine tuning angular range, setting The fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is greater than plus the difference angle The corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is then subtracted the difference angle by the extreme angles Obtained angle and the extreme angles is spent, respectively as the lower limit angle and upper limit angle of the fine tuning angular range, if Set the fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value subtracts the difference angle and is less than The corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is then added the difference angle by the zero degree Institute is arranged respectively as the upper limit angle and lower limit angle of the fine tuning angular range in obtained angle and the zero degree State fine tuning angular range.

Further, it is described judge the step of whether the current signal strength value is lower than preset signal strength threshold it Before, comprising:

Obtain the upper level applications of receiving end;

According to the corresponding relationship of application program and signal strength standard, letter corresponding with the upper level applications is obtained Number strength standard value;

According to the signal strength standard value setting signal intensity threshold.

Further, after the step of control antenna turns to the target angle, comprising:

Obtain signal strength indication after the adjusting of the receiving end;

Whether signal strength indication is lower than the signal strength threshold after judging the adjusting;

If signal strength indication is lower than the signal strength threshold after the adjusting, controls other antennas of transmitting terminal and connect Receiving end connection.

A kind of signal projector, including memory and processor are additionally provided in the present invention, are stored in the memory The step of computer program, the processor realizes any of the above-described the method when executing the computer program.

A kind of computer readable storage medium is additionally provided in the present invention, is stored thereon with computer program, the calculating The step of machine program realizes method described in any of the above embodiments when being executed by processor.

Aerial angle adjusting method, signal projector and storage medium provided in the present invention, when the letter of signal receiving end When number too low, the aerial angle of automatic regulating signal transmitting terminal, to meet the signal strength requirement of receiving end.According to receiving end The demand to signal strength of upper level applications, gets corresponding signal strength threshold automatically, may be implemented accurately to adjust Save the demand of aerial angle.According to the historical data of signal projector, to calculate suitable angle, directly so as to antenna tune Suitable aerial angle is saved, the signal strength requirement of signal receiving end is met.

Detailed description of the invention

Fig. 1 is aerial angle adjusting method step schematic diagram in one embodiment of the invention;

Fig. 2 is the specific steps schematic diagram of step S3 one embodiment in Fig. 1;

Fig. 3 is the specific steps schematic diagram of step S33 one embodiment in Fig. 2;

Fig. 4 is the specific steps schematic diagram of one embodiment of aerial angle adjusting method in one embodiment of the invention;

Fig. 5 is the structural block diagram of the signal projector in the embodiment of the present invention.

The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.

Specific embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " " above-mentioned " and "the" may also comprise plural form.It is to be further understood that making in specification of the invention Wording " comprising " refers to that there are the feature, integer, step, operation, element, unit, module and/or components, but simultaneously Do not preclude the presence or addition of other one or more features, integer, step, operation, element, unit, module, component and/or it Group.It should be understood that when we say that an element is " connected " or " coupled " to another element, it can be directly connected to or couple To other elements, or there may also be intermediary elements.In addition, " connection " used herein or " coupling " may include wirelessly connecting It connects or wirelessly couples.Wording "and/or" used herein includes one or more associated listing the whole or any of item Unit and all combination.

Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.

Referring to Fig.1, the present invention provides a kind of aerial angle adjusting methods in the embodiment of the present invention, comprising:

S1, the current signal strength value for obtaining the receiving end that transmitting terminal communicates to connect;

S2, judge whether the current signal strength value is lower than preset signal strength threshold;

S3, it is debugged if so, controlling antenna and turning to specified angle, and determines the target of antenna according to debugging result Angle;

S4, control antenna turn to the target angle.

In the present embodiment, transmitting terminal refers to that a signal projector, the signal projector can be at least one receptions End connection.Transmitting terminal and receiving end communicate to connect, and transmitting terminal is also connect with server communication simultaneously, and receiving end is requested to server When data, transmitting terminal is sent a request to, transmitting terminal obtains request data after visiting again specified server, is then forwarded to reception End.Processor is provided on transmitting terminal, request, access server, the control for parsing receiving end transmission send data to and connects The work such as receiving end are also handled and the work such as the data of the data interaction of receiving end calculating.After transmitting terminal and receiving end communication connection, Signal strength between the two is calculated, signal strength indication is obtained.The unit of signal strength indication is dBm, and dBm expression is one absolute The value of power, usually negative, value is bigger, indicates that signal strength is stronger.Processor according to the transmission power of transmitting terminal and The reception power of receiving end, is calculated signal strength indication.Signal strength is stronger, and receiving end receives the data of transmitting terminal transmitting Speed is faster, postpones lower.If signal strength indication is lower than signal strength threshold, the use of receiving end will affect, therefore want It is adjusted, so that signal strength indication is greater than or equal to signal strength threshold, to not influence the use of receiving end.Signal strength Threshold value is the speed of receiving end reception data as needed and is arranged.Processor reads the signal strength threshold of receiving end, Determine whether to further according to calculated signal strength indication the aerial angle of adjustment transmitting terminal.When needing to adjust aerial angle When, control antenna turns to certain angle, is calculated according to the real-time signal strength of antenna receiving end in each specified angle The best angle of signal is obtained as target angle, antenna is then controlled and turns to target angle, so that the signal energy of receiving end Enough meets the needs of network speed.

Referring to Fig. 2, in one embodiment, above-mentioned control antenna turns to specified angle and is debugged, and according to debugging As a result the step of target angle to determine antenna, comprising:

S31, control antenna turn to extreme angles from zero degree, after the first specified degree of every rotation, locating for record antenna Coarse adjustment debugging angle and the coarse adjustment of receiving end debug signal strength indication, obtain multiple coarse adjustment debugging angles and corresponding thick Tune trial signal intensity value;

S32, multiple coarse adjustment debugging signal strength indications are compared, obtain being worth maximum coarse adjustment debugging signal strength Value;

S33, the mesh is calculated according to the corresponding coarse adjustment debugging goniometer of the maximum coarse adjustment debugging signal strength indication of described value Mark angle.

In the present embodiment, antenna be by a motor control, it is varied for product form, design at present, layout Consider, certain components that antenna can be launched end block, and antenna rotates in a specified angle, cannot always clockwise or Rotate counterclockwise 360 degree.The attribute for getting antenna first gets the rotatable angle of antenna, defines an index plane, Then it is looked over from index plane, it is zero degree that antenna is rotated clockwise to the position not being able to rotate in rotatable range, is being turned Rotating counterclockwise to the position not being able to rotate in dynamic range is extreme angles.Antenna is allowed to turn to zero angle position Y1 first, so The signal strength indication B1 in zero angle position is recorded afterwards, and in the data of record, zero angle position is a coarse adjustment debugging angle Degree, for antenna in zero angle position, the signal strength indication of receiving end is one corresponding with the coarse adjustment of zero angle position debugging angle Coarse adjustment debug signal strength indication, then have recorded one group of data in the data recorded.Then control antenna rotates certain angle, A coarse adjustment debugging angle Y2 and corresponding coarse adjustment debugging signal strength indication B2 is obtained again;So carry out control antenna rotation And the data after record antenna rotation, receiving end when antenna turns to extreme angles Yn, and is recorded in extreme angles Signal strength indication Bn, obtains multi-group data, and each group of data are a coarse adjustment debugging angle and corresponding coarse adjustment debugging letter Cease intensity value.Then the maximum coarse adjustment debugging signal strength indication Bm of value is filtered out from the data of record, and correspondence is found according to Bm Coarse adjustment debug angle Ym.For antenna in the rotation process from zero degree to extreme angles, the signal of acquirement most intensity values are Ym, thus Illustrate that the strongest angle of signal is in the part Ym, therefore, target angle is related to Ym, calculates target angle according to Ym.Specifically , it can be using angle value similar in Ym as target angle, be also possible to directly using Ym as target angle.

It is in one embodiment, above-mentioned corresponding thick according to the maximum coarse adjustment debugging signal strength indication of described value referring to Fig. 3 Tune tries the step of goniometer calculates the target angle, comprising:

S331, fine tuning angle is arranged according to the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength indication of described value Range;

S332, control antenna are rotated from lower limit angle to upper limit angle in the fine tuning angular range, and every turn After dynamic second specified degree, signal strength indication is debugged in the fine tuning for recording the debugging angle of fine tuning locating for antenna and receiving end, is obtained Angle is debugged to multiple fine tunings and signal strength indication is debugged in corresponding fine tuning, and the second specified degree is less than described first and refers to Determine degree;

S333, multiple fine tunings debugging signal strength indications are compared, obtain being worth maximum fine tuning debugging signal strong Angle value;

S334, the corresponding fine tuning of the maximum fine tuning debugging signal strength indication of described value is debugged into angle as the target angle Degree.

In the present embodiment, after obtaining the signal strength that multiple angles measure receiving end, the coarse height letter of maximum value is obtained Angle Ym is debugged in number intensity value Bm and corresponding coarse adjustment, is come further to debug out more accurate target angle according to Ym.Root One angular range is set according to Ym, which is the angular range for further limiting best signal.It is root that rule, which is arranged, in it Fine tuning angular range is selected according to the attribute of receiving end and the parameter of user setting.In one embodiment, according to transmitting The differential seat angle of target angle and Ym in the historical data at end is away from being arranged.Specifically, can be using apart from current time 24 Maximum differential seat angle is away from the angle and Ym for adding current Ym as fine tuning angular range in historical data in hour.Fine tuning angle Spending range is a continuum, and the upper limit of continuum is exactly upper limit angle, is denoted as Ym+a, and lower limit is exactly lower limit angle, note It is Ym-b.Control antenna first turns to lower limit angle, and the angle then recorded at this time is Ym-b, and the receiving end in the angle Fine tuning debugging signal strength indication be Bm-s, then antenna be re-directed towards upper limit angle rotate the second specified degree T, then record this When angle be Ym-b+T, and in the angle receiving end fine tuning debug signal strength indication Bm+s1;Then again to upper limit angle Degree the second specified degree T of rotation, then recording angle at this time is Ym-b+2T, and in the angle receiving end fine tuning tune Trial signal intensity value Bm+s2;Until antenna turns to the angle of Ym+a, signal strength indication Bm+sn is tested in the fine tuning recorded at this time. In this way, obtaining multiple fine tuning debugging angles and one-to-one fine tuning debugging signal strength indication.Then it is debugged in multiple fine tunings The fine tuning debugging signal strength indication of maximum value is filtered out in signal strength indication, and obtains corresponding fine tuning debugging angle, this is thin Tune tries angle as target angle angle value.

Referring to Fig. 4, in one embodiment, above-mentioned control antenna turns to extreme angles, every rotation first from zero degree After specified degree, signal strength indication is debugged in the coarse adjustment for recording the debugging angle of coarse adjustment locating for antenna and receiving end, is obtained multiple Coarse adjustment was debugged before the step of angle and corresponding coarse adjustment debugging signal strength indication, comprising:

S301, coarse adjustment number is arranged according to the debugging demand that receiving end is sent;

S302, it the coarse adjustment number is subtracted one obtains dividend, by the extreme angles divided by the dividend, obtain institute State the first specified degree.

In the present embodiment, coarse adjustment number refers to the number of coarse adjustment debugging angle locating for record antenna.It is to be set by receiving end It postpones and is sent to transmitting terminal, coarse adjustment number is set after the data of transmitting terminal reading receiving end.The user of receiving end wants to hurry up To good signal, then the coarse adjustment number being arranged is less;The user of receiving end wants to obtain stable signal, then the coarse adjustment being arranged time Number is more.The processor of transmitting terminal obtains the first specified degree according to coarse adjustment number.Specifically, subtracting one for coarse adjustment number, obtain Then extreme angles are obtained the first specified degree divided by dividend by dividend.In one embodiment, extreme angles are 180 degree, the coarse adjustment number of the user setting of receiving end are 5 times, and transmitting terminal obtains the first finger according to formula 180/ (5-1)=45 Determining degree is 45 degree.

In one embodiment, the above-mentioned first specified degree and the second specified degree are sent out after being arranged by the receiving end Give the transmitting terminal.

In the present embodiment, the value of the first specified degree and the second specified degree is bigger, and the number of corresponding adjusting is fewer, It is more rapid to adjust, but similarly it is adjusted such that a possibility that receiving end is in best signal is lower;First refers to The time spent in value for determining degree and the second specified degree is smaller, and the number of corresponding adjusting is more, adjusts in this way is relatively more, But similarly it is adjusted such that a possibility that receiving end is in best signal is higher.First specified degree and the second specified degree It is arranged by receiving end, the user of receiving end can be made to specify degree according to the signal strength demand of oneself come flexible setting first With the second specified degree.

It is in one embodiment, above-mentioned corresponding thick according to the maximum coarse adjustment debugging signal strength indication of described value referring to Fig. 5 Tune tries the step of angle setting fine tuning angular range, comprising:

S3311, difference angle is arranged according to the historical data of transmitting terminal;

S3312, judge the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value plus the difference Whether angle is less than or equal to the extreme angles, and angle is debugged in the corresponding coarse adjustment of the maximum coarse adjustment debugging signal strength of described value Degree subtracts whether the difference angle is greater than or equal to the zero degree;

If S3313, being, the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is added respectively Above and the difference angle is subtracted, obtains two angles, upper limit angle and lower limit angle respectively as the fine tuning angular range Degree, is arranged the fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of S3314, described value adds the difference angle Degree is greater than the extreme angles, then subtracts the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value described The angle and the extreme angles that difference angle obtains, lower limit angle and upper limit angle respectively as the fine tuning angular range Degree, is arranged the fine tuning angular range;

If the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of S3315, described value subtracts the difference angle Degree is less than the zero degree, then the corresponding coarse adjustment debugging angle of the maximum coarse adjustment debugging signal strength of described value is added the difference The angle and the zero degree that value angle obtains, respectively as the upper limit angle and lower limit angle of the fine tuning angular range, The fine tuning angular range is set.

In the present embodiment, above-mentioned difference angle is arranged by transmitting terminal.Transmitting terminal is according to maximum thick in historical data Differential seat angle between the corresponding coarse adjustment debugging angle of tune trial signal intensity value and final target angle, to determine difference angle Degree.Angle between the best angle obtained after coarse adjustment in historical data and the target angle obtained after fine tuning Difference, to calculate difference angle.It can be all differential seat angles obtained in 24 hours, then calculate the average value of all differential seat angles, Using the average value as difference angle.Then above-mentioned Ym is added into difference angle respectively and subtracts difference angle, obtains two angles Degree, using the two angles as the upper and lower bound of fine tuning angular range, fine tuning angular range is arranged.If the upper limit is higher than upper Extreme angles are stated, then the upper limit angle of fine tuning angular range are changed to extreme angles;It, will if lower limit is lower than above-mentioned zero degree The lower limit angle of fine tuning angular range is changed to zero degree.

In one embodiment, above-mentioned to judge whether the current signal strength value is lower than preset signal strength threshold Before step, comprising:

S201, the upper level applications for obtaining receiving end;

S202, according to the corresponding relationship of application program and signal strength standard, obtain pair with the upper level applications The signal strength standard value answered;

S203, according to the signal strength standard value setting signal intensity threshold.

In the present embodiment, in the present embodiment, processor reads the upper level applications of receiving end, and upper level applications refer to Receiving end application program currently in use.Multiple application programs are installed, each application program is needed from service on receiving end The size of data that device obtains is all different, and the signal strength standard that each application program needs is different.Therefore, it connects The signal strength threshold of the needs of receiving end is related to its application program.There is a signal strength standard is corresponding with application program to close It is table, each application program and corresponding signal strength standard is described in the mapping table.Processor gets reception The upper level applications at end get signal strength standard required for receiving end, signal then according to above-mentioned mapping table Minimum reception power is contained in strength criterion.Processor comes further according to minimum reception power and the transmission power of transmitting terminal Signal strength threshold corresponding with the upper level applications of receiving end is provided.Then current signal strength indication is judged again whether Lower than signal strength threshold, if current signal strength indication is lower than signal strength threshold, determine signal strength indication lower than pre- If signal strength threshold, and then execute adjustable strategies to adjust the aerial angle of transmitting terminal, so that signal strength adjusted Value is greater than or equal to the signal strength threshold.

In one embodiment, after the step of above-mentioned control antenna turns to the target angle, comprising:

S5, signal strength indication after the adjusting of the receiving end is obtained;

S6, judge the adjusting after signal strength indication whether be lower than the signal strength threshold;

If signal strength indication is lower than the signal strength threshold after S7, the adjusting, other antennas of transmitting terminal are controlled It is connect with receiving end.

More antennas are provided in the present embodiment, on transmitting terminal.What current transmitting terminal was connect with receiving end is wherein one Antenna is adjusted and is completed after the antenna is tested in its slewing area, after control antenna turns to above-mentioned target angle, then Signal strength indication after the adjusting of acquisition receiving end, is compared, if being still below signal strength threshold with above-mentioned signal strength threshold Value, illustrates that the none of angle of the antenna can make people's signal of receiving end meet its demand, then by the antenna and reception End disconnects, while controlling another antenna and connecting with receiving end, then returns again to step S1, obtains the letter of receiving end again Number intensity value adjusts the antenna angle of another antenna if the signal strength indication obtained again is still below signal strength threshold Degree brings good user to end subscriber is received to ensure that the signal strength indication of receiving end is greater than or equal to signal strength threshold Experience.

In conclusion for the aerial angle adjusting method provided in the embodiment of the present invention, when the signal mistake of signal receiving end When low, according to the signal strength of antenna receiving end in different angles come the aerial angle of adjustment signal transmitting terminal, to meet The signal strength requirement of receiving end.According to the demand to signal strength of the upper level applications of receiving end, get automatically pair The demand for accurately adjusting aerial angle may be implemented in the signal strength threshold answered.

A kind of computer readable storage medium is additionally provided in the embodiment of the present invention, is stored thereon with computer program, institute State the step of realizing method described in any of the above embodiments when computer program is executed by processor.

The embodiment of the invention also provides a kind of signal projectors, as shown in figure 5, for ease of description, illustrate only with The relevant part of the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part.The signal Transmitter can be include the arbitrary signals transmitters such as mobile phone, tablet computer, router, base station signal tower, with signal projector For router:

Fig. 5 shows the block diagram of part-structure relevant to signal projector provided in an embodiment of the present invention.With reference to figure 5, router include: radio frequency (Radio Frequency, RF) circuit 110, memory 120, display unit 140, processor 180, And the equal components of power supply 190.It will be understood by those skilled in the art that router topology shown in Fig. 5 is not constituted to routing The restriction of device may include perhaps combining certain components or different component layouts than illustrating more or fewer components.

It is specifically introduced below with reference to each component parts of the Fig. 5 to router:

RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit 110 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..

Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing the various function application and data processing of router.Memory 120 can be wrapped mainly Include storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one function Program (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored is created according to using for router Data (such as audio data, phone directory etc.) built etc..In addition, memory 120 may include high-speed random access memory, also It may include nonvolatile memory, a for example, at least disk memory, flush memory device or the storage of other volatile solid-states Device.

Display unit 140 can be used for showing information input by user or be supplied to user information and router it is each Kind menu.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 141.

Processor 180 is the control centre of router, utilizes each portion of various interfaces and the entire router of connection Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of router, to carry out integral monitoring to router.Optionally, it handles Device 180 may include one or more processing units;Preferably, processor 180 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.

Router further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.

Although being not shown, router can also include camera, bluetooth module etc., and details are not described herein.

Referring to Fig. 5, in embodiments of the present invention, processor 180 included by the signal projector is also with the following functions:

Obtain the current signal strength value of the receiving end of transmitting terminal communication connection;

Judge whether the current signal strength value is lower than preset signal strength threshold;

If so, control antenna turns to specified angle and debugged, and the target angle of antenna is determined according to debugging result Degree;

Control antenna turns to the target angle.

The memory 120 supports processor 180 to execute aerial angle adjusting method described in above-described embodiment for storing Program;

The processor 180 is configurable for executing the program stored in the memory 120.

In conclusion for the aerial angle adjusting method, signal projector and the storage medium that are provided in the embodiment of the present invention, When the signal of signal receiving end is too low, the aerial angle of automatic regulating signal transmitting terminal, to meet the signal strength of receiving end It is required that.According to the demand to signal strength of the upper level applications of receiving end, corresponding signal strength threshold is got automatically, The demand for accurately adjusting aerial angle may be implemented.According to the historical data of signal projector, to directly calculate properly Angle meet the signal strength requirement of signal receiving end so as to antenna adjustments to suitable aerial angle.

It will be understood by those skilled in the art that the present invention includes being related to for executing one in operation described herein Or multinomial equipment.These equipment can specially design and manufacture for required purpose, or also may include general-purpose computations Known device in machine.These equipment have the computer program being stored in it, these computer programs selectively activate Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) readable medium or be stored in, to be suitable for Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage Device), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, readable Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.

Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.

Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.

The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多频多端口基站天线及其波束调节方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!