CN105763375A - Data packet transmission method, receiving method and microwave station - Google Patents

Data packet transmission method, receiving method and microwave station Download PDF

Info

Publication number
CN105763375A
CN105763375A CN201610207745.4A CN201610207745A CN105763375A CN 105763375 A CN105763375 A CN 105763375A CN 201610207745 A CN201610207745 A CN 201610207745A CN 105763375 A CN105763375 A CN 105763375A
Authority
CN
China
Prior art keywords
frame
transmit queue
microwave
queue
data
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
CN201610207745.4A
Other languages
Chinese (zh)
Other versions
CN105763375B (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
Comba Telecom Technology Guangzhou 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 Comba Telecom Technology Guangzhou Ltd filed Critical Comba Telecom Technology Guangzhou 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

Abstract

The invention relates to the technical field of microwave communication, and particularly relates to a data packet transmission method, a receiving method and a microwave station. The data packet transmission method comprises steps: a first microwave station takes out a byte stream with a preset length from a data packet transmission queue, a frame header is added and then a data frame is formed, the data frame is cached to a selected data frame transmission queue, a target data frame is acquired from multiple data frame transmission queues in the case of transmission, and the target data frame is transmitted to a second microwave station via a corresponding microwave member link. The method does not distinguish data packet types, all data packets are converted into a byte stream to be stored in the data packet transmission queue, the byte stream is then formed into the data frame, the data frame is cached to a certain data frame transmission queue in a certain method, the data frame is transmitted via the microwave member link corresponding to the data frame transmission queue, changes of the microwave member link transmission state can be adapted, no physical layer needs to provide monitoring on the microwave member link transmission state, and high-efficiency transmission of data can be ensured.

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, particularly relate to a kind of data packet sending method, method of reseptance and microwave station.
Background technology
Along with the arrival of information age, communication service sharply increases, user data explosive growth.Microwave communication as one of important transmission means is also faced with the challenge that transmission capacity significantly expands.By being bound by multiple microwave links, the Microwave Emulsifier-Free Polymerization link of one more capacity of composition, it has also become a kind of important technical realizing microwave link dilatation, as it is shown in figure 1, be by being polymerized multiple microwave links composition Microwave Emulsifier-Free Polymerization link schematic diagram between microwave station.This technology not only can expand the capacity of microwave link as required easily and flexibly, can also increase availability and the reliability of microwave link simultaneously.
To be used between the microwave Member Link that is polymerized usually nonequilibrium namely transmission method between microwave Member Link and transfer rate be not quite similar, and due to decline or interference, its transmission state can change over.The polymerization of microwave link necessarily involves the Sharing of service traffics.Existing Microwave Emulsifier-Free Polymerization link traffic traffic sharing method mainly has two kinds:
One is at protocol layer, to Ethernet, IP (InternetProtocol, the agreement of interconnection between network) etc. message protocol resolve, according to mark (such as MAC (MediaAccessControl, media the get involved key-course) address of message, IP address, MPLS (Multi-ProtocolLabelSwitching, multiprotocol label switching) label etc.) to classify, similar message transmits on same microwave Member Link.The shortcoming of this method is that assignment of traffic is uniform not on the one hand, it is difficult to adapt to the change of microwave Member Link transmission state, it is can not all provide support to all of type of service (such as circuit-switched service: STM-1 (STM-SynchronousTransferModule-1, synchronous transfer mode), E1 or other) on the other hand.
Another kind is the transmission state according to each microwave Member Link, distributes data to each microwave Member Link in units of bit or byte.The shortcoming of this method is the transmission state needing physical layer to provide each microwave Member Link current in real time, the method is made to couple tension with each microwave Member Link physical layer, cause that the customization of system physical layer interface is excessively strong, and real-time is too high, it is achieved difficulty is very big.
In sum, when in prior art, microwave station is by microwave Member Link transmission data, flow distribution is uneven, and couples relatively tight with physical layer, causes that efficiency of transmission is relatively low.
Summary of the invention
The present invention provides a kind of data packet sending method, method of reseptance and microwave station, when microwave station in order to solve existing in prior art transmits data by microwave Member Link, flow distribution is uneven, and couples relatively tight with physical layer, causes the problem that efficiency of transmission is relatively low.
On the one hand, the embodiment of the present invention provides a kind of data packet sending method, including:
First microwave station takes out the byte stream of preset length from packet transmit queue, and by the byte stream of described preset length plus forming Frame after frame head;The frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Described first microwave station selects one from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected;
For each Frame transmit queue, the Frame in described Frame transmit queue is sent successively to the second microwave station by described first microwave station by the microwave Member Link corresponding with described Frame transmit queue.
Alternatively, described first microwave station selects one from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected, including:
Described first microwave station is determined in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then described first microwave station is according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then described first microwave station by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
Alternatively, described first microwave station, according to method set in advance, can select one the Frame transmit queue of data cached frame from described, including:
Described first microwave station determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then described first microwave station selects the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
Alternatively, described first microwave station, according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum, including:
Described first microwave station selects the Frame transmit queue that the queue number of correspondence is minimum from the minimum Frame transmit queue of multiple team leaders;Or,
Described first microwave station selects the Frame transmit queue that the queue number of correspondence is maximum from the minimum Frame transmit queue of multiple team leaders.
Alternatively, described first microwave station determine in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame, including:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
Alternatively, described first microwave station also includes before taking out the byte stream of preset length from packet transmit queue:
Described first microwave station obtains packet;
Described packet is formed the first Frame plus the first frame head by described first microwave station, and with the form of byte stream, described first Frame is stored described packet transmit queue.
On the other hand, the embodiment of the present invention provides a kind of microwave station, including:
Data frame generating unit, for taking out the byte stream of preset length, and by the byte stream of described preset length plus forming Frame after frame head from packet transmit queue;The frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
First buffer unit, for selecting one, by described data frame buffer memory to the Frame transmit queue selected from multiple Frame transmit queues;
Transmitting element, for for each Frame transmit queue, sending the Frame in described Frame transmit queue successively to the second microwave station by the microwave Member Link corresponding with described Frame transmit queue.
Described first buffer unit alternatively, specifically for:
Determining in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
Alternatively, described first buffer unit, it is additionally operable to:
Determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then select the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
Alternatively, described first buffer unit, it is additionally operable to:
The Frame transmit queue that the queue number of correspondence is minimum is selected from the Frame transmit queue that multiple team leaders are minimum;Or,
The Frame transmit queue that the queue number of correspondence is maximum is selected from the Frame transmit queue that multiple team leaders are minimum.
Alternatively, described first buffer unit, specifically for:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
Alternatively, described microwave station also includes memory element, is used for:
Obtain packet;
Described packet is formed the first Frame plus the first frame head, and described first Frame is stored described packet transmit queue with the form of byte stream.
On the one hand, the embodiment of the present invention provides a kind of data packet receiving method, including:
Second microwave station receives, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Described second microwave station is by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link;
Described second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, is gone by Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Described second microwave station, according to the byte stream in described packet receiving queue, generates packet.
Alternatively, described second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, including:
Described second microwave station obtains the Frame of the plurality of data frame receipt queue team head;
The plurality of Frame, according to the frame number code in the multiple Frame frame heads obtained, is carried out ascending sort by described second microwave station;
The Frame made number one is defined as the Frame that frame number code is minimum by described second microwave station.
On the other hand, the embodiment of the present invention provides a kind of microwave station, including:
Receive unit, for receiving, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Second buffer unit, for by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link;
3rd buffer unit, for selecting the minimum Frame of a frame number code from multiple data frame receipt queues, goes Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Packet generation unit, for according to the byte stream in described packet receiving queue, generating packet.
Alternatively, described 3rd buffer unit, specifically for:
Obtain the Frame of the plurality of data frame receipt queue team head;
According to the frame number code in the multiple Frame frame heads obtained, the plurality of Frame is carried out ascending sort;
The Frame made number one is defined as the Frame that frame number code is minimum.
The method that the embodiment of the present invention provides, first microwave station takes out the byte stream of preset length from packet transmit queue, and plus forming Frame after frame head, and by data frame buffer memory to the Frame transmit queue selected, when sending, from multiple Frame transmit queues, obtain target data frame, target data frame is sent to the second microwave station by corresponding microwave Member Link.Type of data packet is not added with distinguishing by the method, all packets all convert byte stream to and store packet transmit queue, and when byte stream is formed Frame, according to certain method buffer memory to certain Frame transmit queue, and send Frame by the microwave Member Link corresponding with Frame transmit queue, it is thus able to adapt to the change of microwave Member Link transmission state, support the transmission of miscellaneous service, and physical layer need not provide the monitoring to microwave Member Link transmission state, it is ensured that the high efficiency of transmission of data.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the Microwave Emulsifier-Free Polymerization link schematic diagram in background technology between microwave station;
The data packet sending method flow chart that Fig. 2 provides for the embodiment of the present invention;
The data packet sending method detail flowchart that Fig. 3 provides for the embodiment of the present invention;
The data packet receiving method flow chart that Fig. 4 provides for the embodiment of the present invention;
The data packet receiving method detail flowchart that Fig. 5 provides for the embodiment of the present invention;
A kind of microwave station that Fig. 6 provides for the embodiment of the present invention;
The another kind of microwave station that Fig. 7 provides for the embodiment of the present invention;
The microwave station internal structure schematic diagram that Fig. 8 provides for the embodiment of the present invention;
The microwave station sending module workflow diagram that Fig. 9 provides for the embodiment of the present invention;
The Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm flow chart that Figure 10 provides for the embodiment of the present invention.
Specific implementation method
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Fig. 1 is the Microwave Emulsifier-Free Polymerization link schematic diagram in background technology between microwave station, is simultaneously applicable to the present invention, and each microwave station has the ability sending data and reception data simultaneously.When microwave station is as data receiver, microwave station is called the first microwave station;When microwave station is as data receiver, microwave station is called the second microwave station.Data parallel transmitting-receiving can be carried out by n microwave Member Link between microwave station.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
When the embodiment of the present invention introduces microwave station as data receiver by step 201~203, the method sending data, and when introducing microwave station as data receiver by step 401~step 404, the method receiving data.
As in figure 2 it is shown, the data packet sending method flow chart that the embodiment of the present invention provides, including:
Step 201, the first microwave station take out the byte stream of preset length from packet transmit queue, and by the byte stream of described preset length plus forming Frame after frame head;
Step 202, described first microwave station select one from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected;
Step 203, for each Frame transmit queue, the Frame in described Frame transmit queue is sent successively to the second microwave station by described first microwave station by the microwave Member Link corresponding with described Frame transmit queue.
When microwave station is as data receiver, it is referred to as the first microwave station, the first microwave station has a packet transmit queue, for the data that buffer memory receives, therefore alternatively, before above-mentioned steps 201,
First microwave station obtains packet;
Described packet is formed the first Frame plus the first frame head by described first microwave station, and with the form of byte stream, described first Frame is stored described packet transmit queue.
First microwave station first obtains packet, can be that other microwave station sends over, it can also be the first microwave station active obtaining, the type of the packet that the first microwave station obtains is not limit, can be such as IP packet, TCP (TransmissionControlProtocol, transmission control protocol) packet, UDP (UserDatagramProtocol, UDP) packet, HTTP (HyperTextTransferProtocol, HTML (Hypertext Markup Language)) packet etc., the type of the packet for getting does not limit.
First microwave station is after getting packet, described packet is formed the first Frame plus the first frame head, wherein the first frame head can include the information such as data frame length, type of service, port numbers, check code, then the first Frame is stored in packet transmit queue with the form of byte stream, therefore this queue is all byte stream, packet do not distinguished mutually.Therefore the embodiment of the present invention do not have any restriction for the type of packet, because being all store to packet transmit queue with the form of byte stream.
In above-mentioned steps 201, first microwave station takes out the byte stream of preset length from packet transmit queue, and form Frame after the byte stream of described preset length adds frame head, this Frame is then the least unit needing to be sent to the second microwave station, and namely the first microwave station sends data to the second microwave station in units of a Frame.
Wherein, data frame packet is containing frame head and data two parts, data division is the byte stream of preset length, choosing of concrete preset length is decided according to the actual requirements, frame header subpackage is containing being used for indicating the frame number code of described Frame assembling sequence, why increase frame number code at the frame head of Frame, it is for ensureing that the second microwave station is after receiving the mass data frame that the first microwave station sends, can being correctly assembled into packet, namely the second microwave station needs to carry out restoring data bag by means of the frame number code of the frame head of Frame.Additionally, also include out of Memory in the frame head of Frame, such as data frame length, check code etc., data frame length is for identifying the total length of Frame, and check code is for verifying the correctness of Frame.
Therefore, by step 201, the first microwave station can generate Frame after taking out byte from packet transmit queue, and includes the frame number code for indicating Frame assembling sequence in the frame head of each Frame.
In above-mentioned steps 202, the first microwave station selects one from multiple Frame transmit queues, the Frame transmit queue then extremely selected by the data frame buffer memory generated.Wherein, the quantity of Frame transmit queue is identical with the quantity of microwave Member Link, and be one to one, such as there is n microwave Member Link (n is more than 1) between microwave station, then there is n Frame transmit queue in the first microwave station, and each Frame transmit queue is by corresponding microwave Member Link transmission Frame to the second microwave station.nullTherefore in step 202,First microwave station can by the Frame of generation according in certain method buffer memory to n Frame transmit queue,Specifically,By a data frame buffer memory to which Frame transmit queue,Method is relatively more,Such as,Can be by queue number order from small to large,By data frame buffer memory to Frame transmit queue,Until Frame transmit queue team is full,Then by data frame buffer memory to next Frame transmit queue,The benefit of the method is that method comparison is simple,Easily realize,But shortcoming is also readily apparent from,It it is exactly microwave Member Link load imbalance,Some microwave Member Links are very busy,Some microwave Member Links are then very idle,Cause that overall data efficiency of transmission is very low,Therefore the embodiment of the present invention provides following data cached frame to the method for Frame transmit queue,The transmitting efficiency of microwave Member Link can be improved
Alternatively, described first microwave station selects one from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected, including:
Described first microwave station is determined in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then described first microwave station is according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then described first microwave station by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
In the method, first microwave station is determined to the Frame transmit queue of data cached frame from multiple Frame transmit queues, if able to the quantity of the Frame transmit queue of data cached frame is more than 1, such as one total n Frame transmit queue, wherein there is the k can data cached frame according to frame transmit queue, k is less than or equal to n, and k is more than 1, then the Frame transmit queue of data cached frame can select one from this k, and by described data frame buffer memory to the Frame transmit queue selected, if able to the quantity of the Frame transmit queue of data cached frame is equal to 1, then the first microwave station by described data frame buffer memory to described can the Frame transmit queue of data cached frame.As long as thus said method ensure that currently have can the packet transmit queue of data cached frame, it is possible to therefrom select one, then data frame buffer memory is got off.Uniquely corresponding with certain Frame transmit queue according to type of service relative to Frame in prior art, when corresponding data frame queue team is full, the then cache way of the no longer Frame of buffer memory the type, the aforesaid way that the embodiment of the present invention provides can ensure that when number of data frames is more, it is busy that all of Frame transmit queue does not have the comparison having, and the situation that some comparisons is idle, but all of Frame transmit queue load balancing, at utmost use upper all of Frame transmit queue.
For how said method is determined which Frame transmit queue can data cached frame, can by following method:
Alternatively, described first microwave station determine in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame, including:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
nullIn said method,For a Frame transmit queue,First the team leader according to the greatest length of Frame transmit queue and Frame transmit queue,Determine the residue length of Frame transmit queue,Such as,Assume that Frame greatest length set in advance is 300 bytes,Certain Frame transmit queue can 1000 bytes of greatest length of data cached frame data frame transmit queue,The team leader of this Frame transmit queue is 600 bytes,Then show the current buffered data of 600 bytes of this Frame transmit queue,Can also the data of buffer memory 400 byte again,Therefore the residue length of this Frame transmit queue is 400 bytes,Owing to the residue length of this Frame transmit queue is 300 bytes more than Frame greatest length set in advance,Then this Frame transmit queue can data cached frame,If the team leader of this Frame transmit queue is 800 bytes,Then the residue length of this Frame is 200 bytes,Then this Frame transmit queue can not data cached frame.
Wherein, Frame greatest length set in advance adds the length of frame head equal to the preset length of the byte stream obtained from packet transmit queue in step 201, assume that the first microwave station takes 200 byte streams every time from packet transmit queue, then the frame head of upper 50 bytes is added again, generate a Frame, then Frame greatest length set in advance is exactly 250 bytes, in most cases, the length of one Frame is all fixing, 250 bytes in such as this example, only under rare cases, the length of one Frame is less than this regular length, the total length of the byte stream in such as packet transmit queue is less than this Frame greatest length set in advance, the total length of the Frame then generated just is less than this Frame greatest length set in advance.
In said method, if can the quantity of Frame transmit queue of data cached frame more than 1, then the first microwave station is according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected, specifically how the packet transmit queue of data cached frame can select one from multiple, method is a lot, such as randomly choose, or select according to queue number, such as select queue number minimum, select queue number maximum, or alternate manner.But for ensure all of packet transmit queue can load balancing, the embodiment of the present invention provides a kind of from the method that can select the Frame transmit queue of data cached frame, as follows:
Alternatively, described first microwave station, according to method set in advance, can select one the Frame transmit queue of data cached frame from described, including:
Described first microwave station determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then described first microwave station selects the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
nullUnder this methodology,Assume that one has 20 Frame transmit queues,The Frame transmit queue being currently able to data cached frame has 5,Assume respectively the 2nd Frame transmit queue S2,4th Frame transmit queue S4,7th Frame transmit queue S7,9th Frame transmit queue S9,18th Frame transmit queue S18,Due to one have 5 can the Frame transmit queue of data cached frame,Assuming that the team leader of these 5 Frame transmit queues is respectively as follows: S2 team leader is 500 bytes,S4 team leader is 500 bytes,S7 team leader is 600 bytes,S9 team leader is 800 bytes,S18 team leader is 500 bytes,Then currently there is the Frame transmit queue that 3 team leaders are minimum,Respectively S2,S4,S18,Then from these 3 Frame transmit queues, select one and carry out data cached frame,Specifically chosen which,Can select according to queue number,Alternatively,Described first microwave station is according to method set in advance,One is selected from the Frame transmit queue that multiple team leaders are minimum,From the minimum Frame transmit queue of multiple team leaders, the minimum Frame transmit queue of the queue number of correspondence is selected including: described first microwave station;Or, described first microwave station selects the Frame transmit queue that the queue number of correspondence is maximum from the minimum Frame transmit queue of multiple team leaders.
Therefore in the method, it is that the minimum Frame transmit queue of team leader carrys out data cached frame due to what select, therefore can ensure that all of Frame transmit queue duty factor is more balanced, do not have a fast team of Frame transmit queue full, and other Frame transmit queue also compares empty situation, thereby may be ensured that when sending Frame, load balancing between multiple microwave Member Links, it is ensured that transmit data efficiently.
In above-mentioned steps 203, for each Frame transmit queue, the Frame in described Frame transmit queue is sent successively to the second microwave station by the first microwave station by the microwave Member Link corresponding with described Frame transmit queue.
The method that the embodiment of the present invention provides, first microwave station takes out the byte stream of preset length from packet transmit queue, and plus forming Frame after frame head, and by data frame buffer memory to the Frame transmit queue selected, when sending, from multiple Frame transmit queues, obtain target data frame, target data frame is sent to the second microwave station by corresponding microwave Member Link.Type of data packet is not added with distinguishing by the method, all packets all convert byte stream to and store packet transmit queue, and when byte stream is formed Frame, according to certain method buffer memory to certain Frame transmit queue, and send Frame by the microwave Member Link corresponding with Frame transmit queue, it is thus achieved that uniform flow distribution, can adapt to the change of microwave Member Link transmission state, support the transmission of miscellaneous service, and physical layer need not provide the monitoring to microwave Member Link transmission state, it is ensured that the high efficiency of transmission of data.
The data packet sending method below embodiment of the present invention provided is described in detail, as it is shown on figure 3, the data packet sending method detail flowchart provided for the embodiment of the present invention, including:
Step 301, the first microwave station take out the byte stream of preset length from packet transmit queue, and by the byte stream of described preset length plus forming Frame after frame head;
Step 302, described first microwave station are determined in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If step 303 can the quantity of Frame transmit queue of data cached frame more than 1, then described first microwave station selects the Frame transmit queue that team leader is minimum, by Frame transmit queue minimum for described data frame buffer memory to described team leader;If can the quantity of Frame transmit queue of data cached frame equal to 1, then described first microwave station by described data frame buffer memory to described can the Frame transmit queue of data cached frame;
Step 304, for each Frame transmit queue, the Frame in described Frame transmit queue is sent successively to the second microwave station by described first microwave station by the microwave Member Link corresponding with described Frame transmit queue.
The method that the embodiment of the present invention provides, first microwave station takes out the byte stream of preset length from packet transmit queue, and plus forming Frame after frame head, and by data frame buffer memory to the Frame transmit queue selected, when sending, from multiple Frame transmit queues, obtain target data frame, target data frame is sent to the second microwave station by corresponding microwave Member Link.Type of data packet is not added with distinguishing by the method, all packets all convert byte stream to and store packet transmit queue, and when byte stream is formed Frame, according to certain method buffer memory to certain Frame transmit queue, and send Frame by the microwave Member Link corresponding with Frame transmit queue, it is thus achieved that uniform flow distribution, can adapt to the change of microwave Member Link transmission state, support the transmission of miscellaneous service, and physical layer need not provide the monitoring to microwave Member Link transmission state, it is ensured that the high efficiency of transmission of data.
As shown in Figure 4, the embodiment of the present invention also provides for a kind of data packet receiving method, including:
Step 401, the second microwave station receive, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Step 402, described second microwave station are by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;
Step 403, described second microwave station select the Frame that a frame number code is minimum from multiple data frame receipt queues, are gone by Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Step 404, described second microwave station, according to the byte stream in described packet receiving queue, generate packet.
When a microwave station is as a side of reception data, then this microwave station is called the second microwave station.Second microwave station includes multiple data frame receipt queue, and data frame receipt queue and microwave Member Link one_to_one corresponding, namely each data frame receipt queue only receives the Frame that the microwave Member Link of correspondence sends over.
In above-mentioned steps 401, second microwave station receives, by target microwave Member Link, the Frame that the first microwave station sends, wherein the Frame transmit queue at this Frame place and target microwave Member Link are corresponding relations, and the frame head of Frame comprises the frame number code for indicating described Frame assembling sequence, by the Frame that same microwave Member Link sends over, from the time, frame number code is successively from small to large.
In above-mentioned steps 402, the second microwave station is by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link.
In above-mentioned steps 403, the second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, is gone by Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue.From all of data frame receipt queue, why to select the Frame that a frame number code is minimum, being because the second microwave station needs the Frame according to receiving to carry out restoring data bag, therefore to guarantee correctness, the reduction of packet have to be carried out in strict accordance with frame number code from small to large, otherwise can make mistakes.
Alternatively, described second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, including:
Described second microwave station obtains the Frame of the plurality of data frame receipt queue team head;
The plurality of Frame, according to the frame number code in the multiple Frame frame heads obtained, is carried out ascending sort by described second microwave station;
The Frame made number one is defined as the Frame that frame number code is minimum by described second microwave station.
In the method, owing to the Frame in each data frame receipt queue is from team head to tail of the queue, frame number code is successively from small to large, therefore the frame number code of the Frame of each data frame receipt queue team head is minimum in this data frame receipt queue, first the Frame of all of data frame receipt queue team head is obtained, then to all Frames got according to the frame number code in Frame frame head, carry out ascending sort, then being arranged in primary is exactly that Frame that in all Frame transmit queues, frame number code is minimum.
In above-mentioned steps 404, the second microwave station, according to the byte stream in packet receiving queue, generates packet.Second microwave station obtains byte stream from packet receiving queue, first carries out packet header synchronous detecting, then according to header packet information, parses data content, is distributed to all kinds Service Processing Unit.Such as: Ethernet service, SDH (SynchronousDigitalHierarchy, SDH) business, PDH (PlesiochronousDigitalHierarchy, PDH) business, HDLC (High-LevelDataLinkControl, High-Level Data Link Control) etc..
Specifically how carrying out restoring data bag according to byte stream is art methods, does not repeat at this.
The method that the embodiment of the present invention provides, after the Frame that first micro-station that second microwave station receives sends, according to Frame frame number code successively order from small to large, select Frame successively, and with the form buffer memory of byte stream to packet receiving queue, and the byte stream in packet receiving queue is reduced into packet, it is thus possible to realize correctly data frame recovery being become packet.
The data packet receiving method below embodiment of the present invention provided is described in detail, as it is shown in figure 5, the data packet receiving method detail flowchart provided for the embodiment of the present invention, including:
Step 501, the second microwave station receive, by target microwave Member Link, the Frame that the first microwave station sends;
Step 502, described second microwave station are by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;
Step 503, described second microwave station obtain the Frame of the plurality of data frame receipt queue team head;
The plurality of Frame, according to the frame number code in the multiple Frame frame heads obtained, is carried out ascending sort by step 504, described second microwave station;
The Frame made number one is defined as the Frame that frame number code is minimum by step 505, described second microwave station, and is gone by Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Step 506, described second microwave station, according to the byte stream in described packet receiving queue, generate packet.
Based on identical technology design, the embodiment of the present invention also provides for a kind of microwave station.The embodiment of the present invention provide microwave station as shown in Figure 6, including:
Data frame generating unit 601, for taking out the byte stream of preset length, and by the byte stream of described preset length plus forming Frame after frame head from packet transmit queue;The frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
First buffer unit 602, for selecting one, by described data frame buffer memory to the Frame transmit queue selected from multiple Frame transmit queues;
Transmitting element 603, for for each Frame transmit queue, sending the Frame in described Frame transmit queue successively to the second microwave station by the microwave Member Link corresponding with described Frame transmit queue.
Described first buffer unit 602 alternatively, specifically for:
Determining in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
Alternatively, described first buffer unit 602, it is additionally operable to:
Determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then select the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
Alternatively, described first buffer unit 602, it is additionally operable to:
The Frame transmit queue that the queue number of correspondence is minimum is selected from the Frame transmit queue that multiple team leaders are minimum;Or,
The Frame transmit queue that the queue number of correspondence is maximum is selected from the Frame transmit queue that multiple team leaders are minimum.
Alternatively, described first buffer unit 602, specifically for:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
Alternatively, described microwave station also includes memory element 604, is used for:
Obtain packet;
Described packet is formed the first Frame plus the first frame head, and described first Frame is stored described packet transmit queue with the form of byte stream.
Based on identical technology design, the embodiment of the present invention also provides for a kind of microwave station.The embodiment of the present invention provide microwave station as it is shown in fig. 7, comprises:
Receive unit 701, for receiving, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Second buffer unit 702, for by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link;
3rd buffer unit 703, for selecting the minimum Frame of a frame number code from multiple data frame receipt queues, goes Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Packet generation unit 704, for according to the byte stream in described packet receiving queue, generating packet.
Alternatively, described 3rd buffer unit 703, specifically for:
Obtain the Frame of the plurality of data frame receipt queue team head;
According to the frame number code in the multiple Frame frame heads obtained, the plurality of Frame is carried out ascending sort;
The Frame made number one is defined as the Frame that frame number code is minimum.
Microwave station schematic diagram in practical application is given below, as shown in Figure 8, for the microwave station internal structure schematic diagram that the embodiment of the present invention provides.In practical application, one microwave station is including at least a sending module and a receiver module, sending module is for sending packet as a data frame to other microwave station, and receiver module is for receiving the data of the form of data frames that other microwave station sends, and is reduced into packet.Below sending module and receiver module are elaborated.
As shown in Figure 8, the sending module of microwave station includes packet transmit queue, byte stream detection unit, Frame Framing unit, Frame Dispatching Unit, n Frame transmit queue, n Frame transmitting element.Wherein, packet transmit queue is for connecing packet with the form storage of byte stream;Byte stream detection unit for taking out the byte stream presetting length from packet transmit queue, and byte stream is positioned and verifies, and is abandoned by the byte stream of mistake;Frame Framing unit is assembled into a Frame for byte stream detects the byte stream in unit plus after frame head, can be used for performing the function of the data frame generating unit 601 in Fig. 6;Frame Dispatching Unit is for selecting a Frame transmit queue for the Frame in Frame Framing unit, and by data frame buffer memory to the Frame transmit queue selected, can be used for performing the function of the first buffer unit 602 in Fig. 6;N Frame transmit queue is for data cached frame, and the length of this n Frame transmit queue can be identical, it is also possible to differing, n is positive integer;N Frame transmitting element respectively with n Frame transmit queue one_to_one corresponding, and with n microwave Member Link one_to_one corresponding, n Frame transmitting element is respectively used to be sent to other microwave station the Frame in corresponding Frame transmit queue by corresponding microwave Member Link, and n Frame transmitting element can be used for performing the function of transmitting element 603 in Fig. 6.
As shown in Figure 8, the receiver module of microwave station includes n data frame receipt unit, n Frame receiving queue, n Frame detect unit, Frame sequencing unit and packet receiving queue.Wherein, n data frame receipt unit and n microwave Member Link one_to_one corresponding, simultaneously with n Frame receiving queue one_to_one corresponding, it is respectively used to receive the Frame that corresponding microwave Member Link sends over, and store in corresponding data frame receipt queue, can be used for the function performing to receive unit 701 and the second buffer unit 702 in Fig. 7;N Frame receiving queue is respectively used to the Frame that data frame receipt unit corresponding to buffer memory sends over;N Frame detection unit is respectively used to read data frame from corresponding data frame receipt queue, and Frame positioned and verifies, the Frame of empty Frame and mistake is abandoned, correct Frame stays, and seal off Frame, take out data frame length, the information such as frame number code, send to Frame sequencing unit;Frame sequencing unit is used for the Frame selecting a frame number code minimum from n Frame receiving queue, and Frame minimum for described frame number code is gone after frame head with the form buffer memory of byte stream to packet receiving queue, can be used for performing the function of the 3rd buffer unit 703 in Fig. 7;The packet receiving queue Frame for receiving with the form storage of byte stream.
As it is shown in figure 9, the microwave station sending module workflow diagram provided for the embodiment of the present invention, including:
Step 901, judge whether Frame Framing unit has the Frame organized, if so, then forward step 902 to, otherwise forward step 901 to;
Step 902, the Frame that taking-up frame number code is minimum from Frame Framing unit;
Step 903, judge whether at least one can the Frame transmit queue of data cached frame, if so, then forward step 904 to, otherwise forward step 903 to;
Step 904, startup Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm, select a Frame transmit queue for Frame Framing unit;
Step 905, the Frame transmit queue that Frame transmission minimum for described frame number code is extremely selected, and return to step 901.
As shown in Figure 10, for the embodiment of the present invention provide Microwave Emulsifier-Free Polymerization link circuit self-adapting service traffics Sharing Algorithm flow chart, including:
Step 1001, obtain all can the Frame transmit queue of buffer memory greatest length Frame;
Step 1002, therefrom the selection minimum all Frame transmit queues of Frame transmit queue team leader;
Step 1003, judge whether the Frame transmit queue that only one of which team leader is minimum, if so, then forward step 1004 to, otherwise forward step 1005 to;
Step 1004, select the minimum Frame transmit queue of described team leader;
Step 1005, from the minimum Frame transmit queue of multiple team leaders, select the minimum Frame transmit queue of the queue number of correspondence.
The method that the embodiment of the present invention provides, first microwave station takes out the byte stream of preset length from packet transmit queue, and plus forming Frame after frame head, and by data frame buffer memory to the Frame transmit queue selected, when sending, from multiple Frame transmit queues, obtain target data frame, target data frame is sent to the second microwave station by corresponding microwave Member Link.Type of data packet is not added with distinguishing by the method, all packets all convert byte stream to and store packet transmit queue, and when byte stream is formed Frame, according to certain method buffer memory to certain Frame transmit queue, and send Frame by the microwave Member Link corresponding with Frame transmit queue, it is thus achieved that uniform flow distribution, can adapt to the change of microwave Member Link transmission state, support the transmission of miscellaneous service, and physical layer need not provide the monitoring to microwave Member Link transmission state, it is ensured that the high efficiency of transmission of data.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in computer or other programmable data processing device computer-readable memory with ad hoc approach function, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. a data packet sending method, it is characterised in that including:
First microwave station takes out the byte stream of preset length from packet transmit queue, and by the byte stream of described preset length plus forming Frame after frame head;The frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Described first microwave station selects one from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected;
For each Frame transmit queue, the Frame in described Frame transmit queue is sent successively to the second microwave station by described first microwave station by the microwave Member Link corresponding with described Frame transmit queue.
2. the method for claim 1, it is characterised in that described first microwave station selects from multiple Frame transmit queues, by described data frame buffer memory to the Frame transmit queue selected, including:
Described first microwave station is determined in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then described first microwave station is according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then described first microwave station by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
3. method as claimed in claim 2, it is characterised in that described first microwave station, according to method set in advance, can select the Frame transmit queue of data cached frame from described, including:
Described first microwave station determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then described first microwave station selects the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
4. method as claimed in claim 3, it is characterised in that described first microwave station, according to method set in advance, selects from the Frame transmit queue that multiple team leaders are minimum, including:
Described first microwave station selects the Frame transmit queue that the queue number of correspondence is minimum from the minimum Frame transmit queue of multiple team leaders;Or,
Described first microwave station selects the Frame transmit queue that the queue number of correspondence is maximum from the minimum Frame transmit queue of multiple team leaders.
5. method as claimed in claim 2, it is characterised in that described first microwave station determine in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame, including:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
6. the method for claim 1, it is characterised in that described first microwave station also includes before taking out the byte stream of preset length from packet transmit queue:
Described first microwave station obtains packet;
Described packet is formed the first Frame plus the first frame head by described first microwave station, and with the form of byte stream, described first Frame is stored described packet transmit queue.
7. a data packet receiving method, it is characterised in that including:
Second microwave station receives, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Described second microwave station is by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link;
Described second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, is gone by Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Described second microwave station, according to the byte stream in described packet receiving queue, generates packet.
8. method as claimed in claim 7, it is characterised in that described second microwave station selects the Frame that a frame number code is minimum from multiple data frame receipt queues, including:
Described second microwave station obtains the Frame of the plurality of data frame receipt queue team head;
The plurality of Frame, according to the frame number code in the multiple Frame frame heads obtained, is carried out ascending sort by described second microwave station;
The Frame made number one is defined as the Frame that frame number code is minimum by described second microwave station.
9. a microwave station, it is characterised in that including:
Data frame generating unit, for taking out the byte stream of preset length, and by the byte stream of described preset length plus forming Frame after frame head from packet transmit queue;The frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
First buffer unit, for selecting one, by described data frame buffer memory to the Frame transmit queue selected from multiple Frame transmit queues;
Transmitting element, for for each Frame transmit queue, sending the Frame in described Frame transmit queue successively to the second microwave station by the microwave Member Link corresponding with described Frame transmit queue.
10. microwave station as claimed in claim 9, it is characterised in that described first buffer unit, specifically for:
Determining in the plurality of Frame transmit queue can the Frame transmit queue of data cached frame;
If can the quantity of Frame transmit queue of data cached frame more than 1, then according to method set in advance, the Frame transmit queue of data cached frame can select one from described, and by described data frame buffer memory to the Frame transmit queue selected;
If can the quantity of Frame transmit queue of data cached frame equal to 1, then by described data frame buffer memory to described can the Frame transmit queue of data cached frame.
11. microwave station as claimed in claim 10, it is characterised in that described first buffer unit, it is additionally operable to:
Determine described can the minimum Frame transmit queue of the Frame transmit queue squadron officer of data cached frame;
If the quantity of the Frame transmit queue that team leader is minimum is equal to 1, then select the Frame transmit queue that described team leader is minimum;
If the quantity of the Frame transmit queue that team leader is minimum is more than 1, then described first microwave station is according to method set in advance, selects one from the Frame transmit queue that multiple team leaders are minimum.
12. microwave station as claimed in claim 11, it is characterised in that described first buffer unit, it is additionally operable to:
The Frame transmit queue that the queue number of correspondence is minimum is selected from the Frame transmit queue that multiple team leaders are minimum;Or,
The Frame transmit queue that the queue number of correspondence is maximum is selected from the Frame transmit queue that multiple team leaders are minimum.
13. microwave station as claimed in claim 10, it is characterised in that described first buffer unit, specifically for:
For one in the plurality of Frame transmit queue, the team leader of the greatest length according to described Frame transmit queue of described first microwave station and described Frame transmit queue, it is determined that the residue length of described Frame transmit queue;
If the residue length of described Frame transmit queue is not less than Frame greatest length set in advance, then described first microwave station determines that described Frame transmit queue can data cached frame.
14. microwave station as claimed in claim 9, it is characterised in that described microwave station also includes memory element, is used for:
Obtain packet;
Described packet is formed the first Frame plus the first frame head, and described first Frame is stored described packet transmit queue with the form of byte stream.
15. a microwave station, it is characterised in that including:
Receive unit, for receiving, by target microwave Member Link, the Frame that the first microwave station sends;Wherein, the frame head of described Frame comprises the frame number code for indicating described Frame assembling sequence;
Second buffer unit, for by described data frame buffer memory to the data frame receipt queue corresponding with described target microwave Member Link;Wherein, the corresponding Frame receiving queue of each microwave Member Link;
3rd buffer unit, for selecting the minimum Frame of a frame number code from multiple data frame receipt queues, goes Frame minimum for described frame number code after frame head with the form buffer memory of byte stream to packet receiving queue;
Packet generation unit, for according to the byte stream in described packet receiving queue, generating packet.
16. the microwave station such as claim 15, it is characterised in that described 3rd buffer unit, specifically for:
Obtain the Frame of the plurality of data frame receipt queue team head;
According to the frame number code in the multiple Frame frame heads obtained, the plurality of Frame is carried out ascending sort;
The Frame made number one is defined as the Frame that frame number code is minimum.
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 true CN105763375A (en) 2016-07-13
CN105763375B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603431A (en) * 2016-12-15 2017-04-26 中国科学院沈阳自动化研究所 Industrial wireless network data scheduling method and apparatus based on the mixture of key tasks
CN107425998A (en) * 2017-04-13 2017-12-01 杭州申昊科技股份有限公司 A kind of communication link support method based on industrial WIFI
CN111061545A (en) * 2018-10-17 2020-04-24 财团法人工业技术研究院 Server and resource regulation and 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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603431A (en) * 2016-12-15 2017-04-26 中国科学院沈阳自动化研究所 Industrial wireless network data scheduling method and apparatus based on the mixture of key tasks
CN106603431B (en) * 2016-12-15 2020-09-04 中国科学院沈阳自动化研究所 Industrial wireless network data scheduling method and device based on mixed key tasks
CN107425998A (en) * 2017-04-13 2017-12-01 杭州申昊科技股份有限公司 A kind of communication link support method based on industrial WIFI
CN107425998B (en) * 2017-04-13 2020-03-20 杭州申昊科技股份有限公司 Communication link guarantee method based on industrial WIFI
CN111061545A (en) * 2018-10-17 2020-04-24 财团法人工业技术研究院 Server and resource regulation and control method thereof
CN113515481A (en) * 2021-04-26 2021-10-19 深圳市元征科技股份有限公司 Data transmission method and device based on serial port

Also Published As

Publication number Publication date
CN105763375B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US11290221B2 (en) Method and apparatus for transmitting and receiving data in a communication system
US11296807B2 (en) Techniques to operate a time division multiplexing(TDM) media access control (MAC)
CN102273136B (en) Method and apparatus for detecting multi-service performance in tunnel
CN110418376A (en) Data transmission method and device
CN110545241B (en) Message processing method and device
CN110086578A (en) Data transmission method, device and system
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
US20100046520A1 (en) Packet recovery method, communication system, information processing device, and program
CN104618236A (en) Parallel data transmission system and method of acceleration network
CN108881008A (en) A kind of methods, devices and systems of data transmission
CN107770085B (en) Network load balancing method, equipment and system
CN105763375A (en) Data packet transmission method, receiving method and microwave station
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN105791169A (en) Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network)
US8862768B2 (en) Method and system for packetizing data for servicing traffic end-to-end
CN103944880B (en) A kind of method of ZigBee data transfers
JP4772553B2 (en) Data transmitting / receiving apparatus and data transmitting / receiving method
CN105871512B (en) A kind of data transmission method and device
CN101631074B (en) Multilink message sending method, device and network equipment
CN110808917B (en) Multilink aggregation data retransmission method and transmitting equipment
CN110391961A (en) A kind of tunnel binding method, equipment and system
CN116074253B (en) Message chained forwarding method and device
CN102487330A (en) Method and device for sending operation, administration and maintenance messages
EP3672189B1 (en) Data transmission method, device and system
CN110611548B (en) Data transmission method, device, transmitting device, receiving device and storage medium

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