| | |
Design pattern for encode/decode modules
![]() |
Hello Everyone,
Does anyone know any design patterns for modules meant for encoding/decoding of protocol messages. E.g. BSSMAP/LAP...
We need to write encoders and decoders for BSSMAP and BSSLAP messages for our product.
All the IE (information elements) are defined by standards, so we know everything abt every field in the message. Currently we plan to do the whole thing in 'C', but I'm convinced that a C++ OO design would be much better (for testability and extensibility). Now before I start coming up with my own design, I was wondering if someone has already done it given that it's a common problem.
Thanks
Kashyap
PS: No response at Computer Science and Software Design so trying in this forum.
Does anyone know any design patterns for modules meant for encoding/decoding of protocol messages. E.g. BSSMAP/LAP...
We need to write encoders and decoders for BSSMAP and BSSLAP messages for our product.
All the IE (information elements) are defined by standards, so we know everything abt every field in the message. Currently we plan to do the whole thing in 'C', but I'm convinced that a C++ OO design would be much better (for testability and extensibility). Now before I start coming up with my own design, I was wondering if someone has already done it given that it's a common problem.
Thanks
Kashyap
PS: No response at Computer Science and Software Design so trying in this forum.
•
•
•
•
Hello Everyone,
Does anyone know any design patterns for modules meant for encoding/decoding of protocol messages. E.g. BSSMAP/LAP...
We need to write encoders and decoders for BSSMAP and BSSLAP messages for our product.
All the IE (information elements) are defined by standards, so we know everything abt every field in the message. Currently we plan to do the whole thing in 'C', but I'm convinced that a C++ OO design would be much better (for testability and extensibility). Now before I start coming up with my own design, I was wondering if someone has already done it given that it's a common problem.
Thanks
Kashyap
PS: No response at Computer Science and Software Design so trying in this forum.
Note: This is just to give you some ideas incase you don't find any support or help before the deadline require for the software development process.
Good luck, Lamabott
•
•
•
•
I'm not too familar with the BSSMAP or BASSLAP control protocols, however, I've found by observing how other applications work one can can extract ideas based on how an exisiting product(s) works. I try to find inspiration where ever I can find it. Regarding control nformation between MTP and BASS (i.e. certain control of traffic channels), read up on how an exisiting products. Using your knowledge of C++ and ideas (hopefully written) derived from a product specifications, you can pretty much visualize a pattern, algorithms or architecture for your enconding/decoding program that convert such information to a format specific to your product. Here is a link to some exisiting products you might find useful http://www.odints.com/pages/prod/prodmain.htm
Note: This is just to give you some ideas incase you don't find any support or help before the deadline require for the software development process.
Good luck, Lamabott
•
•
•
•
You might want to try the networking forums of Daniweb for information regarding applications used to encode/decode BSSMAP/LAP protocol header field/octect information.
Good luck, LamaBot
. •
•
Join Date: May 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello,
I'm newbye on this forum and I'm insterested by finding patterns for protocol coding/decoding. The idea is to use this kind of pattern with a Strategy patten to select which coder/decoder according messages cominmg from testbed equipment.
Thanks,
Best regards,
Yann
I'm newbye on this forum and I'm insterested by finding patterns for protocol coding/decoding. The idea is to use this kind of pattern with a Strategy patten to select which coder/decoder according messages cominmg from testbed equipment.
Thanks,
Best regards,
Yann
•
•
•
•
Hello Everyone,
Does anyone know any design patterns for modules meant for encoding/decoding of protocol messages. E.g. BSSMAP/LAP...
We need to write encoders and decoders for BSSMAP and BSSLAP messages for our product.
All the IE (information elements) are defined by standards, so we know everything abt every field in the message. Currently we plan to do the whole thing in 'C', but I'm convinced that a C++ OO design would be much better (for testability and extensibility). Now before I start coming up with my own design, I was wondering if someone has already done it given that it's a common problem.
Thanks
Kashyap
PS: No response at Computer Science and Software Design so trying in this forum.
![]() |
Similar Threads
- Passing data from forms from one page to another (JavaScript / DHTML / AJAX)
- Design Pattern - Proxy (Computer Science)
- Design pattern for encode/decode modules (Computer Science)
- Factory Design pattern implementation (C++)
Other Threads in the C++ Forum
- Previous Thread: Algorithm/Lib for analysing references in scientific documents needed
- Next Thread: Safe proofing Program
| Thread Tools | Search this Thread |
action api array auto based beginner binary bitmap c++ c/c++ calculator challenge char class classes code coding compile console conversion count createcopyofanyfileinc delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game garbage givemetehcodez graph gui hmenu homeworkhelp homeworkhelper iamthwee ifstream input insert int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node noob output parameter pointer primenumbersinrange problem program programming project python random read recursion reference rpg sockets string strings temperature template test text text-file tree url variable vector video win32 windows winsock wordfrequency wxwidgets





