Patent ID: 7263918

Claim:
A ratchet structure of a wrench comprising: a handle comprising a chamber, a pair of recesses, a stopping ring, a first groove, and a second groove, said recesses interconnecting with said chamber, said stopping ring being disposed in a lower portion of said chamber, and said first and second grooves being disposed in an upper portion of said chamber; a socket comprising a through hole and a first reduced section, said socket being formed with gear teeth around its outer circumference, said socket being accommodated in said chamber of said handle and stopped by said stopping ring, said gear teeth corresponding to said recesses, said socket further comprising a first fastening member corresponding in position to said first reduced section, said first fastening member being secured in said first groove and engaging with said first reduced section; a first detent accommodated in one of said recesses of said handle and comprising a front end and a relative rear end, a flat surface being formed between said front end and said rear end, said front end comprising gear teeth corresponding to said gear teeth of said socket, said flat surface being provided with a first stud protruding thereof; a first elastic element comprising a first end and a relative second end, said first end engaging with said rear end of said first detent, while said second end engaging with said chamber of said handle; a second detent accommodated in the other of said recesses of said handle and comprising a front end and a relative rear end, a flat surface being formed between said front end and said rear end, said front end comprising gear teeth corresponding to said gear teeth of said socket, said flat surface being provided with a second stud protruding thereof; a second elastic element comprising a first end and a relative second end, said first end engaging with said rear end of said second detent, while said second end engaging with said chamber of said handle; a lid covering said first detent, said first elastic element, said second detent and said second elastic element and comprising a second reduced section, said lid being secured into said second groove with a second fastening member, said lid further comprising locating holes corresponding in position to said recesses; and a knob comprising an engaging block and a third elastic element, said engaging block being pivotally connected to said lid and engaging with said first stud and said second stud, said third elastic element being located in either of said locating holes of said lid.