Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of link load calculation method, device, gateway and can
Read storage medium.
In a first aspect, a kind of link load calculation method, which comprises
The Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detect the Bluetooth signal received
Bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room divided antenna passes through topological network
Network connects gateway, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
It is lost according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter determines the link load between the gateway and the room divided antenna.
The target Bluetooth transmission power parameter is the Bluetooth transmission function of the room divided antenna in one of the embodiments,
Rate parameter;The Bluetooth transmission power parameter of the room divided antenna is the Bluetooth transmission power parameter and bluetooth letter of the Bluetooth chip
The difference of number aerial loss parameter, the room divided antenna are stored with the bluetooth signals antenna loss parameter, the Bluetooth signal
Loss value of the aerial loss parameter between the Bluetooth chip and the room divided antenna feeder line mouth.
The target Bluetooth transmission power parameter is the Bluetooth transmission function of the Bluetooth chip in one of the embodiments,
Rate parameter;It is described according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter is lost, determines the link load between the gateway and the room divided antenna, comprising:
It is first poor between the Bluetooth transmission power parameter of the Bluetooth chip and bluetooth signals antenna loss parameter to calculate
Value, and calculate between first difference and the bluetooth receiving intensity parameter, Bluetooth signal gateway loss parameter
Second difference, and using second difference as the link load between the gateway and the room divided antenna;The bluetooth letter
Number loss value of the aerial loss parameter between the Bluetooth chip and the room divided antenna feeder line mouth.
The Bluetooth chip is low-power consumption bluetooth chip in one of the embodiments,.
The Bluetooth chip corresponds to multiple bluetooth channels, the Bluetooth signal in one of the embodiments, further include: when
Preceding bluetooth channel number;It is described according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and the indigo plant
Parameter is lost in tooth signal gateway, determines the link load between the gateway and the room divided antenna, comprising:
According to the corresponding relationship of bluetooth channel number and Bluetooth signal gateway loss parameter, the current Bluetooth channel number is determined
Parameter is lost in corresponding Bluetooth signal gateway;
According to the corresponding target Bluetooth transmission power parameter of the current Bluetooth channel number, the bluetooth receiving intensity
Parameter is lost in parameter and the Bluetooth signal gateway, determines the link load between the gateway and the room divided antenna.
The room divided antenna includes mutiple antennas port in one of the embodiments, and the Bluetooth signal further includes working as
Preceding link channel number, the current ink channel number are corresponding with an antenna port of the room divided antenna;It is described according to
Parameter is lost in target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and the Bluetooth signal gateway, determines institute
State the link load between gateway and the room divided antenna, comprising:
According to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and the Bluetooth signal gateway
Parameter is lost, determines the link load between the gateway and the corresponding antenna port of the current ink channel number.
The Bluetooth chip corresponds to multiple bluetooth channels, the bluetooth signals antenna loss in one of the embodiments,
Parameter is the corresponding bluetooth signals antenna loss parameter of bluetooth channel where the Bluetooth signal, or is the multiple bluetooth
The average value of the corresponding bluetooth signals antenna loss parameter of channel.
Second aspect, a kind of link load computing device, described device include:
Module is obtained, for the Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detection receives
The bluetooth receiving intensity parameter of the Bluetooth signal;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room point
Antenna connects gateway by topological network, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
Computing module, for according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and indigo plant
Parameter is lost in tooth signal gateway, determines the link load between the gateway and the room divided antenna.
The third aspect, a kind of gateway, including memory and processor, the memory is stored with computer program, described
Processor performs the steps of when executing the computer program
The Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detect the Bluetooth signal received
Bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room divided antenna passes through topological network
Network connects gateway, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
It is lost according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter determines the link load between the gateway and the room divided antenna.
Fourth aspect, a kind of readable storage medium storing program for executing are stored thereon with computer program, and the computer program is by processor
It is performed the steps of when execution
The Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detect the Bluetooth signal received
Bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room divided antenna passes through topological network
Network connects gateway, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
It is lost according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter determines the link load between the gateway and the room divided antenna.
Above-mentioned link load calculation method, device, gateway and readable storage medium storing program for executing are believed by receiving chamber divided antenna in bluetooth
The Bluetooth signal broadcasted on road, and the bluetooth receiving intensity parameter of the Bluetooth signal received is detected, and then according to target indigo plant
Parameter is lost in tooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal gateway, determine gateway and room divided antenna it
Between link load.During determining the link load between gateway and room divided antenna, do not need using RFID and room point
Link load is determined by the signal strength of wireless induction acquisition between antenna, is avoided caused by inductive signal consistency difference
Link load calculates the problem of inaccuracy, improves the accuracy that the link load between gateway and room divided antenna calculates;In addition,
Also avoid the influence of RFID label tag and RFID reader to antenna index.
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.
Link load calculation method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, believe
Number source 10 and gateway 11 are connect by topological network 12 with a room divided antenna 13 respectively, and room divided antenna 13 may include multiple days
Line interface 131 is integrated with Bluetooth chip 132 in antennal interface 131, and specifically, the output end of Bluetooth chip can divide day with room
The feeder line of line couples;Wherein, gateway can integrate bluetooth module, and signal source can be the base stations such as 2G/3G/4G/5G or other
Signal source, topological network are wire radio link, and room divided antenna can be with transmitting/receiving wireless signal, such as can will pass through topological network
The movable signal of the base station received sends and receives mobile terminal signal, and returns to base station by topological network, may be used also
Gateway is sent to by topological network with the Bluetooth signal for exporting Bluetooth chip, which can receive and parse bluetooth letter
Number.
In one embodiment, as shown in Fig. 2, providing a kind of link load calculation method, it is applied to Fig. 1 in this way
In gateway for be illustrated, comprising the following steps:
S201, the Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and the Bluetooth signal that detection receives
Bluetooth receiving intensity parameter;Bluetooth signal includes: target Bluetooth transmission power parameter;Room divided antenna is connected by topological network
Gateway, and integrate useful in the Bluetooth chip for generating Bluetooth signal.
Wherein, bluetooth receiving intensity parameter can be used to indicate that gateway receives the signal strength of Bluetooth signal, can be with
It is the numerical value for directly reading the signal strength of Bluetooth signal and obtaining, is also possible to the noise of filtering out by obtaining after filtering processing
Signal strength, the embodiment of the present application are without limitation.Target Bluetooth transmission power parameter can be used to indicate that room divided antenna
The signal strength of the Bluetooth chip transmission power integrated on antenna port, wherein room divided antenna may include RF access unit, indigo plant
Four part of tooth unit, control unit and power supply unit, four part are integrated designs with antenna, and RF access unit is mainly
The RF signal of bluetooth is coupled to the feeder line end of antenna and completes filter function.Target Bluetooth transmission power parameter its can be indigo plant
The signal strength of the Bluetooth signal of tooth chip emission is also possible to subtract bluetooth core to the transmission power signal strength of Bluetooth chip
The difference that the transmission power of piece is obtained by the loss of antenna link, the embodiment of the present application are without limitation.Room divided antenna can
To connect gateway by topological network, and the useful Bluetooth chip in generation Bluetooth signal is integrated, can be Bluetooth chip
It is integrated in the inside of room divided antenna, is also possible to for Bluetooth chip to be integrated in the outer surface of room divided antenna, the embodiment of the present application pair
This is with no restrictions.
In the Bluetooth signal that specifically receiving chamber divided antenna is broadcasted on bluetooth channel, and the bluetooth letter that detection receives
Number bluetooth receiving intensity parameter during, Bluetooth chip emits Bluetooth signal by way of broadcast in topological network,
It include target Bluetooth transmission power parameter in Bluetooth signal.Emitted by way of broadcast into topological network in Bluetooth chip blue
When tooth signal, Bluetooth chip can be by way of coupling by the coupling port of Bluetooth signal transmission to topological network, topological network
Network receives Bluetooth signal by coupling port, and the Bluetooth signal is sent to gateway by way of broadcast.Room divided antenna
When broadcasting Bluetooth signal on bluetooth channel, physical link is first selected, then Bluetooth signal group is bundled into broadcast data packet, pass through indigo plant
Tooth broadcast, is broadcasted according to the broadcast cycle of setting.Gateway is received through the bluetooth of topological network and intra-gateway link letter
Number, obtain bluetooth receiving intensity parameter, wherein bluetooth is passed through by the signal strength of the Bluetooth signal of intra-gateway link load
Signal gateway is lost parameter and indicates.Gateway can be circulation and receive Bluetooth signal when receiving Bluetooth signal, be received using passive
Mode, without initiating active scan.
S202 is lost according to target Bluetooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal gateway and joins
Number, determines the link load between gateway and room divided antenna.
Specifically, on the basis of the above embodiments, the link load between gateway and room divided antenna can pass through target
Parameter is lost to determine in Bluetooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal gateway.For example, gateway and room
Link load between divided antenna can subtract bluetooth receiving intensity parameter and indigo plant by target Bluetooth transmission power parameter simultaneously
Parameter is lost in tooth signal gateway, obtains the link load between gateway and room divided antenna;First bluetooth receiving intensity can also be joined
It is several to be added with Bluetooth signal gateway loss parameter, obtain the bluetooth signal intensity ginseng at the port that topological network is connect with gateway
It counts, then subtracts the bluetooth signal intensity at the port that above topology network is connect with gateway by target Bluetooth transmission power parameter
Parameter obtains the link load between gateway and room divided antenna;The embodiment of the present application is without limitation.
Above-mentioned link load calculation method, the Bluetooth signal broadcasted on bluetooth channel by receiving chamber divided antenna, and
The bluetooth receiving intensity parameter of the Bluetooth signal received is detected, and then is received according to target Bluetooth transmission power parameter, bluetooth
Parameter is lost in intensive parameter and Bluetooth signal gateway, determines the link load between gateway and room divided antenna.Determining gateway
During link load between the divided antenna of room, do not need to obtain using between RFID and room divided antenna by wireless induction
Signal strength determine link load, avoid link load caused by inductive signal consistency difference and calculate asking for inaccuracy
Topic improves the accuracy that the link load between gateway and room divided antenna calculates.
In addition, RFID sensitivity is limited, allows the chain of maximum detection to damage and be generally less than 30dB, be not able to satisfy engineer application and want
It asks, and the detection sensitivity of bluetooth is with respect to RFID higher;RFID reader transmission power is larger, generally at least 30dBm, thus dry
Disturb larger, and the general power consumption of Bluetooth chip is lower, interferes smaller;RFID label tag, which is mounted on inner antenna, can deteriorate antenna intermodulation etc.
Index.
Optionally, Bluetooth chip is low-power consumption bluetooth chip.
Specifically, low-power consumption bluetooth chip may include Bluetooth chip small in size and low in energy consumption, support BLE
(Bluetooth Low Energy) agreement.Low-power consumption bluetooth chip may be used to provide Bluetooth signal least in power-consuming,
Optimize in terms of low-power consumption, low bandwidth, low cost and low-complexity.Low-power consumption bluetooth chip may include: single mode low-power consumption
Bluetooth chip and bimodulus low-power consumption bluetooth chip.
In one embodiment, when target Bluetooth transmission power parameter is the Bluetooth transmission power parameter of room divided antenna,
Parameter can be lost by the Bluetooth transmission power parameter of room divided antenna, bluetooth receiving intensity parameter and Bluetooth signal gateway,
Determine the link load between gateway and room divided antenna.
Optionally, target Bluetooth transmission power parameter is the Bluetooth transmission power parameter of room divided antenna;The indigo plant of room divided antenna
Tooth transmission power parameter is the Bluetooth transmission power parameter of Bluetooth chip and the difference of bluetooth signals antenna loss parameter, and day is divided in room
Line is stored with bluetooth signals antenna loss parameter, bluetooth signals antenna be lost parameter be Bluetooth chip and room divided antenna feeder line mouth it
Between loss value.
Specifically, loss value of the bluetooth signals antenna loss parameter between Bluetooth chip and room divided antenna feeder line mouth, can
With the Bluetooth signal launched for indicating Bluetooth chip, room divided antenna is transferred to by its integrated room divided antenna internal circuit
Feeder line mouth, the power loss which generates.Bluetooth signals antenna loss parameter can be room divided antenna corresponding one
A loss parameter is also possible to part-frequency point and determines that the corresponding multiple loss parameters of each frequency point, the embodiment of the present application do not limit this
System.Bluetooth signals antenna loss parameter can store in the divided antenna of room.The Bluetooth transmission power parameter of room divided antenna can be used
In the signal strength for the Bluetooth signal for indicating room divided antenna and topological network interface, can be sent out by the bluetooth of Bluetooth chip
The difference penetrated between power parameter and bluetooth signals antenna loss parameter obtains.
On the basis of the above embodiments, by according to target Bluetooth transmission power parameter, bluetooth receiving intensity parameter with
And parameter is lost in Bluetooth signal gateway, determines the link load between gateway and room divided antenna, can be through room divided antenna
Bluetooth transmission power parameter subtracts bluetooth receiving intensity parameter and Bluetooth signal gateway loss parameter simultaneously, obtains gateway and room point
Link load between antenna;First bluetooth receiving intensity parameter can also be added with Bluetooth signal gateway loss parameter, be obtained
Bluetooth signal intensity parameter at the port that topological network is connect with gateway, then pass through the Bluetooth transmission power parameter of room divided antenna
The bluetooth signal intensity parameter at the port that above topology network is connect with gateway is subtracted, is obtained between gateway and room divided antenna
Link load;The embodiment of the present application is without limitation.
Above-mentioned link load calculation method, when the Bluetooth transmission power that target Bluetooth transmission power parameter is room divided antenna is joined
When number;Wherein, the Bluetooth transmission power parameter of room divided antenna is the Bluetooth transmission power parameter and Bluetooth signal day of Bluetooth chip
Line loss consumes the difference of parameter, and room divided antenna is stored with bluetooth signals antenna loss parameter, and it is indigo plant that parameter, which is lost, in bluetooth signals antenna
Loss value between tooth chip and room divided antenna feeder line mouth.Terminal connects according to the Bluetooth transmission power parameter of room divided antenna, bluetooth
It receives intensive parameter and parameter is lost in Bluetooth signal gateway, determine the link load between gateway and room divided antenna.Determining net
During closing the link load between the divided antenna of room, the loss that Bluetooth signal passes through room divided antenna internal circuit is eliminated
Value, so that passing through the Bluetooth transmission power parameter of room divided antenna, bluetooth receiving intensity parameter and Bluetooth signal gateway loss ginseng
Number, determines that the link load between gateway and room divided antenna is more accurate, further increases between gateway and room divided antenna
Link load calculate accuracy.
In one embodiment, when target Bluetooth transmission power parameter is the Bluetooth transmission power parameter of Bluetooth chip,
Can be lost by the Bluetooth transmission power parameter of Bluetooth chip, bluetooth signals antenna parameter, bluetooth receiving intensity parameter and
Parameter is lost in Bluetooth signal gateway, determines the link load between gateway and room divided antenna.
Optionally, when target Bluetooth transmission power parameter is the Bluetooth transmission power parameter of Bluetooth chip;Calculate bluetooth
Chip Bluetooth transmission power parameter and bluetooth signals antenna loss parameter between the first difference, and calculate the first difference and
The second difference between bluetooth receiving intensity parameter, Bluetooth signal gateway loss parameter, and using the second difference as gateway and room
Link load between divided antenna;Loss of the parameter between Bluetooth chip and room divided antenna feeder line mouth is lost in bluetooth signals antenna
Value.
Specifically, the first difference can be the Bluetooth transmission power parameter and bluetooth signals antenna loss parameter of Bluetooth chip
Between signal strength difference can be with when target Bluetooth transmission power parameter is the Bluetooth transmission power parameter of Bluetooth chip
The first difference of gain of parameter is lost by target Bluetooth transmission power parameter and bluetooth signals antenna, wherein bluetooth signals antenna is damaged
Loss value of the parameter between Bluetooth chip and room divided antenna feeder line mouth is consumed, can store in the divided antenna of room.Pass through bluetooth
The Bluetooth transmission power parameter of chip subtracts the bluetooth signals antenna loss parameter being stored in the divided antenna of room, and it is poor to obtain first
Value.And then parameter and the first difference are lost by acquisition bluetooth receiving intensity parameter, Bluetooth signal gateway, the second difference is obtained,
Link load i.e. between gateway and room divided antenna.
Especially by bluetooth receiving intensity parameter, Bluetooth signal gateway loss parameter and the first difference is obtained, net is obtained
Close and room divided antenna between link load during, can pass through the first difference simultaneously subtract bluetooth receiving intensity parameter and
Parameter is lost in Bluetooth signal gateway, obtains the link load between gateway and room divided antenna;It can also be first by bluetooth receiving intensity
Parameter is added with Bluetooth signal gateway loss parameter, obtains the bluetooth signal intensity ginseng at the port that topological network is connect with gateway
It counts, then subtracts the bluetooth signal intensity parameter at the port that above topology network is connect with gateway by the first difference, obtain net
Close the link load between the divided antenna of room;The embodiment of the present application is without limitation.
Above-mentioned link load calculation method, when the Bluetooth transmission power that target Bluetooth transmission power parameter is Bluetooth chip is joined
When number, the first difference between parameter is lost by the Bluetooth transmission power parameter and bluetooth signals antenna that calculate Bluetooth chip,
Wherein, loss value of the bluetooth signals antenna loss parameter between Bluetooth chip and room divided antenna feeder line mouth, and calculate first
The second difference between difference and bluetooth receiving intensity parameter, Bluetooth signal gateway loss parameter, and using the second difference as net
Close the link load between the divided antenna of room.During determining the link load between gateway and room divided antenna, eliminate
Bluetooth signal passes through the loss value of room divided antenna internal circuit, so that the link load between determining gateway and room divided antenna is more
Accurately, the accuracy that the link load between gateway and room divided antenna calculates is further increased.
Fig. 3 is the flow diagram of link load calculation method in another embodiment, and what is involved is when indigo plant for the present embodiment
When tooth chip corresponds to multiple bluetooth channels, connect according to the corresponding target Bluetooth transmission power parameter of current Bluetooth channel number, bluetooth
It receives intensive parameter and parameter is lost in Bluetooth signal gateway, determine the specific mistake of the link load between gateway and room divided antenna
Journey, as shown in figure 3, above-mentioned S202 is " according to target Bluetooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal net
Close loss parameter, determine the link load between gateway and room divided antenna " a kind of possible implementation method the following steps are included:
S301, the corresponding relationship that parameter is lost according to bluetooth channel number and Bluetooth signal gateway, determine current Bluetooth channel
Parameter is lost in number corresponding Bluetooth signal gateway.
Specifically, on the basis of the above embodiments, the bluetooth of a variety of channels can be issued by the same Bluetooth chip
Signal, for example, three broadcast channel transmission Bluetooth signals, the frequency of three channels can be passed through in a Bluetooth chip
Respectively 2402MHz, 2426MHz, 2480MHz, the frequency bandwidth of three channels are 2MHz.Since different frequent points are corresponding different
Channel loss, especially high-frequency signal pass through same segment signal access (receiving path in gateway), generation signal damage
Consumption has differences.Therefore it needs to be determined that parameter is lost in the corresponding Bluetooth signal gateway of each Bluetooth channels number.Indigo plant is obtained specific
During parameter is lost in tooth signal gateway, it can calculate and be somebody's turn to do by signal path in gateway and corresponding frequency information
Parameter is lost in the corresponding Bluetooth signal gateway of frequency point;It is also possible to store the corresponding gateway loss ginseng of multiple frequency points in a gateway
Number calls the gateway of the frequency point of storage in a gateway that parameter is lost further according to the corresponding frequency point of bluetooth channel number, that is, determines blue
Parameter is lost in the corresponding Bluetooth signal gateway of tooth channel number;The embodiment of the present application is without limitation.
S302, according to the corresponding target Bluetooth transmission power parameter of current Bluetooth channel number, bluetooth receiving intensity parameter with
And parameter is lost in Bluetooth signal gateway, determines the link load between gateway and room divided antenna.
Specifically, on the basis of the above embodiments, Bluetooth signal further includes bluetooth channel number.Current Bluetooth channel number pair
The target Bluetooth transmission power parameter answered can be used to indicate that the signal strength in the Bluetooth signal currently emitted.In above-mentioned implementation
Example on the basis of, by the corresponding target Bluetooth transmission power parameter of current Bluetooth channel number, bluetooth receiving intensity parameter and
Parameter is lost in Bluetooth signal gateway, determines the link load between gateway and room divided antenna.Current Bluetooth channel number can be passed through
Corresponding target Bluetooth transmission power parameter subtracts bluetooth receiving intensity parameter and Bluetooth signal gateway loss parameter simultaneously, obtains
Link load between gateway and room divided antenna;Parameter first can also be lost in bluetooth receiving intensity parameter and Bluetooth signal gateway
It is added, obtains the bluetooth signal intensity parameter at the port that topological network is connect with gateway, then pass through current Bluetooth channel number pair
The target Bluetooth transmission power parameter answered subtracts the bluetooth signal intensity parameter at the port that above topology network is connect with gateway,
Obtain the link load between gateway and room divided antenna;The embodiment of the present application is without limitation.
The corresponding relationship of parameter is lost according to bluetooth channel number and Bluetooth signal gateway for above-mentioned link load calculation method,
The corresponding Bluetooth signal gateway loss parameter of current Bluetooth channel number is determined, so that Bluetooth signal gateway loss parameter is according to indigo plant
The difference of tooth channel number and change, and according to the corresponding target Bluetooth transmission power parameter of current Bluetooth channel number, bluetooth receive
Parameter is lost in intensive parameter and Bluetooth signal gateway, determines the link load between gateway and room divided antenna, is determining gateway
It is by being lost with the one-to-one Bluetooth signal gateway of bluetooth channel number during link load between the divided antenna of room
Parameter, which calculates, to be obtained, and the accuracy of the link load between gateway and room divided antenna is further increased.
In one embodiment, when room, divided antenna includes mutiple antennas port, Bluetooth signal further comprises current ink
Parameter is being lost by target Bluetooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal gateway, really in channel number
During determining the link load between gateway and room divided antenna, the chain between each antenna port and gateway can also be determined
Path loss consumption.
Optionally, room divided antenna includes mutiple antennas port, and Bluetooth signal further includes current ink channel number, current ink
Channel number is corresponding with an antenna port of room divided antenna;According to target Bluetooth transmission power parameter, bluetooth receiving intensity parameter
And parameter is lost in Bluetooth signal gateway, determines the chain path loss between gateway and the corresponding antenna port of current ink channel number
Consumption.
Specifically, as shown in Figure 1, room divided antenna 13 may include mutiple antennas port 131, each antenna port 131 is right
A link channel number is answered, on the basis of the above embodiments, Bluetooth signal further includes link channel number.Each antenna port
131 pass through topological network for Bluetooth signal transmission to gateway, since the position of each antenna port 131 is different, each day
Line end mouth 131 transmits Bluetooth signal by different topological network, that is to say, that the corresponding antenna port of different link channels number
Link load between gateway is different.Specifically according to target Bluetooth transmission power parameter, bluetooth receiving intensity parameter with
And parameter is lost in Bluetooth signal gateway, determines the link load between gateway and the corresponding antenna port of current ink channel number
In the process, to receive Bluetooth signal further include link channel number for detection, on the basis of the above embodiments, gateway receive including
The Bluetooth signal of link channel number and target Bluetooth transmission power parameter, and detect the bluetooth receiving intensity for receiving Bluetooth signal
Parameter, and then according to link channel number, target Bluetooth transmission power parameter, bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter is lost, determines the link load between gateway and the corresponding antenna port of current ink channel number.It can be basis and works as
The corresponding target Bluetooth transmission power parameter of preceding link channel number subtracts bluetooth receiving intensity parameter and Bluetooth signal gateway simultaneously
Parameter is lost, obtains the link load between gateway and the corresponding antenna port of current ink channel number;Can also be first will be blue
Tooth receiving intensity parameter is added with Bluetooth signal gateway loss parameter, obtains the bluetooth at the port that topological network is connect with gateway
Signal strength parameter, then by the corresponding target Bluetooth transmission power parameter of current ink channel number subtract above topology network with
Bluetooth signal intensity parameter at the port of gateway connection, obtains between gateway and the corresponding antenna port of current ink channel number
Link load;The embodiment of the present application is without limitation.
Optionally, Bluetooth chip corresponds to multiple bluetooth channels, and parameter is lost where Bluetooth signal in bluetooth signals antenna
Parameter is lost in the corresponding bluetooth signals antenna of bluetooth channel, or is the corresponding bluetooth signals antenna loss ginseng of multiple bluetooth channels
Several average value.
Specifically, Bluetooth chip can correspond to multiple bluetooth channels, on the basis of the above embodiments, bluetooth signals antenna
Loss parameter can indicate the loss value between Bluetooth chip and room divided antenna feeder line mouth, can be the indigo plant where Bluetooth signal
Parameter is lost in the corresponding bluetooth signals antenna of tooth channel, for example, Bluetooth chip has corresponded to 3 bluetooth channels, respectively bluetooth is believed
Road 1 is bluetooth channel 2 and is bluetooth channel 3, wherein parameter 1, bluetooth is lost in the corresponding bluetooth signals antenna of bluetooth channel 1
Parameter 2 is lost in the corresponding bluetooth signals antenna of channel 2, and parameter 3 is lost in the corresponding bluetooth signals antenna of bluetooth channel 3.It is blue
Tooth signal antenna loss parameter can also be the average value of the corresponding bluetooth signals antenna loss parameter of multiple bluetooth channels.Continue
By taking Bluetooth chip has corresponded to 3 bluetooth channels as an example, the corresponding bluetooth signals antenna loss parameter 1 of bluetooth channel 1 is
0.5dBm, the corresponding bluetooth signals antenna loss parameter 2 of bluetooth channel 2 are 0.7dBm, the corresponding bluetooth letter of bluetooth channel 3
Number aerial loss parameter 3 is 0.6dBm, then bluetooth signals antenna loss parameter is that parameter 1, bluetooth letter is lost in bluetooth signals antenna
The average value of number aerial loss parameter 2 and bluetooth signals antenna loss parameter 3, i.e. 0.6dBm.
Above-mentioned link load calculation method, Bluetooth chip correspond to multiple bluetooth channels, and bluetooth signals antenna loss parameter is
Parameter is lost in the corresponding bluetooth signals antenna of bluetooth channel where Bluetooth signal, or is the corresponding bluetooth of multiple bluetooth channels
The average value of signal antenna loss parameter passes through difference during determining the link load between gateway and room divided antenna
Parameter is lost in the corresponding bluetooth signals antenna of bluetooth channel, so that the link load between the gateway and room divided antenna that obtain calculates
It is to eliminate different bluetooth channel bring errors, the link load further increased between gateway and room divided antenna calculates
Accuracy.Alternatively, determining Bluetooth signal by the average value that parameter is lost in the corresponding bluetooth signals antenna of multiple bluetooth channels
Aerial loss parameter, so that it is simple to obtain the process that the link load between gateway and room divided antenna calculates.
Although should be understood that each step in the flow chart of Fig. 2-3 according to the instruction of arrow, is successively shown,
It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2-3 at least
A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps
Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to
Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps
Ground executes.
Fig. 4 is the structural schematic diagram of the link load computing device provided in one embodiment, as shown in figure 4, the link
Loss calculation device includes: to obtain module 10 and computing module 20, in which:
Module 10 is obtained, is received for the Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detection
The Bluetooth signal bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room
Divided antenna connects gateway by topological network, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
Computing module 20, for according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and
Parameter is lost in Bluetooth signal gateway, determines the link load between the gateway and the room divided antenna.
In one embodiment, if the target Bluetooth transmission power parameter is the Bluetooth transmission power of the room divided antenna
Parameter;The Bluetooth transmission power parameter of the room divided antenna is the Bluetooth transmission power parameter and Bluetooth signal of the Bluetooth chip
The difference of aerial loss parameter, the room divided antenna are stored with the bluetooth signals antenna loss parameter, the Bluetooth signal day
Line loss consumes loss value of the parameter between the Bluetooth chip and the room divided antenna feeder line mouth.
In one embodiment, if the target Bluetooth transmission power parameter is the Bluetooth transmission power of the Bluetooth chip
Parameter;Computing module 20 is specifically used for calculating the Bluetooth transmission power parameter of the Bluetooth chip and bluetooth signals antenna loss ginseng
The first difference between number, and calculate first difference and the bluetooth receiving intensity parameter, the Bluetooth signal gateway
The second difference between parameter is lost, and using second difference as the chain path loss between the gateway and the room divided antenna
Consumption;Loss value of the bluetooth signals antenna loss parameter between the Bluetooth chip and the room divided antenna feeder line mouth.
In one embodiment, the Bluetooth chip is low-power consumption bluetooth chip.
Link load computing device provided in an embodiment of the present invention, can execute above method embodiment, realization principle
Similar with technical effect, details are not described herein.
Fig. 5 is the structural schematic diagram of the link load computing device provided in another embodiment, embodiment shown in Fig. 4
On the basis of, as shown in figure 5, computing module 20 includes: corresponding unit 201 and determination unit 202, in which:
Corresponding unit 201 is used to determine institute according to the corresponding relationship of bluetooth channel number and Bluetooth signal gateway loss parameter
State the corresponding Bluetooth signal gateway loss parameter of current Bluetooth channel number;
Determination unit 202 be used for according to the corresponding target Bluetooth transmission power parameter of the current Bluetooth channel number,
Parameter is lost in the bluetooth receiving intensity parameter and the Bluetooth signal gateway, determine the gateway and the room divided antenna it
Between link load.
In one embodiment, computing module 20 is also used to according to the target Bluetooth transmission power parameter, the bluetooth
Parameter is lost in receiving intensity parameter and the Bluetooth signal gateway, determines that the gateway and the current ink channel number are corresponding
Antenna port between link load.
In one embodiment, the Bluetooth chip corresponds to multiple bluetooth channels, and parameter is lost in the bluetooth signals antenna
Parameter is lost for the corresponding bluetooth signals antenna of bluetooth channel where the Bluetooth signal, or is the multiple bluetooth channel
The average value of corresponding bluetooth signals antenna loss parameter.
Link load computing device provided in an embodiment of the present invention, can execute above method embodiment, realization principle
Similar with technical effect, details are not described herein.
A kind of specific restriction about link load computing device may refer to above to link load calculation method
It limits, details are not described herein.Modules in above-mentioned link load computing device can fully or partially through software, hardware and
A combination thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also
Be 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 gateway is provided, which can be server, and internal structure chart can be such as figure
Shown in 6.The gateway includes processor, memory, network interface and the database connected by system bus.Wherein, the gateway
Processor for provide calculate and control ability.The memory of the gateway includes non-volatile memory medium, built-in storage.It should
Non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories Jie
The operation of operating system and computer program in matter provides environment.The database of the gateway is for storing link load data.
The network interface of the gateway is used to communicate with external terminal by network connection.When the computer program is executed by processor with
Realize a kind of link load calculation method.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of gateway, including memory and processor are provided, the memory is stored with calculating
Machine program, the processor perform the steps of when executing the computer program
The Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detect the Bluetooth signal received
Bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room divided antenna passes through topological network
Network connects gateway, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
It is lost according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter determines the link load between the gateway and the room divided antenna.
In one embodiment, the target Bluetooth transmission power parameter is that the Bluetooth transmission power of the room divided antenna is joined
Number;The Bluetooth transmission power parameter of the room divided antenna is the Bluetooth transmission power parameter and Bluetooth signal day of the Bluetooth chip
Line loss consumes the difference of parameter, and the room divided antenna is stored with the bluetooth signals antenna loss parameter, the bluetooth signals antenna
Loss value of the parameter between the Bluetooth chip and the room divided antenna feeder line mouth is lost.
In one embodiment, it is also performed the steps of when processor executes computer program and calculates the Bluetooth chip
Bluetooth transmission power parameter and bluetooth signals antenna loss parameter between the first difference, and calculate first difference and
The second difference between the bluetooth receiving intensity parameter, Bluetooth signal gateway loss parameter, and by second difference
As the link load between the gateway and the room divided antenna;The bluetooth signals antenna loss parameter is the bluetooth core
Loss value between piece and the room divided antenna feeder line mouth.
In one embodiment, the Bluetooth chip is low-power consumption bluetooth chip.
In one embodiment, the Bluetooth chip corresponds to multiple bluetooth channels, the Bluetooth signal further include: current blue
Tooth channel number;Processor is also performed the steps of when executing computer program according to bluetooth channel number and Bluetooth signal gateway damage
The corresponding relationship for consuming parameter determines the corresponding Bluetooth signal gateway loss parameter of the current Bluetooth channel number;Worked as according to described
The corresponding target Bluetooth transmission power parameter of preceding bluetooth channel number, the bluetooth receiving intensity parameter and bluetooth letter
Parameter is lost in number gateway, determines the link load between the gateway and the room divided antenna.
In one embodiment, the room divided antenna includes mutiple antennas port, and the Bluetooth signal further includes current chain
Paths number, the current ink channel number are corresponding with an antenna port of the room divided antenna;Processor executes computer
It is also performed the steps of when program according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and institute
Bluetooth signal gateway loss parameter is stated, determines the chain between the gateway and the corresponding antenna port of the current ink channel number
Path loss consumption.
In one embodiment, the Bluetooth chip corresponds to multiple bluetooth channels, and parameter is lost in the bluetooth signals antenna
Parameter is lost for the corresponding bluetooth signals antenna of bluetooth channel where the Bluetooth signal, or is the multiple bluetooth channel
The average value of corresponding bluetooth signals antenna loss parameter.
Terminal device provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein
It repeats no more.
In one embodiment, a kind of readable storage medium storing program for executing is provided, computer program, computer program are stored thereon with
It is performed the steps of when being executed by processor
The Bluetooth signal that receiving chamber divided antenna is broadcasted on bluetooth channel, and detect the Bluetooth signal received
Bluetooth receiving intensity parameter;The Bluetooth signal includes: target Bluetooth transmission power parameter;The room divided antenna passes through topological network
Network connects gateway, and integrates useful in the Bluetooth chip for generating the Bluetooth signal;
It is lost according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and Bluetooth signal gateway
Parameter determines the link load between the gateway and the room divided antenna.
In one embodiment, the target Bluetooth transmitting is performed the steps of when computer program is executed by processor
Power parameter is the Bluetooth transmission power parameter of the room divided antenna;The Bluetooth transmission power parameter of the room divided antenna is described
The difference of Bluetooth transmission power parameter and bluetooth signals antenna the loss parameter of Bluetooth chip, the room divided antenna is stored with described
Parameter is lost in bluetooth signals antenna, and the bluetooth signals antenna loss parameter is the Bluetooth chip and the room divided antenna feeder line
Loss value between mouthful.
In one embodiment, the target Bluetooth transmission power parameter is that the Bluetooth transmission power of the Bluetooth chip is joined
Number;Performed the steps of when computer program is executed by processor calculate the Bluetooth chip Bluetooth transmission power parameter and
The first difference between parameter is lost in bluetooth signals antenna, and calculates first difference and bluetooth receiving intensity ginseng
The second difference between several, described Bluetooth signal gateway loss parameter, and using second difference as the gateway and described
Link load between the divided antenna of room;The bluetooth signals antenna loss parameter is that the Bluetooth chip and the room divided antenna are presented
Loss value between line mouth.
In one embodiment, the Bluetooth chip is low-power consumption bluetooth chip.
In one embodiment, the Bluetooth chip corresponds to multiple bluetooth channels, the Bluetooth signal further include: current blue
Tooth channel number;It is performed the steps of when computer program is executed by processor according to bluetooth channel number and Bluetooth signal gateway damage
The corresponding relationship for consuming parameter determines the corresponding Bluetooth signal gateway loss parameter of the current Bluetooth channel number;Worked as according to described
The corresponding target Bluetooth transmission power parameter of preceding bluetooth channel number, the bluetooth receiving intensity parameter and bluetooth letter
Parameter is lost in number gateway, determines the link load between the gateway and the room divided antenna.
In one embodiment, the room divided antenna includes mutiple antennas port, and the Bluetooth signal further includes current chain
Paths number, the current ink channel number are corresponding with an antenna port of the room divided antenna;Computer program is processed
Device performs the steps of when executing according to the target Bluetooth transmission power parameter, the bluetooth receiving intensity parameter and institute
Bluetooth signal gateway loss parameter is stated, determines the chain between the gateway and the corresponding antenna port of the current ink channel number
Path loss consumption.
In one embodiment, the Bluetooth chip corresponds to multiple bluetooth channels, and parameter is lost in the bluetooth signals antenna
Parameter is lost for the corresponding bluetooth signals antenna of bluetooth channel where the Bluetooth signal, or is the multiple bluetooth channel
The average value of corresponding bluetooth signals antenna loss parameter.
Readable storage medium storing program for executing provided in this embodiment, implementing principle and technical effect are similar with above method embodiment,
Details are not described herein.
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 embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and 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 inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.