Communication method and communication apparatus, terminal, and computer-readable storage medium

By adjusting the random value and d value of the frequency hopping algorithm in high-frequency BLE equipment, the channel selection algorithm is optimized, which solves the communication quality problem caused by excessive channel spacing and improves the controllability of channel selection and communication quality.

WO2026065512A1PCT designated stage Publication Date: 2026-04-02AMLOGIC (SHANGHAI) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

In high-frequency BLE devices, due to the increase in the number of channels, the existing channel selection algorithm causes the channel interval used by two consecutive sub-events to be too large, which affects the communication quality.

Method used

By introducing a first adjustment parameter and a d-value adjustment factor, the random value and d-value in the frequency hopping algorithm are adjusted, thereby optimizing the channel selection algorithm to control the upper limit of the channel spacing and improving the controllability of channel selection.

Benefits of technology

This effectively reduces the upper limit of the hop value between channels used in two consecutive sub-events, improving the reliability of channel selection and communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024123046_02042026_PF_FP_ABST
    Figure CN2024123046_02042026_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a communication method and a communication apparatus, a terminal, and a computer-readable storage medium. The communication method comprises: on the basis of a first adjustment parameter, determining a random value adjustment factor in a frequency hopping algorithm; on the basis of a channel used by a former sub-event of two adjacent sub-events and the random value adjustment factor, determining a channel used by a latter sub-event of the two adjacent sub-events; or, on the basis of a d-value adjustment factor, determining a d value in the frequency hopping algorithm; and on the basis of the channel used by the former sub-event of the two adjacent sub-events and the d value, determining the channel used by the latter sub-event of the two adjacent sub-events.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, communication device, terminal and computer readable storage medium TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communication technology, and in particular to a communication method, a communication device, a terminal and a computer readable storage medium. BACKGROUND

[0002] Current Bluetooth Low Energy (BLE) protocol runs on the 2.4GHz band. In the future, BLE devices can run on higher bands (HB), such as 5GHz and 6GHz bands. Compared with 2.4GHz, which has only nearly 80MHz bandwidth available, the channel bandwidth and number available on 5GHz / 6GHz are much larger than that of 2.4GHz.

[0003] On HB BLE, the channel hopping strategy will still be used, and the selected channel is used in the specified available channel. The algorithm used in the corresponding frequency hopping or channel selection strategy is the channel selection algorithm (CSA).

[0004] In the existing channel selection algorithm, since the total number of all available channels on 2.4GHz is 37, the interval (also known as hop value) between the channels used by two consecutive sub-events will not be too large. However, since the number of available channels on 5GHz / 6GHz is much larger than that of 2.4GHz, the interval (i.e. hop value) between the channels used by two consecutive sub-events will be very large, resulting in a decrease in controllability of channel selection and affecting the communication quality.

[0005] SUMMARY

[0006] In view of this, embodiments of the present application provide a communication method, a communication device, a terminal and a computer readable storage medium, which have the opportunity to make the interval between the channels used by two consecutive sub-events have a smaller upper limit, which helps to improve the communication quality.

[0007] To achieve the above object, the embodiments of the present application provide the following technical solutions.

[0008] In a first aspect, an embodiment of the present application provides a communication method, comprising: determining a random value adjustment factor in a frequency hopping algorithm based on a first adjustment parameter; determining a channel used by a latter sub-event of adjacent two sub-events based on a channel used by a former sub-event of the adjacent two sub-events and the random value adjustment factor; or, determining a d value in the frequency hopping algorithm based on the random value adjustment factor; and determining the channel used by the latter sub-event of the adjacent two sub-events based on the channel used by the former sub-event of the adjacent two sub-events and the d value.

[0009] Optionally, the communication method is applied to Bluetooth Low Energy (BLE), and / or the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band.

[0010] Optionally, a frequency hopping step value of the frequency hopping algorithm is non-fixed, and the frequency hopping algorithm comprises a channel selection algorithm (CSA#2).

[0011] Optionally, the random value adjustment factor in the frequency hopping algorithm is determined based on the first adjustment parameter by using the following formula:

[0012] wherein d2 is the random value adjustment factor, N is a number of available channels contained in a current available channel list, d is the d value in the frequency hopping algorithm, and d adj is the first adjustment parameter, and offset1 is a first preset offset.

[0013] Optionally, the random value adjustment factor in the frequency hopping algorithm is determined based on the first adjustment parameter by using the following formula:

[0014] wherein d2 is the random value adjustment factor, N is a number of available channels contained in a current available channel list, d is the d value in the frequency hopping algorithm, and d adj is the first adjustment parameter, and offset1 is a first preset offset.

[0015] Optionally, a value of the first preset offset offset1 is 0 or 9.

[0016] Optionally, a value of the first adjustment parameter d adj is [0, 8], and is a rational number.

[0017] Optionally, the communication method is applied to Bluetooth Low Energy (BLE), and / or the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band; wherein a value of the first adjustment parameter d adj is 0.5 or 1 or 1.5.

[0018] Optionally, a random value adjustment factor in the frequency hopping algorithm is determined based on a first adjustment parameter d using the following formula: d2 = N - 2 x d x d adj + 1.

[0019] wherein d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, d adj is the first adjustment parameter.

[0020] Optionally, the first adjustment parameter d adj has a value in the range of [1, 8] and is a rational number, and satisfies the following condition: N - 2 x d x d adj ≥ 0.

[0021] Optionally, the communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band; wherein the first adjustment parameter d adj has a value of 1 or 1.5 or 2.

[0022] Optionally, the channel used by a next sub-event is determined based on a channel used by a previous sub-event in adjacent two sub-events and a random value adjustment factor using the following formula:

[0023] wherein, is the channel used by the current sub-event, is the channel used by the previous sub-event, d is the d value in the frequency hopping algorithm, floor() is a down rounding operation, is a random value obtained using a pseudo-random algorithm, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, max() is a maximum value operation, min() is a minimum value operation, and mod is a remainder operation.

[0024] Optionally, the d value adjustment factor is determined using the following formula:

[0025] wherein dmultiplier is the d value adjustment factor, max() is a maximum value operation, floor() is a down rounding operation, N is the number of available channels contained in the current available channel list, and offset2 is a second preset offset.

[0026] Optionally, the d value adjustment factor is determined using the following formula:

[0027] Wherein, dmultiplier is a d value adjustment factor, min() is a minimum value operation, max() is a maximum value operation, floor() is a down rounding operation, N is a number of available channels contained in a current available channel list, offset2 is a second preset offset, and U is an upper limit value of a preset value range of the d value adjustment factor dmultiplier.

[0028] Optionally, the communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band; and the value of U is 8.

[0029] Optionally, the communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band; and the value of the second preset offset offset2 is 10.

[0030] Optionally, the d value in the frequency hopping algorithm is determined based on a d value adjustment factor by using the following formula:

[0031] Wherein, d is the d value in the frequency hopping algorithm, max() is a maximum value operation, min() is a minimum value operation, N is a number of available channels contained in a current available channel list, dmultiplier is a d value adjustment factor, and floor() is a down rounding operation.

[0032] Optionally, the channel used by a next sub-event in adjacent two sub-events is determined based on a channel used by a previous sub-event in the adjacent two sub-events and the d value adjustment factor by using the following formula:

[0033] Wherein, is a channel used by a current sub-event, is a channel used by a previous sub-event, d is the d value in the frequency hopping algorithm, floor() is a down rounding operation, is a random value obtained by using a pseudo-random algorithm, N is a number of available channels contained in a current available channel list, and mod is a remainder operation.

[0034] In a second aspect, an embodiment of the present application provides a communication apparatus, comprising: a first adjustment factor determination module configured to determine a random value adjustment factor in a frequency hopping algorithm based on a first adjustment parameter; a first channel determination module configured to determine a channel used by a next sub-event among two adjacent sub-events based on a channel used by a previous sub-event among the two adjacent sub-events and the random value adjustment factor; or a first d value determination module configured to determine a d value in the frequency hopping algorithm based on a d value adjustment factor; and a second channel determination module configured to determine the channel used by the next sub-event among the two adjacent sub-events based on the channel used by the previous sub-event among the two adjacent sub-events and the d value.

[0035] In a third aspect, an embodiment of the present application further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the communication method provided in the first aspect to be performed.

[0036] In a fourth aspect, an embodiment of the present application provides a terminal, comprising a memory and a processor, wherein the memory has stored a computer program capable of being run on the processor, and the processor, when running the computer program, performs the communication method provided in the first aspect.

[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when run on a computer, causes the computer to perform the communication method provided in the first aspect.

[0038] In a sixth aspect, an embodiment of the present application provides a chip (or a communication apparatus), wherein the chip has stored a computer program, and the computer program, when executed by the chip, causes the communication method provided in the first aspect to be performed.

[0039] In a seventh aspect, an embodiment of the present application provides a chip module, wherein the chip module has stored a computer program, and the computer program, when executed by the chip module, causes the communication method provided in the first aspect to be performed.

[0040] In an eighth aspect, an embodiment of the present application provides a communication system, comprising an apparatus configured to perform the method provided in the first aspect.

[0041] Compared with the prior art, the technical scheme of the embodiment of the present application has the following beneficial effects:

[0042] In the embodiment of the present application, the random value adjustment factor in the frequency hopping algorithm can be determined based on the first adjustment parameter, so that the first adjustment parameter is introduced to determine the random value adjustment factor, which is used to adjust the random value in the frequency hopping algorithm, so that in the step of determining the channel used by the latter sub-event in the adjacent two sub-events based on the channel used by the former sub-event in the adjacent two sub-events and the random value adjustment factor, the adjusted random value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two consecutive sub-events have a smaller upper limit, effectively improve the selection reliability of the channel used by the latter sub-event, improve the controllability of channel selection, and help improve the communication quality. In addition, in the embodiment of the present application, the d value in the frequency hopping algorithm can be determined based on the d value adjustment factor, so that the d value adjustment factor is introduced to adjust the d value in the frequency hopping algorithm, so that in the step of determining the channel used by the latter sub-event in the adjacent two sub-events based on the channel used by the former sub-event in the adjacent two sub-events and the random value adjustment factor, the adjusted d value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two consecutive sub-events have a smaller upper limit, effectively improve the selection reliability of the channel used by the latter sub-event, improve the controllability of channel selection, and help improve the communication quality. BRIEF DESCRIPTION OF DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative labor.

[0044] FIG. 1 is a schematic diagram of channel distribution of HB BLE and Wi-Fi when using 6GHz low frequency band in the prior art;

[0045] FIG. 2 is a schematic diagram of channel selection scenario of an event containing four sub-events in the prior art;

[0046] FIG. 3 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in the prior art;

[0047] FIG. 4 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in the prior art;

[0048] FIG. 5 is a flowchart of a communication method in an embodiment of the present application;

[0049] FIG. 6 is a diagram illustrating a range of hop values between channels used by a first type of consecutive two sub-events in an embodiment of the present application;

[0050] FIG. 7 is a diagram illustrating a range of hop values between channels used by a second type of consecutive two sub-events in an embodiment of the present application;

[0051] FIG. 8 is a diagram illustrating a range of hop values between channels used by a third type of consecutive two sub-events in an embodiment of the present application;

[0052] FIG. 9 is a diagram illustrating a range of hop values between channels used by a fourth type of consecutive two sub-events in an embodiment of the present application;

[0053] FIG. 10 is a diagram illustrating a range of hop values between channels used by a fifth type of consecutive two sub-events in an embodiment of the present application;

[0054] FIG. 11 is a diagram illustrating a structure of a communication device in an embodiment of the present application;

[0055] FIG. 12 is a diagram illustrating a hardware structure of a terminal in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0057] The communication system to which the embodiments of the present application are applicable includes, but is not limited to, a 3th-generation (3G) system, an LTE system, a 4th-generation (4G) system, a 5th-generation (5G) system, an NR system, and a future evolution system or a plurality of communication fusion systems. The 5G system can be a non-standalone (NSA) 5G system or a standalone (SA) 5G system. The solutions of the embodiments of the present application are also applicable to future new various communication systems, such as 6G, 7G, etc.

[0058] The present application mainly relates to communication between a Bluetooth device and a peer device.

[0059] The Bluetooth device can be a terminal device (or a terminal) that supports Bluetooth functionality. In this application embodiment, "terminal" can refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication device, user agent, or user device that support Bluetooth functionality. The terminal can also be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), handheld device with wireless communication functionality, computing device, or other processing device connected to a wireless modem, in-vehicle device, wearable device, a terminal in a future 5G network, or a terminal in a future evolved Public Land Mobile Network (PLMN), etc. This application embodiment does not limit this to any particular type.

[0060] The peer device can be a network device that supports Bluetooth or a terminal device that supports Bluetooth.

[0061] The network device in the embodiments of the present application can also be referred to as an access network device, for example, a base station (BS) (also referred to as a base station device). The network device is a device deployed in a radio access network (RAN) to provide wireless communication functions. For example, devices providing base station functions in a second-generation (2G) network include base transceiver stations (BTS), devices providing base station functions in a 3G network include Node B, devices providing base station functions in a 4G network include evolved Node B (eNB), in a wireless local area network (WLAN), devices providing base station functions are access points (AP), devices providing base station functions in NR include next generation node base station (gNB) and continue to evolve Node B (ng-eNB), wherein the gNB and the terminal communicate with each other using NR technology, the ng-eNB and the terminal communicate with each other using evolved universal terrestrial radio access (E-UTRA) technology, and the gNB and the ng-eNB can be connected to a 5G core network. The network device in the embodiments of the present application also includes devices providing base station functions in future new communication systems and the like.

[0062] As described in the background, in the prior art, the current BLE protocol runs on the 2.4 GHz frequency band, and in the future, BLE devices can run on HB, such as 5 GHz and 6 GHz frequency bands. Compared with 2.4 GHz, which has only nearly 80 MHz bandwidth available, the available channel bandwidth and number on 5 GHz / 6 GHz is much larger than that on 2.4 GHz.

[0063] On 5 GHz, according to different regional regulations (Regulatory), the available spectrum resources can be 5150-5250 MHz, 5725-5925 MHz, etc.; on 6 GHz, according to different regional regulations, the available spectrum resources can be 5925-6425 MHz, 6425-7125 MHz, etc.

[0064] According to the current Higher Band BLE regulation, the single channel used by HB BLE will still maintain the narrowband characteristic. For example, the bandwidth of the single channel can be 1MHz or 2MHz. For example, taking the low frequency band of 6GHz 5925-6425MHz as an example, removing the Guard sub-bands on both sides, the available frequency band can be 5945-6425MHz, which has a spectrum resource of 480MHz. At present, Wi-Fi can use this spectrum, and compared with HB BLE, the working channel of Wi-Fi is a wideband channel, such as 160MHz.

[0065] Referring to FIG. 1, FIG. 1 is a schematic diagram of the channel distribution of HB BLE and Wi-Fi when using the 6GHz low frequency band in the prior art.

[0066] As shown in FIG. 1, in this spectrum resource, HB BLE can have nearly 240 channels (determined based on a channel spacing of 2MHz), while Wi-Fi can at most place 3 160MHz Wi-Fi channels.

[0067] On HB BLE, the channel hopping strategy will still be used, and the selected channel in the specified available channel is used. The algorithm used by the corresponding frequency hopping or channel selection strategy is a channel selection algorithm (CSA, Channel Selection Algorithm). In the traditional 2.4GHz BLE, there are two different channel selection algorithms, namely CSA#1 and CSA#2. The biggest difference between the two algorithms is the calculation of the interval of the two selected channels in succession: in CSA#1, the interval is fixed, while in CSA#2, the interval has a certain randomness.

[0068] Specifically, the frequency hopping technology is a method of using a pseudo-random code sequence for frequency shift keying to expand the spectrum by constantly hopping the carrier frequency. The above interval is also called hop value, which can be regarded as the difference value of the carrier frequency between two hops.

[0069] The simple process of CSA#1 is as follows:

[0070] First, determine the used channel map and the interval (hop) of the two selected channels in succession;

[0071] When the currently selected channel is f(n), the following steps are used to calculate the next channel f(n+1):

[0072] (1) First calculate f(n+1) = (f(n) + hop) % 37;

[0073] (2) If the channel corresponding to f(n+1) is in the current used channel map, f(n+1) is the channel selected next time; otherwise,

[0074] (3) Recalculate f(n+1) = f(n+1) % N.

[0075] Where N is the number of available channels in the current used channel map. The recalculated f(n+1) corresponds to an available channel in the current used channel map.

[0076] The biggest difference between CSA#1 and CSA#2 is that the frequency hopping step value is not fixed after being selected, but is recalculated by a pseudo-random algorithm in each connection event. In particular, in the BLE sub-event, the interval (hop value) between the selected channels in adjacent sub-events is also limited within a certain range by the following method when a certain pseudo-random algorithm is met:

[0077] (1) First determine the used channel map and the corresponding N value. N is the number of available channels in the current used channel map;

[0078] (2) Assume that the channel used in the last sub-event is indexOfLastUsedChannel se_n , then the channel used in the current sub-event is determined by the following formula:

[0079] Where, is the channel used in the current sub-event, corresponding to the channel in the used channel map; is the channel used in the last sub-event, is a random value obtained by a pseudo-random algorithm;

[0080] d can be calculated by the following formula:

[0081] Where max() is the maximum value operation, min() is the minimum value operation, and floor() is the floor operation.

[0082] According to the aforementioned conventional 2.4GHz BLE sub-event channel selection algorithm CSA#2, it can be seen that the interval hop value between the channels used in two consecutive sub-events is determined by the d value and the pseudo-random value prnSubEvent_se se_ndetermined. This algorithm makes the interval hop value between the channels used by two consecutive sub-events to be moderate, i.e. not too small and not too large.

[0083] With reference to FIG. 2 and FIG. 3, FIG. 2 is a schematic diagram of a channel selection scenario of an event containing four sub-events in the prior art, and FIG. 3 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in the prior art.

[0084] As shown in FIG. 2, it is assumed that all channels on 2.4 GHz are available (a total of 37, i.e. N = 37), and an event Event contains four sub-events SE (subevent), and each sub-event SE selects a channel CH (channel).

[0085] It should be noted that the four sub-events shown in FIG. 2 are only used to illustrate the working scenario of a specific application, and do not constitute a limitation on the number of sub-events of the scheme of the present application.

[0086] Then, the interval hop value between the channels used by two consecutive sub-events, i.e. the interval between the channels used by adjacent sub-events SE in the same Event, such as the interval between the channels used by the second sub-event SE2 and the first sub-event SE1 in the event Event1 is hop 11_12 = CH 12 - CH 11 ; similarly, the interval between the channels used by the fourth sub-event SE4 and the third sub-event SE3 in Event3 is hop 33_34 = CH 34 - CH 33 .

[0087] Then, under a sufficient number of events, such as a total of 65535 events Event, and the number of sub-events SE in each Event is four. It can be calculated that the value range and the corresponding distribution of the interval hop value between the channels used by all consecutive sub-events can be represented by FIG. 3.

[0088] Wherein, the horizontal axis represents the possible value of the interval hop, and the vertical axis represents the number of occurrences of a certain hop value.

[0089] As can be seen from FIG. 3, the CSA#2 algorithm of the sub-event of the conventional 2.4 GHz BLE makes the interval hop value between the channels used by two consecutive sub-events fall between [11, 26], and ensures that each possible interval hop value has the same opportunity to be used over a long period of time.

[0090] Under the HB BLE, compared with the traditional 2.4GHz BLE, the available spectrum resources are much wider, such as the aforementioned low frequency band of 6GHz, which can have a maximum of nearly 480MHz of spectrum bandwidth resources, corresponding to 240 BLE channels. In this way, the channel selection algorithm CSA#2 of the sub-event in the traditional 2.4GHz BLE is no longer applicable to the wide bandwidth spectrum channel resources of the HB BLE.

[0091] It is found through research that in an improved scheme, it can be tried to appropriately modify the calculation of the d parameter in the original traditional 2.4GHz BLE CSA#2 algorithm. As follows, a new parameter d m is introduced, with a value range of [1, 8].

[0092] Wherein, d is the d value in the channel selection algorithm CSA#2, floor() is the floor operation, max() is the maximum value operation, min() is the minimum value operation, d m is a newly introduced parameter, with a value range of [1, 8].

[0093] Then the channel used by the current sub-event is determined by the following formula:

[0094] Wherein, is the channel used by the current sub-event, is the channel used by the last sub-event, d is the d value in the frequency hopping algorithm, floor() is the floor operation, is a random value obtained by using a pseudo-random algorithm, N is the number of available channels contained in the current available channel list, mod is the remainder operation.

[0095] However, the problem of the channel calculated by the above formula is that the interval hop value between the channels used by the two consecutive sub-events, that is, the interval between the channels used by the adjacent sub-events (SE) in the same event (Event), can become very large.

[0096] In combination with reference to FIG. 2 and FIG. 4, FIG. 4 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in the prior art.

[0097] Specifically, FIG. 4 is used for HB BLE CSA#2 to show the value range of the interval hop value between the channels used by two consecutive sub-events.

[0098] It is assumed that all the channels on the HB 6GHz low frequency band are available (a total of 236, i.e. N = 236), and d m= 4 (i.e. the hop interval of two consecutive sub-events is expected to be about 80MHz). Meanwhile, 4 sub-events (SEs) are included in one event (Event), and each sub-event SE selects one channel (CH).

[0099] Then, the hop value of the interval between the channels used by two consecutive sub-events, i.e. the interval between the channels used by the adjacent sub-events SEs in the same Event, such as the interval between the channels used by the second sub-event SE2 and the first sub-event SE1 in the Event Event1 is hop 11_12 = CH 12 - CH 11 Similarly, the interval between the channels used by the fourth sub-event SE4 and the third sub-event SE3 in the Event Event3 is hop 33_34 = CH 34 - CH 33 .

[0100] Then, under a sufficient number of events, such as a total of 65535 events, and the number of sub-events SE in each event is 4. The hop value of the interval between the channels used by all consecutive sub-events can be calculated, and the range of values and the corresponding distribution can be represented by FIG. 4.

[0101] In the figure, the horizontal axis represents the possible values of the interval hop, and the vertical axis represents the number of occurrences of a certain hop value.

[0102] As can be seen from FIG. 4, the CSA#2 algorithm of the sub-event of the current HB BLE makes the hop value of the interval between the channels used by two consecutive sub-events fall between [44, 192], which corresponds to [80MHz, 284MHz] on the spectrum resource. That is, the hop value of the interval between the channels used by two consecutive sub-events can become very large.

[0103] As can be seen from the above, in the existing channel selection algorithm, since the total number of all available channels on 2.4GHz is 37, the interval (also known as the frequency hopping step value hop) between the channels used by two consecutive sub-events will not be too large. However, since the number of available channels on 5GHz / 6GHz is much larger than that on 2.4GHz, the interval (i.e. hop value) between the channels used by two consecutive sub-events will be very large, resulting in a decrease in controllability of channel selection and affecting communication quality.

[0104] In the embodiment of the present application, the random value adjustment factor in the frequency hopping algorithm can be determined based on the first adjustment parameter, so that the first adjustment parameter is introduced to determine the random value adjustment factor, which is used to adjust the random value in the frequency hopping algorithm, so that in the step of determining the channel used by the latter sub-event in the adjacent two sub-events based on the channel used by the former sub-event in the adjacent two sub-events and the random value adjustment factor, the adjusted random value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two continuous sub-events have a smaller upper limit, effectively improve the selection reliability of the channel used by the latter sub-event, improve the controllability of channel selection, and help to improve the communication quality. In addition, in the embodiment of the present application, the d value in the frequency hopping algorithm can be determined based on the d value adjustment factor, so that the d value adjustment factor is introduced to adjust the d value in the frequency hopping algorithm, so that in the step of determining the channel used by the latter sub-event in the adjacent two sub-events based on the channel used by the former sub-event in the adjacent two sub-events and the random value adjustment factor, the adjusted d value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two continuous sub-events have a smaller upper limit, effectively improve the selection reliability of the channel used by the latter sub-event, improve the controllability of channel selection, and help to improve the communication quality.

[0105] In order to make the above-mentioned purposes, features and benefits of the present application more obvious and easy to understand, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0106] Referring to FIG. 5, FIG. 5 is a flowchart of a communication method in an embodiment of the present application. The communication method can include steps S51-S52, or can include steps S53-S54.

[0107] Step S51: determining a random value adjustment factor in a frequency hopping algorithm based on a first adjustment parameter;

[0108] Step S52: determining a channel used by a latter sub-event in adjacent two sub-events based on a channel used by a former sub-event in the adjacent two sub-events and the random value adjustment factor;

[0109] Step S53: determining a d value in a frequency hopping algorithm based on a d value adjustment factor;

[0110] Step S54: determining a channel used by a latter sub-event in adjacent two sub-events based on a channel used by a former sub-event in the adjacent two sub-events and the d value.

[0111] It can be understood that in specific implementations, the above method can be implemented in the form of a software program running in a processor integrated in a chip or a chip module; or the method can be implemented in the form of hardware or a combination of software and hardware, for example, by using a dedicated chip or chip module, or by using a dedicated chip or chip module in combination with a software program.

[0112] In specific implementations of step S51, the first adjustment parameter can be a newly introduced parameter d adj (Also referred to as d adjust ), used to determine a random value adjustment factor, which can be used to adjust the random value.

[0113] In specific implementations, the random value adjustment factor can be multiplied by the random value, or the random value adjustment factor can be summed with the random value, thereby adjusting the random value.

[0114] In specific implementations of step S52, after adjusting the random value using the random value adjustment factor, the channel used by the subsequent sub-event in the adjacent two sub-events is determined based on the adjusted random value and the channel used by the previous sub-event in the adjacent two sub-events.

[0115] In embodiments of the present application, the random value adjustment factor in the frequency hopping algorithm can be determined based on the first adjustment parameter, so that the first adjustment parameter can be introduced to determine the random value adjustment factor, which is used to adjust the random value in the frequency hopping algorithm, so that in the step of determining the channel used by the subsequent sub-event in the adjacent two sub-events based on the channel used by the previous sub-event in the adjacent two sub-events and the random value adjustment factor, the adjusted random value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two consecutive sub-events have a smaller upper limit, effectively improving the selection reliability of the channel used by the subsequent sub-event.

[0116] The contents of steps S51 to S52 described above are described below in conjunction with a plurality of embodiments.

[0117] Embodiment One

[0118] In embodiment one, the following formula can be used to determine the random value adjustment factor in the frequency hopping algorithm based on the first adjustment parameter:

[0119] wherein d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, d adj is the first adjustment parameter, and offset1 is the first preset offset.

[0120] Specifically, d2 can be used to adjust the upper limit value of the interval hop value between the channels used by two consecutive sub-events. The calculation method of d2 comprehensively considers the value of N and the new adjustment parameter d adjust .

[0121] In a first specific embodiment of Embodiment One, the value of the first preset offset offset1 can be 0, and the formula can be changed to:

[0122] In a second specific embodiment of Embodiment One, the value of the first preset offset offset1 can be 9, and the formula can be changed to:

[0123] Or,

[0124] In Embodiment One, the value of the first adjustment parameter d adj may be [0, 8], and is a rational number. Optionally, d adj may be selected as a decimal number, such as 0.5, 1.5, 2.5, etc.

[0125] In Embodiment One, the following formula can be used to determine the channel used by the latter sub-event in the adjacent two sub-events based on the channel used by the former sub-event in the adjacent two sub-events and the random value adjustment factor d2:

[0126] Wherein, is the channel used by the current sub-event, for example, each sub-event (SE1-SE4) of each event (event 1-event 3) shown in FIG. 2.

[0127] is the channel used by the last sub-event, for example, the channel used by the last sub-event of the channel used by the current sub-event is the channel used by the last sub-event of the channel used by the current sub-event, for example, the last sub-event of the sub-event SE1 of event 2 is the sub-event SE4 of event 1, the last sub-event of the sub-event SE2 of event 1 is the sub-event SE1 of event 1, etc.

[0128] is a random value obtained by using a pseudo-random algorithm, and the pseudo-random algorithm can use a conventional pseudo-random algorithm for frequency hopping technology, for example, can be selected from one or more of the following: Mason rotation algorithm, Blum-Micali algorithm, complementary multiplication, inverse congruential generator, linear congruential method, linear feedback shift register, square and take middle method.

[0129] d2 is the random value adjustment factor, which can be used to adjust the random value Adjustment is made.

[0130] Note that in the above formula, adjustment can be made based on the product of d2 and a random value , but is not limited thereto, for example, adjustment can also be made by the sum or weighted operation value of d2 and a random value .

[0131] N is the number of available channels contained in the current available channel list.

[0132] Taking the HB 6GHz low frequency band as an example, assuming that all channels on the HB 6GHz low frequency band are available, the total number is 236, i.e. N = 236.

[0133] d is the d value in the frequency hopping algorithm, which can be determined by the above formula.

[0134] floor() is the down rounding operation, max() is the maximum value operation, min() is the minimum value operation, and mod is the remainder operation.

[0135] In combination with reference to FIG. 2 and FIG. 6, FIG. 6 is a schematic diagram of the value range of the interval hop value between channels used by the first two consecutive sub-events in the embodiment of the application.

[0136] In one specific example of the embodiment one shown in FIG. 6, assuming that all channels on the HB 6GHz low frequency band are available (a total of 236, i.e. N = 236), and the d multiplier in the above frequency hopping algorithm = 4 (i.e. the hop interval of two consecutive sub-events is about 80MHz). At the same time, 4 sub-events (subevent, SE) are contained in one event (Event), and each sub-event SE selects a channel (channel, CH).

[0137] Therefore, the interval hop value between channels used by two consecutive sub-events, i.e. the interval between channels used by adjacent sub-events SE in the same Event, such as the interval between channels used by the second sub-event SE2 and the first sub-event SE1 in the event Event1 is hop 11_12 = CH 12 - CH 11 ; similarly, the interval between channels used by the fourth sub-event SE4 and the third sub-event SE3 in Event3 is hop 33_34 = CH 34 - CH 33 .

[0138] In which, d2 is calculated by the following formula:

[0139] It should be noted that in a specific embodiment of embodiment one, the communication method can be applied to Bluetooth Low Energy (BLE), and the communication method can be applied to the 5GHz frequency band and / or the 6GHz frequency band; wherein the first adjustment parameter d adj is 0.5 or 1 or 1.5.

[0140] In the above formula, the corresponding d adj parameter is taken as an example, that is, the interval hop value between the channels used by the two consecutive sub-events is not expected to exceed 2.5d (d+1.5d).

[0141] Under enough events, such as a total of 65535 events Event, and the number of sub-events SE in each Event is 4, the interval hop value between the channels used by all consecutive sub-events can be calculated, and the value range and the corresponding distribution can be represented by FIG. 6.

[0142] Wherein, the horizontal axis represents the possible interval hop value, and the vertical axis represents the number of times corresponding to the hop value.

[0143] As can be seen from the above figure, the frequency hopping algorithm of the current HB BLE sub-event makes the interval hop value between the channels used by the two consecutive sub-events fall within [44, 100], which corresponds to [80MHz, 200MHz] on the spectrum resource. That is, the interval hop value between the channels used by the two consecutive sub-events falls within a certain range and does not exceed 2.5d (in the above example, 2.5d = 110).

[0144] In embodiment one, by introducing the first adjustment parameter d adj and then determining the random value adjustment factor d2 in an appropriate manner, the accuracy of the random value adjustment factor d2 can be improved, so that when the channel used by the next sub-event is determined, the interval hop value between the channels used by the two consecutive sub-events falls within a certain range, has a smaller upper limit, thereby effectively improving the selection reliability of the channel used by the next sub-event, improving the controllability of channel selection, and helping to improve the communication quality.

[0145] Embodiment two

[0146] In embodiment two, the following formula can be used to determine the random value adjustment factor in the frequency hopping algorithm based on the first adjustment parameter:

[0147] Wherein, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, and d adjThe first adjustment parameter is offset1, and the first preset offset is offset1.

[0148] Specifically, d2 can be used to adjust the upper limit of the interval hop value between the channels used by two consecutive sub-events. The calculation method of d2 takes into account the value of N and the new adjustment parameter d adjust .

[0149] In a first specific embodiment of the second embodiment, the value of the first preset offset offset1 can be 0, and the formula can be changed to:

[0150] In a second specific embodiment of the second embodiment, the value of the first preset offset offset1 can be 9, and the formula can be changed to:

[0151] Or,

[0152] In the second embodiment, the value of the first adjustment parameter d adj may be [0, 8], and is a rational number. Optionally, d adj may be selected as a decimal number, such as 0.5, 1.5, 2.5, etc.

[0153] In the second embodiment, the following formula can be used to determine the channel used by a sub-event after two adjacent sub-events based on the channel used by a sub-event before the two adjacent sub-events and the random value adjustment factor d2:

[0154] Wherein, is the channel used by the current sub-event, is the channel used by the last sub-event, d is the d value in the frequency hopping algorithm, floor() is the floor operation, is the random value obtained by using the pseudo-random algorithm, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, max() is the maximum value operation, min() is the minimum value operation, and mod is the modulo operation.

[0155] For more details of each parameter, please refer to the foregoing description and the specific description of the first embodiment, which will not be repeated here.

[0156] In combination with reference to FIG. 2 and FIG. 7, FIG. 7 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in the second embodiment of the present application.

[0157] In one specific example of the second embodiment shown in FIG. 7, it is assumed that all channels on the HB 6GHz low frequency band are available (a total of 236, i.e., N = 236), and dmultiplier = 4 in the above frequency hopping algorithm (i.e., the hop interval of two consecutive sub-events is about 80MHz). Meanwhile, 4 sub-events (SE) are included in one event (Event), and each sub-event SE selects a channel (CH).

[0158] Then, the interval hop value between the channels used by two consecutive sub-events is the interval between the channels used by adjacent sub-events SE in the same Event, such as the interval between the channels used by the second sub-event SE2 and the first sub-event SE1 in the Event Event1, which is hop 11_12 = CH 12 - CH 11 Similarly, the interval between the channels used by the fourth sub-event SE4 and the third sub-event SE3 in the Event Event3 is hop 33_34 = CH 34 - CH 33 .

[0159] where d2 is calculated using the following formula:

[0160] It should be noted that in one specific example of the second embodiment, the communication method can be applied to Bluetooth Low Energy (BLE), and the communication method can be applied to the 5GHz frequency band and / or the 6GHz frequency band; wherein the first adjustment parameter d adj is 0.5 or 1 or 1.5.

[0161] In the above formula, the corresponding d adj parameter is 1.5, for example, which means that the interval hop value between the channels used by two consecutive sub-events will not exceed 2.5d (d + 1.5d).

[0162] Then, under a sufficient number of events, such as a total of 65535 events Event, and the number of sub-events SE in each Event is 4. The interval hop value between the channels used by all consecutive sub-events can be calculated, and the value range and corresponding distribution can be represented by FIG. 7.

[0163] where the horizontal axis represents the possible value of the interval hop, and the vertical axis represents the number of times a certain hop value appears.

[0164] As shown in the above figure, the frequency hopping algorithm of the current HB BLE sub-event makes the interval hop value between the channels used by two consecutive sub-events fall within [44, 100], which corresponds to [80MHz, 200MHz] on the spectrum resource. That is, the interval hop value between the channels used by two consecutive sub-events falls within a certain range and will not exceed 2.5d (in the above example, 2.5d = 110).

[0165] In Embodiment Two, by introducing the first adjustment parameter d adj , and then determining the random value adjustment factor d2 in an appropriate manner, the accuracy of the random value adjustment factor d2 can be improved, so that when the channel used by the next sub-event is determined later, the interval hop value between the channels used by two consecutive sub-events falls within a certain range and has a smaller upper limit, thereby effectively improving the selection reliability of the channel used by the next sub-event, improving the controllability of channel selection, and helping to improve the communication quality.

[0166] Embodiment Three

[0167] In Embodiment Three, the following formula can be used to determine the random value adjustment factor in the frequency hopping algorithm based on the first adjustment parameter: d2 = N - 2 × d × d adj + 1;

[0168] wherein d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, and d adj is the first adjustment parameter.

[0169] Specifically, d2 can be used to adjust the upper limit value of the interval hop value between the channels used by two consecutive sub-events. The calculation method of d2 comprehensively considers the value of N and the new adjustment parameter d adjust .

[0170] In Embodiment Three, the value of the first adjustment parameter d adj may be [1, 8], and is a rational number and satisfies the following condition: N - 2 × d × d adj ≥ 0.

[0171] In the embodiments of the present application, the value of the first adjustment parameter d adj is [1, 8] and satisfies the following condition: N - 2 × d × d adj ≥ 0, which will make the random value adjustment factor d2 smaller than before adjustment, thereby facilitating the interval hop value between the channels used by two consecutive sub-events to have a smaller upper limit.

[0172] In the third embodiment, the following formula can be used to determine the channel used by the next sub-event based on the channel used by the previous sub-event and the random value adjustment factor d2:

[0173] wherein, CHcurr is the channel used by the current sub-event, CHprev is the channel used by the previous sub-event, d is the d value in the frequency hopping algorithm, floor() is the floor operation, rand is the random value obtained by using the pseudo-random algorithm, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, max() is the maximum operation, min() is the minimum operation, and mod is the modulo operation.

[0174] For more details of the various parameters, please refer to the foregoing description and the detailed description of the first embodiment, which will not be repeated here.

[0175] With reference to FIGS. 2 and 8, FIG. 8 is a schematic diagram of the value range of the hop value between the channels used by two consecutive sub-events in the third embodiment of the present application.

[0176] In one specific example of the third embodiment shown in FIG. 8, it is assumed that all the channels on the HB 6GHz low frequency band are available (a total of 236, i.e., N = 236), and the d multiplier in the above frequency hopping algorithm is 4 (i.e., the hop interval of two consecutive sub-events is about 80MHz). Meanwhile, one event Event contains 4 sub-events (subevent, SE), and each sub-event SE selects a channel (channel, CH).

[0177] Therefore, the hop value between the channels used by two consecutive sub-events, i.e., the interval between the channels used by the adjacent sub-events in the same Event, such as the interval between the channels used by the second sub-event SE2 and the first sub-event SE1 in the event Event1 is hop 11_12 = CH 12 - CH 11 ; similarly, the interval between the channels used by the fourth sub-event SE4 and the third sub-event SE3 in the event Event3 is hop 33_34 = CH 34 - CH 33 .

[0178] wherein d2 is calculated by the following formula: d2 = N - 2 x d x d adj + 1;

[0179] It should be noted that, in a specific embodiment of Example 3, the communication method can be applied to Bluetooth Low Energy (BLE), and the communication method can be applied to the 5GHz band and / or the 6GHz band; wherein, the first adjustment parameter d adj The value can be 1, 1.5, or 2.

[0180] In the above formula, the corresponding d adj Taking a parameter value of 2 as an example, with a sufficient number of events, such as a total of 65535 events, and each event having 4 sub-events (SE), the channel interval hop value used by all consecutive sub-events can be calculated. Its range and corresponding distribution can be represented by Figure 8.

[0181] The horizontal axis represents the possible values ​​of the interval hop, and the vertical axis represents the number of times a certain hop value appears.

[0182] As shown in Figure 8, the current frequency hopping algorithm for sub-events in HB BLE ensures that the hop value between channels used by two consecutive sub-events falls within the range of [44, 104], which corresponds to the range of [80MHz, 200MHz] in terms of spectrum resources. That is, the hop value between channels used by two consecutive sub-events falls within a certain range.

[0183] In Example 3, a first adjustment parameter d is introduced. adj Then, by using an appropriate method to determine the random value adjustment factor d2, the accuracy of the random value adjustment factor d2 can be improved. This ensures that when determining the channel used by the next sub-event, the hop value between the channels used by two consecutive sub-events falls within a certain range with a small upper limit. This effectively improves the reliability of the channel selection used by the next sub-event, enhances the controllability of channel selection, and helps improve communication quality.

[0184] Referring again to Figure 5, in the specific implementation of step S53, the d-value adjustment factor can be a newly introduced parameter dmultiplier, which can be used to adjust the d-value.

[0185] In practice, the d-value adjustment factor can be multiplied with the d-value, or the d-value adjustment factor can be summed with the d-value, thereby adjusting the d-value.

[0186] In the specific implementation of step S52, the d value can be adjusted by using a d value adjustment factor, and then the channel used by the next sub-event in the two adjacent sub-events can be determined by using the adjusted d value and the channel used by the previous sub-event in the two adjacent sub-events.

[0187] In the embodiment of the present application, the d value in the frequency hopping algorithm can be determined based on a d value adjustment factor, so that the d value adjustment factor is introduced to adjust the d value in the frequency hopping algorithm, so that in the step of determining the channel used by the next sub-event based on the channel used by the previous sub-event and the random value adjustment factor, the adjusted d value is used to determine the channel, which has the opportunity to make the interval hop value between the channels used by the two consecutive sub-events have a smaller upper limit, effectively improve the selection reliability of the channel used by the next sub-event, improve the controllability of channel selection, and help improve the communication quality.

[0188] The contents of steps S53 to S54 are described below in combination with multiple embodiments.

[0189] Embodiment Four

[0190] In Embodiment Four, the following formula can be used to determine the d value adjustment factor:

[0191] Wherein, dmultiplier is the d value adjustment factor, max() is the maximum value operation, floor() is the down rounding operation, N is the number of available channels contained in the current available channel list, and offset2 is the second preset offset.

[0192] It should be pointed out that in the foregoing and the embodiment shown in FIG. 4, the value range of d m is [1, 8], and d m = 4 is taken as an example for description, so it can be known that there is no forced relationship between the actual value of d m and the value of the available channel number N.

[0193] In Embodiment Four, the parameter N value is additionally considered to limit the selection of the parameter dmultiplier.

[0194] In one specific implementation of Embodiment Four, the communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to the 5 GHz frequency band and / or the 6 GHz frequency band; the value of the second preset offset offset2 can be 10, and the formula can be changed to:

[0195] In the embodiment of the present application, the value of the second preset offset offset2 is 10, and the selectable value range of dmultiplier can be [1, 8] in the application scenario, which is more focused on taking the lower limit value 1, which is conducive to reducing the upper limit of the interval hop value between the channels used by the two consecutive sub-events as much as possible.

[0196] It should be noted that in specific implementation, the second preset offset offset2 can also adopt other appropriate values, and the technical effect of focusing on taking the lower limit value 1 in the application scenario where the selectable value range of dmultiplier is [1, 8] can also be obtained, for example, the second preset offset offset2 takes values such as 9.5, 10.5, and is not limited to 10.

[0197] In embodiment four, the following formula can be used to determine the d value in the frequency hopping algorithm based on the d value adjustment factor:

[0198] Wherein, dmultiplier is the d value adjustment factor, which can be used to adjust the d value.

[0199] It should be noted that in the above formula, adjustment can be made based on the product of dmultiplier and 11, but it is not limited thereto, for example, adjustment can also be made by sum or weighted operation value of dmultiplier and 11.

[0200] N is the number of available channels contained in the current available channel list.

[0201] Taking HB 6GHz low frequency band as an example, assuming that all channels on HB 6GHz low frequency band are available, the total number is 236, i.e. N = 236.

[0202] d is the d value in the frequency hopping algorithm, which can be determined by the above formula.

[0203] max() is the maximum value operation, min() is the minimum value operation, and floor() is the down rounding operation.

[0204] In embodiment four, the following formula can be used to determine the channel used by the next sub-event in the adjacent two sub-events based on the channel used by the previous sub-event in the adjacent two sub-events and the d value adjustment factor:

[0205] Wherein, is the channel used by the current sub-event, for example, each sub-event (SE1-SE4) of each event (event 1-event 3) shown in FIG. 2.

[0206] is the channel used by the previous sub-event, for example, the channel used by the previous sub-event of the channel used by the current sub-event is the channel used by the previous sub-event of the channel used by the current sub-event, for example, the previous sub-event of the sub-event SE1 of event 2 is the sub-event SE4 of event 1, the previous sub-event of the sub-event SE2 of event 1 is the sub-event SE1 of event 1, etc.

[0207] For the random value obtained by using the pseudo-random algorithm, the pseudo-random algorithm can use a conventional pseudo-random algorithm for frequency hopping technology, which can be selected from one or more of the following: Mason rotation algorithm, Blum-Micali algorithm, complementary multiplication, inverse congruential generator, linear congruential method, linear feedback shift register, square and take the middle method.

[0208] N is the number of available channels contained in the current available channel list.

[0209] Taking the HB 6GHz low frequency band as an example, assuming that all channels on the HB 6GHz low frequency band are available, the total number is 236, that is, N = 236.

[0210] d is the d value in the frequency hopping algorithm, which can be determined by the above formula.

[0211] floor() is the floor operation, max() is the maximum value operation, min() is the minimum value operation, and mod is the remainder operation.

[0212] Referring to FIGS. 2 and 9, FIG. 9 is a schematic diagram of the value range of the interval hop value between channels used by the fourth consecutive two sub-events in the embodiment of the application.

[0213] In one specific example of the fourth embodiment shown in FIG. 9, it is assumed that all channels on the HB 6GHz low frequency band are available (a total of 236, that is, N = 236), and the d multiplier in the above frequency hopping algorithm is 4 (that is, the hop interval of two consecutive sub-events is about 80MHz). At the same time, 4 sub-events (subevent, SE) are included in one event (Event), and each sub-event SE selects a channel (channel, CH).

[0214] Therefore, the interval hop value between channels used by two consecutive sub-events, that is, the interval between channels used by adjacent sub-events in the same Event, such as the interval between channels used by the second sub-event SE2 and the first sub-event SE1 in the event Event1 is hop 11_12 = CH 12 - CH 11 Similarly, the interval between channels used by the fourth sub-event SE4 and the third sub-event SE3 in Event3 is hop 33_34 = CH 34 - CH 33 .

[0215] Wherein, the d multiplier is calculated by the following formula:

[0216] In the foregoing configuration, the dmultiplier can be calculated as 10 according to the above formula.

[0217] Then, in a sufficient number of events, such as a total of 65535 events Event, the number of sub-events SE in each Event is 4. The interval hop value between channels used by all consecutive two sub-events can be calculated, and the range of values and the corresponding distribution can be represented by FIG. 9.

[0218] In the figure, the horizontal axis represents the possible interval hop values, and the vertical axis represents the number of occurrences of a certain hop value.

[0219] As can be seen from the above figure, the frequency hopping algorithm of the current HB BLE sub-event makes the interval hop value between channels used by consecutive two sub-events fall within [110, 126]. That is, the interval hop value between channels used by consecutive two sub-events falls within a certain range.

[0220] In embodiment four, by introducing the d value adjustment factor to determine the d value in the frequency hopping algorithm, the accuracy of the d value can be improved, so that when the channel used by the next sub-event is determined, the interval hop value between channels used by consecutive two sub-events falls within a certain range, has a smaller upper limit, thereby effectively improving the selection reliability of the channel used by the next sub-event, improving the controllability of channel selection, and helping to improve the communication quality.

[0221] Embodiment five

[0222] In embodiment five, the following formula can be used to determine the d value adjustment factor:

[0223] Wherein, dmultiplier is the d value adjustment factor, min() is the minimum value operation, max() is the maximum value operation, floor() is the down rounding operation, N is the number of available channels contained in the current available channel list, offset2 is the second preset offset, and U is the upper limit value of the preset value range of the d value adjustment factor dmultiplier.

[0224] It should be pointed out that in the foregoing embodiment and the embodiment shown in FIG. 4, the value range of d m is [1, 8], and d m = 4 is taken as an example for illustration, so it can be known that there is no forced relationship between the actual value of d m and the value of the number of available channels N.

[0225] In the fifth embodiment, the upper limit of the preset value range of the parameter N value and the d value adjustment factor dmultiplier is additionally considered, and the selection of the parameter dmultiplier is limited.

[0226] In a specific implementation of the fifth embodiment, the communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to a 5 GHz frequency band and / or a 6 GHz frequency band. The value of the second preset offset offset2 can be 10, and the value of U can be 8. The formula can be changed to:

[0227] In the embodiment of the application, the value of the second preset offset offset2 is 10, and the value of U is 8. The selectable value range of dmultiplier is [1, 8]. By considering the lower limit value 1 and the upper limit value 8, it is beneficial to comprehensively consider the process of reducing the upper limit of the interval hop value between the channels used by two consecutive sub-events.

[0228] It should be noted that in specific implementation, the second preset offset offset2 can also adopt other appropriate values, and the technical effects of considering the lower limit value 1 and the upper limit value 8 in the application scenario in which the selectable value range of dmultiplier is [1, 8] can also be obtained, for example, the second preset offset offset2 takes a value of 9.5 or 10.5, and is not limited to 10.

[0229] In the fifth embodiment, the following formula can be used to determine the d value in the frequency hopping algorithm based on the d value adjustment factor:

[0230] In the fifth embodiment, the following formula can be used to determine the d value in the frequency hopping algorithm based on the d value adjustment factor:

[0231] For more details of the parameters, refer to the foregoing description and the specific description of the fourth embodiment, which will not be repeated here.

[0232] In the fifth embodiment, the following formula can be used to determine the d value in the frequency hopping algorithm based on the d value adjustment factor:

[0233] In the fifth embodiment, the following formula can be used to determine the d value in the frequency hopping algorithm based on the d value adjustment factor: is the channel used by the current sub-event, channel used for the previous sub-event, d is the d value in the frequency hopping algorithm, floor() is the down rounding operation, random value obtained by using the pseudo-random algorithm, N is the number of available channels contained in the current available channel list, mod is the remainder operation.

[0234] For more details of the various parameters, please refer to the foregoing and the specific description of Example Four, which will not be repeated here.

[0235] In combination with reference to FIG. 2 and FIG. 10, FIG. 10 is a schematic diagram of the value range of the interval hop value between the channels used by two consecutive sub-events in an embodiment of the present application.

[0236] In one specific example of the embodiment five shown in FIG. 10, it is assumed that all the channels on the HB 6GHz low frequency band are available (a total of 236, i.e. N = 236), and the d multiplier in the above frequency hopping algorithm = 4 (i.e. the hop interval of two consecutive sub-events is about 80MHz). At the same time, 4 sub-events (subevent, SE) are contained in one event (Event), and each sub-event SE selects a channel (channel, CH).

[0237] Therefore, the interval hop value between the channels used by two consecutive sub-events, i.e. the interval between the channels used by adjacent sub-events in the same Event, such as the interval between the channels used by the second sub-event SE2 and the first sub-event SE1 in the Event Event1 is hop 11_12 = CH 12 - CH 11 ; Similarly, the interval between the channels used by the fourth sub-event SE4 and the third sub-event SE3 in the Event3 is hop 33_34 = CH 34 - CH 33 .

[0238] In which, the d multiplier is calculated by using the following formula:

[0239] Under the foregoing configuration, the d multiplier = 8 can be obtained by calculating according to the above formula.

[0240] Therefore, under a sufficient number of events, such as a total of 65535 events Event, the number of sub-events SE in each Event is 4. The value range and the corresponding distribution of the interval hop value between the channels used by all the two consecutive sub-events can be represented by FIG. 10.

[0241] Wherein, the horizontal axis represents the value of the possible interval hop, and the vertical axis represents the number of times corresponding to the value of a certain hop.

[0242] From the above figure, it can be seen that the frequency hopping algorithm of the current HB BLE sub-event makes the interval hop value between the channels used by two consecutive sub-events fall within [88, 148]. That is, the interval hop value between the channels used by two consecutive sub-events falls within a certain range.

[0243] In embodiment five, by introducing a d value adjustment factor to determine the d value in the frequency hopping algorithm, the accuracy of the d value can be improved, so that when the channel used by the next sub-event is determined, the interval hop value between the channels used by two consecutive sub-events falls within a certain range, has a smaller upper limit, thereby effectively improving the selection reliability of the channel used by the next sub-event, improving the controllability of channel selection, and helping to improve the communication quality.

[0244] In embodiments one to five, one or more of the following can be met: the communication method is applied to Bluetooth Low Energy (BLE); the communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band.

[0245] Bluetooth Low Energy (Bluetooth LE, BLE, or Bluetooth Smart) is also called Bluetooth Low Power, which is a personal area network technology designed and sold by Bluetooth Special Interest Group, and is intended for emerging applications in the fields of healthcare, sports fitness, beacons, security, home entertainment, etc. Compared with classic Bluetooth, Bluetooth Low Energy aims to significantly reduce power consumption and cost while maintaining the same communication range. It can be understood that the technical standards of BLE and the differences between them and the technical standards of classic Bluetooth can refer to the BLE (Bluetooth Low Energy) protocol.

[0246] More information about high frequency band HB and 5GHz frequency band and 6GHz frequency band can be found in the foregoing and the content of FIG. 1, which will not be repeated here.

[0247] In the embodiments of the present application, by being applied to BLE and being applied to the 5GHz frequency band and / or the 6GHz frequency band, since HB BLE has more available channel bandwidth and quantity, it is more suitable for the scheme of the embodiments of the present application.

[0248] In embodiments one to five, the frequency hopping step value of the frequency hopping algorithm can be non-fixed, and the frequency hopping algorithm can include channel selection algorithm CSA#2.

[0249] In the embodiment of the present application, the upper limit of the interval hop value between the channels used by two consecutive sub-events is effectively controlled to be smaller, which is particularly suitable for the frequency hopping algorithm using non-fixed frequency hopping step values, and can effectively reduce the operation complexity and operation amount. In addition, the frequency hopping algorithm including the channel selection algorithm CSA#2 has a d value, and the technical solution in the embodiment of the present application has higher adaptability.

[0250] Referring to FIG. 11, FIG. 11 is a structural schematic diagram of a communication device in the embodiment of the present application. The communication device can include:

[0251] The first adjustment factor determination module 111 is configured to determine a random value adjustment factor in the frequency hopping algorithm based on the first adjustment parameter;

[0252] The first channel determination module 112 is configured to determine a channel used by a subsequent sub-event in adjacent two sub-events based on a channel used by a previous sub-event in the adjacent two sub-events and the random value adjustment factor;

[0253] Alternatively,

[0254] The first d value determination module 113 is configured to determine a d value in the frequency hopping algorithm based on the d value adjustment factor;

[0255] The second channel determination module 114 is configured to determine a channel used by a subsequent sub-event in adjacent two sub-events based on a channel used by a previous sub-event in the adjacent two sub-events and the d value.

[0256] For more details about the working principle, working method and beneficial effects of the communication device, please refer to the specific description of FIG. 5 above, which will not be repeated here.

[0257] In specific implementation, the communication device shown in FIG. 11 can correspond to a chip with a communication function in a communication device; or correspond to a chip or a chip module with a communication function included in a communication device, or correspond to a communication device.

[0258] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program. When the computer program is run by a computer, the communication method described above is executed. The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The storage medium can also include a non-volatile memory or a non-transitory memory, etc.

[0259] The embodiment of the present application further provides a terminal, comprising a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the steps of the communication method when running the computer program.

[0260] The terminal can be a mobile phone, a computer, a tablet computer, a vehicle-mounted terminal, a wearable device, and the like, but is not limited thereto.

[0261] Referring to FIG. 12, FIG. 12 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present application. The terminal shown in FIG. 12 comprises a memory 121, a processor 122 and a transceiver 123, the processor 122 and the memory 121, the transceiver 123 are coupled, and the memory 121 can be located in the terminal or outside the terminal. The memory 121, the processor 122 and the transceiver 123 can be connected through a communication bus. The transceiver 123 is configured to communicate with other devices or communication networks.

[0262] Optionally, the transceiver 123 can be a transmitter. The memory 121 stores a computer program capable of running on the processor 122, and the transceiver 123 executes the steps of the communication method provided in the above embodiments when the processor 122 runs the computer program.

[0263] It should be understood that, in the embodiments of the present application, the processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0264] It should also be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically EPROM (EEPROM) or flash memory. The volatile memory can be random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM can be used, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM) and direct rambus RAM (DR RAM).

[0265] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired or wireless means.

[0266] It should be understood that in various embodiments of the present application, the size of the sequence number of each process described above does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0267] In several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other manners. For example, the described device embodiments are merely illustrative; the division of the units is merely logical function division; and there can be another division manner in actual implementation; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0268] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments.

[0269] In addition, each functional unit in the embodiments of the present application can be integrated in one processing unit, or each unit can be a separate physical unit, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software function unit. For example, for each device or product applied to or integrated in a chip, each module / unit contained therein can be implemented in the form of circuitry or hardware, or at least part of the modules / units can be implemented in the form of software program running on a processor integrated in the chip, and the remaining (if any) part of the modules / units can be implemented in the form of circuitry or hardware; for each device or product applied to or integrated in a chip module, each module / unit contained therein can be implemented in the form of circuitry or hardware, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least part of the modules / units can be implemented in the form of software program running on a processor integrated in the chip module, and the remaining (if any) part of the modules / units can be implemented in the form of circuitry or hardware; for each device or product applied to or integrated in a terminal, each module / unit contained therein can be implemented in the form of circuitry or hardware, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the terminal, or at least part of the modules / units can be implemented in the form of software program running on a processor integrated in the terminal, and the remaining (if any) part of the modules / units can be implemented in the form of circuitry or hardware.

[0270] The integrated unit in the form of software function unit can be stored in a computer readable storage medium. The software function unit is stored in a storage medium, and includes instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a mobile hard disk, a ROM, a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0271] It should be understood that the term "and / or" herein is only used to describe the association relationship of the associated objects, and can represent three relationships, for example, A and / or B can represent three cases of A alone, A and B together, and B alone. In addition, the character " / " herein represents an "or" relationship between the associated objects before and after it.

[0272] "Multiple" appearing in the embodiments of the present application means two or more.

[0273] In the present application, "equal to" can be used with "less than" or "greater than", but not at the same time with "less than" and "greater than". When "equal to" is used with "less than", it is applicable to the technical solutions adopted by "less than". When "equal to" is used with "greater than", it is applicable to the technical solutions adopted by "greater than".

[0274] The first, second, and the like appearing in the embodiments of the present application are only used for description and distinction of the description objects, and do not have order, nor represent special limitation of the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.

[0275] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, and therefore the protection scope of the present application should be subject to the scope defined by the claims.

Claims

1. A communication method characterized by comprising: Comprise: determine a random value adjustment factor in a frequency hopping algorithm based on a first adjustment parameter; determine a channel used in a later sub-event of two adjacent sub-events based on a channel used in an earlier sub-event of the two adjacent sub-events and the random value adjustment factor; Or, determine a d value in a frequency hopping algorithm based on a d value adjustment factor; determine a channel used in a later sub-event of two adjacent sub-events based on a channel used in an earlier sub-event of the two adjacent sub-events and the d value.

2. The method of claim 1, wherein, Comply with one or more of the following: The communication method is applied to Bluetooth Low Energy (BLE); The communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band.

3. The method of claim 1, wherein, The frequency hopping step value of the frequency hopping algorithm is non-fixed, and the frequency hopping algorithm comprises a channel selection algorithm (CSA#2).

4. The method of claim 1, wherein, A random value adjustment factor in the frequency hopping algorithm is determined based on the first adjustment parameter using the following equation: wherein d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, d adj is a first adjustment parameter, and offset1 is a first preset offset.

5. The method of claim 1, wherein, The random value adjustment factor in the frequency hopping algorithm is determined based on the first adjustment parameter using the following equation: Wherein, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list the number of channels, d is a d value in the frequency hopping algorithm, d adj is a first adjustment parameter, and offset1 is a first preset offset.

6. The method of claim 4 or 5, wherein: The value of the first preset offset offset1 is 0 or 9.

7. The method of claim 4 or 5, wherein: The first adjustment parameter d adj is a value in the range [0, 8] and is a rational number.

8. The method of claim 7, wherein, The communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band. The first adjustment parameter d adj is 0.5 or 1 or 1.

5.

9. The method of claim 1, wherein, A random value adjustment factor in the frequency hopping algorithm is determined based on the first adjustment parameter using the following equation: d2 = N - 2 x d x d adj + 1; where d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, d is the d value in the frequency hopping algorithm, and d adj is the first adjustment parameter.

10. The method of claim 9, wherein: The first adjustment parameter d adj is a value in [1, 8] and is a rational number, and satisfies the following conditions: N - 2 x d x d adj ≥ 0.

11. The method of claim 10, wherein, The communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band. wherein the first adjustment parameter d adj is 1 or 1.5 or 2.

12. The method of claim 1, wherein, The channel used for a subsequent sub-event is determined based on the channel used for a previous sub-event in the adjacent two sub-events and a random value adjustment factor using the following equation: wherein a channel used for the current sub-event, channel used for the previous sub-event, d is the d value in the frequency hopping algorithm, floor() is a down-rounding operation, The random value is obtained by using a pseudo-random algorithm, d2 is the random value adjustment factor, N is the number of available channels contained in the current available channel list, max() is the maximum value operation, min() is the minimum value operation, and mod is the remainder operation.

13. The method of claim 1, wherein, The d-value adjustment factor is determined using the following equation: Wherein, dmultiplier is the d value adjustment factor, max() is the maximum value operation, floor() is the down rounding operation, N is the number of available channels contained in the current available channel list, and offset2 is the second preset offset.

14. The method of claim 1, wherein, The d-value adjustment factor is determined using the following equation: Wherein, dmultiplier is the d value adjustment factor, min() is the minimum value operation, max() is the maximum value operation, floor() is the down rounding operation, N is the number of available channels contained in the current available channel list, offset2 is the second preset offset, and U is the upper limit value of the preset value range of the d value adjustment factor dmultiplier.

15. The method of claim 14, wherein, The communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band. The value of U is 8.

16. The method according to claim 13 or 14, characterized in that The communication method is applied to Bluetooth Low Energy (BLE), and the communication method is applied to the 5GHz frequency band and / or the 6GHz frequency band. Wherein, the value of the second preset offset offset2 is 10.

17. The method of claim 1, wherein, The d value in the frequency hopping algorithm is determined based on the d value adjustment factor using the following equation: Wherein, d is the d value in the frequency hopping algorithm, max() is the maximum value operation, min() is the minimum value operation, N is the number of available channels contained in the current available channel list, dmultiplier is the d value adjustment factor, and floor() is the down rounding operation.

18. The method of claim 1, wherein, The channel used for the latter of the two adjacent sub-events is determined based on the channel used for the former of the two adjacent sub-events and the d-value adjustment factor using the following equation: wherein a channel used for the current sub-event, channel used for the previous sub-event, d is the d value in the frequency hopping algorithm, floor() is a down-rounding operation, N is the number of available channels contained in the current available channel list, and mod is a remainder operation.

19. A communications device, characterized by The method comprises the following steps: The first adjustment factor determination module is configured to determine a random value adjustment factor in the frequency hopping algorithm based on the first adjustment parameter; The first channel determination module is configured to determine a channel used by a subsequent sub-event in adjacent two sub-events based on a channel used by a previous sub-event in the adjacent two sub-events and the random value adjustment factor; or, The first d value determination module is configured to determine a d value in the frequency hopping algorithm based on the d value adjustment factor; The second channel determination module is configured to determine a channel used by a subsequent sub-event in adjacent two sub-events based on a channel used by a previous sub-event in the adjacent two sub-events and the d value.

20. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, causes the communication method of any one of claims 1 to 18 to be performed.

21. A terminal comprising a memory and a processor, said memory having stored thereon a computer program that is loadable into said internal memory of said processor, and said method comprising the steps of: - receiving said computer program from said memory, - loading said computer program into said internal memory of said processor, - executing said computer program loaded into said internal memory of said processor. The processor, when executing the computer program, performs the steps of the communication method of any one of claims 1 to 18.

22. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instructions, when executed by a processor, implement the steps of the communication method of any one of claims 1 to 18.

Citation Information

Patent Citations

  • Bluetooth information monitoring method and Bluetooth information monitoring system

    CN118659844A

  • Techniques for Generation of a Frequency Hopping Sequence

    US20160072548A1

  • Channel Hopping Sequence Generation with Variable Channel Width

    US20190387499A1

  • Pre-calculation of sub-event RF channel

    US20200260448A1