CN114022983A - Frequency hopping channel selection method and device, communication method and device and communication system - Google Patents

Frequency hopping channel selection method and device, communication method and device and communication system Download PDF

Info

Publication number
CN114022983A
CN114022983A CN202111502016.9A CN202111502016A CN114022983A CN 114022983 A CN114022983 A CN 114022983A CN 202111502016 A CN202111502016 A CN 202111502016A CN 114022983 A CN114022983 A CN 114022983A
Authority
CN
China
Prior art keywords
channel
frequency hopping
channel group
channels
receiving end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111502016.9A
Other languages
Chinese (zh)
Other versions
CN114022983B (en
Inventor
王泽卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111502016.9A priority Critical patent/CN114022983B/en
Publication of CN114022983A publication Critical patent/CN114022983A/en
Priority to PCT/CN2022/124376 priority patent/WO2023103573A1/en
Application granted granted Critical
Publication of CN114022983B publication Critical patent/CN114022983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0033Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0036Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a frequency hopping channel selection method and device, a communication method and device and a communication system, wherein the transmission power of the same first channel group is in the same preset range by acquiring first parameter information of a plurality of first channel groups in the working frequency range of a transmitting end; acquiring second parameter information of a plurality of second channel groups within a working frequency range of a receiving end, wherein the signal intensity attenuation of the same second channel group is in the same preset range; and selecting a target channel group according to the first parameter information and the second parameter information. And limiting the frequency hopping channel in the target channel group so as to reduce signal fluctuation when the subsequent transmitting end and the receiving end carry out communication interaction and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.

Description

Frequency hopping channel selection method and device, communication method and device and communication system
Technical Field
The present application relates to the field of bluetooth technologies, and in particular, to a method and an apparatus for selecting a frequency hopping channel, a method and an apparatus for communication, and a communication system.
Background
With the development of bluetooth technology, more and more bluetooth devices are applied, for example, in the related art, an automatic locking action or an unlocking action of a vehicle-mounted device may be implemented through bluetooth technology.
However, the bluetooth working mechanism adopts a conventional frequency hopping or adaptive frequency hopping manner, a target channel is defined for frequency hopping mainly according to the interfered degree of the channel, and the fluctuation problem caused by different gains and insertion losses of different frequency bands on hardware is not distinguished, so that the power flatness of the bluetooth power transmitted by a bluetooth transmitting end in the frequency hopping channel is insufficient, and finally the rssi (received Signal Strength indicator) of a Signal received by a receiving end fluctuates greatly, thereby affecting the experience of a user for switching on and off the vehicle lock.
Disclosure of Invention
The embodiment of the application provides a frequency hopping channel selection method and device, a communication method and device and a communication system, which can solve the problem of signal fluctuation during frequency hopping and improve user experience.
A method of frequency hopping channel selection, comprising:
acquiring first parameter information of a plurality of first channel groups in a working frequency range of a transmitting end, wherein the transmitting power of a plurality of channels in the same first channel group is in the same preset range;
acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, wherein the signal intensity attenuation of a plurality of channels in the same second channel group is in the same preset range;
and acquiring a target channel group according to the first parameter information and the second parameter information, wherein a channel of the target channel group is used as a frequency hopping channel when the transmitting terminal and the receiving terminal are in communication interaction.
A communication method is applied to a transmitting end and comprises the following steps:
generating frequency hopping sequence information frequency hopping information according to the target channel group obtained by the selection method;
when communication connection is established with a receiving end, the frequency hopping sequence information is sent to the receiving end, and communication interaction is carried out with the receiving end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group.
A communication method is applied to a receiving end and comprises the following steps:
generating frequency hopping sequence information according to the target channel group obtained by the selection method;
when communication connection is established with a transmitting terminal, the frequency hopping sequence information is sent to the receiving terminal, and communication interaction is carried out with the transmitting terminal according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group.
A frequency hopping channel selection apparatus comprising:
the device comprises a first information acquisition module, a second information acquisition module and a first transmission module, wherein the first information acquisition module is used for acquiring first parameter information of a plurality of first channel groups in a working frequency range of a transmitting terminal, and the transmitting power of a plurality of channels in the same first channel group is in the same preset range;
the second information acquisition module is used for acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, and the signal intensity attenuation quantities of a plurality of channels in the same second channel group are in the same preset range;
and the target channel acquisition module is used for acquiring a target channel group according to the first parameter information and the second parameter information, wherein a channel of the target channel group is used as a frequency hopping channel when the transmitting terminal and the receiving terminal are in communication interaction.
A communication apparatus, applied to a transmitting end, comprising:
a first sequence generating module, configured to generate frequency hopping sequence information according to the target channel group obtained by the selecting device;
the first interaction module is used for sending the frequency hopping sequence information to a receiving end when communication connection is established with the receiving end, and carrying out communication interaction with the receiving end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group.
A communication device is applied to a receiving end and comprises:
a second sequence generating module, configured to generate frequency hopping sequence information according to the target channel group obtained by the selecting device;
the second interaction module is used for sending the frequency hopping sequence information to the receiving end when the communication connection with the transmitting end is established, and carrying out communication interaction with the transmitting end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group.
A communication system, comprising:
a transmitting end;
a receiving end; and
a selection device as described above.
A communication system, comprising:
a transmitting end;
a receiving end; and
a communication device as described above.
According to the frequency hopping channel selection method and device, the communication method and device and the communication system, through acquiring the first parameter information of a plurality of first channel groups in the working frequency range of the transmitting terminal, the transmitting powers of a plurality of channels in the same first channel group are in the same preset range; acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, wherein the signal intensity attenuation of a plurality of channels in the same second channel group is in the same preset range; and acquiring a target channel group according to the first parameter information and the second parameter information, selecting a plurality of channels with better curve flatness of the transmission power changing along with the frequency band in the transmitting end as the target channel group of the transmitting end, correspondingly selecting a plurality of channels with higher curve flatness of the signal intensity attenuation changing along with the frequency band in the receiving end as the target channel group of the receiving end, and simultaneously ensuring that the channel frequency bands of the target channel group of the transmitting end and the target channel group of the receiving end are the same. And limiting the frequency hopping channel in the target channel group so as to reduce signal fluctuation when the subsequent transmitting end and the receiving end carry out communication interaction and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary embodiment of a frequency hopping channel selection method;
fig. 2 is a block diagram of a terminal device of an embodiment;
FIG. 3 is one of the flow diagrams of a frequency hopping channel selection method in one embodiment;
FIG. 4 is a graph of channel transmit power as a function of frequency band for one embodiment;
FIG. 5 is a graph of channel signal strength attenuation versus frequency band for one embodiment;
FIG. 6 is a flow diagram of step 206 in one embodiment;
FIG. 7 is a diagram of channels for frequency band intersection in one embodiment;
FIG. 8 is a flow diagram of step 304 in one embodiment;
FIG. 9 is a flow diagram of step 206 in one embodiment;
FIG. 10 is a normal distribution diagram in one embodiment;
FIG. 11 is a flow diagram of step 502 in one embodiment;
FIG. 12 is a second flowchart of a method for frequency hopping channel selection in one embodiment;
FIG. 13 is one of a flow chart of a communication method in one embodiment;
FIG. 14 is a flowchart of step 804 in one embodiment;
FIG. 15 is a second flowchart of a communication method according to an embodiment;
FIG. 16 is a flowchart of step 804 in one embodiment;
FIG. 17 is a block diagram of an exemplary embodiment of a device for selecting a hopping channel;
FIG. 18 is a second block diagram illustrating the structure of a hopping channel selection apparatus according to an embodiment;
FIG. 19 is one of block diagrams illustrating the structure of a communication apparatus according to an embodiment;
fig. 20 is a second block diagram of the communication apparatus according to the embodiment;
FIG. 21 is one of the block diagrams of the architecture of the communication system of an embodiment;
fig. 22 is a second block diagram of the communication system according to the embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
Fig. 1 is a diagram illustrating an application environment of a frequency hopping channel selection method according to an embodiment. As shown in fig. 1, the application environment includes a transmitting end 110, a receiving end 120 and a terminal 100. The execution body of the frequency hopping channel selection method may be the transmitting end 110, the receiving end 120, or the terminal 100. The terminal 100 may be the transmitting end 110 or the receiving end 120, or may be a third end other than the transmitting end 110 and the receiving end 120.
The transmitting end 110, the receiving end 120, and the terminal 100 may be any terminal devices such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a PDA (Personal Digital Assistant), a vehicle-mounted device, a POS (Point of Sales), and a wearable device (fig. 1 shows that the transmitting end 110 and the terminal 100 are mobile phones, and the receiving end 120 is a vehicle-mounted device). Alternatively, as shown in fig. 2, the terminal device may include: radio Frequency (RF) circuit 101, memory 102, input unit 103, display unit 104, bluetooth module 105, audio circuit 106, wireless fidelity (WIFI) module 107, processor 108, and power supply 109, and those skilled in the art will appreciate that the terminal device structure shown in fig. 2 is not a limitation of the terminal device, and may include more or less components than those shown, or may combine some components, or may arrange different components. Wherein bluetooth module 105 supports bluetooth functionality. The bluetooth technology is a radio technology supporting short-distance communication of devices, and can perform wireless information interaction among various wireless terminal devices including smart phones, personal computers, notebook computers, tablet computers, portable wearable devices, vehicle-mounted devices, wireless earphones, wireless sound boxes and the like.
When the transmitting end 110 and the receiving end 120 establish a communication connection, communication interaction is performed on a frequency hopping channel. Alternatively, the communication interaction may be a bluetooth communication interaction. Optionally, the transmitting end 110 is a mobile phone, the transmitting end 110 is a bluetooth key, the receiving end 120 is a vehicle-mounted device, and when the transmitting end 110 and the receiving end 120 establish a bluetooth communication connection, the transmitting end 110 sends first data to the receiving end 120 on a frequency hopping channel, obtains second data fed back by the receiving end 120, obtains a signal strength value according to the second data, and feeds back the signal strength value to the receiving end 120; the receiving end 120 feeds back the second data to the transmitting end 110 according to the first data, receives the signal strength value fed back by the transmitting end 110, and performs a locking action or an unlocking action according to the signal strength value and a preset threshold. The first data and the second data are radio frequency data negotiated between the transmitting end 110 and the receiving end 120.
Fig. 3 is a flow diagram of a method for frequency hopping channel selection in one embodiment. As shown in fig. 3, the frequency hopping channel selection method includes steps 202 to 206.
Step 202, acquiring first parameter information of a plurality of first channel groups within a working frequency range of a transmitting terminal, wherein the transmitting powers of a plurality of channels in the same first channel group are in the same preset range.
The working frequency range of the transmitting end may specifically be a 2400Mhz-2480Mhz frequency range specified by a standard bluetooth protocol, or may also be a frequency range of a certain interval within the standard bluetooth protocol frequency range, for example, may be a frequency range of 2.410GHz-2.460 GHz. According to the working frequency range of the transmitting terminal and the preset step width of the channel, the working frequency range of the transmitting terminal can be divided into a plurality of channels.
Optionally, the channels may be numbered after the plurality of channels are divided, and further optionally, the number is a consecutive number, and the consecutive number includes an initial number and a termination number. For example, with 1Mhz as a step, the whole working frequency band of the transmitting end may be divided into 80 channels, and if the 80 channels are coded, the coding may be 0, 1, 2 … …, 79 correspondingly; the whole working frequency band of the transmitting end is divided into 40 channels by taking 2Mhz as a step, and if the 40 channels are coded, the coding can be 0, 1, 2 … … and 39 correspondingly. After the channel is numbered, the relationship between the channel number and the channel frequency can be represented by the following formula: f ═ f0+ K × n; wherein f is0Is the frequency starting point (unit: Mhz) of the working frequency range, f is the channel frequency (unit: Mhz), K is the number, and n is the step when dividing the channel. Taking the channel number of 0-39 and the frequency starting point of 2402Mhz as an example, the relationship between the number and the frequency can be expressed by the following formula: 2402+ K2.
Theoretically, the curves of the transmission power of multiple channels varying with the frequency band within the operating frequency band of the transmitting end should appear as a relatively flat line, however, actually, the curves of the transmission power of the channels varying with the frequency band are not flat enough due to the difference of the gain and the insertion loss of different frequency bands on the hardware of the transmitting end (please refer to fig. 4 for assistance). In order to distinguish the problem of transmission power fluctuation caused by different gains and insertion loss of different frequency bands on hardware, a plurality of channels in the working frequency band range of a transmitting end are divided into a plurality of first channel groups, so that the transmission power of each channel of each first channel group is in the same preset range, and the fluctuation difference value of the transmission power of the channels in the same first channel group is smaller; the preset ranges corresponding to different first channel groups are different. It should be noted that the relevant step of dividing the multiple channels within the working frequency range of the transmitting end into multiple first channel groups may be performed by the transmitting end, and the transmitting end groups the channels and stores the grouped information for the step 202 to obtain; in other embodiments, the correlation step may be performed by other execution entities. It should be noted that, if a plurality of preset ranges corresponding to a plurality of first channel groups are all close, the number of the first channel groups may also be one.
The preset range of the transmission power may include an upper threshold and a lower threshold, and optionally, a difference between the upper threshold and the lower threshold of each preset range of the transmission power may be a range approaching zero or equal to zero, and when the difference approaches zero, the transmission powers of the plurality of channels in the preset range are approximately equal.
Alternatively, the total preset range of the plurality of transmission powers corresponding to the plurality of different first channel groups may be a continuous range value. Taking the number of the first channel groups as 4 as an example, as shown in fig. 4 (fig. 4 takes an operating frequency band range as 2402Mhz-2480Mhz as an example), a plurality of channels in the frequency band range 2402Mhz-2480Mhz are divided into 4 first channel groups, and the transmission power of the plurality of channels in each first channel group is in the same preset range: the 4 first channel groups are respectively an A1 channel group, a B1 channel group, a C1 channel group and a D1 channel group, and the corresponding preset ranges of the transmitting power are respectively a1-B1, B1-C1, C1-D1 and D1-e 1.
The number of the first channel groups can be adjusted according to the fluctuation reduction requirements of different channel signals, and when the number of the channel groups is divided more, the flatness of the transmission power curves of the channels in the same first channel group is higher (the transmission power of the channels in the same first channel group is more approximate to equal, and the fluctuation is smaller). Due to the inconsistency and randomness in hardware design, the number of channels in the same channel group may be the same or different, for example, as shown in fig. 4, the flatness of the B1 channel group and the C1 channel group near the middle frequency of 2441MHz is better, the number of channels in the channel group is higher, and the flatness of the a1 channel group and the D1 channel group at the edge is worse, so the number of channels in the channel group is less.
The first parameter information includes frequency band information of each channel in the plurality of first channel groups and transmission power information of each channel, and therefore the first parameter information can embody a frequency band corresponding to each channel in each first channel group in the transmitting end and transmission power of each channel when the signal is transmitted.
Step 204, obtaining second parameter information of a plurality of second channel groups within the working frequency range of the receiving end, wherein the signal intensity attenuation amounts of a plurality of channels in the same second channel group are in the same preset range.
The working frequency range of the receiving end is the same as that of the transmitting end, and meanwhile, the number of channels and the number of channel codes in the working frequency range of the receiving end are the same as those of the channels and the number of channel codes in the working frequency range of the transmitting end. For example, when the operating frequency band of the transmitting end is divided into 40 channels, the number of the channels of the receiving end is also 40, and the codes of the channels are also 0, 1, 2 … …, and 39, respectively.
The signal strength attenuation refers to the loss of the signal at the receiving end from the antenna end to the link where the signal is demodulated. Theoretically, the signal strength attenuation curve of a plurality of channels within the working frequency band of the receiving end should be a relatively flat line, however, actually, since the gain and insertion loss of the link from the antenna end to the demodulated signal are different when the receiving end receives the signal, the signal strength attenuation curve is not flat enough (please refer to fig. 5), and appears fluctuant. Therefore, the variation curve of the transmission power of the transmitting end and the loss of the receiving link of the receiving end along with the working frequency band is uneven, so that the RSSI (received signal strength indicator) of the signal received by the receiving end fluctuates greatly.
In order to distinguish the problem of fluctuation of signal intensity attenuation quantity caused by different gains and insertion loss of different frequency bands on hardware, a plurality of channels in the working frequency band range of a receiving end are divided into a plurality of second channel groups, so that the signal intensity attenuation quantity of each channel of each second channel group is in the same preset range, and the fluctuation difference value of the signal intensity attenuation quantity of the plurality of channels in the same second channel group is smaller; the preset ranges corresponding to different second channel groups are different. The signal intensity attenuation range of the plurality of channels in the receiving end working frequency range and the transmission power range of the plurality of channels in the transmitting end working frequency range are in direct proportion on the general trend. The preset ranges of the plurality of signal strength attenuation amounts corresponding to the plurality of second channel groups of the receiving end may be divided according to the division ratio of the preset ranges of the plurality of transmitting powers of the transmitting end. It should be noted that the steps related to dividing the multiple channels within the working frequency range of the receiving end into multiple second channel groups may be executed by the receiving end, and the receiving end groups the channels and stores the grouped information for the step 204 to obtain; in other embodiments, the correlation step may be performed by other execution entities. It should be noted that, if a plurality of preset ranges corresponding to a plurality of second channel groups are all close, the number of the second channel groups may also be one.
The preset range of the signal strength attenuation amount may include an upper threshold and a lower threshold, and optionally, a difference between the upper threshold and the lower threshold of each preset range of the signal strength attenuation amount may be a range approaching zero or equal to zero, and when the difference approaches zero, the signal strength attenuation amounts of the plurality of channels in the preset range are approximately equal.
Optionally, the preset ranges of the plurality of signal strength attenuation amounts corresponding to the plurality of second channel groups are continuous range values. In order to improve the efficiency of frequency hopping channel acquisition, the plurality of second channel groups correspond to the plurality of first channel groups one to one. As shown in fig. 5 (fig. 5 takes an operating frequency band range of 2402Mhz-2480Mhz as an example), a plurality of channels in the operating frequency band range of 2402Mhz-2480Mhz are divided into 4 second channel groups, and the signal strength attenuation of the plurality of channels in each second channel group is within a preset range of the same level: the 4 first channel groups are respectively an A2 channel group, a B2 channel group, a C2 channel group and a D2 channel group, and the preset ranges of the corresponding signal intensity attenuation amounts are respectively a2-B2, B2-C2, C2-D2 and D2-e 2.
The number of the second channel groups can be adjusted according to the fluctuation reduction requirements of different channel signals, when the number of the channel groups is divided more (the number of the corresponding signal intensity attenuation preset ranges is larger), the number of the channels in each channel group is smaller, and the flatness of the signal intensity attenuation of the channels in the same second channel group along with the frequency band change curve is higher (the signal intensity attenuation of the channels in the same second channel group is more approximate to be equal, and the fluctuation is smaller). The number of channels in the same channel group may be the same or different due to hardware design inconsistencies and randomness.
The second parameter information includes frequency band information of each channel in the plurality of second channel groups and signal strength attenuation information of each channel, and thus, the second parameter information can embody a frequency band corresponding to each channel in each second channel group in the receiving end and a signal strength attenuation amount when each channel receives a signal.
And step 206, acquiring a target channel group according to the first parameter information and the second parameter information, wherein a channel of the target channel group is used as a frequency hopping channel when the transmitting terminal and the receiving terminal are in communication interaction.
The channel of the target channel group is used as a frequency hopping channel of the transmitting end and the receiving end during communication interaction, and means that the transmitting end and the receiving end only use a frequency hopping technology to transmit/receive signals in a plurality of channels in the target channel group of each end during communication, the target channel group of the transmitting end and the target channel group of the receiving end correspond to the same frequency band, and the frequency point of the frequency hopping channel of the transmitting end and the frequency point of the frequency hopping channel of the receiving end correspond to the same frequency band in the same interaction time slot. Specifically, the target channel group includes a transmitting end target channel group and a receiving end target channel group, the number of the transmitting end target channel groups is the same as that of the receiving end target channel groups, and the frequency band of the channel in the transmitting end target channel group is the same as that of the channel in the receiving end target channel group. Taking 1 target channel group at the transmitting end and the frequency band corresponding to the target channel group at the transmitting end as 2430Mhz-2450Mhz frequency band as an example, correspondingly, the number of the target channel groups at the receiving end is also 1, and the frequency band corresponding to the target channel group at the receiving end is also 2430Mhz-2450Mhz frequency band. If the codes of the channels in the target channel set at the transmitting end are 12, 18, and 21, for example, then correspondingly, the codes of the channels in the target channel set at the receiving end are also 12, 18, and 21.
According to the first parameter information and the second parameter information, a plurality of channels with good curve flatness of the transmission power changing along with the frequency range in the transmitting end can be selected as a transmitting end target channel group, a plurality of channels with high curve flatness of the signal intensity attenuation changing along with the frequency range in the receiving end can be correspondingly selected as a receiving end target channel group, and meanwhile, the channel frequency ranges of the transmitting end target channel group and the receiving end target channel group are ensured to be the same. And limiting the frequency hopping channel in the target channel group so as to reduce signal fluctuation when the subsequent transmitting end and the receiving end carry out communication interaction and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
In some embodiments, the plurality of first channel groups corresponds to the plurality of second channel groups one to one, wherein: the frequency range of the collection of all channels contained in the first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the collection of all the channels contained in the plurality of second channel groups is equal to the working frequency range of the receiving end. The first parameter information comprises first frequency band information of each channel in each first channel group, and the second parameter information comprises second frequency band information of each channel in each second channel group; as shown in fig. 6, step 206 includes:
step 302: and acquiring a frequency range intersection of each channel group pair according to the first frequency range information and the second frequency range information, wherein each channel group pair comprises a first channel group and a corresponding second channel group.
The one-to-one correspondence between the plurality of first channel groups and the plurality of second channel groups means that each first channel group corresponds to one second channel group, and optionally, the preset range of the transmission power of each first channel group and the preset range of the signal intensity attenuation of the corresponding second channel group are divided according to the same proportional relationship. The plurality of channels with the frequency range intersection refers to a set of channels with the same frequency points between the first channel group and the corresponding second channel group in each channel group pair.
Step 304: and determining the alternative channel group according to the frequency band intersection of each channel group pair.
The candidate channel group comprises a channel set of a first channel group and a channel set of a corresponding second channel group, and the numbers of a plurality of channels of the channel set of the first channel group are correspondingly the same as the numbers of a plurality of channels of the channel set of the corresponding second channel group.
The grouping situation in the embodiments of fig. 4 and 5 is taken as an example for explanation: the plurality of first channel groups at the transmitting end are { A1, B1, C1 and D1}, and the preset ranges of the transmitting power corresponding to each first channel group are a1-B1, B1-C1, C1-D1 and D1-e1 respectively. The plurality of second channel groups at the receiving end are { A2, B2, C2, D2}, and the preset ranges of the transmitting power corresponding to each second channel group are a2-B2, B2-C2, C2-D2 and D2-e2 respectively. The channel groups A, B and D are divided into a2-B2, a 2-C2, a 2-D2 and a 2-e2, a1-B1, a 1-C1, a 1-D1 and a 1-e1 according to the same proportional relation, and the first channel groups A1, B1, C1 and D1 are respectively in one-to-one correspondence with the second channel groups A2, B2, C2 and D2. Obtaining a plurality of channels with frequency intersection according to a plurality of first frequency band information of the first channel group and a plurality of second frequency band information of the corresponding second channel group, namely, obtaining channels with the same frequency points in the A1 channel group and the A2 channel group by intersecting the A1 channel group and the A2 channel group, obtaining channels with the same frequency points in the B1 channel group and the B2 channel group by intersecting the B1 channel group and the B2 channel group, obtaining channels with the same frequency points in the B1 channel group and the B2 channel group by intersecting the C1 channel group and the C2 channel group, obtaining channels with the same frequency points in the C1 channel group and the C2 channel group by intersecting the D1 channel group and the D2 to obtain channels with the same frequency points in the D1 channel group and the D2 channel group, and finally obtaining four channel sets A3, B3, C3 and D3 by corresponding respectively, and taking A3, B3, C3 and D3 as alternative channel sets.
Further explaining by taking the example that intersection is obtained between the C1 channel group and the C2 channel group to obtain channels with the same frequency points in the C1 channel group and the C2 channel group, as shown in fig. 7, by obtaining the intersection, multiple channels corresponding to frequency band intersection on frequency bands f1-f2, f3-f4, f5-f6, frequency bands f1-f2, f3-f4, and f5-f6 are channels 6-9, channels 16-19, and channels 29-32, respectively, so that the channel set between the C1 channel group and the C2 channel group is channels 6-9, channels 16-19, and channels 29-32, and the number of channels is 12.
Step 306: and determining a target channel group according to the channel number of each alternative channel group.
The target channel group may be one or more channel sets that can be used for frequency hopping, and a total number of channels of the one or more channel sets that can be used for frequency hopping is greater than or equal to a preset total number of channels.
Optionally, step 304 specifically includes: selecting at least one of the plurality of candidate channel groups as a target channel group; and the total number of channels of all the target channel groups is greater than the preset total number of channels, and the number of channels of each target channel group is greater than or equal to the number of channels of each unselected alternative channel group. Specifically, the channel number of each candidate channel group is obtained, and the target channel groups are sequentially selected from at least according to the channel number until the data of one or more target channel groups is greater than or equal to the total number of preset channels.
The total number of the preset channels is set according to the frequency hopping number required for communication interaction between the transmitting end and the receiving end, or may also be set according to the frequency hopping number of the national or regional bluetooth communication standard, for example, the minimum channel number of the european standard is 18, and the minimum channel number of the U.S. standard is 20.
Taking the embodiment of fig. 7 as an example, for example, the total number of preset channels is 12, if the candidate channel group with the largest number of channels is the channel set between the C1 channel group and the C2 channel group (channels 6-9, channels 16-19, channels 29-32, and the number of channels is 12), since the number of channels of one candidate channel group is equal to the total number of preset channels, the channel set between the C1 channel group and the C2 channel group is taken as the target channel group. When the transmitting end and the receiving end are in communication interaction, the transmitting end sends signals to the receiving end on the channels 6-9, 16-19 and 29-32 according to the frequency hopping sequence, and the receiving end receives signals on the channels 6-9, 16-19 and 29-32 according to the same frequency hopping sequence, so that the communication interaction is realized.
Further optionally, as shown in fig. 8, step 306 comprises:
step 402: and performing descending order on the plurality of alternative channel groups according to the number of the channels of each alternative channel group.
The descending order is to order a plurality of candidate channel groups according to the number of channels. By descending order, the channel set with a large number of channels can be rapidly selected.
Step 404: and sequentially selecting the alternative channel groups as the target channel groups according to the descending order until the total number of the channels of the target channel groups is greater than or equal to the preset total number of the channels.
The alternative channel groups are sequentially selected according to the descending order, that is, one or more target channel groups can be quickly selected from the alternative channel groups with a large number of channels, so that the total number of the selected one or more target channel groups is larger than or equal to the total number of the preset channels, and the frequency hopping requirement of communication interaction between the transmitting terminal and the receiving terminal is met.
Further optionally, step 306 further comprises:
step 406: and if the total number of the channels of the multiple alternative channel groups is less than the total number of the preset channels, selecting the multiple channels within the preset target frequency range as the target channel group.
The preset target frequency range includes a preset alternative frequency hopping frequency band and may also include a frequency band in which the channel set is located. For example, the applicant finds, through creative work, that in a normal case, the channel flatness near the middle frequency 2441MHz is better, and the channel flatness of the edge frequency band is generally worse, so that a frequency band range near the middle frequency 2441MHz may be selected as the alternative frequency hopping band, for example, a frequency band range from 2420MHz to 2450MHz is preset as the alternative frequency band range.
Through step 406, it can be ensured that the total number of the selected target channel group meets the frequency hopping requirement of the communication interaction between the transmitting end and the receiving end, and the normal proceeding of the subsequent interaction is ensured.
Optionally, step 206 further comprises:
step 408: and if the plurality of frequency band intersections have empty sets and the number of the empty sets meets a preset condition, selecting a plurality of channels within a preset target frequency band range as a target channel group.
The preset condition may be that the number of the null sets is greater than a preset threshold, or that a ratio of the number of the null sets to the total number of the frequency band intersections is greater than a preset percentage. If there are empty sets in the multiple frequency band intersections and the number of the empty sets meets the preset condition, it can be determined that the total number of channels in the channel set selected in the current frequency band intersection is less than the preset total number of channels, and therefore, multiple channels within the preset target frequency band range are selected as the target channel group. The preset target frequency range refers to the relevant description in the above embodiment, and is not described herein again.
Through step 408, it can be ensured that the total number of the selected target channel group meets the frequency hopping requirement of the communication interaction between the transmitting end and the receiving end, and the normal proceeding of the subsequent interaction is ensured.
In some embodiments, the plurality of first channel groups corresponds to the plurality of second channel groups one to one, wherein: the frequency range of the collection of all channels contained in the first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the collection of all the channels contained in the plurality of second channel groups is equal to the working frequency range of the receiving end. The first parameter information comprises the transmission power information of each channel in each first channel group, and the second parameter information comprises the signal strength attenuation information of each channel in each second channel group; as shown in fig. 9, step 206 includes:
step 502: and acquiring the signal intensity information of the same channel in each channel group pair according to the transmitting power information and the signal intensity attenuation information.
For a description of the one-to-one correspondence relationship between the plurality of first channel groups and the plurality of second channel groups, reference may be made to the related description in the foregoing embodiments, and details are not repeated here.
Wherein the transmission power information includes a transmission power value of the channels in each first channel group; the signal strength attenuation information includes an attenuation amount on a link from the antenna end to the demodulated signal when the channel in each second channel group receives the signal. The signal strength information of the same channel in each channel group pair can be obtained through the transmission power information and the signal strength attenuation information, and specifically, the signal strength information is a difference value between a transmission power value and an attenuation amount of the same channel, that is, a strength value of a signal that can be received by a receiving end.
Step 504: and acquiring probability distribution corresponding to each channel group according to the signal intensity information, and selecting a plurality of channels corresponding to the signal intensity information distributed in a preset probability range in each probability distribution as a target channel group.
The probability of different signal strength information in each channel group can be calculated and obtained according to the signal strength information, and the greater the probability of the signal strength information with the same value is, the higher the flatness of the transmission power of a plurality of target channels corresponding to the signal strength information with the same value along with the frequency band change curve is, and the higher the flatness of the signal strength attenuation along with the frequency band change curve is. Therefore, by presetting the probability range and selecting a plurality of channels corresponding to the signal strength information distributed in the preset probability range as the target channel group, the problem of fluctuation caused by different gains and insertion loss of different frequency bands on hardware can be solved.
Optionally, the probability distribution is normal distribution, each normal distribution takes a plurality of channels of each channel group as sample points, each sample point corresponds to one signal strength information data, and each normal distribution may include a plurality of discrete points and/or a plurality of continuous points since the plurality of channels in each channel group may include continuously numbered channels and/or discontinuously numbered channels.
Alternatively, a coordinate origin may be set, a horizontal axis represents a numerical value of the signal strength information of each channel in the same channel group, a scale of the horizontal axis may determine a mean value of a plurality of signal strength information, a position of the mean value is calibrated, a scale interval is described according to the coordinate origin and the mean value position, a vertical axis represents the number of times of occurrence corresponding to each signal strength information, and the signal strength information of all channels in the same channel group is mapped to a coordinate system to obtain a normal distribution graph. When the normal distribution graph includes a plurality of discrete points, the normal distribution graph may be subjected to a serialization process by a conventional technical means.
As shown in FIG. 10 (FIG. 10 shows only the correlation between the basic parameters μ and σ ^2 in the normal distribution), from the continuous normal distribution, the basic parameters μ and σ ^2 in the normal distribution can be determined. The parameter μ is the mean of the random variables that follow a normal distribution, the parameter σ ^2 is the variance of the random variables, and the normal distribution for each channel group is denoted as N (μ, σ ^ 2). In the normal curve, the area in the horizontal axis section (μ - σ, μ + σ) was 68.27%, the area in the horizontal axis section (μ -2 σ, μ +2 σ) was 95.44%, and the area in the horizontal axis section [0, μ +2 σ ] was 97.72%. Wherein the probability that the signal strength information adjacent to μ appears in the same channel group is large, and the probability that the signal strength information farther away from μ is smaller. By presetting an expected probability value n%, the signal intensity information of which the distribution probability is within n% can be selected, and then a plurality of corresponding target channels are obtained. When the probability of the signal strength information with the same value is higher, the probability of the corresponding transmission power and the signal attenuation with the same value is higher, the flatness of the corresponding transmission power of the obtained multiple corresponding target channels along with the frequency band change curve is higher, meanwhile, the flatness of the signal strength attenuation along with the frequency band change curve is higher, and the problem of fluctuation caused by different gains and insertion loss of different frequency bands on hardware can be solved.
Optionally, the first parameter information includes first frequency band information of each channel in each first channel group, and the second parameter information includes second frequency band information of each channel in each second channel group; as shown in fig. 11, step 502 includes:
step 602: and acquiring the frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information.
For a description of the first frequency band information, the second frequency band information, and the frequency band intersection, please refer to the above embodiments, which is not described herein again.
Step 604: and acquiring the transmitting power information and the signal intensity attenuation information corresponding to the same channel in each channel group pair according to the frequency band intersection of each channel group pair.
Specifically, after the frequency band intersection of each channel group pair is obtained in step 602, the transmission power information and the signal strength attenuation information corresponding to the same frequency band are selected from the multiple transmission power information and the multiple signal strength attenuation information of each channel group pair according to the frequency band information of the frequency band intersection, so as to obtain the transmission power information and the signal strength attenuation information corresponding to the same channel in each channel group pair.
Step 606: and acquiring the signal intensity information of the same channel according to the transmitting power information and the signal intensity attenuation information corresponding to the same channel.
Specifically, the signal strength information of the same channel is obtained by performing difference operation on the transmission power information and the signal strength attenuation information corresponding to the same channel.
Optionally, as shown in fig. 12, on the basis of the foregoing embodiment, the method for selecting a frequency hopping channel further includes:
step 702: and acquiring the transmitting power of all channels in the working frequency range of the transmitting end.
Step 704: and grouping all channels in the working frequency range of the transmitting end according to the transmitting power of all channels to obtain a plurality of first channel groups.
Step 706: and acquiring the signal intensity attenuation of all channels in the working frequency range of the receiving end.
Step 708: and grouping all channels within the working frequency range of the receiving end according to the signal intensity attenuation of all channels to obtain a plurality of second channel groups.
The transmission power and the signal strength attenuation may be obtained through historical stored data, or may be obtained through testing or calculation, for example, the signal strength attenuation may be obtained through calculation according to the environment information of the receiving link at the receiving end.
When the transmitting power of all channels in the working frequency range of the transmitting end is relatively close, the number of the first channel group can be one; when the signal intensity attenuation amounts of all the channels in the working frequency range of the receiving end are relatively close, the number of the second channel group can also be one.
The signal intensity attenuation range of the plurality of channels in the receiving end working frequency range and the transmission power range of the plurality of channels in the transmitting end working frequency range are in direct proportion on the general trend. The preset ranges of the plurality of signal strength attenuation amounts corresponding to the plurality of second channel groups of the receiving end may be divided according to the division ratio of the preset ranges of the plurality of transmitting powers of the transmitting end.
The multiple channels in the working frequency range of the transmitting end are divided into multiple first channel groups, so that the transmitting power of each channel of each first channel group can be in the same preset range, the fluctuation difference of the transmitting power of the multiple channels in the same first channel group is small, and the problem of transmitting power fluctuation caused by different gains and insertion loss of different frequency bands on transmitting end hardware can be solved; the plurality of channels in the working frequency range of the receiving end are divided into the plurality of second channel groups, so that the signal intensity attenuation of each channel of each second channel group is in the same preset range, the fluctuation difference value of the signal intensity attenuation of the plurality of channels in the same second channel group is small, and the problem of fluctuation of the signal intensity attenuation caused by different gains and insertion loss of different frequency bands on receiving end hardware can be solved.
Optionally, on the basis of the foregoing embodiment, the frequency hopping channel selecting method further includes:
step 710: and acquiring a critical channel between two adjacent channel groups in the target channel group, and taking the critical channel as an isolation channel to isolate channels in different channel groups.
When the transmitting end and the receiving end carry out communication interaction, the situation that frequency hopping is carried out to other non-target channel groups by mistake when frequency hopping is carried out in a target channel group is possible, therefore, by acquiring a critical channel between two adjacent channel groups in the target channel group and identifying the critical channel as an isolation channel, channels in different channel groups are isolated, the situation that frequency hopping is carried out to other non-target channel groups by mistake is avoided, the anti-interference performance of communication interaction is improved, and the interaction efficiency is improved.
In the frequency hopping channel selection method in this embodiment, by acquiring first parameter information of a plurality of first channel groups within a working frequency range of a transmitting end, transmission powers of a plurality of channels in the same first channel group are in the same preset range; acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, wherein the signal intensity attenuation of a plurality of channels in the same second channel group is in the same preset range; and acquiring a target channel group according to the first parameter information and the second parameter information, selecting a plurality of channels with better curve flatness of the transmission power changing along with the frequency band in the transmitting end as the target channel group of the transmitting end, correspondingly selecting a plurality of channels with higher curve flatness of the signal intensity attenuation changing along with the frequency band in the receiving end as the target channel group of the receiving end, and simultaneously ensuring that the channel frequency bands of the target channel group of the transmitting end and the target channel group of the receiving end are the same. And limiting the frequency hopping channel in the target channel group so as to reduce signal fluctuation when the subsequent transmitting end and the receiving end carry out communication interaction and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Fig. 13 is a flow diagram of a communication method in one embodiment. The communication method of the present embodiment is applied to a transmitting end, and for the related description of the transmitting end and the receiving end in the present embodiment, reference is made to the above embodiments, which are not repeated herein. As shown in fig. 13, the communication method includes steps 802 to 804.
Step 802: the hopping sequence information is generated according to the target channel group acquired by the selection method as in the above embodiment.
Step 804: and when the communication connection is established with the receiving end, the frequency hopping sequence information is sent to the receiving end, and the communication interaction is carried out with the receiving end according to the frequency hopping sequence information.
The frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group. Optionally, the frequency hopping sequence information includes frequency hopping channel information and frequency hopping sequence information, where the frequency hopping sequence information is used to instruct the receiving end to perform frequency hopping interaction on the channels of the target channel group according to the frequency hopping sequence information. Alternatively, the hopping sequence information may be a hopping table.
When the transmitting terminal establishes communication connection with the receiving terminal, frequency hopping sequence information is generated according to the related information of the target channel group to be sent to the receiving terminal, and communication interaction is carried out with the receiving terminal on the corresponding frequency hopping channel according to the frequency hopping sequence information. Specifically, the transmitting end transmits signals on corresponding frequency hopping channels according to the frequency hopping sequence, and the receiving end receives the signals on the corresponding frequency hopping channels according to the frequency hopping sequence after receiving the frequency hopping sequence information. In the communication interaction process between the transmitting end and the receiving end, the frequency hopping channel is limited in the target channel group, so that the fluctuation of signals can be reduced, and the interaction accuracy is improved. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved. In addition, other devices which do not receive the frequency hopping sequence information cannot obtain the frequency hopping channel sequence, so that the channel selected by frequency hopping cannot be determined when data are received, signals sent by the transmitting terminal cannot be received, and the data security of the Bluetooth frequency hopping communication technology is improved.
Optionally, as shown in fig. 14, performing communication interaction with the receiving end according to the hopping sequence information includes:
step 902: and sending first data to the receiving end on the frequency hopping channel according to the frequency hopping sequence information, and receiving second data fed back by the receiving end.
Step 904: and acquiring a signal strength value according to the second data, and sending the signal strength value to the receiving end so that the receiving end executes locking action or unlocking action according to the signal strength value and a preset threshold value.
The first data and the second data are radio frequency data negotiated during Bluetooth communication between the transmitting end and the receiving end. Optionally, the receiving end is a vehicle-mounted device, and the transmitting end is a mobile electronic device. The RSSI value is inversely proportional to the distance under the condition of no interference, the closer the distance between the transmitting end and the receiving end is, the larger the RSSI value is, otherwise, the smaller the RSSI value is, and therefore, the RSSI value can be used for judging the distance between the transmitting end and the receiving end. The preset threshold value of the signal strength corresponds to the preset distance value, so that the vehicle-mounted equipment can obtain the actual distance from the mobile electronic equipment according to the signal strength value, and the locking action or the unlocking action is executed according to the comparison result of the actual distance and the preset threshold value. The mapping relationship between the RSSI value and the distance may refer to the prior art, and is not described herein again. Optionally, when the RSSI value is greater than the unlocking threshold, performing an unlocking action; and when the RSSI value is smaller than the locking threshold value, executing locking action.
In the communication interaction process of the transmitting end and the receiving end, the frequency hopping channel is limited in the target channel group, so that signal fluctuation can be reduced, the accuracy of signal strength value RSSI ranging is improved, and the unlocking experience of a user can be improved.
Fig. 15 is a flow diagram of a communication method in one embodiment. The communication method of the present embodiment is applied to a receiving end, and for the related description of the transmitting end and the receiving end in the present embodiment, reference is made to the above embodiments, which are not repeated herein. As shown in fig. 15, the communication method includes steps 112 to 114.
Step 112: the hopping sequence information is generated according to the target channel group acquired by the selection method as in the above embodiment.
Step 114: and when the communication connection is established with the transmitting terminal, the frequency hopping sequence information is sent to the receiving terminal, and the communication interaction is carried out with the transmitting terminal according to the frequency hopping sequence information.
And the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group. Optionally, the frequency hopping sequence information includes frequency hopping channel information and frequency hopping sequence information, and the frequency hopping sequence information is used to instruct the transmitting end to perform frequency hopping interaction on the channels of the target channel group according to the frequency hopping sequence information. Alternatively, the hopping sequence information may be a hopping table.
When the receiving end establishes communication connection with the transmitting end, frequency hopping sequence information is generated according to the related information of the target channel group and is sent to the transmitting end, and communication interaction is carried out on the corresponding frequency hopping channel and the transmitting degree according to the frequency hopping sequence. Specifically, after receiving the hopping sequence information, the transmitting end transmits signals on the corresponding hopping channels according to the hopping sequence, and the receiving end receives signals on the corresponding hopping channels according to the hopping sequence. In the communication interaction process between the transmitting end and the receiving end, the frequency hopping channel is limited in the target channel group, so that the fluctuation of signals can be reduced, and the interaction accuracy is improved. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved. In addition, other devices which do not receive the frequency hopping sequence information cannot obtain the frequency hopping channel sequence, so that the channel selected by frequency hopping cannot be determined when data are received, signals sent by the transmitting terminal cannot be received, and the data security of the Bluetooth frequency hopping communication technology is improved.
Optionally, as shown in fig. 16, performing communication interaction with the transmitting end according to the hopping sequence information includes:
step 122: and receiving first data sent by the transmitting terminal on a frequency hopping channel according to the frequency hopping sequence information, and feeding back second data to the transmitting terminal.
Step 124: and the receiving transmitting terminal executes locking action or unlocking action according to the signal strength value fed back by the second data and the preset threshold value.
The first data and the second data are negotiation data during Bluetooth communication between the transmitting end and the receiving end. Optionally, the receiving end is a vehicle-mounted device, and the transmitting end is a mobile electronic device. The signal intensity value RSSI is inversely proportional to the distance under the condition of no interference, and the preset threshold value of the signal intensity corresponds to the preset distance value, so that the vehicle-mounted equipment can obtain the actual distance from the mobile electronic equipment according to the signal intensity value, and perform locking or unlocking according to the comparison result of the actual distance and the preset threshold value. The mapping relationship between the RSSI and the distance may refer to the prior art, and is not described herein again.
In the communication interaction process of the transmitting end and the receiving end, the frequency hopping channel is limited in the target channel group, so that signal fluctuation can be reduced, the accuracy of signal strength value RSSI ranging is improved, and the unlocking experience of a user can be improved.
It should be noted that, in other embodiments, the step of generating the hopping sequence information according to the target channel group in the foregoing may also be implemented in the relevant steps of the embodiment of the selection method, and after the hopping sequence information is generated, the information is respectively sent to the transmitting end and the receiving end, so that the transmitting end and the receiving end perform communication interaction according to the hopping sequence information.
It should be understood that, although the steps in the flowcharts of fig. 3, 6, 8, 9, 11-16 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3, 6, 8, 9, 11-16 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Fig. 17 is a block diagram illustrating an exemplary hopping channel selection apparatus, which is used to perform the steps associated with the exemplary embodiment shown in fig. 3. The frequency hopping channel selection apparatus can be applied to a transmitting end, a receiving end, or a terminal. The terminal may be a transmitting end or a receiving end, or may be a third end other than the transmitting end and the receiving end. As shown in fig. 17, the hopping channel selecting device includes:
the first information obtaining module 210 is configured to obtain first parameter information of multiple first channel groups in a working frequency range of a transmitting end, where transmission powers of multiple channels in the same first channel group are in the same preset range.
The second information obtaining module 220 is configured to obtain second parameter information of multiple second channel groups within a working frequency range of the receiving end, where signal intensity attenuation amounts of multiple channels in the same second channel group are in the same preset range.
And the target channel acquiring module 230 is configured to acquire a target channel group according to the first parameter information and the second parameter information, where a channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end perform communication interaction.
Optionally, the plurality of first channel groups correspond to the plurality of second channel groups one to one, wherein: the frequency range of the collection of all channels contained in the first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the collection of all the channels contained in the plurality of second channel groups is equal to the working frequency range of the receiving end. The first parameter information comprises first frequency band information of each channel in each first channel group, and the second parameter information comprises second frequency band information of each channel in each second channel group; the target channel acquisition module 230 includes:
and the first acquisition unit acquires the frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information, wherein each channel group pair comprises a first channel group and a corresponding second channel group.
And the first determining unit is used for determining the alternative channel group according to the frequency band intersection of each channel group pair.
And the second determining unit is used for determining the target channel group according to the channel number of each alternative channel group.
Optionally, the second determination unit includes:
and the sorting unit is used for sorting the plurality of alternative channel groups in a descending order according to the number of the channels of each alternative channel group.
And the descending selection unit is used for sequentially selecting the alternative channel groups as the target channel groups according to the descending order until the total number of the channels of the target channel groups is greater than or equal to the total number of the preset channels.
Optionally, the second determining unit further includes:
and the first alternative unit is used for selecting a plurality of channels within a preset target frequency range as the target channel group if the total number of the channels of the plurality of alternative channel groups is less than the total number of the preset channels.
Optionally, the target channel acquiring module 230 further includes:
and the second alternative unit is used for selecting a plurality of channels within a preset target frequency range as a target channel group if the plurality of frequency band intersections have empty sets and the number of the empty sets meets a preset condition.
Optionally, the plurality of first channel groups correspond to the plurality of second channel groups one to one, wherein: the frequency range of the collection of all channels contained in the first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the collection of all the channels contained in the plurality of second channel groups is equal to the working frequency range of the receiving end. The first parameter information comprises the transmission power information of each channel in each first channel group, and the second parameter information comprises the signal strength attenuation information of each channel in each second channel group; the target channel acquiring module 230 further includes:
and the strength information acquisition unit is used for acquiring the signal strength information of the same channel in each channel group pair according to the transmitting power information and the signal strength attenuation information.
And the probability distribution unit is used for acquiring the probability distribution corresponding to each channel group according to the plurality of signal strength information, and selecting a plurality of channels corresponding to the signal strength information distributed in the preset probability range in each probability distribution as the target channel group.
Optionally, the first parameter information includes first frequency band information of each channel in each first channel group, and the second parameter information includes second frequency band information of each channel in each second channel group; the intensity information acquisition unit is specifically used for acquiring the frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information; acquiring transmitting power information and signal intensity attenuation information corresponding to the same channel in each channel group pair according to the frequency band intersection of each channel group pair; and acquiring the signal intensity information of the same channel according to the transmitting power information and the signal intensity attenuation information corresponding to the same channel.
Optionally, as shown in fig. 18, the frequency hopping channel acquiring apparatus further includes:
a grouping module 310, configured to obtain transmit powers of all channels in a range of a transmitting end operating frequency band; grouping all channels within the working frequency range of a transmitting end according to the transmitting power of all channels to obtain a plurality of first channel groups; acquiring the signal intensity attenuation of all channels within the working frequency range of a receiving end; and grouping all channels within the working frequency range of the receiving end according to the signal intensity attenuation of all channels to obtain a plurality of second channel groups.
Optionally, as shown in fig. 18, the frequency hopping channel acquiring apparatus further includes:
the isolation module 320 is configured to acquire a critical channel between two adjacent channel groups in the target channel group, and use the critical channel as an isolation channel to isolate channels in different channel groups.
The frequency hopping channel selection device provided in this embodiment acquires, by using the first information acquisition module, first parameter information of a plurality of first channel groups within a working frequency range of a transmitting end, where transmission powers of a plurality of channels in the same first channel group are in the same preset range; the second information acquisition module acquires second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, and the signal intensity attenuation amounts of a plurality of channels in the same second channel group are in the same preset range; therefore, the target channel acquisition module acquires the target channel group according to the first parameter information and the second parameter information, can select a plurality of channels with better curve flatness of the transmission power changing along with the frequency band in the transmitting end as the transmitting end target channel group, and correspondingly select a plurality of channels with higher curve flatness of the signal intensity attenuation changing along with the frequency band in the receiving end as the receiving end target channel group, and simultaneously ensures that the channel frequency bands of the transmitting end target channel group and the receiving end target channel group are the same. And limiting the frequency hopping channel in the target channel group so as to reduce signal fluctuation when the subsequent transmitting end and the receiving end carry out communication interaction and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Fig. 19 is a block diagram of a communication device according to an embodiment, which is applied to a transmitting end and used for executing relevant steps of the embodiment shown in fig. 13. As shown in fig. 19, the communication apparatus includes:
a first sequence generating module 410, configured to generate frequency hopping sequence information according to the target channel group obtained by the selecting device as described in the foregoing embodiment.
The first interaction module 420 is configured to send the frequency hopping sequence information to the receiving end when establishing a communication connection with the receiving end, and perform communication interaction with the receiving end according to the frequency hopping sequence information.
The frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group.
The communication device provided by this embodiment limits the frequency hopping channel in the target channel group, so that the fluctuation of signals is reduced when the transmitting end and the receiving end perform communication interaction, and the accuracy of the interaction is improved. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Fig. 20 is a block diagram of a communication device according to an embodiment, which is applied to a receiving end and used for executing relevant steps of the embodiment shown in fig. 15. As shown in fig. 20, the communication apparatus includes:
a second sequence generating module 510, configured to generate frequency hopping sequence information according to the target channel group obtained by the selecting device according to the foregoing embodiment.
And a second interaction module 520, configured to send the frequency hopping sequence information to the receiving end when establishing a communication connection with the transmitting end, and perform communication interaction with the transmitting end according to the frequency hopping sequence information.
And the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group.
The communication device provided by this embodiment limits the frequency hopping channel in the target channel group, so that the fluctuation of signals is reduced when the transmitting end and the receiving end perform communication interaction, and the accuracy of the interaction is improved. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Fig. 21 is a block diagram of a communication system according to an embodiment, and as shown in fig. 21, the communication system includes: a transmitting end 110; a receiving end 120; and a selection device 130 as described in the previous embodiments. Wherein, the selecting device 130 can be applied to the transmitting end 110, the receiving end 120 or the terminal. The terminal may be the transmitting end 110 or the receiving end 120, or may be a third end other than the transmitting end 110 and the receiving end 120 (fig. 21 illustrates an example in which the selecting device 130 is applied to the transmitting end 110).
Optionally, the frequency hopping channel selecting device 130 is further configured to generate frequency hopping sequence information according to the target channel group, and send the frequency hopping sequence information to the transmitting end 110 and the receiving end 120 respectively; the hopping sequence information is used to instruct the transmitting end 110 and the receiving end 120 to perform frequency hopping interaction on channels in the target channel group.
Further optionally, the transmitting end 110 is configured to send first data to the receiving end on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end 120, obtain a signal strength value according to the second data, and feed back the signal strength value to the receiving end 120; the receiving end 120 is configured to feed back the second data to the transmitting end according to the first data, receive a signal strength value fed back by the transmitting end, and perform a locking action or an unlocking action according to the signal strength value and a preset threshold.
Optionally, the transmitting end 110 is further configured to generate frequency hopping sequence information according to the target channel group, and when establishing a communication connection with the receiving end 120, send the frequency hopping sequence information to the receiving end 120 and perform communication interaction with the receiving end 120; the hopping sequence information is used to instruct the receiving end 120 to perform hopping interaction on channels in the target channel group.
Further optionally, the transmitting end 110 is further configured to send first data to the receiving end 120 on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end 120, obtain a signal strength value according to the second data, and send the signal strength value to the receiving end 120, so that the receiving end 120 performs a locking action or an unlocking action according to the signal strength value and a preset threshold.
Optionally, the receiving end 120 is configured to generate frequency hopping sequence information according to the target channel group, and when establishing a communication connection with the transmitting end 110, send the frequency hopping sequence information to the transmitting end 110 and perform communication interaction with the transmitting end 110; the hopping sequence information is used to instruct the transmitting end 110 to perform frequency hopping interaction on channels in the target channel group.
Further optionally, the receiving end 120 is further configured to receive first data sent by the transmitting end 110 on a frequency hopping channel according to the frequency hopping sequence information, feed back second data to the transmitting end 110, and receive a signal strength value fed back by the transmitting end 110 according to the second data, and perform a locking action or an unlocking action according to the signal strength value and a preset threshold.
The communication system provided by this embodiment limits the frequency hopping channel in the target channel group, so that the transmitting end 110 and the receiving end 120 reduce the fluctuation of signals when performing communication interaction, and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
Fig. 22 is a block diagram of a communication system according to an embodiment, and as shown in fig. 22, the communication system includes: a transmitting end 110; a receiving end 120; and a communication device 140 as described in the previous embodiments. The communication device 140 may be applied to the transmitting end 110 or the receiving end 120 (fig. 22 illustrates an example in which the communication device 140 is applied to the transmitting end 110).
Optionally, the transmitting end 110 is configured to send first data to the receiving end 120 on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end 120, obtain a signal strength value according to the second data, and send the signal strength value to the receiving end 120;
optionally, the receiving end 120 is configured to receive the first data on the frequency hopping channel according to the frequency hopping sequence information, feed back the second data to the transmitting end 110, and perform a locking action or an unlocking action according to the signal strength value and a preset threshold.
The communication system provided by this embodiment limits the frequency hopping channel in the target channel group, so that the transmitting end 110 and the receiving end 120 reduce the fluctuation of signals when performing communication interaction, and improve the accuracy of the interaction. Meanwhile, the target frequency hopping group is selected in advance before communication interaction, so that the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
The division of each module in the selection device, the communication device and the communication system is only for illustration, in other embodiments, the selection device, the communication device and the communication system may be divided into different modules as needed to complete all or part of the functions of the selection device, the communication device and the communication system.
For specific limitations of the selection device, the communication device and the communication system, reference may be made to the above limitations of the frequency hopping channel selection method and the communication method, which are not described herein again. Each module in the above-mentioned hopping channel selecting device, communication device and communication system may be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the selection method according to the above embodiments and/or perform the steps of the communication method according to the above embodiments.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the selection method according to the above embodiments and/or the steps of the communication method according to the above embodiments.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. The nonvolatile Memory may include a ROM (Read-Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a flash Memory. Volatile Memory can include RAM (Random Access Memory), which acts as external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDR SDRAM (Double Data Rate Synchronous Random Access Memory), ESDRAM (Enhanced Synchronous Dynamic Random Access Memory), SLDRAM (Synchronous Link Dynamic Random Access Memory), RDRAM (Random Dynamic Random Access Memory), and DRmb DRAM (Dynamic Random Access Memory).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (30)

1. A method for frequency hopping channel selection, comprising:
acquiring first parameter information of a plurality of first channel groups in a working frequency range of a transmitting end, wherein the transmitting power of a plurality of channels in the same first channel group is in the same preset range;
acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, wherein the signal intensity attenuation of a plurality of channels in the same second channel group is in the same preset range;
and acquiring a target channel group according to the first parameter information and the second parameter information, wherein a channel of the target channel group is used as a frequency hopping channel when the transmitting terminal and the receiving terminal are in communication interaction.
2. The frequency hopping channel selection method according to claim 1, wherein a plurality of the first channel groups are in one-to-one correspondence with a plurality of the second channel groups; wherein:
the frequency range of the collection of all the channels contained in the first channel groups is equal to the working frequency range of the transmitting terminal;
the frequency range of the collection of all the channels included in the plurality of second channel groups is equal to the working frequency range of the receiving end.
3. The method of claim 2, wherein the first parameter information includes first frequency band information of each channel in each of the first channel groups, and the second parameter information includes second frequency band information of each channel in each of the second channel groups;
the obtaining a target channel group according to the first parameter information and the second parameter information includes:
acquiring a frequency range intersection of each channel group pair according to the first frequency range information and the second frequency range information, wherein each channel group pair comprises the first channel group and the corresponding second channel group;
determining an alternative channel group according to the frequency band intersection of each channel group pair;
and determining the target channel group according to the channel number of each alternative channel group.
4. The method of claim 3, wherein the determining the target channel group according to the number of channels of each of the candidate channel groups comprises:
selecting at least one of the candidate channel groups as the target channel group;
the total number of channels of all the target channel groups is greater than the preset total number of channels, and the number of channels of each target channel group is greater than or equal to the number of channels of each unselected alternative channel group.
5. The method of claim 4, wherein the selecting at least one of the candidate channel groups as the target channel group comprises:
according to the number of channels of each alternative channel group, performing descending order arrangement on the alternative channel groups;
and sequentially selecting the alternative channel groups as the target channel groups according to the descending order until the total number of the channels of the target channel groups is greater than or equal to the total number of preset channels.
6. The method of claim 3, wherein the determining the target channel group according to the number of channels in each of the channel sets further comprises:
and if the total number of the channels of the multiple alternative channel groups is less than the total number of the preset channels, selecting the multiple channels within a preset target frequency range as the target channel group.
7. The method of claim 3, wherein the obtaining a target channel group according to the first parameter information and the second parameter information further comprises:
and if the empty sets exist in the frequency band intersection sets and the number of the empty sets meets a preset condition, selecting a plurality of channels within a preset target frequency band range as the target channel group.
8. The frequency hopping channel selection method of claim 2, wherein the first parameter information includes transmission power information of each channel in each of the first channel groups, and the second parameter information includes signal strength attenuation information of each channel in each of the second channel groups;
the obtaining a target channel group according to the first parameter information and the second parameter information includes:
acquiring signal intensity information of the same channel in each channel group pair according to the transmitting power information and the signal intensity attenuation information, wherein each channel group pair comprises the first channel group and the corresponding second channel group;
and acquiring probability distribution of a plurality of signal strength information of each channel group pair, and selecting a plurality of channels corresponding to the signal strength information distributed in a preset probability range in each probability distribution as the target channel group.
9. The method of claim 8, wherein the first parameter information includes first frequency band information of each channel in each of the first channel groups, and the second parameter information includes second frequency band information of each channel in each of the second channel groups; the acquiring the signal intensity information of the same channel in each channel group pair according to the transmission power information and the signal intensity attenuation information includes:
acquiring a frequency range intersection of each channel group pair according to the first frequency range information and the second frequency range information;
acquiring the transmitting power information and the signal intensity attenuation information corresponding to the same channel in each channel group pair according to the frequency band intersection of each channel group pair;
and acquiring the signal intensity information of the same channel according to the transmitting power information and the signal intensity attenuation information corresponding to the same channel.
10. The method of claim 8, wherein the probability distribution is a normal distribution.
11. The frequency hopping channel selection method according to any one of claims 1 to 10, further comprising:
acquiring the transmitting power of all channels in the working frequency range of the transmitting terminal;
grouping all channels within the working frequency range of the transmitting end according to the transmitting power of all channels to obtain a plurality of first channel groups;
acquiring the signal intensity attenuation of all channels within the working frequency range of the receiving end;
and grouping all the channels within the working frequency range of the receiving end according to the signal intensity attenuation of all the channels to obtain a plurality of second channel groups.
12. The frequency hopping channel selection method according to any one of claims 1 to 10, further comprising:
and acquiring a critical channel between two adjacent channel groups in the target channel group, and taking the critical channel as an isolation channel to isolate channels in different channel groups.
13. A communication method applied to a transmitting end, comprising:
generating hopping sequence information according to a target channel group acquired by the selection method according to any one of claims 1 to 12;
when communication connection is established with a receiving end, the frequency hopping sequence information is sent to the receiving end, and communication interaction is carried out with the receiving end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group.
14. The communication method according to claim 13, wherein the performing communication interaction with the receiving end according to the hopping sequence information comprises:
sending first data to the receiving end on a frequency hopping channel according to the frequency hopping sequence information, and receiving second data fed back by the receiving end;
and acquiring a signal intensity value according to the second data, and sending the signal intensity value to the receiving end so that the receiving end executes locking or unlocking according to the signal intensity value and a preset threshold value.
15. A communication method applied to a receiving end is characterized by comprising the following steps:
generating hopping sequence information according to a target channel group acquired by the selection method according to any one of claims 1 to 12;
when communication connection is established with a transmitting terminal, the frequency hopping sequence information is sent to the receiving terminal, and communication interaction is carried out with the transmitting terminal according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group.
16. The communication method according to claim 15, wherein the performing communication interaction with the transmitting end according to the hopping sequence information comprises:
receiving first data sent by the transmitting terminal on a frequency hopping channel according to the frequency hopping sequence information, and feeding back second data to the transmitting terminal;
and receiving a signal intensity value fed back by the transmitting terminal according to the second data, and executing locking action or unlocking action according to the signal intensity value and a preset threshold value.
17. A frequency hopping channel selection apparatus, comprising:
the device comprises a first information acquisition module, a second information acquisition module and a first transmission module, wherein the first information acquisition module is used for acquiring first parameter information of a plurality of first channel groups in a working frequency range of a transmitting terminal, and the transmitting power of a plurality of channels in the same first channel group is in the same preset range;
the second information acquisition module is used for acquiring second parameter information of a plurality of second channel groups in a working frequency range of a receiving end, and the signal intensity attenuation quantities of a plurality of channels in the same second channel group are in the same preset range;
and the target channel acquisition module is used for acquiring a target channel group according to the first parameter information and the second parameter information, wherein a channel of the target channel group is used as a frequency hopping channel when the transmitting terminal and the receiving terminal are in communication interaction.
18. A communication apparatus, applied to a transmitting end, comprising:
a first sequence generating module, configured to generate frequency hopping sequence information according to the target channel group acquired by the frequency hopping channel selecting apparatus according to claim 17;
the first interaction module is used for sending the frequency hopping sequence information to a receiving end when communication connection is established with the receiving end, and carrying out communication interaction with the receiving end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels of the target channel group.
19. A communication apparatus applied to a receiving end, comprising:
a second sequence generating module, configured to generate frequency hopping sequence information according to the target channel group obtained by the frequency hopping channel selecting apparatus according to claim 17;
the second interaction module is used for sending the frequency hopping sequence information to the receiving end when the communication connection with the transmitting end is established, and carrying out communication interaction with the transmitting end according to the frequency hopping sequence information;
and the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels of the target channel group.
20. A communication system, comprising:
a transmitting end;
a receiving end; and
the frequency hopping channel selection device as claimed in claim 17.
21. The communication system according to claim 20, wherein the selecting means is further configured to generate frequency hopping sequence information according to the target channel group, and send the frequency hopping sequence information to the transmitting end and the receiving end respectively;
and the frequency hopping sequence information is used for indicating the transmitting end and the receiving end to carry out frequency hopping interaction on the channels in the target channel group.
22. The communication system according to claim 21, wherein the transmitting end is configured to send first data to the receiving end on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end, obtain a signal strength value according to the second data, and feed back the signal strength value to the receiving end;
the receiving end is used for feeding back the second data to the transmitting end according to the first data, receiving the signal intensity value fed back by the transmitting end, and executing locking action or unlocking action according to the signal intensity value and a preset threshold value.
23. The communication system according to claim 20, wherein the transmitting end is further configured to generate frequency hopping sequence information according to the target channel group, and when establishing a communication connection with the receiving end, send the frequency hopping sequence information to the receiving end and perform communication interaction with the receiving end;
and the frequency hopping sequence information is used for indicating the receiving end to carry out frequency hopping interaction on the channels in the target channel group.
24. The communication system of claim 23, wherein the transmitting end is further configured to send first data to the receiving end on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end, obtain a signal strength value according to the second data, and send the signal strength value to the receiving end, so that the receiving end performs a locking operation or an unlocking operation according to the signal strength value and a preset threshold.
25. The communication system according to claim 20, wherein the receiving end is configured to generate frequency hopping sequence information according to the target channel group, and when establishing a communication connection with the transmitting end, send the frequency hopping sequence information to the transmitting end and perform communication interaction with the transmitting end;
and the frequency hopping sequence information is used for indicating the transmitting terminal to carry out frequency hopping interaction on the channels in the target channel group.
26. The communication system of claim 25, wherein the receiving end is further configured to receive first data sent by the transmitting end on a frequency hopping channel according to the frequency hopping sequence information, feed back second data to the transmitting end, receive a signal strength value fed back by the transmitting end according to the second data, and perform a locking operation or an unlocking operation according to the signal strength value and a preset threshold.
27. A communication system, comprising:
a transmitting end;
a receiving end; and
a communications device as claimed in claim 18 or 19.
28. The communication system according to claim 27, wherein the transmitting end is configured to send first data to the receiving end on a frequency hopping channel according to the frequency hopping sequence information, receive second data fed back by the receiving end, obtain a signal strength value according to the second data, and send the signal strength value to the receiving end;
and the receiving end is used for receiving the first data on a frequency hopping channel according to the frequency hopping sequence information, feeding back the second data to the transmitting end, and executing locking action or unlocking action according to the signal strength value and a preset threshold value.
29. A computer device comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the computer program, when executed by the processor, causes the processor to carry out the steps of the selection method according to any one of claims 1 to 11 and/or the steps of the communication method according to any one of claims 12 to 15.
30. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the frequency hopping channel selection method according to any one of claims 1 to 11 and/or carries out the steps of the communication method according to any one of claims 12 to 15.
CN202111502016.9A 2021-12-09 2021-12-09 Frequency hopping channel selection method and device, communication method and device and communication system Active CN114022983B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111502016.9A CN114022983B (en) 2021-12-09 2021-12-09 Frequency hopping channel selection method and device, communication method and device and communication system
PCT/CN2022/124376 WO2023103573A1 (en) 2021-12-09 2022-10-10 Frequency hopping channel selection method and apparatus, communication method and apparatus, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111502016.9A CN114022983B (en) 2021-12-09 2021-12-09 Frequency hopping channel selection method and device, communication method and device and communication system

Publications (2)

Publication Number Publication Date
CN114022983A true CN114022983A (en) 2022-02-08
CN114022983B CN114022983B (en) 2023-08-11

Family

ID=80068762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111502016.9A Active CN114022983B (en) 2021-12-09 2021-12-09 Frequency hopping channel selection method and device, communication method and device and communication system

Country Status (2)

Country Link
CN (1) CN114022983B (en)
WO (1) WO2023103573A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900205A (en) * 2022-03-28 2022-08-12 安克创新科技股份有限公司 Adaptive frequency hopping method, device, storage medium and electronic equipment
CN115987322A (en) * 2022-12-20 2023-04-18 Oppo广东移动通信有限公司 Power supply control method and device and storage medium
WO2023103573A1 (en) * 2021-12-09 2023-06-15 Oppo广东移动通信有限公司 Frequency hopping channel selection method and apparatus, communication method and apparatus, and communication system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026753A (en) * 2002-09-26 2004-04-01 한국전자통신연구원 Adaptive Frequency Hopping Sequence Generation Method for Bluetooth Communication
US20140357196A1 (en) * 2013-06-04 2014-12-04 Apple Inc. Methods for Calibrating Receive Signal Strength Data in Wireless Electronic Devices
CN104980185A (en) * 2015-06-24 2015-10-14 电子科技大学 Non-uniform arbitrary probability distribution frequency hopping sequence generation method
WO2017054289A1 (en) * 2015-09-30 2017-04-06 宇龙计算机通信科技(深圳)有限公司 Unlicensed frequency band-based carrier switching method, base station, and system
US20190068302A1 (en) * 2017-08-25 2019-02-28 Fujitsu Limited Information processing apparatus, method and non-transitory computer-readable storage medium
CN112332931A (en) * 2020-11-06 2021-02-05 维沃移动通信有限公司 Bluetooth interference avoiding method and electronic equipment
CN112583445A (en) * 2020-12-09 2021-03-30 合肥中感微电子有限公司 Low-power-consumption Bluetooth frequency hopping method, frequency hopping device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL122105A0 (en) * 1997-11-04 1998-04-05 Rozin Alexander A two-way radio-based electronic toll collection method and system for highway
CN113595589A (en) * 2021-08-03 2021-11-02 西安电子科技大学 Frequency hopping communication method and device, storage medium, and electronic device
CN114022983B (en) * 2021-12-09 2023-08-11 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system
CN114124149B (en) * 2021-12-09 2023-01-31 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026753A (en) * 2002-09-26 2004-04-01 한국전자통신연구원 Adaptive Frequency Hopping Sequence Generation Method for Bluetooth Communication
US20140357196A1 (en) * 2013-06-04 2014-12-04 Apple Inc. Methods for Calibrating Receive Signal Strength Data in Wireless Electronic Devices
CN104980185A (en) * 2015-06-24 2015-10-14 电子科技大学 Non-uniform arbitrary probability distribution frequency hopping sequence generation method
WO2017054289A1 (en) * 2015-09-30 2017-04-06 宇龙计算机通信科技(深圳)有限公司 Unlicensed frequency band-based carrier switching method, base station, and system
US20190068302A1 (en) * 2017-08-25 2019-02-28 Fujitsu Limited Information processing apparatus, method and non-transitory computer-readable storage medium
CN112332931A (en) * 2020-11-06 2021-02-05 维沃移动通信有限公司 Bluetooth interference avoiding method and electronic equipment
CN112583445A (en) * 2020-12-09 2021-03-30 合肥中感微电子有限公司 Low-power-consumption Bluetooth frequency hopping method, frequency hopping device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023103573A1 (en) * 2021-12-09 2023-06-15 Oppo广东移动通信有限公司 Frequency hopping channel selection method and apparatus, communication method and apparatus, and communication system
CN114900205A (en) * 2022-03-28 2022-08-12 安克创新科技股份有限公司 Adaptive frequency hopping method, device, storage medium and electronic equipment
CN115987322A (en) * 2022-12-20 2023-04-18 Oppo广东移动通信有限公司 Power supply control method and device and storage medium

Also Published As

Publication number Publication date
CN114022983B (en) 2023-08-11
WO2023103573A1 (en) 2023-06-15

Similar Documents

Publication Publication Date Title
CN114022983A (en) Frequency hopping channel selection method and device, communication method and device and communication system
DE102018200233A1 (en) System and method of proof of evidence for a remote device
US20130090145A1 (en) Method for controlling random access for the efficient sensing of the cooperative spectrum in a cognitive radio-based frequency resource sharing system
KR20210034270A (en) Electronic device for determinig path of line of sight(los) and method for the same
CN113692046A (en) Label positioning method and device, computer equipment and storage medium
US20220312402A1 (en) Method and device for performing beam searching in mobile communication system
US20220338289A1 (en) Device control method, apparatus, storage medium and electronic device
CN109495132B (en) Frequency point selection method and device, communication equipment, storage medium and computer equipment
KR20200040073A (en) Method for mitigating interference between cells in dynamic time division duplex environment and electronic device thereof
US10291373B2 (en) D2D communication control method and control apparatus
CN113556668A (en) Positioning reference signal receiving method and user equipment
EP3661100B1 (en) Channel interception method and apparatus applied to un-authorised frequency band
CN114124149B (en) Frequency hopping channel selection method and device, communication method and device and communication system
CN105915731A (en) Data transmission method and mobile terminal
CN111865367B (en) RFID data transmission method and device, electronic equipment and storage medium
EP3133855A1 (en) Frequency allocation apparatus, frequency allocation method, and wireless communication system
WO2007031962A2 (en) Method of clustering devices in wireless communication nework
CN107276688A (en) Radio frequency interference processing method, device, storage medium and mobile terminal
CN111740963B (en) Data communication method and device
EP4048003A1 (en) Method and apparatus for determining position occupied by resource, terminal device, and storage medium
WO2024151301A1 (en) Use of narrowband signaling within ultra-wideband spectrum as basis to facilitate ultra-wideband ranging
CN109644170B (en) Method, device and system for determining and sending cell parameter set
CN112383660B (en) Throughput rate testing method and device of intelligent terminal, storage medium and terminal
US20200128362A1 (en) Position estimation system
CN113472457A (en) Antenna anomaly detection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant