CN102754396A - Method and gateway device for sending data - Google Patents

Method and gateway device for sending data Download PDF

Info

Publication number
CN102754396A
CN102754396A CN2011800012751A CN201180001275A CN102754396A CN 102754396 A CN102754396 A CN 102754396A CN 2011800012751 A CN2011800012751 A CN 2011800012751A CN 201180001275 A CN201180001275 A CN 201180001275A CN 102754396 A CN102754396 A CN 102754396A
Authority
CN
China
Prior art keywords
time window
packet
corresponding storage
current time
window corresponding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011800012751A
Other languages
Chinese (zh)
Other versions
CN102754396B (en
Inventor
刘培
牛旭亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102754396A publication Critical patent/CN102754396A/en
Application granted granted Critical
Publication of CN102754396B publication Critical patent/CN102754396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and gateway device for sending data are provided by the embodiments of the invention. The method includes: receiving a data packet from a sensor network, and determining the application layer data attribute and/or delay demand of the data packet; according to the application layer data attribute and/or delay demand of the data packet, determining the time window which the data packet belongs to, and storing the data packet in a storage area corresponding to the determined time window; when arriving a sending time of the current time window, packing the data packet stored in the storage area corresponding to current time window, and sending the packetized data packet to another network. The invention embodiments uses forwarding mechanism based on the time window, determines the time window for the data packet according to the application layer data attribute and/or delay demand of the data packet, and timely packs and forwards the data packet within the time window, therefore reasonable schedules the sending time for the different data packet, and debases the sending delay for the high instantaneity data packet.

Description

Send the method and the gateway device of data
Technical field
The embodiment of the invention relates to communication technical field, and more specifically, relates to the method and the gateway device that send data.
Background technology
Sensor network gateway will be played the part of very important role in the Internet of Things epoch in future, and it will become the tie that connects sensing net and conventional communication networks.As a kind of gateway device, sensor network gateway can be realized the protocol conversion between sensing net and communication network and the dissimilar sensing net, for example realizes that wide area is interconnected or local is interconnected.The data that transducer handle in the Internet of Things collects send to gateway with the form of packet, arrive in the external network (for example Ethernet) based on other agreements through gateway forwards again, and this moment, gateway was responsible for the protocol conversion between the heterogeneous networks, transmitted packet then.
When gateway is forwarded to external network at the packet with the collection of sensing net; Do not consider the time delay characteristic of different pieces of information bag; But directly transmit without exception, when the network bandwidth is narrower, possibly cause some instant data in time not send; But not the emergency data bag can take the resource of instant data, makes the emergency data of sensing net can not get in time reporting.
Therefore, the gateway place needs as much as possible to manage with efficient data and transmits with the timely and effective scheduling that realizes sensing data and report.
Summary of the invention
The embodiment of the invention provides a kind of method and gateway device that sends data, can rationally transmit the packet of sensor network based on the characteristic demand of the packet of sensor network.
On the one hand, a kind of method of sending data is provided, has comprised: received packet, and confirm the application layer data attribute and/or the delay requirement of this packet from sensor network; According to the application layer data attribute and/or the delay requirement of this packet, confirm the time window that this packet is affiliated, this packet of storage in determined time window corresponding storage territory; When arriving the delivery time of current time window, the packet of storing in the current time window corresponding storage territory is packed, and the packet after will packing is sent to another network.
On the other hand, a kind of gateway device is provided, has comprised: first confirms the unit, is used to receive the packet from sensor network, and confirms the application layer data attribute and/or the delay requirement of this packet; Second confirms the unit, is used for application layer data attribute and/or delay requirement according to this packet, confirms the time window that this packet is affiliated, this packet of storage in determined time window corresponding storage territory; Transmitting element is used for when arriving the delivery time of current time window, the packet of storing in the current time window corresponding storage territory is packed, and the packet after will packing being sent to another network.
The embodiment of the invention is used the forwarding mechanism based on time window; According to the attribute of packet or the time window under the delay requirement specified data bag; Packing is transmitted to the timing data packet in the time window; Thereby reasonably the transmitting time of different pieces of information bag is dispatched, and reduce the transmission delay of the high packet of instantaneity, realize in time rationally reporting of sensing data.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart according to the data packet forwarding method of the embodiment of the invention.
Fig. 2 is the sketch map according to an example of the time window of the embodiment of the invention.
Fig. 3 is the schematic flow diagram of data packet forwarding method according to another embodiment of the present invention.
Fig. 4 is the schematic block diagram according to the gateway device of the embodiment of the invention.
Fig. 5 is the schematic block diagram of gateway device according to another embodiment of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention can be transmitted packet and carry out rational management, makes the packet that transmits in the sensor network packed through rational time window arrangement and be sent among another network.Fig. 1 is the flow chart according to the data packet forwarding method of the embodiment of the invention.The method of Fig. 1 is carried out by gateway device.
101, receive packet, and confirm the application layer data attribute and/or the delay requirement of this packet from sensor network.
102, according to the application layer data attribute and/or the delay requirement of this packet, confirm the time window that this packet is affiliated, this packet of storage in determined time window corresponding storage territory.
103, when arriving the delivery time of current time window, the packet of storing in the current time window corresponding storage territory is packed, and the packet after will packing is sent to another network.
The embodiment of the invention is used the forwarding mechanism based on time window; According to the attribute of packet or the time window under the delay requirement specified data bag; Packing is transmitted to the timing data packet in the time window; Thereby reasonably the transmitting time of different pieces of information bag is dispatched, and reduce the transmission delay of the high packet of instantaneity.
In the embodiment of the invention, utilize time window to solve the packet queuing problem.Fig. 2 is the sketch map according to an example of the time window of the embodiment of the invention.In the example of Fig. 2, suppose that gateway uses 6 time windows, i.e. time window shown in the left side of Fig. 20 to time window 5.The unit interval of each time window is T, for example T=10ms.Suppose that time window 0 is the current time window.
Gateway can be used for depositing the packet that receives for the certain storage area of each time window application.The size in each time window corresponding storage territory can be to satisfy the long Lmax of maximum bag of external network protocols regulation.Shown in Fig. 2 the right is the example of a time window, and wherein dash area is the packet of having stored in the respective memory regions, and the space size that occupies is Ls.Blank parts is the remaining space in the storage area, and size is Lr.The big or small summation of dash area and blank parts is the big or small Lmax=Ls+Lr of storage area.
Gateway receives the packet of self-sensing net; The application layer data attribute and/or the delay requirement of read data packet; Be saved in (dash area among Fig. 2) in the corresponding storage area to packet successively, that is to say that the order of packet queuing in the storage area is exactly the order that gateway receives packet.Gateway can be preserved these packets according to time window, sends these packet packings until gateway.
The transmission of the packet of storing in the slip of time window and the time window corresponding storage territory can be controlled through timer.Fig. 3 is the schematic flow diagram of data packet forwarding method according to another embodiment of the present invention.
The method of Fig. 3 is carried out by gateway device, utilizes the slip of timer loop control time window.The method of Fig. 3 is described below in conjunction with Fig. 2.
300, start timer, the length of this timer equals the unit interval of time window.For example, if the unit interval of time window is T, then the length of timer also is T.
When this timer expires, the current time window is become next time window of this current time window, and restart timer.In addition, the delivery time of current time window is the overdue moment of timer of current time window.In other words, time window slides, and gateway can start timer, whenever just sends the packet (if any) in this time window corresponding storage territory through a window time T.
For example, suppose as shown in Figure 2ly, the slip of time window is counterclockwise order in proper order.Gateways and starting timer, timer length are T, promptly after the gateway elapsed time T, and the packet in the transmitting time window 0 (that is, the current time window), at this moment, time window 0 rotates counterclockwise the time window into the maximum numbering, becomes new time window 5.Simultaneously, time window 1 rotates counterclockwise to time window 0 (that is, the time window slogan deducts 1), becomes new current time window.Other times window 2-4 rotates successively, the time window slogan of conversion oneself (for example, separately time window slogan deduct 1).
Should note; The process 300 of present embodiment can be carried out before the reception packet, can when receiving packet, carry out (for example, operated to trigger by the reception of packet and start timer); Possibly after receiving packet, carry out through behind the certain hour, the present invention does not limit this yet.
In addition, though among Fig. 3 process 300 is shown as execution before process 301, the embodiment of the invention is not limited thereto.Process 300 also can be carried out with process 301 or after process 301, carried out simultaneously.These variations all fall in the scope of the embodiment of the invention.
301, be similar to 101 of Fig. 1, the application layer data attribute and/or the delay requirement of definite packet that is received.
The application layer data attribute or the delay requirement of the packet that produces to the different application scene possibly be different.The delay requirement of packet representes that gateway can preserve the time of this packet, and gateway just can be within the scope of this time, and packet is packed and transmitted.For example, the delay requirement of packet can show as concrete time value, for example 5ms, 15ms etc.Perhaps, the delay requirement of packet can represent that the delay requirement of limit priority representes that this packet is the emergency data bag with priority, needs to transmit immediately.Priority is low more, and being illustrated in the time of preserving at the gateway place can be long more.
The application layer data attribute of packet can be represented the Business Nature of this packet, as representes that this packet is that temperature, humidity etc. are measured the packet of using generation.The application layer data attribute of packet is defined by the sensing net, also can reflect the urgency level that packet is transmitted.For example, the packet that the application that instantaneity is had relatively high expectations (like security alarm etc.) is produced is the emergency data bag, needs to transmit immediately.Other use the suitably delayed delivery of packet that produces.
Need to prove; According to the actual conditions of current communication, when sensing net and external network communication, can't obtain end-to-endly and control traditional QoS (Quality of Service; But can easily extract the application layer data attribute or the delay requirement of packet quality of service).
302, be similar to 102 of Fig. 1, according to the application layer data attribute and/or the delay requirement of established data bag in 301, confirm the time window that this packet is affiliated, with this packet of storage in determined time window corresponding storage territory.
As stated, the application layer data attribute of packet and/or delay requirement have reflected the urgency level that this packet is transmitted.Can carry out quantification treatment,, confirm the delay value D of this packet according to the application layer data attribute and/or the delay requirement of packet.For example, be under the situation of time value at delay requirement, delay value D can be this time value.Perhaps, can stipulate the pairing delay value D of different application layer data attribute or delay requirement priority.
Obtain after the delay value D, can be according to the ratio between the unit interval T of the delay value D of packet and time window, the time window under the specified data bag.With reference to Fig. 2, time window 0 can be corresponding to 0<D≤T, i.e. 0<D/T≤1; Time window 1 can be corresponding to T<D≤2T, i.e. 1<D/T≤2; So analogize.In the example of Fig. 2; The maximum bag of the long external network no better than of the bag of the packet of time window 3 is long; But there is not packet in the time window 2; There is the delay value of a lot of packets to satisfy 3T<D≤4T in the packet that this expression gateway is received, and do not have the delay value of packet to satisfy 2T<D≤3T.
In addition; If the packet in some time window (time window 3 for example shown in Figure 2) is more; And the follow-up packet that belongs to time window 3 that still receives; Possibly cause these time window 3 corresponding storage territories not have enough remaining spaces to store follow-up packet, can be put into the follow-up data bag in the time window (for example, time window 4 or time window 5) of back this moment.The reason of doing like this is: the delay requirement of the packet in this time window all is the same, and follow-up packet arrives after with respect to the packet of having stored in this time window being, so in the time window that can only put behind.Thereby the bag that had both satisfied the external network defined is long, has also guaranteed the ageing of packet as far as possible.
Particularly, but the length L of judgment data bag whether greater than the remaining space Lr in determined time window corresponding storage territory.When L≤Lr, this packet of storage in determined time window corresponding storage territory.On the other hand, when L>Lr, this packet of storage in next time window corresponding storage territory of determined time window.In addition, when also not having enough remaining spaces, can be stored to again next time window corresponding storage territory, perhaps in next time window, jump the queue in next time window corresponding storage territory.
303, be similar to 103 of Fig. 1, when arriving the delivery time of current time window, the packet of storing in the current time window corresponding storage territory is packed, and the packet after will packing is sent to another network (for example, Ethernet).
The delivery time of current time window 0 is the overdue moment of the timer of current time window 0.When if timer expires, the current time window is not stored packet in the 0 corresponding storage territory, the transmit operation of then can not packing.Perhaps, can from follow-up time window 1-5, take out packet, to the packet that the is taken out transmission of packing.
When if timer expires, the current time window has the storage packet in the 0 corresponding storage territory, then can be to the packet of the being stored transmission of packing.
In addition; Also have under the situation of remaining space in current time window 0 corresponding storage territory; Can from follow-up time window 1-5 corresponding storage territory, take out packet, and with the transmission of packing together of the packet of packet of storing in the current time window 0 corresponding storage territory and taking-up.Like this, can be in guaranteeing current time window 0 packet packed under the situation of sending, with the packet of back under the situation that resource allows also together packing send, that is to say as far as possible and fill a packet of packing.
At this moment; Gateway is when packing transmission to the packet of current time window 0; Can make following judgement: full if the packet of current time window 0 has been arranged, do not allowed to add new packet, so the gateway packet of current time window 0 of just can only packing; If the packet of current time window 0 not row is full, can allow to add new packet, gateway will judge under the situation that resource allows to take out how many packets from follow-up window when packing is sent so.The order of taking out packet from subsequent window is the sending order according to time window, from time window, take out successively behind the packet with current time window 0 in the packet transmission of packing together.
Do so not only and can make full use of bandwidth, especially can effectively reduce the follow-up forwarding time delay of waiting to send out the packet in the time window.
The window queuing and the window forwarding mechanism of routine data bag have been described above.Indicate under the situation of said packet for the emergency data bag that needs to transmit as early as possible at the application layer data attribute of packet and/or delay requirement, the embodiment of the invention can also be carried out special processing, to guarantee the ageing of emergency data bag.
Alternatively; In one embodiment, can transmit said emergency data bag immediately to another network, no matter and whether the time window under this emergency data bag can hold down this packet; Can not put into time window to this packet, to guarantee the ageing of this packet.Under the situation that resource allows, can also from time window 0-5, take out the suitable data bag, with the transmission of packing of this emergency data bag, thereby utilize bandwidth more fully.
As another embodiment, judge the storage condition in the current time window 0.The remaining space Lr that is less than or equal to said current time window corresponding storage territory in the length L of emergency data bag is (under the situation of L≤Lr); Immediately with the packet of storing in emergency data bag and the current time window 0 corresponding storage territory transmission of packing together, and no longer wait the timer timing behind time T, to send these packets.Because L≤Lr; The long long Lmax of maximum bag that can not exceed the external network permission of the overall budget of the packet of therefore packing together this moment; Can be when guaranteeing emergency data bag ageing, also guaranteed packet ageing in original time window 0, improved bandwidth availability ratio simultaneously.
For example, suppose that gateway has been received an emergency data bag when gateway timing during to time t, gateway will be the transmission of packing together of the packet in the time window 0 and this emergency data bag.Within the remaining time (T-t), gateway still can receive packet, then when time T, and the packet that belongs to time window 0 that gateway is received (T-t) the during this period of time transmission of packing.
As guaranteeing that the remaining space in the time window can hold an embodiment of emergency data bag, can be in time window 0 or time window 1, for these emergency data bags are reserved some resources.These resources can be not too many, just can reserve the resource that satisfies 1 to 2 packet in a time window.Because the emergency data bag is generally fewer, these reserved resource can satisfy the requirement of emergency data bag.
In addition, (during L>Lr), transmit the emergency data bag immediately to another network, and the emergency data bag is not put into time window greater than the remaining space Lr in current time window 0 corresponding storage territory in the length L of emergency data bag.As another embodiment, under the situation that resource allows, can from current time window 0, take out the partial data bag, with the transmission of packing of this emergency data bag, thereby utilize bandwidth more fully.
Perhaps, (during L>Lr), allow the emergency data bag to jump the queue in the length L of emergency data bag greater than the remaining space Lr in current time window 0 corresponding storage territory.Particularly; Can all or part of packet of storing in the current time window 0 corresponding storage territory be shifted and store among the follow-up time window 1-5; So that the remaining space Lr in current time window 0 corresponding storage territory more than or equal to the length L of emergency data bag, stores this emergency data bag then in the 0 corresponding storage territory of the current time window after above-mentioned transfer processing.
The method of the transmission data of the embodiment of the invention is according to the application layer data attribute and/or the delay requirement of packet; Packet to needing gateway forwards carries out simple classification; And designed a kind of forwarding mechanism based on time window, gateway in time window to the packet transmission of packing.The embodiment of the invention can improve the forwarding of gateway and handle bandwidth utilization when consider packet ageing.For example, in wireless sense network, through adopting said method, sensor acquisition to Various types of data can reasonably arrange and scheduling be transferred into external network through gateway, like Ethernet, thereby realize effective transmission of sensor data information.
Fig. 4 is the schematic block diagram according to the gateway device of the embodiment of the invention.The gateway device 40 of Fig. 4 comprises that first confirms unit 41, second definite unit 42 and the transmitting element 43.
First confirms the packet that unit 41 receives from sensor network, and confirms the application layer data attribute and/or the delay requirement of this packet.Second confirms application layer data attribute and/or the delay requirement of unit 42 according to first definite unit, 41 determined these packets, confirms the time window that this packet is affiliated, this packet of storage in determined time window corresponding storage territory.Transmitting element 43 packet of storing in the current time window corresponding storage territory is packed, and the packet after will packing is sent to another network when arriving the delivery time of current time window.
The embodiment of the invention is used the forwarding mechanism based on time window; According to the attribute of packet or the time window under the delay requirement specified data bag; Packing is transmitted to the timing data packet in the time window; Thereby reasonably the transmitting time of different pieces of information bag is dispatched, and reduce the transmission delay of the high packet of instantaneity.First confirms that 41, second definite unit 42, unit and transmitting element 43 can be respectively processors.
Gateway device 40 can be realized each process of method embodiment recited above.For example, second confirms that unit 42 can be according to the application layer data attribute and/or the delay requirement of packet, and the delay value of specified data bag, and according to the ratio between the unit interval of the delay value of packet and time window is confirmed the time window under this packet.
Alternatively; As an embodiment; But second confirm unit 42 judgment data bags length whether greater than the remaining space in determined time window corresponding storage territory; When this length of data package is less than or equal to the remaining space in determined time window corresponding storage territory; This packet of storage in determined time window corresponding storage territory, and in this length of data package during greater than the remaining space in determined time window corresponding storage territory, this packet of storage in next time window corresponding storage territory of determined time window.
Transmitting element 43 can also also have under the situation of remaining space in current time window corresponding storage territory; From follow-up time window corresponding storage territory, take out packet, and with the transmission of packing together of the packet of packet of storing in the current time window corresponding storage territory and taking-up.
Fig. 5 is the schematic block diagram of gateway device according to another embodiment of the present invention.In the gateway device 50 of Fig. 5, except confirming also to comprise timer 51 and emergency treatment unit 52 unit 42 and the transmitting element 43 in first definite unit 41, second shown in Figure 4.Timer 51 can be respectively a processor with emergency treatment unit 52.
The length of timer 51 equals the unit interval of time window, when timer 51 expires, the current time window is become next time window of current time window, and restarts timer 51.Wherein, the delivery time of said current time window is the 51 overdue moment of timer of current time window.
Application layer data attribute and/or this packet of delay requirement indication at packet are that this emergency data bag can be transmitted immediately to another network in emergency treatment unit 52 under the situation of the emergency data bag of forwarding as early as possible.Perhaps, this emergency data bag can during greater than the remaining space in current time window corresponding storage territory, be transmitted to another network immediately in the length of this emergency data bag in emergency treatment unit 52.Perhaps; Emergency treatment unit 52 can be less than or equal in the length of this emergency data bag under the situation of remaining space in current time window corresponding storage territory, immediately with the packet of storing in this emergency data bag and the current time window corresponding storage territory transmission of packing together.
Alternatively; In another embodiment; Application layer data attribute and/or delay requirement at packet are indicated the emergency data bag of said packet for needing to transmit as early as possible; And under the situation of the length of this emergency data bag greater than the remaining space in current time window corresponding storage territory; Emergency treatment unit 52 can shift all or part of packet of storing in the current time window corresponding storage territory and store in the follow-up time window so that the remaining space in current time window corresponding storage territory is more than or equal to the length of this emergency data bag, and in current time window corresponding storage territory this emergency data bag of storage.
The gateway device of the embodiment of the invention is according to the application layer data attribute and/or the delay requirement of packet; Packet to needing gateway forwards carries out simple classification; And designed a kind of forwarding mechanism based on time window, gateway in time window to the packet transmission of packing.The embodiment of the invention can improve the forwarding of gateway and handle bandwidth utilization when consider packet ageing.
Those of ordinary skills can recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, for the convenience described with succinct, the concrete course of work of the system of foregoing description, device and unit can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that the system that is disclosed, apparatus and method can realize through other mode.For example, device embodiment described above only is schematically, for example; The division of said unit; Only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can combine or can be integrated into another system; Or some characteristics can ignore, or do not carry out.Another point, the coupling each other that shows or discuss or directly coupling or communication to connect can be through some interfaces, the INDIRECT COUPLING of device or unit or communication connect, and can be electrically, machinery or other form.
Said unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of unit wherein of reality.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.
If said function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the said method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection range with claim.

Claims (14)

1. a method of sending data is characterized in that, comprising:
Reception is from the packet of sensor network, and the application layer data attribute and/or the delay requirement of definite said packet;
According to the application layer data attribute and/or the delay requirement of said packet, confirm the time window that said packet is affiliated, the said packet of storage in determined time window corresponding storage territory;
When arriving the delivery time of current time window, the packet of storing in the said current time window corresponding storage territory is packed, and the packet after will packing is sent to another network.
2. the method for claim 1 is characterized in that, said application layer data attribute and/or delay requirement according to said packet are confirmed the time window that said packet is affiliated, comprising:
According to the application layer data attribute and/or the delay requirement of said packet, confirm the delay value of said packet;
According to the ratio between the unit interval of the delay value of said packet and time window, confirm the time window under the said packet.
3. according to claim 1 or claim 2 method is characterized in that, said in determined time window corresponding storage territory the said packet of storage, comprising:
Judge that said length of data package is whether greater than the remaining space in determined time window corresponding storage territory;
When said length of data package is less than or equal to the remaining space in determined time window corresponding storage territory, the said packet of storage in determined time window corresponding storage territory;
In said length of data package during greater than the remaining space in determined time window corresponding storage territory, the said packet of storage in next time window corresponding storage territory of determined time window.
4. like each described method of claim 1-3, it is characterized in that, also comprise:
Start timer, the length of said timer equals the unit interval of time window;
When said timer expires, the current time window is become next time window of said current time window, and restart said timer,
Wherein, the delivery time of said current time window is the overdue moment of timer of said current time window.
5. like each described method of claim 1-4, it is characterized in that, indicate under the situation of said packet for the emergency data bag that needs to transmit as early as possible, also comprise at the application layer data attribute of said packet and/or delay requirement:
Transmit said emergency data bag to said another network immediately; Perhaps,
During greater than the remaining space in said current time window corresponding storage territory, transmit said emergency data bag to said another network in the length of said emergency data bag immediately; Perhaps,
Be less than or equal in the length of said emergency data bag under the situation of remaining space in said current time window corresponding storage territory, immediately the packet of storing in said emergency data bag and the said current time window corresponding storage territory packed together.
6. like each described method of claim 1-4; It is characterized in that; Application layer data attribute and/or delay requirement at said packet are indicated the emergency data bag of said packet for needing to transmit as early as possible; And under the situation of the length of said emergency data bag greater than the remaining space in current time window corresponding storage territory, also comprise:
The all or part of packet transfer of storing in the said current time window corresponding storage territory is stored in the follow-up time window, so that the remaining space in said current time window corresponding storage territory is more than or equal to the length of said emergency data bag;
The said emergency data bag of storage in said current time window corresponding storage territory.
7. like each described method of claim 1-6, it is characterized in that, saidly when arriving the delivery time of current time window, the packet of storing in the said current time window corresponding storage territory packed, comprising:
Also have under the situation of remaining space in said current time window corresponding storage territory, from follow-up time window corresponding storage territory, take out packet;
The packet of storing in the said current time window corresponding storage territory and the packet of taking-up are packed together.
8. a gateway device is characterized in that, comprising:
First confirms the unit, is used to receive the packet from sensor network, and confirms the application layer data attribute and/or the delay requirement of said packet;
Second confirms the unit; Be used for application layer data attribute and/or delay requirement according to the determined packet in said first definite unit; Confirm the time window that said packet is affiliated, the said packet of storage in determined time window corresponding storage territory;
Transmitting element is used for when arriving the delivery time of current time window, the packet of storing in the said current time window corresponding storage territory is packed, and the packet after will packing being sent to another network.
9. gateway device as claimed in claim 8; It is characterized in that; Said second confirms the unit, is used for application layer data attribute and/or delay requirement according to said packet, confirms the delay value of said packet; And, confirm the time window under the said packet according to the ratio between the unit interval of the delay value of said packet and time window.
10. like claim 8 or 9 described gateway devices; It is characterized in that; Said second confirms that the said length of data package of unit judges is whether greater than the remaining space in determined time window corresponding storage territory; When said length of data package is less than or equal to the remaining space in determined time window corresponding storage territory; The said packet of storage in determined time window corresponding storage territory, and in said length of data package during greater than the remaining space in determined time window corresponding storage territory, the said packet of storage in next time window corresponding storage territory of determined time window.
11. like each described gateway device of claim 8-10; It is characterized in that, also comprise: timer, the length of said timer equals the unit interval of time window; When said timer expires; The current time window is become next time window of said current time window, and restart said timer
Wherein, the delivery time of said current time window is the overdue moment of timer of said current time window.
12., it is characterized in that like each described gateway device of claim 8-11, also comprise the emergency treatment unit, indicate under the situation of said packet for the emergency data bag that needs to transmit as early as possible at the application layer data attribute of said packet and/or delay requirement,
Said emergency treatment unit is used for transmitting immediately said emergency data bag to said another network, perhaps,
Said emergency treatment unit is used for during greater than the remaining space in said current time window corresponding storage territory, transmitting said emergency data bag to said another network in the length of said emergency data bag immediately, perhaps,
Said emergency treatment unit is less than or equal in the length of said emergency data bag under the situation of remaining space in said current time window corresponding storage territory, immediately the packet of storing in said emergency data bag and the said current time window corresponding storage territory is packed together.
13. like each described gateway device of claim 8-11; It is characterized in that; Also comprise the emergency treatment unit; Application layer data attribute and/or delay requirement at said packet are indicated the emergency data bag of said packet for needing to transmit as early as possible, and under the situation of the length of said emergency data bag greater than the remaining space in current time window corresponding storage territory
Said emergency treatment unit is used for all or part of packet transfer that store in said current time window corresponding storage territory is stored in the follow-up time window; So that the remaining space in said current time window corresponding storage territory is more than or equal to the length of said emergency data bag, and in said current time window corresponding storage territory the said emergency data bag of storage.
14. like each described gateway device of claim 8-13; It is characterized in that; Said transmitting element also is used for also having under the situation of remaining space in said current time window corresponding storage territory; From follow-up time window corresponding storage territory, take out packet, and the packet of storing in the said current time window corresponding storage territory and the packet of taking-up are packed together.
CN201180001275.1A 2011-06-23 2011-06-23 Send method and the gateway device of data Active CN102754396B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076190 WO2012103701A1 (en) 2011-06-23 2011-06-23 Method and gateway device for sending data

Publications (2)

Publication Number Publication Date
CN102754396A true CN102754396A (en) 2012-10-24
CN102754396B CN102754396B (en) 2015-11-25

Family

ID=46602068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180001275.1A Active CN102754396B (en) 2011-06-23 2011-06-23 Send method and the gateway device of data

Country Status (2)

Country Link
CN (1) CN102754396B (en)
WO (1) WO2012103701A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001737A (en) * 2012-11-23 2013-03-27 山东电力集团公司 Method for preventing general packet radio service (GPRS) communication module data from being blocked
CN103297430A (en) * 2013-05-24 2013-09-11 华为技术有限公司 Data transmission equipment and data transmission method
CN103441953A (en) * 2013-07-08 2013-12-11 京信通信***(中国)有限公司 Method, device and system for dispatching data flow
CN103857052A (en) * 2012-11-28 2014-06-11 华为技术有限公司 Wireless scheduling method, device and base station guaranteeing time delay service quality
CN105027509A (en) * 2013-03-01 2015-11-04 三菱电机株式会社 Communication device, control device, and program
CN106060119A (en) * 2016-05-17 2016-10-26 自连电子科技(上海)有限公司 Data aggregation encapsulating system and method with original timestamps reserved
CN112292837A (en) * 2018-10-22 2021-01-29 Oppo广东移动通信有限公司 Wireless communication method and network equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4167527A4 (en) * 2020-07-06 2023-08-09 Huawei Technologies Co., Ltd. Communication method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479536A (en) * 2003-04-11 2004-03-03 大唐移动通信设备有限公司 Method and device dfor realizing synchronization of interface business between base stution controller and base stations in radio commumnication system
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
CN101310688A (en) * 2007-05-22 2008-11-26 西门子公司 Method for data acquisition and/or data evaluation during a functional brains examination with the aid of a combined equipment
CN101459485A (en) * 2003-06-25 2009-06-17 美商内数位科技公司 Method for downlink transmission synchronization
CN101795182A (en) * 2008-10-02 2010-08-04 英飞凌科技股份有限公司 Systems and methods for regulating delay between network interfaces
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479536A (en) * 2003-04-11 2004-03-03 大唐移动通信设备有限公司 Method and device dfor realizing synchronization of interface business between base stution controller and base stations in radio commumnication system
CN101459485A (en) * 2003-06-25 2009-06-17 美商内数位科技公司 Method for downlink transmission synchronization
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
CN101310688A (en) * 2007-05-22 2008-11-26 西门子公司 Method for data acquisition and/or data evaluation during a functional brains examination with the aid of a combined equipment
CN101795182A (en) * 2008-10-02 2010-08-04 英飞凌科技股份有限公司 Systems and methods for regulating delay between network interfaces
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冉萌: "无线传感器网络基于信息质量的跨层QoS机制研究", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)2009年》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001737A (en) * 2012-11-23 2013-03-27 山东电力集团公司 Method for preventing general packet radio service (GPRS) communication module data from being blocked
CN103857052A (en) * 2012-11-28 2014-06-11 华为技术有限公司 Wireless scheduling method, device and base station guaranteeing time delay service quality
CN105027509A (en) * 2013-03-01 2015-11-04 三菱电机株式会社 Communication device, control device, and program
CN105027509B (en) * 2013-03-01 2018-04-13 三菱电机株式会社 Communicator and control device
CN103297430A (en) * 2013-05-24 2013-09-11 华为技术有限公司 Data transmission equipment and data transmission method
CN103297430B (en) * 2013-05-24 2017-04-26 华为技术有限公司 Data transmission equipment and data transmission method
CN103441953A (en) * 2013-07-08 2013-12-11 京信通信***(中国)有限公司 Method, device and system for dispatching data flow
CN103441953B (en) * 2013-07-08 2016-12-28 京信通信***(中国)有限公司 A kind of data stream scheduling method, equipment and system
CN106060119A (en) * 2016-05-17 2016-10-26 自连电子科技(上海)有限公司 Data aggregation encapsulating system and method with original timestamps reserved
CN106060119B (en) * 2016-05-17 2019-03-19 自连电子科技(上海)有限公司 Retain the data convergence package system and method for original time stamp
CN112292837A (en) * 2018-10-22 2021-01-29 Oppo广东移动通信有限公司 Wireless communication method and network equipment
CN112292837B (en) * 2018-10-22 2022-08-12 Oppo广东移动通信有限公司 Wireless communication method and network equipment

Also Published As

Publication number Publication date
WO2012103701A1 (en) 2012-08-09
CN102754396B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102754396A (en) Method and gateway device for sending data
JP6209596B2 (en) Method and apparatus for relaying time trigger messages and event trigger messages
CN104378308A (en) Method and device for detecting message sending rate
Bhandari et al. Latency minimization in wireless IoT using prioritized channel access and data aggregation
CN105432046B (en) The quick friendly method, apparatus started and medium for data flow
CN101379781A (en) Communication method, communication system, nodes and program
CN103493448A (en) Hierarchical profiled scheduling and shaping
CN110166380A (en) Method, first network equipment and the computer readable storage medium of schedules message
CN102647251A (en) Data transmission method and system, sending terminal equipment as well as receiving terminal equipment
TWI794645B (en) Method for transmitting data packet and apparatus for implementing the same
CN107087306A (en) The method dispatched for wireless information source
CN109429306A (en) A kind of communication means and terminal device
CN109863782A (en) 5G congestion control
JP5738324B2 (en) Transmission device, communication device, communication system, and transmission method
US11419073B2 (en) Method and apparatus for synchronising wireless communications
CN105763375B (en) A kind of data packet sending method, method of reseptance and microwave station
CN108462653B (en) TTE-based rapid protocol control frame sending method
CN103701721B (en) Message transmitting method and device
CN102340453B (en) Dispatching method of variable-length data stream
Marau et al. Controlling multi-switch networks for prompt reconfiguration
CN104012056A (en) Reducing tcp timeouts due to incast collapse at a network switch
CN101951327A (en) iSCSI network system and network fault detection method
CN105453659B (en) Data receiving-transmitting method, modem and terminal device
JP7052865B2 (en) Servers, communication systems, communication methods and programs
WO2012034607A1 (en) A multi-hop and multi-path store and forward system, method and product for bulk transfers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210427

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.