CN105634988B - A kind of jitter cache processing method and processing device - Google Patents

A kind of jitter cache processing method and processing device Download PDF

Info

Publication number
CN105634988B
CN105634988B CN201511024678.4A CN201511024678A CN105634988B CN 105634988 B CN105634988 B CN 105634988B CN 201511024678 A CN201511024678 A CN 201511024678A CN 105634988 B CN105634988 B CN 105634988B
Authority
CN
China
Prior art keywords
message
write
channel
sequence number
manager
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511024678.4A
Other languages
Chinese (zh)
Other versions
CN105634988A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201511024678.4A priority Critical patent/CN105634988B/en
Publication of CN105634988A publication Critical patent/CN105634988A/en
Application granted granted Critical
Publication of CN105634988B publication Critical patent/CN105634988B/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
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing

Abstract

The invention discloses a kind of jitter cache processing method and processing devices, main contents include: to be operated by the normalized that write-in side manager does message, during message write-in, according to the tolerance of current dither buffer processing device, the message received is handled differently, when particularly with packet loss processing, in order to guarantee normal message transmissions, it avoids just mending packet in a manner of fixed filling in message write-in in the prior art, only the case where packet loss, is marked in write-in side manager, and, the write-in side manager allows to read side manager and accesses to it, therefore, the label of the packet drop stored in write-in side manager is easy to be read the identification of side manager, no longer need to identify to whether the message of reading is filled;Meanwhile avoid to filling bandwidth limitation, reduce packet loss processing complexity reduce the complexity of jitter cache in turn.

Description

A kind of jitter cache processing method and processing device
Technical field
The present invention relates to field of communication technology more particularly to a kind of jitter cache processing method and processing devices.
Background technique
When being interacted between packet switching network PSN and time division multiplex network TDM, due to traditional time division multiplexed network In, the clock and transmission rate that each message is all kept constant, and the message of packet switching network is to store, at pass-through mode Reason.By taking PWE3 (Pseudo Wire Emulation Edge to Edge, end to end pseudo wire emulation) equipment as an example, PWE3 machine It is made as transmitting TDM business in a packet switched network and provides possibility.The interface of PWE3 equipment and packet switching network be ether, The high-speed interfaces such as POS, and the interface of PWE3 equipment and time division multiplex network is common TDM interface, due to the difference between interface Different presence, so there is macroscopically rates during message is by packet switched network transmission to time division multiplex network Balanced, microcosmic upper rate shake the characteristics of, PWE3 equipment need to absorb by jitter cache it is this it is microcosmic on rate shake.
However, when PWE3 equipment handles message transmissions by jitter cache, with the ether ETH industry in packet switching network For business, i.e., TDM business is converted to by ETH business, firstly, PWE3 equipment caches the ETH business received, so Afterwards, according to the service request of time division multiplex network, corresponding ETH business recovery is gone out to the format form of TDM business, and exports and gives Time division multiplex network.Wherein, TDM business payload itself is using byte as minimum unit, if ETH loss of traffic with message number On the one hand meter makes TDM business will not be because of short then will be fixed sequence program by lost all padding bytes according to message Temporary packet loss leads to service disconnection, so that time division multiplex network is recognized packet loss, and issue warning information.
However, needing to consider to fill the limitation of bandwidth, otherwise, it is easy to influence PWE3 when filling fixed sequence program Equipment handles the jitter cache of business;Moreover, needing the fixed sequence program to packet loss phenomenon and filling in time division multiplex network It is identified, to message, jitter cache processing increases complexity in the transmission process of packet switching network to time division multiplex network Degree.
Summary of the invention
The embodiment of the present invention provides a kind of jitter cache processing method and processing device, to solve it is existing in the prior art by In being filled the processing of jitter cache caused by fixed sequence program to packet loss phenomenon in message writing process, complexity is high asks Topic.
The embodiment of the present invention uses following technical scheme:
In a first aspect, providing a kind of jitter cache processing method, it is transmitted to suitable for message by packet switching network PSN The control process of time division multiplex network TDM, the method includes the writing process of message and the readouts of message, in which:
The writing process of message includes:
Side manager is written and receives the message for carrying message information that any channel is sent in packet switching network, In, the message information includes at least: gap marker and the sequence number for characterizing the message transmissions sequence;
Write-in side manager judges whether the message is effective;
If invalid, the message is abandoned;
If effectively, further judging the sequence number of the message and the last message in the stored channel Whether the difference of sequence number is greater than default amplification threshold value:
If so, abandoning the message;
If it is not, be correct by the corresponding flag update of sequence number of message described in the list of sequence numbers of itself storage, and By the packet storage into data buffer storage;And whether sequentially further judge the sequence number of the message, if sequence is passed Increase, does not then deal with;Otherwise, so that being located at each sequence between the sequence number of the message and the sequence number of the last message The label of row number is;
The readout of message includes:
The message request that side manager receives time division multiplex network is read, wherein channel is carried in the message request Mark and sequence number;
Side manager is read to be inquired in the manager of said write side at same sequence number position according to the message request Label reads the message to match with the message request stored in the data buffer storage if inquiring labeled as correctly, And it is sent to the time division multiplex network;If inquiring labeled as mistake, directly sends and fill to the time division multiplex network The message of fix information.
With reference to first aspect, in the first possible implementation, by the packet storage into data buffer storage, specifically Include:
Payload in the message is separated with CAS field store into data buffer storage it is opposite with the gap marker of the message The different address space answered.
The possible implementation of with reference to first aspect the first, in the second possible implementation, described in reading The message to match with the message request stored in data buffer storage, specifically includes:
According to the gap marker carried in the message request, inquire opposite with the gap marker in the data buffer storage Whether the address space answered has been stored with CAS field;
If query result be it is yes, successively directly read storage CAS field and corresponding payload;
If query result be it is no, wait, until inquiring CAS field.
The possible implementation of second with reference to first aspect, in the third possible implementation, the message In information further include: frame identification;
After write-in side manager receives message, before judging whether the message is effective, said write process is also wrapped It includes:
According to frame identification in the message and default message length, to the communications status in the channel of currently transmitted message into Row detection.
With reference to first aspect, in the fourth possible implementation, the readout further include:
It reads the current processing information for itself reading message of side manager real-time informing write-in side manager and the time-division is multiple With the channel status of network side.
With reference to first aspect, in a fifth possible implementation, said write process further include: multiplexing restorer is logical The channel status in each channel in write-in side manager real-time query packet switching network is crossed, and according to query result to respective channel Latched or resetted control;
The readout further include: multiplexing restorer is led to by reading in side manager real-time query time division multiplex network The channel status in road, and control is latched or resetted to respective channel according to query result.
Second aspect provides a kind of jitter cache processing unit, is transmitted to suitable for message by packet switching network PSN The control process of time division multiplex network TDM, described device include: write-in side manager and reading side manager;Wherein:
Said write side pipe manages implement body
First receiving unit, for receiving the report for carrying message information that any channel is sent in packet switching network Text, wherein the message information includes at least: gap marker and the sequence number for characterizing the message transmissions sequence;
First processing units, it is whether effective for judging the message, and the message is abandoned when judging invalid;With And the sequence of the sequence number of the message and the last message in the stored channel is further judged when judging effective Whether the difference of row number is greater than default amplification threshold value, and abandons the message when the judgment result is yes, and, in judging result It by the corresponding flag update of sequence number of message described in the list of sequence numbers of itself storage is correct when being no, and by the report Text is stored into data buffer storage, and whether sequentially further judges the sequence number of the message, if sequentially, not making Processing, otherwise, so that the mark for each sequence number being located between the sequence number of the message and the sequence number of the last message It is denoted as mistake;
The reading side pipe manages implement body
Second receiving unit, for receiving the message request of time division multiplex network, wherein carried in the message request Gap marker and sequence number;
The second processing unit, at same sequence number position in message request inquiry said write side manager Label reads the message to match with the message request stored in the data buffer storage if inquiring labeled as correctly, And it is sent to the time division multiplex network;If inquiring labeled as mistake, directly sends and fill to the time division multiplex network The message of fix information.
In conjunction with second aspect, in the first possible implementation, the first processing units are deposited by the message When storage is into data buffer storage, it is specifically used for:
Payload in effective message is separated into the gap marker phase stored into data buffer storage with the message with CAS field Corresponding different address space.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, described second When the message to match with the message request that processing unit stores in reading the data buffer storage, it is specifically used for:
According to the gap marker carried in the message request, inquire opposite with the gap marker in the data buffer storage Whether the address space answered has been stored with CAS field;
If query result be it is yes, successively directly read storage CAS field and corresponding payload;
If query result be it is no, wait, until inquiring CAS field.
In conjunction with second of possible implementation of second aspect, in the third possible implementation, the message In information further include: frame identification;
The first processing units are also used to before judging whether the message is effective:
According to frame identification in the message and default message length, to the communications status in the channel of currently transmitted message into Row detection.
In conjunction with second aspect, in the fourth possible implementation, reading side manager further include:
Notification unit, for the current processing information and time division multiplexing for itself reading message of real-time informing write-in side device The channel status of network side.
In conjunction with second aspect, in a fifth possible implementation, further includes:
It is multiplexed restorer, it is each in write-in side manager real-time query packet switching network for passing through in message writing process The channel status in channel, and control is latched or resetted to respective channel according to query result;And
For the channel shape in message readout by channel in reading side manager real-time query time division multiplex network State, and control is latched or resetted to respective channel according to query result.
In embodiments of the present invention, it is operated by the normalized that write-in side manager does message, is write in message During entering, according to the tolerance of current dither buffer processing device, the message received is handled differently, it is especially right When packet loss processing, in order to guarantee normal message transmissions, avoid in the prior art in message write-in just with fixed filling Mode mends packet, and only the case where packet loss is marked in write-in side manager, also, the write-in side manager allows to read side Manager accesses to it, and therefore, the label of the packet drop stored in write-in side manager is easy to be read side pipe reason Device identification, no longer needs to identify to whether the message of reading is filled;Meanwhile avoid to filling bandwidth limitation, drop The complexity of low packet loss processing reduces the complexity of jitter cache in turn.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the network reference model of PWE3 equipment transmitting message between time division multiplex network and packet switching network;
Fig. 2 is the structural schematic diagram of jitter cache processing unit provided in an embodiment of the present invention;
Fig. 3 (a) and Fig. 3 (b) is respectively the method handled using jitter cache processing unit shown in Fig. 2 message Flow chart of steps;
Fig. 4 is the traffic signaling multi-frame structure schematic diagram that CAS field is carried in time division multiplex network;
Fig. 5 is a kind of schematic diagram of internal structure of jitter cache processing unit;
Fig. 6 is the schematic diagram of internal structure of another jitter cache processing unit.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
It should be noted that in embodiments of the present invention, being carried out by taking PWE3 equipment as an example to the jitter cache processing scheme It illustrates.In fact, the program is applied equally to other equipment for handling jitter cache, and the present invention is only set with PWE3 Standby to be used as jitter cache processing unit, other are not repeated them here.
As shown in Figure 1, the network for PWE3 equipment transmitting message between time division multiplex network and packet switching network is joined Examine model.PWE3 equipment completes Circuit Emulation Service, on the one hand, can be by the message transmissions of time division multiplex network to packet switch Network, on the other hand, and can be by the message transmissions in packet switching network to time division multiplex network.Due to time division multiplex network The clock and transmission rate that interior each business is all kept constant, and ether business, POS business in packet switching network etc. is all High-speed transfer is needed, therefore, transmission process between the two networks has the jitter cache processing to message.And it considers The problem of being previously mentioned in above-mentioned background technique, the present invention only shake with packet switching network to time division multiplex network transmitting message Caching process improves explanation.
Technical solution according to the present invention is described in detail below by specific embodiment, the present invention include but It is not limited to following embodiment.
Firstly, simply being introduced jitter cache processing unit according to the present invention.As shown in Fig. 2, for the present invention A kind of structural schematic diagram for jitter cache processing unit that embodiment provides, the jitter cache processing unit specifically include that write-in Side manager 21 reads side manager 22 and data buffer storage 23.Wherein, due to be distributed in packet switching network Ethernet, A variety of transmission networks such as grouping net, therefore, write-in side manager 21 are configured at least one and channel each in packet switching network Connected interface, wherein can be one interface of configuration, which is connected respectively at channel each in packet switching network, should Interface, which can choose, controls and receives channel, the current message transmissions for only having a channel of guarantee to the interface, and other channels In waiting or closed state.Similarly, reading side manager 22, also corresponding configuration has at least one interface, on the one hand, is used for The message request of time division multiplex network is received, on the other hand, by what is read from data buffer storage 23 from packet switching network Message is sent to time division multiplex network.
Wherein, it is written between side manager 21 and data buffer storage 23, it can between data buffer storage 23 and reading side manager 22 Data exchange transmission is realized by data channel respectively, write-in side manager 21 is responsible for all kinds of reports from packet switching network Text carries out caching write operation, and is responsible for that received all kinds of messages are recorded and marked, specifically, by itself depositing The mode being marked at corresponding sequence position is realized in the label list of storage, and difference mark is carried out to corresponding message Note.In addition, write-in side manager 21 also allows to read the access of side manager 22, to know the message for the message being read out in advance Information.
In addition, data buffer storage 23 can be divided into advance multiple address spaces according to different channels, from same channel Message is stored in same address space;Special, for the message for carrying CAS field, the data buffer storage 23 is preferable It is divided according to channel, the address space in each channel is further then divided into the different address space of two classes, one Class address space is specifically used to store CAS field, another kind of address space stored messages payload.
Method and step such as Fig. 3 (a) and Fig. 3 (b) that message is handled using jitter cache processing unit shown in Fig. 2 It is shown, wherein message illustrates the message request such as dotted line as shown in solid arrow in figure in the flow direction in jitter cache processing unit Shown in arrow.
The process that the jitter cache processing unit handles message includes two parts, and a part is to utilize write-in side pipe It manages device 21 and write operation is carried out to message, another part is to carry out read operation to message using reading side manager 22, The two processes are described in detail as follows:
One: the writing process of message includes:
Step 31a: what any channel was sent in write-in side manager reception packet switching network carries message information Message.
Wherein, the message information includes at least: gap marker and the sequence number for characterizing the message transmissions sequence.Separately Outside, the length of the message can be set according to preset regulation, such as: for the multi-frame being made of 16 basic frames Speech, can be set as 4 messages, i.e. a message is made of 4 basic frames;Also 8 messages, i.e., one report be can be set as Text is made of 2 basic frames, and setting rule is more flexible, the present invention and without limitation.
Preferably, in the message information further include: frame identification;It therefore, before this step further include multi-frame synchronization behaviour Make, i.e., according to frame identification in the message and default message length, the communications status in the channel of currently transmitted message is carried out Detection.
Specifically, according to signaling multi-frame decomposition rule, a multi-frame be packaged into N (N value: 1,2,4,8,16) a message, It is assumed that a multi-frame is encapsulated as 4 messages, then the multi-frame is respectively 4 packet labeling frame identifications are as follows: frame head, interframe, interframe, Postamble, and incidentally upper CAS field is wherein marked as after the message of postamble, to form the business for carrying CAS field.It considers The influence that the communications status in each channel stores subsequent packet, the communications status for needing to verify the channel of currently transmitted message are It is no good, i.e., whether according to the sequence of multi-frame structure send message.For example, if detecting the frame identification of the message of Serial No. n For frame head, then verification sequence number is whether the frame identification of the message of n+3 is postamble, if postamble, then further verifies the sequence Whether the message length of number message for being n+3 is that the summation of payload Yu CAS field can be in order to ensure the accuracy of verification Further verification sequence number be the message of n+7, Serial No. n+11, Serial No. n+15 message length whether be payload and The summation of CAS field;In turn, by way of verification frame identification (mainly postamble) and the message length of postamble, it is ensured that by The channel send message be sent according to the sequence synchronization of multi-frame structure, meanwhile, also indicate that the communications status in the channel is It is good.
Step 32a: write-in side manager judges whether the message is effective;If invalid, the message is abandoned, otherwise, Execute step 33a.
Step 33a: write-in side manager further judge the message sequence number and the stored channel most Whether the difference of the sequence number of a nearly message is greater than default amplification threshold value, if so, abandoning the message, otherwise, executes step Rapid 34a.
Step 34a: the corresponding mark of sequence number of message described in the list of sequence numbers that write-in side manager stores itself Note is updated to correctly, and by the packet storage into data buffer storage.
Wherein, in embodiments of the present invention, it is written in the manager of side and is previously stored with list of sequence numbers, it can be for each logical Road is updated, and includes the position of the sequence number of each message of corresponding respective channel in each list of sequence numbers, and Labeled as original marking.When there is message to enter write-in side manager, can be filled according to the validity of message and the jitter cache The shake tolerance set judges whether that, in the update that the message is marked in write-in side manager, specific update operates are as follows: will Original marking is updated to correctly or incorrectly.
Step 35a: whether sequentially write-in side manager judges the sequence number of the message, if sequentially, no It deals with;Otherwise, step 36a is executed.
Step 36a: so that being located at each sequence between the sequence number of the message and the sequence number of the last message Number label be.
Preferably, in embodiments of the present invention, step 36a specific implementation includes following two:
Mode one:
Write-in side manager judge the sequence number of the message be not sequentially after, will directly be located at the report The label of each sequence number between the sequence number of text and the sequence number of the last message is all updated to mistake.
Mode two:
Write-in side manager judge the sequence number of the message be not sequentially after, will only be located at the message Sequence number and the last message sequence number between the corresponding flag update of the sequence number of original marking not yet be mistake.
It is assumed that the message Sn that the corresponding channel ch1 of Ethernet is sent in packet switching network is currently received, if write-in side pipe The Serial No. S4 of the previous message of stored channel ch1 in device is managed, then by the sequence number of message Sn with previous message S4's Sequence number carries out pair, can be performed the following operation respectively according to the value of Sn:
Before this, the amplification threshold value of sequence of message number, the increasing can be directed to for write-in side manager setting one in advance Width threshold value is necessary for integer, represents the jitter cache processing unit to the degrees of tolerance of packet out-ordering.However, it is contemplated that tolerance Degree is higher, and processing delay is opposite can be big, therefore, the amplification threshold value can according to the configuration needs of the jitter cache processing unit into Row setting.Example below for ease of description, by taking the absolute value of amplification threshold value is equal to 4 as an example.
(1) if, Sn be S5, first, it is determined that whether message S5 effective;It specifically, can be according to the length and/or report of message Whether the head of text, which matches, is judged, can also be defined according to other set-up modes, the present invention not to this.If nothing Effect, then abandon message S5, otherwise, whether the difference of the sequence number for further judging message S5 and the sequence number of message S4 is big It is sequentially due to the sequence of message number, then in current write-in side manager that message S5 is corresponding in default amplification threshold value The flag update of sequence number position is correct, such as labeled as 1;Meanwhile effective message S5 being stored into data buffer storage.
(2) if, Sn be S6, judge whether message S6 effective, if in vain, abandoning message S6, otherwise, further judge Whether the difference of the sequence number of the sequence number and message S4 of message S5 is greater than default amplification threshold value, due to message S6 sequence number Amplification is 2, and in amplification threshold range, therefore, message S6 is stored into data buffer storage.In addition, for be located at S6 and S4 it Between message S5, so far and undelivered, in order to guarantee normally receiving for subsequent packet, message S6 is corresponding in write-in side manager Sequence number position flag update be mistake.
(3) if, Sn be S9, in the effective situation of message S9, due to sequence of message amplification be 5, exceed amplification threshold It is worth range, then abandons the message, and without any processing.
(4) if, Sn be S3, sequence of message amplification is -1, and absolute value is then carried out as reported also in amplification threshold range Literary S5 similar processing.
(5) if, Sn be S2, sequence of message amplification is -2, and absolute value carries out such as message also in amplification threshold range S5 similar processing.
It is operated by this normalized that write-in side manager does message, during message write-in, root According to the tolerance of current dither buffer processing device, the message received is handled differently, when particularly with packet loss processing, In order to guarantee normal message transmissions, avoids just mending packet in a manner of fixed filling in message write-in in the prior art, only exist Write-in side manager in the case where packet loss, is marked, also, the write-in side manager allow read side manager to its into Row access, therefore, the label of the packet drop stored in write-in side manager are easy to be read the identification of side manager, no longer need to It is identified to whether the message of reading is filled;Meanwhile avoid to filling bandwidth limitation, reduce packet loss processing Complexity reduces the complexity of jitter cache in turn.
Preferably, it is contemplated that time division multiplex network supports multiple business, wherein can be divided into carry CAS word on the whole The business of section and the business for not carrying CAS field.Based on above scheme, the message that comes from packet switched network transmission can be with It is stored according to storage scheme in the prior art, i.e. the message different address that is stored respectively in data buffer storage according to channel is empty Between.But, it is contemplated that the particularity of the business of CAS field is carried, as shown in figure 4, to carry CAS in time division multiplex network The traffic signaling multi-frame structure schematic diagram of field.In the multi-frame, it is divided into 16 basic frames (file 0~15 in figure), it is each basic 32 time slots of frame (horizontally-arranged 0~31) in figure, the time slot 16 (timeslot 16 in figure) of each basic frame be for it is each when Gap additional notes information, abcd is CAS field in figure, and footnote is to indicate that (time slot 0 is control letter to corresponding time slot file Breath, does not need CAS field).As shown in Figure 4, CAS field is required in the business for carrying CAS field in time division multiplex network It is dispersed in 16 basic frames, and the fixation position for being distributed in each basic frame is required (to be shown in the figure and be distributed in the 16th Time slot);And for the business for carrying CAS field in packet switching network, such as in ether ETH net, it only requires CAS Field is all placed in the tail portion of the payload of entire multi-frame.
Therefore, in protocol processes level, during from ETH business recovery to TDM business, one is recovered completely 16 × 32B of CAS signaling multi-frame amounts to original contents, structure and the format of 512 bytes.In business transportation level, receive Ethernet message includes ether relevant information and header type information etc., is followed by with the payload of the TDM business of byte mode transmission, Being transferred to processing required for the side TDM is the lattice for deleting the information such as ether relevant information and header type, and requiring according to TDM Formula (SAToP or CESoPSN), is converted into corresponding code stream for payload and transmits.
As it can be seen that causing the recovery process of signaling multi-frame complex due to the presence of CAS field, for this purpose, the present invention is to step Storage mode in rapid 34a improves, specifically: the payload in message being separated with CAS field and is stored into data buffer storage Different address corresponding with the gap marker of message space.In conjunction in the affiliated multi-frame of CAS field position and above-mentioned report Literary writing process is that stored payload is first written it is found that for a multi-frame, storage CAS field is then written again, so The writing process of a multi-frame can be completed, however, be to send payload and CAS field simultaneously in subsequent readout, because This, the outer net for sending message request needs to know in advance whether CAS field has completed write-in storage, can just know therein multiple Whether frame is complete.The scheme stored as a result, by the separation, it is easy to realize quick to CAS field in independent memory space The purpose of lookup, to enormously simplify the signaling multi-frame for carrying CAS field by packet switching network to time division multiplex network Resume work.
Two: the readout of message includes:
Step 31b: reading the message request that side manager receives time division multiplex network, wherein it is taken in the message request With gap marker and sequence number.
Step 32b: inquiring the label in the manager of said write side at same sequence number position according to the message request, If inquiring labeled as correctly, the message to match with the message request stored in the data buffer storage is read, concurrently It send to the time division multiplex network;If inquiring labeled as mistake, filling directly is sent to the time division multiplex network and is fixed The message of information.
Preferably, in embodiments of the present invention, execute step 32b in read stored in the data buffer storage with it is described When the message that message request matches, specifically, according to the gap marker carried in the message request, it is slow to inquire the data Whether address space corresponding with the gap marker has been stored with CAS field in depositing;If query result be it is yes, successively Directly read storage CAS field and corresponding payload;If query result be it is no, wait, until inquiring CAS field and being Only.
In fact, during reading message from data buffer storage according to message information, what is read first is exactly corresponding logical Then the CAS field stored in the address space of road mark according to the content of message request, identifies another from corresponding channel Address space is successively read the message of corresponding sequence number.Finally, after reading a complete multi-frame, according to time division multiplex network The multi-frame signaling format of side, recovers the business for carrying CAS field.Alternatively, if CAS field is not carried, according to report Literary information is successively read the message of corresponding sequence number from data buffer storage, and restores according to the scheme of the prior art.
Specifically, side manager is read according to the message request of external time division multiplex network, firstly, access write-in side pipe reason Device inquires the label situation of the corresponding message information wherein stored, if label is correct, according to message information from data buffer storage The message to match with the message request is read, and is sent to time division multiplex network;If marked erroneous, no longer need to from data Message is read in caching, directly sends fixed filling to time division multiplex network according to message length.In fact, under normal circumstances, should Fixed filling is to read side manager convenient for the warning information of identification.
Preferably, in order to preferably cooperate write-in side manager write operation, the readout further include: read The current processing information for itself reading message of side manager real-time informing write-in side manager and time division multiplex network side out Channel status.Program cooperation write-in side manager allows to read the scheme of side manager accesses, thus, guarantee write-in side pipe reason Device understands mutually the channel status and Message processing situation in each channel that other side connect with side manager is read, and grasps work as in real time The accurate status of prepass and the transmission process state of message.
Preferably, in order to accurately be managed each channel inside the jitter cache processing unit, said write mistake Journey further include: multiplexing restorer passes through the channel status in each channel in write-in side manager real-time query packet switching network, and Control is latched or resetted to respective channel according to query result;Meanwhile the readout further include: multiplexing restorer is logical Cross read side manager real-time query time division multiplex network in channel channel status, and according to query result to respective channel into Row latches or resets control.With this solution, the monitoring for realizing to write-in side manager and reading side manager, by dividing Side manager Cha Xun not be written and read the channel status and Message processing situation of side manager, on the one hand, solve pair On the other hand the support of multiple requests is realized while being monitored to internal processing state, guarantee to find and locate in time Channel failure is managed, thus, improve the accuracy and stability of jitter cache processing.
Based on the same technical idea, the embodiment of the present invention also provides a kind of jitter cache processing unit, as shown in figure 5, For the schematic diagram of internal structure of the jitter cache processing unit, it has been observed that the device mainly includes write-in side manager 21, reading Side manager 22 and data buffer storage 23.Wherein,
Write-in side manager 21 specifically includes:
First receiving unit 211, the message information that carries for receiving that any channel in packet switching network sends Message.Wherein, the message information includes at least: gap marker and the sequence number for characterizing the message transmissions sequence.
Preferably, in message information further include: frame identification;Thus, whether first processing units 212 are judging the message Before effectively, it is also used to according to frame identification in message and default message length, to the communication shape in the channel of currently transmitted message State is detected.
First processing units 212, whether the message for judging that the first receiving unit 211 receives is effective, and The message is abandoned when judging invalid;And further judge when judging effective the sequence number of the message with it is stored Whether the difference of the sequence number of the last message in the channel is greater than default amplification threshold value, and loses when the judgment result is yes The message is abandoned, and, it is when the judgment result is No that the sequence number of message described in the list of sequence numbers of itself storage is corresponding Flag update be correct, and by the packet storage into data buffer storage, and further judge that the sequence number of the message is It is no sequentially, if sequentially, not dealing with, otherwise, so that being located at the sequence number and the last message of the message Sequence number between the label of each sequence number be.
Preferably, for the message for carrying CAS field, first processing units 212 are specifically by the payload and CAS in message Field separation stores into data buffer storage different address corresponding with the gap marker of message space.
Side manager 22 is read to specifically include:
Second receiving unit 221, for receiving the message request of time division multiplex network, wherein taken in the message request With gap marker and sequence number.
The second processing unit 222, for inquiring same sequence number in the manager of said write side according to the message request Label at position is read storing in the data buffer storage with the message request phase if inquiring labeled as correct The message matched, and it is sent to the time division multiplex network;If inquiring labeled as mistake, directly to the time division multiplex network Send the message of filling fix information.
Preferably, for the message for carrying CAS field, the second processing unit 222 is with specific reference in the message request The gap marker of carrying, inquires whether address space corresponding with the gap marker in the data buffer storage has been stored with CAS field;If query result be it is yes, successively directly read storage CAS field and corresponding payload;If query result is It is no, then it waits, until inquiring CAS field.
Preferably, side manager 22 is read further include:
Notification unit, for real-time informing write-in side manager 21 current processing information and the time-division for itself reading message The channel status of multiplexed network side.
Preferably, as shown in fig. 6, the jitter cache processing unit further include:
It is multiplexed restorer 24, it is each in write-in 21 inquiry packets exchange network of side manager for passing through in message writing process The channel status in channel, and control is latched or resetted to respective channel according to query result;And for being read in message Process inquires the channel status in channel in time division multiplex network by reading side manager 22, and according to query result to corresponding logical Latched or resetted control in road.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of jitter cache processing method, which is characterized in that be transmitted to the time-division by packet switching network PSN suitable for message and answer With the control process of network TDM, the method includes the writing process of message and the readouts of message, in which:
The writing process of message the following steps are included:
Side manager is written and receives the message for carrying message information that any channel is sent in packet switching network, wherein institute It states message information to include at least: gap marker and the sequence number for characterizing the message transmissions sequence;
Write-in side manager judges whether the message is effective;
If invalid, the message is abandoned;
If effectively, further judging the sequence of the sequence number of the message and the last message in the stored channel Number difference whether be greater than default amplification threshold value:
If so, abandoning the message;
If it is not, be correct by the corresponding flag update of sequence number of message described in the list of sequence numbers of itself storage, and by institute Packet storage is stated into data buffer storage;And whether sequentially further judge the sequence number of the message, if sequentially, It does not deal with;Otherwise, so that being located at each sequence number between the sequence number of the message and the sequence number of the last message Label be;
The readout of message includes:
Read the message request that side manager receives time division multiplex network, wherein carry gap marker in the message request And sequence number;
Reading side manager inquires the label in the manager of said write side at same sequence number position according to the message request, If inquiring labeled as correctly, the message to match with the message request stored in the data buffer storage is read, concurrently It send to the time division multiplex network;If inquiring labeled as mistake, filling directly is sent to the time division multiplex network and is fixed The message of information.
2. the method as described in claim 1, which is characterized in that by the packet storage into data buffer storage, specifically include:
Payload in the message is separated into the gap marker stored into data buffer storage with the message with channel associated signalling CAS field Corresponding different address space.
3. method according to claim 2, which is characterized in that read being stored in the data buffer storage with the message request The message to match, specifically includes:
According to the gap marker carried in the message request, inquire corresponding with the gap marker in the data buffer storage Whether address space has been stored with CAS field;
If query result be it is yes, successively directly read storage CAS field and corresponding payload;
If query result be it is no, wait, until inquiring CAS field.
4. method as claimed in claim 3, which is characterized in that in the message information further include: frame identification;
After write-in side manager receives message, before judging whether the message is effective, said write process further include:
According to frame identification in the message and default message length, the communications status in the channel of currently transmitted message is examined It surveys.
5. the method as described in claim 1, which is characterized in that the readout further include:
Read the current processing information for itself reading message of side manager real-time informing write-in side manager and time division multiplexing net The channel status of network side.
6. the method as described in claim 1, which is characterized in that
Said write process further include: multiplexing restorer passes through each channel in write-in side manager real-time query packet switching network Channel status, and control is latched or resetted to respective channel according to query result;
The readout further include: multiplexing restorer is by reading channel in side manager real-time query time division multiplex network Channel status, and control is latched or resetted to respective channel according to query result.
7. a kind of jitter cache processing unit, which is characterized in that be transmitted to the time-division by packet switching network PSN suitable for message and answer With the control process of network TDM, described device includes: write-in side manager and reading side manager;Wherein:
Said write side pipe manages implement body
First receiving unit, for receiving the message for carrying message information that any channel is sent in packet switching network, In, the message information includes at least: gap marker and the sequence number for characterizing the message transmissions sequence;
First processing units, it is whether effective for judging the message, and the message is abandoned when judging invalid;And The sequence number of the sequence number of the message and the last message in the stored channel is further judged when judging effective Difference whether be greater than default amplification threshold value, and abandon the message when the judgment result is yes, and, be no in judging result When by the corresponding flag update of sequence number of message described in the list of sequence numbers of itself storage be correct, and the message is deposited Whether sequentially storage further judges the sequence number of the message into data buffer storage, if sequentially, not making to locate Reason, otherwise, so that the label for each sequence number being located between the sequence number of the message and the sequence number of the last message For mistake;
The reading side pipe manages implement body
Second receiving unit, for receiving the message request of time division multiplex network, wherein carry channel in the message request Mark and sequence number;
The second processing unit, for being inquired in the manager of said write side at same sequence number position according to the message request Label reads the message to match with the message request stored in the data buffer storage if inquiring labeled as correctly, And it is sent to the time division multiplex network;If inquiring labeled as mistake, directly sends and fill to the time division multiplex network The message of fix information.
8. device as claimed in claim 7, which is characterized in that the first processing units are by the packet storage to data When in caching, it is specifically used for:
Payload in effective message is separated to store into data buffer storage with channel associated signalling CAS field and is marked with the channel of the message Sensible corresponding different address space.
9. device as claimed in claim 8, which is characterized in that described the second processing unit is deposited in reading the data buffer storage When the message of storage to match with the message request, it is specifically used for:
According to the gap marker carried in the message request, inquire corresponding with the gap marker in the data buffer storage Whether address space has been stored with CAS field;
If query result be it is yes, successively directly read storage CAS field and corresponding payload;
If query result be it is no, wait, until inquiring CAS field.
10. device as claimed in claim 9, which is characterized in that in the message information further include: frame identification;
The first processing units are also used to before judging whether the message is effective:
According to frame identification in the message and default message length, the communications status in the channel of currently transmitted message is examined It surveys.
11. device as claimed in claim 7, which is characterized in that reading side manager further include:
Notification unit, for the current processing information and time division multiplex network for itself reading message of real-time informing write-in side device The channel status of side.
12. device as claimed in claim 7, which is characterized in that further include:
It is multiplexed restorer, for passing through each channel in write-in side manager real-time query packet switching network in message writing process Channel status, and control is latched or resetted to respective channel according to query result;And
For the channel status in message readout by channel in reading side manager real-time query time division multiplex network, and Control is latched or resetted to respective channel according to query result.
CN201511024678.4A 2015-12-30 2015-12-30 A kind of jitter cache processing method and processing device Active CN105634988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511024678.4A CN105634988B (en) 2015-12-30 2015-12-30 A kind of jitter cache processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511024678.4A CN105634988B (en) 2015-12-30 2015-12-30 A kind of jitter cache processing method and processing device

Publications (2)

Publication Number Publication Date
CN105634988A CN105634988A (en) 2016-06-01
CN105634988B true CN105634988B (en) 2019-06-04

Family

ID=56049501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511024678.4A Active CN105634988B (en) 2015-12-30 2015-12-30 A kind of jitter cache processing method and processing device

Country Status (1)

Country Link
CN (1) CN105634988B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776374B (en) * 2017-01-23 2021-04-13 中核控制系统工程有限公司 Efficient data buffering method based on FPGA

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463125A (en) * 2002-05-28 2003-12-24 华为技术有限公司 Large capacity realtime stream processing method for removing dithering in using buffer memory
CN101707786A (en) * 2009-11-26 2010-05-12 武汉虹信通信技术有限责任公司 Multilink video packet receiving and playing method based on public mobile communication
CN102377678A (en) * 2011-11-28 2012-03-14 瑞斯康达科技发展股份有限公司 Data transmission and processing method and device
CN104410483A (en) * 2014-12-12 2015-03-11 成都朗锐芯科技发展有限公司 Received packet sorting and null packet processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100411446B1 (en) * 2001-12-24 2003-12-18 엘지전자 주식회사 Method of Controlling Type 3 Packet in the AAL2 Signaling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463125A (en) * 2002-05-28 2003-12-24 华为技术有限公司 Large capacity realtime stream processing method for removing dithering in using buffer memory
CN101707786A (en) * 2009-11-26 2010-05-12 武汉虹信通信技术有限责任公司 Multilink video packet receiving and playing method based on public mobile communication
CN102377678A (en) * 2011-11-28 2012-03-14 瑞斯康达科技发展股份有限公司 Data transmission and processing method and device
CN104410483A (en) * 2014-12-12 2015-03-11 成都朗锐芯科技发展有限公司 Received packet sorting and null packet processing system

Also Published As

Publication number Publication date
CN105634988A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
KR102112487B1 (en) Data transmission methods, devices and systems
JP7274516B2 (en) Method, device and system for forwarding packets in hybrid networks
KR20130140932A (en) Network path computing apparatus, contents requesting node, relay node and information centric network system comprising the same, and method for computing network path using the network system
US9749239B2 (en) Transparent Rbridge
US20180324640A1 (en) Vehicle-Mounted Gateway Device, Electronic Control Device, and Vehicle-Mounted Network System
CN112825510A (en) Method and device for updating mapping relation
CN113557696B (en) Routing FlexE data in a network
CN109196842B (en) Session keeping method, device and storage medium
CN109361600A (en) A kind of method and apparatus of to acquisite approachs mark
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN102821082A (en) Data transmission method, device and system
CN103825841B (en) A kind of Ethernet packet sorting method and device
EP2615787A1 (en) Frame concatenation device
CN102457441B (en) PSN (Packet Switched Network) data packet processing method and device
US11870687B2 (en) Method and device for sending data packets over an IP/MPLS network
CN105634988B (en) A kind of jitter cache processing method and processing device
KR102309444B1 (en) Data encapsulation, transmission methods, devices and computer storage media
CN102404152B (en) Method and equipment for identifying response messages
CN105763375A (en) Data packet transmission method, receiving method and microwave station
CN110417707A (en) Data send guard method, device, system and computer readable storage medium
KR101566139B1 (en) Pseudowire extended group messaging in a packet switched network
CN105763659A (en) IPv6 tunneling packet encapsulation method and system
CN111416690A (en) Train redundant network communication system and method based on Ethernet
CN109600247A (en) Train topological management method and system
CN102835127B (en) The sending, receiving method of OTN expense and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

GR01 Patent grant
GR01 Patent grant