TWI821119B - Communication channel switching method and system - Google Patents
Communication channel switching method and system Download PDFInfo
- Publication number
- TWI821119B TWI821119B TW112105310A TW112105310A TWI821119B TW I821119 B TWI821119 B TW I821119B TW 112105310 A TW112105310 A TW 112105310A TW 112105310 A TW112105310 A TW 112105310A TW I821119 B TWI821119 B TW I821119B
- Authority
- TW
- Taiwan
- Prior art keywords
- channel
- router
- electronic tag
- update
- packet
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000012790 confirmation Methods 0.000 claims abstract description 17
- 230000004083 survival effect Effects 0.000 claims abstract description 14
- 230000001186 cumulative effect Effects 0.000 claims abstract description 11
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000000694 effects Effects 0.000 abstract description 2
- 230000004044 response Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000001680 brushing effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000013441 quality evaluation Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明是有關於一種電子紙自動切換頻道技術,特別是指一種受到無線訊號干擾時自動切換頻道,以確保電子標籤能正常運作的通訊頻道切換方法與通訊頻道切換系統。 The present invention relates to an electronic paper automatic channel switching technology, and in particular to a communication channel switching method and communication channel switching system that automatically switches channels when interfered by wireless signals to ensure the normal operation of electronic tags.
近年來工業4.0持續演進,以電子式標籤(EPD Tag)取代傳統式的紙張標籤已經儼然成為自動化倉儲管理、會議室預約、工廠台車資訊顯示等應用的首選。相較於紙張標籤,電子式標籤擁有耐髒、耐磨、防水、省電等特性,連上無線網路後,系統後台可即時掌握標籤位置,隨時更新畫面資訊或燈號提示,達成實時監控商品進出庫、紀錄揀貨狀況、即時提醒缺料等自動化管理目標。 In recent years, Industry 4.0 has continued to evolve, and replacing traditional paper labels with electronic tags (EPD Tags) has become the first choice for applications such as automated warehouse management, conference room reservations, and factory trolley information display. Compared with paper labels, electronic labels are dirt-resistant, wear-resistant, waterproof, and power-saving. After connecting to the wireless network, the system background can instantly grasp the label position and update the screen information or light prompts at any time to achieve real-time monitoring. Automated management objectives include goods entering and exiting the warehouse, recording picking status, and real-time reminders of material shortages.
然而現有技術的缺點是:由於電子式標籤採用無線通訊使用於2.4GHz頻段,易受同頻段無線信號干擾,進而影響通訊品質造成設備離線無法刷新資訊,因此,如何解決電子式標籤使用頻道發生無線信號干擾導致斷線無法正常運作的問題,是目前研究方 向。 However, the disadvantage of the existing technology is that because electronic tags use wireless communication in the 2.4GHz frequency band, they are susceptible to interference from wireless signals in the same frequency band, which affects the communication quality and causes the device to be unable to refresh information offline. Therefore, how to solve the problem of wireless tags using the channel The problem of signal interference leading to disconnection and failure to operate normally is the current research method. Towards.
因此,本發明的一目的,即在提供一種能夠提供電子標籤於受無線干擾源影響的環境下仍可與路由器正常連線,以解決頻道斷線的通訊頻道切換方法。 Therefore, one object of the present invention is to provide a communication channel switching method that can provide an electronic tag with a normal connection with a router in an environment affected by wireless interference sources, so as to solve the problem of channel disconnection.
於是,該通訊頻道切換方法包含步驟A~E。 Therefore, the communication channel switching method includes steps A~E.
步驟(A)是多個電子標籤的每一電子標籤根據一預設頻道傳送一存活封包到一路由器,該預設頻道是多個頻道的其中之一。 Step (A) is that each electronic tag of the plurality of electronic tags transmits a survival packet to a router according to a preset channel, and the preset channel is one of a plurality of channels.
步驟(B)是該路由器根據該存活封包產生一對應該存活封包的確認封包。 Step (B) is that the router generates a pair of acknowledgment packets that should survive the packet based on the survival packet.
步驟(C)是每一該電子標籤判斷是否經由該預設頻道收到該確認封包。 Step (C) is for each electronic tag to determine whether the confirmation packet is received through the preset channel.
步驟(D)是當該電子標籤判斷一連續累加值等於一連續閥值時,該電子標籤對該多個頻道的剩餘進行掃描,且產生一具有一建議頻道的更新頻道請求,該更新頻道請求用以傳送到該路由器,其中,該連續累加值的定義是該電子標籤連續沒收到該確認封包的累積次數。 Step (D) is when the electronic tag determines that a continuous accumulated value is equal to a continuous threshold, the electronic tag scans the remaining channels and generates an update channel request with a recommended channel. The update channel request It is used to transmit to the router, wherein the definition of the continuous cumulative value is the cumulative number of times the electronic tag has not received the confirmation packet.
步驟(E)是當該路由器比較一頻道更新值大於等於一更新閥值時,該路由器選擇該多個建議頻道的其中之一作為一新的工 作頻道以取代該預設頻道,其中,該頻道更新值的定義是發出該更新頻道請求的電子標籤的數目。 Step (E) is when the router compares a channel update value to be greater than or equal to an update threshold, the router selects one of the plurality of recommended channels as a new task. Create a channel to replace the default channel, where the channel update value is defined as the number of electronic tags that issued the update channel request.
本發明的功效在於:受到無線訊號干擾時自動切換頻道,以確保電子標籤能正常運作的通訊頻道切換方法與通訊頻道切換系統。 The function of the present invention is to automatically switch channels when interfered by wireless signals to ensure the communication channel switching method and communication channel switching system that electronic tags can operate normally.
A:存活封包的步驟 A: Steps to survive packets
B:發出確認封包的步驟 B: Steps to send confirmation packet
C:判斷收到確認封包的步驟 C: Steps to determine receipt of confirmation packet
D:更新頻道請求的步驟 D: Steps to update channel request
D1~D5:電子標籤發出的步驟 D1~D5: Steps for issuing electronic tags
E:新的工作頻道的步驟 E: Steps for new work channel
E1~E4:路由器判斷的步驟 E1~E4: Steps for router judgment
F:重新連線的步驟 F: Steps to reconnect
1:伺服器 1:Server
2:路由器 2:Router
3:電子標籤 3: Electronic label
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是本發明通訊頻道切換系統的實施例的一系統圖;圖2是該實施例執行一種通訊頻道切換方法的一流程圖;及圖3是多個頻道與無線干擾源的一示意圖。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a system diagram of an embodiment of the communication channel switching system of the present invention; Figure 2 is a diagram of the embodiment performing a communication A flow chart of a channel switching method; and FIG. 3 is a schematic diagram of multiple channels and wireless interference sources.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are designated with the same numbering.
參閱圖1,為應用於電子標籤的本發明通訊頻道切換系統之一實施例,包含一伺服器(Server)1、多個路由器(Router)2與多個電子標籤(EPD-Tag)3,其中,電子標籤3用以記錄貨架資訊,且具有刷圖及亮燈等功能。路由器2與電子標籤3之間的通訊
是使用Zigbee通訊協定,需要依電子標籤3的數量及場域大小布建合適數量的路由器2以及不同頻道(Channel)的設定,以確保每個電子標籤3都能得到良好的連線訊號。伺服器1用以提供電子標籤3操作及管理功能,具備設備管理、事件紀錄、執行排程及軟體更新,同時也提供應用程式介面(application programming interface,API),以連接第三方系統。
Refer to Figure 1, which is an embodiment of the communication channel switching system of the present invention applied to electronic tags, including a server (Server) 1, multiple routers (Router) 2 and multiple electronic tags (EPD-Tag) 3, wherein , the
以下為方便說明,只舉一個路由器2與所對應的多個電子標籤3為例,但不以此限縮。
For convenience of explanation, only one
如圖2所示,通訊頻道切換系統執行一種通訊頻道切換方法,以下舉一個路由器2與其所負責區域內的多個電子標籤3為例說明,通訊頻道切換方法包含步驟A~E
As shown in Figure 2, the communication channel switching system implements a communication channel switching method. The following takes a
步驟A:多個電子標籤3的每一周期性根據一預設頻道傳送一存活封包(keep alive)到路由器2,其中,該預設頻道如圖3所示,例如每一通道具有一中心頻率與一範圍頻帶。圖3中示意2.4GHz中特定頻段(Channel 20)的無線干擾源是射頻干擾源(Radio Frequency Interference),對使用相同頻段(Channel 20)的電子標籤3造成離線影響。
Step A: Each periodicity of the plurality of
步驟B:當路由器2收到該存活封包時,路由器2根據該存活封包產生一對應該存活封包的確認封包(以下簡稱ACK),在無其他無線干擾源的情況下,該確認封包會經由預設頻道回傳到對應
該存活封包的電子標籤3,若預設頻道有其他無線干擾源存在,則將導致電子標籤3收不到該確認封包。
Step B: When
步驟C:每一電子標籤3判斷是否經由該預設頻道收到一對應該存活封包的確認封包,產生一回應結果,若該回應結果指示為否,則進到步驟D1,反之,則進到步驟D4,且電子標籤3的一計數器根據指示沒有收到ACK的該回應結果產生一連續累加值與一不連續累加值,其中,該連續累加值的定義是該電子標籤3連續沒收到該確認封包的累積次數,該不連續累加值的定義是該電子標籤3沒收到該確認封包的不連續累積次數,例如,連續前三次的存活封包都沒有收到確認封包,則連續累加值=3,若第四次存活封包有對應收到確認封包,則連續累加值將歸零,然後第五、六、七次存活封包與確認封包的順序若是沒收到、有收到、沒收到,則不連續累加值=2。
Step C: Each
步驟D包括步驟D1~D6。 Step D includes steps D1 to D6.
步驟D1:電子標籤3判斷該連續累加值是否等於一連續閥值,若是,則進到步驟D2,若否,則進到步驟A。
Step D1: The
步驟D2:由於多次連續沒收到ACK的累積次數達到該連續閥值,電子標籤3對該多個頻道的剩餘進行掃描產生一具有一建議頻道的頻道掃描結果,頻道掃描結果選擇該剩餘頻道中具有最高通訊品質(例如SNR最佳)的頻道作為該建議頻道,且電子標籤3產
生一具有該頻道掃描結果的更新頻道請求,然後進到步驟D3,在此具二個電子標籤(以下簡稱tag1、tag2)為例說明,例如原來預設頻道是channel20,tag1掃描channel20以外的剩餘頻道中,clannel15具有最高的品質分數8,tag2掃描剩餘頻道中,clannel21具有最高的品質分數9,待channel20恢復連線時,tag1回傳的更新頻道請求的建議頻道是clannel15且品質分數8,tag2回傳的更新頻道請求的建議頻道是clannel21且品質分數9。
Step D2: Since the cumulative number of consecutive ACKs not received reaches the continuous threshold, the
步驟D3:電子標籤3判斷預設頻道是否恢復與所屬路由器2的連線,若是,則進到步驟D6,若否,則回到步驟D2。
Step D3: The
步驟D4:電子標籤3判斷該不連續累加值是否等於一不連續閥值,若是,則進到步驟D5,若否,則進到步驟A。
Step D4: The
步驟D5:由於多次不連續沒收到ACK的累積次數達到該不連續閥值,電子標籤3對該多個頻道的剩餘進行掃描產生一具有一建議頻道的頻道掃描結果,頻道掃描結果選擇該剩餘頻道中具有最高通訊品質(例如以SNR最佳的數據為依據,但通訊品質評估方式不限於此)的頻道作為該建議頻道,且電子標籤3產生一具有該頻道掃描結果的更新頻道請求,由於步驟D5與步驟D2的差別是:本步驟是處在預設頻道channel20不連續中斷連線的過程中,已暫時恢復連線,因此不需要如步驟D3先判斷是否恢復連線,而可直接進到步驟D6。
Step D5: Since the cumulative number of discontinuous ACKs received reaches the discontinuity threshold, the
步驟D6:該多個電子標籤3(以下簡稱tag)的至少之一經由暫時恢復連線的該預設頻道將傳送該更新頻道請求到所屬的該路由器2(以下簡稱router)。 Step D6: At least one of the plurality of electronic tags 3 (hereinafter referred to as tag) will transmit the update channel request to the corresponding router 2 (hereinafter referred to as router) via the default channel that temporarily restores the connection.
步驟E1:路由器2於一預設時間範圍內根據所接收的更新頻道請求的數目,進行計數產生一頻道更新值,其中,預設時間範圍為每小時,可變更不限於此,例如在1小時內,router收到來自5個tag的更新頻道請求,則頻道更新值=5。
Step E1:
步驟E2:路由器2比較該頻道更新值是否大於或等於一更新閥值,若是,則進到步驟E3,若否,則回到步驟E1。關於頻道切換請求的tag數量的更新閥值可包括一第一臨界值與一第二臨界值,例如,第一臨界值的定義為router可支援tag上限數量的3%、第二臨界值的定義為router可支援tag上限數量的5%,每台router支援400個tag,則第一臨界值=12、第二臨界值=20。
Step E2:
步驟E3:路由器2是否根據來自用戶的一輸入指令開啟一頻道切換功能,若是,則進到步驟E4,若否,則回到步驟E1。
Step E3: Whether the
步驟E4:路由器2選擇該多個建議頻道的其中之一作為一新的工作頻道以取代該預設頻道。
Step E4:
步驟F:路由器2根據新的工作頻道與原有的每一電子標籤3重新建立連線,具體技術是,路由器2與原有的每一電子標籤3的預設頻道先斷線,也就是將電子標籤3踢出預設頻道(例如
channel20)。接著,每一電子標籤3重新掃描以找尋可以加入的頻道,可以加入的頻道就是路由器2提供的新的工作頻道(例如channel21),重新掃描的過程是:電子標籤3會對每一頻道發出一具有個人區域網路識別標誌(Personal Area Network ID,以下簡稱PAN ID)的加入請求,當掃描到新的工作頻道時,也就是經由channel21發出加入請求時,路由器2經由該新的工作頻道先檢視電子標籤3的PAN ID是否正確,若是,則發出一回應到電子標籤,電子標籤根據該回應發出一位址資訊(address)到路由器2,路由器2會檢視該電子標籤3的位址資訊是否在路由器2的白名單中,若是,表示電子標籤3是合法元件,則根據新的工作頻道(例如channel21)建立連線,而取代原本的channel20。
Step F:
綜上所述,上述實施例具有以下優點:一、利用電子標籤3的連續閥值與不連續閥值的設定,與路由器2的更新閥值的設定,當電子標籤3在原預設頻段遇到無線干擾源時可即時地切換至其他可用頻段,有效地降低電子標籤3的離線數量以及離線時間,達到確保電子標籤3與路由器2之間通訊穩定。二、電子標籤3利用周期發送存活封包的機制可即時確認連線品質並於干擾時做出應變措施。三、由路由器與電子標籤3所組合的主從式架構,由路由器2擔任最終決策是否切換頻道,但決策切換頻道所依據數據來自周邊多個電子標籤3,可有效避免單點失誤。四、頻道掃描結果
由不同位置的電子標籤3於不同時間掃描取得,透過累積到一定數量的頻道更新值讓路由器2有完整的頻道狀態資訊,進而從多個建議頻道中選擇出最合適的頻道以作為新的工作頻道,來取代原來的預設頻道。
To sum up, the above embodiment has the following advantages: 1. Using the continuous threshold and discontinuous threshold settings of the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 However, the above are only examples of the present invention and should not be used to limit the scope of the present invention. All simple equivalent changes and modifications made based on the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. within the scope covered by the patent of this invention.
A:存活封包的步驟 A: Steps to survive packets
B:發出確認封包的步驟 B: Steps to send confirmation packet
C:判斷收到確認封包的步驟 C: Steps to determine receipt of confirmation packet
D:更新頻道請求的步驟 D: Steps to update channel request
E:新的工作頻道的步驟 E: Steps for new work channel
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112105310A TWI821119B (en) | 2023-02-15 | 2023-02-15 | Communication channel switching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112105310A TWI821119B (en) | 2023-02-15 | 2023-02-15 | Communication channel switching method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI821119B true TWI821119B (en) | 2023-11-01 |
TW202435585A TW202435585A (en) | 2024-09-01 |
Family
ID=89722283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW112105310A TWI821119B (en) | 2023-02-15 | 2023-02-15 | Communication channel switching method and system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI821119B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020175805A9 (en) * | 2000-11-29 | 2002-11-28 | Ludwig Kipp | Method and system for communicating with and tracking RFID transponders |
CN103824039A (en) * | 2014-03-03 | 2014-05-28 | 湖南沄辉科技股份有限公司 | RFID (Radio Frequency Identification) accurate positioning method |
US9519812B2 (en) * | 2012-11-25 | 2016-12-13 | Pixie Technology Inc. | Managing a sphere of wireless tags |
CN106257938A (en) * | 2015-06-16 | 2016-12-28 | 中国人民解放军91872部队 | Meet the RFID radio communication anti-interference method of national military standard agreement |
EP3007097B1 (en) * | 2013-03-14 | 2017-08-30 | IntermecIP Corp. | Synthetic aperture rfid handheld with tag location capability |
CN109726607A (en) * | 2018-12-29 | 2019-05-07 | 武汉万集信息技术有限公司 | Switching method and device, storage medium, the electronic device of communication channel |
CN109740699A (en) * | 2018-04-20 | 2019-05-10 | 京东方科技集团股份有限公司 | For managing the gateway and method of multiple electronic tags |
CN112351413A (en) * | 2020-09-28 | 2021-02-09 | 思创医惠科技股份有限公司 | Multi-base-station electronic tag system based on batch paging |
-
2023
- 2023-02-15 TW TW112105310A patent/TWI821119B/en active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020175805A9 (en) * | 2000-11-29 | 2002-11-28 | Ludwig Kipp | Method and system for communicating with and tracking RFID transponders |
US9519812B2 (en) * | 2012-11-25 | 2016-12-13 | Pixie Technology Inc. | Managing a sphere of wireless tags |
EP3007097B1 (en) * | 2013-03-14 | 2017-08-30 | IntermecIP Corp. | Synthetic aperture rfid handheld with tag location capability |
CN103824039A (en) * | 2014-03-03 | 2014-05-28 | 湖南沄辉科技股份有限公司 | RFID (Radio Frequency Identification) accurate positioning method |
CN106257938A (en) * | 2015-06-16 | 2016-12-28 | 中国人民解放军91872部队 | Meet the RFID radio communication anti-interference method of national military standard agreement |
CN109740699A (en) * | 2018-04-20 | 2019-05-10 | 京东方科技集团股份有限公司 | For managing the gateway and method of multiple electronic tags |
CN109726607A (en) * | 2018-12-29 | 2019-05-07 | 武汉万集信息技术有限公司 | Switching method and device, storage medium, the electronic device of communication channel |
CN112351413A (en) * | 2020-09-28 | 2021-02-09 | 思创医惠科技股份有限公司 | Multi-base-station electronic tag system based on batch paging |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101304340B (en) | Method and apparatus for monitoring resource condition as well as communication network | |
EP2204056B1 (en) | Mobility service clustering using network service segments | |
US20190090171A1 (en) | Method and apparatus for monitoring internet connection status in wireless communication system | |
US7773526B2 (en) | Network interface control program and network interface controller | |
WO2012066625A1 (en) | Method of controlling communication system, communication system, communication device | |
CN100568854C (en) | A kind of method and interface board that keeps neighborhood | |
CN102055525A (en) | Loop detecting and controlling method | |
CN103873301A (en) | System and method for automatically finding and adding devices | |
US20100080118A1 (en) | Radio network system and control node switching method | |
CN101355515B (en) | Method for restarting link aggregation control protocol with elegance | |
CN102299846A (en) | Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment | |
CN101895437A (en) | Method and equipment of distributed bidirectional forwarding detection (BFD) | |
CN102231682A (en) | Stacking conflict processing method and equipment | |
CN111371625A (en) | Method for realizing dual-computer hot standby | |
CN101227333B (en) | Disaster tolerance network managing system and login method of network managing subscriber end | |
TWI821119B (en) | Communication channel switching method and system | |
CN101145972A (en) | A disaster tolerance network management system and login method of network management clients | |
WO2023173755A1 (en) | Olt network element monitoring device and monitoring system, and management method | |
US20200036932A1 (en) | Method and system for remote control of switcher | |
CN101686199A (en) | Method, device and system for processing control message in Ethernet protection system | |
KR20120074528A (en) | Cluster node control method and internet protocol private branch exchange | |
US9301232B2 (en) | Management apparatus of controller for communication network | |
CN108933873A (en) | A kind of synchronous method and device of user data | |
US9641582B2 (en) | Bandwidth management device, central management device and method of bandwidth management | |
EP3826239A1 (en) | Method for role decision and loop prevention in a master-slave architecture of mesh network and network device using the same |