CN106911715A - A kind of communication control unit and communication control method that Read-write Catrol is separate - Google Patents

A kind of communication control unit and communication control method that Read-write Catrol is separate Download PDF

Info

Publication number
CN106911715A
CN106911715A CN201710217874.6A CN201710217874A CN106911715A CN 106911715 A CN106911715 A CN 106911715A CN 201710217874 A CN201710217874 A CN 201710217874A CN 106911715 A CN106911715 A CN 106911715A
Authority
CN
China
Prior art keywords
signaling
response
letter
payload
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710217874.6A
Other languages
Chinese (zh)
Other versions
CN106911715B (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 method, including:Signaling message parsing module, for being parsed to signaling message, extracts signaling number and signaling payload;Signaling address decoding module, for distinguishing read/write signaling, row address of going forward side by side decoding;Write letter order caching RAM, for reception and stored payload and address, and provides payload to outside;Write letter and make performing module, for performing write operation;Read response payload extraction module, for reading payload, and be sent to response buffer RAM;Response buffer RAM, reads response write address and payload, and integrate module output to response message for receiving and storing;Response message integrates module, and response number and payload data for that will receive are integrated.The present invention can improve transmission processe 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 that whole instruction is performed.

Description

A kind of communication control unit and communication control method that Read-write Catrol is separate
Technical field
The present invention relates to communication technical field, more particularly to a kind of communication control unit that Read-write Catrol is separate and communication Control method.
Background technology
Under normal circumstances, the packet of data link layer is more, and signaling bag is less.Wherein, packet is used for carrying IP Layer and above each layer media information, and signaling bag is mainly used in carrying the control information of link layer.
Under the SOPC processing frameworks of CPU+FPGA, when the layered shaping for carrying out network processes is divided, FPGA is (programmable Logic gate array) message of segment message and data link layer in IP layers can be processed, the message of remaining level is responsible for solution by CPU Analysis.Because general processor (such as RAM, DSP) can be more complicated on the signaling message for carrying out data link layer is parsed and encapsulated, Insensitive to requirement of real-time, processing speed is very limited.If using special network processes chip, although processing speed quickly, But in change and the Function Extension of demand, R&D cycle and cost higher more long can be caused, exploitation maintenance difficulties are very Greatly.When actually used, using PLD FPGA, due to FPGA concurrencys and programmable feature, entering line number According in the parsing and treatment of link layer bag, energy is relatively easy, and treatment effeciency is higher.
At present, signaling message is processed in FPGA, is in most cases using a kind of data FIFO (the advanced elder generations in FPGA inside Go out IP kernel) used as caching (Fig. 1), the mode that utilization state machine or other sequential logics carry out condition judgment is carried out.But, it is this Processing mode is primarily present the problem of the following aspects:First, excessive FIFO cachings ensure that 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, because the payload of reading signaling need not be extracted and be processed, when instruction payload is stored not Need the payload of storage reading instruction, it is only necessary to obtain the signaling number for reading signaling, prior art is performed and processing module using one Mode, be not easy to the treatment of SRAM (Static Random Access Memory) framework, and have impact on whole instruction to perform Efficiency.
Regarding to the issue above, stored and Read-write Catrol is separate it is an object of the invention to provide a kind of use RAM Communication control unit and communication control method, with solve Software for Design in the prior art dumb, alterability and scalability Difference, the low problem of instruction execution efficiency.
The content of the invention
In view of above-mentioned analysis, the present invention is intended to provide a kind of communication control unit that Read-write Catrol is separate and communication are controlled Method processed, it is dumb to be used to solve Software for Design in the prior art, alterability and poor expandability, and instruction execution efficiency is 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, it is characterised in that including:Signaling message parsing module, order of writing letter cache RAM, signaling address Decoding module, write letter make performing module, response buffer RAM, read response payload extraction module and response message integrate module;
Signaling message parsing module, for being parsed to the signaling message for receiving, extracts signaling number and order of writing letter is net Lotus, and signaling address decoding module is forwarded to respectively and the order caching RAM that writes letter;
Signaling address decoding module, for receiving signaling number, address decoding is carried out to signaling number;For writing letter, order number is carried out After address decoding, obtain the write address of order of writing letter and read address, and it is slow to order of writing letter with reading address to export the write address of order of writing letter Deposit RAM;After carrying out address decoding for reading signaling number, obtain and read the response number of signaling, read 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 make payload, writing letter makes write address and reads address, and to writing letter Performing module is made to provide payload;
Write letter and make performing module, make payload and address for receiving to write letter, and perform write operation;
Read response payload extraction module, for the read requests exported according to signaling address decoding module, read and read signaling It is required that payload, and payload is sent to response buffer RAM;
Response buffer RAM, reads response write address and payload, and integrate module output to response message for receiving and storing Payload;
Response message integrates module, and response number and payload for that will receive are integrated, and obtain final response report Text.
Further, the communication control unit also includes receiving diverter module and sends convergence module;
Diverter module is received, for receiving signaling message, the type of message of signaling message is parsed, if type of message meets 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, is sent for just response message.
Further, communication control unit also 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 After analysis module extracts the signaling number of signaling message, be sent in signaling FIFO and cached, signaling address decoding module again from Signaling number is obtained in signaling FIFO;
The signaling payload FIFO be arranged on signaling message parsing module and write letter order caching RAM between, signaling message solution After analysis module extracts the signaling payload of signaling message, 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 is arranged between signaling address decoding module and response message integration module, and signaling address is translated Response FIFO is arrived in code module output response number, and response message integrates module and obtains response number from response FIFO again.
Preferably, signaling address decoding module includes writing letter and makes address decoding module and read signaling address decoding module,
Described writing letter makes the address decoding module number carry out address decoding for order of writing letter, acquisition write letter order write address and reading 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 Response write address, read requests, and be separately sent to response message integration module, response buffer RAM, read response payload extraction mould Block.
Further include to write letter in signaling address decoding module and make address decoding module with reading 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 be arranged on signaling message parsing module and write letter order caching RAM between, signaling message solution After analysis module extracts the signaling payload of signaling message, 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 that writes letter is arranged on signaling message parsing module and writing letter and makes between address decoding module, signaling report After literary parsing module extracts the signaling number of signaling message, the order number that will write letter is cached in being sent to the order FIFO that writes letter, and is write letter Address decoding module is made to obtain order number of writing letter from the order FIFO that writes letter again;
The reading signaling FIFO is arranged between signaling message parsing module and reading signaling address decoding module, signaling report After literary parsing module extracts the signaling number of signaling message, will read to be cached during signaling number is sent to reading signaling FIFO, read letter Make address decoding module be obtained from signaling FIFO is read again and read signaling number.
Preferably, write letter in the communication control unit and make address decoding module also be exported to reading signaling address decoding module Pinning address is write, reads signaling address decoding module according to pinning address is write, judge whether to need the delay regular hour to go to hold again Row read requests.
Present invention also offers a kind of method that use communication control unit carries out Control on Communication, including:For reading signaling Control on Communication and the Control on Communication for order of writing letter;
For the Control on Communication for reading signaling, including step:
Signaling message parsing module is parsed to signaling message, extracts reading signaling number, and be sent to signaling FIFO Cached;
Signaling address decoding module obtains reading signaling number from signaling FIFO, and address decoding is carried out for signaling number is read, Response number, reading response write address, the read requests for reading signaling are obtained, response number and the write address for reading to respond are separately sent to response Number FIFO and response buffer RAM, and read requests are sent to reading response payload extraction module;
Response buffer RAM is received and stored and reads the payload that sends over of response payload extraction module and signaling address is translated The reading response write address that code module is sended over, and the payload for reading signaling request is sent to response message integration 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 Control on Communication of order of writing letter, including step:
Signaling message parsing module is parsed to 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, and for writing letter, order number carries out address decoding, The reading address of order of writing letter and write address are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, is obtained from signaling address decoding module and write The write address of signaling and read address, and store to write letter and make payload, the write address of order of writing letter and read address;
Write letter and make performing module obtain payload and address from the order caching RAM that writes letter, and perform write operation.
Present invention also offers a kind of method of Control on Communication, including:For the Control on Communication for reading signaling and for writing letter The Control on Communication of order;
For the Control on Communication for reading signaling, including step:
Signaling message parsing module is parsed to signaling message, extracts reading signaling number, and be sent to reading signaling number FIFO is cached;
Read signaling address decoding module and receive the reading signaling number that reading signaling FIFO is sended over, solved to reading signaling number 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;
Response payload extraction module receives read requests, reads payload, and be sent to response buffer RAM;
Response buffer RAM, writes response buffer RAM, and payload is sent into response according to response write address is read by payload Message integrates module;
Response message integrates module, obtained respectively from signaling address decoding module and response buffer RAM is read response number and Payload, response number and response payload data are integrated, and obtain final response message;
For the Control on Communication of order of writing letter, including step:
Signaling message parsing module is parsed to 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;
Write letter and make address decoding module that order number of writing letter is obtained from the order FIFO that writes letter, the order number of writing letter to receiving is carried out Address decoding, the reading address of the order of writing letter that solution is translated and write address are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, makes address decoding module obtain from writing letter Write letter order write address and read address, and store write letter make payload, the write address of order of writing letter and read address, sought with facilitating Location;
Write letter and make performing module obtain payload and address from the order caching RAM that writes letter, and perform 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 was sended over writes pinning address, and address is pinned according to writing, and judges whether to need the delay regular hour to export again Read requests;
In for the communication control method of order of writing letter, write letter and make address decoding module also including to reading signaling address decoding mould The step of pinning address is write in block output.
The present invention has the beneficial effect that:
The invention provides a kind of communication control unit and communication control method that Read-write Catrol is separate, using two The form of RAM realizes addressing so that receive with transmission processe speed faster, while reducing the coupling of receiving path and transmission path Conjunction property, the processing mode of signaling is more flexible, is easy to the extension and upgrading of instruction;Additionally, execution will be write and read response separating, energy The parallel processing capability of instruction is improved, the efficiency that whole instruction is performed is greatly improved.
Other features and advantages of the present invention will be illustrated in the following description, also, the partial change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is only used for showing the purpose of specific embodiment, and is not considered as limitation of the present invention, in whole accompanying drawing In, identical reference symbol represents identical part.
Fig. 1 is communication control unit design architecture in the prior art using FIFO caching process signaling messages;
Fig. 2 is the address and data content schematic diagram included in each signaling message;
Fig. 3 is to retain the communication control unit design architecture for writing letter and making payload cache;
Fig. 4 is do not have the design architecture of coupling between write command and reading instruction;
Fig. 5 is the design architecture for having coupling between write command and reading instruction.
Specific embodiment
The preferred embodiments of the present invention are specifically described below in conjunction with the accompanying drawings, wherein, accompanying drawing constitutes the application part, and It is used to explain principle of the invention together with embodiments of the present invention.
It is regular length in all of signaling message of data link layer, different signaling types are distinguished by signaling number.Specifically Function represented by signaling payload.
If regarding communication control unit as untrusted location, signaling message is write in reception need not be sent out response message.And Reading signaling message 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 showing signaling message in the address that includes and Data content.It is worth noting that the payload for reading signaling is can extract without any available information.
First specific embodiment of the invention, discloses a kind of communication control unit, as shown in Figure 3.Due to reading signaling Payload need not be extracted and processed, therefore need not store the payload of reading instruction, it is only necessary to obtain the signaling number for reading signaling.Therefore, In the present embodiment, the design of payload caching is made using only retaining to write letter, execution and reading response will be write and separated, so can be significantly Improve the efficiency that whole instruction is performed.
Communication control unit, as shown in figure 3, including:
Diverter module is received, for receiving signaling message, the type of message to receiving signaling message is parsed;If should The signaling message that type of message meets communication control unit receives type, then signaling message is transmitted into signaling message parsing mould Block;If otherwise type of message does not meet, detecting the signaling message for receiving 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, and extract for docking the signaling message that contracture flow module is forwarded Signaling number and signaling payload, signaling payload FIFO and signaling FIFO are forwarded to by signaling payload and signaling number respectively.Wherein, believe Make packet parsing module abandon the signaling message not in control communication unit analytical range, and produce corresponding cue.
Signaling FIFO and signaling payload FIFO, is respectively used to store the signaling number and signaling payload of signaling message.
Signaling address decoding module, obtains signaling number from signaling FIFO, and address decoding is carried out according to signaling number;For Order number of writing letter carries out address decoding, obtains the write address of order of writing letter and reads address, and exports write address and the reading address of order of writing letter To the order caching RAM that writes 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, for reception and stored payload and address, and provides payload to outside, is easy to order of writing letter Addressing and payload storage.Specifically, the order caching RAM that writes letter receive writing letter of translating of signaling address decoding module solution make write address and Read address, and obtained from signaling payload FIFO and write letter and make payload, and payload is read according to address is read, and be sent to order of writing letter Performing module.
Write letter and make performing module, for receiving payload and address, and perform write operation.
Response FIFO, for receiving the response number of the response message from the output of signaling address decoding module, and stores The response number.
Read response payload extraction module, for the read requests exported according to signaling address decoding module, read and read signaling It is required that payload, and the payload of reading be sent to response buffer RAM stored.
Response buffer RAM, response write address and payload are read for receiving and storing, and read data to outside, will be read Data is activation integrates module to response message.The setting of response buffer RAM is easy to addressing and payload to store.
Response message integrates module, for obtaining response number from response FIFO, payload number is obtained from response buffer RAM According to, response number and payload data are integrated, final response message is obtained, and be sent to transmission convergence module.
Convergence module is sent, the response message that module sends 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 order sent out after arriving afterwards sends.Preferably, send remaining in convergence module Spatial cache is stayed to be cached for the data message of other modules.
In the present embodiment, setting is write letter and makes caching RAM and the separate modes of response buffer RAM so that at reception and transmission Speed is managed faster, while reducing the coupling of receiving path and transmission path;Execution will be write and read response and separated, and can improved and refer to The parallel processing capability of order, greatly improves the efficiency that whole instruction is performed.
Second specific embodiment of the invention, discloses a kind of communication control unit using in the first specific embodiment and enters The method of row Control on Communication, including:For the Control on Communication and the Control on Communication for order of writing letter of reading signaling.
For the Control on Communication for reading signaling, including step:
Receive diverter module and receive signaling message, interpret type of message, the signaling report that signaling message receives type will be met Text is sent to signaling message parsing module;
Signaling message parsing module, parses to signaling message, extracts signaling number, and be sent to signaling FIFO Row caching;Do not need to read and process signaling payload due to reading signaling message, reading signaling payload need not be exported here;
Signaling address decoding module obtains signaling number from signaling FIFO, and address decoding is carried out for signaling number is read, and obtains The response number of signaling must be read, read response write address, read requests, and be separately sent to response FIFO, response buffer RAM, read Response payload extraction module;
Response buffer RAM is received and stored and reads the payload that sends over of response payload extraction module and signaling address is translated The reading response write address that code module is sended over, and the payload for reading signaling request is sent to response message integration 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, and be sent to transmission convergence module;
The response message for reading signaling is sent by transmission convergence module.
For the Control on Communication of order of writing letter, including step:
Receive diverter module and receive signaling message, interpret type of message, the signaling report that signaling message receives type will be met Text is sent to signaling message parsing module;
Signaling message parsing module is parsed to signaling message, extracts signaling number and signaling payload, and send respectively Cached to signaling FIFO and signaling payload FIFO;
Signaling address decoding module obtains signaling number from signaling FIFO, and for writing letter, order number carries out address decoding, obtains Must write letter order write address and read address, and export write letter order write address and read address to write letter order cache RAM;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, is obtained from signaling address decoding module and write The write address of signaling and read address, and store to write letter and make payload, the write address of order of writing letter and read address;
Write letter and make performing module obtain payload and address from the order caching RAM that writes letter, and perform write operation.
3rd specific embodiment of the invention, discloses a kind of communication control unit, as shown in Figure 4.The Control on Communication list Unit is the improvement carried out on the basis of the first specific embodiment.It is directed to writes signaling message and reads signaling message in the absence of coupling Design architecture during conjunction relation.In this manner it is ensured that the storage of order of writing letter and execution do not influence to read the storage of signaling, perform and read The transmission of response.
Communication control unit, as shown in figure 4, including:
Diverter module is received, for receiving signaling message, the type of message to receiving signaling message is parsed;If should The signaling message that type of message meets communication control unit receives type, then signaling message is transmitted into signaling message parsing mould Block;If otherwise type of message does not meet, detecting the signaling message for receiving 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.
If specifically, type of message meet communication control unit signaling message receive type in the case of, 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 is forwarded is parsed, for order of 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 reading signaling, Extract and read signaling number, be sent to reading signaling FIFO and cached.
Write letter order FIFO and signaling payload FIFO, is respectively used to store the signaling number for writing signaling message and signaling payload.
Reading signaling FIFO is used to store reading signaling number.
Write letter and make address decoding module, the signaling number for obtaining order of writing letter from the order FIFO that writes letter, and to order of writing letter Signaling number carry out address decoding, solution translates order of writing letter and reads address and write letter to make write address, is sent to the order caching RAM that writes letter.
Write letter order caching RAM, and payload is made for obtaining and storing to write letter from signaling payload FIFO, is translated from signaling address is write Code module is obtained and stores order of writing letter to be read address and writes letter and make write address, and is exported write-in payload and made performing module to writing letter;Write Signaling caches RAM stored payloads and address, and the addressing of order of being easy to write letter and payload are stored.
Write letter and make performing module, for receiving payload and address, perform the write operation of order of writing letter.
Read signaling address decoding module, the signaling number of signaling is read for being obtained from signaling FIFO is read, and to reading signaling Signaling number carry out address decoding, the response number that will parse, read response write address, read requests and be separately sent to response message Integrate module, response buffer RAM, response payload extraction module.
Response payload extraction module, for according to read requests, reading the payload of signaling request, and the payload that will be read Response buffer RAM is sent to be stored.
Response buffer RAM, response write address and payload are read for receiving and storing, and read data to outside, will be read Data is activation integrates module to response message.The setting of response buffer RAM is easy to addressing and payload to store.
Response message integrates module, for response number and payload data to be integrated, obtains final response message, and It is sent to transmission convergence module.
Convergence module is sent, for other data messages and local response message first to be sent out according to arriving first, after arriving afterwards The principle order of hair sends.Preferably, remaining spatial cache in convergence module is sent to enter for the data message of other modules Row caching.
4th specific embodiment of the invention, discloses a kind of communication control unit using in the 3rd specific embodiment and enters The method of row Control on Communication, including:For the Control on Communication and the Control on Communication for order of writing letter of reading signaling.
For the Control on Communication for reading signaling, including step:
Receive diverter module and receive signaling message, interpret type of message, the signaling report that signaling message receives type will be met Text is sent to signaling message parsing module;
Signaling message parsing module is parsed to 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 signaling FIFO is sended over, signaling number is carried out parsing and Address decoding, parses response number, reads response write address, read requests, and be separately sent to response message integration module, response Caching RAM, response payload extraction module;
Response payload extraction module receives read requests, reads payload, and be sent to response buffer RAM;
Response buffer RAM, writes response buffer RAM, and payload is sent into response according to response write address is read by payload Message integrates module;
Response message integrates module, obtained respectively from signaling address decoding module and response buffer RAM is read response number and Payload, response number and response payload data are integrated, and 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 Control on Communication of order of writing letter, including step:
Receive diverter module and receive signaling message, interpret type of message, the signaling report that signaling message receives type will be met Text is sent to signaling message parsing module;
Signaling message parsing module is parsed to signaling message, and signaling number and signaling payload are extracted for order of writing letter, And the order FIFO and signaling payload FIFO that is separately sent to write letter is cached;
Write letter and make address decoding module that signaling number is obtained from the order FIFO that writes letter, the signaling number to receiving enters row address Decoding, the reading address of the order of writing letter that solution is translated and write address are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, makes address decoding module obtain from writing letter Write letter order write address and read address, and store write letter make payload, the write address of order of writing letter and read address, sought with facilitating Location;
Write letter and make performing module obtain payload from the order caching RAM that writes letter, and perform 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 the 3rd specific embodiment.When the present embodiment makes for writing letter and reading signaling there is coupled relation Situation, now need using write address pin read mechanism.When the address in the write command and reading instruction that user sends is same During one address, for the data in the reading instruction for preventing user are the data before not updating.The present embodiment is translated writing signaling address The output write and pin address is increased between code module and reading signaling address decoding module.By reading signaling address decoding module according to Pinning address is write to decide whether to postpone a period of time, then the data gone required for reading reading instruction.Method disclosed in the present embodiment Suitable for the big situation of high concurrent, request amount.
The concrete scheme of the present embodiment makes address decoding module and reading believe on the basis of the 3rd specific embodiment writing letter Make in the middle of address decoding module, increased one and make address decoding module write lock to the transmission of signaling address decoding module is read from writing letter The output of residence location, the part of remaining communication control unit and the output of each part are identical with the 3rd specific embodiment.
Specifically, making address decoding module write pinning address to the output of signaling address decoding module is read by writing letter, read letter Address decoding module is made according to pinning address is write, judges whether to need the delay regular hour to go to perform read requests again.
6th specific embodiment of the invention, discloses a kind of communication control unit using in the 5th specific embodiment and enters The method of row Control on Communication, including:For the Control on Communication and the Control on Communication for order of writing letter of reading signaling.
For in the communication control method for reading signaling, reading signaling address decoding module is also received to write letter and makes address decoding module What is sended over writes pinning address, and address is pinned according to writing, and judges whether to need the delay regular hour to export read requests again. Other steps for the communication control method for reading signaling are identical with the 5th embodiment.
In for the communication control method of order of writing letter, write letter and make address decoding module also including to reading signaling address decoding mould The step of pinning address is write in block output.Other steps for the communication control method of order of writing letter are identical with the 5th embodiment.
In sum, a kind of communication control unit that Read-write Catrol is separate and Control on Communication be the embodiment of the invention provides Method, is realized in communication control unit in the form of two RAM so that received with transmission processe speed faster, while drop The low coupling of receiving path and transmission path, the processing mode of signaling is more flexible, is easy to the extension and upgrading of instruction;This Outward, execution will be write and reads response and separated, the parallel processing capability of instruction can be improved, greatly improve the efficiency that whole instruction is performed. By designing the framework of write command message and reading instruction message in the absence of coupled relation, to ensure the storage of write command and perform not The storage of influence reading instruction performs and reads the transmission of response;There is coupled relation by designing write command message and reading instruction message Framework, the address that can preferably tackle in write command and reading instruction is the situation of same address, be more suitable for high concurrent, please The big situation of the amount of asking.
It will be understood by those skilled in the art that all or part of flow of above-described embodiment method is realized, can be by meter Calculation machine program is completed to instruct the hardware of correlation, and described program can be stored in computer-readable recording medium.Wherein, institute It is disk, CD, read-only memory or random access memory etc. to state computer-readable recording medium.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any one skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, Should all be included within the scope of the present invention.

Claims (9)

1. a kind of communication control unit, it is characterised in that including:Signaling message parsing module, order of writing letter cache RAM, signaling ground Location decoding module, write letter make performing module, response buffer RAM, read response payload extraction module and response message integrate module;
Signaling message parsing module, for being parsed to the signaling message for receiving, extracts signaling number and writes letter and make payload, and Signaling address decoding module is forwarded to respectively and the order caching RAM that writes letter;
Signaling address decoding module, for receiving signaling number, address decoding is carried out to signaling number;For writing letter, row address is entered in order number After decoding, obtain the write address of order of writing letter and read address, and export write address and the reading address to the order caching that writes letter of order of writing letter RAM;After carrying out address decoding for reading signaling number, obtain and read the response number of signaling, read response write address, read requests, and divide Response message is not sent to integrate module, response buffer RAM, read response payload extraction module;
Write letter order caching RAM, for receive and storage write letter make payload, writing letter makes write address and reads address, and to be held to order of writing letter Row module provides payload;
Write letter and make performing module, make payload and address for receiving to write letter, and perform write operation;
Read response payload extraction module, for the read requests exported according to signaling address decoding module, read and read signaling request Payload, and payload is sent to response buffer RAM;
Response buffer RAM, response write address and payload are read for receiving and storing, and it is net to integrate module output to response message Lotus;
Response message integrates module, and response number and payload for that will receive are integrated, and obtain final response message.
2. communication control unit according to claim 1, it is characterised in that signaling address decoding module includes the order ground that writes letter Location decoding module and reading signaling address decoding module,
Described writing letter makes the address decoding module number carry out address decoding for order of writing letter, acquisition write letter order write address and read 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 integration module, response buffer RAM, read response payload extraction module.
3. communication control unit according to claim 1 and 2, it is characterised in that the communication control unit also 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 into signaling message parsing module;
Convergence module is sent, is sent for just response message.
4. communication control unit according to claim 1, it is characterised in that the communication control unit also includes signaling number FIFO, signaling payload FIFO, response FIFO;
The signaling FIFO is arranged between signaling message parsing module and signaling address decoding module, signaling message parsing 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;
The signaling payload FIFO is arranged on signaling message parsing module and the order caching RAM that writes letter between, and signaling message parses mould After block extracts the signaling payload of signaling message, it 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 is arranged between signaling address decoding module and response message integration module, signaling address decoding mould Response FIFO is arrived in block output response number, and response message integrates module and obtains response number from response FIFO again.
5. communication control unit according to claim 2, it is characterised in that the communication control unit also includes that signaling is net Lotus FIFO, the order FIFO that writes letter, reading signaling FIFO;
The signaling payload FIFO is arranged on signaling message parsing module and the order caching RAM that writes letter between, and signaling message parses mould After block extracts the signaling payload of signaling message, it 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 that writes letter is arranged on signaling message parsing module and writing letter and makes between address decoding module, signaling message solution After analysis module extracts the signaling number of signaling message, the order number that will write letter is cached in being sent to the order FIFO that writes letter, 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 is arranged between signaling message parsing module and reading signaling address decoding module, signaling message solution After analysis module extracts the signaling number of signaling message, will read to be cached during signaling number is sent to reading signaling FIFO, read signaling ground Location decoding module is obtained from signaling FIFO is read again reads signaling number.
6. the communication control unit according to claim 2 or 5, it is characterised in that order of being write letter in the communication control unit Address decoding module also writes pinning address to reading the output of signaling address decoding module, reads signaling address decoding module according to writing pinning Address, judges whether to need the delay regular hour to go to perform read requests again.
7. the method that the communication control unit described in a kind of use claim 4 carries out Control on Communication, it is characterised in that including: For the Control on Communication and the Control on Communication for order of writing letter of reading signaling;
For the Control on Communication for reading signaling, including step:
Signaling message parsing module, is parsed to signaling message, and extracting reading signaling number, and be sent to signaling FIFO is carried out Caching;
Signaling address decoding module obtains reading signaling number from signaling FIFO, and address decoding is carried out for signaling number is read, and obtains Read the response number of signaling, read response write address, read requests, response number is separately sent to response number with the write address for reading response FIFO and response buffer RAM, and read requests are sent to reading response payload extraction module;
Response buffer RAM is received and stored and reads payload and signaling address decoding module that response payload extraction module is sended over The reading response write address for sending over, and the payload for reading signaling request is sent to response message integration module;
Response message integrates module, response number and response payload is obtained respectively from response FIFO and response buffer RAM, by sound Should number and response payload data integrated, obtain final response message;
For the Control on Communication of order of writing letter, including step:
Signaling message parsing module is parsed to signaling message, is extracted to write letter and order number and is write letter and make payload, and sends respectively Cached to signaling FIFO and signaling payload FIFO;
Signaling address decoding module obtains order number of writing letter from signaling FIFO, and for writing letter, order number carries out address decoding, will write The reading address of signaling and write address are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, and order of writing letter is obtained from signaling address decoding module Write address and read address, and store write letter make payload, the write address of order of writing letter and read address;
Write letter and make performing module obtain payload and address from the order caching RAM that writes letter, and perform write operation.
8. the method that the communication control unit described in a kind of use claim 5 carries out Control on Communication, it is characterised in that including: For the Control on Communication and the Control on Communication for order of writing letter of reading signaling;
For the Control on Communication for reading signaling, including step:
Signaling message parsing module is parsed to signaling message, extracts reading signaling number, and be sent to reading signaling FIFO Row caching;
Read signaling address decoding module and receive to read the reading signaling number that signaling FIFO is sended over, to read signaling number carry out parsing and Address decoding, parses response number, reads response write address, read requests, and be separately sent to response message integration module, response Caching RAM, response payload extraction module;
Response payload extraction module receives read requests, reads payload, and be sent to response buffer RAM;
Response buffer RAM, writes response buffer RAM, and payload is sent into response message according to response write address is read by payload Integrate module;
Response message integrates module, obtains response number and payload respectively from signaling address decoding module and response buffer RAM is read, Response number and response payload data are integrated, final response message is obtained;
For the Control on Communication of order of writing letter, including step:
Signaling message parsing module is parsed to 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;
Write letter and make address decoding module that order number of writing letter is obtained from the order FIFO that writes letter, row address is entered in the order number of writing letter to receiving Decoding, the reading address of the order of writing letter that solution is translated and write address are sent to the order caching RAM that writes letter;
The order caching RAM that writes letter is obtained to write letter and is made payload from signaling payload FIFO, is made address decoding module obtain from writing letter and is write letter The write address of order and read address, and store to write letter and make payload, the write address of order of writing letter and read address, to be addressed to facilitate;
Write letter and make performing module obtain payload and address from the order caching RAM that writes letter, and perform write operation.
9. the method for Control on Communication according to claim 8, it is characterised in that
For in the communication control method for reading signaling, reading signaling address decoding module is also received to write letter and makes address decoding module send What is come over writes pinning address, and address is pinned according to writing, and judges whether to need the delay regular hour to export read requests again;
In for the communication control method of order of writing letter, writing letter, it is defeated to signaling address decoding module is read to make address decoding module also include The step of going out to write pinning address.
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 true CN106911715A (en) 2017-06-30
CN106911715B 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)

Cited By (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 (5)

* 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
US20160026799A1 (en) * 2014-07-24 2016-01-28 Nuvoton Technology Corporation Security device having indirect access to external non-volatile memory
US20160274791A1 (en) * 2015-03-18 2016-09-22 SK Hynix Inc. Memory system and operating method thereof

Patent Citations (5)

* 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
US20160026799A1 (en) * 2014-07-24 2016-01-28 Nuvoton Technology Corporation Security device having indirect access to external non-volatile memory
US20160274791A1 (en) * 2015-03-18 2016-09-22 SK Hynix Inc. Memory system and operating method thereof

Cited By (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

Also Published As

Publication number Publication date
CN106911715B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
US11775320B2 (en) Overflow detection and correction in state machine engines
CN103946803A (en) Processor with efficient work queuing
CN106155960A (en) Shake hands and the UART serial port communication method of EDMA based on GPIO
CN112765054A (en) High-speed data acquisition system and method based on FPGA
CN103077132A (en) Cache processing method and protocol processor cache control unit
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
CN103294836A (en) PCIE (peripheral component interconnect express) based radar data acquisition displaying and controlling system and method thereof
CN104866528A (en) Multi-platform data acquisition method and system
CN100543708C (en) A kind of control method of processor accessing slow memory
CN105446699A (en) Data frame queue management method
CN112866148B (en) Inter-chip data transmission system for brain-like computing chip and implementation method
CN106911715A (en) A kind of communication control unit and communication control method that Read-write Catrol is separate
CN110324204A (en) A kind of high speed regular expression matching engine realized in FPGA and method
CN103279442B (en) Message filtering system and message filtering method of high-speed interconnection bus
CN104681082A (en) Method for write and read collision avoidance in single port memory devices and semiconductor chip
CN116185499B (en) Register data transmission method, register cache module, intelligent device and medium
CN106294225A (en) A kind of method for reading data, opposite equip. and controller
CN106982175A (en) A kind of communication control unit and communication control method based on RAM
CN107911702B (en) Lightning image processing system and method in real time on a kind of more FPGA collaboration star
CN109246331A (en) A kind of method for processing video frequency and system
CN104407367B (en) Improve the apparatus and method of satellite navigation terminal receiver baseband signal disposal ability
CN111190840A (en) Multi-party central processing unit communication architecture based on field programmable gate array control
CN104156907A (en) FPGA-based infrared preprocessing storage system and FPGA-based infrared preprocessing storage method
CN105049377B (en) AFDX exchange datas bus structures and method for interchanging data based on Crossbar frameworks

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