Extended protocol frame for data transmission
阅读说明:本技术 用于数据传输的扩展协议帧 (Extended protocol frame for data transmission ) 是由 A·沃斯 E·拉尔法斯 于 2013-12-11 设计创作,主要内容包括:将数据帧从源设备发送到目标设备,其中,源设备和目标设备使用协议,所述协议定义了用于轮询未决数据的请求命令帧,包括以下步骤:在源设备中获得要被发送到目标设备的数据;在目标设备处产生用于轮询对于源设备未决的数据的请求命令帧;将要发送的数据分配在请求命令帧中;以及将具有要被发送的分配数据的请求命令帧发送到目标设备。(Transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling pending data, comprising the steps of: obtaining, in a source device, data to be transmitted to a target device; generating, at the target device, a request command frame for polling data pending for the source device; distributing data to be transmitted in a request command frame; and transmitting a request command frame having the allocation data to be transmitted to the target device.)
1. A method of transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling for pending data, the method comprising the steps of:
-storing pending data to be sent to the source device in the target device;
-receiving a request command frame from the source device for polling the pending data;
-in response to receiving the request command frame, sending the pending data to the source device; and
-extracting allocation data to be sent from the source device to the target device from the received request command frame.
2. The method according to claim 1, further comprising the step of processing the extracted allocation data and/or forwarding the extracted allocation data to a central entity.
3. A method according to claim 1 or 2, wherein the allocation data is extracted from the message overhead of a received request command frame.
4. A method according to claim 1 or 2, wherein the allocation data is extracted from a received request command frame following a command frame identifier and a message overhead of the request command frame.
5. A method according to claim 4, comprising the step of determining whether allocation data follows the command frame identifier in a received request command frame.
6. The method according to any of claims 1 to 5, wherein the structure of the frame is compatible with the IEEE802.15.4 standard or related implementations.
7. A method of transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling for pending data, the method comprising the steps of:
-obtaining, in the source device, data to be transmitted to the target device;
-generating a request command frame at the target device for polling data pending for the source device;
-allocating data to be transmitted in said request command frame; and
-transmitting the request command frame with allocation data to be transmitted to the target device.
8. The method of claim 7, further comprising the step of waiting to receive the pending data in response to sending the request command frame.
9. The method of claim 8, further comprising the step of setting the source device to a power saving mode after determining that no pending data needs to be received or that the pending data has been received.
10. The method according to any of claims 7 to 9, wherein the step of generating the request command frame is triggered by an interval or timer expiration.
11. The method according to any of claims 7 to 10, wherein the step of generating the request command frame is triggered by the occurrence of an event.
12. A method according to any one of claims 7 to 11, wherein the data to be transmitted is allocated in the message overhead of the request command frame.
13. A method according to any one of claims 7 to 11, wherein the data to be transmitted is appended to the message overhead and command frame identifier of the request command frame.
14. The method according to any of claims 7 to 13, wherein the structure of the frame is compatible with the IEEE802.15.4 standard or related implementations.
15. A target device for receiving data frames from a source device, wherein the source device and the target device use a protocol defining a request command frame for polling pending data, the target device being configured to:
-storing pending data in the target device to be sent to the source device;
-receiving a request command frame from the source device for polling the pending data;
-in response to receiving the request command frame, sending the pending data to the source device; and
-extracting from the received request command frame allocation data to be sent from the source device to the target device.
16. The apparatus of claim 15, further adapted to carry out the method of any one of claims 2 to 6.
17. The apparatus of claim 15 or 16, comprising a processing unit and a memory unit, the memory unit storing code to configure the processing unit to implement the functions of the apparatus.
18. The apparatus according to any one of claims 15 to 17, comprising a communication unit for establishing communication over a shared channel.
19. The device according to any of claims 15 to 18, comprising an internal power source, preferably any of a battery, a rechargeable battery, a solar cell.
20. The device of any of claims 15 to 19, further configured as a data collection device as part of a distributed data acquisition apparatus and configured to transmit frames to a data acquisition unit.
21. A source device to transmit a data frame to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling pending data, the source device being configured to:
-obtaining data to be sent to the target device;
-generating a request command frame at the target device for polling data pending for the source device;
-allocating data to be transmitted in said request command frame; and
-transmitting the request command frame with allocation data to be transmitted to the target device.
22. The apparatus of claim 21, further adapted to carry out the method of any one of claims 8 to 14.
23. A device according to claim 21 or 22, comprising a processing unit and a memory unit, the memory unit storing code for configuring the processing unit to implement the functions of the device.
24. The apparatus according to any of claims 21 to 23, comprising a communication unit for establishing communication over a shared channel.
25. A device according to any of claims 21 to 24, comprising an internal power source, preferably any of a battery, a rechargeable battery, a solar cell.
26. The device of any of claims 21 to 25, further configured as a data acquisition device as part of a distributed data acquisition apparatus, the data acquisition device comprising a sensor unit for acquiring data and configured to receive frames from a data collection unit.
27. A system for distributed data acquisition comprising at least one device according to any one of claims 15 to 20 and at least one device according to any one of claims 21 to 26.
Technical Field
The invention relates to the field of data transmission between a source device and a target device, wherein the devices employ a protocol defining a request command frame. In particular, the present invention relates to a method of transmitting a data frame, and a corresponding device configured to transmit a data frame. More particularly, the present invention relates to the field of distributed data collection as part of facility management.
Background
There are many established protocols for data exchange and communication. Some protocols are adapted to the specific characteristics of the communication channel employed, as the protocol specifies, among other things, consideration of the data rate of the channel, whether the channel is shared, the length of the channel, the physical implementation (e.g., wired or wireless transmission), the radio frequency bandwidth, and the like. Protocols and provisions for local wireless communication include, for example, EnOcean (TM), Dash7(TM), OneNet (TM), ANT (TM), Bluetooth (TM), Z-wave (TM), Zigbee (TM), WirelessHart (TM), 6LoWPAN (TM), Miwi (TM), IEEE802.15.4, IEEE802.11(WiFi), and others.
In general, a protocol defines a number of data units that represent the minimum amount of information to be sent over each channel. Such units are called "packets", "telegrams" or "frames". In the context of the present disclosure, the term "frame" shall denote such information units as defined by the respective protocol under consideration. Furthermore, a frame with addressing and/or routing information is typically provided, so that any entity receiving the frame can in principle decide whether the received frame is addressed to this entity.
In addition to implementing protocols, there is a wide range of standard hardware to facilitate actual communication. For example, a module may be used to communicate based on one or more protocols such that the protocols and communication capabilities need not be repeatedly implemented in a given application. The modules often feature some kind of interconnectivity to facilitate cooperation with applications. In other words, by relying on standardized modules for enabling communication, people can concentrate on such applications. Thus, protocols and communication functions need not be explicitly included in such applications.
While the adoption of standardized protocols and corresponding hardware, either in the form of the aforementioned modules or as a built-in function of an Integrated Circuit (IC), offers advantages in terms of simplicity, reliability and cost, the use of standard "devices" implies respective limitations and constraints from the chosen standard solution. As a result, on the one hand, the selected protocol can be substantially advantageous for implementation (low circuit complexity, high reliability, low unit cost, etc.), but on the other hand, at the same time, strict constraints are imposed.
Wherein the standard protocol may define a strict order in which data exchange needs to be performed. For example, the IEEE802.15.4 standard (and related implementations) provides for so-called request command frames that are used to poll for pending data. In this way, the receiving entity (device) may be powered down or in an idle state while the sending entity (device) generates or accumulates data to be sent to the receiving entity. This pending data may then be polled by the receiving entity by sending a request command frame to the sending entity. As a result, the receiving entity can independently decide when to receive any pending data, and thus does not have to be "online" all the time. Conversely, the receiving device may save power when it decides that it does not have to receive any pending data at the moment.
Meanwhile, distributed data collection is becoming more and more common in various environments, such as scientific research, industrial equipment, network management, facility management, and the like. With the advent of the so-called "internet of things," distributed standalone devices or applications come online in order to collect local information, possibly process it, and forward or send the collected data to some central entity for further processing and/or evaluation.
For example, sensor devices measure the use of resources (e.g., water, electricity, soap, etc.) in a facility. The collected information may then be collected by some means that communicates to the individual sensor devices. It is desirable that all such devices operate reliably, be inexpensive to manufacture, and have low power consumption (e.g., the latter allowing for battery-powered stand-alone devices). Although the above object can be achieved by employing standard protocols and corresponding hardware, the selected protocol then limits the number of addressable devices possible, since the address space of the selected protocol does not allow a sufficient number of unique addresses and thus device identifiers to be defined.
Therefore, there is a need in various environments to allow application implementation by means of standard equipment. At the same time, however, there is a need to further reduce the power consumption of the devices involved. Especially considering distributed data acquisition devices, which are only provided with limited power resources and where it is desirable to reduce maintenance (e.g. replacing or recharging batteries) to a minimum. In particular, there is a need to further improve standardized protocols and corresponding hardware for power efficiency.
Disclosure of Invention
The mentioned problems are solved by the subject matter of the independent claims. Further preferred embodiments are defined in the dependent claims.
According to one aspect of the present invention, there is provided a method of transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling for pending data, the method comprising the steps of: storing pending data to be sent to the source device in the target device; receiving a request command frame for polling pending data from a source device; transmitting the pending data to the source device in response to receiving the request command frame; and extracting allocation data to be transmitted from the source device to the target device from the received request command frame.
According to another aspect of the present invention, there is provided a method of transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling for pending data, the method comprising the steps of: obtaining, in a source device, data to be transmitted to a target device; generating, at the target device, a request command frame for polling data pending for the source device; distributing data to be transmitted in a request command frame; and transmitting a request command frame having the allocation data to be transmitted to the target device.
According to another aspect of the present invention there is provided a target device for receiving a data frame from a source device, wherein the source device and the target device use a protocol defining a request command frame for polling pending data, the target device being configured to: storing pending data in the target device to be sent to the source device; receiving a request command frame for polling pending data from a source device; transmitting the pending data to the source device in response to receiving the request command frame; and extracting allocation data to be transmitted from the source device to the target device from the received request command frame.
According to another aspect of the present invention there is provided a source device for transmitting a data frame therefrom to a target device, wherein the source device and the target device use a protocol defining a request command frame for polling pending data, the source device being configured to: obtaining data to be sent to a target device; generating, at the target device, a request command frame for polling data pending for the source device; distributing data to be transmitted in a request command frame; and transmitting a request command frame having the allocation data to be transmitted to the target device.
According to another aspect of the present invention, there is provided a system for distributed data acquisition, the system comprising at least one source device of any of the disclosed embodiments and at least one target device of any of the disclosed embodiments.
Drawings
Embodiments of the present invention will now be described for a better understanding of the inventive concepts, without being considered to be limiting thereof, with reference to the accompanying drawings, in which:
FIG. 1A shows a schematic diagram of a data acquisition system comprising a central entity, data collection means and data acquisition means, and implementing data frame transmission, according to an embodiment of the invention;
FIG. 1B shows a schematic diagram of an exemplary data collection unit implementing data frame transmission according to another embodiment of the present invention;
FIG. 1C shows a schematic diagram of an exemplary data acquisition unit implementing data frame transmission according to another embodiment of the present invention;
fig. 2 shows a possible implementation of data frame transmission in a data collection device and a data acquisition device arranged in a facility according to another embodiment of the invention;
FIG. 3A is a diagram illustrating a conventional request command frame;
FIG. 3B is a diagram illustrating a request command frame according to another embodiment of the invention;
FIG. 3C is a diagram illustrating a request command frame according to another embodiment of the invention;
FIG. 4 shows a schematic diagram of a sequence of frames between a source device and a target device according to another embodiment of the invention; and
fig. 5A and 5B show a flow chart of a method embodiment of the present invention.
Detailed Description
Fig. 1A shows a schematic diagram of a data acquisition system according to an embodiment of the invention, comprising a central entity, data collection means and data acquisition means, and implementing data frame transmission. In particular, the data acquisition system according to the present embodiment comprises a central entity 10, data acquisition means in the form of one or more
By way of example, a
Optionally, one or more data collection units 30' of the data collection apparatus may be coupled to the network 20 through one or more intermediate data collection levels (levels). One way is to implement an optional hierarchical device 50 between the data collection unit and the network 20. Such optional hierarchy devices (units) may in turn collect, process and/or forward data from one or more data collection units 30' to or from the network 20 or between the networks 20. For example, the optional level device 50 may be provided at a building level, a regional level, a department level, a floor level. In this manner, the corresponding level devices 50 collect, process and/or forward data to and from the data collection devices 30' respectively disposed in an area, a building, a department or a floor.
The data acquisition means is in the form of at least one
According to the present embodiment, one individual
The specific manner of data frame transmission in the present embodiment will now be described in more detail with reference to fig. 1B and 1C. Specifically, fig. 1A shows a schematic diagram of an exemplary
The exemplary
The
According to an embodiment of the invention, the code also implements extraction of the allocation data to be sent from the
The exemplary
As a data acquisition unit, it further comprises a
For example, a frame from an associated data collection unit (downlink) may include configuration data and/or instructions that set any of acquisition interval, acquisition accuracy, number selection (i.e., what number to acquire), set the unit to a powered on, powered off, or idle state, set a transmission interval, and so forth. On the uplink, the data collection unit may report collected data and/or status information (e.g., operational status, possible faults, remaining battery/power resources, etc.) back to the associated data collection unit.
The
According to an embodiment of the invention, the code also implements the allocation of data to be transmitted in a request command frame and the transmission of the request command frame with the allocation data to be transmitted to the
As a result, not only the
It should also be noted that a fully bi-directional data exchange is possible between the central entity 10 on the one hand and one individual
Fig. 2 shows a possible implementation of data frame transmission in a data collection device and a data acquisition device arranged in a facility, in particular a managed facility in the form of a toilet 1, according to another embodiment of the invention. Restroom 1 has several locations from which consumables may be dispensed, including waste bin 41, toilet paper dispenser 42, hand sanitizer dispenser 43, and towel dispenser 44. During use in a restroom, cleaning composition dispenser 43, wipe dispenser 44, and toilet paper dispenser 42 may be depleted and waste bin 41 may be filled.
In a conventional facility management scenario, a maintenance person or team would periodically check toilet 1, including checking the height in dispensers 43, the amount of wipes in wipe dispensers 44, the amount of toilet paper in toilet paper dispensers 42, and the height of waste in each waste bin 41. The maintenance person can make a decision as to whether any one resource is likely to need replenishment during the period before its next scheduled maintenance visit, and he can replenish those resources that are deemed to need such replenishment, as long as the staff has sufficient consumables on the maintenance cart. The maintenance personnel can also empty the waste tank 41 as long as the personnel have sufficient space of remaining capacity for waste on the maintenance trolley. If there is insufficient capacity space or remaining resources on the cart for waste, the staff may not replenish the resources or may adjust their route to re-replenish the cart to a central storage point before continuing.
In this embodiment the toilet 1 in fig. 2 further comprises a data collection unit 31, e.g. the unit described as
More generally, however, embodiments of the invention may also be applied to any type of facility management where large-scale management of the use of consumables and their supply is required. For example, large organizations such as corporations, institutions, and the like provide public facilities for use by, for example, employees, visitors, and other personnel. In the case of a commercial establishment, such facilities may include not only washrooms as shown in connection with fig. 2, but also conference rooms, document preparation stations, food preparation stations, maintenance stations, local supply warehouses, and other similar facilities.
Each facility may be associated with a storage or distribution point, where the consumable items to be used in and around the facility may be stored for use, and where the discarded consumable items may be stored for disposal. In the case of a toilet, such storage points may include toilet paper dispensers, hand sanitizer or antiseptic gel dispensers, trash cans, and sanitary dispensers. In the case where the facility is a document preparation center, the storage points may include paper storage points, ink cartridge storage points, stationery storage points, and the like. Where the facility is a maintenance area, the storage points may include storage points for different components, for maintenance and cleaning compounds, and for example hand sanitizer dispensers and paper towel dispensers. Such sites typically provide resources to users of the facility. In particular, the resource may be a consumable or may be a space for storing used consumables and/or garbage. In each case, the resources may be exhausted by users of the facility.
Such management can present considerable organizational and logistical challenges and is heavily dependent on the experience of the managers and workers. Such challenges include ensuring that each facility is viewed on a sufficiently regular basis to assess the resource requirements of each location in the facility and, optionally, replenish and/or empty the location. Other challenges include ensuring that facilities are maintained in proper condition without providing a very large area for storage of waste or keeping a large inventory of consumables in the facilities themselves, on supply carts, or at a central location. Finally, a significant challenge is to manage the facility in a manner that enables responses to exceptional events that result in the sudden depletion of one or more resources or the sudden accumulation of waste.
For these applications, the present embodiment may provide an advantageous solution, since the distributed data acquisition arrangement may be provided in a generally efficient manner. In particular, due to the use of standardized communication solutions, embodiments of the present invention are able to provide cost-effective and reliable devices (data collection devices and data collection devices) and interoperability and, at the same time, allow more efficient use of the available power resources at the equipment involved. In addition, interference and radio frequency emissions may be further reduced by reducing the amount of frames exchanged over the air interface during normal operation.
Fig. 3A shows a schematic diagram of a conventional request command frame, and in particular, the request command frame 70 includes a frame overhead 701 and a command frame identifier 702. The command frame identifier 702 may store a value that characterizes the frame 70 as a request command frame. In this manner, any receiving entity can identify frame 70 as a request command frame in order to initiate all operations and processing required by the respective standard.
In the example of the IEEE802.15.4 standard (and related embodiments or frame structures compatible therewith), the frame overhead 701 may include a variable number of octets (bytes), including so-called MHR fields, such as a frame control field, a sequence number field, an addressing field, and so forth. Further, the command frame identifier 702 may specify a particular value, such as a hexadecimal value of 0x04, which is one way to identify the frame 70 as a request command frame.
Fig. 3B shows a schematic diagram of a request command frame according to another embodiment of the invention. The request command frame 71, similar to the frame 70 described in connection with FIG. 3A, includes a frame overhead 701' and a command frame identifier 702. According to this embodiment, the request command frame overhead 701' is modified to also include the allocated data 710. This may be achieved by taking unused data in the frame overhead or by extending the size of the overhead 701' relative to the overhead 701 of the frame 70. One possibility is to use the unused addressing field of the MHR field or to add arbitrary data to a field with variable length. For example, the allocated data may be appended in the form of an additional addressing field, as such an addressing field may have a variable octet (byte) length.
Fig. 3C shows a schematic diagram of a request command frame according to another embodiment of the invention. The request command frame 72 likewise includes a frame overhead 701 and a command frame identifier 702. According to this embodiment, the allocated data is added to the frame, for example at the end of the command frame identifier 702. In this manner, the allocated data may have a variable, almost unlimited length, as the data 710 follows the standard configuration of the overhead 701 and command frame identifier 702. In this way, any employed device need only be configured to check whether the allocated data 710 is included in the request command frame 72 by simply listening (receiving) for any other data after the command frame identifier 702 has been received. As a result, modifications to existing devices and implementations may remain very small. At the same time, however, the advantages of the disclosed embodiments may still be obtained.
Fig. 4 shows a schematic diagram of a sequence of frames between a source device and a target device according to another embodiment of the invention. In this embodiment, the source device is a
At some point in time,
Fig. 5A shows a flow chart of a method embodiment of the present invention. This method embodiment is directed to implementing transmission of a data frame from a source device to a target device, wherein the source device and the target device use a protocol that defines a request command frame (e.g., IEEE802.15.4 and related implementations, or frame structures compatible therewith) for polling for pending data. The method embodiment includes step S11 of storing pending data to be sent to the source device in the target device. This data may be, for example, configuration data (acquisition interval, acquisition accuracy, power saving mode, request to report on the level of remaining power resources, etc.) obtained from some central entity to be forwarded to the source device in order to configure its operation and behavior.
In step S12, a request command frame for polling pending data is received from the source device. If there is indeed pending data, this pending data is sent to the source device in response to receiving the request command frame in step S14. If no data is pending, a simple acknowledgement message may be sent with some indicator to inform the source device that no data is pending and that the source device may therefore return to some kind of power saving mode or idle mode. In step S13, any allocation data to be transmitted from the source device to the target device is extracted from the received request command frame. Note that the illustrated order of steps S13 and S14 may be arranged in any suitable manner, e.g., such that also (optional) step S14 is performed before step S13.
Fig. 5B shows a flow chart of a method embodiment of the present invention. This method embodiment is directed to transmitting a data frame from a source device to a target device, wherein the source device and the target device use a protocol that defines a request command frame for polling for pending data (as in IEEE802.15.4 and related embodiments, or frame structures compatible therewith). The method embodiment comprises a step S21 of obtaining data in the source device to be sent to the target device. This may include, for example, collecting, processing or storing sensor measurement data to be reported to a data collection unit and further to some kind of central entity.
In step S22, a request command frame for polling data pending for the source device is generated at the target device. Preferably, step S22 and subsequent steps may be initiated in response to a determination that the data obtained in step S21 needs to be transmitted, for example, when some acquisition/reporting interval has expired and/or an event related to the acquired measurement data occurs (e.g., the measurement values satisfy some condition with respect to a predetermined threshold). In step S23, the data to be transmitted is allocated in the request command frame, and in step S24, the thus-generated request command frame with the allocation data to be transmitted is transmitted to the target device. If there is indeed pending data, this data may be received in optional step S25.
While specific embodiments have been described, these are only intended to provide a better understanding of the invention as defined by the independent claims and should not be taken as limiting.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:光纤保护系统、方法、装置及存储介质