CN108847868B - AFH update method and device - Google Patents
AFH update method and device Download PDFInfo
- Publication number
- CN108847868B CN108847868B CN201710307711.7A CN201710307711A CN108847868B CN 108847868 B CN108847868 B CN 108847868B CN 201710307711 A CN201710307711 A CN 201710307711A CN 108847868 B CN108847868 B CN 108847868B
- Authority
- CN
- China
- Prior art keywords
- afh
- equipment
- time
- receiving performance
- renewable time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/692—Hybrid techniques using combinations of two or more spread spectrum techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/7136—Arrangements for generation of hop frequencies, e.g. using a bank of frequency sources, using continuous tuning or using a transform
- H04B2001/71362—Arrangements for generation of hop frequencies, e.g. using a bank of frequency sources, using continuous tuning or using a transform using a bank of frequency sources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of AFH update method and device, the described method comprises the following steps: determine the current transmitting-receiving performance quality of link, the link is main equipment and from the link between equipment;Practical renewable time is determined according to the current transmitting-receiving performance quality;AFH request at least once is sent from equipment to described, the AFH request includes the practical renewable time, so that described update AFH information in the practical renewable time from equipment;The AFH information is updated in the practical renewable time;Wherein, the current transmitting-receiving performance quality is poorer, and the practical renewable time is longer apart from the interval at the AFH sending moment for the first time requested.The present invention program can make have more chances to receive AFH request from equipment, to be changed to be effectively reduced caused by using different AFH frequency point groups because of master and slave equipment using AFH frequency point group identical with main equipment and received and dispatched failure rate on time.
Description
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of AFH update method and device.
Background technique
Bluetooth (Blue tooth, BT) work is in industry, science, Medical Band (Industrial Scientific
Medical band, ISM band), ISM band is an open frequency range, is the frequency range that does not need authorization and can use.
And WLAN (WIFI) some working frequency points are located in above-mentioned frequency range, so for BT, in this frequency range
There may be very strong interference signal.When environment is more complicated, interference than it is more serious when, BT will be greatly affected, meeting
The problems such as song Caton, bluetooth conversation noise, is listened in appearance, so BT can spread (Adaptive using adaptive frequency hopping
Frequency-Hopping, AFH) functional assessment channel quality, with the frequency point to avoid interference.
In existing AFH technology, main equipment (Master) sends AFH request at least once to from equipment (Slave)
(LMP_set_AFH), so that master and slave equipment is in renewable time, the AFH frequency point group before use is changed to request using AFH
In AFH frequency point group (AFH_channel_map), and only carry out frequency hopping on the frequency point in AFH frequency point group.Wherein, described
AFH request includes renewable time and AFH information, and the AFH information may include the AFH frequency point group by can be used frequency point to form.
But it since the time span of renewable time only has corresponding relationship with the number from equipment, is got over from the number of equipment
More, renewable time is longer apart from the interval at the AFH sending moment for the first time requested, and when receiving and dispatching performance and poor environment, has
There may be AFH request is not received from equipment, transmitting-receiving is caused to fail, disconnecting link when serious.
Summary of the invention
The technical problem to be solved by the present invention is to provide a kind of AFH update method and device, it can make have more multimachine from equipment
AFH request can be received, to be changed to be effectively reduced using AFH frequency point group identical with main equipment because of master and slave equipment on time
Using receiving and dispatching failure rate caused by different AFH frequency point groups.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of AFH update method, comprising the following steps: determine
The current transmitting-receiving performance quality of link, the link are main equipments and from the link between equipment;According to the current transmitting-receiving
It can the determining practical renewable time of quality;AFH request at least once is sent from equipment to described, the AFH request includes the reality
Border renewable time, so that described update AFH information in the practical renewable time from equipment;The practical renewable time more
The new AFH information;Wherein, the current transmitting-receiving performance quality is poorer, what the practical renewable time was requested apart from the AFH
It is longer that the interval at moment is issued for the first time.
Optionally, the current transmitting-receiving performance quality of the determining link include: to it is described from equipment send service request, and
And receive the confirmation from equipment for the service request and reply, determine the service request transmission times and it is described really
Recognize the number of reply;The quotient of transmission times based on the confirmation number replied described in preset duration and the service request,
Determine the current transmitting-receiving performance quality;Wherein, the quotient is smaller, and the current transmitting-receiving performance quality is poorer.
Optionally, the service request includes following one or more: audio data request, communicating data request, connection
State confirmation request and AFH request.
Optionally, determine that practical renewable time includes: based on the current transmitting-receiving according to the current transmitting-receiving performance quality
Performance quality determines and extends duration, and the current transmitting-receiving performance quality is poorer, and the extension duration is longer;In original update
It engraves and increases the extension duration, with the determination practical renewable time;Wherein, the original renewable time is apart from the AFH
The interval for issuing the moment for the first time of request is determined according to described from the number of equipment.
Optionally, the number from equipment is bigger, the sending for the first time that the original renewable time is requested apart from the AFH
The interval at moment is longer.
Optionally, the AFH update method further include: after updating the AFH information, determine in default detection duration
The reduction amount of the current transmitting-receiving performance quality;It is more by the AFH Information recovering if the reduction amount exceeds preset difference value
AFH information before new.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of AFH updating device, comprising: quality determination module,
It is adapted to determine that the current transmitting-receiving performance quality of link, the link is main equipment and from the link between equipment;When practical update
Determining module is carved, is suitable for determining practical renewable time according to the current transmitting-receiving performance quality;AFH request sending module, is suitable for
Send AFH at least once to described from equipment and request, AFH request includes the practical renewable time so that it is described from
Equipment updates AFH information in the practical renewable time;Update module is suitable for updating the AFH in the practical renewable time
Information;Wherein, the current transmitting-receiving performance quality is poorer, the sending for the first time that the practical renewable time is requested apart from the AFH
The interval at moment is longer.
Optionally, the quality determination module includes: that number determines submodule, suitable for asking to described from equipment transmission business
Ask, and receive the confirmation from equipment for the service request and reply, determine the transmission times of the service request with
The number that the confirmation is replied;Quality determines submodule, suitable for the number and described replied based on confirmation described in preset duration
The quotient of the transmission times of service request determines the current transmitting-receiving performance quality;Wherein, the quotient is smaller, described current
It is poorer to receive and dispatch performance quality.
Optionally, the service request includes following one or more: audio data request, communicating data request, connection
State confirmation request and AFH request.
Optionally, the practical renewable time determining module includes: and extends duration to determine submodule, suitable for being worked as based on described
Preceding transmitting-receiving performance quality determines and extends duration, and the current transmitting-receiving performance quality is poorer, and the extension duration is longer;Reality is more
The new moment determines submodule, suitable for increasing the extension duration on original renewable time, with the determination practical renewable time;
Wherein, the original renewable time is apart from the interval for issuing the moment for the first time that the AFH is requested according to the number from equipment
It determines.
Optionally, the number from equipment is bigger, the sending for the first time that the original renewable time is requested apart from the AFH
The interval at moment is longer.
Optionally, the AFH updating device further include: reduction amount determining module, be suitable for update the AFH information it
Afterwards, the reduction amount of the current transmitting-receiving performance quality in default detection duration is determined;Recovery module is suitable for when the reduction amount is super
It is the AFH information before updating by the AFH Information recovering out when preset difference value.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that
In embodiments of the present invention, determine the current transmitting-receiving performance quality of link, the link be main equipment with from equipment
Between link;Practical renewable time is determined according to the current transmitting-receiving performance quality;It is sent at least once to described from equipment
AFH request, AFH request include the practical renewable time so that it is described from equipment the practical renewable time more
New AFH information;The AFH information is updated in the practical renewable time;Wherein, the current transmitting-receiving performance quality is poorer, institute
It is longer apart from the interval at the AFH sending moment for the first time requested to state practical renewable time.Using the above scheme, based on link
Current transmitting-receiving performance quality determines practical renewable time, and updates AFH information in the practical renewable time, due to currently receiving
Volatility quality is poorer, and the practical renewable time is longer apart from the interval at the AFH sending moment for the first time requested, and prolongs
Long renewable time, which helps to increase main equipment, retransmits the number of AFH request, so that it is described to make to have from equipment more chances to receive
AFH request helps to be changed on time to be effectively reduced using AFH frequency point group identical with main equipment because master and slave equipment is not using
Failure rate is received and dispatched caused by same AFH frequency point group.
Further, after updating the AFH information, the current transmitting-receiving performance quality in default detection duration is determined
Reduction amount;It is the AFH information before updating by the AFH Information recovering if the reduction amount exceeds preset difference value.Using this
Whether the scheme of inventive embodiments judges the AFH frequency point group of master and slave equipment by the current transmitting-receiving performance quality of lasting detection
It updates simultaneously, if currently the decline of transmitting-receiving performance quality is more, it is believed that since the AFH frequency point group at both ends is inconsistent, at this time
The AFH information that the AFH Information recovering is before updating is helped avoid because master and slave equipment is using different AFH frequency point groups
And cause transmitting-receiving performance severe, it improves from the received success rate of equipment.
Detailed description of the invention
Fig. 1 is a kind of flow chart of AFH update method in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of specific implementation of step S11 in Fig. 1;
Fig. 3 is a kind of flow chart of specific implementation of step S12 in Fig. 1;
Fig. 4 is a kind of schematic diagram of a scenario of determining practical renewable time in the embodiment of the present invention;
Fig. 5 is the partial process view of another kind AFH update method in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of AFH updating device in the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of specific implementation of quality determination module 61 in Fig. 6;
Fig. 8 is a kind of structural schematic diagram of specific implementation of practical renewable time determining module 62 in Fig. 6.
Specific embodiment
In existing AFH technology, (LMP_set_AFH) is requested to AFH at least once is sent from equipment, so that master and slave
Equipment is changed to from the AFH frequency point group before use using the AFH frequency point group (AFH_ in AFH request in renewable time
Channel_map), and only frequency hopping is carried out on the frequency point in AFH frequency point group.But due to the time span of renewable time
Only there is corresponding relationship with the number from equipment, receiving and dispatching performance and when poor environment, it is possible to exist and not receive AFH from equipment and ask
The case where asking causes transmitting-receiving to fail, disconnecting link when serious.
The present inventor has found after study, since the time span of renewable time only has with the number from equipment pair
It should be related to, parameter setting is excessively single, does not consider the current transmitting-receiving performance quality factor of link, causes in transmitting-receiving performance and environment
When poor, it is possible to because current transmitting-receiving performance quality is poor, fail the AFH request for receiving main equipment sending from equipment, also
It can not be changed to using AFH frequency point group identical with main equipment, and then cause because master and slave equipment is using different AFH frequencies in time
It puts group and receives and dispatches and fail.
In embodiments of the present invention, determine the current transmitting-receiving performance quality of link, the link be main equipment with from equipment
Between link;Practical renewable time is determined according to the current transmitting-receiving performance quality;It is sent at least once to described from equipment
AFH request, AFH request include the practical renewable time so that it is described from equipment the practical renewable time more
New AFH information;The AFH information is updated in the practical renewable time;Wherein, the current transmitting-receiving performance quality is poorer, institute
It is longer apart from the interval at the AFH sending moment for the first time requested to state practical renewable time.Using the above scheme, based on link
Current transmitting-receiving performance quality determines practical renewable time, and updates AFH information in the practical renewable time, due to currently receiving
Volatility quality is poorer, and the practical renewable time is longer apart from the interval at the AFH sending moment for the first time requested, and prolongs
Long renewable time, which helps to increase main equipment, retransmits the number of AFH request, so that it is described to make to have from equipment more chances to receive
AFH request helps to be changed on time to be effectively reduced using AFH frequency point group identical with main equipment because master and slave equipment is not using
Failure rate is received and dispatched caused by same AFH frequency point group.
It is understandable to enable above-mentioned purpose of the invention, feature and beneficial effect to become apparent, with reference to the accompanying drawing to this
The specific embodiment of invention is described in detail.
Referring to Fig.1, Fig. 1 is a kind of flow chart of AFH update method in the embodiment of the present invention.The AFH update method can
To include step S11 to step S14:
Step S11: determining the current transmitting-receiving performance quality of link, and the link is main equipment and from the chain between equipment
Road;
Step S12: practical renewable time is determined according to the current transmitting-receiving performance quality;
Step S13: Xiang Suoshu sends AFH at least once from equipment and requests, when the AFH request includes that the reality updates
It carves, so that described update AFH information in the practical renewable time from equipment;
Step S14: the AFH information is updated in the practical renewable time.
In the specific implementation of step S11, for a main equipment and from the link (link) between equipment, it can pass through
It determines the current transmitting-receiving performance quality of the link, reflects main equipment and from the transmitting-receiving performance between equipment.
Specifically, it is determined that a kind of specific implementation of the current transmitting-receiving performance quality of link be referred to Fig. 2 shows process
Figure.
As shown in Fig. 2, the current transmitting-receiving performance quality for determining link may include step S21 and step S22, below to each
A step is described in detail.
Step S21: Xiang Suoshu sends service request from equipment, and is directed to the service request from equipment described in reception
Confirmation is replied, and determines the number that the transmission times of the service request and the confirmation are replied.
In specific implementation, main equipment sends service request to from equipment, is being properly received the service request from equipment
After can to main equipment send confirmation reply (ACK) with feedback reception situation.During this period, if main equipment in preset duration not
The ACK issued from equipment can be received, it is likely that retransmit to the service request.
Specifically, the service request includes following one or more: audio data request, communicating data request, connection
State confirmation request and AFH request.
Wherein, audio data request is for sending packets of audio data to from equipment, so that meeting user passes through bluetooth equipment
It listens to music, the demand of playback.
Communicating data request is set so as to meet user by bluetooth for transmitting communicating data packet between master and slave equipment
The standby demand conversed.
Confirming electrical connection status request is for confirming the connection status between master and slave equipment, such as when receiving from equipment really
When to recognize reply be ACK=1, indicate between master and slave equipment as connection status;It replys when receiving from the confirmation of equipment as ACK=0
When, it indicates between master and slave equipment as not-connected status.
Further, it is determined that the number that the transmission times of the service request and the confirmation are replied, determines the business
When the transmission times of request, need to include the data packet retransmitted with mistake.
Step S22: the quotient of the transmission times based on the confirmation number replied described in preset duration and the service request
Value, determines the current transmitting-receiving performance quality.
Specifically, the current transmitting-receiving performance quality can be calculated via following formula:
Tx_quality=Tx_success ÷ Tx_total_num;
Wherein, Tx_quality indicates the current transmitting-receiving performance quality;
Tx_success indicates the number that the confirmation is replied;
Tx_total_num indicates the transmission times of the service request.
Further, the quotient is smaller, indicates to receive in the case where main equipment issues identical data packet from equipment
Confirm that the quantity replied is fewer, the current transmitting-receiving performance quality is poorer;Conversely, the quotient is bigger, current transmitting-receiving property is indicated
Energy quality is better.It as a unrestricted example, can be set to as Tx_quality≤50%, indicate current transmitting-receiving
Performance quality is poor;As Tx_quality >=80%, indicate that current transmitting-receiving performance quality is good.
It should be pointed out that current transmitting-receiving performance quality can also be fed back with other parameters, such as asked based on the business
The difference for the number that the transmission times and the confirmation asked are replied, determines the current transmitting-receiving performance quality, and the difference is bigger,
Indicate that current transmitting-receiving performance quality is poorer;Conversely, the difference is smaller, indicate that current transmitting-receiving performance quality is better.In the present invention
In embodiment, for determine link current transmitting-receiving performance quality concrete mode with no restriction.
It is possible to further it is regular or it is irregular current transmitting-receiving performance quality is determined, such as every default
Duration recalculates once, to ensure to grasp current transmitting-receiving performance quality in real time.As a unrestricted example, Ke Yishe
It sets every 2s and determines primary current transmitting-receiving performance quality.
With continued reference to Fig. 1, in the specific implementation of step S12, can be determined according to the current transmitting-receiving performance quality real
Border renewable time, the current transmitting-receiving performance quality is poorer, the sending for the first time that the practical renewable time is requested apart from the AFH
The interval at moment is longer, conversely, currently transmitting-receiving performance quality is better, the head that the practical renewable time is requested apart from the AFH
The secondary interval for issuing the moment is shorter.
Specifically, Fig. 3, which is shown, determines that one kind of practical renewable time is specific according to the current transmitting-receiving performance quality
The flow chart of realization may include step S31 to step S32:
Step S31: being based on the current transmitting-receiving performance quality, determines and extends duration, and the current transmitting-receiving performance quality is got over
Difference, the extension duration are longer;
Step S32: increasing the extension duration on original renewable time, with the determination practical renewable time.
In the specific implementation of step S31, current performance quality of receiving and dispatching is poorer, true based on the current transmitting-receiving performance quality
Fixed extension duration is longer;Conversely, currently transmitting-receiving performance quality is better, the extension determined based on the current transmitting-receiving performance quality
Duration is shorter.
In the specific implementation of step S32, increase the extension duration on original renewable time, so that obtained reality
Renewable time is influenced by current transmitting-receiving performance quality, and current performance quality of receiving and dispatching is poorer, described in practical renewable time distance
The interval at the sending moment for the first time of AFH request is longer.
Wherein, original renewable time can be by determining that the method for renewable time (AFH_instant) obtains in existing AFH technology
, the interval for issuing the moment for the first time apart from AFH request is determined according to described from the number of equipment.
Further, the number from equipment is bigger, the hair for the first time that the original renewable time is requested apart from the AFH
The interval at moment is longer out;Conversely, the number from equipment is smaller, the original renewable time is requested for the first time apart from the AFH
The interval for issuing the moment is shorter.
A kind of schematic diagram of a scenario of determining practical renewable time in the embodiment of the present invention is shown referring to Fig. 4, Fig. 4.Tool
Body, main equipment 41 sends AFH request 43 to from equipment 42, and is retransmitted, and returns until receiving from the confirmation of equipment 42
Multiple 44.
In AFH request 43, including practical renewable time 46, the practical renewable time 46 are in original update
It carves to increase on 45 and extends duration 47, to make there are more chances to receive the AFH request from equipment.
With continued reference to Fig. 3, in the specific implementation of step S32, it should be pointed out that the extension duration is unsuitable too long,
Otherwise the transmitting-receiving efficiency of the link will be reduced;When the current transmitting-receiving performance quality is poor, the extension duration should not mistake
It is short, it otherwise cannot effectively increase from equipment and receive the chance that AFH is requested.As a unrestricted example, it can be set and prolong
The value of long duration is less than original renewable time and issues the interval at moment for the first time apart from what the AFH was requested, and is greater than zero.
It will be appreciated by those skilled in the art that the step of determining practical renewable time can be by fixed original update
When engrave increase variation extension duration realize, can also by directly determine variation practical renewable time realize, in this hair
In bright embodiment, for practical renewable time specific method of determination with no restriction.
With continued reference to Fig. 1, in the specific implementation of step S13, Xiang Suoshu sends AFH at least once from equipment and requests, institute
Stating AFH request includes the practical renewable time, so that described update AFH information in the practical renewable time from equipment.
Specifically, the protocol Data Unit (Protocol Data Unit, PDU) of AFH request in the prior art is interior
Appearance generally includes renewable time (AFH_instant) and AFH information, wherein at the time of the renewable time is a future,
It can be indicated with Bluetooth Clock Value, such as in an existing PDU example, the renewable time is 2 to 5.Wherein, described 2
Position in PDU namely PDU are referred to as a packet (packet) to 5, and the content of the 2nd byte to the 5th byte is more
New moment, specially following clock (clock) value.And in embodiments of the present invention, it is replaced using practical renewable time
The renewable time.
Further, the AFH information may include AFH frequency point group (AFH_channel_map), AFH mode (AFH_
) and other information known to a person skilled in the art mode.
Wherein, AFH frequency point group is made of multiple available frequency points, so that master and slave equipment is only on the frequency point in AFH frequency point group
Frequency hopping is carried out, such as in an existing PDU example, the AFH frequency point group is frequency point 7 to frequency point 16.
AFH mode may include enabling (enable) mode or not enabling (disable) mode, adopt for indicating whether
With AFH technology, such as in an existing PDU example, the AFH mode is 6.Wherein, described 6 the position in PDU is referred to
It sets namely PDU is as a packet, the content of the 6th byte is the mode of AFH, and specially 0 or 1,0 does not make for indicating
Energy (AFH_disabled), 1 for indicating enabled (AFH_enabled).
In the specific implementation of step S14, main equipment updates the AFH information in the practical renewable time, while from
Equipment updates the AFH information based on the AFH request received, the practical renewable time.
In embodiments of the present invention, the current transmitting-receiving performance quality based on link determines practical renewable time, and described
Practical renewable time updates AFH information, and poorer due to currently receiving and dispatching performance quality, the practical renewable time is apart from the AFH
Request for the first time issue the moment interval it is longer, and extend renewable time facilitate increase main equipment retransmit AFH request time
Number helps to be changed on time using identical with main equipment to make have more chances to receive the AFH request from equipment
AFH frequency point group is effectively reduced caused by using different AFH frequency point groups because of master and slave equipment and receives and dispatches failure rate.
Further, referring to Fig. 5, Fig. 5 is the partial process view of another kind AFH update method in the embodiment of the present invention.Institute
Stating another AFH update method may include step S51 to step S52:
Step S51: after updating the AFH information, the current transmitting-receiving performance quality in default detection duration is determined
Reduction amount;
Step S52: being the AFH letter before updating by the AFH Information recovering if the reduction amount exceeds preset difference value
Breath.
In the specific implementation of step S51, after master and slave equipment updates the AFH information, it will use updated
Frequency point group in AFH information carries out frequency hopping, if being properly received AFH request from equipment due to failing, and still uses originally
AFH frequency point group will lead to master and slave equipment using different AFH frequency point groups, then currently transmitting-receiving performance quality reduces.It therefore, can be with
This parameter of reduction amount using current transmitting-receiving performance quality reflects whether master and slave equipment uses identical AFH frequency point group.
Specifically, according to preceding description, the number and the business that can be replied based on confirmation described in preset duration are asked
The quotient for the transmission times asked determines the current transmitting-receiving performance quality.
Further, after updating AFH information, persistently detect whether the quotient reduces, and using default detection duration
The reduction amount of the interior quotient indicates the decline situation of current transmitting-receiving performance quality.
In the specific implementation of step S52, if the reduction amount exceeds preset difference value, it may be considered that master and slave equipment
Using different AFH frequency point groups, transmitting-receiving performance is caused sharply to decline, can be the AFH before updating by the AFH Information recovering
Information, so that main equipment cooperates from equipment.
As a unrestricted example, a length of 2s when the default detection can be set, the preset difference value is set
It is 40%.
Using the scheme of the embodiment of the present invention, the AFH of master and slave equipment is judged by the current transmitting-receiving performance quality of lasting detection
Whether information has updated simultaneously, if currently the decline of transmitting-receiving performance quality is more, it is believed that due to the AFH frequency point group at both ends
It is inconsistent, at this time by the AFH information that the AFH Information recovering is before updating, help avoid because master and slave equipment is using different
AFH frequency point group to lead to receive and dispatch performance severe, improve from the received success rate of equipment.
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram of AFH updating device in the embodiment of the present invention.The AFH more new clothes
Set may include: quality determination module 61, practical renewable time determining module 62, AFH request sending module 63, update module
64, reduction amount determining module 65 and recovery module 66.
Wherein, the quality determination module 61 is adapted to determine that the current transmitting-receiving performance quality of link, the link are that master sets
It is standby with from the link between equipment;
The practical renewable time determining module 62, when being suitable for determining practical update according to the current transmitting-receiving performance quality
It carves;
The AFH request sending module 63 is suitable for sending AFH request at least once, the AFH request from equipment to described
Including the practical renewable time, so that described update AFH information in the practical renewable time from equipment;Wherein, described
Current transmitting-receiving performance quality is poorer, and the practical renewable time is longer apart from the interval at the AFH sending moment for the first time requested.
The update module 64 is suitable for updating the AFH information in the practical renewable time;
The reduction amount determining module 65 is suitable for after updating the AFH information, determines described in default detection duration
The reduction amount of current transmitting-receiving performance quality;
The recovery module 66 is suitable for when the reduction amount exceeds preset difference value, is to update by the AFH Information recovering
AFH information before.
Further, Fig. 7 is a kind of structural schematic diagram of specific implementation of quality determination module 61 in Fig. 6.The quality
Determining module 61 may include: that number determines that submodule 611 and quality determine submodule 612.
Wherein, the number determines submodule 611, is suitable for sending service request from equipment to described, and described in reception
Confirmation from equipment for the service request is replied, and determines time that the transmission times of the service request and the confirmation are replied
Number;
Further, the service request includes following one or more: audio data request, connects communicating data request
Connect state confirmation request and AFH request.
The quality determines submodule 612, the number suitable for being replied based on confirmation described in preset duration and the business
The quotient of the transmission times of request determines the current transmitting-receiving performance quality;Wherein, the quotient is smaller, the current transmitting-receiving
Performance quality is poorer.
Further, Fig. 8 is a kind of structural schematic diagram of specific implementation of practical renewable time determining module 62 in Fig. 6.
The practical renewable time determining module 62 may include extending duration to determine that submodule 621 and practical renewable time determine son
Module 622.
Wherein, the extension duration determines submodule 621, is suitable for being based on the current transmitting-receiving performance quality, determines and extend
Duration, the current transmitting-receiving performance quality is poorer, and the extension duration is longer;
The practical renewable time determines submodule 622, suitable for increasing the extension duration on original renewable time, with
Determine the practical renewable time;Wherein, the original renewable time is apart from the interval for issuing the moment for the first time that the AFH is requested
It is determined according to described from the number of equipment.
Further, the number from equipment is bigger, the hair for the first time that the original renewable time is requested apart from the AFH
The interval at moment is longer out.
More detailed contents about the AFH updating device please refer to updating above and shown in Fig. 1 to Fig. 5 about AFH
The associated description of method, details are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in computer readable storage medium, and storage is situated between
Matter may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.
Claims (12)
1. a kind of AFH update method, which comprises the following steps:
Determine the current transmitting-receiving performance quality of link, the link is main equipment and from the link between equipment;
Practical renewable time is determined according to the current transmitting-receiving performance quality;
AFH request at least once is sent from equipment to described, the AFH request includes the practical renewable time, so that institute
It states and updates AFH information from equipment in the practical renewable time;
The AFH information is updated in the practical renewable time;
Wherein, the current transmitting-receiving performance quality is poorer, when the sending for the first time that the practical renewable time is requested apart from the AFH
The interval at quarter is longer.
2. AFH update method according to claim 1, which is characterized in that the current transmitting-receiving performance matter of the determining link
Amount includes:
Service request is sent from equipment to described, and receives the confirmation from equipment for the service request and replys, really
The number that the transmission times of the fixed service request and the confirmation are replied;
Based on the quotient of the transmission times for confirming the number and the service request replied described in preset duration, work as described in determination
Preceding transmitting-receiving performance quality;
Wherein, the quotient is smaller, and the current transmitting-receiving performance quality is poorer.
3. AFH update method according to claim 2, which is characterized in that the service request includes with the next item down or more
: audio data request, communicating data request, confirming electrical connection status request and AFH request.
4. AFH update method according to claim 1, which is characterized in that determined according to the current transmitting-receiving performance quality
Practical renewable time includes:
It based on the current transmitting-receiving performance quality, determines and extends duration, the current transmitting-receiving performance quality is poorer, when the extension
It is longer;
Increase the extension duration, on original renewable time with the determination practical renewable time;
Wherein, the interval basis for issuing the moment for the first time that the original renewable time is requested apart from the AFH is described from equipment
Number determines.
5. AFH update method according to claim 4, which is characterized in that the number from equipment is bigger, described original
Renewable time is longer apart from the interval at the AFH sending moment for the first time requested.
6. AFH update method according to claim 1, which is characterized in that further include:
After updating the AFH information, the reduction amount of the current transmitting-receiving performance quality in default detection duration is determined;
It is the AFH information before updating by the AFH Information recovering if the reduction amount exceeds preset difference value.
7. a kind of AFH updating device characterized by comprising
Quality determination module, is adapted to determine that the current transmitting-receiving performance quality of link, and the link is main equipment and between equipment
Link;
Practical renewable time determining module is suitable for determining practical renewable time according to the current transmitting-receiving performance quality;
AFH request sending module is suitable for sending AFH request at least once from equipment to described, and the AFH request includes the reality
Border renewable time, so that described update AFH information in the practical renewable time from equipment;
Update module is suitable for updating the AFH information in the practical renewable time;
Wherein, the current transmitting-receiving performance quality is poorer, when the sending for the first time that the practical renewable time is requested apart from the AFH
The interval at quarter is longer.
8. AFH updating device according to claim 7, which is characterized in that the quality determination module includes:
Number determines submodule, is suitable for sending service request from equipment to described, and be directed to the industry from equipment described in reception
The confirmation of business request is replied, and determines the number that the transmission times of the service request and the confirmation are replied;
Quality determines submodule, suitable for the transmission time based on the confirmation number replied described in preset duration and the service request
Several quotients determines the current transmitting-receiving performance quality;
Wherein, the quotient is smaller, and the current transmitting-receiving performance quality is poorer.
9. AFH updating device according to claim 8, which is characterized in that the service request includes with the next item down or more
: audio data request, communicating data request, confirming electrical connection status request and AFH request.
10. AFH updating device according to claim 7, which is characterized in that the practical renewable time determining module packet
It includes:
Extend duration and determine submodule, is suitable for being based on the current transmitting-receiving performance quality, determines and extend duration, the current transmitting-receiving
Performance quality is poorer, and the extension duration is longer;
Practical renewable time determines submodule, suitable for increasing the extension duration on original renewable time, with the determination reality
Border renewable time;
Wherein, the interval basis for issuing the moment for the first time that the original renewable time is requested apart from the AFH is described from equipment
Number determines.
11. AFH updating device according to claim 10, which is characterized in that the number from equipment is bigger, the original
Beginning renewable time is longer apart from the interval at the AFH sending moment for the first time requested.
12. AFH updating device according to claim 7, which is characterized in that further include:
Reduction amount determining module is suitable for after updating the AFH information, determines the current transmitting-receiving in default detection duration
The reduction amount of energy quality;
Recovery module is suitable for when the reduction amount exceeds preset difference value, is the AFH before updating by the AFH Information recovering
Information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710307711.7A CN108847868B (en) | 2017-05-04 | 2017-05-04 | AFH update method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710307711.7A CN108847868B (en) | 2017-05-04 | 2017-05-04 | AFH update method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108847868A CN108847868A (en) | 2018-11-20 |
CN108847868B true CN108847868B (en) | 2019-11-05 |
Family
ID=64211721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710307711.7A Active CN108847868B (en) | 2017-05-04 | 2017-05-04 | AFH update method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108847868B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361279A (en) * | 2006-01-17 | 2009-02-04 | 诺基亚公司 | Method for avoiding interference from a cellular transmitter to the 2.4/5ghz ism band |
CN103517296A (en) * | 2012-06-20 | 2014-01-15 | 京信通信技术(广州)有限公司 | Frequency point switching detection method, frequency point switching detection equipment and frequency point switching detection system |
CN104703233A (en) * | 2013-12-06 | 2015-06-10 | 苹果公司 | Peer-to-peer communications on restricted channels |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070206660A1 (en) * | 2006-03-06 | 2007-09-06 | Texas Instruments Incorporated | Radio frequency collision avoidance mechanism in wireless networks using frequency synchronization |
-
2017
- 2017-05-04 CN CN201710307711.7A patent/CN108847868B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361279A (en) * | 2006-01-17 | 2009-02-04 | 诺基亚公司 | Method for avoiding interference from a cellular transmitter to the 2.4/5ghz ism band |
CN103517296A (en) * | 2012-06-20 | 2014-01-15 | 京信通信技术(广州)有限公司 | Frequency point switching detection method, frequency point switching detection equipment and frequency point switching detection system |
CN104703233A (en) * | 2013-12-06 | 2015-06-10 | 苹果公司 | Peer-to-peer communications on restricted channels |
Also Published As
Publication number | Publication date |
---|---|
CN108847868A (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337074B (en) | The bluetooth headset wireless communications method of high reliability | |
KR100678943B1 (en) | Method and apparatus for transmitting block ACK frame | |
US20050058107A1 (en) | Method and system for repeat request in hybrid ultra wideband-bluetooth radio | |
JP2002271235A (en) | Organized adaptive frequency hopping | |
CN107079331A (en) | For the method and apparatus for the business for controlling electronic installation in a wireless communication system | |
CN109803321A (en) | Resource selection method and terminal under a kind of multi-service | |
CN107113122A (en) | HARQ feedback method, apparatus and system | |
EP2446691A1 (en) | Interference reduction with coexisting wireless systems | |
CN107155204B (en) | Bluetooth and Wifi switching method and system | |
CN105191459A (en) | Device and method for data transmission in direct communication | |
CN108616819A (en) | A kind of data repeating method, bluetooth master and wireless communication system | |
CN109922540A (en) | Wireless transmitting-receiving equipments group communication method, equipment group, system and storage medium | |
CN104065452A (en) | Wireless communication method, related equipment and system | |
KR20190103179A (en) | Method for transmitting RLC layer status report control PDUs and related devices | |
CN107733583A (en) | Method, base station and the user equipment of the communication mode of hybrid automatic repeat-request are set | |
CN108847868B (en) | AFH update method and device | |
US20080075005A1 (en) | Data transmission method indicating data pending in zigbee network | |
CN110234101A (en) | A kind of radio transmitting method of reliable transmitting data, equipment and system | |
CN109428684B (en) | Data transmission method, RLC entity and PDCP entity | |
CN109687944A (en) | Packet data convergence protocol data transmission method and device | |
CN109618406B (en) | Wireless connection method, equipment group, system | |
CN104641586A (en) | Method for automatic retransmission, user equipment, and base station | |
CN104270821B (en) | A kind of anti-interference frequency spectrum access method based on user fairness | |
CN102932392A (en) | UDP (User Datagram Protocol) downloading method of multi-terminal system | |
CN113630904B (en) | Bluetooth multi-pairing connection method and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |