CN114022983B - 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
CN114022983B
CN114022983B CN202111502016.9A CN202111502016A CN114022983B CN 114022983 B CN114022983 B CN 114022983B CN 202111502016 A CN202111502016 A CN 202111502016A CN 114022983 B CN114022983 B CN 114022983B
Authority
CN
China
Prior art keywords
channel
frequency hopping
channel group
channels
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111502016.9A
Other languages
Chinese (zh)
Other versions
CN114022983A (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

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 first parameter information of a plurality of first channel groups in the working frequency range of a transmitting end is obtained, and the transmitting power of the same first channel group is in the same preset range; acquiring second parameter information of a plurality of second channel groups in the working frequency range of the 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. The frequency hopping channel is limited in the target channel group, so that the fluctuation of signals is reduced when the subsequent transmitting end and the receiving end perform communication interaction, and the interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 apparatus for selecting a frequency hopping channel, a communication method and apparatus, and a communication system.
Background
With development of bluetooth technology, application scenarios of bluetooth devices are also increasing, for example, in related technologies, automatic locking or unlocking actions of a vehicle-mounted device may be implemented through bluetooth technology.
However, the bluetooth working mechanism adopts a conventional frequency hopping or self-adaptive frequency hopping mode, mainly defines a target channel for frequency hopping according to the interference degree of the channel, and does not distinguish the fluctuation problem caused by different gains and insertion losses of different frequency bands on hardware, so that the power flatness of bluetooth power transmitted by a bluetooth transmitting end in the frequency hopping channel is insufficient, and finally RSSI (Received Signal Strength Indicator) fluctuation of signals received by a receiving end is larger, and further the experience of unlocking and unlocking of a vehicle lock of a user is influenced.
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 the working frequency range of a 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;
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 end and the receiving end are in communication interaction.
A communication method is applied to a transmitting end and comprises the following steps:
generating frequency hopping sequence information according to the target channel group acquired 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;
the frequency hopping sequence information is used for indicating the receiving end to perform 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 acquired by the selection method;
when communication connection is established with a transmitting end, the frequency hopping sequence information is sent to the receiving end, and communication interaction is carried out with the transmitting end according to the frequency hopping sequence information;
The frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on the channels of the target channel group.
A frequency hopping channel selection device, comprising:
the first information acquisition module is used for acquiring first parameter information of a plurality of first channel groups in the working frequency range of the transmitting end, 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 the working frequency range of the 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;
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 end and the receiving end are in communication interaction.
A communication device, for use at 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 selecting device as described above;
the first interaction module is used for sending the frequency hopping sequence information to the 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;
The frequency hopping sequence information is used for indicating the receiving end to perform frequency hopping interaction on the channels of the target channel group.
A communication device, for use at a receiving end, comprising:
a second sequence generating module, configured to generate frequency hopping sequence information according to the target channel group acquired by the selecting device as described above;
the second interaction module is used for sending the frequency hopping sequence information to the receiving end when communication connection is established with the transmitting end, and performing communication interaction with the transmitting end according to the frequency hopping sequence information;
the frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on the channels of the target channel group.
A communication system, comprising:
a transmitting end;
a receiving end; a kind of electronic device with high-pressure air-conditioning system
A selection device as described above.
A communication system, comprising:
a transmitting end;
a receiving end; a kind of electronic device with high-pressure air-conditioning system
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, the first parameter information of a plurality of first channel groups in the working frequency range of the transmitting end is obtained, and 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 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; according to the first parameter information and the second parameter information, a plurality of channels with better flatness of a curve of the transmitting power along with the change of the frequency band in the transmitting end can be selected as the transmitting end target channel group, and a plurality of channels with higher flatness of a curve of the signal intensity attenuation along with the change of the frequency band in the receiving end are correspondingly selected as the receiving end target channel group, and meanwhile, the channel frequency bands of the transmitting end target channel group and the receiving end target channel group are ensured to be the same. The frequency hopping channel is limited in the target channel group, so that the fluctuation of signals is reduced when the subsequent transmitting end and the receiving end perform communication interaction, and the interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application environment of a frequency hopping channel selection method in one embodiment;
FIG. 2 is a block diagram of a terminal device of one embodiment;
FIG. 3 is one of the flowcharts of a method of selecting a frequency hopping channel in one embodiment;
FIG. 4 is a graph of channel transmit power as a function of frequency band in one embodiment;
FIG. 5 is a graph of the amount of channel signal strength attenuation as a function of frequency band in one embodiment;
FIG. 6 is a flow chart of step 206 in one embodiment;
FIG. 7 is a channel diagram of frequency intersections in one embodiment;
FIG. 8 is a flow chart of step 304 in one embodiment;
FIG. 9 is a flow chart of step 206 in one embodiment;
FIG. 10 is a normal distribution diagram in one embodiment;
FIG. 11 is a flow chart of step 502 in one embodiment;
FIG. 12 is a second flowchart of a method for selecting a frequency hopping channel according to one embodiment;
FIG. 13 is one of the flow charts of the communication method in one embodiment;
FIG. 14 is a flow chart of step 804 in one embodiment;
FIG. 15 is a second flow chart of a communication method in one embodiment;
FIG. 16 is a flow chart of step 804 in one embodiment;
fig. 17 is one of block diagrams of a structure of a hopping channel selecting device of an embodiment;
fig. 18 is a second block diagram of a configuration of a frequency hopping channel selecting device according to an embodiment;
FIG. 19 is one of the block diagrams of the communication device of one embodiment;
FIG. 20 is a second block diagram of a communication device according to one embodiment;
FIG. 21 is one of the block diagrams of the communication system of one embodiment;
fig. 22 is a second block diagram of the communication system of one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that the terms first, second, etc. as used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. 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 application. Both the first client and the second client are clients, but they are not the same client.
Fig. 1 is a schematic diagram of an application environment of a frequency hopping channel selection method in one embodiment. As shown in fig. 1, the application environment includes a transmitting end 110, a receiving end 120, and a terminal 100. The execution subject 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) device, and a wearable device (fig. 1 illustrates 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: the Radio Frequency (RF) circuit 101, the memory 102, the input unit 103, the display unit 104, the bluetooth module 105, the audio circuit 106, the wireless fidelity (wireless fidelity, WIFI) module 107, the processor 108, and the power supply 109, it will be understood by those skilled in the art that the terminal device structure shown in fig. 2 does not constitute a limitation of the terminal device, and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components. Where bluetooth module 105 supports bluetooth functionality. Bluetooth technology is a radio technology supporting short-distance communication of equipment, and can perform wireless information interaction among various wireless terminal equipment such as smart phones, personal computers, notebook computers, tablet computers, portable wearable equipment, vehicle-mounted equipment, wireless headphones, wireless sound boxes and the like.
When the transmitting end 110 and the receiving end 120 establish communication connection, communication interaction is performed on the 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, when the transmitting end 110 and the receiving end 120 establish bluetooth communication connection, the transmitting end 110 sends first data to the receiving end 120 on a frequency hopping channel, acquires second data fed back by the receiving end 120, acquires 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 the locking action or the unlocking action according to the signal strength value and a preset threshold. The first data and the second data are radio frequency data that are interactively negotiated between the transmitting end 110 and the receiving end 120.
Fig. 3 is a flow chart of a method of hopping channel selection in one embodiment. As shown in fig. 3, the frequency hopping channel selection method includes steps 202 to 206.
Step 202, obtaining first parameter information of a plurality of first channel groups within 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.
The working frequency range of the transmitting end can be a 2400Mhz-2480Mhz frequency range specified by a standard bluetooth protocol, or can be a frequency range of a certain interval in the standard bluetooth protocol frequency range, for example, can be a 2.410GHz-2.460GHz frequency range. According to the working frequency range of the transmitting end and the preset step width of the channel, the working frequency range of the transmitting end 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 serial numbers include an initial number and a termination number. For example, with 1Mhz as a step, the entire operating band of the transmitting end can be divided into 80 channels,if 80 channels are encoded, the codes can be 0, 1, 2 … …, 79 respectively; 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 codes can be 0, 1, 2 … … and 39 correspondingly. After numbering the channels, the relationship between the channel number and the channel frequency can be expressed by the following formula: f=f 0 +k×n; wherein f 0 Is the frequency starting point (unit: mhz) of the operating frequency range, f is the channel frequency (unit: mhz), K is the number, and n is the step in channel division. Taking the channel numbering typically 0-39 and the frequency starting point 2402Mhz as an example, the relationship between the number and frequency can be expressed by the following formula: f=2402+k×2.
In theory, the curve of the transmission power of the multiple channels in the operating frequency range of the transmitting end along with the frequency range should be shown as a relatively flat line, however, in reality, the flatness of the curve of the transmission power of the channels along with the frequency range is insufficient due to different gains and insertion losses of different frequency ranges on the hardware of the transmitting end (please refer to fig. 4 for assistance). In order to distinguish the problem of fluctuation of the transmitting power caused by different gains and insertion losses 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 transmitting power of each channel of each first channel group is in the same preset range, and the fluctuation difference value of the transmitting power of a plurality of channels in the same first channel group is smaller; the preset ranges corresponding to the different first channel groups are different. It should be noted that, the related step of dividing the plurality of channels in the working frequency range of the transmitting end into a plurality of first channel groups may be performed by the transmitting end, where the transmitting end groups the channels and stores the grouping information for the step 202 to obtain; in other embodiments, the correlation step may also be performed by other execution bodies. It should be noted that, if the preset ranges corresponding to the first channel groups are all relatively close, the number of the first channel groups may be one.
The preset ranges of the transmission power may include an upper limit threshold and a lower limit threshold, alternatively, the difference between the upper limit threshold and the lower limit 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 channels in the preset ranges 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 is an example in which the operating frequency band range is 2402Mhz-2480 Mhz), the plurality of channels in the frequency band range of the transmitting end 2402Mhz-2480Mhz are divided into 4 first channel groups, and the transmitting power of the plurality of channels in each first channel group is in the same preset range: the 4 first channel groups are an A1 channel group, a B1 channel group, a C1 channel group and a D1 channel group respectively, and the corresponding preset transmitting power ranges are A1-B1, B1-C1, C1-D1 and D1-e1 respectively.
The number of the first channel groups can be adjusted according to the fluctuation reducing requirement of the signals of different channels, when the number of the channel groups is divided more, the transmission power curves of the channels in the same first channel group are more flat (the transmission power of the channels in the same first channel group is more approximately equal, and the fluctuation is smaller). Because of the inconsistency and randomness in the 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 intermediate frequency 2441MHz is better, the channels in the channel group are more, and the flatness of the A1 channel group and the D1 channel group at the edge is worse, so that the channels in the channel group are less.
The first parameter information includes frequency band information of each channel in the plurality of first channel groups and transmitting power information of each channel, so that the first parameter information can embody a frequency band corresponding to each channel in each first channel group in a transmitting end and transmitting power when each channel transmits signals.
Step 204, obtaining second parameter information of a plurality of second channel groups within the working frequency range of the receiving end, wherein 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 the working frequency range of the transmitting end, and meanwhile, the number of channels and the channel coding in the working frequency range of the receiving end are the same as the number of channels and the channel coding 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 channels of the receiving end are also 40 correspondingly, and the codes of the channels are also 0, 1, 2 … … and 39 correspondingly.
The signal strength attenuation refers to the loss of the signal at the receiving end from the antenna end to the link from which the signal is demodulated. In theory, the signal intensity attenuation curves of the channels in the operating frequency range of the receiving end should be shown as a relatively flat line, however, in reality, since the gains and insertion losses in different frequency ranges are different on the link from the antenna end to the signal demodulation when the receiving end receives the signal, the signal intensity attenuation curves have insufficient flatness (please refer to fig. 5 for assistance), and show fluctuations. Therefore, due to the uneven transmission power of the transmitting end and the change curve of the receiving link loss of the receiving end along with the working frequency band, the signal strength RSSI fluctuation is larger when the receiving end receives the signal of the transmitting end.
In order to distinguish the problem of fluctuation of signal intensity attenuation caused by different gains and insertion losses 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 of each channel of each second channel group is in the same preset range, and the fluctuation difference value of the signal intensity attenuation of a plurality of channels in the same second channel group is smaller; the preset ranges corresponding to the different second channel groups are different. The signal intensity attenuation range of a plurality of channels in the receiving end working frequency range is in direct proportion to the transmitting power range of a plurality of channels in the transmitting end working frequency range in the general trend. The preset ranges of the signal intensity attenuation amounts corresponding to the second channel groups of the receiving end can be divided according to the dividing proportion of the preset ranges of the transmitting power of the transmitting end. It should be noted that, the step of dividing the plurality of channels within the working frequency range of the receiving end into a plurality of second channel groups may be performed by the receiving end, where the receiving end groups the channels and stores the grouping information for the step 204 to obtain; in other embodiments, the correlation step may also be performed by other execution bodies. It should be noted that, if the preset ranges corresponding to the second channel groups are all relatively close, the number of the second channel groups may be one.
The signal strength attenuation preset ranges may include an upper threshold and a lower threshold, alternatively, a difference between the upper threshold and the lower threshold of each signal strength attenuation preset range may be a range approaching zero or equal to zero, and when the difference approaches zero, the signal strength attenuations of the plurality of channels within the preset range are approximately equal.
Optionally, the preset range of the plurality of signal strength attenuations corresponding to the plurality of second channel groups is a continuous range value. In order to improve the efficiency of frequency hopping channel acquisition, the plurality of second channel groups are in one-to-one correspondence with the plurality of first channel groups. As shown in fig. 5 (fig. 5 is an example of an operating frequency band range of 2402Mhz-2480 Mhz), a plurality of channels in the receiving end 2402Mhz-2480Mhz frequency band range are divided into 4 second channel groups, and the signal intensity attenuation amounts of the plurality of channels in each second channel group are in a preset range of the same level: the 4 first channel groups are an A2 channel group, a B2 channel group, a C2 channel group and a D2 channel group respectively, and the corresponding preset signal intensity attenuation ranges are A2-B2, B2-C2, C2-D2 and D2-e2 respectively.
The number of the second channel groups can be adjusted according to the fluctuation reducing requirement of the signals of different channels, when the number of the channel groups is divided more (the number of the corresponding preset signal strength attenuation ranges is more), the number of the channels in each channel group is smaller, and the flatness of the signal strength attenuation amounts of the plurality of channels in the same second channel group along with the frequency band change curve is higher (the signal strength attenuation amounts of the plurality of channels in the same second channel group are approximately equal, and the fluctuation is smaller). The number of channels in the same channel group may be the same or different due to inconsistencies and randomness in the hardware design.
The second parameter information includes frequency band information of each channel in the plurality of second channel groups and signal intensity attenuation information of each channel, so that the second parameter information can embody a frequency band corresponding to each channel in each second channel group in the receiving end and signal intensity attenuation amount when each channel receives signals.
Step 206, obtaining a target channel group according to the first parameter information and the second parameter information, wherein the channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction.
The channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction, namely 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 when in 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 points of the frequency hopping channels of the transmitting end and the receiving end of the same interaction time slot correspond to the same frequency point. Specifically, the target channel group comprises 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 the number 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 the frequency band of the channel in the receiving end target channel group. Taking 1 transmitting end target channel group and 2430Mhz-2450Mhz frequency band as an example, the corresponding receiving end target channel group is also 1, and the corresponding frequency band of the receiving end target channel group is also 2430Mhz-2450Mhz frequency band. If the codes of the channels in the target channel group of the transmitting end are 12, 18 and 21, the codes of the channels in the target channel group of the receiving end are 12, 18 and 21 correspondingly.
According to the first parameter information and the second parameter information, a plurality of channels with better flatness of a curve of the transmitting power along with the change of the frequency band in the transmitting end can be selected as a target channel group of the transmitting end, and a plurality of channels with higher flatness of a curve of the signal intensity attenuation along with the change of the frequency band in the receiving end can be correspondingly selected as a target channel group of the receiving end, and meanwhile, the channel frequency bands of the target channel group of the transmitting end and the target channel group of the receiving end are ensured to be the same. The frequency hopping channel is limited in the target channel group, so that the fluctuation of signals is reduced when the subsequent transmitting end and the receiving end perform communication interaction, and the interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 one-to-one to the plurality of second channel groups, wherein: the frequency range of the aggregate of all channels contained in the plurality of first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the aggregate set of all 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 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.
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 transmitting 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 multiple channels of the frequency band intersection refer to a set of channels with the same frequency point between a first channel group and a corresponding second channel group in each channel group pair.
Step 304: an alternate channel group is determined based on the intersection of the frequency bands for 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 corresponding second channel group.
The grouping in the embodiment of fig. 4 and 5 is illustrated as an example: the multiple first channel groups of the transmitting end are { A1, B1, C1, D1}, and the preset range of the transmitting power corresponding to each first channel group is A1-B1, B1-C1, C1-D1 and D1-e1 respectively. The plurality of second channel groups of the receiving end are { A2, B2, C2, D2}, and the preset range of the transmitting power corresponding to each second channel group is A2-B2, B2-C2, C2-D2 and D2-e2 respectively. The A2-B2, B2-C2, C2-D2, D2-e2 and A1-B1, B1-C1, C1-D1, D1-e1 are divided according to the same proportion relation, and the first channel groups A1, B1, C1, D1 are respectively in one-to-one correspondence with the second channel groups A2, B2, C2, D2. Acquiring a plurality of channels with frequency band intersection according to a plurality of first frequency band information of a first channel group and a plurality of second frequency band information of a corresponding second channel group, namely, intersecting an A1 channel group with an A2 channel group to acquire a channel with the same frequency point as that of the A2 channel group, intersecting a B1 channel group with a B2 channel group to acquire a channel with the same frequency point as that of the B1 channel group and the B2 channel group, intersecting a C1 channel group with a C2 channel group to acquire a channel with the same frequency point as that of the C1 channel group and the C2 channel group, intersecting a D1 with a D2 channel to acquire a channel with the same frequency point as that of the D1 channel group and the D2 channel group, and finally correspondingly acquiring four channel sets A3, B3, C3 and D3 respectively, and taking A3, B3 and D3 as alternative channel groups respectively.
Taking the case of intersecting 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 an example, as shown in fig. 7, the frequency band intersection is obtained by intersecting the frequency bands f1-f2, f3-f4, and f5-f6, and the corresponding multiple channels on the frequency bands f1-f2, f3-f4, and f5-f6 are respectively channels 6-9, 16-19, and 29-32, so that the channel sets between the C1 channel group and the C2 channel group are channels 6-9, 16-19, and 29-32, and the number of channels is 12.
Step 306: the target channel group is determined based on the number of channels for each of the candidate channel groups.
The target channel group may be one or more channel sets that may be used for frequency hopping, and a total number of channels of the one or more channel sets that may be used for frequency hopping is greater than or equal to a preset total number of channels.
Optionally, step 304 is specifically: selecting at least one of the plurality of candidate channel groups as a target channel group; wherein the total number of channels of all target channel groups is larger than the total number of preset channels, and the number of channels of each target channel group is larger than or equal to the number of channels of each unselected candidate channel group. Specifically, the channel number of each candidate channel group is obtained, and the target channel groups are sequentially selected from more to less 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 preset total number of channels may be set according to a frequency hopping number required by communication interaction between the transmitting end and the receiving end, or may also be set according to a frequency hopping number of a bluetooth communication standard in a country or region, for example, the minimum number of channels in the european standard is 18, and the minimum number of channels in the us standard is 20.
Taking the embodiment of fig. 7 as an example, for example, the preset total number of 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 already equal to the preset total number of channels, the channel set between the C1 channel group and the C2 channel group is regarded as the target channel group. When the transmitting end and the receiving end are in communication interaction, the transmitting end transmits 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 communication interaction is realized.
Further alternatively, as shown in fig. 8, step 306 includes:
step 402: the plurality of candidate channel groups are arranged in descending order according to the number of channels of each candidate channel group.
Wherein, the descending order refers to sequentially ordering a plurality of candidate channel groups according to the number of channels from more to less. By arranging in descending order, a channel set with a large number of channels can be quickly selected.
Step 404: and sequentially selecting the alternative channel groups as target channel groups according to the descending order of the channel groups until the total number of channels of the target channel groups is greater than or equal to the total number of preset channels.
The method comprises the steps of sequentially selecting alternative channel groups according to descending order, namely, one or more target channel groups can be rapidly selected from the alternative channel groups with more channels, so that the total number of the channels of the selected one or more target channel groups is larger than or equal to the total number of preset channels, and the frequency hopping requirement of communication interaction between a transmitting end and a receiving end is met.
Further optionally, step 306 further includes:
step 406: if the total number of the channels of the plurality of candidate channel groups is smaller than the total number of the preset channels, a plurality of channels within the range of the preset target frequency band are selected as target channel groups.
The preset target frequency range includes preset alternative frequency hopping frequency ranges, and may also include frequency ranges where the channel set is located. The alternative frequency hopping band may be obtained through preliminary test evaluation, for example, the applicant has found through inventive work that, in general, the channel flatness near the intermediate frequency 2441MHz is better, while the channel flatness of the edge frequency band is generally worse, so that the frequency band range near the intermediate frequency 2441MHz may be selected as the alternative frequency hopping band, for example, the preset 2420MHz-2450MHz frequency band range may be selected as the alternative frequency band range.
Through step 406, it can be ensured that the total number of channels of the selected target channel group meets the frequency hopping requirement of communication interaction between the transmitting end and the receiving end, and normal operation of subsequent interaction is ensured.
Optionally, step 206 further includes:
step 408: and if the empty sets exist in the plurality of frequency band intersections and the number of the empty sets meets the preset condition, selecting a plurality of channels within the preset target frequency band range as a target channel group.
The preset condition may be that the number of the empty sets is greater than a preset threshold, or that the ratio of the number of the empty sets to the total number of the frequency band intersections is greater than a preset percentage. If there are empty sets in the plurality of frequency band intersections and the number of the empty sets satisfies the preset condition, it may be determined that the total number of channels of the channel sets selected in the current frequency band intersection will be smaller than the total number of preset channels, so that a plurality of channels within the preset target frequency band range are selected as the target channel group. The preset target frequency range is referred to the related description in the previous embodiment, and will not be described herein.
Through step 408, it can be ensured that the total number of channels of the selected target channel group meets the frequency hopping requirement of communication interaction between the transmitting end and the receiving end, and normal proceeding of subsequent interaction is ensured.
In some embodiments, the plurality of first channel groups corresponds one-to-one to the plurality of second channel groups, wherein: the frequency range of the aggregate of all channels contained in the plurality of first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the aggregate set of all 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 transmitting 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 signal intensity information of the same channel in each channel group pair according to the transmitting power information and the signal intensity attenuation information.
The description of the one-to-one correspondence between the plurality of first channel groups and the plurality of second channel groups may be referred to the related description in the above embodiment, and will not be repeated here.
Wherein the transmit power information includes a transmit power value of a channel in each first channel group; the signal strength attenuation information includes an amount of attenuation on a link from the antenna end to the demodulated signal when the channels in each second channel group receive the signal. The signal intensity information of the same channel in each channel group pair can be obtained through the transmitting power information and the signal intensity attenuation information, specifically, the signal intensity information is the difference value between the transmitting power value and the attenuation amount of the same channel, namely, the intensity value of the signal which can be received by the receiving end.
Step 504: and acquiring probability distribution corresponding to each channel group according to the plurality of 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 target channel groups.
The probability of occurrence of different signal intensity information in each channel group can be calculated and obtained according to the plurality of signal intensity information, and the larger the probability of occurrence of the signal intensity information with the same value is, the higher the flatness of the transmission power of a plurality of target channels corresponding to the signal intensity information with the same value along with the frequency band change curve is, and the higher the flatness of the signal intensity attenuation along with the frequency band change curve is. Therefore, through the preset probability range, a plurality of channels corresponding to the signal intensity information distributed in the preset probability range are selected as the target channel group, and the fluctuation problem caused by different gains and insertion losses of different frequency bands on hardware can be solved.
Wherein, optionally, the probability distribution is a 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 comprise a plurality of discrete points and/or a plurality of continuous points because the plurality of channels in each channel group may comprise a continuously numbered channel and/or a non-continuously numbered channel.
Optionally, a coordinate origin may be set, the horizontal axis represents a value of signal intensity information of each channel in the same channel group, the horizontal axis scale may determine an average value of a plurality of signal intensity information first, the average value position may be calibrated first, the scale interval is described according to the coordinate origin and the average value position, the vertical axis represents the number of occurrences of each signal intensity information, and the signal intensity information of all channels in the same channel group is mapped into a coordinate system to obtain a normal distribution diagram. When the normal distribution map includes a plurality of discrete points, the normal distribution map may be continuously processed by a conventional technical means.
As shown in fig. 10 (fig. 10 shows only the correlation of the basic parameters μ and σ 2 in the normal distribution), the basic parameters μ and σ 2 in the normal distribution map can be determined from the continuous normal distribution. The parameter μ is the mean of the random variables that follow a normal distribution, and the parameter σ ζ2 is the variance of the random variables, with the normal distribution for each channel group denoted as N (μ, σ ζ2). Under a normal curve, the area in the horizontal axis section (μ - σ, μ+σ) is 68.27%, the area in the horizontal axis section (μ -2σ, μ+2σ) is 95.44%, and the area in the horizontal axis section [0, μ+2σ ] is 97.72%. Wherein the probability that signal strength information adjacent to μ occurs in the same channel group is large, and the probability that signal strength information further from μ is smaller. By presetting a desired probability value n%, signal intensity information with a distribution probability within n% can be selected, and a plurality of corresponding target channels can be obtained. When the probability of the signal intensity information with the same value is larger, the probability of the corresponding transmitting power with the same value and the probability of the signal attenuation are larger, and the flatness of the corresponding transmitting power along with the change curve of the frequency band of the obtained multiple corresponding target channels is higher, and meanwhile, the flatness of the signal intensity attenuation along with the change curve of the frequency band is also higher, so that the fluctuation problem caused by different gains and insertion losses 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 the description of the first frequency band information, the second frequency band information and the frequency band intersection, please refer to the above embodiment, and the description thereof is omitted herein.
Step 604: and acquiring the transmitting power information and the signal strength 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 acquiring the frequency band intersection of each channel group pair in step 602, the transmitting power information and the signal strength attenuation information corresponding to the same frequency band are selected from the plurality of transmitting power information and the plurality of 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 transmitting power information and the signal strength attenuation information corresponding to the same channel in each channel group pair.
Step 606: and acquiring 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 difference operation is performed on the transmitting power information and the signal strength attenuation information corresponding to the same channel, so as to obtain the signal strength information of the same channel.
Optionally, as shown in fig. 12, on the basis of the foregoing embodiment, the frequency hopping channel selection method 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 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.
Step 706: and obtaining the signal intensity attenuation of all channels in the working frequency range of the receiving end.
Step 708: and grouping all channels in 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 transmitting power and the signal strength attenuation amount can be obtained through historical storage data, or can be obtained through testing or calculation, for example, the signal strength attenuation amount can be obtained through calculation according to environmental information of a receiving end receiving link.
When the transmitting power of all channels in the working frequency range of the transmitting end is relatively close, the group number of the first channel group can be one; when the signal intensity attenuation amounts of all channels in the working frequency range of the receiving end are relatively close, the group number of the second channel group can also be one.
The signal intensity attenuation range of a plurality of channels in the receiving end working frequency range is in direct proportion to the transmitting power range of a plurality of channels in the transmitting end working frequency range in the general trend. The preset ranges of the signal intensity attenuation amounts corresponding to the second channel groups of the receiving end can be divided according to the dividing proportion of the preset ranges of the transmitting power of the transmitting end.
By dividing a plurality of channels in the working frequency range of the transmitting end into a plurality of first channel groups, the transmitting power of each channel of each first channel group can be in the same preset range, so that the fluctuation difference value of the transmitting power of the plurality of channels in the same first channel group is smaller, and the problem of transmitting power fluctuation caused by different gains and insertion losses of different frequency ranges on the hardware of the transmitting end 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 smaller, and the problem of fluctuation of the signal intensity attenuation caused by different gains and insertion losses of different frequency ranges on the hardware of the receiving end can be solved.
Optionally, on the basis of the foregoing embodiment, the frequency hopping channel selection method further includes:
step 710: and acquiring critical channels between two adjacent channel groups in the target channel group, and taking the critical channels as isolation channels to isolate channels in different channel groups.
When the transmitting end and the receiving end perform communication interaction, the situation that frequency is mistakenly hopped to other non-target channel groups when frequency hopping is performed in the target channel groups is likely to occur, so that the critical channels between two adjacent channel groups in the target channel groups are acquired, and the critical channels are identified as isolation channels, so that the channels in different channel groups are isolated, the situation that frequency is mistakenly hopped to other non-target channel groups is avoided, the anti-interference performance of communication interaction is improved, and the interaction efficiency is improved.
According to the frequency hopping channel selection method, first parameter information of a plurality of first channel groups in the working frequency range of a transmitting end is obtained, and 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 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; according to the first parameter information and the second parameter information, a plurality of channels with better flatness of a curve of the transmitting power along with the change of the frequency band in the transmitting end can be selected as the transmitting end target channel group, and a plurality of channels with higher flatness of a curve of the signal intensity attenuation along with the change of the frequency band in the receiving end are correspondingly selected as the receiving end target channel group, and meanwhile, the channel frequency bands of the transmitting end target channel group and the receiving end target channel group are ensured to be the same. The frequency hopping channel is limited in the target channel group, so that the fluctuation of signals is reduced when the subsequent transmitting end and the receiving end perform communication interaction, and the interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 chart of a method of communication in one embodiment. The communication method of the present embodiment is applied to the transmitting end, and the description of the transmitting end and the receiving end in the present embodiment is referred to the foregoing embodiments, which are not repeated herein. As shown in fig. 13, the communication method includes steps 802 to 804.
Step 802: the target channel group acquired according to the selection method of the above embodiment generates hopping sequence information.
Step 804: when communication connection is established with the 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.
The frequency hopping sequence information is used for indicating the receiving end to perform 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 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 end establishes communication connection with the receiving end, frequency hopping sequence information is generated according to the related information of the target channel group and is sent to the receiving end, and communication interaction is carried out on the corresponding frequency hopping channel according to the frequency hopping sequence information. Specifically, the transmitting end sends signals on corresponding frequency hopping channels according to the frequency hopping sequence, and the receiving end receives signals on 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, by pre-selecting the target frequency hopping group before communication interaction, 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 acquire the frequency hopping channel sequence, so that the channel selected by frequency hopping cannot be determined when data is received, signals sent by a transmitting end cannot be received, and the data safety of the Bluetooth frequency hopping communication technology is improved.
Optionally, as shown in fig. 14, the communication interaction with the receiving end according to the frequency hopping sequence information includes:
step 902: and sending the first data to the receiving end on the frequency hopping channel according to the frequency hopping sequence information, and receiving the second data fed back by the receiving end.
Step 904: 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 action or unlocking action according to the signal intensity 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 signal strength value RSSI is inversely proportional to the distance under the condition of no interference, and when the distance between the transmitting end and the receiving end is closer, the RSSI value is larger, otherwise, the RSSI value is smaller, so that the distance between the transmitting end and the receiving end can be judged by using the RSSI value. The preset threshold value of the signal strength corresponds to a preset distance value, so that the vehicle-mounted equipment can acquire the actual distance from the mobile electronic equipment according to the signal strength value, and locking or unlocking is performed 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 will not be described herein. Optionally, when the RSSI value is greater than the unlock threshold, performing an unlock action; and when the RSSI value is smaller than the locking threshold value, locking action is executed.
In the communication interaction process of the transmitting end and the receiving end, as the frequency hopping channel is limited in the target channel group, the fluctuation of signals can be reduced, the accuracy of RSSI ranging of the signal strength value is improved, and thus unlocking experience of a user can be improved.
Fig. 15 is a flow chart of a method of communication in one embodiment. The communication method of the present embodiment is applied to the receiving end, and the description of the transmitting end and the receiving end in the present embodiment is referred to the above embodiments, which is not repeated herein. As shown in fig. 15, the communication method includes steps 112 to 114.
Step 112: the target channel group acquired according to the selection method of the above embodiment generates hopping sequence information.
Step 114: when communication connection is established with the transmitting end, the frequency hopping sequence information is sent to the receiving end, and communication interaction is carried out with the transmitting end according to the frequency hopping sequence information.
The frequency hopping sequence information is used for indicating the transmitting end to perform 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 transmitting end to perform frequency hopping interaction on 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 corresponding frequency hopping channels according to the frequency hopping sequence. Specifically, the transmitting end sends signals on the corresponding frequency hopping channels according to the frequency hopping sequence after receiving the frequency hopping sequence information, and the receiving end receives signals on the corresponding frequency hopping channels according to the frequency 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, by pre-selecting the target frequency hopping group before communication interaction, 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 acquire the frequency hopping channel sequence, so that the channel selected by frequency hopping cannot be determined when data is received, signals sent by a transmitting end cannot be received, and the data safety of the Bluetooth frequency hopping communication technology is improved.
Optionally, as shown in fig. 16, the communication interaction with the transmitting end according to the frequency hopping sequence information includes:
Step 122: and receiving the first data sent by the transmitting end on the frequency hopping channel according to the frequency hopping sequence information, and feeding back the second data to the transmitting end.
Step 124: and the receiving and transmitting end executes locking or unlocking according to the signal intensity value fed back by the second data and a 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 strength value RSSI is inversely proportional to the distance under the condition of no interference, and the preset threshold value of the signal strength corresponds to the preset distance value, so that the vehicle-mounted equipment can acquire the actual distance from the mobile electronic equipment according to the signal strength value, and locking or unlocking actions are executed according to the comparison result of the actual distance and the preset threshold value. The mapping relationship between the signal strength value RSSI and the distance may refer to the prior art, and will not be described herein.
In the communication interaction process of the transmitting end and the receiving end, as the frequency hopping channel is limited in the target channel group, the fluctuation of signals can be reduced, the accuracy of RSSI ranging of the signal strength value is improved, and thus unlocking experience of a user can be improved.
It should be noted that, in other embodiments, the step of generating the frequency hopping sequence information according to the target channel group may also be implemented in the relevant step of the embodiment of the selection method, and after generating the frequency hopping sequence information, the information is sent to the transmitting end and the receiving end, so that communication interaction is performed between the transmitting end and the receiving end according to the frequency hopping sequence information.
It should be understood that, although the steps in the flowcharts of fig. 3, 6, 8, 9, and 11-16 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 3, 6, 8, 9, 11-16 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, or the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed in rotation or alternatively with at least some of the other steps or sub-steps or stages of other steps.
Fig. 17 is a block diagram showing the configuration of a frequency hopping channel selecting device according to an embodiment, which is used to perform the relevant steps of the embodiment shown in fig. 3. The frequency hopping channel selection device 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 a plurality of first channel groups within a working frequency band range of the 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 obtaining module 220 is configured to obtain second parameter information of a plurality of second channel groups within the operating frequency band range of the receiving end, where signal intensity attenuation amounts of a plurality of channels in the same second channel group are in the same preset range.
The target channel obtaining module 230 is configured to obtain 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 interact in communication.
Optionally, the plurality of first channel groups corresponds to the plurality of second channel groups one-to-one, wherein: the frequency range of the aggregate of all channels contained in the plurality of first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the aggregate set of all 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:
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 a second determining unit for determining a target channel group according to the number of channels of each candidate channel group.
Optionally, the second determining unit includes:
and the sorting unit is used for arranging the plurality of alternative channel groups in a descending order according to the number of channels of each alternative channel group.
And the descending order selection unit is used for sequentially selecting the alternative channel groups as target channel groups according to the descending order of the descending order until the total number of channels of the target channel groups is greater than or equal to the total number of 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 band range as a target channel group if the total number of the channels of the plurality of alternative channel groups is smaller than the total number of preset channels.
Optionally, the target channel acquisition module 230 further includes:
and the second alternative unit is used for selecting a plurality of channels within a preset target frequency band range as a target channel group if empty sets exist in the plurality of frequency band intersections and the number of the empty sets meets a preset condition.
Optionally, the plurality of first channel groups corresponds to the plurality of second channel groups one-to-one, wherein: the frequency range of the aggregate of all channels contained in the plurality of first channel groups is equal to the working frequency range of the transmitting end; the frequency range of the aggregate set of all 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 transmitting 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 acquisition module 230 further includes:
and the intensity information acquisition unit is used for 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.
The probability distribution unit is used for acquiring probability distribution corresponding to each channel group according to the plurality of 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 target channel groups.
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 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 acquisition apparatus further includes:
a grouping module 310, configured to obtain the transmitting power of all channels within the operating frequency range of the transmitting end; 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 signal intensity attenuation of all channels in the working frequency range of a receiving end; and grouping all channels in 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 acquisition apparatus further includes:
the isolation module 320 is configured to obtain 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.
According to the frequency hopping channel selection device provided by the embodiment, the first information acquisition module is used for acquiring first parameter information of a plurality of first channel groups in the working frequency range of the transmitting end, 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 acquires second parameter information of a plurality of second channel groups in the working frequency range of the receiving end, and signal intensity attenuation amounts of a plurality of channels in the same second channel group are in the same preset range; the target channel acquisition module acquires the target channel group according to the first parameter information and the second parameter information, a plurality of channels with better flatness of the curve of the transmitting power changing along with the frequency band in the transmitting end can be selected as the target channel group of the transmitting end, and a plurality of channels with higher flatness of the curve of the signal intensity attenuation quantity changing along with the frequency band in the receiving end are correspondingly selected as the target channel group of the receiving end, and meanwhile, the channel frequency bands of the target channel group of the transmitting end and the target channel group of the receiving end are ensured to be the same. The frequency hopping channel is limited in the target channel group, so that the fluctuation of signals is reduced when the subsequent transmitting end and the receiving end perform communication interaction, and the interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 is used to perform the 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 acquired by the selecting device according to the above embodiment.
The first interaction module 420 is configured to send the frequency hopping sequence information to the receiving end when the communication connection is established 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 perform frequency hopping interaction on the channels of the target channel group.
According to the communication device provided by the embodiment, the frequency hopping channel is limited 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 interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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, where the communication device is applied to a receiving end and is configured to perform the relevant steps of the embodiment shown in fig. 15. As shown in fig. 20, the communication apparatus includes:
The second sequence generating module 510 is configured to generate the frequency hopping sequence information according to the target channel group acquired by the selecting device according to the above embodiment.
The second interaction module 520 is configured to send the frequency hopping sequence information to the receiving end when the communication connection is established with the transmitting end, and perform communication interaction with the transmitting end according to the frequency hopping sequence information.
The frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on the channels of the target channel group.
According to the communication device provided by the embodiment, the frequency hopping channel is limited 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 interaction accuracy is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 the selection device 130 described in the above embodiment. The selecting means 130 may 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 (fig. 21 illustrates an example where the selecting device 130 is applied to the transmitting end 110) other than the transmitting end 110 and the receiving end 120.
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 frequency 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 the 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 a communication connection is established 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 frequency hopping sequence information is used to instruct the receiving end 120 to perform frequency hopping interaction on channels in the target channel group.
Further optionally, the transmitting end 110 is further configured to send the first data to the receiving end 120 on the frequency hopping channel according to the frequency hopping sequence information, receive the 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 send the frequency hopping sequence information to the transmitting end 110 and perform communication interaction with the transmitting end 110 when a communication connection is established with the transmitting end 110; the frequency hopping sequence information is used to instruct the transmitting end 110 to perform frequency hopping interaction on the channels in the target channel group.
Further optionally, the receiving end 120 is further configured to receive, on a frequency hopping channel, the first data sent by the transmitting end 110 according to the frequency hopping sequence information, and feed back the second data to the transmitting end 110, and receive, by the transmitting end 110, the locking action or the unlocking action according to the signal strength value fed back by the second data and a preset threshold.
In the communication system provided in this embodiment, the frequency hopping channel is limited to the target channel group, so that the signal fluctuation is reduced when the transmitting end 110 and the receiving end 120 perform communication interaction, and the accuracy of the interaction is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, 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 of an embodiment, and as shown in fig. 22, the communication system includes: a transmitting end 110; a receiving end 120; and the communication device 140 as described in the above embodiment. Wherein 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.
In the communication system provided in this embodiment, the frequency hopping channel is limited to the target channel group, so that the signal fluctuation is reduced when the transmitting end 110 and the receiving end 120 perform communication interaction, and the accuracy of the interaction is improved. Meanwhile, by pre-selecting the target frequency hopping group before communication interaction, the time spent on frequency hopping channel selection in the communication interaction process can be reduced, and the communication efficiency is improved.
The above-mentioned division of each module in the selecting device, the communication device and the communication system is only used for illustration, and in other embodiments, the selecting 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 selecting device, the communication device and the communication system.
The specific limitations of the selection device, the communication device, and the communication system can be referred to as the limitations of the frequency hopping channel selection method and the communication method, and are not described herein. The above-described frequency hopping channel selection device, communication device, and respective modules in the communication system may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
The present application also provides a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the selection method as described in the above embodiments and/or to perform the steps of the communication method as described in the above embodiments.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the selection method described in the above embodiments and/or implements the steps of the communication method described in the above embodiments.
Any reference to memory, storage, database, or other medium used in the present application 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, 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 a variety of forms such as SRAM (Static Random Access Memory ), DRAM (Dynamic Random Access Memory, dynamic random access memory), SDRAM (Synchronous Dynamic Random Access Memory ), double data rate DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access memory, double data rate synchronous dynamic random access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory ), SLDRAM (Sync Link Dynamic Random Access Memory, synchronous link dynamic random access memory), RDRAM (Rambus Dynamic Random Access Memory, bus dynamic random access memory), DRDRAM (Direct Rambus Dynamic Random Access Memory, interface dynamic random access memory).
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (28)

1. A method for selecting a frequency hopping channel, 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 the working frequency range of a 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;
acquiring a frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information under the condition that 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, 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;
determining a target channel group according to the channel number of each candidate channel group, wherein the channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction; or alternatively, the process may be performed,
acquiring signal strength information of the same channel in each channel group according to the transmission power information and the signal strength attenuation information under the condition that 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, wherein each channel group comprises the first channel group and the corresponding second channel group;
acquiring probability distribution of a plurality of signal intensity information of each channel group pair, and selecting a plurality of channels corresponding to the signal intensity information distributed in a preset probability range in each probability distribution as the target channel group;
and the channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction.
2. The hopping channel selection method as claimed in 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 aggregate set of all channels contained in the plurality of first channel groups is equal to the working frequency range of the transmitting end;
and the frequency range of the aggregate set of all channels contained in the plurality of second channel groups is equal to the working frequency range of the receiving end.
3. The method of selecting a frequency hopping channel as claimed in claim 1, wherein said determining a target channel group based on the number of channels of each of said candidate channel groups comprises:
selecting at least one of the plurality of candidate channel groups as the target channel group;
the total number of channels of all the target channel groups is larger than the total number of preset channels, and the number of channels of each target channel group is larger than or equal to the number of channels of each unselected alternative channel group.
4. A frequency hopping channel selection method as claimed in claim 3, wherein said selecting at least one of the plurality of said candidate channel groups as the target channel group comprises:
arranging a plurality of alternative channel groups in a descending order according to the number of channels of each alternative channel group;
and sequentially selecting the alternative channel groups as the target channel groups according to the descending order of the channels, until the total number of the channels of the target channel groups is greater than or equal to the total number of preset channels.
5. The method of selecting a frequency hopping channel as claimed in claim 1, wherein said determining a target channel group based on the number of channels of each of said candidate channel groups further comprises:
and if the total number of the channels of the plurality of candidate channel groups is smaller than the total number of preset channels, selecting a plurality of channels within a preset target frequency band range as the target channel group.
6. The method of selecting a frequency hopping channel as claimed in claim 1, further comprising:
and if empty sets exist in the plurality of frequency band intersections 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.
7. The method according to claim 1, wherein in the case where the first parameter information includes transmission power information of each channel in each of the first channel groups, the second parameter information includes signal strength attenuation information of each channel in each of the second channel groups, the first parameter information further includes first frequency band information of each channel in each of the first channel groups, the second parameter information further includes second frequency band information of each channel in each of the second channel groups, and the acquiring signal strength information of the same channel in each channel group based on the transmission power information and the signal strength attenuation information includes:
Acquiring a frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information;
acquiring the transmitting power information and the signal strength 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 strength information of the same channel according to the transmitting power information and the signal strength attenuation information corresponding to the same channel.
8. The method of selecting a frequency hopping channel as claimed in claim 1, wherein the probability distribution is a normal distribution.
9. The method for selecting a frequency hopping channel as claimed in any one of claims 1 to 8, further comprising:
acquiring the transmitting power of all channels in the working frequency range of the transmitting end;
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 signal intensity attenuation of all channels in the working frequency range of the receiving end;
and grouping all channels within the working frequency range of the receiving end according to the signal intensity attenuation amounts of all channels to obtain a plurality of second channel groups.
10. The method for selecting a frequency hopping channel as claimed in any one of claims 1 to 8, further comprising:
and acquiring critical channels between two adjacent channel groups in the target channel group, and taking the critical channels as isolation channels to isolate channels in different channel groups.
11. A communication method applied to a transmitting end, comprising:
generating frequency hopping sequence information according to a target channel group acquired by a selection method according to any one of claims 1 to 10;
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;
the frequency hopping sequence information is used for indicating the receiving end to perform frequency hopping interaction on the channels of the target channel group.
12. The communication method according to claim 11, wherein the communicating with the receiving end according to the hopping sequence information includes:
transmitting 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 action or unlocking action according to the signal intensity value and a preset threshold value.
13. A communication method applied to a receiving end, comprising:
generating frequency hopping sequence information according to a target channel group acquired by a selection method according to any one of claims 1 to 10;
when communication connection is established with a transmitting end, the frequency hopping sequence information is sent to the receiving end, and communication interaction is carried out with the transmitting end according to the frequency hopping sequence information;
the frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on the channels of the target channel group.
14. The communication method according to claim 13, wherein the communicating with the transmitting end according to the hopping sequence information includes:
receiving first data sent by the transmitting end on a frequency hopping channel according to the frequency hopping sequence information, and feeding back second data to the transmitting end;
and receiving a signal intensity value fed back by the transmitting end according to the second data, and executing locking action or unlocking action according to the signal intensity value and a preset threshold value.
15. A frequency hopping channel selection device, comprising:
the first information acquisition module is used for acquiring first parameter information of a plurality of first channel groups in the working frequency range of the transmitting end, 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 the working frequency range of the 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;
a target channel acquisition module, configured to acquire, when 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, a frequency band intersection of each channel group pair according to the first frequency band information and the second frequency band information, where each channel group pair includes 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; determining a target channel group according to the channel number of each candidate channel group, wherein the channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction; or, when the first parameter information includes transmission power information of each channel in each first channel group and the second parameter information includes signal strength attenuation information of each channel in each second channel group, acquiring signal strength information of the same channel in each channel group according to the transmission power information and the signal strength attenuation information, where each channel group pair includes the first channel group and the corresponding second channel group; acquiring probability distribution of a plurality of signal intensity information of each channel group pair, and selecting a plurality of channels corresponding to the signal intensity information distributed in a preset probability range in each probability distribution as the target channel group;
And the channel of the target channel group is used as a frequency hopping channel when the transmitting end and the receiving end are in communication interaction.
16. A communication device for use at 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 device as claimed in claim 15;
the first interaction module is used for sending the frequency hopping sequence information to the 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;
the frequency hopping sequence information is used for indicating the receiving end to perform frequency hopping interaction on the channels of the target channel group.
17. A communication device for use at a receiving end, comprising:
a second sequence generating module, configured to generate frequency hopping sequence information according to the target channel group acquired by the frequency hopping channel selecting device as claimed in claim 15;
the second interaction module is used for sending the frequency hopping sequence information to the receiving end when communication connection is established with the transmitting end, and performing communication interaction with the transmitting end according to the frequency hopping sequence information;
The frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on the channels of the target channel group.
18. A communication system, comprising:
a transmitting end;
a receiving end; a kind of electronic device with high-pressure air-conditioning system
The frequency hopping channel selection device as claimed in claim 15.
19. The communication system according to claim 18, 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;
the frequency hopping sequence information is used for indicating the transmitting end and the receiving end to perform frequency hopping interaction on channels in the target channel group.
20. The communication system according to claim 19, 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, and 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.
21. The communication system according to claim 18, wherein the transmitting end is further configured to generate frequency hopping sequence information according to the target channel group, and when a communication connection is established with the receiving end, send the frequency hopping sequence information to the receiving end and perform communication interaction with the receiving end;
the frequency hopping sequence information is used for indicating the receiving end to perform frequency hopping interaction on channels in the target channel group.
22. The communication system of claim 21, 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 action or an unlocking action according to the signal strength value and a preset threshold.
23. The communication system according to claim 18, wherein the receiving end is 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 perform communication interaction with the transmitting end when a communication connection is established with the transmitting end;
The frequency hopping sequence information is used for indicating the transmitting end to perform frequency hopping interaction on channels in the target channel group.
24. The communication system of claim 23, wherein the receiving end is further configured to receive, on a frequency hopping channel, the first data sent by the transmitting end according to the frequency hopping sequence information, and feed back the 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 action or an unlocking action according to the signal strength value and a preset threshold.
25. A communication system, comprising:
a transmitting end;
a receiving end; a kind of electronic device with high-pressure air-conditioning system
A communication device as claimed in claim 16 or 17.
26. The communication system according to claim 25, 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, and to 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;
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 intensity value and a preset threshold value.
27. Computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the computer program, when executed by the processor, causes the processor to perform the steps of the selection method according to any of claims 1 to 10 and/or to perform the steps of the communication method according to any of claims 11 to 14.
28. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the frequency hopping channel selection method according to any one of claims 1 to 10 and/or the steps of the communication method according to any one of claims 11 to 14.
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 CN114022983A (en) 2022-02-08
CN114022983B true 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)

Families Citing this family (2)

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

Citations (5)

* 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
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
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 (6)

* 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
US9401769B2 (en) * 2013-06-04 2016-07-26 Apple Inc. Methods for calibrating receive signal strength data in wireless electronic devices
JP6897425B2 (en) * 2017-08-25 2021-06-30 富士通株式会社 Received power estimation device, received power estimation method and received power estimation program
CN113595589A (en) * 2021-08-03 2021-11-02 西安电子科技大学 Frequency hopping communication method and device, storage medium, and electronic device
CN114124149B (en) * 2021-12-09 2023-01-31 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system
CN114022983B (en) * 2021-12-09 2023-08-11 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system

Patent Citations (5)

* 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
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
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

Also Published As

Publication number Publication date
WO2023103573A1 (en) 2023-06-15
CN114022983A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN114022983B (en) Frequency hopping channel selection method and device, communication method and device and communication system
CN102045849B (en) Sending method of physical downlink control channel (PDCCH) information as well as determination method and device of PDCCH search space
US20120258663A1 (en) Information processing apparatus, method, and program for performing near field communication with an external device
CN113692046A (en) Label positioning method and device, computer equipment and storage medium
CN109274445B (en) Electronic equipment pairing method and device, electronic equipment and storage medium
CN114124149B (en) Frequency hopping channel selection method and device, communication method and device and communication system
CN111740963B (en) Data communication method and device
US20220263626A1 (en) Method and apparatus for determining position occupied by resource, user equipment, and storage medium
CN109217902B (en) Radio frequency attenuator control method and device based on temperature compensation and reader-writer
CN113472457B (en) Antenna anomaly detection method and device, computer equipment and storage medium
WO2019100244A1 (en) Beam allocation method and apparatus
CN110933703B (en) User detection method, device, equipment and storage medium
CN111614375B (en) Data transmission method, data transmission device, terminal and storage medium
CN115065430B (en) Channel quality determination method, apparatus, device, storage medium, and program product
CN114239042A (en) Industrial data desensitization method, apparatus, computer device and readable storage medium
CN116489802B (en) Method, device, computer equipment and storage medium for adjusting transmission configuration
CN111259105B (en) Map display method, device, system and storage medium
CN110233645B (en) Antenna switching method and device, electronic equipment and computer readable storage medium
CN109451475B (en) Bluetooth pairing code distribution method, intelligent terminal and device with storage function
US20190149181A1 (en) Frequency band selection
US20240089702A1 (en) Wireless communication system, and wireless communication device
CN112856732B (en) Control method of air conditioner and air conditioner
US9775047B2 (en) Communication device and communication control method
EP2384076B1 (en) Method for selecting a transmission channel within a time division multiple access (TDMA) communications system
CN106992840A (en) A kind of method and device of remotely connected total powerstation

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