TWI477098B - Detection device for detecting channel status and its detection method - Google Patents
Detection device for detecting channel status and its detection method Download PDFInfo
- Publication number
- TWI477098B TWI477098B TW098119819A TW98119819A TWI477098B TW I477098 B TWI477098 B TW I477098B TW 098119819 A TW098119819 A TW 098119819A TW 98119819 A TW98119819 A TW 98119819A TW I477098 B TWI477098 B TW I477098B
- Authority
- TW
- Taiwan
- Prior art keywords
- signals
- channel
- candidate
- signal strength
- strength value
- Prior art date
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本發明係關於無線通信技術,尤其係關於使用無線通信技術之照明系統。The present invention relates to wireless communication technologies, and more particularly to illumination systems that use wireless communication technologies.
無線(wireless)連接由於安裝靈活及容易使用等優點而正成為照明控制系統中一種非常重要的連接方式。然而,目前在照明控制系統中並沒有專用無線頻帶用於照明控制信號之傳輸。位於2.4GHz之ISM(Industrial,Scientific and Medical)頻帶因其為全球開放之公用頻帶而在許多商用照明控制系統中得到廣泛使用。但除了照明應用外,該2.4GHz ISM頻帶亦被用於基於WiFiTM 、ZigBeeTM 、BluetoothTM 等無線協定之網際網路連接、樓宇自動化、個人區域網路等眾多應用中。Wireless connections are becoming a very important connection in lighting control systems due to their flexibility and ease of use. However, there is currently no dedicated wireless frequency band in the lighting control system for the transmission of lighting control signals. The 2.4 GHz ISM (Industrial, Scientific and Medical) band is widely used in many commercial lighting control systems due to its open global public frequency band. Lighting applications but in addition, was also used for the 2.4GHz ISM band Internet connection based WiFi TM, ZigBee TM, Bluetooth TM wireless protocol, the number of building automation applications, like a personal area network.
由於2.4GHz ISM頻帶可能同時為不同系統所使用,因此,當無線照明控制系統使用2.4GHz ISM頻帶中某一頻段(通道)進行照明控制信號無線傳輸時,其他同樣佔用該通道之應用(例如,採用IEEE802.11之無線區域網路)會對該照明控制信號之無線傳輸造成干擾。雖然無線照明控制系統在偵測到干擾時可動態地切換至另一通道上進行無線照明控制,但通道之切換會導致該照明控制系統信號傳輸中斷,例如會令一個動態變換之照明圖案產生短暫停頓,從而影響使用者之視覺體驗。Since the 2.4 GHz ISM band may be used by different systems at the same time, when the wireless lighting control system uses a certain frequency band (channel) in the 2.4 GHz ISM band for wireless transmission of lighting control signals, other applications that also occupy the channel (for example, The wireless local area network using IEEE802.11 will cause interference to the wireless transmission of the lighting control signal. Although the wireless lighting control system can dynamically switch to another channel for wireless lighting control when the interference is detected, the switching of the channel may cause the signal transmission of the lighting control system to be interrupted, for example, causing a dynamically changing illumination pattern to be short-lived. Pause, which affects the user's visual experience.
基於此,在無線照明控制系統開始傳輸照明控制信號前,應該儘可能選擇一個未受干擾之通道(即該通道未被其他系統所佔用)以用於照明控制信號之無線傳輸。目前,一種偵測某一通道是否為受干擾通道之常用方法係藉由在一個預定時間段內估算該通道上信號之平均接收信號強度值,若所估算之平均接收信號強度值低於一預定臨限值,則認為該通道為未受干擾之通道,否則,該通道即為受干擾通道。然而,藉由該方法所獲得之偵測結果僅表明該通道在被偵測之預定時間段內係未受干擾。Based on this, before the wireless lighting control system begins to transmit the lighting control signal, an undisturbed channel should be selected (ie, the channel is not occupied by other systems) for wireless transmission of the lighting control signal. At present, a common method for detecting whether a channel is an interfered channel is to estimate an average received signal strength value of a signal on the channel within a predetermined period of time, if the estimated average received signal strength value is lower than a predetermined value. For the threshold, the channel is considered to be an undisturbed channel; otherwise, the channel is the interfered channel. However, the detection result obtained by the method only indicates that the channel is undisturbed for a predetermined period of time to be detected.
以採用IEEE802.11之無線區域網路為干擾源為例,當無線照明控制系統使用上述方法偵測一個通道是否為受干擾通道時,若在該偵測時間段內一個佔用該通道之採用IEEE802.11之無線區域網路中沒有資料封包傳輸或僅有少量資料封包傳輸,則該無線照明控制系統估算出之平均接收信號強度值會很小,從而誤認為該通道為未受干擾之通道,並開始使用該通道進行照明控制信號之無線傳輸。但在以後某一段時間內,一旦該採用IEEE802.11之無線區域網路中開始傳輸資料封包,則會對同樣正在使用該通道進行照明控制信號傳輸之無線照明控制系統造成干擾。Taking the wireless local area network using IEEE802.11 as an interference source, when the wireless lighting control system uses the above method to detect whether a channel is an interfered channel, if one channel occupying the channel is used in the detection period, IEEE802 is adopted. If there is no data packet transmission or only a small amount of data packet transmission in the wireless local area network of .11, the wireless receiving control system estimates that the average received signal strength value will be small, and thus the channel is considered as an undisturbed channel. And use this channel to wirelessly transmit lighting control signals. However, in a certain period of time, once the data packet is started to be transmitted in the IEEE802.11 wireless local area network, interference will be caused to the wireless lighting control system that is also using the channel for lighting control signal transmission.
針對先前技術中之上述問題,提供一種在一個無線網路中沒有資料封包傳輸或僅有少量資料封包傳輸的情形下亦能夠偵測出該無線網路之存在之偵測設備及其偵測方法。For the above problems in the prior art, a detection device capable of detecting the presence of the wireless network in the case where there is no data packet transmission or only a small amount of data packet transmission in a wireless network and a detection method thereof .
儘管藉由一個專用終端機可容易地偵測出對應之無線網路之存在,例如採用支持IEEE802.11之無線區域網路之終端機可容易地偵測出採用IEEE802.11之無線區域網路之存在,但將該專用終端機僅用於偵測該無線網路是否存在的成本相對昂貴。特別地,在大規模無線照明控制系統中,若每個照明位置均安裝一個例如支持IEEE802.11協定之專用終端機,則該無線照明控制系統設計及部署之成本將會大大提高。Although the presence of the corresponding wireless network can be easily detected by a dedicated terminal, for example, a wireless local area network using IEEE802.11 can be easily detected by a terminal supporting a wireless local area network of IEEE802.11. It exists, but the cost of using the dedicated terminal only to detect the presence of the wireless network is relatively expensive. In particular, in a large-scale wireless lighting control system, if a dedicated terminal such as the IEEE 802.11 protocol is installed for each lighting location, the cost of designing and deploying the wireless lighting control system will be greatly increased.
根據IEEE802.11標準,一個採用IEEE802.11之無線區域網路建立後,該無線區域網路中之存取點(access point,AP)會週期性或準週期性地廣播信標訊框(beacon frame)。基於此,在一個採用IEEE802.11之無線區域網路中沒有資料封包傳輸或僅有少量資料封包傳輸的情形下,偵測設備可藉由在一個預定義時間段內監測一個通道以偵測該通道上之多個信號,然後藉由判斷該多個信號中之部分信號是否具有週期性來判斷該通道是否有週期性之信標出現,由此推斷該通道是否被該採用IEEE802.11之無線區域網路所佔用,即該通道是否為受干擾通道。特別地,對於一個無線照明控制系統而言,若偵測設備偵測出一個通道為受干擾通道,則該偵測設備可選擇另一不受干擾之通道用於無線照明控制系統進行照明控制信號之無線傳輸。需要說明,本文所指「週期性」不僅包括時間意義上嚴格的「強週期性」,亦包括時間意義上允許一定浮動範圍之「弱週期性」。另外,本文所指之「週期性」針對接收到具有一定能量之無線信號所對應之時刻,不應被限定於針對接收到某一特定信號所對應之時刻。According to the IEEE 802.11 standard, after an IEEE802.11 wireless local area network is established, an access point (AP) in the wireless local area network periodically or quasi-periodly broadcasts a beacon frame (beacon). Frame). Based on this, in a case where there is no data packet transmission or only a small amount of data packet transmission in a wireless local area network adopting IEEE802.11, the detecting device can detect the channel by monitoring one channel within a predefined time period. a plurality of signals on the channel, and then determining whether the channel has a periodic beacon by determining whether a part of the plurality of signals has periodicity, thereby inferring whether the channel is wirelessly using the IEEE 802.11 The area network is occupied, that is, whether the channel is an interfered channel. In particular, for a wireless lighting control system, if the detecting device detects that one channel is an interfered channel, the detecting device can select another undisturbed channel for the wireless lighting control system to perform lighting control signals. Wireless transmission. It should be noted that the term “periodicity” as used herein refers not only to the “strong periodicity” in the sense of time, but also to the “weak periodicity” of a certain floating range in the sense of time. In addition, the term "periodic" as used herein refers to the moment at which a wireless signal having a certain energy is received, and should not be limited to the time corresponding to receiving a particular signal.
需要說明,以上僅以採用IEEE802.11之無線區域網路為干擾源為例,一般熟習此項技術者應能理解,若無線照明控制系統所用之通道被採用其他無線傳輸技術之網路所佔用,而該網路亦會週期性地廣播信號,如類似信標訊框之控制信令,則藉由使用本發明之偵測設備及其偵測方法同樣可偵測出該通道之狀態,即該通道是否為受干擾通道。用於偵測該其他無線傳輸技術及/或相應無線網路之偵測設備及其偵測方法同樣落在本發明之保護範疇內。It should be noted that the above only uses the wireless local area network using IEEE802.11 as an interference source, and those skilled in the art should be able to understand that if the channel used by the wireless lighting control system is occupied by a network using other wireless transmission technologies. The network also periodically broadcasts signals, such as control signaling similar to the beacon frame, and the state of the channel can also be detected by using the detecting device of the present invention and the detecting method thereof. Whether the channel is an interfered channel. The detecting device for detecting the other wireless transmission technology and/or the corresponding wireless network and the detecting method thereof also fall within the protection scope of the present invention.
基於此,根據本發明之一實施例,提供一種用於偵測通道狀態之偵測設備,該偵測設備包括:接收器,用於在一個預定義時間段內監測一個通道,以獲取該通道上多個信號;判斷裝置,用於判斷該多個信號中之部分信號是否具有週期性,從而判定該通道是否為受干擾通道。Based on this, according to an embodiment of the invention, a detecting device for detecting a channel state is provided, the detecting device comprising: a receiver, configured to monitor a channel for a predefined time period to obtain the channel And a plurality of signals; determining means for determining whether a part of the plurality of signals has periodicity, thereby determining whether the channel is an interfered channel.
根據本發明之另一實施例,提供一種用於偵測通道狀態之方法,該方法包括步驟:a.在一個預定義時間段內監聽一個通道,以獲取該通道上之多個信號;b.判斷該多個信號中之部分信號是否具有週期性;c.根據該部分信號是否具有週期性,判定該通道是否為受干擾通道。According to another embodiment of the present invention, a method for detecting a channel state is provided, the method comprising the steps of: a. listening to a channel for a predefined period of time to obtain a plurality of signals on the channel; b. Determining whether a part of the plurality of signals has a periodicity; c. determining whether the channel is an interfered channel according to whether the partial signal has periodicity.
由於本發明實施例中所涉及之偵測設備及其偵測方法利用無線網路(例如採用IEEE802.11之無線區域網路)週期性地廣播信號,例如類似信標訊框之控制信令,此特性藉由在一個預定義時間段內監測一個通道以偵測該通道上之多個信號,然後判斷該多個信號中之部分信號是否具有週期性,從而判定該通道是否為受干擾通道,而非如先前技術中所涉及藉由在一個預定時間段內估算一個通道上信號之平均接收信號強度值是否低於一預定臨限值來判斷該通道是否為受干擾通道。因此,即使無線網路中沒有資料封包傳輸或僅有少量資料封包傳輸,本發明實施例中之偵測裝置及其偵測方法亦能夠偵測到該無線網路之存在,從而判斷出某一通道為受干擾通道。The detecting device and the detecting method thereof according to the embodiments of the present invention periodically broadcast a signal, such as control signaling similar to a beacon frame, by using a wireless network (for example, a wireless area network using IEEE802.11). This feature determines whether the channel is a victim channel by monitoring a channel for a predefined period of time to detect a plurality of signals on the channel, and then determining whether a portion of the signals are periodic. Rather than determining whether the channel is an interfered channel by estimating whether the average received signal strength value of the signal on one channel is below a predetermined threshold for a predetermined period of time as in the prior art. Therefore, even if there is no data packet transmission or only a small amount of data packet transmission in the wireless network, the detecting apparatus and the detecting method thereof in the embodiment of the present invention can detect the existence of the wireless network, thereby determining a certain The channel is the interfered channel.
另外,使用本發明實施例中所涉及之偵測設備及其偵測方法,可有效地降低偵測成本。特別地,藉由將該偵測設備及其偵測方法應用於無線照明控制系統中不僅可避免照明控制信號無線傳輸過程中可能遇到的干擾問題而且亦可有效地控制無線照明控制系統之設計成本。In addition, the detection device and the detection method thereof in the embodiments of the present invention can effectively reduce the detection cost. In particular, by applying the detecting device and the detecting method thereof to the wireless lighting control system, not only the interference problem that may be encountered in the wireless transmission process of the lighting control signal but also the design of the wireless lighting control system can be effectively controlled. cost.
下文中將以本發明在無線照明控制系統中之應用為例詳細說明本發明。一般熟習此項技術者應能理解,本發明之應用場合並不限於無線照明控制系統,本發明可適用於任何無線傳輸系統中以用於偵測一個通道之狀態,即該通道是否為受干擾通道,從而避免該無線傳輸系統在傳送無線信號的過程中受到干擾。The invention will be described in detail below by taking the application of the invention in a wireless lighting control system as an example. It should be understood by those skilled in the art that the application of the present invention is not limited to a wireless lighting control system, and the present invention is applicable to any wireless transmission system for detecting the state of a channel, that is, whether the channel is interfered. Channels to prevent the wireless transmission system from being disturbed during the transmission of wireless signals.
另外,下文中將以偵測設備偵測一個通道是否被一或多個採用IEEE802.11之無線區域網路所佔用為例進行說明,不失一般性地,本發明同樣可適用於偵測設備偵測一個通道是否被其他無線網路所佔用,只要該無線網路滿足週期性地廣播信號(如類似信標訊框之控制信令)此一特性。In addition, in the following, the detecting device detects whether a channel is occupied by one or more wireless local area networks adopting IEEE802.11, and the present invention is equally applicable to the detecting device. Detecting whether a channel is occupied by other wireless networks, as long as the wireless network satisfies the characteristics of periodically broadcasting signals (such as control signaling like beacon frames).
以下將參照附圖詳細描述本發明。The invention will be described in detail below with reference to the accompanying drawings.
圖1示出根據本發明之一實施例之無線照明控制系統之應用場合示意圖。該無線照明控制系統中包括一個中央控制器12及三個受控照明設備11-1、11-2及11-3。為簡明起見,圖1中僅示出三個受控照明設備,一般熟習此項技術者應能理解,受控照明設備之數目不限。每個受控照明設備11-1,11-2,11-3中包括一個偵測設備111。需要說明,偵測設備111既可,如圖1所示,整合於受控照明設備11-1,11-2,11-3中,亦可作為一個單獨偵測設備獨立於受控照明設備11-1,11-2,11-3。1 shows a schematic diagram of an application of a wireless lighting control system in accordance with an embodiment of the present invention. The wireless lighting control system includes a central controller 12 and three controlled lighting devices 11-1, 11-2 and 11-3. For the sake of brevity, only three controlled lighting devices are shown in Figure 1, and it will be understood by those skilled in the art that the number of controlled lighting devices is not limited. Each of the controlled lighting devices 11-1, 11-2, 11-3 includes a detecting device 111. It should be noted that the detecting device 111 can be integrated into the controlled lighting device 11-1, 11-2, 11-3 as shown in FIG. 1 or as a separate detecting device independent of the controlled lighting device 11 -1, 11-2, 11-3.
在圖1所示之無線照明控制系統中,中央控制器12發送照明信號,例如,控制信號,用於控制三個受控照明設備11-1、11-2及11-3中之一或多個設備執行某一動作,例如,開啟、關閉、變亮或變暗等。為了避免中央控制器12在一個通道上傳輸照明信號,例如,控制信號時受到同樣佔用該通道之一或多個採用IEEE802.11之無線區域網路干擾,在無線照明控制系統開始傳輸照明信號(例如,控制信號)前,偵測設備111首先為該無線照明控制系統提供一或多個未受干擾通道(即該通道未被採用IEEE802.11之無線區域網路所佔用),以用於中央控制器12傳輸照明信號。具體地,偵測設備111首先偵測一個通道之狀態,即偵測該通道是否為受干擾通道,若否,則指示該無線照明控制系統可使用該通道傳輸照明信號,若是,則偵測另一通道以判斷其是否為受干擾通道,如此重複,直至為該無線照明控制系統挑選出一或多個未受干擾通道為止。In the wireless lighting control system shown in FIG. 1, the central controller 12 transmits an illumination signal, such as a control signal, for controlling one or more of the three controlled lighting devices 11-1, 11-2, and 11-3. Devices perform certain actions, such as turning them on, off, brightening, or dimming. In order to prevent the central controller 12 from transmitting an illumination signal on one channel, for example, when the control signal is interfered by one or more wireless local area networks using IEEE802.11, the wireless lighting control system begins to transmit the illumination signal ( For example, before the control signal), the detecting device 111 first provides the wireless lighting control system with one or more undisturbed channels (ie, the channel is not occupied by the IEEE802.11 wireless local area network) for the central The controller 12 transmits an illumination signal. Specifically, the detecting device 111 first detects the state of a channel, that is, detects whether the channel is an interfered channel, and if not, instructs the wireless lighting control system to use the channel to transmit the illumination signal, and if so, detects another A channel to determine if it is an interfered channel is repeated until one or more undisturbed channels are selected for the wireless lighting control system.
需要說明,無線照明控制系統所使用之無線傳輸協定包括(但不限於)ZigBeeTM 、BluetoothTM 或其他私有協定等。It should be noted that the wireless transmission protocols used by the wireless lighting control system include, but are not limited to, ZigBee (TM) , Bluetooth (TM) or other proprietary protocols, and the like.
圖2示出根據本發明之一實施例之用於偵測一個通道之狀態之偵測設備111的結構示意圖。其中,偵測設備111包括接收器21及判斷裝置22。圖2所示之偵測設備111可用於圖1所示之無線照明控制系統中。FIG. 2 is a block diagram showing the structure of a detecting device 111 for detecting the state of a channel according to an embodiment of the present invention. The detecting device 111 includes a receiver 21 and a determining device 22. The detecting device 111 shown in Fig. 2 can be used in the wireless lighting control system shown in Fig. 1.
圖3示出根據本發明之一實施例之偵測一個通道之狀態之方法流程圖。圖3所示之偵測方法可用於圖1所示之無線照明控制系統中。3 shows a flow chart of a method of detecting the state of a channel in accordance with an embodiment of the present invention. The detection method shown in FIG. 3 can be used in the wireless lighting control system shown in FIG. 1.
以下將參照圖3對圖2中所示之偵測設備111詳細描述所達成之功能。The function achieved by the detecting device 111 shown in Fig. 2 will be described in detail below with reference to Fig. 3.
首先,在步驟S301中,偵測設備111中之接收器21在一個預定義時間段內監測一個通道,以獲取該通道上之多個信號。First, in step S301, the receiver 21 in the detecting device 111 monitors a channel for a predetermined period of time to acquire a plurality of signals on the channel.
可選地,接收器21在該預定義時間段內,以一個預定義取樣頻率監聽該通道,以獲取該多個信號。Optionally, the receiver 21 listens to the channel at a predefined sampling frequency for the predefined time period to acquire the plurality of signals.
需要說明,為了能夠取樣到在當前通道上週期性發送之多個信標訊框,接收器21對當前通道上信號進行取樣之取樣週期應設置為小於信標訊框之持續時間。例如,當信標訊框之持續時間為2毫秒時,接收器21對當前通道上信號進行取樣之取樣週期應小於2毫秒。It should be noted that, in order to be able to sample a plurality of beacon frames periodically transmitted on the current channel, the sampling period in which the receiver 21 samples the signal on the current channel should be set to be shorter than the duration of the beacon frame. For example, when the duration of the beacon frame is 2 milliseconds, the sampling period in which the receiver 21 samples the signal on the current channel should be less than 2 milliseconds.
圖4示出接收器21以一個預定義取樣頻率監聽一個通道後所獲得的取樣譜圖,其中,該通道被一個採用IEEE802.11之無線區域網路所佔用,且該無線區域網路中沒有資料封包傳輸。圖中,x為橫座標,代表取樣次數;y為縱座標,代表接收信號之信號強度取樣值(dBm)。4 shows a sampling spectrum obtained after the receiver 21 listens to a channel at a predefined sampling frequency, wherein the channel is occupied by a wireless local area network using IEEE802.11, and the wireless local area network does not have Data packet transmission. In the figure, x is the abscissa, which represents the number of samples; y is the ordinate, which represents the signal strength sample value (dBm) of the received signal.
該採用IEEE802.11之無線區域網路週期性地廣播信標訊框之時間間隔為100毫秒,每個信標訊框之持續時間為2毫秒,接收器21對該通道上信號進行取樣之取樣週期為0.5毫秒。The wireless local area network using IEEE802.11 periodically broadcasts the beacon frame at a time interval of 100 milliseconds, each beacon frame has a duration of 2 milliseconds, and the receiver 21 samples the signal on the channel. The period is 0.5 milliseconds.
圖中,接收信號之信號強度取樣值之大小在-80dBm左右之若干取樣點處所對應的取樣時刻即為該採用IEEE802.11之無線區域網路中之存取點廣播信標訊框之時刻。In the figure, the sampling time corresponding to the sampling intensity of the signal strength of the received signal at a sampling point of about -80 dBm is the time at which the access point in the wireless local area network of the IEEE 802.11 broadcasts the beacon frame.
當接收器21獲取到該通道上傳輸之多個信號後,在步驟S302中,偵測設備111中之判斷裝置22判斷該多個信號中之部分信號是否具有週期性,從而判定該通道是否為受干擾通道。若判斷裝置22判斷出該多個信號中之部分信號具有週期性,則判定該通道為受干擾通道。After the receiver 21 acquires the plurality of signals transmitted on the channel, in step S302, the determining device 22 in the detecting device 111 determines whether a part of the signals of the plurality of signals have periodicity, thereby determining whether the channel is Interfered channel. If the judging device 22 judges that some of the plurality of signals have periodicity, it is determined that the channel is an interfered channel.
若判斷裝置22不能判斷出該多個信號中之部分信號具有週期性,則判定該通道為未受干擾通道。If the judging device 22 cannot judge that some of the plurality of signals have periodicity, it is determined that the channel is an undisturbed channel.
需要說明,本文所指之「週期性」針對接收到具有一定能量之無線信號所對應之時刻,不應被限定於針對接收到某一特定信號所對應之時刻。It should be noted that the "periodic" referred to herein is for the time corresponding to receiving a wireless signal with a certain energy, and should not be limited to the time corresponding to receiving a specific signal.
例如,當一個通道被兩個採用IEEE802.11之無線區域網路佔用而該兩個無線區域網路中之存取點交替地在該通道上廣播信標訊框時,其中一個無線區域網路廣播之信標訊框為A,另一無線區域網路廣播之信標訊框為B。若在0.5秒內偵測設備111中之接收器21接收到的多個信號為ABABABABAB,則判斷裝置11所判斷出之週期應為50毫秒,而非100毫秒,即信標訊框A之週期或信標訊框B之週期。For example, when a channel is occupied by two wireless local area networks using IEEE802.11 and the access points in the two wireless local area networks alternately broadcast beacon frames on the channel, one of the wireless local area networks The beacon frame of the broadcast is A, and the beacon frame of another wireless local area network broadcast is B. If the plurality of signals received by the receiver 21 in the detecting device 111 are ABABABABAB within 0.5 seconds, the period judged by the determining device 11 should be 50 milliseconds instead of 100 milliseconds, that is, the period of the beacon frame A. Or the period of the beacon frame B.
可選地,判斷裝置22可先按照一個預定義規則自該多個信號中選擇多個候選信號,然後再判斷該多個候選信號中之部分信號是否具有週期性。Optionally, the determining device 22 may first select a plurality of candidate signals from the plurality of signals according to a predefined rule, and then determine whether a part of the plurality of candidate signals has periodicity.
需要說明,判斷裝置22可在接收器21在預定義時間段內獲取到該通道上傳輸之多個信號後,再逐一按照預定義規則自該多個信號中選擇多個候選信號;判斷裝置22亦可在接收器21每次獲取該通道上一個信號後即按照預定義規則進行判斷,以判定該信號是否為候選信號,如此重複,直至判斷裝置22完成對接收器21在預定義時間段內獲取之最後一個信號的判斷為止。It should be noted that the determining device 22 may select a plurality of candidate signals from the plurality of signals according to a predefined rule after the receiver 21 acquires the plurality of signals transmitted on the channel within a predefined time period; the determining device 22 The receiver 21 may also perform a determination according to a predefined rule after acquiring a signal on the channel to determine whether the signal is a candidate signal, and repeats until the determining device 22 completes the receiver 21 for a predefined period of time. Get the judgment of the last signal.
或者,該預定義規則為接收信號之信號強度值大於第一預定臨限值。Alternatively, the predefined rule is that the signal strength value of the received signal is greater than the first predetermined threshold.
或者,該預定義規則為接收信號之信號強度值與平均接收信號強度值之差值大於第二預定臨限值。Alternatively, the predefined rule is that the difference between the signal strength value of the received signal and the average received signal strength value is greater than a second predetermined threshold.
可選地,平均接收信號強度值為當前已接收到的所有接收信號之信號強度之平均值。Optionally, the average received signal strength value is an average of the signal strengths of all received signals that have been received so far.
通常,第一預定臨限值及第二預定臨限值為一個經驗值,其取值與採用IEEE802.11之無線區域網路中存取點發送信標訊框之功率大小以及該存取點至偵測設備111之距離遠近有關。Generally, the first predetermined threshold and the second predetermined threshold are an empirical value, and the value of the power of the beacon transmitted by the access point in the wireless local area network using IEEE802.11 and the access point to The proximity of the detection device 111 is related to the distance.
以下分別參照圖5及圖6詳細描述圖2中之判斷裝置22自接收器21獲取之多個信號中選擇多個候選信號。Hereinafter, the judging device 22 of FIG. 2 selects a plurality of candidate signals from the plurality of signals acquired by the receiver 21 in detail with reference to FIGS. 5 and 6, respectively.
圖5示出根據本發明之一實施例之按照一個預定義規則自已接收到的多個信號中選擇多個候選信號之方法流程圖。其中,預定義規則為接收信號之信號強度值與平均接收信號強度值之差值大於第二預定臨限值。FIG. 5 illustrates a flow chart of a method of selecting a plurality of candidate signals from a plurality of received signals in accordance with a predefined rule, in accordance with an embodiment of the present invention. The predefined rule is that the difference between the signal strength value of the received signal and the average received signal strength value is greater than a second predetermined threshold.
首先,在步驟S501中,判斷裝置22將接收器21接收到的每個信號之信號強度值與平均接收信號強度值之差值與第二預定臨限值進行比較。First, in step S501, the judging means 22 compares the difference between the signal strength value of each signal received by the receiver 21 and the average received signal strength value with a second predetermined threshold value.
可選地,平均接收信號強度值為當前已接收到的所有接收信號之信號強度之平均值。Optionally, the average received signal strength value is an average of the signal strengths of all received signals that have been received so far.
當然,考慮到偵測設備111中儲存空間有限,可選地,平均接收信號強度值為自當前接收到的接收信號開始之前N個已接收到的接收信號之信號強度之平均值,其中,N之大小取決於偵測設備111中儲存空間之大小。Of course, considering that the storage space in the detecting device 111 is limited, the average received signal strength value is an average of the signal strengths of the N received received signals before the start of the currently received received signal, where N The size depends on the size of the storage space in the detection device 111.
然後,在步驟S502中,判斷裝置22根據比較結果判定該多個信號中滿足與平均接收信號強度值之差值大於第二預定臨限值條件的多個候選信號。Then, in step S502, the determining means 22 determines, based on the comparison result, a plurality of candidate signals satisfying the difference from the average received signal strength value that is greater than the second predetermined threshold condition among the plurality of signals.
需要說明,判斷裝置22可在接收器21在預定義時間段內獲取到該通道上傳輸之多個信號後,再逐一將該多個信號中每個接收信號之信號強度值與平均接收信號強度值之差值與第二預定臨限值進行比較,並根據比較結果判定多個候選信號;判斷裝置22亦可在接收器21每次獲取該通道上一個信號後將該接收信號之信號強度值與平均接收信號強度值之差值與第二預定臨限值進行比較,以判定該信號是否為候選信號,如此重複,直至判斷裝置22完成對接收器21在預定義時間段內獲取之最後一個信號的判斷為止。It should be noted that the determining device 22 may obtain the signal strength value and the average received signal strength of each of the plurality of signals one by one after the receiver 21 acquires the plurality of signals transmitted on the channel within a predefined period of time. The difference between the values is compared with the second predetermined threshold, and a plurality of candidate signals are determined according to the comparison result; the determining device 22 may also obtain the signal strength value of the received signal after the receiver 21 acquires a signal on the channel each time. The difference from the average received signal strength value is compared to a second predetermined threshold to determine whether the signal is a candidate signal, and so on, until the determining means 22 completes the last acquisition of the receiver 21 for a predefined period of time. The judgment of the signal is up.
以下將針對上述第二種情形進行詳細描述。The second case above will be described in detail below.
具體地,當接收器21獲取到該通道上一個信號後,首先將該接收信號之信號強度值儲存於一個平均接收信號強度快取記憶體中。Specifically, after the receiver 21 acquires a signal on the channel, the signal strength value of the received signal is first stored in an average received signal strength cache.
一般熟習此項技術者應能理解,若平均接收信號強度快取記憶體之儲存空間足夠大,則接收器21可將每個接收信號之信號強度值儲存在該平均接收信號強度快取記憶體中。若平均接收信號強度快取記憶體之儲存空間有限,則接收器21在將當前之接收信號之信號強度值儲存入該平均接收信號強度快取記憶體之前,必須將該平均接收信號強度快取記憶體中儲存之最早接收信號之信號強度值移出,以防止該平均接收信號強度快取記憶體溢出。It should be understood by those skilled in the art that if the average received signal strength cache memory storage space is sufficiently large, the receiver 21 can store the signal strength value of each received signal in the average received signal strength cache memory. in. If the storage space of the average received signal strength cache is limited, the receiver 21 must cache the average received signal strength before storing the signal strength value of the current received signal into the average received signal strength cache. The signal strength value of the earliest received signal stored in the memory is shifted out to prevent the average received signal strength from being overwritten by the memory.
其次,判斷裝置22計算該平均接收信號強度快取記憶體中所儲存之多個接收信號之信號強度值之平均值,以獲取平均接收信號強度值。Next, the determining means 22 calculates an average of the signal strength values of the plurality of received signals stored in the average received signal strength cache to obtain an average received signal strength value.
接著,判斷裝置22將當前之接收信號之信號強度值減去所計算出的平均接收信號強度值,並將其差值與第二預定接收信號強度臨限值進行比較。若當前之接收信號之信號強度值與所計算出的平均接收信號強度之差值大於第二預定接收信號強度臨限值,則判斷裝置22將該接收信號作為一個候選信號並將該接收信號之信號強度值以及該接收信號所對應之接收時刻儲存於候選信標快取記憶體中。Next, the determining means 22 subtracts the calculated average received signal strength value from the signal strength value of the current received signal and compares the difference with the second predetermined received signal strength threshold. If the difference between the signal strength value of the current received signal and the calculated average received signal strength is greater than the second predetermined received signal strength threshold, the determining device 22 uses the received signal as a candidate signal and the received signal The signal strength value and the reception time corresponding to the received signal are stored in the candidate beacon cache memory.
需要說明,一個接收信號所對應之接收時刻可為該接收信號之起始時刻或終止時刻或中間某個時刻。例如,若將接收信號之起始時刻作為所對應之接收時刻,則候選信標快取記憶體中所儲存的為所有滿足預定義規則之接收信號之信號強度值及起始時刻。It should be noted that the receiving moment corresponding to a received signal may be the start time or the end time of the received signal or a certain time in the middle. For example, if the start time of the received signal is taken as the corresponding receiving time, the signal strength value and the starting time stored in the candidate beacon cache are all received signals satisfying the predefined rule.
然後,接收器21判斷對該通道之監測是否已經超過預定義時間段。若接收器21對該通道之監測未超過預定義時間段,則接收器21繼續監測該通道以獲取該通道上之信號,並將當前之接收信號之信號強度值儲存於平均接收信號強度快取記憶體中,接著,判斷裝置22重複上述步驟。若接收器21對該通道之監測超過預定義時間段,則接收器21不再監測該通道。此時,候選信標快取記憶體中所儲存的即為判斷裝置22自接收器21獲取之多個信號中選擇出之多個候選信號之信號強度值及所對應的接收時刻。Receiver 21 then determines if the monitoring of the channel has exceeded a predefined period of time. If the monitoring of the channel by the receiver 21 does not exceed the predefined time period, the receiver 21 continues to monitor the channel to obtain the signal on the channel, and stores the signal strength value of the current received signal in the average received signal strength cache. In the memory, next, the judging means 22 repeats the above steps. If the receiver 21 monitors the channel for more than a predefined period of time, the receiver 21 no longer monitors the channel. At this time, the signal intensity values of the plurality of candidate signals selected by the plurality of signals obtained by the determining means 22 from the receiver 21 and the corresponding receiving times are stored in the candidate beacon cache.
可選地,當判斷裝置22判斷出當前之接收信號之信號強度值滿足條件而將其作為一個候選信號儲存於候選信標快取記憶體後,該判斷裝置22繼續判斷該候選信標快取記憶體中當前所儲存之候選信號之數目是否大於預先設定之最大候選信號之數目。若該候選信標快取記憶體中當前所儲存之候選信號之數目大於預先設定之最大候選信號之數目,則判斷裝置22直接判定當前通道為受干擾通道。若該候選信標快取記憶體中當前所儲存之候選信號之數目小於預先設定之最大候選信號之數目,則接收器21再判斷對該通道之監測是否已經超過預定義時間段。Optionally, after the determining device 22 determines that the signal strength value of the current received signal satisfies the condition and stores it as a candidate signal in the candidate beacon cache memory, the determining device 22 continues to determine the candidate beacon cache. Whether the number of candidate signals currently stored in the memory is greater than the number of preset maximum candidate signals. If the number of candidate signals currently stored in the candidate beacon cache memory is greater than the number of preset maximum candidate signals, the determining device 22 directly determines that the current channel is the interfered channel. If the number of candidate signals currently stored in the candidate beacon cache memory is less than the preset maximum number of candidate signals, the receiver 21 determines whether the monitoring of the channel has exceeded a predefined period of time.
圖6示出根據本發明之另一實施例之按照一個預定義規則自已接收到的多個信號中選擇多個候選信號之方法流程圖。其中,預定義規則為接收信號之信號強度值大於第一預定臨限值。6 is a flow chart showing a method of selecting a plurality of candidate signals from a plurality of received signals in accordance with a predefined rule, in accordance with another embodiment of the present invention. The predefined rule is that the signal strength value of the received signal is greater than the first predetermined threshold.
首先,在步驟S601中,判斷裝置22將接收器21接收到的每個信號之信號強度值與第一預定臨限值進行比較。First, in step S601, the judging means 22 compares the signal strength value of each signal received by the receiver 21 with the first predetermined threshold value.
然後,在步驟S602中,判斷裝置22根據比較結果判定該多個信號中滿足大於第一預定臨限值條件之多個候選信號。Then, in step S602, the determining means 22 determines, based on the comparison result, a plurality of candidate signals satisfying the condition larger than the first predetermined threshold value among the plurality of signals.
需要說明,判斷裝置22可在接收器21在預定義時間段內獲取到該通道上傳輸之多個信號後,再逐一將該多個信號中每個接收信號之信號強度值與第一預定臨限值進行比較,並根據比較結果判定多個候選信號;判斷裝置22亦可在接收器21每次獲取該通道上一個信號後將該接收信號之信號強度值與第一預定臨限值進行比較,以判定該信號是否為候選信號,如此重複,直至判斷裝置22完成對接收器21在預定義時間段內獲取之最後一個信號的判斷為止。It should be noted that the determining device 22 may obtain the signal strength values of each of the plurality of signals and the first predetermined one after the plurality of signals transmitted on the channel are acquired by the receiver 21 within a predefined period of time. The limit values are compared, and a plurality of candidate signals are determined according to the comparison result; the determining device 22 may also compare the signal strength value of the received signal with the first predetermined threshold value each time the receiver 21 acquires a signal on the channel. In order to determine whether the signal is a candidate signal, it is repeated until the judging means 22 completes the judgment of the last signal acquired by the receiver 21 within a predefined period of time.
以下將針對上述第二種情形進行詳細描述。The second case above will be described in detail below.
具體地,當接收器21獲取到該通道上一個信號後,首先判斷裝置22將該接收信號之信號強度值與第一預定臨限值進行比較。若當前之接收信號之信號強度值大於第一預定臨限值,則判斷裝置22將該接收信號作為一個候選信號並將該接收信號之信號強度值以及所對應接收時刻儲存於候選信標快取記憶體中。Specifically, after the receiver 21 acquires a signal on the channel, the determining device 22 first compares the signal strength value of the received signal with the first predetermined threshold. If the signal strength value of the current received signal is greater than the first predetermined threshold, the determining device 22 uses the received signal as a candidate signal and stores the signal strength value of the received signal and the corresponding receiving time in the candidate beacon cache. In memory.
其次,接收器21判斷對該通道之監測是否已經超過預定義時間段。若接收器21對該通道之監測未超過預定義時間段,則接收器21繼續監測該通道以獲取該通道上之信號,然後,判斷裝置22根據當前之接收信號之信號強度值是否大於第一預定臨限值來判斷該接收信號是否為候選信號。Second, the receiver 21 determines if the monitoring of the channel has exceeded a predefined period of time. If the monitoring of the channel by the receiver 21 does not exceed the predefined time period, the receiver 21 continues to monitor the channel to obtain the signal on the channel, and then determines whether the signal strength value of the device 22 is greater than the first according to the current received signal. A threshold value is predetermined to determine whether the received signal is a candidate signal.
接收器21及判斷裝置22重複上述步驟,直至接收器21對該通道之監測超過預定義時間段為止。此時,候選信標快取記憶體中所儲存的即為判斷裝置22自接收器21獲取之多個信號中選擇出之多個候選信號之信號強度值及所對應的接收時刻。The receiver 21 and the determining means 22 repeat the above steps until the receiver 21 monitors the channel for a predefined period of time. At this time, the signal intensity values of the plurality of candidate signals selected by the plurality of signals obtained by the determining means 22 from the receiver 21 and the corresponding receiving times are stored in the candidate beacon cache.
可選地,當判斷裝置22判斷出當前之接收信號之信號強度值滿足條件而將其作為一個候選信號儲存於候選信標快取記憶體後,該判斷裝置22繼續判斷該候選信標快取記憶體中當前所儲存之候選信號之數目是否大於預先設定之最大候選信號之數目。若該候選信標快取記憶體中當前所儲存之候選信號之數目大於預先設定之最大候選信號之數目,則判斷裝置22直接判定當前通道為受干擾通道。若該候選信標快取記憶體中當前所儲存之候選信號之數目小於預先設定之最大候選信號之數目,則接收器21再判斷對該通道之監測是否已經超過預定義時間段。Optionally, after the determining device 22 determines that the signal strength value of the current received signal satisfies the condition and stores it as a candidate signal in the candidate beacon cache memory, the determining device 22 continues to determine the candidate beacon cache. Whether the number of candidate signals currently stored in the memory is greater than the number of preset maximum candidate signals. If the number of candidate signals currently stored in the candidate beacon cache memory is greater than the number of preset maximum candidate signals, the determining device 22 directly determines that the current channel is the interfered channel. If the number of candidate signals currently stored in the candidate beacon cache memory is less than the preset maximum number of candidate signals, the receiver 21 determines whether the monitoring of the channel has exceeded a predefined period of time.
下面參照圖7詳細描述圖2中之判斷裝置22判斷接收器21所獲取之多個信號中之部分信號是否具有週期性。圖7示出根據本發明之一實施例之判斷該多個信號中之部分信號是否具有週期性之方法流程圖。Next, referring to Fig. 7, the judging means 22 in Fig. 2 judges whether or not a part of the signals of the plurality of signals acquired by the receiver 21 have periodicity. FIG. 7 illustrates a flow chart of a method for determining whether a portion of the plurality of signals have periodicity, in accordance with an embodiment of the present invention.
首先,在步驟S701中,判斷裝置22根據該多個信號所對應之多個接收時刻判定一或多個候選間隔。First, in step S701, the determining means 22 determines one or more candidate intervals based on the plurality of receiving times corresponding to the plurality of signals.
需要說明,一個接收信號所對應之接收時刻可為該接收信號之起始時刻或終止時刻或中間某個時刻。It should be noted that the receiving moment corresponding to a received signal may be the start time or the end time of the received signal or a certain time in the middle.
其次,在步驟S702中,判斷裝置22根據該一或多個候選間隔中之每個候選間隔判斷該多個接收時刻中滿足預定條件之多個時間間隔的數目是否大於預定臨限值,從而判定該多個信號中之部分信號是否具有週期性,其中,該預定條件為該多個時間間隔基本等於該候選間隔且該多個時間間隔在時間軸上連續分布且互不重疊。Next, in step S702, the determining means 22 determines, according to each of the one or more candidate intervals, whether the number of the plurality of time intervals satisfying the predetermined condition among the plurality of receiving times is greater than a predetermined threshold, thereby determining Whether a part of the plurality of signals has a periodicity, wherein the predetermined condition is that the plurality of time intervals are substantially equal to the candidate interval and the plurality of time intervals are continuously distributed on a time axis and do not overlap each other.
若判斷裝置22判斷出該多個接收時刻中滿足預定條件之多個時間間隔的數目大於預定臨限值,則判定該多個信號中之部分信號具有週期性。If the judging means 22 judges that the number of the plurality of time intervals satisfying the predetermined condition among the plurality of receiving times is greater than the predetermined threshold, it is determined that some of the plurality of signals have periodicity.
若判斷裝置22判斷出該多個接收時刻中滿足預定條件之多個時間間隔的數目小於預定臨限值,則判定該多個信號中之部分信號不具有週期性。If the judging means 22 judges that the number of the plurality of time intervals satisfying the predetermined condition among the plurality of receiving times is less than the predetermined threshold, it is determined that some of the plurality of signals do not have periodicity.
以下以接收器21接收到的信號之數目為7,且該7個接收信號所對應之接收時刻(例如,接收信號之起始時刻)分別為20ms、120ms、131ms、220ms、231ms、320ms、420ms為例對步驟S702進行說明。Hereinafter, the number of signals received by the receiver 21 is 7, and the reception time corresponding to the 7 received signals (for example, the start time of the received signal) is 20 ms, 120 ms, 131 ms, 220 ms, 231 ms, 320 ms, 420 ms, respectively. For example, step S702 will be described.
判斷裝置22判定之候選間隔為120ms-20ms=100ms。The candidate interval determined by the judging device 22 is 120 ms - 20 ms = 100 ms.
在該7個接收時刻中,有4個時間間隔20~120ms,120~220ms,220~320ms,320~420ms為滿足預定條件之時間間隔,即該4個時間間隔之大小基本等於候選間隔100ms,且該4個時間間隔在時間軸上連續分布且互不重疊。需要說明,儘管時間間隔131~231ms之大小亦等於候選間隔100ms,但該時間間隔與其他4個時間間隔在時間軸上重疊,因此不滿足預定條件。In the seven receiving times, there are four time intervals of 20 to 120 ms, 120 to 220 ms, 220 to 320 ms, and 320 to 420 ms are time intervals for satisfying predetermined conditions, that is, the size of the four time intervals is substantially equal to the candidate interval of 100 ms. And the four time intervals are continuously distributed on the time axis and do not overlap each other. It should be noted that although the size of the time interval of 131 to 231 ms is equal to the candidate interval of 100 ms, the time interval overlaps with the other four time intervals on the time axis, and thus the predetermined condition is not satisfied.
需要說明,圖7所涉及之判斷方法為判斷裝置22直接對接收器21獲取之該通道上之多個信號進行判斷,以判斷該多個信號中之部分信號是否具有週期性。一般熟習此項技術者應能理解,在接收器21獲取到該通道上之多個信號後,判斷裝置22可先按照一個預定義規則自該多個信號中選擇多個候選信號,然後再對該多個候選信號進行判斷,以判斷其中之部分信號是否具有週期性。It should be noted that the determination method in FIG. 7 is that the determining device 22 directly determines a plurality of signals on the channel acquired by the receiver 21 to determine whether a part of the signals of the plurality of signals have periodicity. It will be understood by those skilled in the art that after the receiver 21 acquires a plurality of signals on the channel, the determining means 22 may first select a plurality of candidate signals from the plurality of signals according to a predefined rule, and then The plurality of candidate signals are judged to determine whether a part of the signals have periodicity.
以下參照圖8說明圖2中判斷裝置22判斷接收器21獲取之多個信號中之部分信號是否具有週期性的一個具體達成方式。Next, a specific achievement manner in which the judging means 22 of FIG. 2 judges whether or not a part of the signals of the plurality of signals acquired by the receiver 21 have periodicity will be described with reference to FIG.
當接收器21自該通道上獲取到多個信號後,首先將該多個信號作為候選信號並將其信號強度值以及所對應之接收時刻儲存於候選信標快取記憶體中,然後,判斷裝置22根據候選信標快取記憶體中所儲存的該多個信號之信號強度值以及所對應之接收時刻,判斷該多個信號中之部分信號是否具有週期性。After the receiver 21 acquires a plurality of signals from the channel, the plurality of signals are first used as candidate signals, and the signal strength values and the corresponding receiving moments are stored in the candidate beacon cache memory, and then judged. The device 22 determines whether a part of the plurality of signals has periodicity according to the signal strength values of the plurality of signals stored in the candidate beacon cache and the corresponding reception time.
如圖7中所說明,若在接收器21獲取到該通道上之多個信號後,判斷裝置22先根據一個預定義規則自該多個信號中選擇多個候選信號,然後再判斷該多個候選信號中之部分信號是否具有週期性,則相應地,候選信標快取記憶體中所儲存的為判斷裝置22自多個信號中選擇出的多個候選信號之信號強度值以及所對應之接收時刻。As illustrated in FIG. 7, after the receiver 21 acquires a plurality of signals on the channel, the determining device 22 first selects a plurality of candidate signals from the plurality of signals according to a predefined rule, and then determines the plurality of signals. Whether a part of the candidate signals has periodicity, correspondingly, the signal strength values of the plurality of candidate signals selected by the determining device 22 from the plurality of signals stored in the candidate beacon cache memory and corresponding Receive time.
具體地,首先,在步驟S801中,設i=1,即,將i設為候選信標快取記憶體中第一元素之索引。Specifically, first, in step S801, i=1 is set, that is, i is set as the index of the first element in the candidate beacon cache.
其次,在步驟S802中,將i之值賦予j。Next, in step S802, the value of i is given to j.
然後,在步驟S803中,將j之值加1,即將j設為候選信標快取記憶體中下一元素之索引。Then, in step S803, the value of j is incremented by 1, that is, j is set as the index of the next element in the candidate beacon cache.
接著,在步驟S804中,判斷j是否小於候選信標快取記憶體中所儲存之候選信號的數目,若否,則轉至步驟818;若是,則進入步驟S805中,將候選信標快取記憶體中第j個候選信號所對應之接收時刻減去第i個候選信號所對應之接收時刻,並將其差值作為候選間隔。Next, in step S804, it is determined whether j is smaller than the number of candidate signals stored in the candidate beacon cache. If not, go to step 818; if yes, proceed to step S805 to cache the candidate beacons. The receiving time corresponding to the jth candidate signal in the memory is subtracted from the receiving time corresponding to the ith candidate signal, and the difference is used as a candidate interval.
隨後,在步驟S806中,判斷候選間隔是否小於預定最小信標間隔,若是,則轉至步驟S803,若否,則進入步驟S807,判斷候選間隔是否大於預定最大信標間隔。Subsequently, in step S806, it is determined whether the candidate interval is less than the predetermined minimum beacon interval, and if so, the process goes to step S803, and if no, the process proceeds to step S807, where it is determined whether the candidate interval is greater than the predetermined maximum beacon interval.
若候選間隔大於預定最大信標間隔,則轉至步驟818;若候選間隔小於預定最大信標間隔,則進入步驟S808中,將第j個候選信號之信號強度值及第i個候選信號之信號強度值中較大者作為最大接收信號強度值,並將第j個候選信號所對應之接收時刻作為上個信標時間,同時,將候選信標數目設為2。If the candidate interval is greater than the predetermined maximum beacon interval, then go to step 818; if the candidate interval is less than the predetermined maximum beacon interval, proceed to step S808 to signal the signal strength value of the jth candidate signal and the signal of the ith candidate signal The larger of the intensity values is used as the maximum received signal strength value, and the reception time corresponding to the jth candidate signal is taken as the last beacon time, and the number of candidate beacons is set to 2.
判斷裝置22使用上述步驟S801至步驟S808來判定候選間隔,之後,自步驟S809開始,判斷裝置22根據該候選間隔判斷該多個信號中之部分信號是否具有週期性。The judging means 22 judges the candidate interval using the above-described steps S801 to S808, and thereafter, from step S809, the judging means 22 judges whether or not a part of the plurality of signals has periodicity based on the candidate interval.
在步驟S809中,將j之值賦予k。In step S809, the value of j is given to k.
然後,在步驟S810中,將k之值加1。Then, in step S810, the value of k is incremented by one.
接著,在步驟S811中,判斷k是否小於候選信標快取記憶體中所儲存之候選信號的數目,若否,則轉至步驟S803;若是,則進入步驟S812中,將第k個候選信號所對應之接收時刻減去上個信標時間,並將其差值作為當前信標間隔。Next, in step S811, it is determined whether k is smaller than the number of candidate signals stored in the candidate beacon cache memory. If not, the process goes to step S803; if yes, the process proceeds to step S812, where the kth candidate signal is obtained. The corresponding reception time is subtracted from the last beacon time, and the difference is taken as the current beacon interval.
隨後,在步驟S813中,判斷當前信標間隔是否大於候選間隔與預定信標間隔臨限值之和。若是,則轉至步驟S803,若否,則進入步驟S814中,判斷當前信標間隔是否接近候選間隔。Subsequently, in step S813, it is determined whether the current beacon interval is greater than the sum of the candidate interval and the predetermined beacon interval threshold. If yes, go to step S803. If no, go to step S814 and determine if the current beacon interval is close to the candidate interval.
若否,則轉至步驟S810;若是,則進入步驟S815,將第k個候選信號所對應之接收時刻作為上個信標時間,並將候選信標數目之值加1;同時若第k個候選信號之信號強度值大於最大接收信號強度值,則將該第k個候選信號之信號強度值作為最大接收信號強度值。If no, go to step S810; if yes, go to step S815, take the receiving time corresponding to the kth candidate signal as the last beacon time, and increase the value of the number of candidate beacons by one; and if the kth If the signal strength value of the candidate signal is greater than the maximum received signal strength value, the signal strength value of the kth candidate signal is taken as the maximum received signal strength value.
接著,進入步驟S816,判斷候選信標數目是否大於預定信標數目臨限值。若否,則轉至步驟S810;若是,則進入步驟S817,將當前之候選間隔以及當前之最大接收信號強度值作為信標相關資訊。基於此,判斷裝置22即可判斷出該通道為受干擾通道。Next, proceeding to step S816, it is determined whether the number of candidate beacons is greater than a predetermined beacon number threshold. If no, go to step S810; if yes, go to step S817 to use the current candidate interval and the current maximum received signal strength value as beacon related information. Based on this, the judging device 22 can judge that the channel is an interfered channel.
若該通道被多個採用IEEE802.11之無線區域網路所佔用,則判斷裝置22繼續執行後續步驟S818、步驟S819,從而可獲取該多個採用IEEE802.11之無線區域網路中每個無線區域網路之信標相關資訊。If the channel is occupied by multiple wireless local area networks adopting IEEE802.11, the determining device 22 continues to perform the subsequent steps S818 and S819, so that each wireless in the plurality of wireless local area networks adopting IEEE802.11 can be obtained. Information about beacons in regional networks.
接著,進入步驟S818,將i之值加1。Next, proceeding to step S818, the value of i is incremented by one.
然後,進入步驟S819,判斷i是否小於候選信標快取記憶體中所儲存之候選信號的數目,若是,則轉至步驟S802;若否,則結束整個判斷過程。Then, proceeding to step S819, it is determined whether i is smaller than the number of candidate signals stored in the candidate beacon cache memory, and if so, the process goes to step S802; if not, the entire determination process is ended.
上述演算法流程中所涉及之預定最小信標間隔、預定最大信標間隔、預定信標間隔臨限值、預定信標數目臨限值可由使用者自配置檔案中讀取或由使用者自操作介面輸入。The predetermined minimum beacon interval, the predetermined maximum beacon interval, the predetermined beacon interval threshold, and the predetermined number of beacon thresholds involved in the above algorithm flow may be read by the user from the configuration file or operated by the user. Interface input.
需要說明,本發明之各實施例中判斷裝置22所達成之功能亦可由一個微處理器執行相應功能之程式來達成。特別地,對於無線照明控制系統而言,判斷裝置22所達成之功能可由每個照明設備中之無線照明控制模組中之微處理器執行相應功能之程式來達成。It should be noted that the functions achieved by the determining device 22 in the embodiments of the present invention may also be implemented by a microprocessor executing a program corresponding to the function. In particular, for a wireless lighting control system, the functionality achieved by the determining device 22 can be achieved by a microprocessor executing a corresponding function in a wireless lighting control module in each lighting device.
以上對本發明之具體實施方式進行了描述。需要說明,本發明並不侷限於上述特定實施方式,熟習此項技術者可在所附申請專利範圍之範疇內做出各種變型或修改。The specific embodiments of the present invention have been described above. It should be noted that the present invention is not limited to the specific embodiments described above, and various modifications or changes can be made within the scope of the appended claims.
11-1...受控照明設備11-1. . . Controlled lighting
11-2...受控照明設備11-2. . . Controlled lighting
11-3...受控照明設備11-3. . . Controlled lighting
12...中央控制器12. . . Central controller
21...接收器twenty one. . . receiver
22...判斷裝置twenty two. . . Judging device
111...偵測設備111. . . Detection device
藉由閱讀以下結合附圖對非限定性實施例之描述,本發明之其他目的、特徵及優點將變得更為明顯及突出。Other objects, features, and advantages of the present invention will be made apparent by the description of the appended claims.
圖1示出根據本發明之一實施例之無線照明控制系統之應用場合示意圖;圖2示出根據本發明之一實施例之偵測一個通道之狀態之偵測設備111的結構示意圖;1 is a schematic diagram showing an application of a wireless lighting control system according to an embodiment of the present invention; and FIG. 2 is a schematic structural view of a detecting device 111 for detecting a state of a channel according to an embodiment of the present invention;
圖3示出根據本發明之一實施例之偵測一個通道之狀態之方法流程圖;3 shows a flow chart of a method of detecting the state of a channel in accordance with an embodiment of the present invention;
圖4示出根據本發明之一實施例以預定義取樣頻率對一個通道進行監聽後所獲得的取樣譜圖;4 illustrates a sample spectrum obtained after listening to a channel at a predefined sampling frequency in accordance with an embodiment of the present invention;
圖5示出根據本發明之一實施例之選擇多個候選信號之方法流程圖;5 shows a flow chart of a method of selecting a plurality of candidate signals in accordance with an embodiment of the present invention;
圖6示出根據本發明之另一實施例之選擇多個候選信號之方法流程圖;6 shows a flow chart of a method of selecting a plurality of candidate signals in accordance with another embodiment of the present invention;
圖7示出根據本發明之一實施例之判斷多個信號中之部分信號是否具有週期性之方法流程圖;及7 is a flow chart showing a method of determining whether a portion of signals in a plurality of signals have periodicity according to an embodiment of the present invention; and
圖8示出根據本發明之一實施例之判斷多個信號中之部分信號是否具有週期性之一演算法流程圖。Figure 8 is a flow chart showing the algorithm for determining whether a portion of a plurality of signals have periodicity, in accordance with an embodiment of the present invention.
其中,相同或相似之附圖標記表示相同或相似之步驟特徵/裝置(模組)。Wherein, the same or similar reference numerals denote the same or similar step features/devices (modules).
21...接收器twenty one. . . receiver
22...判斷裝置twenty two. . . Judging device
111...偵測設備111. . . Detection device
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098119819A TWI477098B (en) | 2009-06-12 | 2009-06-12 | Detection device for detecting channel status and its detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098119819A TWI477098B (en) | 2009-06-12 | 2009-06-12 | Detection device for detecting channel status and its detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201044807A TW201044807A (en) | 2010-12-16 |
TWI477098B true TWI477098B (en) | 2015-03-11 |
Family
ID=45001441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098119819A TWI477098B (en) | 2009-06-12 | 2009-06-12 | Detection device for detecting channel status and its detection method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI477098B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005112321A1 (en) * | 2004-05-17 | 2005-11-24 | Telit Communications S.P.A. | Method and user equipment for jamming detection and signalling in a mobile telecommunications network |
EP1833215A1 (en) * | 2006-03-10 | 2007-09-12 | Harris Broadcast Systems Europe | Detection of excessive signal power |
CN101101331A (en) * | 2007-07-31 | 2008-01-09 | 西安华迅微电子有限公司 | Method for determining periodical GPS signal emission time |
-
2009
- 2009-06-12 TW TW098119819A patent/TWI477098B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005112321A1 (en) * | 2004-05-17 | 2005-11-24 | Telit Communications S.P.A. | Method and user equipment for jamming detection and signalling in a mobile telecommunications network |
EP1833215A1 (en) * | 2006-03-10 | 2007-09-12 | Harris Broadcast Systems Europe | Detection of excessive signal power |
CN101101331A (en) * | 2007-07-31 | 2008-01-09 | 西安华迅微电子有限公司 | Method for determining periodical GPS signal emission time |
Also Published As
Publication number | Publication date |
---|---|
TW201044807A (en) | 2010-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3235285B1 (en) | Method of selectively enabling a wireless access point or repeater | |
EP3001734B1 (en) | System, program and method for radio terminal to find access point | |
JP5715120B2 (en) | Apparatus and method for detecting channel condition | |
US9077528B2 (en) | Method and device for performing communication in wireless communication system | |
US20110110255A1 (en) | Apparatus and method for avoiding channel interference in a multi-channel sensor network | |
US20050083962A1 (en) | Interference measurements in a wireless communications system | |
KR20150007786A (en) | Method and apparatus for discovering a neighbor device in a device to device communication system | |
US20100067488A1 (en) | Wireless terminal and handover method of wireless terminal | |
JP2016502326A (en) | Method and apparatus for controlling operation state of base station in wireless communication system | |
US20160219517A1 (en) | Systems and methods for providing communications within wireless sensor networks based on a periodic beacon signal | |
CN110536251B (en) | Bluetooth device, Bluetooth Mesh network information transmission method and readable storage medium | |
KR20140124088A (en) | Apparatus and method for performing device to device communication in an wireless communication system | |
KR20110050024A (en) | System and method for avoidance interference of channel in single channel sensor network | |
Bashir et al. | Coordinator assisted passive discovery for mobile end devices in IEEE 802.15. 4 | |
WO2019078978A1 (en) | Method and apparatus for motion detection systems | |
US9468011B2 (en) | System and method for changing WPAN network channel responding to wireless environment change | |
US8457009B2 (en) | Wireless communication apparatus and wireless communication method for detecting electric field intensity of wireless channel, and program storing medium | |
TWI477098B (en) | Detection device for detecting channel status and its detection method | |
JP2009212946A (en) | Base station device | |
CN103687021B (en) | Base station apparatus, radio communications system and communication means | |
WO2012031249A1 (en) | Performing jamming based on signal and interference in peer-to-peer networks | |
Jacob et al. | Enabling coexistence of ZigBee and WiFi | |
JP6190547B2 (en) | Interference mitigation in WLAN / WPAN coexistence network | |
Lavric et al. | Adaptive channel selection algorithm for a large scale street lighting control ZigBee network | |
JP6351059B2 (en) | Wireless communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |