CN105763375B - A kind of data packet sending method, method of reseptance and microwave station - Google Patents

A kind of data packet sending method, method of reseptance and microwave station Download PDF

Info

Publication number
CN105763375B
CN105763375B CN201610207745.4A CN201610207745A CN105763375B CN 105763375 B CN105763375 B CN 105763375B CN 201610207745 A CN201610207745 A CN 201610207745A CN 105763375 B CN105763375 B CN 105763375B
Authority
CN
China
Prior art keywords
data frame
data
transmit queue
frame
microwave
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.)
Active
Application number
CN201610207745.4A
Other languages
Chinese (zh)
Other versions
CN105763375A (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.)
Nanjing Jingdi Communication Equipment Co., Ltd.
Original Assignee
Nanjing Jingdi Communication Equipment 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 Nanjing Jingdi Communication Equipment Co Ltd filed Critical Nanjing Jingdi Communication Equipment Co Ltd
Priority to CN201610207745.4A priority Critical patent/CN105763375B/en
Publication of CN105763375A publication Critical patent/CN105763375A/en
Application granted granted Critical
Publication of CN105763375B publication Critical patent/CN105763375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

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

Abstract

The present invention relates to technical field of micro communication, more particularly to a kind of data packet sending method, method of reseptance and microwave station, it include: the byte stream that the first microwave station takes out preset length from data packet transmit queue, in addition forming data frame after frame head, by data frame buffer memory to a data frame transmit queue of selection, when sending, target data frame is obtained from multiple data frame transmit queues, target data frame is sent to the second microwave station by corresponding microwave Member Link.Differentiation is not added to type of data packet in this method, all data packets are all converted into byte stream storage to data packet transmit queue, then byte stream is formed into data frame, it is cached according to certain method to some data frame transmit queue, and data frame is sent by microwave Member Link corresponding with data frame transmit queue, to adapt to the variation of microwave Member Link transmission state, the monitoring to microwave Member Link transmission state is provided without physical layer, ensure that the high efficiency of transmission of data.

Description

A kind of data packet sending method, method of reseptance and microwave station
Technical field
The present invention relates to technical field of micro communication more particularly to a kind of data packet sending methods, method of reseptance and microwave It stands.
Background technique
With the arrival of information age, communication service is sharply increased, user data explosive growth.As important transmission hand The microwave communication of one of section is also faced with the challenge that transmission capacity substantially expands.By the way that multiple microwave links are bound, composition one The Microwave Emulsifier-Free Polymerization link of a larger capacity, it has also become a kind of important technical for realizing microwave link dilatation, as shown in Figure 1, Microwave Emulsifier-Free Polymerization link schematic diagram is formed by polymerizeing multiple microwave links between microwave station.The technology not only can according to need Easily and flexibly expand the capacity of microwave link, while the availability and reliability of microwave link can also be increased.
For being usually the transmission method between nonequilibrium i.e. microwave Member Link between the microwave Member Link that polymerize It is not quite similar with transmission rate, and due to declining or interfering, transmission state can be changed over time.The polymerization of microwave link is inevitable It is related to the Sharing of service traffics.There are mainly two types of existing Microwave Emulsifier-Free Polymerization link traffic traffic sharing methods:
One is in protocol layer, to Ethernet, the report such as IP (Internet Protocol, the agreement interconnected between network) Cultural association's view parsed, according to mark (such as the MAC (Media Access Control, media intervene control layer) of message Location, IP address, MPLS (Multi-Protocol Label Switching, multiprotocol label switching) label etc.) classify, Similar message transmits on the same microwave Member Link.On the one hand the shortcomings that this method is that assignment of traffic is not uniform enough, It is difficult to adapt to the variation of microwave Member Link transmission state, being on the other hand cannot (such as circuit be handed over to all type of service Change business: STM-1 (STM-Synchronous Transfer Module-1, synchronous transfer mode), E1 or other) all provide It supports.
Another kind is according to the transmission state of each microwave Member Link, to each microwave member chain as unit of bit or byte Distribute data in road.The shortcomings that this method is that physical layer is needed to provide each microwave Member Link current transmission state in real time, is made It obtains this method and couples tension with each microwave Member Link physical layer, cause the customization of system physical layer interface too strong, and in real time Property it is excessively high, realize it is difficult.
In conclusion flow distribution is uneven when microwave station transmits data by microwave Member Link in the prior art, and It is coupled with physical layer tighter, causes efficiency of transmission relatively low.
Summary of the invention
The present invention provides a kind of data packet sending method, method of reseptance and microwave station, exists in the prior art to solve Microwave station when transmitting data by microwave Member Link, flow distribution is uneven, and couples with physical layer tighter, causes to transmit The relatively low problem of efficiency.
On the one hand, the embodiment of the present invention provides a kind of data packet sending method, comprising:
First microwave station takes out the byte stream of preset length from data packet transmit queue, and by the word of the preset length Throttling forms data frame after adding frame head;The frame head of the data frame includes the frame sequence for being used to indicate the data frame assembling sequence Number;
First microwave station selects one from multiple data frame transmit queues, by the data frame buffer memory to selection Data frame transmit queue;
For each data frame transmit queue, first microwave station leads to the data frame in the data frame transmit queue It crosses microwave Member Link corresponding with the data frame transmit queue and is successively sent to the second microwave station.
Optionally, first microwave station selects one from multiple data frame transmit queues, by the data frame buffer memory To the data frame transmit queue of selection, comprising:
First microwave station determines that the data frame for capableing of data cached frame in the multiple data frame transmit queue is sent Queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, first microwave station is according in advance The method of setting selects one from the data frame transmit queue for capableing of data cached frame, and by the data frame buffer memory To the data frame transmit queue of selection;
If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, first microwave station is by the number According to frame buffer to the data frame transmit queue for capableing of data cached frame.
Optionally, first microwave station is according to preset method, from the data frame for capableing of data cached frame One is selected in transmit queue, comprising:
It is capable of the smallest data of data frame transmit queue squadron officer of data cached frame described in first microwave station is determining Frame transmit queue;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, first microwave station selects the team leader most Small data frame transmit queue;
If the quantity of the smallest data frame transmit queue of team leader is greater than 1, first microwave station is according to preset Method selects one from the smallest data frame transmit queue of multiple team leaders.
Optionally, first microwave station sends team from the smallest data frame of multiple team leaders according to preset method One is selected in column, comprising:
First microwave station selects corresponding queue number minimum from the smallest data frame transmit queue of multiple team leaders Data frame transmit queue;Alternatively,
First microwave station selects corresponding queue number maximum from the smallest data frame transmit queue of multiple team leaders Data frame transmit queue.
Optionally, first microwave station determines the data for capableing of data cached frame in the multiple data frame transmit queue Frame transmit queue, comprising:
For one in the multiple data frame transmit queue, first microwave station sends team according to the data frame The team leader of the maximum length of column and the data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, described the One microwave station determines that the data frame transmit queue being capable of data cached frame.
Optionally, first microwave station also wraps before the byte stream for taking out preset length in data packet transmit queue It includes:
First microwave station obtains data packet;
First microwave station by the data packet plus first frame capitiform at the first data frame, and by first data Frame is stored in the form of byte stream to the data packet transmit queue.
On the other hand, the embodiment of the present invention provides a kind of microwave station, comprising:
Data frame generating unit, for taking out the byte stream of preset length from data packet transmit queue, and will be described pre- If the byte stream of length forms data frame after adding frame head;The frame head of the data frame includes to be used to indicate the data frame assembling The frame number code of sequence;
First cache unit, for selecting one from multiple data frame transmit queues, by the data frame buffer memory to choosing The data frame transmit queue selected;
Transmission unit leads to the data frame in the data frame transmit queue for being directed to each data frame transmit queue It crosses microwave Member Link corresponding with the data frame transmit queue and is successively sent to the second microwave station.
Optionally first cache unit, is specifically used for:
Determine the data frame transmit queue for capableing of data cached frame in the multiple data frame transmit queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, according to preset method, from institute It states and selects one in the data frame transmit queue for capableing of data cached frame, and the data frame of the data frame buffer memory to selection is sent out Send queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, by the data frame buffer memory to described It is capable of the data frame transmit queue of data cached frame.
Optionally, first cache unit, is also used to:
It is capable of the smallest data frame transmit queue of data frame transmit queue squadron officer of data cached frame described in determination;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, the smallest data frame of the team leader is selected to send Queue;
If the quantity of the smallest data frame transmit queue of team leader is greater than 1, first microwave station is according to preset Method selects one from the smallest data frame transmit queue of multiple team leaders.
Optionally, first cache unit, is also used to:
The corresponding the smallest data frame of queue number is selected to send team from the smallest data frame transmit queue of multiple team leaders Column;Alternatively,
The corresponding maximum data frame of queue number is selected to send team from the smallest data frame transmit queue of multiple team leaders Column.
Optionally, first cache unit, is specifically used for:
For one in the multiple data frame transmit queue, first microwave station sends team according to the data frame The team leader of the maximum length of column and the data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, described the One microwave station determines that the data frame transmit queue being capable of data cached frame.
Optionally, the microwave station further includes storage unit, is used for:
Obtain data packet;
By the data packet plus first frame capitiform at the first data frame, and by first data frame with the shape of byte stream Formula is stored to the data packet transmit queue.
On the one hand, the embodiment of the present invention provides a kind of data packet receiving method, comprising:
Second microwave station receives the data frame that the first microwave station is sent by target microwave Member Link;Wherein, the number Frame head according to frame includes the frame number code for being used to indicate the data frame assembling sequence;
Second microwave station connects the data frame buffer memory to data frame corresponding with the target microwave Member Link Receive queue;Wherein, the corresponding data frame receiving queue of each microwave Member Link;
Second microwave station selects the smallest data frame of frame number code from multiple data frame receipt queues, by institute The smallest data frame of frame number code is stated to go after frame head to be cached in the form of byte stream to data packet receiving queue;
Second microwave station generates data packet according to the byte stream in the data packet receiving queue.
Optionally, second microwave station selects the smallest data of frame number code from multiple data frame receipt queues Frame, comprising:
Second microwave station obtains the data frame of the multiple data frame receipt queue team head;
Second microwave station according to the frame number code in multiple data frame frame heads of acquisition, to the multiple data frame into Row ascending sort;
The data frame to make number one is determined as the smallest data frame of frame number code by second microwave station.
On the other hand, the embodiment of the present invention provides a kind of microwave station, comprising:
Receiving unit, for receiving the data frame that the first microwave station is sent by target microwave Member Link;Wherein, described The frame head of data frame includes the frame number code for being used to indicate the data frame assembling sequence;
Second cache unit is used for the data frame buffer memory to data frame corresponding with the target microwave Member Link Receiving queue;Wherein, the corresponding data frame receiving queue of each microwave Member Link;
Third cache unit, for selecting a smallest data frame of frame number code from multiple data frame receipt queues, The smallest data frame of frame number code is gone after frame head to be cached in the form of byte stream to data packet receiving queue;
Data package generating unit, for generating data packet according to the byte stream in the data packet receiving queue.
Optionally, the third cache unit, is specifically used for:
Obtain the data frame of the multiple data frame receipt queue team head;
According to the frame number code in multiple data frame frame heads of acquisition, ascending sort is carried out to the multiple data frame;
The data frame to make number one is determined as the smallest data frame of frame number code.
Method provided in an embodiment of the present invention, the first microwave station take out the byte of preset length from data packet transmit queue Stream, and data frame is formed after adding frame head, and by a data frame transmit queue of data frame buffer memory to selection, sending When, target data frame is obtained from multiple data frame transmit queues, and target data frame is sent out by corresponding microwave Member Link It send to the second microwave station.Differentiation is not added to type of data packet in this method, and all data packets are all converted into byte stream storage to data Packet transmit queue, and by byte stream formed data frame when, cached according to certain method to some data frame transmit queue, and lead to It crosses microwave Member Link corresponding with data frame transmit queue and sends data frame, it is thus possible to adapt to microwave Member Link transmission shape The variation of state, supports the transmission of various businesses, and does not need monitoring of the physical layer offer to microwave Member Link transmission state, protects The high efficiency of transmission of data is demonstrate,proved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the Microwave Emulsifier-Free Polymerization link schematic diagram in background technique between microwave station;
Fig. 2 is data packet sending method flow chart provided in an embodiment of the present invention;
Fig. 3 is data packet sending method detail flowchart provided in an embodiment of the present invention;
Fig. 4 is data packet receiving method flow chart provided in an embodiment of the present invention;
Fig. 5 is data packet receiving method detail flowchart provided in an embodiment of the present invention;
Fig. 6 is a kind of microwave station provided in an embodiment of the present invention;
Fig. 7 is another microwave station provided in an embodiment of the present invention;
Fig. 8 is microwave station schematic diagram of internal structure provided in an embodiment of the present invention;
Fig. 9 is microwave station sending module work flow diagram provided in an embodiment of the present invention;
Figure 10 is Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm flow chart provided in an embodiment of the present invention.
Specific implementation method
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the Microwave Emulsifier-Free Polymerization link schematic diagram in background technique between microwave station, while being also applied for the present invention, each Microwave station has the ability for sending data and receiving data simultaneously.When microwave station is as data sender, microwave station is known as First microwave station;When microwave station is as data receiver, microwave station is known as the second microwave station.It can pass through between microwave station N microwave Member Link carries out data parallel transmitting-receiving.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
When the embodiment of the present invention introduces microwave station by step 201~203 as data sender, the side of data is sent Method, and when introducing microwave station as data receiver by step 401~step 404, the method for receiving data.
As shown in Fig. 2, data packet sending method flow chart provided in an embodiment of the present invention, comprising:
Step 201, the first microwave station take out the byte stream of preset length from data packet transmit queue, and will be described default The byte stream of length forms data frame after adding frame head;
Step 202, first microwave station select one from multiple data frame transmit queues, by the data frame buffer memory To the data frame transmit queue of selection;
Step 203 is directed to each data frame transmit queue, and first microwave station will be in the data frame transmit queue Data frame is successively sent to the second microwave station by microwave Member Link corresponding with the data frame transmit queue.
When microwave station is as data sender, referred to as the first microwave station has a data packet hair in the first microwave station Queue is sent, for caching the data received, therefore optionally, before above-mentioned steps 201,
First microwave station obtains data packet;
First microwave station by the data packet plus first frame capitiform at the first data frame, and by first data Frame is stored in the form of byte stream to the data packet transmit queue.
First microwave station first obtains data packet, can be what other microwave stations sended over, is also possible to the first microwave station It actively obtains, the type for the data packet that the first microwave station obtains is unlimited, such as can be IP data packet, TCP (Transmission Control Protocol, transmission control protocol) data packet, UDP (User Datagram Protocol, User Datagram Protocol) data packet, HTTP (HyperText Transfer Protocol, Hyper text transfer association View) data packet etc., for the data packet got type there is no limit.
First microwave station is after getting data packet, by the data packet plus first frame capitiform at the first data frame, It wherein can wrap in the first frame head containing information such as data frame length, type of service, port numbers, check codes, then by the first number It is stored in the form of byte stream into data packet transmit queue according to frame, therefore in the queue is all byte stream, not logarithm It is mutually distinguished according to packet.It therefore is not no any restrictions for the type of data packet in the embodiment of the present invention, because being all It is stored in the form of byte stream into data packet transmit queue.
In above-mentioned steps 201, the first microwave station takes out the byte stream of preset length from data packet transmit queue, and in institute The byte stream of preset length is stated plus data frame is formed after frame head, which is then the minimum for needing to be sent to the second microwave station Unit, i.e. the first microwave station are to send data to the second microwave station as unit of a data frame.
Wherein, data frame packet contains frame head and data two parts, and data portion is the byte stream of preset length, specific default length The selection of degree is decided according to the actual requirements, and frame head part includes the frame number code for being used to indicate the data frame assembling sequence, it So the frame head in data frame increases frame number code, it is to guarantee that the second microwave station is receiving a large amount of of the first microwave station transmission After data frame, it can be correctly assembled into data packet, i.e. the second microwave station needs the frame number code of the frame head by means of data frame Carry out restoring data packet.In addition, also include other information in the frame head of data frame, such as data frame length, check code etc., data frame Length is used for the total length of mark data frame, and check code is for verifying the correctness of data frame.
Therefore, by step 201, the first microwave station generates data frame after can taking out byte from data packet transmit queue, It and include the frame number code for being used to indicate data frame assembling sequence in the frame head of each data frame.
In above-mentioned steps 202, the first microwave station selects one in multiple data frame transmit queues, then by the number of generation According to frame buffer to the data frame transmit queue of selection.Wherein, the quantity of the quantity of data frame transmit queue and microwave Member Link It is identical, and be one-to-one, for example have n microwave Member Link (n is greater than 1) between microwave station, then there is n in the first microwave station A data frame transmit queue, and each data frame transmit queue by corresponding microwave Member Link send data frame to Second microwave station.Therefore in step 202, the first microwave station can cache the data frame of generation to n number according to certain method According in frame transmit queue, specifically, by a data frame buffer memory to which data frame transmit queue, method is relatively more, for example, can To be the sequence by queue number from small to large, by data frame buffer memory to data frame transmit queue, until data frame transmit queue Team is full, and then by data frame buffer memory to next data frame transmit queue, the benefit of this method is that algorithm comparison is simple, is easy real It is existing, but disadvantage is also it will be apparent that be exactly microwave Member Link load imbalance, and some microwave Member Links are very busy, and Some microwave Member Links are then very idle, cause overall data efficiency of transmission very low, therefore offer of the embodiment of the present invention is following The transmitting efficiency of microwave Member Link can be improved to the method for data frame transmit queue in data cached frame
Optionally, first microwave station selects one from multiple data frame transmit queues, by the data frame buffer memory To the data frame transmit queue of selection, comprising:
First microwave station determines that the data frame for capableing of data cached frame in the multiple data frame transmit queue is sent Queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, first microwave station is according in advance The method of setting selects one from the data frame transmit queue for capableing of data cached frame, and by the data frame buffer memory To the data frame transmit queue of selection;
If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, first microwave station is by the number According to frame buffer to the data frame transmit queue for capableing of data cached frame.
In this method, the first microwave station is determined to the data frame hair of data cached frame from multiple data frame transmit queues Send queue, if it is possible to which the quantity of the data frame transmit queue of data cached frame is greater than 1, such as one shared n data frame and sends Queue, wherein have k number according to frame transmit queue can data cached frame, k be less than or equal to n, and k be greater than 1, then from this k energy One is selected in the data frame transmit queue of enough data cached frames, and the data frame of the data frame buffer memory to selection is sent into team In column, if it is possible to which the quantity of the data frame transmit queue of data cached frame is equal to 1, then the first microwave station delays the data frame It deposits to the data frame transmit queue for capableing of data cached frame.As long as thus the above method, which ensure that currently to have, can cache number According to the data packet transmit queue of frame, so that it may therefrom select one, then data frame buffer memory gets off.In compared with the existing technology Data frame is uniquely corresponding according to type of service and some data frame transmit queue, when corresponding data frame queue team is full, then not The cache way of the data frame of the type is cached again, and aforesaid way provided in an embodiment of the present invention can guarantee to work as number of data frames When more, all data frame transmit queues are not in that some is busier, and the situation that some comparisons are idle, but all Data frame transmit queue load balancing, utmostly use upper all data frame transmit queues.
For how to be determined in the above method which data frame transmit queue can data cached frame, following side can be passed through Method:
Optionally, first microwave station determines the data for capableing of data cached frame in the multiple data frame transmit queue Frame transmit queue, comprising:
For one in the multiple data frame transmit queue, first microwave station sends team according to the data frame The team leader of the maximum length of column and the data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, described the One microwave station determines that the data frame transmit queue being capable of data cached frame.
In the above method, for a data frame transmit queue, first according to the maximum length of data frame transmit queue and The team leader of data frame transmit queue determines the residue length of data frame transmit queue, for example, it is assumed that preset data frame is most Long length is 300 bytes, some data frame transmit queue is capable of the maximum length of data cached frame data frame transmit queue The team leader of 1000 bytes, the data frame transmit queue is 600 bytes, then shows that the data frame transmit queue is currently buffered The data of 600 bytes can also cache the data of 400 bytes again, therefore the residue length of the data frame transmit queue is 400 Byte is 300 bytes since the residue length of the data frame transmit queue is greater than preset data frame maximum length, then The data frame transmit queue can data cached frame, if the team leader of the data frame transmit queue be 800 bytes, the data frame Residue length is 200 bytes, then the data frame transmit queue can not data cached frame.
Wherein, preset data frame maximum length is equal to the byte obtained in step 201 from data packet transmit queue The preset length of stream adds the length of frame head, it is assumed that the first microwave station takes 200 byte streams from data packet transmit queue every time, so The frame head for adding 50 bytes again afterwards generates a data frame, then preset data frame maximum length is exactly 250 bytes, In most cases, the length of a data frame is fixed, such as 250 bytes in the example, only in a small number of feelings Under shape, the length of a data frame is less than the total length of the byte stream in the regular length, such as data packet transmit queue Less than the preset data frame maximum length, then it is preset that the total length of the data frame generated is just less than this Data frame maximum length.
In the above method, if the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, the first microwave station root According to preset method, one is selected from the data frame transmit queue for capableing of data cached frame, and by the data How frame buffer is specifically selected to the data frame transmit queue of selection from multiple data packet transmit queues for capableing of data cached frame One is selected, there are many method, for example randomly choose, or select according to queue number, for example selection queue number is the smallest, selection Queue number is maximum or other way.But for guarantee all data packet transmit queue can load balancing, the present invention Embodiment provides a kind of method selected from the data frame transmit queue for capableing of data cached frame, as follows:
Optionally, first microwave station is according to preset method, from the data frame for capableing of data cached frame One is selected in transmit queue, comprising:
It is capable of the smallest data of data frame transmit queue squadron officer of data cached frame described in first microwave station is determining Frame transmit queue;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, first microwave station selects the team leader most Small data frame transmit queue;
If the quantity of the smallest data frame transmit queue of team leader is greater than 1, first microwave station is according to preset Method selects one from the smallest data frame transmit queue of multiple team leaders.
Under this methodology, it is assumed that one shares 20 data frame transmit queues, is currently able to the data frame hair of data cached frame Queue is sent there are 5, it is assumed that be respectively the 2nd data frame transmit queue S2, the 4th data frame transmit queue S4, the 7th data frame Transmit queue S7, the 9th data frame transmit queue S9, the 18th data frame transmit queue S18 share 5 and can delay due to one The data frame transmit queue of deposit data frame, it is assumed that it is 500 bytes that the team leader of this 5 data frame transmit queues, which is respectively as follows: S2 team leader, S4 team leader is 500 bytes, and S7 team leader is 600 bytes, and S9 team leader is 800 bytes, and S18 team leader is 500 bytes, then currently has 3 The smallest data frame transmit queue of team leader, respectively S2, S4, S18 then select one to come from this 3 data frame transmit queues Which data cached frame, is specifically chosen, and can be selected according to queue number, and optionally, first microwave station is according to pre- The method first set selects one from the smallest data frame transmit queue of multiple team leaders, comprising: first microwave station is from more The corresponding the smallest data frame transmit queue of queue number is selected in a the smallest data frame transmit queue of team leader;Alternatively, described First microwave station selects the corresponding maximum data frame of queue number to send from the smallest data frame transmit queue of multiple team leaders Queue.
Therefore in the method, due to selection be the smallest data frame transmit queue of team leader come data cached frame, Therefore it can guarantee that all data frame transmit queue loads are more balanced, be not in that the fast team of data frame transmit queue is full , and the situation that other data frame transmit queues are also more empty, it thereby may be ensured that when sending data frame, multiple microwave members Data are efficiently transmitted in load balancing between link, guarantee.
In above-mentioned steps 203, for each data frame transmit queue, the first microwave station will be in the data frame transmit queue Data frame the second microwave station is successively sent to by microwave Member Link corresponding with the data frame transmit queue.
Method provided in an embodiment of the present invention, the first microwave station take out the byte of preset length from data packet transmit queue Stream, and data frame is formed after adding frame head, and by a data frame transmit queue of data frame buffer memory to selection, sending When, target data frame is obtained from multiple data frame transmit queues, and target data frame is sent out by corresponding microwave Member Link It send to the second microwave station.Differentiation is not added to type of data packet in this method, and all data packets are all converted into byte stream storage to data Packet transmit queue, and by byte stream formed data frame when, cached according to certain method to some data frame transmit queue, and lead to It crosses microwave Member Link corresponding with data frame transmit queue and sends data frame, it is thus achieved that uniform flow distributes, Neng Goushi The variation for answering microwave Member Link transmission state, supports the transmission of various businesses, and does not need physical layer and provide to microwave member The monitoring of link transmission state ensure that the high efficiency of transmission of data.
Data packet sending method provided in an embodiment of the present invention is described in detail below, as shown in figure 3, real for the present invention The data packet sending method detail flowchart of example offer is provided, comprising:
Step 301, the first microwave station take out the byte stream of preset length from data packet transmit queue, and will be described default The byte stream of length forms data frame after adding frame head;
Step 302, first microwave station determine the number for capableing of data cached frame in the multiple data frame transmit queue According to frame transmit queue;
If the quantity of step 303, the data frame transmit queue for capableing of data cached frame is greater than 1, first microwave station The smallest data frame transmit queue of team leader is selected, by the data frame buffer memory to the smallest data frame transmit queue of the team leader; If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, first microwave station is by the data frame buffer memory To the data frame transmit queue for capableing of data cached frame;
Step 304 is directed to each data frame transmit queue, and first microwave station will be in the data frame transmit queue Data frame is successively sent to the second microwave station by microwave Member Link corresponding with the data frame transmit queue.
Method provided in an embodiment of the present invention, the first microwave station take out the byte of preset length from data packet transmit queue Stream, and data frame is formed after adding frame head, and by a data frame transmit queue of data frame buffer memory to selection, sending When, target data frame is obtained from multiple data frame transmit queues, and target data frame is sent out by corresponding microwave Member Link It send to the second microwave station.Differentiation is not added to type of data packet in this method, and all data packets are all converted into byte stream storage to data Packet transmit queue, and by byte stream formed data frame when, cached according to certain method to some data frame transmit queue, and lead to It crosses microwave Member Link corresponding with data frame transmit queue and sends data frame, it is thus achieved that uniform flow distributes, Neng Goushi The variation for answering microwave Member Link transmission state, supports the transmission of various businesses, and does not need physical layer and provide to microwave member The monitoring of link transmission state ensure that the high efficiency of transmission of data.
As shown in figure 4, the embodiment of the present invention also provides a kind of data packet receiving method, comprising:
Step 401, the second microwave station receive the data frame that the first microwave station is sent by target microwave Member Link;Its In, the frame head of the data frame includes the frame number code for being used to indicate the data frame assembling sequence;
Step 402, second microwave station are extremely corresponding with the target microwave Member Link by the data frame buffer memory Data frame receipt queue;
Step 403, second microwave station select the smallest number of frame number code from multiple data frame receipt queues According to frame, the smallest data frame of frame number code is gone after frame head to be cached in the form of byte stream to data packet receiving queue;
Step 404, second microwave station generate data packet according to the byte stream in the data packet receiving queue.
When a microwave station is as the side for receiving data, then the microwave station is known as the second microwave station.It is micro- second It include multiple data frame receipt queues in wave station, and data frame receipt queue and microwave Member Link correspond, i.e., often A data frame receiving queue only receives the data frame that corresponding microwave Member Link sends over.
In above-mentioned steps 401, the second microwave station receives the data that the first microwave station is sent by target microwave Member Link Frame, wherein the data frame transmit queue where the data frame and target microwave Member Link are corresponding relationships, and data frame Frame head includes the frame number code for being used to indicate the data frame assembling sequence, is sended over by the same microwave Member Link Data frame, from the time, frame number code is successively from small to large.
In above-mentioned steps 402, the second microwave station is extremely corresponding with the target microwave Member Link by the data frame buffer memory Data frame receipt queue;Wherein, the corresponding data frame receiving queue of each microwave Member Link.
In above-mentioned steps 403, the second microwave station selects a frame number code the smallest from multiple data frame receipt queues The smallest data frame of frame number code is gone after frame head to be cached in the form of byte stream to data packet receiving queue by data frame. Why the smallest data frame of frame number code is selected from all data frame receipt queues, be because of the second microwave station It needs according to the data frame received come restoring data packet, therefore in order to guarantee correctness, it is necessary in strict accordance with frame number code The reduction for carrying out data packet from small to large, otherwise can malfunction.
Optionally, second microwave station selects the smallest data of frame number code from multiple data frame receipt queues Frame, comprising:
Second microwave station obtains the data frame of the multiple data frame receipt queue team head;
Second microwave station according to the frame number code in multiple data frame frame heads of acquisition, to the multiple data frame into Row ascending sort;
The data frame to make number one is determined as the smallest data frame of frame number code by second microwave station.
In this method, since the data frame in each data frame receipt queue is from team's head to tail of the queue, frame number code is successively From small to large, therefore the frame number code of the data frame of each data frame receipt queue team head is minimum in the data frame receipt queue , the data frame of all data frame receipt queue team heads is obtained first, then to all data frames got according to data Frame number code in frame frame head carries out ascending sort, then being arranged in primary is exactly frame sequence in all data frame transmit queues That the smallest data frame of number.
In above-mentioned steps 404, the second microwave station generates data packet according to the byte stream in data packet receiving queue.Second Microwave station obtains byte stream from data packet receiving queue, then the synchronous detection of progress packet header first is believed according to packet header Breath, parses data content, is distributed to various types Service Processing Unit.Such as: Ethernet service, SDH (Synchronous Digital Hierarchy, synchronous digital system) business, PDH (Plesiochronous Digital Hierarchy, it is quasi- same Step number word series) business, HDLC (High-Level Data Link Control, High-Level Data Link Control) etc..
How specific come restoring data packet be art methods according to byte stream, and this will not be repeated here.
Method provided in an embodiment of the present invention, the second microwave station receive first it is micro- station send data frame after, according to The sequence of data frame frame number code successively from small to large, successively selects data frame, and cache in the form of byte stream to data packet Receiving queue, and the byte stream in data packet receiving queue is reduced into data packet, it is thus possible to it realizes correctly by data frame It is reduced into data packet.
Data packet receiving method provided in an embodiment of the present invention is described in detail below, as shown in figure 5, real for the present invention The data packet receiving method detail flowchart of example offer is provided, comprising:
Step 501, the second microwave station receive the data frame that the first microwave station is sent by target microwave Member Link;
Step 502, second microwave station are extremely corresponding with the target microwave Member Link by the data frame buffer memory Data frame receipt queue;
Step 503, second microwave station obtain the data frame of the multiple data frame receipt queue team head;
Step 504, second microwave station are according to the frame number code in multiple data frame frame heads of acquisition, to the multiple Data frame carries out ascending sort;
The data frame to make number one is determined as the smallest data frame of frame number code by step 505, second microwave station, And the smallest data frame of frame number code is gone after frame head to be cached in the form of byte stream to data packet receiving queue;
Step 506, second microwave station generate data packet according to the byte stream in the data packet receiving queue.
Based on the same technical idea, the embodiment of the present invention also provides a kind of microwave station.It is provided in an embodiment of the present invention micro- Wave station is as shown in Figure 6, comprising:
Data frame generating unit 601, for taking out the byte stream of preset length from data packet transmit queue, and will be described The byte stream of preset length forms data frame after adding frame head;The frame head of the data frame includes to be used to indicate the data frame group The frame number code of dress sequence;
First cache unit 602, for selecting one from multiple data frame transmit queues, extremely by the data frame buffer memory The data frame transmit queue of selection;
Transmission unit 603, for being directed to each data frame transmit queue, by the data frame in the data frame transmit queue The second microwave station is successively sent to by microwave Member Link corresponding with the data frame transmit queue.
Optionally first cache unit 602, is specifically used for:
Determine the data frame transmit queue for capableing of data cached frame in the multiple data frame transmit queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, according to preset method, from institute It states and selects one in the data frame transmit queue for capableing of data cached frame, and the data frame of the data frame buffer memory to selection is sent out Send queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, by the data frame buffer memory to described It is capable of the data frame transmit queue of data cached frame.
Optionally, first cache unit 602, is also used to:
It is capable of the smallest data frame transmit queue of data frame transmit queue squadron officer of data cached frame described in determination;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, the smallest data frame of the team leader is selected to send Queue;
If the quantity of the smallest data frame transmit queue of team leader is greater than 1, first microwave station is according to preset Method selects one from the smallest data frame transmit queue of multiple team leaders.
Optionally, first cache unit 602, is also used to:
The corresponding the smallest data frame of queue number is selected to send team from the smallest data frame transmit queue of multiple team leaders Column;Alternatively,
The corresponding maximum data frame of queue number is selected to send team from the smallest data frame transmit queue of multiple team leaders Column.
Optionally, first cache unit 602, is specifically used for:
For one in the multiple data frame transmit queue, first microwave station sends team according to the data frame The team leader of the maximum length of column and the data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, described the One microwave station determines that the data frame transmit queue being capable of data cached frame.
Optionally, the microwave station further includes storage unit 604, is used for:
Obtain data packet;
By the data packet plus first frame capitiform at the first data frame, and by first data frame with the shape of byte stream Formula is stored to the data packet transmit queue.
Based on the same technical idea, the embodiment of the present invention also provides a kind of microwave station.It is provided in an embodiment of the present invention micro- Wave station as shown in fig. 7, comprises:
Receiving unit 701, for receiving the data frame that the first microwave station is sent by target microwave Member Link;Wherein, The frame head of the data frame includes the frame number code for being used to indicate the data frame assembling sequence;
Second cache unit 702 is used for the data frame buffer memory to number corresponding with the target microwave Member Link According to frame receiving queue;Wherein, the corresponding data frame receiving queue of each microwave Member Link;
Third cache unit 703, for selecting the smallest data of frame number code from multiple data frame receipt queues The smallest data frame of frame number code is gone after frame head to be cached in the form of byte stream to data packet receiving queue by frame;
Data package generating unit 704, for generating data packet according to the byte stream in the data packet receiving queue.
Optionally, the third cache unit 703, is specifically used for:
Obtain the data frame of the multiple data frame receipt queue team head;
According to the frame number code in multiple data frame frame heads of acquisition, ascending sort is carried out to the multiple data frame;
The data frame to make number one is determined as the smallest data frame of frame number code.
The microwave station schematic diagram in practical application is given below, as shown in figure 8, being microwave station provided in an embodiment of the present invention Schematic diagram of internal structure.In practical application, a microwave station contains at least one sending module and a receiving module, sends mould Block is used to receive what other microwave stations were sent for data packet to be sent to other microwave stations, receiving module as a data frame The data of form of data frames, and it is reduced into data packet.It elaborates below to sending module and receiving module.
As shown in figure 8, the sending module of microwave station includes data packet transmit queue, byte stream detection unit, data frame group Frame unit, data frame Dispatching Unit, n data frame transmit queue, n data frame transmission unit.Wherein, data packet transmit queue Data packet is connect for storing in the form of byte stream;Byte stream detection unit is set in advance for taking out from data packet transmit queue The byte stream of measured length, and byte stream is positioned and verified, the byte stream of mistake is abandoned;Data frame Framing unit is used for By the byte stream in byte stream detection unit plus a data frame is assembled into after frame head, it can be used for executing the data frame in Fig. 6 The function of generation unit 601;Data frame Dispatching Unit is used to select a data frame for the data frame in data frame Framing unit Transmit queue, and by the data frame transmit queue of data frame buffer memory to selection, it can be used for executing the first cache unit in Fig. 6 602 function;N data frame transmit queue is used for data cached frame, and the length of the n data frame transmit queue can phase Together, can not also be identical, n is positive integer;N data frame transmission unit is corresponded with n data frame transmit queue respectively, and And corresponded with n microwave Member Link, n data frame transmission unit is respectively used to will be in corresponding data frame transmit queue Data frame other microwave stations are sent to by corresponding microwave Member Link, n data frame transmission unit can be used for executing Fig. 6 The function of middle transmission unit 603.
As shown in figure 8, the receiving module of microwave station includes n data frame receiving unit, n data frame receiving queue, n Data frame detection unit, data frame sequencing unit and data packet receiving queue.Wherein, n data frame receiving unit and n are a micro- Wave Member Link corresponds, while corresponding with n data frame receiving queue, is respectively used to receive corresponding microwave member chain The data frame that road sends over, and store into corresponding data frame receipt queue, it can be used for executing receiving unit 701 in Fig. 7 With the function of the second cache unit 702;N data frame receiving queue is respectively used to cache corresponding data frame receipt unit transmission The data frame to come over;N data frame detection unit is respectively used to the read data frame from corresponding data frame receipt queue, and right Data frame is positioned and is verified, and empty data frame and the data frame of mistake is abandoned, correct data frame leaves, and seals off data Frame, takes out data frame length, and the information such as frame number code are sent to data frame sequencing unit;Data frame sequencing unit is used for from n A smallest data frame of frame number code is selected in data frame receipt queue, and the smallest data frame of frame number code is removed into frame The function of can be used for executing third cache unit 703 in Fig. 7 to data packet receiving queue is cached in the form of byte stream after head; Data packet receiving queue in the form of byte stream for storing the data frame received.
As shown in figure 9, being microwave station sending module work flow diagram provided in an embodiment of the present invention, comprising:
Step 901 judges whether there is the data frame organized in data frame Framing unit, if so, step 902 is gone to, it is no Then go to step 901;
Step 902 takes out the smallest data frame of frame number code from data frame Framing unit;
Step 903 judges whether there is at least one data frame transmit queue for capableing of data cached frame, if so, turning To step 904, step 903 is otherwise gone to;
Step 904, starting Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm, for data frame Framing unit selection one A data frame transmit queue;
The smallest data frame of frame number code is sent to the data frame transmit queue of selection, and returned to by step 905 Step 901.
It as shown in Figure 10, is Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm process provided in an embodiment of the present invention Figure, comprising:
Step 1001 obtains all data frame transmit queues that can cache maximum length data frame;
The minimum all data frame transmit queues of step 1002, therefrom selection data frame transmit queue team leader;
Step 1003 judges whether the smallest data frame transmit queue of only one team leader, if so, going to step 1004, otherwise go to step 1005;
Step 1004, the selection the smallest data frame transmit queue of team leader;
Step 1005 selects the corresponding the smallest data of queue number from the smallest data frame transmit queue of multiple team leaders Frame transmit queue.
Method provided in an embodiment of the present invention, the first microwave station take out the byte of preset length from data packet transmit queue Stream, and data frame is formed after adding frame head, and by a data frame transmit queue of data frame buffer memory to selection, sending When, target data frame is obtained from multiple data frame transmit queues, and target data frame is sent out by corresponding microwave Member Link It send to the second microwave station.Differentiation is not added to type of data packet in this method, and all data packets are all converted into byte stream storage to data Packet transmit queue, and by byte stream formed data frame when, cached according to certain method to some data frame transmit queue, and lead to It crosses microwave Member Link corresponding with data frame transmit queue and sends data frame, it is thus achieved that uniform flow distributes, Neng Goushi The variation for answering microwave Member Link transmission state, supports the transmission of various businesses, and does not need physical layer and provide to microwave member The monitoring of link transmission state ensure that the high efficiency of transmission of data.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory of methodological function, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of data packet sending method characterized by comprising
First microwave station obtains data packet;
First microwave station by the data packet plus first frame capitiform at the first data frame, and by first data frame with The form of byte stream is stored to the data packet transmit queue;
First microwave station takes out the byte stream of preset length from the data packet transmit queue, and by the preset length Byte stream plus forming data frame after frame head;The frame head of the data frame includes to be used to indicate the data frame assembling sequence Frame number code;
First microwave station selects one from multiple data frame transmit queues, by the data frame buffer memory to the data of selection Frame transmit queue;
For each data frame transmit queue, first microwave station by the data frame in the data frame transmit queue by with The corresponding microwave Member Link of the data frame transmit queue is successively sent to the second microwave station.
2. the method as described in claim 1, which is characterized in that first microwave station is selected from multiple data frame transmit queues One is selected, by the data frame buffer memory to the data frame transmit queue of selection, comprising:
First microwave station determines the data frame transmit queue for capableing of data cached frame in the multiple data frame transmit queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, first microwave station is according to presetting Method, from the data frame transmit queue for capableing of data cached frame select one, and by the data frame buffer memory to select The data frame transmit queue selected;
If the quantity for capableing of the data frame transmit queue of data cached frame is equal to 1, first microwave station is by the data frame It caches to the data frame transmit queue for capableing of data cached frame.
3. method according to claim 2, which is characterized in that first microwave station is according to preset method, from institute It states and selects one in the data frame transmit queue for capableing of data cached frame, comprising:
The smallest data frame hair of the data frame transmit queue squadron officer for capableing of data cached frame described in first microwave station is determining Send queue;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, first microwave station selects the team leader the smallest Data frame transmit queue;
If the quantity of the smallest data frame transmit queue of team leader is greater than 1, first microwave station according to preset method, One is selected from the smallest data frame transmit queue of multiple team leaders.
4. method as claimed in claim 3, which is characterized in that first microwave station is according to preset method, from more One is selected in a the smallest data frame transmit queue of team leader, comprising:
First microwave station selects the corresponding the smallest number of queue number from the smallest data frame transmit queue of multiple team leaders According to frame transmit queue;Alternatively,
First microwave station selects the corresponding maximum number of queue number from the smallest data frame transmit queue of multiple team leaders According to frame transmit queue.
5. method according to claim 2, which is characterized in that first microwave station determines that the multiple data frame sends team It is capable of the data frame transmit queue of data cached frame in column, comprising:
For one in the multiple data frame transmit queue, first microwave station is according to the data frame transmit queue The team leader of maximum length and the data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, described first is micro- Wave station determines that the data frame transmit queue being capable of data cached frame.
6. a kind of microwave station characterized by comprising
Storage unit, for obtaining data packet, by the data packet plus first frame capitiform at the first data frame, and by described the One data frame is stored in the form of byte stream to the data packet transmit queue;
Data frame generating unit, for taking out the byte stream of preset length from the data packet transmit queue, and will be described pre- If the byte stream of length forms data frame after adding frame head;The frame head of the data frame includes to be used to indicate the data frame assembling The frame number code of sequence;
First cache unit, for selecting one from multiple data frame transmit queues, by the data frame buffer memory to selection Data frame transmit queue;
Transmission unit, for be directed to each data frame transmit queue, by the data frame in the data frame transmit queue by with The corresponding microwave Member Link of the data frame transmit queue is successively sent to the second microwave station.
7. microwave station as claimed in claim 6, which is characterized in that first cache unit is specifically used for:
Determine the data frame transmit queue for capableing of data cached frame in the multiple data frame transmit queue;
If the quantity for capableing of the data frame transmit queue of data cached frame is greater than 1, according to preset method, from the energy One is selected in the data frame transmit queue of enough data cached frames, and the data frame of the data frame buffer memory to selection is sent into team Column;
If be capable of the data frame transmit queue of data cached frame quantity be equal to 1, by the data frame buffer memory to it is described can The data frame transmit queue of data cached frame.
8. microwave station as claimed in claim 7, which is characterized in that first cache unit is also used to:
It is capable of the smallest data frame transmit queue of data frame transmit queue squadron officer of data cached frame described in determination;
If the quantity of the smallest data frame transmit queue of team leader is equal to 1, the smallest data frame transmit queue of the team leader is selected;
It is minimum from multiple team leaders according to preset method if the quantity of the smallest data frame transmit queue of team leader is greater than 1 Data frame transmit queue in select one.
9. microwave station as claimed in claim 8, which is characterized in that first cache unit is also used to:
The corresponding the smallest data frame transmit queue of queue number is selected from the smallest data frame transmit queue of multiple team leaders;Or Person,
The corresponding maximum data frame transmit queue of queue number is selected from the smallest data frame transmit queue of multiple team leaders.
10. microwave station as claimed in claim 7, which is characterized in that first cache unit is specifically used for:
For one in the multiple data frame transmit queue, according to the maximum length of the data frame transmit queue and described The team leader of data frame transmit queue determines the residue length of the data frame transmit queue;
If the residue length of the data frame transmit queue is not less than preset data frame maximum length, it is determined that the number It being capable of data cached frame according to frame transmit queue.
CN201610207745.4A 2016-04-01 2016-04-01 A kind of data packet sending method, method of reseptance and microwave station Active CN105763375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610207745.4A CN105763375B (en) 2016-04-01 2016-04-01 A kind of data packet sending method, method of reseptance and microwave station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610207745.4A CN105763375B (en) 2016-04-01 2016-04-01 A kind of data packet sending method, method of reseptance and microwave station

Publications (2)

Publication Number Publication Date
CN105763375A CN105763375A (en) 2016-07-13
CN105763375B true CN105763375B (en) 2019-10-18

Family

ID=56333590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610207745.4A Active CN105763375B (en) 2016-04-01 2016-04-01 A kind of data packet sending method, method of reseptance and microwave station

Country Status (1)

Country Link
CN (1) CN105763375B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603431B (en) * 2016-12-15 2020-09-04 中国科学院沈阳自动化研究所 Industrial wireless network data scheduling method and device based on mixed key tasks
CN107425998B (en) * 2017-04-13 2020-03-20 杭州申昊科技股份有限公司 Communication link guarantee method based on industrial WIFI
TWI673613B (en) * 2018-10-17 2019-10-01 財團法人工業技術研究院 A server and a resource adjustment control method thereof
CN113515481A (en) * 2021-04-26 2021-10-19 深圳市元征科技股份有限公司 Data transmission method and device based on serial port

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501640A (en) * 2002-11-14 2004-06-02 北京润光泰力科技发展有限公司 Method and system for transmitting Ethernet data using multiple E1 lines
CN101631327A (en) * 2009-08-04 2010-01-20 华为技术有限公司 Method for sending and receiving microwave business data, device thereof and transceiver system
CN101789843A (en) * 2009-12-29 2010-07-28 迈普通信技术股份有限公司 Method for implementing multi-line E1 binding and network bridge
CN103701715A (en) * 2012-09-27 2014-04-02 京信通信系统(中国)有限公司 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501640A (en) * 2002-11-14 2004-06-02 北京润光泰力科技发展有限公司 Method and system for transmitting Ethernet data using multiple E1 lines
CN101631327A (en) * 2009-08-04 2010-01-20 华为技术有限公司 Method for sending and receiving microwave business data, device thereof and transceiver system
CN101789843A (en) * 2009-12-29 2010-07-28 迈普通信技术股份有限公司 Method for implementing multi-line E1 binding and network bridge
CN103701715A (en) * 2012-09-27 2014-04-02 京信通信系统(中国)有限公司 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels

Also Published As

Publication number Publication date
CN105763375A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN102075444B (en) Network system and method for guaranteeing multi-type service quality
CN1859579B (en) Apparatus and method for transmitting a multimedia data stream
CN103959724B (en) Mix networking path selection and load balance
CN110417650A (en) Multilink data distribution method, device and electronic equipment
CN102263697B (en) Method and device for sharing aggregated link traffic
CN105763375B (en) A kind of data packet sending method, method of reseptance and microwave station
CN104104616B (en) The method, apparatus and system of data dispatch and exchange
CN101188477B (en) A data packet sequence receiving method and device
CN110545241B (en) Message processing method and device
KR101504144B1 (en) System and method for multi-channel packet transmission
CN103618678A (en) Method, device and system for self-adaptation multiple-link aggregation
CN110418376A (en) Data transmission method and device
CN110166367A (en) The method and device of flow is controlled in a kind of packet network
CN107222427A (en) The method and relevant device of a kind of Message processing
CN104168212B (en) The method and apparatus for sending message
US10728134B2 (en) Methods, systems, and computer readable media for measuring delivery latency in a frame-preemption-capable network
CN107948103A (en) A kind of interchanger PFC control methods and control system based on prediction
JP2007201965A (en) Packet repeating apparatus having transmission control function
CN104380669B (en) The method and communication network of transmission packet in communication network
CN101091361A (en) Method and system for sending related data over a digital broadcast system
CN108174239A (en) A kind of video transmission method and equipment
CN102811176B (en) A kind of data flow control method and device
CN103368870B (en) Control method and system for cluster storage network parallel load
CN106454414A (en) Real-time video transmission method of multipath network
CN108989236A (en) A kind of flow control methods, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190109

Address after: 210007 Room 201, 2nd Floor, Building B, Building 3, Baixia High-tech Industrial Park, No. 8 Yongfeng Avenue, Qinhuai District, Nanjing, Jiangsu Province

Applicant after: Nanjing Jingdi Communication Equipment Co., Ltd.

Address before: 510663 No. 6 Jinbi Road, Guangzhou Economic and Technological Development Zone, Guangdong Province

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

GR01 Patent grant
GR01 Patent grant