CN115065430A - Channel quality determination method, device, apparatus, storage medium, and program product - Google Patents
Channel quality determination method, device, apparatus, storage medium, and program product Download PDFInfo
- Publication number
- CN115065430A CN115065430A CN202210898065.7A CN202210898065A CN115065430A CN 115065430 A CN115065430 A CN 115065430A CN 202210898065 A CN202210898065 A CN 202210898065A CN 115065430 A CN115065430 A CN 115065430A
- Authority
- CN
- China
- Prior art keywords
- channel
- information
- interference
- condition
- interference 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000006854 communication Effects 0.000 claims description 75
- 238000004891 communication Methods 0.000 claims description 74
- 238000004590 computer program Methods 0.000 claims description 36
- 238000009499 grossing Methods 0.000 claims description 8
- 230000002452 interceptive effect Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/345—Interference values
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to a channel quality determination method, apparatus, device, storage medium and program product. The method comprises the following steps: acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel; acquiring interference information of the first channel, wherein the interference information is used for representing the interfered condition of the first channel; and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel. The method can improve the accuracy of determining the channel quality.
Description
Technical Field
The present application relates to the field of bluetooth communication technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for determining channel quality.
Background
Bluetooth communication generally occurs in the 2.4G frequency band, however, since the 2.4G frequency band is a free frequency band, besides the 2.4G frequency band used for bluetooth communication, there are other types of short-range communication that also use the 2.4G frequency band, such as wifi communication, infrared communication, etc., which results in the bluetooth communication being susceptible to interference from other types of short-range communication. To avoid interference, bluetooth devices typically need to determine the quality of the bluetooth channel to avoid bad channels of poor quality and operate on good channels of better quality.
However, the existing method for determining the quality of the bluetooth channel has the problem of poor accuracy, which may negatively affect the bluetooth communication.
Disclosure of Invention
In view of the above, it is necessary to provide a channel quality determination method, apparatus, device, storage medium, and program product, which can improve the accuracy of determining the channel quality.
In a first aspect, the present application provides a channel quality determination method. The method comprises the following steps:
acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel; acquiring interference information of the first channel, wherein the interference information is used for representing the interfered condition of the first channel; and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel.
In a second aspect, the present application further provides a channel quality determination apparatus. The device comprises:
a first obtaining module, configured to obtain data receiving information of a first channel, where the data receiving information is used to characterize a receiving status of a data packet on the first channel;
a second obtaining module, configured to obtain interference information of the first channel, where the interference information is used to characterize an interfered condition of the first channel;
a determining module, configured to determine channel quality of the first channel according to the data reception information of the first channel and the interference information of the first channel.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the method of the first aspect when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor implements the method of the first aspect described above.
According to the channel quality determination method, the device, the equipment, the storage medium and the program product, the data receiving information and the interference information of the first channel are obtained, wherein the data receiving information is used for representing the receiving condition of the data packet on the first channel, and the interference information is used for representing the interfered condition of the first channel, and then the channel quality of the first channel is determined by combining the data receiving information and the interference information.
Drawings
Fig. 1 is a schematic diagram of an implementation environment involved with a channel quality determination method in one embodiment;
FIG. 2 is a flow diagram of a method for channel quality determination in one embodiment;
fig. 3 is a flow diagram of obtaining interference information for a first channel in one embodiment;
FIG. 4 is a flow diagram of determining a channel quality of a first channel in one embodiment;
fig. 5 is a flow chart of a channel quality determination method in another embodiment;
fig. 6 is a block diagram of the structure of a channel quality determining apparatus in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Bluetooth communication generally occurs in a 2.4G frequency band, and because of the free property of the 2.4G frequency band, in practical applications, bluetooth communication generally needs to share the 2.4G frequency band with other types of near field communication, for example, wifi communication, infrared communication, etc., which results in that bluetooth communication is easily interfered by other types of near field communication, especially wifi communication, which has a great influence on bluetooth communication in practical applications.
In order to avoid interference, the bluetooth communication introduces an Adaptive Frequency Hopping (AFH) technology, which can determine the quality of a bluetooth channel during the bluetooth communication process, so as to avoid bad channels with poor quality and perform data transmission on good channels with good quality.
Currently, the AFH technology determines the quality of the bluetooth channel by counting the quality of the data packets received by the bluetooth channel and/or the retransmission rate of the data packets, however, such a method has some outstanding problems, one of which is poor accuracy.
In view of this, embodiments of the present application provide a channel quality determination method, apparatus, device, storage medium, and program product, which can improve accuracy of determining a bluetooth channel quality.
It should be noted that, although only the bluetooth channel is taken as an example for description, readers will understand that the channel quality determination method provided in the embodiment of the present application is not limited to determining the channel quality of the bluetooth channel, but may also be applied to determining the channel quality of channels of other communication systems, and the embodiment of the present application is not particularly limited thereto.
Please refer to fig. 1, which illustrates an exemplary implementation environment related to a channel quality determining method according to an embodiment of the present application.
As shown in fig. 1, the implementation environment may include a first computer device 101 and a second computer device 102, wherein the first computer device 101 and the second computer device 102 establish a communication connection, for example, the communication connection may be a bluetooth communication connection.
It should be noted that, under the condition that the first computer device 101 and the second computer device 102 establish the bluetooth communication connection, the first computer device 101 and the second computer device 102 are both electronic devices having a bluetooth communication function, for example, the first computer device 101 and the second computer device 102 may be a personal computer, a notebook computer, a smart phone, a tablet computer, an internet of things device, a portable wearable device, and the like, wherein the internet of things device may be an intelligent sound box, an intelligent television, an intelligent air conditioner, an intelligent vehicle-mounted device, and the like, and the portable wearable device may be an intelligent watch, an intelligent bracelet, a head-mounted device, and the like. The embodiment of the present application does not limit the device types of the first computer device 101 and the second computer device 102.
It should be further noted that, although only two computer devices with communication connection established therebetween, that is, the first computer device 101 and the second computer device 102, are shown in fig. 1, readers will understand that in practical applications, there may be a case where 3 or more than 3 computer devices establish communication connection with each other (for example, the communication connection is bluetooth communication connection), and this case also belongs to the implementation environment related to the technical solution provided in the embodiment of the present application.
Referring to fig. 2, it shows a flowchart of a channel quality determining method provided by an embodiment of the present application, where an execution subject of the channel quality determining method may be a first computer device or a second computer device in the above implementation environment, and for convenience of description, it is referred to as a computer device in the following, and as shown in fig. 2, the channel quality determining method includes the following steps:
Optionally, the data receiving information may specifically indicate a retransmission rate of a data packet on the first channel, a frequency of receiving a good packet on the first channel, or a frequency of receiving a bad packet on the first channel, and the like, where a good packet refers to a good data packet that can be correctly analyzed by the computer device as the name implies, and a bad packet refers to a bad data packet that is a data packet that cannot be correctly analyzed by the computer device and is a concept corresponding to the good packet.
In an optional embodiment of the present application, the first channel may be a bluetooth channel, and may also be a channel of other communication systems, for example, the first channel may be a wifi channel, an infrared communication channel, a zigbee channel, and the like, and the type of the first channel is not specifically limited in this embodiment of the present application. In the following, only the first channel will be described as a bluetooth channel.
In practical applications, a plurality of bluetooth channels exist on the 2.4G frequency band, and the plurality of bluetooth channels can all support bluetooth communication, and in step 201, the computer device can obtain data receiving information of each bluetooth channel.
In the bluetooth communication, the computer devices which are mutually connected with the bluetooth communication have a master-slave part.
In a possible case, the master device may detect a packet reception status of each bluetooth channel, so as to obtain data reception information of each bluetooth channel, and then, the master device may transmit the obtained data reception information of each bluetooth channel to the slave device.
In another possible case, the master device and the slave device may respectively detect the data packet receiving status of each bluetooth channel, so as to respectively obtain the data receiving information of each bluetooth channel, and further, the master device and the slave device may also perform consistency negotiation on the respectively obtained data receiving information through bluetooth communication interaction, so as to make the data receiving information of each bluetooth channel obtained by the master device and the slave device respectively consistent.
In yet another possible case, the slave device may detect a packet reception status of each bluetooth channel to obtain data reception information of each bluetooth channel, and then the slave device may transmit the obtained data reception information of each bluetooth channel to the master device.
Of course, the above-mentioned manner for acquiring the data receiving information is only exemplary, and is not used to limit the protection scope of the technical solution provided in the present application, and in practical applications, any manner capable of acquiring the data receiving information should be included in the protection scope of the present application.
Wherein the interference information is used for characterizing the interfered condition of the first channel. Optionally, the interference information may indicate strength of an interfering signal on the first channel, level information of interference, and the like.
Similarly to the above, taking the first channel as the bluetooth channel as an example, in a possible case, the master device may detect the interference condition of each bluetooth channel, so as to obtain the interference information of each bluetooth channel, and then the master device may send the obtained interference information of each bluetooth channel to the slave device.
In another possible case, the master device and the slave device may respectively detect the interference status of each bluetooth channel, so as to respectively obtain the interference information of each bluetooth channel, and further, the master device and the slave device may perform consistency negotiation on the respective obtained interference information through bluetooth communication interaction, so as to make the interference information of each bluetooth channel obtained by the master device and the slave device respectively consistent.
In yet another possible case, the slave device may detect the interference condition of each bluetooth channel, so as to obtain interference information of each bluetooth channel, and then the slave device may transmit the obtained interference information of each bluetooth channel to the master device.
Of course, the above-mentioned manner for acquiring the interference information is merely exemplary, and is not used to limit the protection scope of the technical solution provided in the present application, and in practical applications, all the manners capable of acquiring the interference information should be included in the protection scope of the present application.
The computer device may determine, by combining the data reception information and the interference information of the first channel, the quality of the first channel, so as to obtain the channel quality of the first channel, where in an alternative embodiment of the present application, the channel quality may be one of a good channel and a bad channel.
It should be noted that the good channel and the bad channel are two opposite concepts, and generally speaking, the good channel has good channel quality, and communication can be normally performed on the good channel, and the bad channel has poor channel quality, and communication is difficult to normally performed on the bad channel.
According to the channel quality determination method provided by the embodiment of the application, the data receiving information and the interference information of the first channel are obtained, wherein the data receiving information is used for representing the receiving condition of the data packet on the first channel, and the interference information is used for representing the interfered condition of the first channel.
In an alternative embodiment of the present application, the computer device may periodically perform a process of acquiring interference information of the first channel. Specifically, taking the first channel as a bluetooth channel as an example, the computer device may periodically perform a process of acquiring interference information of the bluetooth channel after establishing a bluetooth communication connection with other computer devices. On this basis, the computer device may perform step 203 after acquiring the interference information of the first channel each time, that is, perform the step of determining the channel quality of the first channel according to the data reception information of the first channel and the interference information of the first channel.
In the existing AFH technology, if a certain bluetooth channel is determined to be a bad channel, the computer device will not continue to operate on the bluetooth channel, so that even if the bluetooth channel changes from the bad channel to a good channel, the computer device will not reuse the bluetooth channel, which results in poor flexibility of bluetooth communication.
In order to avoid the problem of the existing AFH technology, taking the first channel as the bluetooth channel as an example, in an optional embodiment of the present application, the computer device may perform the step of determining the channel quality of the bluetooth channel after acquiring the interference information of the bluetooth channel each time, and since the computer device may periodically determine the channel quality of the bluetooth channel, the computer device may timely find that a certain bluetooth channel is changed from a bad channel to a good channel, which may enable the bad and good bluetooth channels to be timely discovered and utilized, thereby improving the flexibility of bluetooth communication.
As described above, the interference information may indicate the strength of the interference signal on the first channel, in this case, please refer to fig. 3, which shows an alternative implementation manner for acquiring the interference information of the first channel provided by the embodiment of the present application, and as shown in fig. 3, the implementation manner may include the following steps:
As described above, the computer device may periodically perform the process of obtaining interference information of the first channel, and on this basis, the computer device may periodically scan the first channel to obtain the initial strength of the interference signal on the first channel. Meanwhile, the computer device may also periodically perform steps 302 and 303 described below.
The smoothing process is essentially a statistical process, the interference signal strength obtained after the initial strength is smoothed is a statistical strength, and the statistical process is performed on the initial strength, so that the obtained interference signal strength can avoid the influence of accidental factors, and the judgment of the interference condition of the first channel is prevented from being influenced by the conditions that the interference signal strength is suddenly increased and suddenly decreased.
As described above, the computer device may determine the quality of the first channel by combining the data reception information and the interference information of the first channel, so as to obtain the channel quality of the first channel, and on this basis, the embodiment of the present application will provide an exemplary manner for determining the channel quality of the first channel, where the manner is: and under the condition that the data receiving information of the first channel does not meet the first condition, determining the channel quality of the first channel according to whether the interference information of the first channel meets the second condition.
In practical applications, the quality of the packet reception status cannot completely and accurately reflect the channel quality because the packet reception status is affected by the distance between the data transceiver devices, the presence or absence of obstacles between the data transceiver devices, and the like in addition to the channel quality, and particularly, for short-distance communication such as bluetooth communication, the distance between the data transceiver devices, the presence or absence of obstacles between the data transceiver devices, and the like greatly affect the channel quality.
In view of the above factors, in the above-provided alternative way of determining channel quality, in the case that the data reception information of the first channel does not satisfy the first condition, the computer device may determine the channel quality of the first channel according to whether the interference information of the first channel satisfies the second condition, so that the two dimensions of the packet reception condition of the first channel and the interference condition of the first channel are sufficiently combined to determine whether the channel quality of the first channel is good or bad, and the accuracy of determining the channel quality of the first channel may be improved.
Optionally, in an optional implementation manner of the present application, if the data receiving information of the first channel satisfies the first condition, the first channel may be directly determined to be a good channel, but if the data receiving information of the first channel does not satisfy the first condition, the first channel is not directly determined to be a bad channel, but needs to be further determined in combination with the interference information of the first channel, that is, if the interference information of the first channel satisfies the second condition, even if the data receiving information of the first channel does not satisfy the first condition, the first channel is considered to be a good channel, and only if the data receiving information of the first channel does not satisfy the first condition, and the interference information of the first channel does not satisfy the second condition, the first channel is considered to be a bad channel.
It should be noted that the first condition and the second condition in the embodiment of the present application may be set according to specific contents of the data reception information and the interference information, and the general principle is that the first condition is set according to that the packet reception condition of the first channel is better than a certain packet reception condition, and the second condition is set according to that the interference condition of the first channel is better than a certain interference condition.
Taking as an example that the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and the interference information is used to indicate an interfering signal strength on the first channel, in this case, the first condition includes: the frequency of successfully receiving data on the first channel is greater than a preset frequency threshold, and the second condition comprises: the strength of the interference signal on the first channel is less than a preset strength threshold.
Referring to fig. 4, based on the above definition of the first condition and the second condition, the exemplary manner of determining the channel quality of the first channel provided above may include the following steps:
After obtaining the channel quality of the first channel, in this embodiment of the present application, the computer device may further perform the following steps: and judging whether a second channel corresponding to the second communication system is occupied or not according to the channel quality of the plurality of first channels.
It should be noted that the first channel and the second channel both operate in the same frequency band, for example, the frequency band may be a 2.4G frequency band, and the plurality of first channels are located in the frequency band corresponding to the second channel, in other words, in an alternative embodiment of the present application, the computer device may determine whether the second channel is occupied according to the signal quality of the plurality of first channels in the frequency band corresponding to the second channel.
In an alternative embodiment of the present application, the first channel may be a bluetooth channel, and the second channel may be a channel used for other types of short-range communication in the 2.4G band besides bluetooth communication, for example, the second channel may be a wifi channel. Hereinafter, the description will be given by taking only the first channel as a bluetooth channel and the second channel as a wifi channel as an example.
As described above, since the 2.4G band is a free band, the 2.4G band is shared by bluetooth communication and other types of short-range communication, and in order to avoid the influence of other types of short-range communication on bluetooth communication, it is necessary to comprehensively determine the channel quality of the first channel in combination with the channel (i.e., the second channel) used by other types of short-range communication.
In order to achieve the purpose of comprehensively judging the channel quality of the first channel in combination with the second channel, in an optional embodiment of the present application, the computer device may judge whether the second channel is occupied according to the signal quality of a plurality of first channels in a frequency band corresponding to the second channel, and then, the computer device may perform secondary judgment on the channel quality of a plurality of first channels in the frequency band corresponding to the second channel according to whether the second channel is occupied, so as to finally obtain the channel quality of the plurality of first channels.
Optionally, the computer device may determine whether the second channel is occupied according to the channel quality of the plurality of first channels and a preset threshold.
Specifically, the computer device may determine a target number of bad channels in the plurality of first channels according to channel qualities of the plurality of first channels in a frequency band corresponding to the second channel, and then the computer device may determine whether the second channel is occupied according to whether the target number is greater than the preset threshold.
Generally, if the target number is larger (that is, the target number is greater than the preset number threshold), it indicates that the bad first channel is larger in the frequency band corresponding to the second channel, which generally indicates that the second channel is exactly the channel currently used by other types of short-range communication (for example, wifi communication), that is, the second channel is occupied, whereas if the target number is smaller (that is, the target number is less than or equal to the preset number threshold), it indicates that the bad first channel is smaller in the frequency band corresponding to the second channel, which generally indicates that there is no data transmission of other types of short-range communication (for example, wifi communication) in the second channel, that is, the second channel is unoccupied.
When the second channel is occupied, all the first channels in the frequency band corresponding to the second channel can be regarded as bad channels, and even the first channel determined as a good channel according to the data receiving information and the interference information can also be regarded as a bad channel, so that the interference of other types of short-distance communication can be avoided in the Bluetooth communication, and the quality of the Bluetooth communication can be ensured.
When the second channel is not occupied, the channel quality determined by the first channel in the frequency band corresponding to the second channel based on the data reception information and the interference information may be used as the final channel quality of the first channel, so that the bluetooth communication may be performed on a good channel therein.
In order to make the reader easily understand the technical solution provided in the embodiment of the present application, the embodiment of the present application will be described below with reference to the specific content in fig. 5. As shown in fig. 5:
Step 502, obtaining a frequency of successfully receiving data on the first channel.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a channel quality determining apparatus for implementing the above-mentioned channel quality determining method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so the specific limitations in one or more embodiments of the channel quality determining apparatus provided below may refer to the limitations on the channel quality determining method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 6, there is provided a channel quality determination apparatus 600, including: a first obtaining module 601, a second obtaining module 602, and a determining module 603.
The first obtaining module 601 is configured to obtain data receiving information of the first channel, where the data receiving information is used to characterize a receiving condition of a data packet on the first channel.
The second obtaining module 602 is configured to obtain interference information of the first channel, where the interference information is used to characterize an interfered condition of the first channel.
The determining module 603 is configured to determine the channel quality of the first channel according to the data reception information of the first channel and the interference information of the first channel.
In an optional embodiment of the present application, the second obtaining module 602 is specifically configured to: interference information of a first channel is periodically acquired.
In an optional embodiment of the present application, the determining module 603 is specifically configured to: and determining the channel quality of the first channel according to whether the interference information of the first channel satisfies a second condition or not on the condition that the data receiving information of the first channel does not satisfy the first condition.
In an alternative embodiment of the present application, the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and the interference information is used to indicate an interference signal strength on the first channel;
the first condition includes: the frequency is greater than a preset frequency threshold, and the second condition includes: the interference signal strength is less than a preset strength threshold.
In an optional embodiment of the present application, the second obtaining module 602 is specifically configured to: scanning the first channel to obtain the initial strength of an interference signal on the first channel; respectively smoothing the initial intensity of the interference signal on the first channel to obtain the intensity of the interference signal on the first channel; and taking the strength of the interference signal on the first channel as the interference information of the first channel.
In an optional embodiment of the present application, the determining module 603 is further configured to: and judging whether a second channel corresponding to the second communication system is occupied or not according to the channel quality of the plurality of first channels.
In an optional embodiment of the present application, the determining module 603 is further configured to: and judging whether the second channel is occupied or not according to the channel quality of the first channels and a preset threshold value.
The various modules in the channel quality determination apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 7. The computer device comprises a processor, a memory, a Bluetooth communication component and a communication interface which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The bluetooth communication assembly of the computer device is used for realizing a bluetooth communication function, the communication interface of the computer device is used for carrying out wired or wireless communication with external devices, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a channel quality determination method.
Optionally, the computer device may further include a display screen and an input device, where the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, a key, a trackball or a touch pad arranged on a casing of the computer device, or an external keyboard, a touch pad or a mouse, and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel; acquiring interference information of a first channel, wherein the interference information is used for representing the interfered condition of the first channel; and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel.
In one embodiment, the processor, when executing the computer program, further performs the steps of: interference information of a first channel is periodically acquired.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and under the condition that the data receiving information of the first channel does not meet the first condition, determining the channel quality of the first channel according to whether the interference information of the first channel meets the second condition.
In one embodiment, the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and the interference information is used to indicate an interfering signal strength on the first channel;
the first condition includes: the frequency is greater than a preset frequency threshold, and the second condition includes: the interference signal strength is less than a preset strength threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: scanning the first channel to obtain the initial strength of an interference signal on the first channel; respectively smoothing the initial intensity of the interference signal on the first channel to obtain the intensity of the interference signal on the first channel; and taking the strength of the interference signal on the first channel as the interference information of the first channel.
In one embodiment, the processor when executing the computer program further performs the steps of: and judging whether a second channel corresponding to the second communication system is occupied or not according to the channel quality of the plurality of first channels.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and judging whether the second channel is occupied or not according to the channel quality of the first channels and a preset threshold value.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel; acquiring interference information of a first channel, wherein the interference information is used for representing the interfered condition of the first channel; and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: interference information of a first channel is periodically acquired.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that the data receiving information of the first channel does not meet the first condition, determining the channel quality of the first channel according to whether the interference information of the first channel meets the second condition.
In one embodiment, the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and the interference information is used to indicate an interfering signal strength on the first channel;
the first condition includes: the frequency is greater than a preset frequency threshold, and the second condition includes: the interference signal strength is less than a preset strength threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of: scanning the first channel to obtain the initial strength of an interference signal on the first channel; respectively smoothing the initial intensity of the interference signal on the first channel to obtain the intensity of the interference signal on the first channel; and taking the strength of the interference signal on the first channel as the interference information of the first channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether a second channel corresponding to the second communication system is occupied or not according to the channel quality of the plurality of first channels.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether the second channel is occupied or not according to the channel quality of the first channels and a preset threshold value.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel; acquiring interference information of a first channel, wherein the interference information is used for representing the interfered condition of the first channel; and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: interference information of a first channel is periodically acquired.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that the data receiving information of the first channel does not meet the first condition, determining the channel quality of the first channel according to whether the interference information of the first channel meets the second condition.
In one embodiment, the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and the interference information is used to indicate an interfering signal strength on the first channel;
the first condition includes: the frequency is greater than a preset frequency threshold, and the second condition includes: the interference signal strength is less than a preset strength threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of: scanning the first channel to obtain the initial strength of an interference signal on the first channel; respectively smoothing the initial intensity of the interference signal on the first channel to obtain the intensity of the interference signal on the first channel; and taking the strength of the interference signal on the first channel as the interference information of the first channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether a second channel corresponding to the second communication system is occupied or not according to the channel quality of the plurality of first channels.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether the second channel is occupied or not according to the channel quality of the first channels and a preset threshold value.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (11)
1. A method for determining channel quality, the method comprising:
acquiring data receiving information of a first channel, wherein the data receiving information is used for representing the receiving condition of a data packet on the first channel;
acquiring interference information of the first channel, wherein the interference information is used for representing the interfered condition of the first channel;
and determining the channel quality of the first channel according to the data receiving information of the first channel and the interference information of the first channel.
2. The method of claim 1, further comprising:
interference information of the first channel is periodically acquired.
3. The method of claim 1, wherein the determining the channel quality of the first channel according to the data reception information of the first channel and the interference information of the first channel comprises:
determining the channel quality of the first channel according to whether the interference information of the first channel satisfies a second condition or not, if the data reception information of the first channel does not satisfy the first condition.
4. The method of claim 3, wherein the data reception information is used to indicate a frequency at which data is successfully received on the first channel, and wherein the interference information is used to indicate an interfering signal strength on the first channel;
the first condition includes: the frequency is greater than a preset frequency threshold, and the second condition includes: the interference signal strength is less than a preset strength threshold.
5. The method of claim 4, further comprising:
scanning the first channel to obtain the initial strength of an interference signal on the first channel;
smoothing the initial intensity of the interference signal on the first channel to obtain the intensity of the interference signal on the first channel;
and taking the interference signal strength on the first channel as the interference information of the first channel.
6. The method according to any one of claims 1 to 5, wherein the first channel is a channel corresponding to a first communication system, and the method further comprises:
and judging whether a second channel corresponding to a second communication system is occupied or not according to the channel quality of the plurality of first channels.
7. The method according to claim 6, wherein said determining whether a second channel corresponding to a second communication system is occupied according to channel qualities of a plurality of first channels comprises:
and judging whether the second channel is occupied or not according to the channel quality of the first channels and a preset threshold value.
8. An apparatus for determining channel quality, the apparatus comprising:
a first obtaining module, configured to obtain data receiving information of a first channel, where the data receiving information is used to characterize a receiving status of a data packet on the first channel;
a second obtaining module, configured to obtain interference information of the first channel, where the interference information is used to characterize an interfered condition of the first channel;
a determining module, configured to determine channel quality of the first channel according to the data reception information of the first channel and the interference information of the first channel.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210898065.7A CN115065430B (en) | 2022-07-28 | 2022-07-28 | Channel quality determination method, apparatus, device, storage medium, and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210898065.7A CN115065430B (en) | 2022-07-28 | 2022-07-28 | Channel quality determination method, apparatus, device, storage medium, and program product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115065430A true CN115065430A (en) | 2022-09-16 |
CN115065430B CN115065430B (en) | 2024-05-24 |
Family
ID=83205782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210898065.7A Active CN115065430B (en) | 2022-07-28 | 2022-07-28 | Channel quality determination method, apparatus, device, storage medium, and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115065430B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1404071A2 (en) * | 2002-09-30 | 2004-03-31 | Intel Corporation | Rapid channel characterization for bluetooth co-existence |
US20070183338A1 (en) * | 2006-02-06 | 2007-08-09 | Manoneet Singh | Method and apparatus for detecting interference in a wireless communication system |
CN101379783A (en) * | 2006-02-06 | 2009-03-04 | 高通股份有限公司 | Method and apparatus for detecting interference in a wireless communication system |
CN101779502A (en) * | 2007-08-10 | 2010-07-14 | 高通股份有限公司 | Autonomous adaptation of transmit power |
CN105553616A (en) * | 2015-12-18 | 2016-05-04 | 大唐联诚信息系统技术有限公司 | Channel quality indicator selection method as well as adaptive modulation and coding method and device |
US20170063513A1 (en) * | 2014-05-07 | 2017-03-02 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for Reporting Channel Quality Indicators in a Wireless Device and a Radio Network Node |
CN107733549A (en) * | 2016-08-10 | 2018-02-23 | 华为技术有限公司 | Channel quality information computational methods, apparatus and system |
US20200329506A1 (en) * | 2018-01-31 | 2020-10-15 | Zte Corporation | Information transmission method, and base station, terminal and computer-readable storage medium |
-
2022
- 2022-07-28 CN CN202210898065.7A patent/CN115065430B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1404071A2 (en) * | 2002-09-30 | 2004-03-31 | Intel Corporation | Rapid channel characterization for bluetooth co-existence |
US20070183338A1 (en) * | 2006-02-06 | 2007-08-09 | Manoneet Singh | Method and apparatus for detecting interference in a wireless communication system |
CN101379783A (en) * | 2006-02-06 | 2009-03-04 | 高通股份有限公司 | Method and apparatus for detecting interference in a wireless communication system |
CN101779502A (en) * | 2007-08-10 | 2010-07-14 | 高通股份有限公司 | Autonomous adaptation of transmit power |
US20170063513A1 (en) * | 2014-05-07 | 2017-03-02 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for Reporting Channel Quality Indicators in a Wireless Device and a Radio Network Node |
EP3140940A1 (en) * | 2014-05-07 | 2017-03-15 | Telefonaktiebolaget LM Ericsson (publ) | Method for reporting channel quality indicators in a wireless device and a radio network node |
CN105553616A (en) * | 2015-12-18 | 2016-05-04 | 大唐联诚信息系统技术有限公司 | Channel quality indicator selection method as well as adaptive modulation and coding method and device |
CN107733549A (en) * | 2016-08-10 | 2018-02-23 | 华为技术有限公司 | Channel quality information computational methods, apparatus and system |
US20200329506A1 (en) * | 2018-01-31 | 2020-10-15 | Zte Corporation | Information transmission method, and base station, terminal and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115065430B (en) | 2024-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021142609A1 (en) | Information reporting method, apparatus and device, and storage medium | |
US10803638B2 (en) | Efficient display of data points in a user interface | |
US10491548B2 (en) | Techniques to configure bot flow | |
CN107396287A (en) | The choosing method and device of a kind of working frequency points | |
CN107277917A (en) | Communication frequency system of selection, device, storage medium and mobile terminal | |
US20160374092A1 (en) | Techniques for determining channel allocations | |
WO2023103573A1 (en) | Frequency hopping channel selection method and apparatus, communication method and apparatus, and communication system | |
EP2876550A1 (en) | Methods, apparatuses and computer program products for utilizing subtyping to support evolution of data types | |
US11621950B2 (en) | Data processing methods, servers, client devices and media for security authentication | |
WO2015027167A2 (en) | Techniques for a common object model | |
US8180298B2 (en) | Method and apparatus to minimize interference among co-located multiple wireless devices | |
CN109992399A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium | |
CN106529236A (en) | Unlocking method, apparatus and system | |
CN113518431B (en) | Communication processing method, terminal, device and storage medium | |
CN115065430A (en) | Channel quality determination method, device, apparatus, storage medium, and program product | |
US20150135303A1 (en) | Techniques to rate-adjust data usage with a virtual private network | |
CN110941683B (en) | Method, device, medium and electronic equipment for acquiring object attribute information in space | |
CN106507268A (en) | The method and device of dynamic authentication in a kind of mobile phone removal of home | |
US20200004454A1 (en) | Technique for memory management on service oriented architecture | |
US11086845B1 (en) | Techniques for database versioning | |
CN117453759B (en) | Service data processing method, device, computer equipment and storage medium | |
CN116339899B (en) | Desktop icon management method and device based on artificial intelligence | |
US20130339502A1 (en) | Techniques to manage transitions between private and public networks | |
EP4060542B1 (en) | System and method for data anonymization using optimization techniques | |
US20230273815A1 (en) | Method For Controlling Data Flow |
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 |