http://www.danshapiro.com/blog/2010/09/how-to-read-a-patent-...
http://www.danshapiro.com/blog/2010/09/how-to-read-a-patent-...
If it's broad enough to contemplate what you're doing, look through the spec, correspondence (the "file wrapper"), and general knowledge at the time for arguments to restrict interpretation of scope. Also, talk to a lawyer :(
edit: linked to this in another comment, and it also belongs here: "Broadest Reasonable Interpretation" http://www.uspto.gov/web/offices/pac/mpep/s2111.html
Its a huge book though, and not worth reading it unless you want to work with patents every day (as a patent agent, patent examiner, patent lawyer).
Also, its a reference book, not really something you can read start-to-finish.
1) Read the abstract 2) Read the conclusion 3) If any questions or doubts remain, read the middle.