CN106911715B - A kind of communication control unit and communication control method separating Read-write Catrol - Google Patents

A kind of communication control unit and communication control method separating Read-write Catrol Download PDF

Info

Publication number
CN106911715B
CN106911715B CN201710217874.6A CN201710217874A CN106911715B CN 106911715 B CN106911715 B CN 106911715B CN 201710217874 A CN201710217874 A CN 201710217874A CN 106911715 B CN106911715 B CN 106911715B
Authority
CN
China
Prior art keywords
signaling
response
letter
module
payload
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
CN201710217874.6A
Other languages
Chinese (zh)
Other versions
CN106911715A (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.)
XINGTANG COMMUNICATIONS CO Ltd
Data Communication Institute Of Science And Technology
Original Assignee
XINGTANG COMMUNICATIONS CO Ltd
Data Communication Institute Of Science And Technology
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 XINGTANG COMMUNICATIONS CO Ltd, Data Communication Institute Of Science And Technology filed Critical XINGTANG COMMUNICATIONS CO Ltd
Priority to CN201710217874.6A priority Critical patent/CN106911715B/en
Publication of CN106911715A publication Critical patent/CN106911715A/en
Application granted granted Critical
Publication of CN106911715B publication Critical patent/CN106911715B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • G06F5/10Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory

Abstract

The present invention relates to a kind of communication control unit and communication control methods, comprising: signaling message parsing module extracts signaling number and signaling payload for parsing to signaling message;Signaling address decoding module, for distinguishing read/write signaling, row address of going forward side by side decoding;Write letter order caching RAM, provides payload for reception and stored payload and address, and to outside;It writes letter and enables execution module, for executing write operation;Response payload extraction module is read, for reading payload, and is sent to response buffer RAM;Response buffer RAM reads response write address and payload for receiving and storing, and integrates module output to response message;Response message integrates module, for integrating the response number received and payload data.The present invention can improve transmission processing speed, reduce the coupling of receiving path and transmission path, and the processing mode of signaling is more flexible;The parallel processing capability of instruction can also be improved, and then improves the efficiency of entire instruction execution.

Description

A kind of communication control unit and communication control method separating Read-write Catrol
Technical field
The present invention relates to field of communication technology more particularly to a kind of communication control unit for separating Read-write Catrol and communications Control method.
Background technique
Under normal conditions, the data packet of data link layer is more, and signaling packet is less.Wherein, data packet is chiefly used in carrying IP Layer and above each layer media information, and signaling packet is mainly used for carrying the control information of link layer.
Under the SOPC processing framework of CPU+FPGA, when the layered shaping for carrying out network processes divides, FPGA is (programmable Logic gate array) message of segment message and data link layer in IP layers can be handled, the message of remaining level is responsible for solution by CPU Analysis.Since general processor (such as RAM, DSP) can be more complicated in the signaling message parsing and encapsulation for carry out data link layer, Insensitive to requirement of real-time, processing speed is very limited.If using dedicated network processes chip, although processing speed is quickly, But in the change of demand and Function Extension, longer R&D cycle and higher cost will lead to, exploitation maintenance difficulties are very Greatly.In actual use, it is being counted using programmable logic device FPGA due to FPGA concurrency and programmable feature , can be relatively easy in parsing and processing according to link layer packet, and treatment effeciency is higher.
It is to utilize a kind of data FIFO (the advanced elder generation in the inside FPGA in most cases currently, handling signaling message in FPGA IP kernel out) as caching (Fig. 1), by state machine or other sequential logics carry out condition judgement in the way of carry out.But it is this Processing mode is primarily present the problem of the following aspects: first, excessive FIFO caching can guarantee transmission and the sound of signaling The reception answered is realized according to protocol sequence, but resources occupation rate is high;Second, when function changes and increases and delete instruction, Alterability and scalability are very poor;Third, since the payload for reading signaling does not need to extract and process, when instruction payload stores not Need to store the payload of reading instruction, it is only necessary to obtain the signaling number for reading signaling, the prior art is using an execution and processing module Mode, be not easy to the processing of SRAM (Static Random Access Memory) framework, and affect entire instruction execution Efficiency.
In view of the above-mentioned problems, being stored using RAM the object of the present invention is to provide a kind of and being separated Read-write Catrol Communication control unit and communication control method, with solution, software design is not flexible in the prior art, alterability and scalability Difference, the low problem of instruction execution efficiency.
Summary of the invention
In view of above-mentioned analysis, the present invention is intended to provide a kind of communication control unit for separating Read-write Catrol and communication control Method processed, alterability and poor expandability not flexible to solve software design in the prior art, instruction execution efficiency are low Problem.
The purpose of the present invention is mainly achieved through the following technical solutions:
The present invention provides a kind of communication control unit, specifically includes:
Communication control unit characterized by comprising signaling message parsing module, write letter order caching RAM, signaling address Decoding module, writing letter enables execution module, response buffer RAM, reading response payload extraction module and response message integrate module;
Signaling message parsing module, for being parsed to the signaling message received, extract signaling number and writing letter enable it is net Lotus, and it is forwarded to signaling address decoding module respectively and the order caching RAM that writes letter;
Signaling address decoding module carries out address decoding to signaling number for receiving signaling number;A number progress is enabled for writing letter After address decoding, obtain the write letter write address and read address of order, and export order of writing letter write address and read address to write letter enable it is slow Deposit RAM;After reading signaling number progress address decoding, obtains and read the response number of signaling, reads response write address, read requests, and Response message is separately sent to integrate module, response buffer RAM, read response payload extraction module;
Write letter order caching RAM, for receive and storage write letter enable payload, writing letter enables write address and read address, and to writing letter Execution module is enabled to provide payload;
It writes letter and enables execution module, enable payload and address for receiving to write letter, and execute write operation;
Response payload extraction module is read, the read requests for exporting according to signaling address decoding module read and read signaling It is required that payload, and send response buffer RAM for payload;
Response buffer RAM reads response write address and payload for receiving and storing, and integrates module output to response message Payload;
Response message integrates module, for integrating the response number received and payload, obtains final response report Text.
Further, the communication control unit further includes receiving diverter module and transmission convergence module;
Receive diverter module, for receiving signaling message, parse the type of message of signaling message, if type of message meet it is logical Believe that the signaling message of control unit receives type, then signaling message is transmitted to signaling message parsing module;
Convergence module is sent, for response message will to be sent.
Further, communication control unit further includes signaling FIFO, signaling payload FIFO, response FIFO;
The signaling FIFO is arranged between signaling message parsing module and signaling address decoding module, signaling message solution Analyse module extract signaling message signaling number after, be sent in signaling FIFO and cached, signaling address decoding module again from Signaling number is obtained in signaling FIFO;
The signaling payload FIFO setting is between signaling message parsing module and the order caching RAM that writes letter, signaling message solution Analyse module extract signaling message signaling payload after, be sent in signaling payload FIFO and cached, write letter order caching RAM again from Signaling payload is obtained in signaling payload FIFO;
The response FIFO setting is integrated between module in signaling address decoding module and response message, and signaling address is translated Code module output response number arrives response FIFO, and response message integrates module and obtains response number from response FIFO again.
Preferably, signaling address decoding module includes writing letter to enable address decoding module and reading signaling address decoding module,
Described write letter enables address decoding module carry out address decoding for order number of writing letter, and obtains write address and the reading of order of writing letter Address is then output to the order caching RAM that writes letter;
The reading signaling address decoding module carries out address decoding for signaling number is read, and obtains and reads the response number of signaling, reads Write address, read requests are responded, and is separately sent to response message and integrates module, response buffer RAM, reads response payload extraction mould Block.
It further comprise writing letter to enable address decoding module and reading signaling address decoding module in signaling address decoding module In the case of:
Communication control unit specifically includes signaling payload FIFO, the order FIFO that writes letter, reads signaling FIFO;
The signaling payload FIFO setting is between signaling message parsing module and the order caching RAM that writes letter, signaling message solution Analyse module extract signaling message signaling payload after, be sent in signaling payload FIFO and cached, write letter order caching RAM again from Signaling payload is obtained in signaling payload FIFO;
The order FIFO setting of writing letter enables between address decoding module in signaling message parsing module and writing letter, signaling report After literary parsing module extracts the signaling number of signaling message, the order number that will write letter, which is sent in the order FIFO that writes letter, to be cached, and is write letter Address decoding module is enabled to obtain order number of writing letter from the order FIFO that writes letter again;
The reading signaling FIFO setting is in signaling message parsing module and reads between signaling address decoding module, signaling report After literary parsing module extracts the signaling number of signaling message, sends reading signaling number to and read to cache in signaling FIFO, read letter It enables address decoding module obtain from reading signaling FIFO again and reads signaling number.
Preferably, it writes letter in the communication control unit and enables address decoding module also to reading signaling address decoding module output It writes and locks address, read signaling address decoding module according to latching address is write, judge whether that needing to postpone the regular hour goes to hold again Row read requests.
The present invention also provides a kind of methods for carrying out communication control using communication control unit, comprising: for reading signaling Communication control and communication control for order of writing letter;
For the communication control for reading signaling, comprising steps of
Signaling message parsing module parses signaling message, extracts and reads signaling number, and is sent to signaling FIFO It is cached;
Signaling address decoding module is obtained from signaling FIFO reads signaling number, carries out address decoding for signaling number is read, It obtains and reads the response number of signaling, read response write address, read requests, response number and the write address for reading response are separately sent to respond Number FIFO and response buffer RAM, and reading response payload extraction module is sent by read requests;
Response buffer RAM receives and stores the payload that reading response payload extraction module sends over and signaling address is translated The reading response write address that code module sends over, and send response message for the payload for reading signaling request and integrate module;
Response message integrates module, obtains response number and response payload respectively from response FIFO and response buffer RAM, Response number and response payload data are integrated, final response message is obtained;
For the communication control for order of writing letter, comprising steps of
Signaling message parsing module parses signaling message, extracts write letter order number and signaling payload, and send out respectively It is sent to signaling FIFO and signaling payload FIFO is cached;
Signaling address decoding module obtains order number of writing letter from signaling FIFO, enables a number progress address decoding for writing letter, Send the read address for order of writing letter and write address to the order caching RAM that writes letter;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, writes from the acquisition of signaling address decoding module The write address and read address of signaling, and store to write letter and enable payload, the write address for order of writing letter and read address;
It writes letter and execution module is enabled to obtain payload and address from writing letter to enable in caching RAM, and execute write operation.
The present invention also provides a kind of methods of communication control, comprising: for the communication control for reading signaling and for writing letter The communication control of order;
For the communication control for reading signaling, comprising steps of
Signaling message parsing module parses signaling message, extracts and reads signaling number, and is sent to and reads signaling number FIFO is cached;
It reads signaling address decoding module and receives the reading signaling number that reading signaling FIFO is sended over, solved to signaling number is read Analysis and address decoding, parse response number, read response write address, read requests, and be separately sent to response message integrate module, Response buffer RAM, response payload extraction module;
It responds payload extraction module and receives read requests, read payload, and be sent to response buffer RAM;
Payload is written response buffer RAM according to response write address is read, and sends response for payload by response buffer RAM Message integrates module;
Response message integrates module, from read to obtain respectively in signaling address decoding module and response buffer RAM response number and Response number and response payload data are integrated, obtain final response message by payload;
For the communication control for order of writing letter, comprising steps of
Signaling message parsing module parses signaling message, extracts write letter order number and signaling payload, and send out respectively The order FIFO and signaling payload FIFO that writes letter is sent to be cached;
It writes letter and address decoding module is enabled to obtain order number of writing letter from the order FIFO that writes letter, the order number of writing letter received is carried out Address decoding sends the read address for the order of writing letter that solution translates and write address to the order caching RAM that writes letter;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, enables address decoding module obtain from writing letter Write letter the write address and read address of order, and stores to write letter and enable payload, the write address for order of writing letter and read address, is sought with facilitating Location;
It writes letter and execution module is enabled to obtain payload and address from writing letter to enable in caching RAM, and execute write operation.
Preferably, signaling address is write in the communication control method for reading signaling, reading signaling address decoding module is also received What decoding module sended over writes latching address, locks address according to writing, judges whether that need to postpone the regular hour exports again Read requests;
For in the communication control method for order of writing letter, write letter enable address decoding module further include to read signaling address decoding mould The step of lockking address, is write in block output.
The present invention has the beneficial effect that:
The communication control unit and communication control method that the present invention provides a kind of to separate Read-write Catrol, using two The form of RAM realizes addressing, so that sending and receiving processing speed faster, while reducing the coupling of receiving path and transmission path Conjunction property, the processing mode of signaling is more flexible, convenient for the extension and upgrading of instruction;It is separated in addition, execution will be write and read response, energy The parallel processing capability for improving instruction, greatly improves the efficiency of entire instruction execution.
Other features and advantages of the present invention will illustrate in the following description, also, partial become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
Attached drawing is only used for showing the purpose of specific embodiment, and is not to be construed as limiting the invention, in entire attached drawing In, identical reference symbol indicates identical component.
Fig. 1 is the communication control unit design architecture for utilizing FIFO caching process signaling message in the prior art;
Fig. 2 is the address for including and data content schematic diagram in each signaling message;
Fig. 3 is to retain the communication control unit design architecture for writing letter and payload being enabled to cache;
Fig. 4 does not have the design architecture of coupling between write command and reading instruction;
Fig. 5 has the design architecture of coupling between write command and reading instruction.
Specific embodiment
Specifically describing the preferred embodiment of the present invention with reference to the accompanying drawing, wherein attached drawing constitutes the application a part, and Together with embodiments of the present invention for illustrating the principle of the present invention.
It is regular length in all signaling messages of data link layer, different signaling types is distinguished by signaling number.Specifically Function indicated by signaling payload.
If regarding communication control unit as untrusted location, reception writes signaling message and does not need to be sent out response message.And It reads signaling message and needs to be provided out reading result, it is therefore desirable to send response message.
Write signaling message, read signaling message and response message as shown in Fig. 2, show the address for including in signaling message and Data content.It is worth noting that the payload for reading signaling is that no any available information is extractable.
First specific embodiment of the invention, discloses a kind of communication control unit, as shown in Figure 3.Due to reading signaling Payload does not need to extract and process, therefore does not need the payload of storage reading instruction, it is only necessary to obtain the signaling number for reading signaling.Therefore, In the present embodiment, using the design scheme for writing letter and payload being enabled to cache only is retained, execution will be write and read response separately, it in this way can be significantly Improve the efficiency of entire instruction execution.
Communication control unit, as shown in Figure 3, comprising:
Diverter module is received to parse the type of message for receiving signaling message for receiving signaling message;If should The signaling message that type of message meets communication control unit receives type, then signaling message is transmitted to signaling message parsing mould Block;If type of message on the contrary is not met, the signaling message received is detected whether in the range of type of message regulation, if Then signaling message is being forwarded, if it was not then the signaling message is all abandoned.
Specifically, in the case where the signaling message that type of message meets communication control unit receives type, by signaling report The subsequent byte that text removes type of message information is transmitted to signaling message parsing module.
Signaling message parsing module is parsed for docking the signaling message that contracture flow module forwards, and is extracted Signaling number and signaling payload, are forwarded to signaling payload FIFO and signaling FIFO for signaling payload and signaling number respectively.Wherein, believe It enables packet parsing module abandon the signaling message not in control communication unit analytical range, and generates corresponding standby signal.
Signaling FIFO and signaling payload FIFO is respectively used to the signaling number and signaling payload of storage signaling message.
Signaling address decoding module obtains signaling number from signaling FIFO, carries out address decoding according to signaling number;For Order number of writing letter carries out address decoding, obtains the write address and read address of order of writing letter, and export the write address and read address for order of writing letter Caching RAM is enabled to writing letter;Address decoding is carried out for signaling number is read, is obtained and is read the response number of signaling, read response write address, read Request, and be separately sent to response FIFO, response buffer RAM, read response payload extraction module.
Write letter order caching RAM, payload is provided for reception and stored payload and address, and to outside, convenient for order of writing letter Addressing and payload storage.Specifically, write letter enable caching RAM receive writing letter of translating of signaling address decoding module solution enable write address and Read address, and obtain to write letter from signaling payload FIFO and enable payload, and payload is read according to read address, and be sent to order of writing letter Execution module.
It writes letter and enables execution module, for receiving payload and address, and execute write operation.
Response FIFO for receiving the response number of the response message from the output of signaling address decoding module, and is stored The response number.
Response payload extraction module is read, the read requests for exporting according to signaling address decoding module read and read signaling It is required that payload, and send response buffer RAM for the payload of reading and store.
Response buffer RAM reads response write address and payload for receiving and storing, and reads data to outside, will read Data are sent to response message and integrate module.The setting of response buffer RAM is convenient for addressing and payload storage.
Response message integrates module, for obtaining response number from response FIFO, obtains payload number from response buffer RAM According to, will response number and payload data integrate, obtain final response message, and be sent to transmission convergence module.
Convergence module is sent, the response message that module is sent is integrated for receiving from response message, by other data Message and response message are first sent out according to arriving first, and the principle sequence sent out after arriving afterwards is sent.Preferably, it sends remaining in convergence module Spatial cache is stayed to be cached for the data message of other modules.
In the present embodiment, setting, which writes letter to enable, caches the separated mode of RAM and response buffer RAM, so that sending and receiving place It manages speed faster, while reducing the coupling of receiving path and transmission path;Execution will be write and read response and separated, can improve and refer to The parallel processing capability of order greatly improves the efficiency of entire instruction execution.
Second specific embodiment of the invention, disclose a kind of communication control unit using in the first specific embodiment into The method of row communication control, comprising: for the communication control for reading signaling and for the communication control for order of writing letter.
For the communication control for reading signaling, comprising steps of
It receives diverter module and receives signaling message, interpret type of message, the signaling report of signaling message reception type will be met Text is sent to signaling message parsing module;
Signaling message parsing module, parses signaling message, extracts signaling number, and be sent to signaling FIFO into Row caching;It does not need to read and handle signaling payload due to reading signaling message, does not need output here and read signaling payload;
Signaling address decoding module obtains signaling number from signaling FIFO, carries out address decoding for signaling number is read, obtains It must read the response number of signaling, read response write address, read requests, and be separately sent to response FIFO, response buffer RAM, read Respond payload extraction module;
Response buffer RAM receives and stores the payload that reading response payload extraction module sends over and signaling address is translated The reading response write address that code module sends over, and send response message for the payload for reading signaling request and integrate module;
Response message integrates module, obtains response number and response payload respectively from response FIFO and response buffer RAM, Response number and response payload data are integrated, obtain final response message, and be sent to transmission convergence module;
The response message for reading signaling is sent by transmission convergence module.
For the communication control for order of writing letter, comprising steps of
It receives diverter module and receives signaling message, interpret type of message, the signaling report of signaling message reception type will be met Text is sent to signaling message parsing module;
Signaling message parsing module parses signaling message, extracts signaling number and signaling payload, and send respectively It is cached to signaling FIFO and signaling payload FIFO;
Signaling address decoding module obtains signaling number from signaling FIFO, enables a number progress address decoding for writing letter, obtains Must write letter the write address and read address of order, and export the write address for order of writing letter and read address to order of writing letter caches RAM;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, writes from the acquisition of signaling address decoding module The write address and read address of signaling, and store to write letter and enable payload, the write address for order of writing letter and read address;
It writes letter and execution module is enabled to obtain payload and address from writing letter to enable in caching RAM, and execute write operation.
Third specific embodiment of the invention, discloses a kind of communication control unit, as shown in Figure 4.The communication control list Member is the improvement carried out on the basis of the first specific embodiment.It is that there is no couplings with signaling message is read for signaling message is write Design architecture when conjunction relationship.In this manner it is ensured that order of writing letter stores and executes storage, execution and the reading for not influencing to read signaling The transmission of response.
Communication control unit, as shown in Figure 4, comprising:
Diverter module is received to parse the type of message for receiving signaling message for receiving signaling message;If should The signaling message that type of message meets communication control unit receives type, then signaling message is transmitted to signaling message parsing mould Block;If type of message on the contrary is not met, the signaling message received is detected whether in the range of type of message regulation, if Then signaling message is being forwarded, if it was not then the signaling message is all abandoned.
Specifically, if type of message meet communication control unit signaling message receive type in the case where, by signaling report The subsequent byte that text removes type of message information is transmitted to signaling message parsing module.
Signaling message parsing module, the signaling message that docking contracture flow module forwards are parsed, are enabled for writing letter Signaling payload and signaling number are extracted, signaling payload FIFO is separately sent to and the order FIFO that writes letter is cached;For read signaling, It extracts and reads signaling number, be sent to reading signaling FIFO and cached.
Write letter order FIFO and signaling payload FIFO, is respectively used to signaling number and signaling payload that signaling message is write in storage.
It reads signaling FIFO and reads signaling number for storing.
It writes letter and enables address decoding module, enabled for obtaining the signaling number for order of writing letter from the order FIFO that writes letter, and to writing letter Signaling number carry out address decoding, solution translates to write letter and enables read address and write letter and enables write address, is sent to the order caching RAM that writes letter.
Write letter order caching RAM, enables payload for obtaining from signaling payload FIFO and storing to write letter, translates from signaling address is write Code module, which obtains and stores to write letter to enable read address and write letter, enables write address, and exports write-in payload and enable execution module to writing letter;It writes Signaling caches RAM stored payload and address, stores convenient for the addressing for order of writing letter and payload.
It writes letter and enables execution module, for receiving payload and address, execute the write operation for order of writing letter.
Signaling address decoding module is read, for obtaining the signaling number for reading signaling from reading signaling FIFO, and to reading signaling Signaling number carry out address decoding, by the response number parsed, read response write address, read requests and be separately sent to response message Integrate module, response buffer RAM, response payload extraction module.
Payload extraction module is responded, for according to read requests, reading the payload of signaling request, and by the payload of reading Response buffer RAM is sent to be stored.
Response buffer RAM reads response write address and payload for receiving and storing, and reads data to outside, will read Data are sent to response message and integrate module.The setting of response buffer RAM is convenient for addressing and payload storage.
Response message integrates module, for will respond number and payload data is integrated, obtains final response message, and It is sent to transmission convergence module.
Convergence module is sent, for first sending out other data messages and local response message according to arriving first, after arriving afterwards The principle sequence of hair is sent.Preferably, send convergence module in remain spatial cache for other modules data message into Row caching.
4th specific embodiment of the invention, disclose a kind of communication control unit using in third specific embodiment into The method of row communication control, comprising: for the communication control for reading signaling and for the communication control for order of writing letter.
For the communication control for reading signaling, comprising steps of
It receives diverter module and receives signaling message, interpret type of message, the signaling report of signaling message reception type will be met Text is sent to signaling message parsing module;
Signaling message parsing module parses signaling message, extracts signaling number for signaling is read, and be sent to reading Signaling FIFO is cached;
Read signaling address decoding module and receive to read the signaling number that sends over of signaling FIFO, to signaling number carry out parsing and Address decoding parses response number, reads response write address, read requests, and is separately sent to response message and integrates module, response Cache RAM, response payload extraction module;
It responds payload extraction module and receives read requests, read payload, and be sent to response buffer RAM;
Payload is written response buffer RAM according to response write address is read, and sends response for payload by response buffer RAM Message integrates module;
Response message integrates module, from read to obtain respectively in signaling address decoding module and response buffer RAM response number and Response number and response payload data are integrated, obtain final response message, and be sent to transmission convergence module by payload;
The response message for reading signaling is sent by transmission convergence module.
For the communication control for order of writing letter, comprising steps of
It receives diverter module and receives signaling message, interpret type of message, the signaling report of signaling message reception type will be met Text is sent to signaling message parsing module;
Signaling message parsing module parses signaling message, extracts signaling number and signaling payload for order of writing letter, And the order FIFO and signaling payload FIFO that is separately sent to write letter is cached;
It writes letter and address decoding module is enabled to obtain signaling number from the order FIFO that writes letter, address is carried out to the signaling number received Decoding sends the read address for the order of writing letter that solution translates and write address to the order caching RAM that writes letter;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, enables address decoding module obtain from writing letter Write letter the write address and read address of order, and stores to write letter and enable payload, the write address for order of writing letter and read address, is sought with facilitating Location;
It writes letter and execution module is enabled to obtain payload from writing letter to enable in caching RAM, and execute write operation.
5th specific embodiment of the invention, discloses a kind of communication control unit, as shown in Figure 5.Communication control unit It is the improvement carried out on the basis of third specific embodiment.The present embodiment for write letter order and read signaling there are when coupled relation The case where, it needs to lock the mechanism read using write address at this time.When the address in the write command and reading instruction that user sends is same When one address, the data in reading instruction to prevent user are the data before not updating.The present embodiment is translated writing signaling address The output write and lock address is increased between code module and reading signaling address decoding module.By reading signaling address decoding module according to It writes latching address and decides whether delay a period of time, then go data required for reading reading instruction.Method disclosed in the present embodiment The situation big suitable for high concurrent, request amount.
The concrete scheme of the present embodiment enables address decoding module and reading letter on the basis of third specific embodiment, writing letter It enables among address decoding module, increases one and enable address decoding module write lock to the transmission of signaling address decoding module is read from writing letter The output of residence location, the component of remaining communication control unit and the output of each component are identical as third specific embodiment.
Specifically, enabling address decoding module write latching address to the output of signaling address decoding module is read by writing letter, letter is read It enables address decoding module according to latching address is write, judges whether that needing to postpone the regular hour goes to execute read requests again.
6th specific embodiment of the invention, disclose a kind of communication control unit using in the 5th specific embodiment into The method of row communication control, comprising: for the communication control for reading signaling and for the communication control for order of writing letter.
Address decoding module is enabled in the communication control method for reading signaling, reading signaling address decoding module also receives to write letter Address is lockked in writing for sending over, and is lockked address according to writing, is judged whether that need to postpone the regular hour exports read requests again. It is identical as the 5th embodiment for other steps for the communication control method for reading signaling.
For in the communication control method for order of writing letter, write letter enable address decoding module further include to read signaling address decoding mould The step of lockking address, is write in block output.It is identical as the 5th embodiment for other steps of the communication control method for order of writing letter.
In conclusion the embodiment of the invention provides a kind of communication control unit for separating Read-write Catrol and communication control Method, the form that two RAM are all made of in communication control unit is realized, so that sending and receiving processing speed faster, is dropped simultaneously The low coupling of receiving path and transmission path, the processing mode of signaling is more flexible, convenient for the extension and upgrading of instruction;This Outside, execution will be write and read response and separated, the parallel processing capability of instruction can be improved, greatly improve the efficiency of entire instruction execution. The framework of coupled relation is not present, by design write command message and reading instruction message to guarantee storing and executing not for write command The storage for influencing reading instruction executes and reads the transmission of response;By design write command message and reading instruction message, there are coupled relations Framework, can preferably cope with the situation that address in write command and reading instruction is same address, be more suitable for high concurrent, ask The big situation of the amount of asking.
It will be understood by those skilled in the art that realizing all or part of the process of above-described embodiment method, meter can be passed through Calculation machine program is completed to instruct relevant hardware, and the program can be stored in computer readable storage medium.Wherein, institute Stating computer readable storage medium is disk, CD, read-only memory or random access memory etc..
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.

Claims (9)

1. a kind of communication control unit characterized by comprising signaling message parsing module, order of writing letter are with caching RAM, signaling Location decoding module, writing letter enables execution module, response buffer RAM, reading response payload extraction module and response message integrate module;
Signaling message parsing module extracts signaling number and writes letter and enable payload for parsing to the signaling message received, and It is forwarded to signaling address decoding module respectively and the order caching RAM that writes letter;
Signaling address decoding module, for receive signaling message parsing module forwarding the signaling number, to the signaling number into Row address decoding;After carrying out address decoding for order number of writing letter, the write address and read address of order of writing letter are obtained, and export order of writing letter Write address and read address to write letter enable caching RAM;After reading signaling number progress address decoding, the response for reading signaling is obtained Number, read response write address, read requests, and be separately sent to response message integrate module, response buffer RAM, read response payload Extraction module;
Write letter order caching RAM, enables payload, signaling address decoding for receiving and storing writing letter for signaling message parsing module forwarding The write address and read address of the order of writing letter of module output, and enable execution module offer write letter and enable payload to writing letter;
It writes letter and enables execution module, enable writing letter for caching RAM offer enable payload and address for receiving to write letter, and execute write operation;
Response payload extraction module is read, the read requests for exporting according to signaling address decoding module read and read signaling request Payload, and send response buffer RAM for the payload;
Response buffer RAM, for receiving and storing the reading response write address of signaling address decoding module transmission and read response payload The payload for the reading signaling request that extraction module is sent, and integrate module to response message and export the payload;
Response message integrates module, the response number of the reading signaling for will receive from signaling address decoding module and from response The payload of the reading signaling request received on caching RAM is integrated, and final response message is obtained.
2. communication control unit according to claim 1, which is characterized in that signaling address decoding module includes the order ground that writes letter Location decoding module and reading signaling address decoding module,
Described write letter enables address decoding module carry out address decoding for order number of writing letter, and obtains the write address for order of writing letter and reads ground Location is then output to the order caching RAM that writes letter;
The reading signaling address decoding module carries out address decoding for signaling number is read, and obtains and reads the response number of signaling, reads response Write address, read requests, and be separately sent to response message and integrate module, response buffer RAM, read response payload extraction module.
3. communication control unit according to claim 1 or 2, which is characterized in that the communication control unit further includes connecing Contracture flow module and transmission convergence module;
Diverter module is received, for receiving signaling message, the type of message of signaling message is parsed, if type of message meets communication control The signaling message of unit processed receives type, then signaling message is transmitted to signaling message parsing module;
Convergence module is sent, for response message will to be sent.
4. communication control unit according to claim 1, which is characterized in that the communication control unit further includes signaling number FIFO, signaling payload FIFO, response FIFO;
The signaling FIFO is arranged between signaling message parsing module and signaling address decoding module, and signaling message parses mould After block extracts the signaling number of signaling message, it is sent in signaling FIFO and is cached, signaling address decoding module is again from signaling Signaling number is obtained in number FIFO;
Between signaling message parsing module and the order caching RAM that writes letter, signaling message parses mould for the signaling payload FIFO setting It after block extracts the signaling payload of signaling message, is sent in signaling payload FIFO and is cached, the order caching RAM that writes letter is again from signaling Signaling payload is obtained in payload FIFO;
The response FIFO setting is integrated between module in signaling address decoding module and response message, and signaling address decodes mould Block output response number arrives response FIFO, and response message integrates module and obtains response number from response FIFO again.
5. communication control unit according to claim 2, which is characterized in that the communication control unit further includes that signaling is net Lotus FIFO, the order FIFO that writes letter, signaling FIFO is read;
Between signaling message parsing module and the order caching RAM that writes letter, signaling message parses mould for the signaling payload FIFO setting It after block extracts the signaling payload of signaling message, is sent in signaling payload FIFO and is cached, the order caching RAM that writes letter is again from signaling Signaling payload is obtained in payload FIFO;
The order FIFO setting of writing letter enables between address decoding module in signaling message parsing module and writing letter, signaling message solution After analysing the signaling number that module extracts signaling message, the order number that will write letter, which is sent in the order FIFO that writes letter, to be cached, and write letter order ground Location decoding module obtains order number of writing letter from the order FIFO that writes letter again;
The reading signaling FIFO setting is in signaling message parsing module and reads between signaling address decoding module, signaling message solution After analysing the signaling number that module extracts signaling message, sends reading signaling number to and read to cache in signaling FIFO, with reading signaling Location decoding module obtains from reading signaling FIFO read signaling number again.
6. communication control unit according to claim 2 or 5, which is characterized in that order of writing letter in the communication control unit Address decoding module also to read signaling address decoding module output write lock address, read signaling address decoding module according to write latching Address judges whether that needing to postpone the regular hour goes to execute read requests again.
7. a kind of method for carrying out communication control using communication control unit as claimed in claim 4 characterized by comprising For the communication control for reading signaling and for the communication control for order of writing letter;
For the communication control for reading signaling, comprising steps of
Signaling message parsing module, parses signaling message, extracts and reads signaling number, and is sent to signaling FIFO progress Caching;
Signaling address decoding module is obtained from signaling FIFO reads signaling number, carries out address decoding for signaling number is read, obtains It reads the response number of signaling, read response write address, read requests, response number and the write address for reading response are separately sent to response number FIFO and response buffer RAM, and reading response payload extraction module is sent by read requests;
Response buffer RAM, which is received and stored, reads payload and signaling address decoding module that response payload extraction module sends over The reading response write address sended over, and send response message for the payload for reading signaling request and integrate module;
Response message integrates module, obtains response number and response payload respectively from response FIFO and response buffer RAM, will ring The number of answering and response payload data are integrated, and final response message is obtained;
For the communication control for order of writing letter, comprising steps of
Signaling message parsing module parses signaling message, extracts to write letter and order number and writes letter and enable payload, and sends respectively It is cached to signaling FIFO and signaling payload FIFO;
Signaling address decoding module obtains order number of writing letter from signaling FIFO, enables a number progress address decoding for writing letter, will write The read address and write address of signaling are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, obtains order of writing letter from signaling address decoding module Write address and read address, and store and write letter and enable payload, the write address for order of writing letter and read address;
It writes letter and execution module is enabled to obtain payload and address from writing letter to enable in caching RAM, and execute write operation.
8. a kind of method that the communication control unit using described in claim 5 carries out communication control characterized by comprising For the communication control for reading signaling and for the communication control for order of writing letter;
For the communication control for reading signaling, comprising steps of
Signaling message parsing module parses signaling message, extract read signaling number, and be sent to read signaling FIFO into Row caching;
Read signaling address decoding module and receive to read the reading signaling number that sends over of signaling FIFO, to read signaling number carry out parsing and Address decoding parses response number, reads response write address, read requests, and is separately sent to response message and integrates module, response Cache RAM, response payload extraction module;
It responds payload extraction module and receives read requests, read payload, and be sent to response buffer RAM;
Payload is written response buffer RAM according to response write address is read, and sends response message for payload by response buffer RAM Integrate module;
Response message integrates module, obtains response number and payload respectively from reading signaling address decoding module and response buffer RAM, Response number and response payload data are integrated, final response message is obtained;
For the communication control for order of writing letter, comprising steps of
Signaling message parsing module parses signaling message, extracts write letter order number and signaling payload, and be separately sent to The order FIFO and signaling payload FIFO that writes letter is cached;
It writes letter and address decoding module is enabled to obtain order number of writing letter from the order FIFO that writes letter, address is carried out to the order number of writing letter received Decoding sends the read address for the order of writing letter that solution translates and write address to the order caching RAM that writes letter;
The order caching RAM that writes letter obtains to write letter from signaling payload FIFO enables payload, enables address decoding module acquisition write letter from writing letter The write address and read address of order, and store to write letter and enable payload, the write address for order of writing letter and read address, it is addressed with facilitating;
It writes letter and execution module is enabled to obtain payload and address from writing letter to enable in caching RAM, and execute write operation.
9. the method for communication control according to claim 8, which is characterized in that
Address decoding module is enabled to send in the communication control method for reading signaling, reading signaling address decoding module also receives to write letter Address is lockked in writing for coming over, and is lockked address according to writing, is judged whether that need to postpone the regular hour exports read requests again;
For in the communication control method for order of writing letter, write letter enable address decoding module further include to read signaling address decoding module it is defeated The step of lockking address is write out.
CN201710217874.6A 2017-04-05 2017-04-05 A kind of communication control unit and communication control method separating Read-write Catrol Active CN106911715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710217874.6A CN106911715B (en) 2017-04-05 2017-04-05 A kind of communication control unit and communication control method separating Read-write Catrol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710217874.6A CN106911715B (en) 2017-04-05 2017-04-05 A kind of communication control unit and communication control method separating Read-write Catrol

Publications (2)

Publication Number Publication Date
CN106911715A CN106911715A (en) 2017-06-30
CN106911715B true CN106911715B (en) 2019-07-19

Family

ID=59195557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710217874.6A Active CN106911715B (en) 2017-04-05 2017-04-05 A kind of communication control unit and communication control method separating Read-write Catrol

Country Status (1)

Country Link
CN (1) CN106911715B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466089A (en) * 2021-12-22 2022-05-10 天津光电通信技术有限公司 Method for realizing SDH signaling flow extraction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553672A (en) * 2003-06-02 2004-12-08 中兴通讯股份有限公司 Data packet multiplexing receiving controlled apparatus and data receiving method
CN102831090A (en) * 2012-05-07 2012-12-19 中国科学院空间科学与应用研究中心 Address line for space-borne DSP (Digital Signal Processor) and FPGA (Field Programmable Gate Array) communication interfaces and optimization method for address line
CN103814547A (en) * 2011-09-16 2014-05-21 思科技术公司 Generic control protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10303880B2 (en) * 2014-07-24 2019-05-28 Nuvoton Technology Corporation Security device having indirect access to external non-volatile memory
KR20160112135A (en) * 2015-03-18 2016-09-28 에스케이하이닉스 주식회사 Memory system and operating method of memory system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553672A (en) * 2003-06-02 2004-12-08 中兴通讯股份有限公司 Data packet multiplexing receiving controlled apparatus and data receiving method
CN103814547A (en) * 2011-09-16 2014-05-21 思科技术公司 Generic control protocol
CN102831090A (en) * 2012-05-07 2012-12-19 中国科学院空间科学与应用研究中心 Address line for space-borne DSP (Digital Signal Processor) and FPGA (Field Programmable Gate Array) communication interfaces and optimization method for address line

Also Published As

Publication number Publication date
CN106911715A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN102866971B (en) Device, the system and method for transmission data
US9444737B2 (en) Packet data processor in a communications processor architecture
CN102195874B (en) The preextraction of packet
CN111930676B (en) Method, device, system and storage medium for communication among multiple processors
CN103200128B (en) The methods, devices and systems that a kind of network packet processes
CN104572574B (en) Ethernet controller IP kernel and method based on gigabit Ethernet vision agreement
CN103077132B (en) A kind of cache handles method and protocol processor high-speed cache control module
CN112765054A (en) High-speed data acquisition system and method based on FPGA
CN110417780A (en) Customize the multi-channel high-speed data interface conversion module of Data Transport Protocol
CN109359729B (en) System and method for realizing data caching on FPGA
CN104866528A (en) Multi-platform data acquisition method and system
CN106686148A (en) Method and system for increasing uploading speed of objects in object storage system
CN103731364B (en) X86 platform based method for achieving trillion traffic rapid packaging
CN105933325A (en) Kernel mode RPC (Remote Procedure CALL) communication acceleration method based on NFSoRDMA (Network File System over Remote Direct Memory Access)
CN106911715B (en) A kind of communication control unit and communication control method separating Read-write Catrol
CN102629235A (en) Method for increasing read-write speed of double data rate (DDR) memory
CN103885900B (en) Data access processing method, PCIe device and user equipment
CN106982175B (en) A kind of communication control unit and communication control method based on RAM
US20090225767A1 (en) Network packet capturing method
CN103347023B (en) A kind of HDLC communication controller under industrial field environment
CN109246331A (en) A kind of method for processing video frequency and system
CN116016701A (en) Conversion method, controller and architecture of CAN bus and AUTBUS bus
CN111190840A (en) Multi-party central processing unit communication architecture based on field programmable gate array control
CN104407367B (en) Improve the apparatus and method of satellite navigation terminal receiver baseband signal disposal ability
CN113342724A (en) Data transmission method and device based on FPGA

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
GR01 Patent grant
GR01 Patent grant