You are an expert at summarizing long articles. Proceed to summarize the following text:

You are an expert at summarizing long articles. Proceed to summarize the following text: 
BACKGROUND OF THE INVENTION  
         [0001]    1. Field of the Invention  
           [0002]    The invention relates to a drain garbage collector. More particularly, the invention provides a drain garbage collector that can effectively collect drain garbage while preventing inundation caused by garbage jam.  
           [0003]    2. Description of the Related Art  
           [0004]    Referring to FIG. 1 and FIG. 2, two perspective views illustrate the structure of a conventional drain garbage collector disclosed in the Taiwan Patent No. 197035. The known garbage collector comprises a frame structure  1 , a retainer basin  2 , and a drain cover grate  3 .  
           [0005]    The retainer basin  2  is mounted to the frame structure  1 , and hence theassembled structure is covered by the drain cover grate  3  defining a plurality of holes  31  and placed within the drain, as shown as in FIG. 2, to collect roadside garbage. The above conventional drain garbage collector can therefore receive and contain garbage, but is not effective to filter flowing garbage in the drain itself.  
           [0006]    Moreover, if the flowing drain garbage obstructs the lateral filter net  11  of the frame structure  1  (shown in FIG. 1), water flown into the frame structure  1  is not able to flow through the drain because of being blocked by the lateral side drain garbage, causing inundation.  
         SUMMARY OF THE INVENTION  
         [0007]    It is therefore a principal object of the invention to provide a drain garbage collector that prevents inundation due to jammed drain and further enables to save the cleaning time and cost.  
           [0008]    To accomplish the above and other objectives, a drain garbage collector of the invention comprises a frame, a top grate, a separator grate, and a collector grate, each of whom is assembled with one another. A plurality of passages are defined through the top grate to enable garbage to flow into the collector grate. The separator grate prevents garbage from flowing out of the garbage collector. Thereby, the garbage collector of the present invention is able to collect garbage and prevent inundation caused by jammed drain.  
           [0009]    To provide a further understanding of the invention, the following detailed description illustrates embodiments and examples of the invention, this detailed description being provided only for illustration of the invention. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0010]    The drawings included herein provide a further understanding of the invention. A brief introduction of the drawings is as follows:  
         [0011]    [0011]FIG. 1 is a perspective view showing the frame structure of a conventional drain garbage collector;  
         [0012]    [0012]FIG. 2 is a perspective view showing an utilization of the conventional drain garbage collector;  
         [0013]    [0013]FIG. 3 is an exploded view of a drain garbage collector according to an embodiment of the present invention;  
         [0014]    [0014]FIG. 4 is a perspective view showing the drain garbage collector assembled according to an embodiment of the present invention;  
         [0015]    [0015]FIG. 5 through FIG. 7 are perspective views showing the installation and manipulation of the garbage collector of the present invention while being placed in a drain; and  
         [0016]    [0016]FIG. 8 is a front view of the garbage collector of the present invention. 
     
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS  
       [0017]    Wherever possible in the following description, like reference numerals will refer to like elements and parts unless otherwise illustrated.  
         [0018]    Referring to FIG. 3 through FIG. 8, various schematic views illustrate a drain garbage collector according to an embodiment of the present invention. The garbage collector comprises a frame  10 , a top grate  20 , a separator grate  30 , and a collector grate  40 . The frame  10  is L-shaped and made of metallic materials. First pivot connecting structures  11  are placed on the rear side edge of the frame  10  to connect the top grate  20  coaxially via pivot axles  12 . The top grate  20  is made of metallic materials also, and is constituted of a plurality of bars  21  that are spaced apart from one another so as to define a plurality of passages  23  there between. The bars  21  may form the top grate  20  via various methods such as soldering, hard soldering, ultra-sonic welding, or resistive welding, etc.  
         [0019]    Second pivot connecting structures  22 , corresponding to the first pivot connecting structures  11 , are further disposed on the rear side of the top grate  20 , proximate to the rear edge thereof, to pivotably connect to the first pivot connecting structures  11  of the frame  10 . The top grate  20  is thereby assembled with the frame  10 . As shown in FIG. 4, the pivotably assembled top grate  20  can thus rotate and cover the frame  10 . Garbage can be collected through the passages  23  into the collector grate  40  (see FIG. 6).  
         [0020]    The frame  10  internally includes two sliding slots  13  that are disposed vis-a-vis on two lateral sides of the frame  10 . The sliding slots  13  are used to slidably receive the separator grate  30  while the separator grate  30  is mounted into the frame  10 . The separator grate  30  is a metallic grate with a pulling support  31 . The pulling support  31  can be, for example, a ring or a flange that enables an operator to conveniently move the separator grate  30  along the sliding slots  13  in a slidable manner, irrespective of inserting or removing the separator grate  30 , as shown in FIG. 7. A first filter net  32  is disposed on the separator grate  30  to prevent collected roadside garbage from flowing out of the garbage collector. The collector grate  40  is further mounted to a lower side of the frame  10 . The collector grate  40  is for resting the collected roadside garbage and preventing it flowing out of the garbage collector in cooperation with the first filter net  32  and a second filter net  41  of the collector grate  40 . Retainer boards  14  are further respectively mounted onto the lateral sides of the frame  10 . The retainer boards  14  are made of metallic materials, and may be assembled with the collector grate  40  via, for example, screw assembly, as shown in FIG. 4. The retainer boards  14  support the entire structure of the frame  10 , and further prevent collected roadside garbage from flowing through the lateral sides of the frame  10 .  
         [0021]    The lateral sides of the frame  10  are designed to be adjusted in accordance with the width of the internal part of the drain  50 , as shown in FIG. 6. With the addition of a frame mounting element  15 , the frame  10  can be fixedly mounted within the drain opening.  
         [0022]    As described above, the garbage collector  60  of the present invention is hence composed of the frame  10 , the top grate  20 , the separator grate  30 , the collector grate  40 , and the retainer boards  14 . As shown in FIG. 5, the garbage collector  60  can be mounted within the internal part of the drain  50  to filter and collect the roadside garbage flown to the drain  50 . Via the passages  23  of the top grate  20 , roadside garbage can be collected into the garbage collector  60 , which favorably reduces the road cleaning time and costs.  
         [0023]    Referring to FIG. 5 through FIG. 7, when garbage within the drain  50  flows into the garbage collector  60 , garbage of greater size is collected by the collector grate  40  while garbage of smaller size is flown out of the garbage collector  60  via the first filter net  32  of the separator grate  30 . To maintain fluid flowing in the drain  50 , the cleaning operator only has to regularly remove the garbage accumulated in the garbage collector  60 , as shown in FIG. 8.  
         [0024]    During rain and storm seasons, the waterflow in the drain  50  may be substantially huge. For preventing inundation, the operator slidably removes the separator grate  30  from the frame  10  via pulling the pulling support  31 . Drainage through the garbage collector  60  is hence facilitated. Inundation due to jammed garbage in the garbage collector  60  can be thereby prevented.  
         [0025]    In conclusion, the invention provides a garbage collector that, installed within a drain, can prevent the drainage jam and reduces the cleaning time and costs. Thus, the risks of inundation are thus favorably reduced.  
         [0026]    It should be apparent to those skilled in the art that the above description is only illustrative of specific embodiments and examples of the invention. The invention should therefore cover various modifications and variations made to the herein-described structure and operations of the invention, provided they fall within the scope of the invention as defined in the following appended claims.

Summary:
A drain garbage collector of the invention includes a frame, a top grate, a separator grate, and a collector grate. A plurality of passages are defined through the top grate let the roadside garbage pass through. The separator grate prevents garbage from flowing out of the garbage collector via filtering wastewater flow. Thereby, the garbage collector collects garbage and the collected garbage can be cleaned regularly to prevent inundation caused by jammed drain.