CN107333296A - A kind of data transmission method, device and base station - Google Patents

A kind of data transmission method, device and base station Download PDF

Info

Publication number
CN107333296A
CN107333296A CN201710479499.2A CN201710479499A CN107333296A CN 107333296 A CN107333296 A CN 107333296A CN 201710479499 A CN201710479499 A CN 201710479499A CN 107333296 A CN107333296 A CN 107333296A
Authority
CN
China
Prior art keywords
buffer area
packet
buffer
transmitted
cached
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.)
Pending
Application number
CN201710479499.2A
Other languages
Chinese (zh)
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.)
Baicells Technologies Co Ltd
Original Assignee
Baicells Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baicells Technologies Co Ltd filed Critical Baicells Technologies Co Ltd
Priority to CN201710479499.2A priority Critical patent/CN107333296A/en
Publication of CN107333296A publication Critical patent/CN107333296A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0278Traffic management, e.g. flow control or congestion control using buffer status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning
    • H04M7/0084Network monitoring; Error detection; Error recovery; Network testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiments of the invention provide a kind of data transmission method, device and base station.In the embodiment of the present invention, by recognizing the type of packet waiting for transmission, then, by the data pack buffer to buffer area corresponding with the type, and then, according to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to designated equipment successively.Therefore, technical scheme provided in an embodiment of the present invention can solve to a certain extent some important packets in existing VOIP communication process propagation delay time it is longer, influence VOIP communication qualities the problem of.

Description

A kind of data transmission method, device and base station
【Technical field】
The present invention relates to communication technical field, more particularly to a kind of data transmission method, device and base station.
【Background technology】
With making constant progress for wireless communication technology, the networking telephone (Voice over Internet Protocol, VOIP) have been able to realize long range wireless communication.VOIP can digitize analog signal (Voice), with packet (Data Packet form) does real-time transmission on IP network (IP Network), so as to realize end-to-end communication.Existing VOIP In communication process, base station is received after the communication request of terminal transmission, and the communication information carried in communication request is packaged as into number According to bag, include VoP in these packets, also include other kinds of packet, for example, online communication request Packet, or, the packet of acquisition is transferred directly to designated equipment by communication protocol data bag etc., base station.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
In existing VOIP technologies, base station be it is indiscriminate forwarding obtain packet, based on this, some important data The propagation delay time of bag is longer, influences VOIP communication qualities.For example, in voice communication course, if surfed the web in the presence of some or When the higher packets of time delay such as person's viewing video need transmission, the transmission of some important packets, such as VoP is needed Wait, this just increases the Forwarding Delay of VoP, so that, cause the communication shape by the VOIP voice communications realized Condition is poor, for example, often occur that phone is fallen down, aphthenxia is clear, network congestion situations such as.
【The content of the invention】
In view of this, the embodiments of the invention provide a kind of data transmission method, device and base station, to a certain degree The upper propagation delay time for solving some important packets in existing VOIP communication process is longer, influences asking for VOIP communication qualities Topic.
In a first aspect, the embodiments of the invention provide a kind of data transmission method, being implemented in networking telephone VOIP systems Base station, methods described includes:
Recognize the type of packet waiting for transmission;
By the data pack buffer to buffer area corresponding with the type;
According to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to finger successively Locking equipment.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, according to buffer area Priority order from high to low, the packet cached in each buffer area is transmitted to designated equipment successively, including:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of first buffer area;
When there is the packet not transmitted in first buffer area, the packet that will be cached in first buffer area Transmit to the designated equipment;
When the packet not transmitted is not present in first buffer area, judges that the second buffer area whether there is and do not transmit Packet, the priority of second buffer area is less than the priority of first buffer area and excellent higher than other buffer areas First level;
By that analogy, until the packet all end of transmissions cached in each buffer area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, by each buffer area The packet of middle caching is transmitted to designated equipment successively, including:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after, by institute The packet cached in buffer area is stated to transmit successively to the designated equipment.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, according to buffer area Priority order from high to low, the packet cached in each buffer area is transmitted to designated equipment successively, including:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to The order of the priority of buffer area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the scheduling week Phase is 20ms/ times.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, by the data Bag caching extremely buffer area corresponding with the type, including:
When it is VoP to identify the packet, by the caching of the data pack buffer to highest priority Area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, are recognized to be transmitted Packet type, including:
The packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after the decryption is parsed, raw data packets are obtained;
The type of the raw data packets is recognized, using the type as the packet waiting for transmission.
Second aspect, the embodiments of the invention provide a kind of data transmission device, described device is located at networking telephone VOIP Base station in system, described device includes:
Recognition unit, the type for recognizing packet waiting for transmission;
Buffer unit, for by the data pack buffer to buffer area corresponding with the type;
Transmission unit, for the order of the priority according to buffer area from high to low, the data that will be cached in each buffer area Bag is transmitted to designated equipment successively.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the transmission list Member, specifically for:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of first buffer area;
When there is the packet not transmitted in first buffer area, the packet that will be cached in first buffer area Transmit to the designated equipment;
When the packet not transmitted is not present in first buffer area, judges that the second buffer area whether there is and do not transmit Packet, the priority of second buffer area is less than the priority of first buffer area and excellent higher than other buffer areas First level;
By that analogy, until the packet all end of transmissions cached in each buffer area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the transmission list Member, specifically for:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after, by institute The packet cached in buffer area is stated to transmit successively to the designated equipment.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the transmission list Member, specifically for:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to The order of the priority of buffer area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the scheduling week Phase is 20ms/ times.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the caching list Member, specifically for:
When it is VoP to identify the packet, by the caching of the data pack buffer to highest priority Area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the identification list Member, specifically for:
The packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after the decryption is parsed, raw data packets are obtained;
The type of the raw data packets is recognized, using the type as the packet waiting for transmission.
The third aspect, the embodiments of the invention provide a kind of base station, including:The number of any implementation as described above According to transmitting device.
Fourth aspect, the embodiments of the invention provide a kind of data transmission device, described device is located at networking telephone VOIP Base station in system, described device includes processor, memory and input/output interface;The processor, memory and defeated Enter output interface to be communicated by bus;Computer code is configured with the memory, the processor can be called The code with control input output interface,
The processor, is used for:
Recognize the type of packet waiting for transmission;
By the data pack buffer to buffer area corresponding with the type;
According to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to finger successively Locking equipment.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the processor, Specifically for:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of first buffer area;
When there is the packet not transmitted in first buffer area, the packet that will be cached in first buffer area Transmit to the designated equipment;
When the packet not transmitted is not present in first buffer area, judges that the second buffer area whether there is and do not transmit Packet, the priority of second buffer area is less than the priority of first buffer area and excellent higher than other buffer areas First level;
By that analogy, until the packet all end of transmissions cached in each buffer area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the processor, Specifically for:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after, by institute The packet cached in buffer area is stated to transmit successively to the designated equipment.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the processor, Specifically for:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to The order of the priority of buffer area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the scheduling week Phase is 20ms/ times.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the processor, Specifically for:
When it is VoP to identify the packet, by the caching of the data pack buffer to highest priority Area.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the processor, Specifically for:
The packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after the decryption is parsed, raw data packets are obtained;
The type of the raw data packets is recognized, using the type as the packet waiting for transmission.
A technical scheme in above-mentioned technical proposal has the advantages that:
In the embodiment of the present invention, in VOIP communication systems, base station before transmitting the data, by recognizing number waiting for transmission According to the type of bag, so that, according to the type of packet, in the buffer area that packet classification is buffered in different priorities rank, Based on this, when carrying out the transmission of packet, the transmission of packet can be carried out according to the precedence of the priority of buffer area, such as This, if by some important packets, such as VoP, be buffered in highest priority or higher buffer area in, base station Preferentially these important packets can be just transmitted, reduce the propagation delay time of these important packets, effectively keep away Exempt from network congestion situation present in the transmitting procedure of packet, can be with during voice communication is realized by VOIP The probability of happening for situations such as phone goes offline, aphthenxia is clear is effectively reduced, the real-time of VOIP speech businesses has been ensured, has improved VOIP communication qualities.Therefore, the technical scheme that the embodiment of the present invention is provided can solve existing VOIP to a certain extent The propagation delay time of the important packet of some in communication process is longer, the problem of influenceing VOIP communication qualities.
【Brief description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet for the data transmission method that the embodiment of the present invention is provided;
Fig. 2 is the structural representation for the VOIP communication systems based on LTE network that the embodiment of the present invention is provided;
Fig. 3 is the schematic flow sheet for dialing voice call in the embodiment of the present invention from mobile phone terminal A to mobile phone terminal A ';
Fig. 4 is by the schematic flow sheet of data pack buffer to buffer area in the embodiment of the present invention;
Fig. 5 is the data packet dispatching strategy schematic diagram that the embodiment of the present invention is provided;
Fig. 6 is the functional block diagram of the embodiment one for the data transmission device that the embodiment of the present invention is provided;
Fig. 7 is the functional block diagram of the embodiment two for the data transmission device that the embodiment of the present invention is provided;
Fig. 8 is the functional block diagram for the base station that the embodiment of the present invention is provided;
Fig. 9 is the entity apparatus schematic diagram for the data transmission device that the embodiment of the present invention is provided.
【Embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though caching may be described using term first, second, third, etc. in embodiments of the present invention Area, but these buffer areas should not necessarily be limited by these terms.These terms are only used for buffer area being distinguished from each other out.For example, not taking off In the case of from range of embodiment of the invention, the first buffer area can also be referred to as the second buffer area, similarly, the second buffer area The first buffer area can also be referred to as.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Propagation delay time for some important packets in existing VOIP communication process is longer, influence VOIP communication matter The problem of amount, the embodiments of the invention provide following resolving ideas:Data transmission device is set in the base station of VOIP systems, should Device is used to classify to packet, and by data pack buffer in the different buffer area of priority, so that, according to buffer area Priority-level carry out packet forwarding, to cause some to be buffered in the important data in the buffer area of limit priority Bag is able to preferentially be transmitted, and reduces the propagation delay time of these packets, improves communication quality.
Under the guiding of the thinking, this programme embodiment provides following feasible embodiment.
The embodiment of the present invention provides a kind of data transmission method, refer to Fig. 1, its number provided by the embodiment of the present invention According to the schematic flow sheet of transmission method, as shown in figure 1, this method comprises the following steps:
S101, recognizes the type of packet waiting for transmission.
S102, by data pack buffer to buffer area corresponding with type.
S103, according to the priority order from high to low of buffer area, the packet cached in each buffer area is passed successively Transport to designated equipment.
It should be noted that data transmission method as shown in Figure 1 can be implemented on the base station in VOIP systems.Specifically , Fig. 2 is refer to, the structural representation of its VOIP communication system based on LTE network provided by the embodiment of the present invention, such as Shown in Fig. 2, the communication system includes:Base station 211, base station 212, core net 22 and SIP/RTP servers 23.
Wherein, as shown in Fig. 2 base station 211 is the base station of the originating end side of communication request, base station 211 is used to access the One terminal, for example, first terminal is expressed as mobile phone terminal A or wireless access end B in fig. 2;Base station 212 is respectively communication request Receiving terminal side base station, base station 212 be used for access second terminal, for example, second terminal is expressed as mobile phone terminal in fig. 2 A ' or wireless access end B '.
It should be noted that VOIP communication systems as shown in Figure 2 are only schematical, in actual implementation process, VOIP communication systems can also have other deformations.For example, the number of base station can be one in VOIP communication systems, for example, main Make end identical with the base station of called end;Or, in another example, the number of core net can also be two, the core for calling terminal Heart net, another is the core net of called end.
Also, in VOIP communication systems as shown in Figure 2, SIP/RTP servers 23 are used to dial voice for mobile phone terminal The offer service of phone.Wherein, sip server is that SIP (Session Initiation Protocol) provides registration, phone Deng service, RTP servers are then mainly responsible for RTP (Real-time Transport Protocol, RTP) data The forwarding of bag.
During this programme is implemented, the base station involved by the embodiment of the present invention can be eNodeB, involved Core net can be 4G core networks (Evolved Packet Core, EPC).
Specifically, as shown in Fig. 2 long-term local by being deployed in of first terminal (mobile phone terminal A or wireless access end B) Evolution (Long Term Evolution, LTE) network insertion base station 211, the packet that base station 211 then sends first terminal Core net 22 is transmitted to, is carried out being transmitted to SIP/RTP servers 23 after data processing by core net 22, through SIP/RTP servers 23 are registered to local sip server to rear, and the packet after processing is transmitted to core net 22 by SIP/RTP servers 23, Obtained packet is transmitted to base station 212 by core net 22, and packet is transmitted to second terminal (mobile phone terminal A ' by base station 212 Or wireless access end B ').
By taking the VOIP systems shown in Fig. 2 as an example, in a specific application scenarios, from mobile phone terminal A to mobile phone terminal The schematic flow sheet that A ' dials voice call may be referred to Fig. 3, as shown in figure 3, the process called includes:
S301, mobile phone terminal initiates INVITE call requests, and the packet of the call request is accessed by wireless LTE network To LTE base station eNodeB1.
S302, LTE base station eNodeB1 receive the packet of the call request, and the packet got is transmitted into master It is the core net EPC at end.
The packet is transmitted to SIP/RTP servers by S303, the core net EPC of calling terminal.
S304, SIP/RTP server are received after the packet of the call request, inquiry called end (mobile phone terminal A ') Relevant information, and build the core net EPC that INVITE information issues called end.
The INVITE information received is forwarded LTE base station eNodeB2 by S305, the core net EPC of called end, and by LTE Base station eNodeB 2 is transmitted to mobile phone terminal A '.
Under specific application scenarios as shown in Figure 3, the data transmission method that the embodiment of the present invention is provided can be held Row is in LTE base station eNodeB1 and LTE base station eNodeB2.
Specifically, in the embodiment of the present invention, it is contemplated that packet has carried out encrypted transmission by LTE network, therefore, holding When the step of type of packet waiting for transmission is recognized in row S101, packet waiting for transmission can be decrypted, be solved Packet after close, afterwards, is parsed to the packet after decryption, obtains raw data packets, so that, recognize raw data packets Type, using the type as packet waiting for transmission.Specifically, analysis mode can include but is not limited to:Assist in GPRS tunnels Discuss (GPRS Tunneling Protocol, GTP) parsing and encapsulating security payload (IPsec Encapsulating Security Payload, IPsec ESP) parsing at least one.
In specific application process, the type of the packet involved by the embodiment of the present invention can include but is not limited to: VoP, Internet data bag and other packets.Wherein, VoP can include but is not limited to:SIP/RTP languages Message makes, in VoP and UDP (User Datagram Protocol, UDP) packet at least One, Internet data bag can include but is not limited to:Transmission control protocol (Transmission Control Protocol, TCP) packet.
In the embodiment of the present invention, when in performing S102 by the step of data pack buffer to buffer area corresponding with type, The corresponding relation between each buffer area and the type of packet can be preset first, can be according to packet based on this Type, obtained each packet is buffered in corresponding buffer area.
In the embodiment of the present invention, the corresponding different priority-level of different buffer areas.For example, can set in a base station 4 buffer areas are put, are respectively:Level1 buffer areas, level2 buffer areas, level3 buffer areas and level4 buffer areas, this 4 The priority orders of buffer area are:Level1 buffer areas>Level2 buffer areas>Level3 buffer areas>Level4 buffer areas, caching The priority orders in area are relevant with the forwarding order of packet.
It is in view of the main function of default bearing in LTE network:It is higher for surfing the web, watching the time delays such as video VoP, for the promptness of Logistics networks phone, can be buffered in that priority is higher or highest buffer area by business In.Specifically, when identify the packet be VoP when, by data pack buffer highest priority buffer area.
During a concrete implementation, VoP can also be divided in the buffer area of different priorities, The explanation still by taking the buffer area of above-mentioned 4 priority of setting as an example.Specifically, can be according to the characteristics of LTE network by packet Priority is divided into 4 grades as above, wherein, the corresponding type of data packet of level1 includes SIP/RTP voice signalings, voice number According to bag, the corresponding type of data packet of level2 includes the UDP message bag in addition to SIP/RTP, the corresponding type of data packet of level3 Including TCP data bag, the corresponding type of data packet of level4 includes other packets.Specifically, being performed by the implementation The flow of step may be referred to Fig. 4 in S103.Fig. 4 is to illustrate the flow of data pack buffer to buffer area in the embodiment of the present invention Figure, as shown in figure 4, the flow comprises the following steps:
S401, encryption data bag is received by LTE network.
S402, obtained encryption data bag is decrypted, the packet after being decrypted.
S403, parses to the packet after decryption, obtains raw data packets.Wherein, analysis mode be ESP parsing and GTP is parsed.
S404, recognizes the type of raw data packets, using the type as the packet.
Whether S405, it is UDP message bag to judge the packet;If so, performing S406;If it is not, performing S409.
Whether S406, it is SIP/RTP packets to judge the packet;If so, performing S407;If it is not, performing S408.
S407, by the data pack buffer to level1 buffer areas.
S408, by the data pack buffer to level2 buffer areas.
Whether S409, it is TCP data bag to judge the packet;If so, performing S410;If it is not, performing S411.
S410, by the data pack buffer to level3 buffer areas.
S411, by the data pack buffer to level4 buffer areas.
It should be noted that in actual implementation process, when performing S102 steps, for any one buffer area Speech, can there is a buffer queue, and this buffer queue is according to the caching moment of data pack buffer to the buffer area by first extremely Order sequence afterwards, based on this, when transmitting these packets, can be passed according to the order of the buffer queue in buffer area It is defeated, to reduce the probability for data corruption situation occur.
In the embodiment of the present invention, according to the priority order from high to low of buffer area in S103 is performed, by each caching When the packet cached in area is transmitted to the step of designated equipment successively, it can be realized by following steps:Judge the first caching With the presence or absence of the packet not transmitted, the highest priority of the first buffer area in area, then, do not passed when existing in the first buffer area During defeated packet, the packet cached in the first buffer area is transmitted to designated equipment, or, when not deposited in the first buffer area In the packet not transmitted, judge that the second buffer area whether there is the packet not transmitted, the priority of the second buffer area is low Priority in the first buffer area and the priority higher than other buffer areas, by that analogy, until the number cached in each buffer area According to bag all end of transmissions.
Specifically, the flow of above-mentioned implementation may be referred to Fig. 5, the packet that Fig. 5 is provided by the embodiment of the present invention Scheduling strategy schematic diagram.Still to there are 4 buffer areas, and the priority orders of this 4 buffer areas in scheduling strategy shown in Fig. 5 For:Level1 buffer areas>Level2 buffer areas>Level3 buffer areas>Exemplified by the application scenarios of level4 buffer areas.Such as Fig. 5 institutes Show, the flow may comprise steps of:
S501, determines the priority of buffer area and each buffer area.
S502, judges that level1 buffer areas whether there is the packet not transmitted;If so, performing S506;If it is not, performing S503。
S503, judges that level2 buffer areas whether there is the packet not transmitted;If so, performing S506;If it is not, performing S504。
S504, judges that level3 buffer areas whether there is the packet not transmitted;If so, performing S506;If it is not, performing S505。
S505, judges that level4 buffer areas whether there is the packet not transmitted;If so, performing S506;If it is not, performing S502.Or, in a feasible implementation process, it can also directly terminate the flow.
S506, the packet that the buffer area is cached is sent to designated equipment successively.
In the embodiment of the present invention, it is contemplated that each buffer area there may be at least two packets, and now, buffer area is deposited In buffer queue, performing when the packet that the buffer area is cached is transferred to designated equipment step by above-mentioned scheduling strategy, it is necessary to The entire packet for caching the buffer area according to the buffer queue is all transmitted.
That is, the packet cached in each buffer area is transmitted to designated equipment successively in S103 steps are performed During step, each buffer area can be based on, the order according to the caching moment of data pack buffer to the buffer area by elder generation after will The packet cached in the buffer area is transmitted to designated equipment successively.Specifically, with the above-mentioned number that will be cached in first buffer area Transmitted according to bag to exemplified by the step of designated equipment, can be according to data pack buffer to the first buffer area in actual implementation process Order of the caching moment by elder generation after, the packet cached in the first buffer area is transmitted to designated equipment successively.
During a concrete implementation, the number that can also be cached according to dispatching default dispatching cycle in each buffer area According to bag, and within each dispatching cycle, according to the priority order from high to low of buffer area, the number that will be cached in each buffer area Transmitted successively to designated equipment according to bag.
Dispatching cycle can be preset according to actual needs, for example, can be preset as according to the difference of business different Dispatching cycle.During a concrete implementation, for the speech business by VOIP, it is contemplated that the transmission of VoP Cycle is about 20ms/ times, therefore, and the dispatching cycle of base station can be 20ms/ times.
It should be noted that in the embodiment of the present invention, the designated equipment that the packet in buffer area is transmitted does not enter Row is particularly limited to.For example, for VOIP communication systems as shown in Figure 2, designated equipment can be core net 22.In another example, pin To some integrated-type LTE base stations, for example, the LTE base station of eNodeB base stations and core net function is integrated with, its transmission packet Designated equipment can be SIP/RTP servers.
Involved terminal can include but is not limited to personal computer (Personal in the embodiment of the present invention Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, flat board electricity Brain (Tablet Computer), mobile phone etc..
It should be noted that S101~S103 executive agent can be data transmission device, the device can be located at base In standing.Therefore, the data transmission method based on the above-mentioned offer of the embodiment of the present invention, the embodiment of the present invention is further provided in realization State the device embodiment of each step and method in embodiment of the method.
Fig. 6 is refer to, the functional block diagram of the embodiment one of its data transmission device provided by the embodiment of the present invention. As shown in fig. 6, the device is located at the base station in networking telephone VOIP systems, the device includes:
Recognition unit 61, the type for recognizing packet waiting for transmission;
Buffer unit 62, for by data pack buffer to buffer area corresponding with type;
Transmission unit 63, for the order of the priority according to buffer area from high to low, the number that will be cached in each buffer area Transmitted successively to designated equipment according to bag.
Specifically, in the embodiment of the present invention, transmission unit 63, specifically for:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of the first buffer area;
When there is the packet not transmitted in the first buffer area, the packet cached in the first buffer area is transmitted to finger Locking equipment;
When the packet not transmitted is not present in the first buffer area, judge that the second buffer area whether there is the number not transmitted According to bag, priority of the priority less than the first buffer area of the second buffer area and the priority higher than other buffer areas;
By that analogy, until the packet all end of transmissions cached in each buffer area.
Wherein, transmission unit 63, also particularly useful for:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after will be slow The packet cached in area is deposited to transmit successively to designated equipment.
During a concrete implementation, transmission unit 63, specifically for:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to The order of the priority of buffer area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
It is preferred that, dispatching cycle is 20ms/ times.
In the embodiment of the present invention, buffer unit 62, specifically for:
When determining packet according to the type of packet for VoP, by data pack buffer to highest priority Buffer area.
In actual implementation process, recognition unit 61, specifically for:
Packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after decryption is parsed, raw data packets are obtained;
The type of raw data packets is recognized, using the type as packet waiting for transmission.
Or, Fig. 7 is refer to, the function side of the embodiment two of its data transmission device provided by the embodiment of the present invention Block figure.As shown in fig. 7, the data transmission device is located in the base station of VOIP communication systems, the data transmission device includes:Data 4 buffer areas are provided with Packet analyzing sort module, selector module and at least two buffer areas, Fig. 7.
As shown in fig. 7, after receiving the packet of encryption, resolve packet sort module mainly completes encryption data bag It is used to perform S101 and S102 steps in Fig. 1 in decryption and classification parsing, the embodiment of the present invention, according to the class of obtained packet Type, data pack buffer is entered in a buffer area in level1~level4 buffer areas.Selector module mainly completes difference The transmission task of class queue data, is successively read the status information of the queue of 4 kinds of grades, and selection needs the data transfer sent To sending module, sent by sending module to designated equipment.In the embodiment of the present invention, selector module and sending module are all used for Perform S103.In specific application scenarios, selector module can constantly poll level1~level4 buffer areas, and judging Whether buffer area has the packet not sent, if level1 buffer areas have the packet not sent, by level1 buffer areas The data of caching are transferred to sending module, are sent by sending module to designated equipment, if what level1 buffer areas were not sent Packet, then judge whether level2 buffer areas have the packet not sent, and its specific workflow may be referred to Fig. 5, herein No longer repeated.
Based on the data transmission device of the above-mentioned offer of the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of base station, Fig. 8 is refer to, Fig. 8 is the functional block diagram for the base station that the embodiment of the present invention is provided.As shown in figure 8, the base station includes:Data Transmitting device.
In order to further illustrate this programme, the embodiment of the present invention gives the entity apparatus signal of above-mentioned data transmission device Figure, refer to Fig. 9, as shown in figure 9, the device includes processor 91, memory 92 and input/output interface 93;Processor 91st, memory 92 and input/output interface 93 are communicated by bus;Computer code is configured with memory 92, is handled Device 91 can call the code with control input output interface 93,
Processor 91, is used for:
Recognize the type of packet waiting for transmission;
By data pack buffer to buffer area corresponding with type;
According to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to finger successively Locking equipment.
Specifically, in the embodiment of the present invention, processor 91, specifically for:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of the first buffer area;
When there is the packet not transmitted in the first buffer area, the packet cached in the first buffer area is transmitted to finger Locking equipment;
When the packet not transmitted is not present in the first buffer area, judge that the second buffer area whether there is the number not transmitted According to bag, priority of the priority less than the first buffer area of the second buffer area and the priority higher than other buffer areas;
By that analogy, until the packet all end of transmissions cached in each buffer area.
Specifically, in the embodiment of the present invention, processor 91, specifically for:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after will be slow The packet cached in area is deposited to transmit successively to designated equipment.
Specifically, in the embodiment of the present invention, processor 91, specifically for:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to The order of the priority of buffer area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
During a concrete implementation, dispatching cycle is 20ms/ times.
Specifically, in the embodiment of the present invention, processor 91, specifically for:
When it is VoP to identify packet, by the buffer area of data pack buffer to highest priority.
Specifically, in the embodiment of the present invention, processor 91, specifically for:
Packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after decryption is parsed, raw data packets are obtained;
The type of raw data packets is recognized, using the type as packet waiting for transmission.
Because each unit in the present embodiment is able to carry out the method shown in Fig. 1, the part that the present embodiment is not described in detail, Refer to the related description to Fig. 1.
The technical scheme of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, in VOIP communication systems, base station before transmitting the data, by recognizing number waiting for transmission According to the type of bag, so that, according to the type of packet, in the buffer area that packet classification is buffered in different priorities rank, Based on this, when carrying out the transmission of packet, the transmission of packet can be carried out according to the precedence of the priority of buffer area, such as This, if by some important packets, such as VoP, be buffered in highest priority or higher buffer area in, base station Preferentially these important packets can be just transmitted, reduce the propagation delay time of these important packets, effectively keep away Exempt from network congestion situation present in the transmitting procedure of packet, can be with during voice communication is realized by VOIP The probability of happening for situations such as phone goes offline, aphthenxia is clear is effectively reduced, the real-time of VOIP speech businesses has been ensured, has improved VOIP communication qualities.Therefore, the technical scheme that the embodiment of the present invention is provided can solve existing VOIP to a certain extent The propagation delay time of the important packet of some in communication process is longer, the problem of influenceing VOIP communication qualities.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example, multiple units or group Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

1. a kind of data transmission method, it is characterised in that be implemented in the base station in networking telephone VOIP systems, methods described bag Include:
Recognize the type of packet waiting for transmission;
By the data pack buffer to buffer area corresponding with the type;
According to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to specifying successively and set It is standby.
2. according to the method described in claim 1, it is characterised in that, will according to the priority order from high to low of buffer area The packet cached in each buffer area is transmitted to designated equipment successively, including:
Judge in the first buffer area with the presence or absence of the packet not transmitted, the highest priority of first buffer area;
When there is the packet not transmitted in first buffer area, the packet cached in first buffer area is transmitted To the designated equipment;
When the packet not transmitted is not present in first buffer area, judge that the second buffer area whether there is the number not transmitted According to bag, the priority of second buffer area is less than the priority of first buffer area and is higher than the preferential of other buffer areas Level;
By that analogy, until the packet all end of transmissions cached in each buffer area.
3. according to the method described in claim 1, it is characterised in that transmit the packet cached in each buffer area to finger successively Locking equipment, including:
Based on each buffer area, the order according to the caching moment of data pack buffer to the buffer area by elder generation after will be described slow The packet cached in area is deposited to transmit successively to the designated equipment.
4. method according to claim 1 or 2, it is characterised in that according to the priority order from high to low of buffer area, The packet cached in each buffer area is transmitted to designated equipment successively, including:
The packet cached in each buffer area is dispatched according to default dispatching cycle, and within each dispatching cycle, according to caching The order of the priority in area from high to low, the packet cached in each buffer area is transmitted to designated equipment successively.
5. method according to claim 4, it is characterised in that the dispatching cycle is 20ms/ times.
6. according to the method described in claim 1, it is characterised in that delay the data pack buffer to corresponding with the type Area is deposited, including:
When it is VoP to identify the packet, by the buffer area of the data pack buffer to highest priority.
7. according to the method described in claim 1, it is characterised in that the type of identification packet waiting for transmission, including:
The packet waiting for transmission is decrypted, the packet after being decrypted;
Packet after the decryption is parsed, raw data packets are obtained;
The type of the raw data packets is recognized, using the type as the packet waiting for transmission.
8. a kind of data transmission device, it is characterised in that described device is located at the base station in networking telephone VOIP systems, the dress Put including:
Recognition unit, the type for recognizing packet waiting for transmission;
Buffer unit, for by the data pack buffer to buffer area corresponding with the type;
Transmission unit, for the order of the priority according to buffer area from high to low, by the packet cached in each buffer area according to It is secondary to transmit to designated equipment.
9. a kind of base station, it is characterised in that the base station includes the data transmission device described in claim 8.
10. a kind of data transmission device, it is characterised in that described device is located at the base station in networking telephone VOIP systems, described Device includes processor, memory and input/output interface;The processor, memory and input/output interface pass through bus Communicated;Computer code is configured with the memory, the processor can call the code defeated with control input Outgoing interface,
The processor, is used for:
Recognize the type of packet waiting for transmission;
By the data pack buffer to buffer area corresponding with the type;
According to the priority order from high to low of buffer area, the packet cached in each buffer area is transmitted to specifying successively and set It is standby.
CN201710479499.2A 2017-06-22 2017-06-22 A kind of data transmission method, device and base station Pending CN107333296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710479499.2A CN107333296A (en) 2017-06-22 2017-06-22 A kind of data transmission method, device and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710479499.2A CN107333296A (en) 2017-06-22 2017-06-22 A kind of data transmission method, device and base station

Publications (1)

Publication Number Publication Date
CN107333296A true CN107333296A (en) 2017-11-07

Family

ID=60196042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710479499.2A Pending CN107333296A (en) 2017-06-22 2017-06-22 A kind of data transmission method, device and base station

Country Status (1)

Country Link
CN (1) CN107333296A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284304A (en) * 2018-08-13 2019-01-29 中国平安人寿保险股份有限公司 A kind of electronics based on caching technology goes out folk prescription method and terminal device
CN109324761A (en) * 2018-10-09 2019-02-12 郑州云海信息技术有限公司 A kind of data cache method, device, equipment and storage medium
CN110233705A (en) * 2019-06-11 2019-09-13 北京深蓝航天科技有限公司 Signal transmission system based on communication
CN110519333A (en) * 2019-07-31 2019-11-29 苏州浪潮智能科技有限公司 The method and device of data transmission
CN112491963A (en) * 2020-11-03 2021-03-12 泰康保险集团股份有限公司 Data transmission method, device, equipment and readable storage medium
CN113992651A (en) * 2021-09-24 2022-01-28 深圳市有方科技股份有限公司 Downloading method based on File Transfer Protocol (FTP) and related product
CN114691392A (en) * 2022-03-28 2022-07-01 声呐天空资讯顾问有限公司 Information transmission method and device of terminal, storage medium and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026545A (en) * 2006-02-21 2007-08-29 联想(北京)有限公司 Real-time multimedia transmitting system and method
CN101442821A (en) * 2008-12-31 2009-05-27 阿德利亚科技(北京)有限责任公司 Method and apparatus for optimizing ascending voice transmission in wireless LAN
US20140036930A1 (en) * 2012-07-31 2014-02-06 Futurewei Technologies, Inc. Priority Driven Channel Allocation for Packet Transferring
CN103618681A (en) * 2013-11-15 2014-03-05 深圳市磊科实业有限公司 Elastic network bandwidth control method and system thereof
CN103986666A (en) * 2013-02-07 2014-08-13 华为技术有限公司 Data processing method and device and system
CN104125167A (en) * 2014-07-24 2014-10-29 海信集团有限公司 Flow control method and device
CN106658744A (en) * 2016-12-19 2017-05-10 瑞斯康达科技发展股份有限公司 MAC layer scheduling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026545A (en) * 2006-02-21 2007-08-29 联想(北京)有限公司 Real-time multimedia transmitting system and method
CN101442821A (en) * 2008-12-31 2009-05-27 阿德利亚科技(北京)有限责任公司 Method and apparatus for optimizing ascending voice transmission in wireless LAN
US20140036930A1 (en) * 2012-07-31 2014-02-06 Futurewei Technologies, Inc. Priority Driven Channel Allocation for Packet Transferring
CN103986666A (en) * 2013-02-07 2014-08-13 华为技术有限公司 Data processing method and device and system
CN103618681A (en) * 2013-11-15 2014-03-05 深圳市磊科实业有限公司 Elastic network bandwidth control method and system thereof
CN104125167A (en) * 2014-07-24 2014-10-29 海信集团有限公司 Flow control method and device
CN106658744A (en) * 2016-12-19 2017-05-10 瑞斯康达科技发展股份有限公司 MAC layer scheduling method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284304A (en) * 2018-08-13 2019-01-29 中国平安人寿保险股份有限公司 A kind of electronics based on caching technology goes out folk prescription method and terminal device
CN109324761A (en) * 2018-10-09 2019-02-12 郑州云海信息技术有限公司 A kind of data cache method, device, equipment and storage medium
CN110233705A (en) * 2019-06-11 2019-09-13 北京深蓝航天科技有限公司 Signal transmission system based on communication
CN110233705B (en) * 2019-06-11 2022-04-26 江苏深蓝航天有限公司 Signal transmission system based on wireless communication mode
CN110519333A (en) * 2019-07-31 2019-11-29 苏州浪潮智能科技有限公司 The method and device of data transmission
CN110519333B (en) * 2019-07-31 2022-04-22 苏州浪潮智能科技有限公司 Data transmission method and device
CN112491963A (en) * 2020-11-03 2021-03-12 泰康保险集团股份有限公司 Data transmission method, device, equipment and readable storage medium
CN112491963B (en) * 2020-11-03 2023-11-24 泰康保险集团股份有限公司 Data transmission method, device, equipment and readable storage medium
CN113992651A (en) * 2021-09-24 2022-01-28 深圳市有方科技股份有限公司 Downloading method based on File Transfer Protocol (FTP) and related product
CN113992651B (en) * 2021-09-24 2024-05-14 深圳市有方科技股份有限公司 Downloading method based on File Transfer Protocol (FTP) and related products
CN114691392A (en) * 2022-03-28 2022-07-01 声呐天空资讯顾问有限公司 Information transmission method and device of terminal, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN107333296A (en) A kind of data transmission method, device and base station
CN100438465C (en) Method for providing contention free quality of service to time constrained data
US6940813B2 (en) System and method for facilitating end-to-end quality of service in message transmissions employing message queues
CN109951347B (en) Service identification method, device and network equipment
CN100407698C (en) Data transmission method for wireless link control layer
CN109314662A (en) Data transmission method and device
US7751420B2 (en) Network switching method and apparatus, wireless access apparatus, and wireless network
CN107395572B (en) Data processing method and Internet of things gateway
US8601139B2 (en) Multiple core session initiation protocol (SIP)
CN108494817A (en) Data transmission method, relevant apparatus and system
CN108366023A (en) Anticollision stream for delay sensitive network reserves bandwidth system and its method
Lee et al. Performance of the full-duplex MAC protocol in non-saturated conditions
CN102195882A (en) Method and device for selecting route according to data stream application type
EP1919154A1 (en) Wi-Fi quality of service signalling
CN106716975A (en) A transmission link resume method, device and system
CN103188171A (en) Message scheduling method and equipment
EP3469779A1 (en) Rcs origination forking
CN108206807A (en) The method, device and mobile terminal of shared information in call
US10237212B2 (en) RCS origination forking
US8861705B1 (en) Priority queuing in a next generation communication network
CN101267390B (en) Asynchronous delay network communication method, its system and buffer processing device
Abbasi et al. Efficient resource-aware control on SIP servers in 802.11 n wireless edge networks
CN107172179B (en) Bilateral acceleration transmission method and system
CN114362891A (en) Communication method and device
CN101588356A (en) Network equipment and method for detecting voice packet by same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107

RJ01 Rejection of invention patent application after publication