TW201347578A - Information transmission method and system, and device with sleeping function - Google Patents
Information transmission method and system, and device with sleeping function Download PDFInfo
- Publication number
- TW201347578A TW201347578A TW102110170A TW102110170A TW201347578A TW 201347578 A TW201347578 A TW 201347578A TW 102110170 A TW102110170 A TW 102110170A TW 102110170 A TW102110170 A TW 102110170A TW 201347578 A TW201347578 A TW 201347578A
- Authority
- TW
- Taiwan
- Prior art keywords
- time window
- group device
- sub
- preset
- frequency
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005540 biological transmission Effects 0.000 title claims abstract description 12
- 238000009826 distribution Methods 0.000 claims description 28
- 238000004904 shortening Methods 0.000 claims description 5
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 238000005304 joining Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 9
- 230000001960 triggered effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 206010041349 Somnolence Diseases 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 208000037805 labour Diseases 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000007858 starting material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
- H04W52/0216—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/28—Discontinuous transmission [DTX]; Discontinuous reception [DRX]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/04—Scheduled access
- H04W74/06—Scheduled access using polling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明涉及通訊技術領域,特別涉及一種資訊傳輸方法、系統及睡眠功能設備。 The present invention relates to the field of communication technologies, and in particular, to an information transmission method, system, and sleep function device.
在現有的通訊網路中,有些電池供電的通訊設備為具有睡眠功能的終端設備(Sleeping End Device,以下簡稱為SED設備),是指可以進入睡眠狀態不接受或發送信號,並且在一段時間後喚醒的設備,比如在Zigbee無線網路中的通訊設備等。 In the existing communication network, some battery-powered communication devices are Sleeping End Devices (hereinafter referred to as SED devices), which means that they can enter the sleep state without receiving or transmitting signals, and wake up after a period of time. Devices, such as communication devices in the Zigbee wireless network.
當SED設備加入網路後會進入睡眠狀態來節省設備的電量,在睡眠狀態下的SED設備不能接收網路內其他通訊設備發送的資訊,且SED設備會周期性地喚醒後以相同的頻率發送輪詢(poll)消息給網路內的群組設備比如協調管理設備等,從而獲知群組設備需要發送給SED設備的資料,並接收群組設備發送的資訊。在現有技術中SED設備周期性地被喚醒來接收群組設備發送的資料,但是群組設備在發送資料時不會周期性地發送,就會出現當SED設備處於睡眠狀態時,群組設備才發送資料,從而接收不到群組設備發送的資料。 When the SED device joins the network, it will go to sleep to save the power of the device. The SED device in the sleep state cannot receive the information sent by other communication devices in the network, and the SED device will wake up periodically and send it at the same frequency. Polling messages to group devices in the network, such as coordinating management devices, etc., to learn the information that the group device needs to send to the SED device, and receive the information sent by the group device. In the prior art, the SED device is periodically woken up to receive the data sent by the group device, but the group device does not periodically send when the data is sent, and the group device only occurs when the SED device is in the sleep state. Send the data so that the data sent by the group device is not received.
本發明主要目的在提供一種資訊傳輸方法、系 統及睡眠功能設備,盡可能保證在群組設備發送資訊時,SED設備處於喚醒狀態來接收群組設備發送的資訊。 The main purpose of the present invention is to provide an information transmission method and system. The system and the sleep function device ensure that when the group device sends information, the SED device is in the awake state to receive the information sent by the group device.
本發明提供的資訊傳輸方法包括如下步驟:在預置的時間窗內確定是否接收到群組設備發送的資訊,如果是,重置所述預置的時間窗;所述預置的時間窗中包括若干個子時間窗,所述子時間窗的時長為發送輪詢消息的時間間隔;在所述重置後的時間窗內發送輪詢消息給群組設備,以接收所述群組設備發送的資訊。 The information transmission method provided by the present invention includes the steps of: determining whether the information sent by the group device is received within a preset time window, and if so, resetting the preset time window; the preset time window Included in the sub-time window, the duration of the sub-time window is a time interval for sending a polling message; sending a polling message to the group device within the reset time window to receive the group device sending Information.
本發明實施例提供一種睡眠功能的設備,包括:資訊確定單元,用於在預置的時間窗內確定是否接收到群組設備發送的資訊;所述預置的時間窗中包括若干個子時間窗,所述子時間窗的時長為發送輪詢消息的時間間隔;重置單元,用於所述資訊確定單元在預置的時間窗內確定接收到群組設備發送的資訊,重置所述預置的時間窗;輪詢發送單元,用於在所述重置後的時間窗內發送輪詢消息給群組設備,以接收所述群組設備發送的資訊。 An embodiment of the present invention provides a device for a sleep function, including: an information determining unit, configured to determine, according to a preset time window, whether information received by the group device is received; the preset time window includes a plurality of sub-time windows The duration of the sub-time window is a time interval for sending a polling message, and the resetting unit is configured to determine, by the information determining unit, that the information sent by the group device is received within a preset time window, and resetting the information. a preset time window; a polling sending unit, configured to send a polling message to the group device within the reset time window to receive information sent by the group device.
本發明是當SED設備在預置的時間窗內接收到群組設備發送的資訊,則重置預置的時間窗,並在重置後的時間窗內發送輪詢消息給群組設備。這樣SED設備根據接收到群組設備發送的資訊來調整SED設備保持發送輪詢消息的頻率,從而調整SED設備處於喚醒狀態的時長,盡可能保證在群組設備發送資訊的期間,SED設備處於喚 醒狀態從而接收群組設備發送的資訊。 The invention is to reset the preset time window when the SED device receives the information sent by the group device within the preset time window, and send a polling message to the group device within the reset time window. In this way, the SED device adjusts the frequency at which the SED device keeps sending the polling message according to the information sent by the group device, thereby adjusting the duration of the SED device being in the awake state, and ensuring that the SED device is in the period during which the group device sends the information. Call Wake up to receive information sent by the group device.
10‧‧‧資訊確定單元 10‧‧‧Information determination unit
11‧‧‧重置單元 11‧‧‧Reset unit
12‧‧‧輪詢發送單元 12‧‧‧Polling sending unit
13‧‧‧時間窗啟動單元 13‧‧‧Time window starter unit
14‧‧‧接收密度判斷單元 14‧‧‧Receiving density judgment unit
15‧‧‧頻率調整單元 15‧‧‧frequency adjustment unit
16‧‧‧睡眠單元 16‧‧‧sleep unit
為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於所屬技術領域具有通常知識者來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some of the embodiments of the invention, as well as those of ordinary skill in the art, may also obtain other drawings based on these drawings, without undue progressive labor.
圖1是本發明實施例提供的一種資訊傳輸方法的流程圖;圖2是本發明實施例中提供的在分配網路下進行資訊傳輸的方法流程圖;圖3是本發明實施例提供的一種睡眠功能的設備的結構示意圖;圖4是本發明實施例提供的另一種睡眠功能的設備的結構示意圖。 1 is a flowchart of a method for transmitting information according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for transmitting information under a distribution network according to an embodiment of the present invention; FIG. 3 is a flowchart of an embodiment of the present invention. FIG. 4 is a schematic structural diagram of another sleep function device according to an embodiment of the present invention. FIG.
下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,所屬技術領域具有通常知識者在沒有作出進步性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the scope of the present invention are within the scope of the invention.
本發明實施例提供一種資訊傳輸方法,主要是當SED設備在加入到操作(operation)網路或加入到分配 (commission)網路後,接收網路內群組設備發送的資訊的方法,其中群組設備可以為網路內的協調(Coordinate)管理等設備,而SED設備可以包括Zigbee無線網路中的受控設備等,本實施例的方法是SED設備所執行的方法,流程圖如圖1所示,包括:步驟(101),在預置的時間窗內確定是否接收到群組設備發送的資訊,如果是,執行步驟(102)和(103),如果否,執行步驟(104)。其中該預置的時間窗中包括若干個子時間窗,則每個子時間窗的時長為發送輪詢消息的時間間隔。 Embodiments of the present invention provide an information transmission method, mainly when an SED device is added to an operation network or added to an allocation. After the network is commissioned, the method for receiving information sent by the group device in the network, wherein the group device may be a device such as Coordinate management in the network, and the SED device may include the Zigbee wireless network. The method of the present embodiment is a method performed by the SED device. The flowchart is as shown in FIG. 1. The method includes the following steps: (101), determining whether the information sent by the group device is received within a preset time window. If yes, steps (102) and (103) are performed, and if no, step (104) is performed. The time window of the preset includes several sub-time windows, and the duration of each sub-time window is a time interval for sending a polling message.
可以理解,在分配網路下,群組設備可以配置網路中SED設備上的參數,比如網路資源或限制資訊等參數,並在對SED設備配置完成後進入操作網路,這樣在分配網路中,群組設備要發送配置(configuration)資訊給SED設備。在這個配置的過程中,當有SED設備加入分配網路,該SED設備需要啟動一個預先設置的時間窗,並在預置的時間窗內發送輪詢消息給群組設備,來得知群組設備在分配網路中發送給SED設備的配置資訊。 It can be understood that, in the distribution network, the group device can configure parameters on the SED device in the network, such as network resources or restriction information, and enter the operation network after the configuration of the SED device is completed, so that the network is allocated. In the middle of the road, the group device sends configuration information to the SED device. During the configuration process, when a SED device joins the distribution network, the SED device needs to start a preset time window, and sends a polling message to the group device within the preset time window to learn the group device. Configuration information sent to the SED device in the distribution network.
在操作網路下,群組設備對其他設備進行網路的協調管理,並可以發送一些管理資訊給其他設備,比如發送讀取命令、綁定請求(binding request)或報表配置(report configure)命令等命令給其他設備。在這個過程中,當有SED設備加入到操作網路時,該SED設備會啟動一個預先設置的時間窗,並在預置的時間窗內發送輪詢消息給群組設備,來得知群組設備在操作網路中發送給SED設備 的操作資訊,啟動的時間窗會隨著資料量的變化而變化。 Under the operating network, the group device performs coordinated management of the network on other devices, and can send some management information to other devices, such as sending a read command, a binding request, or a report configure command. Wait for the command to be given to other devices. In this process, when an SED device is added to the operating network, the SED device initiates a preset time window and sends a polling message to the group device within the preset time window to learn the group device. Sent to the SED device in the operating network The operation information, the time window of startup will change with the amount of data.
其中考慮到分配網路下和操作網路下,群組設 備發送資訊的頻率差異,在分配網路下啟動的時間窗和在操作網路下啟動的時間窗可以相同,也可以不同,這裏預置的時間窗中可以包括若干個(比如n個,n為大於1的整數)子時間窗,每個子時間窗的時長為該SED設備發送輪詢消息的時間間隔(gap),而子時間窗的個數即為SED設備發送輪詢消息的次數(times),則預置的時間窗即為(gap)*(times),例如一個SED設備發送5次輪詢消息且每隔4秒(s)發送一次,則該SED設備中預置的時間窗為4s*5=20s。 Which takes into account the distribution network and the operating network, group settings The frequency difference of the information to be sent, the time window started under the distribution network and the time window started under the operation network may be the same or different, and the preset time window may include several (such as n, n For an integer time window greater than 1, the duration of each sub-time window is the time interval (gap) at which the SED device sends a polling message, and the number of sub-time windows is the number of times the SED device sends a polling message ( Times), the preset time window is (gap)*(times). For example, if an SED device sends 5 polling messages and sends them every 4 seconds (s), the time window preset in the SED device It is 4s*5=20s.
如果SED設備在預置的時間窗內沒有接收到 群組設備發送的資訊(操作資訊或配置資訊),則需要進入睡眠狀態來節省設備的電量消耗;如果SED設備在預置的時間窗內每次接收到群組設備發送的資訊,則認為群組設備隨後可能還要發送資訊,該SED設備就不能停止發送輪詢消息,需要保持資料輪詢的頻率,則執行步驟(102)和(103),來充分保證當群組設備在發送資訊時,SED設備處於資料輪詢狀態來接收群組設備發送的資訊。其中SED設備與群組設備之間的通訊可以經過路由設備。 If the SED device is not received within the preset time window The information sent by the group device (operation information or configuration information) needs to enter a sleep state to save the power consumption of the device; if the SED device receives the information sent by the group device every time within the preset time window, the group is considered to be the group. The group device may then also send information, the SED device cannot stop sending the polling message, and the frequency of data polling needs to be maintained, then steps (102) and (103) are performed to ensure that when the group device is transmitting information. The SED device is in the data polling state to receive the information sent by the group device. The communication between the SED device and the group device can pass through the routing device.
需要說明的是,SED設備在預置的時間窗內, 發送兩次輪詢消息的間隔內即在子時間窗內是睡眠的,只有在發送輪詢消息的時候才被喚醒,一般喚醒狀態持續幾十到幾百個毫秒。比如SED設備在第1個幾百個毫秒內被喚醒,並發送了輪詢消息給群組設備來接收群組設備發送 的資訊後,SED設備則進入睡眠狀態,在4s後該設備又被喚醒幾百個毫秒來進行輪詢。 It should be noted that the SED device is within the preset time window. Within the interval of sending the polling message, it is sleepy in the sub-time window, and is only awakened when the polling message is sent. The general awake state lasts for tens to hundreds of milliseconds. For example, the SED device is woken up in the first few hundred milliseconds, and sends a polling message to the group device to receive the group device to send. After the information, the SED device goes to sleep, and after 4 seconds the device is awakened for hundreds of milliseconds for polling.
步驟(102),重置SED設備中預置的時間窗, 即將開始啟動的時間窗設置為預置的時間,例如當SED設備中啟動了一個20s的時間窗,在發送輪詢消息的過程中,該啟動的時間窗隨著資料量發生變化,當在5s的時候SED設備接收到群組設備發送的資訊,則將該時間窗重置為20s。 Step (102), resetting a preset time window in the SED device, The time window that is about to start is set to a preset time. For example, when a time window of 20s is started in the SED device, during the process of sending the polling message, the time window of the startup changes with the amount of data, when in 5s. When the SED device receives the information sent by the group device, the time window is reset to 20s.
步驟(103),在重置後的時間窗內發送輪詢消息 給群組設備,以接收群組設備在操作網路或分配網路下發送的資訊。 Step (103), sending a polling message within the reset time window Give the group device to receive information sent by the group device under the operating network or the distribution network.
步驟(104),長時期地進入睡眠狀態,並在一定 的時間後喚醒。 Step (104), entering a sleep state for a long period of time, and at a certain Wake up after the time.
可以理解,當SED設備長時期的進入睡眠狀態 後,用戶可以透過操作該SED設備來喚醒該設備,比如給該SED設備發出一個用戶操作的喚醒命令;而SED設備也可以根據設備的配置,自動在一定時候後被喚醒。則在該長時期地睡眠過程中,如果群組設備有資訊發送給SED設備,如果發現該SED設備處於睡眠狀態,則會先緩存發送的資訊,當SED設備被喚醒後向群組設備發一個喚醒指示消息,這樣群組設備會將緩存的資訊發送給該SED設備。 It can be understood that when the SED device goes into sleep for a long period of time Afterwards, the user can wake up the device by operating the SED device, for example, issuing a wake-up command for the user operation to the SED device; and the SED device can be automatically woken up after a certain time according to the configuration of the device. In the long-term sleep process, if the group device has information sent to the SED device, if the SED device is found to be in a sleep state, the sent information is first cached, and when the SED device is woken up, a message is sent to the group device. Wake up the indication message so that the group device will send the cached information to the SED device.
可見,本發明實施例中,當SED設備在預置的 時間窗內接收到群組設備發送的資訊,則重置預置的時間窗,並在重置後的時間窗內發送輪詢消息給群組設備。這樣SED設備根據接收到群組設備發送的資訊來調整SED設 備保持發送輪詢消息的頻率,從而調整SED設備處於喚醒狀態的時長,盡可能保證在群組設備發送資訊的期間,SED設備處於喚醒狀態從而接收群組設備發送的資訊。 It can be seen that, in the embodiment of the present invention, when the SED device is in a preset After receiving the information sent by the group device in the time window, the preset time window is reset, and a polling message is sent to the group device within the reset time window. In this way, the SED device adjusts the SED setting according to the information sent by the group device. The frequency of sending the polling message is kept, so as to adjust the duration of the SED device in the awake state, and ensure that the SED device is in the awake state to receive the information sent by the group device during the period when the group device sends the information.
SED設備可以透過上述步驟(101)到(104)來滑 動時間窗,具體時間窗中所包括的子時間窗數量和子時間窗的時長是不變的,在一個具體的實施例中,SED設備除了執行上述步驟(101)到(104)之外,還可以根據一定的策略來調整該預置的時間窗的大小,比如縮短或延長時間窗,具體地,SED設備可以判斷該SED設備接收群組設備發送資訊的密度是否大於預置的上限值,如果是,說明群組設備發送每個資訊給SED設備的時間間隔較短,SED設備可以增加發送輪詢消息的頻率,並按照增加後的頻率發送輪詢消息,這樣就可以保證SED設備喚醒的連續性,並增加SED設備處於喚醒狀態的時間,以接收群組設備以高密度發送的資訊。其中SED設備在增加發送輪詢消息的頻率時,具體可以在預置的時間窗內子時間窗個數一定的情況下,縮短至少一個子時間窗的時長;也可以增加預置的時間窗內所包括的子時間窗個數,並可以同時縮短子時間窗的時長。 The SED device can slide through the above steps (101) to (104) The time window, the number of sub-time windows included in the specific time window and the duration of the sub-time window are constant. In a specific embodiment, the SED device performs the above steps (101) to (104), The preset time window may be adjusted according to a certain policy, such as shortening or extending the time window. Specifically, the SED device may determine whether the density of the information sent by the SED device by the group device is greater than a preset upper limit. If yes, it indicates that the group device sends each message to the SED device at a shorter interval. The SED device can increase the frequency of sending the polling message and send the polling message according to the increased frequency, so that the SED device can be guaranteed to wake up. Continuity and increase the time that the SED device is in the awake state to receive information sent by the group device at a high density. When the frequency of sending the polling message is increased, the SED device may shorten the duration of at least one sub-time window in a preset time window, and may also increase the preset time. The number of sub-time windows included in the window, and the duration of the sub-time window can be shortened at the same time.
如果SED設備接收群組設備發送資訊的密度 不大於預置的上限值或發送資訊的密度小於一個下限值,說明群組設備發送每個資訊給SED設備的時間間隔較長,則SED設備不需要高頻率地發送輪詢消息給群組設備,SED設備可以減小發送輪詢消息的頻率,並按照減小的頻率發送輪詢消息,這樣可以節省SED設備的電量消耗。其 中,SED設備在減小發送輪詢消息的頻率時,具體可以在子時間窗個數一定的情況下增加子時間窗的時長;也可以減小預置的時間窗內所包括的子時間窗個數,並可以同時增加子時間窗的時長。這樣在調整時間窗後,時間窗中所包括的每個子時間窗的時長可以相等也可以不相等。 If the SED device receives the density of information sent by the group device Not higher than the preset upper limit value or the density of the transmitted information is less than a lower limit value, indicating that the time interval for the group device to send each information to the SED device is long, the SED device does not need to send the polling message to the group at a high frequency. The group device, the SED device can reduce the frequency of sending polling messages and send polling messages according to the reduced frequency, which can save power consumption of the SED device. its When the SED device reduces the frequency of sending the polling message, the duration of the sub-time window may be increased when the number of sub-time windows is constant; and the sub-times included in the preset time window may also be reduced. The number of time windows, and can increase the duration of the sub-time window at the same time. Thus, after adjusting the time window, the duration of each sub-time window included in the time window may or may not be equal.
上述預置的上限值大於下限值,且SED設備接 收群組設備發送資訊的密度可以表示群組設備發送每個資訊的間隔,具體地,SED設備在具體判斷該密度是否大於預置的上限值或是否小於預置的下限值時,可以在SED設備被喚醒以發送輪詢消息的幾十到幾百個毫秒內判斷,且可以根據接收到群組設備發送的兩個資訊之間的時間間隔來衡量該密度,並根據判斷的結果來調整時間窗。 The upper limit of the preset is greater than the lower limit, and the SED device is connected. The density of the information sent by the group device may indicate the interval at which the group device sends each information. Specifically, the SED device may determine whether the density is greater than a preset upper limit value or less than a preset lower limit value. Determining within a few tens to hundreds of milliseconds when the SED device is woken up to send a polling message, and the density can be measured according to the time interval between receiving the two pieces of information sent by the group device, and according to the result of the judgment Adjust the time window.
且需要說明的是,上述所述的預置時間窗內所 包括的每個子時間窗的時長可以相等,也可以不相等;且在進行調整時間窗時,可以按照線性或非線性地增加或縮短子時間窗的時長,比如將子時間窗1的時長增加a,將子時間窗2的時長增加為2a。 And it should be noted that the preset time window described above is The duration of each sub-time window included may be equal or unequal; and when the time window is adjusted, the duration of the sub-time window may be increased or decreased linearly or non-linearly, such as when the sub-time window 1 is Increase a by length and increase the duration of sub-time window 2 to 2a.
在另一個具體的實施例中,在分配網路下,由 於群組設備發送給SED設備的配置資訊比較重要,就需要SED設備處於持續發送輪詢消息的狀態來接收群組設備發送的配置資訊,比如透過調整分配網路下SED設備發送輪詢消息的頻率來實現,具體可以根據SED設備接收群組設備發送的配置資訊的密度來調整。 In another specific embodiment, under the distribution network, The configuration information sent by the group device to the SED device is important, and the SED device needs to continuously send the polling message to receive the configuration information sent by the group device, for example, by adjusting the SED device to send the polling message under the distribution network. The frequency is implemented, which may be adjusted according to the density of the configuration information sent by the SED device to the group device.
具體地,分配網路下的SED設備具體可以透過 執行如下的步驟來進行資訊的傳輸,從而調整發送輪詢消 息的頻率,流程圖如圖2所示,包括:步驟(201),確定在預置的時間內或當超過預置的時間窗時,是否接收到群組設備在分配網路下發送的配置資訊,如果不是,說明SED設備處於喚醒狀態的這段時間內群組設備都沒有發送配置資訊,則群組設備發送配置資訊的密度較小,為了節省SED設備的電量消耗,可以執行步驟(202)到(204);如果是,則執行步驟(205),即按照預置的時間窗來發送輪詢消息。其中預置的時間需要小於或等於該預置的時間窗的時長。 Specifically, the SED device under the distribution network can specifically pass through Perform the following steps to transfer information to adjust the send polling The frequency of the information, as shown in FIG. 2, includes: step (201), determining whether the configuration of the group device to be sent under the distribution network is received within a preset time or when a preset time window is exceeded. The information, if not, indicates that the group device does not send the configuration information during the time when the SED device is in the awake state, the density of the configuration information sent by the group device is small. To save the power consumption of the SED device, the step (202) may be performed. Go to (204); if yes, perform step (205) to send the polling message according to the preset time window. The preset time needs to be less than or equal to the duration of the preset time window.
步驟(202),減小發送輪詢消息的頻率。具體 地,可以在預置的時間窗所包括的子時間窗個數一定的情況下增加子時間窗的時長,也可以減小預置的時間窗內所包括的子時間窗個數,還可以在減小預置的時間窗內所包括的子時間窗個數的同時,增加子時間窗的時長。 Step (202), reducing the frequency of sending the polling message. specific The time length of the sub-time window may be increased if the number of sub-time windows included in the preset time window is constant, and the number of sub-time windows included in the preset time window may also be reduced. The duration of the sub-time window can be increased while reducing the number of sub-time windows included in the preset time window.
步驟(203),按照減小後的頻率發送輪詢消息給 群組設備。 Step (203), sending a polling message to the reduced frequency to Group device.
步驟(204),當接收到群組設備在分配網路下發 送的配置資訊,恢復使用預置的時間窗發送輪詢消息給群組設備,即使用調整前的時間窗來發送輪詢消息。 Step (204), when receiving the group device, sending the distribution network The configuration information sent is restored to use the preset time window to send a polling message to the group device, that is, the polling message is sent using the time window before the adjustment.
例如,當SED設備在很長的時間內都沒有接收 到群組設備發送的配置資訊,SED設備可以增加原來是5s的子時間窗的時長,比如從原來的5s增加到6s,這樣SED設備發送輪詢消息的頻率從1次/5s,減小到1次/6s,在這個過程中,只要接收到群組設備發送的配置資訊後,即恢復使用1次/5s的頻率來發送輪詢消息。 For example, when a SED device does not receive for a long time To the configuration information sent by the group device, the SED device can increase the length of the sub-time window that was originally 5s, for example, from the original 5s to 6s, so that the frequency of the SED device sending the polling message is reduced from 1/5s. Up to 1/6 s, in this process, as soon as the configuration information sent by the group device is received, the frequency of one time /5 s is resumed to send the polling message.
需要說明的是,當SED設備接收到群組設備發 送的配置資訊後,根據該配置資訊對SED設備進行配置完成後,可以觸發重啟程式來重新啟動該SED設備,使得該SED設備進入操作網路中。 It should be noted that when the SED device receives the group device, After the configuration information is sent, after the SED device is configured according to the configuration information, the restart program can be triggered to restart the SED device, so that the SED device enters the operating network.
可見,本實施例中,當處於分配網路下,SED 設備會根據是否接收到群組設備發送的配置資訊的狀態,來調整SED設備發送輪詢消息的頻率,盡可能保證在群組設備發送配置資訊的期間,SED設備處於喚醒狀態從而接收群組設備發送的配置資訊,並同時在群組設備發送配置資訊的密度較小時,透過減小SED設備發送輪詢消息的頻率來節省設備的電量消耗。 It can be seen that in this embodiment, when in the distribution network, the SED The device adjusts the frequency of sending the polling message by the SED device according to whether the status of the configuration information sent by the group device is received, and ensures that the SED device is in the awake state and receives the group device during the period when the group device sends the configuration information. The configuration information sent, and at the same time when the density of the configuration information sent by the group device is small, the power consumption of the device is saved by reducing the frequency at which the SED device sends the polling message.
本發明實施例還提供一種睡眠功能的設備,即 上述的SED設備,結構示意圖如圖3所示,包括:資訊確定單元10,用於在預置的時間窗內確定是否接收到群組設備發送的資訊;所述預置的時間窗中包括若干個子時間窗,所述子時間窗的時長為發送輪詢消息的時間間隔;重置單元11,用於如果所述資訊確定單元10在預置的時間窗內確定接收到群組設備發送的資訊,重置所述預置的時間窗;輪詢發送單元12,用於在所述重置單元11重置後的時間窗內發送輪詢消息給群組設備,以接收所述群組設備發送的資訊。 An embodiment of the present invention further provides a device for sleeping, that is, The structure of the SED device is as shown in FIG. 3, and includes: an information determining unit 10, configured to determine, in a preset time window, whether information received by the group device is received; the preset time window includes a plurality of a sub-time window, the duration of the sub-time window is a time interval for transmitting a polling message, and the reset unit 11 is configured to determine, if the information determining unit 10 receives the group device transmission, within a preset time window Information, resetting the preset time window; the polling sending unit 12 is configured to send a polling message to the group device within the time window after the resetting unit 11 is reset, to receive the group device Information sent.
可以理解,在該SED設備中可以包括接收群組 設備發送的資訊的單元即資訊接收單元。 It can be understood that the receiving group can be included in the SED device. The unit of information sent by the device is the information receiving unit.
本發明實施例的SED設備中,如果資訊確定單 元10確定在預置的時間窗內接收到群組設備發送的資訊,則重置單元11重置預置的時間窗,並由輪詢發送單元12在重置後的時間窗內發送輪詢消息給群組設備。這樣SED設備根據接收到群組設備發送的資訊來調整SED設備保持發送輪詢消息的頻率,從而調整SED設備處於喚醒狀態的時長,盡可能保證在群組設備發送資訊的期間,SED設備處於喚醒狀態從而接收群組設備發送的資訊。 In the SED device of the embodiment of the present invention, if the information is determined The element 10 determines that the information transmitted by the group device is received within the preset time window, and the reset unit 11 resets the preset time window, and the polling transmitting unit 12 transmits the polling within the reset time window. Message to the group device. In this way, the SED device adjusts the frequency at which the SED device keeps sending the polling message according to the information sent by the group device, thereby adjusting the duration of the SED device being in the awake state, and ensuring that the SED device is in the period during which the group device sends the information. The awake state receives the information sent by the group device.
參考圖4所示,在一個具體的實施例中,睡眠 功能的設備除了可以包括如圖3所示的結構外,還可以包括:時間窗啟動單元13、接收密度判斷單元14、頻率調整單元15和睡眠單元16,其中:時間窗啟動單元13,用於在加入操作網路或分配網路時,啟動預先設置的時間窗。且在操作網路和分配網路中啟動的時間窗可以相同,也可以不同,一般來說,在分配網路下會有大量資訊從群組設備中發出,則和操作網路相比,在分配網路中時間窗啟動單元13啟動的時間窗中所包括的子時間窗的數量較多,且子時間窗的時長較短。 Referring to Figure 4, in a specific embodiment, sleep The functional device may include, in addition to the structure shown in FIG. 3, a time window starting unit 13, a receiving density determining unit 14, a frequency adjusting unit 15, and a sleeping unit 16, wherein: the time window starting unit 13 is configured to: The preset time window is activated when joining the operating network or distributing the network. The time windows that are started in the operating network and the distribution network may be the same or different. Generally, when a large amount of information is sent from the group device under the distribution network, compared with the operating network, The number of sub-time windows included in the time window initiated by the time window activation unit 13 in the distribution network is large, and the duration of the sub-time window is short.
接收密度判斷單元14,用於判斷接收所述群組 設備發送資訊的密度是否大於預置的上限值,或用於判斷群組設備發送資訊的密度是否小於預置的下限值;其中預置的上限值大於下限值;頻率調整單元15,用於當所述接收密度判斷單元14判斷接收所述群組設備發送資訊的密度大於預置的上限值時,增加發送所述輪詢消息的頻率;當所述接收密 度判斷單元14判斷接收所述群組設備發送資訊的密度不大於預置的上限值或小於預置的下限值時,減小發送輪詢消息的頻率。其中增加和減小發送輪詢消息的頻率的具體方法如方法實施例中所述,在此不進行贅述。 a receiving density determining unit 14 configured to determine to receive the group Whether the density of the information sent by the device is greater than a preset upper limit value, or is used to determine whether the density of the information sent by the group device is less than a preset lower limit value; wherein the preset upper limit value is greater than a lower limit value; the frequency adjustment unit 15 And when the receiving density determining unit 14 determines that the density of receiving the information sent by the group device is greater than a preset upper limit value, increasing a frequency of sending the polling message; when the receiving density is The degree judging unit 14 determines that the frequency of transmitting the polling message is reduced when the density of receiving the information transmitted by the group device is not greater than a preset upper limit value or less than a preset lower limit value. The specific method for increasing and decreasing the frequency of sending the polling message is as described in the method embodiment, and details are not described herein.
睡眠單元16,用於當所述資訊確定單元10在 預置的時間窗內確定未接收到群組設備在操作網路下發送的資訊,長期地進入睡眠狀態。 a sleeping unit 16 for when the information determining unit 10 is The preset time window determines that the information sent by the group device under the operating network is not received, and enters the sleep state for a long time.
在本發明實施例中,當該設備加入分配網路 時,時間窗啟動單元13可以啟動一個預先設置的時間窗來控制設備保持發送輪詢消息的狀態,從而控制處於喚醒狀態的時長。在分配網路下,資訊確定單元10還可以確定在預置的時間內或當超過所述預置的時間窗時,是否接收到所述群組設備在分配網路下發送的配置資訊,如果是,則輪詢發送單元12按照預置的時間窗來發送輪詢消息,其中如果是在預置的時間窗內接收群組設備在分配網路下發送的配置資訊,則可以先由重置單元11重置時間窗後,輪詢發送單元12按照重置後的時間窗來發送輪詢消息;如果不是,則頻率調整單元15會減小輪詢發送單元12發送輪詢消息的頻率來節省設備的電量消耗,具體地,可以增加時間窗啟動單元13啟動的預置的時間窗中子時間窗的個數,或縮短所述預置的時間窗中子時間窗的時長等,並由輪詢發送單元12按照頻率調整單元15調整後的頻率發送輪詢消息給所述群組設備,以接收所述群組設備在配置網路下發送的配置資訊。 In the embodiment of the present invention, when the device joins the distribution network The time window activation unit 13 can initiate a pre-set time window to control the state in which the device keeps transmitting the polling message, thereby controlling the duration of the awake state. Under the distribution network, the information determining unit 10 may further determine whether the configuration information sent by the group device under the distribution network is received within a preset time or when the preset time window is exceeded. If yes, the polling sending unit 12 sends a polling message according to the preset time window. If the configuration information sent by the group device in the allocated network is received within the preset time window, the resetting may be performed first. After the unit 11 resets the time window, the polling transmitting unit 12 transmits the polling message according to the reset time window; if not, the frequency adjusting unit 15 reduces the frequency at which the polling transmitting unit 12 sends the polling message to save. The power consumption of the device, specifically, the number of time windows in the preset time window initiated by the time window starting unit 13 may be increased, or the time duration of the sub-time window in the preset time window may be shortened, etc. The polling sending unit 12 sends a polling message to the group device according to the frequency adjusted by the frequency adjusting unit 15 to receive the configuration information sent by the group device under the configured network.
且當該SED設備在接收到所述群組設備在分 配網路下發送的配置資訊後,可以觸發輪詢發送單元12以恢復使用所述預置的時間窗發送輪詢消息給所述群組設備,以接收所述群組設備在分配網路下發送的配置資訊。在一個具體的實施例中,當SED設備中的資訊接收單元接收到群組設備發送的配置資訊,並由配置單元按照該配置資訊進行配置完成後,可以觸發該SED設備中的重啟單元,來重新啟動該SED設備,重啟後的SED設備即進入操作網路。 And when the SED device receives the group device in minutes After the configuration information sent by the network is configured, the polling sending unit 12 may be triggered to resume sending the polling message to the group device by using the preset time window to receive the group device under the distribution network. Configuration information sent. In a specific embodiment, when the information receiving unit in the SED device receives the configuration information sent by the group device, and the configuration unit completes the configuration according to the configuration information, the restart unit in the SED device may be triggered. The SED device is restarted, and the restarted SED device enters the operating network.
當進入操作網路下,資訊確定單元10會在預 置的時間窗內確定是否接收到群組設備在操作網路下發送的資訊,如果是,則重置單元11重置時間窗啟動單元13啟動的時間窗,並由輪詢發送單元12發送輪詢消息;如果不是,則睡眠單元16進入睡眠狀態。在操作網路中群組設備發送資訊給SED設備的過程中,當SED設備喚醒由輪詢發送單元12發送輪詢消息時,如果接收密度判斷單元14判斷SED設備接收群組設備發送資訊的密度大於預置的上限值時,可以由頻率調整單元15增加發送輪詢消息的密度來保證SED設備被喚醒的連續性,並充分接收群組設備發送的資訊,則輪詢發送單元12會按照增加後的頻率發送輪詢消息;如果接收密度判斷單元14判斷SED設備接收群組設備發送資訊的密度不大於預置的上限值或小於預置的下限值時,可以由頻率調整單元15減小發送輪詢消息的密度來節省SED設備的電量消耗,則輪詢發送單元12會按照減小後的頻率發送輪詢消息。 When entering the operating network, the information determining unit 10 will be pre- It is determined within the set time window whether information received by the group device under the operating network is received, and if so, the reset unit 11 resets the time window initiated by the time window starting unit 13 and is sent by the polling transmitting unit 12 The message is queried; if not, the sleep unit 16 enters a sleep state. In the process of operating the group device to send information to the SED device in the operating network, when the SED device wakes up to send the polling message by the polling transmitting unit 12, if the receiving density determining unit 14 determines the density of the SED device receiving the information sent by the group device When the upper limit value is greater than the preset value, the frequency adjustment unit 15 may increase the density of the sending polling message to ensure the continuity of the SED device being awakened, and fully receive the information sent by the group device, and the polling sending unit 12 will follow the The increased frequency sends a polling message; if the receiving density determining unit 14 determines that the density of the SED device receiving the group device transmitting information is not greater than a preset upper limit value or less than a preset lower limit value, the frequency adjusting unit 15 may be used. By reducing the density of the transmit polling message to save power consumption of the SED device, the polling transmitting unit 12 will send a polling message according to the reduced frequency.
本發明實施例還提供一種資訊傳輸系統,包括 睡眠功能的設備和群組設備,其中:睡眠功能的設備,用於在預置的時間窗內確定是否接收到群組設備發送的資訊,如果是,重置所述預置的時間窗;所述預置的時間窗中包括若干個子時間窗,所述子時間窗的時長為發送輪詢消息的時間間隔;在所述重置後的時間窗內發送輪詢消息給群組設備,以接收所述群組設備發送的資訊;群組設備,用於發送資訊給睡眠功能的設備。 An embodiment of the present invention further provides an information transmission system, including a sleep function device and a group device, wherein: a sleep function device is configured to determine whether to receive information sent by the group device within a preset time window, and if so, to reset the preset time window; The preset time window includes a plurality of sub-time windows, the duration of the sub-time window being a time interval for transmitting a polling message, and sending a polling message to the group device within the reset time window to Receiving information sent by the group device; the group device, configured to send information to the device for the sleep function.
其中睡眠功能的設備的結構可以如圖3或圖4 所示,且設備中各個單元之間可以按照如前所述的方法進行資訊傳輸,在此不進行贅述。 The structure of the device in which sleep function can be as shown in FIG. 3 or FIG. 4 As shown, information transmission between the various units in the device can be performed as described above, and will not be described herein.
所屬技術領域具有通常知識者可以理解上述 實施例的各種方法中的全部或部分步驟是可以透過程式來指令相關的硬體來完成,該程式可以儲存於一電腦可讀儲存介質中,儲存介質可以包括:唯讀記憶體(ROM)、隨機存取記憶體(RAM)、磁片或光碟等。 Those skilled in the art can understand the above All or part of the steps of the various methods of the embodiment may be implemented by a program to instruct the related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: read only memory (ROM), Random access memory (RAM), magnetic disk or optical disc.
以上對本發明實施例所提供的資訊傳輸方 法、系統及睡眠功能設備,進行了詳細介紹,本文中應用了具體個例對本發明的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本發明的方法及其核心思想;同時,對於本領域的一般技術人員,依據本發明的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本發明的限制。 The above information transmission party provided by the embodiment of the present invention The method, the system and the sleep function device are described in detail. The principle and the embodiment of the present invention are explained in the specific examples. The description of the above embodiment is only used to help understand the method and core idea of the present invention; In the meantime, the present invention is not limited by the scope of the present invention.
Claims (15)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210080829.8A CN103327651B (en) | 2012-03-23 | 2012-03-23 | Information transmission method and system and sleeping function device |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201347578A true TW201347578A (en) | 2013-11-16 |
Family
ID=49196099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102110170A TW201347578A (en) | 2012-03-23 | 2013-03-22 | Information transmission method and system, and device with sleeping function |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN103327651B (en) |
TW (1) | TW201347578A (en) |
WO (1) | WO2013139263A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072565A (en) * | 2015-08-10 | 2015-11-18 | 深圳市金立通信设备有限公司 | Data transmission method and associated equipment |
US10972976B2 (en) | 2016-06-30 | 2021-04-06 | Huawei Technologies Co., Ltd. | Station wake-up method, related device, and system |
CN107959575B (en) | 2016-10-14 | 2020-11-17 | 华为技术有限公司 | Method and device for transmitting wake-up frame |
CN111935803A (en) * | 2020-07-09 | 2020-11-13 | 北京自如信息科技有限公司 | Equipment awakening method and device based on ZigBee communication protocol |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043753B (en) * | 2006-03-25 | 2011-10-05 | 华为技术有限公司 | Method, network and user terminal for realizing variable discontinuous reception/discontinuous transmission period |
US20080061943A1 (en) * | 2006-08-11 | 2008-03-13 | Ke-Li Wu | RFID systems and methods of operating the same in power-saving modes |
US8136113B2 (en) * | 2006-12-20 | 2012-03-13 | International Business Machines Corporation | Method and apparatus for adjusting sleep time of fixed high-priority threads |
US9237523B2 (en) * | 2008-07-07 | 2016-01-12 | Mediatek Inc. | Method of establishing sleep mode operation for broadband wireless communications systems |
CN101404602B (en) * | 2008-11-04 | 2010-12-15 | 南京航空航天大学 | DCF protocol node self-adapting dormancy mechanism suitable for multi-hop ad hoc network |
CN101808362B (en) * | 2009-02-13 | 2014-03-12 | 上海贝尔股份有限公司 | Method and device for adjusting sleep mode of mobile station |
-
2012
- 2012-03-23 CN CN201210080829.8A patent/CN103327651B/en active Active
-
2013
- 2013-03-20 WO PCT/CN2013/072903 patent/WO2013139263A1/en active Application Filing
- 2013-03-22 TW TW102110170A patent/TW201347578A/en unknown
Also Published As
Publication number | Publication date |
---|---|
CN103327651A (en) | 2013-09-25 |
CN103327651B (en) | 2017-04-26 |
WO2013139263A1 (en) | 2013-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10912035B2 (en) | Power management via coordination and selective operation of timer-related tasks | |
WO2018210135A1 (en) | Data transmission method, base station, and terminal | |
CN109511133B (en) | Awakening processing method and device | |
CN110691430B (en) | Awakening method and device of Internet of things terminal, storage medium and base station | |
WO2014114194A1 (en) | Method, device, and terminal for adjusting heartbeat cycle for application | |
EP3286572B1 (en) | Method and system for optimizing execution of user commands in relation to power management | |
TW201315275A (en) | Apparatus and method for operating M2M devices and non-transitory computer readable medium | |
WO2016180132A1 (en) | Dormancy method and apparatus for wireless fidelity (wi-fi) device | |
CN111448829A (en) | User node, network node, and method for wireless communication | |
TW201347578A (en) | Information transmission method and system, and device with sleeping function | |
CN110691399B (en) | Internet of things terminal, awakening method and device thereof and storage medium | |
US9237524B2 (en) | Sleep mode operation for networked end devices | |
WO2015113199A1 (en) | Method and apparatus for controlling discontinuous reception | |
KR100975693B1 (en) | Communication apparatus and control method, and storage medium thereof | |
CN111698673B (en) | Communication method and system in low-power-consumption wide area network | |
KR20190129219A (en) | Method And Apparatus for Providing Power Saving Optimization | |
CN110928586A (en) | APP background keep-alive method and device | |
WO2022068553A1 (en) | Vehicle communication method and apparatus, computer-readable medium and electronic device | |
TW201921991A (en) | Optimized data synchronization | |
CN106559861B (en) | Bluetooth equipment data transmission method and device | |
WO2018161972A1 (en) | System information transmission method, device, apparatus, and computer readable storage medium | |
EP2963859B1 (en) | Idle scheduling method and home network node | |
WO2021093743A1 (en) | Data communication method and related device | |
EP4167651A1 (en) | Network measurement | |
CN114257962A (en) | Network node, method for adjusting state of network node, and computer-readable storage medium |