The invention discloses a method for establishing a data flow integration model by using UML and XML mapping. The method comprises the following steps: S1, generating a standard UML meta model; S2, generating a UML meta model containing an XSD stereotype; S3, carrying out UML-to-XML forwarding mapping on the UML meta model containing the XSD stereotype so as to generate a data flow XML integration model, judging whether requirements of modeling are met or not, if the requirements of modeling are met, ending the flow, or else continuing the operation; S4, carrying out XML-to-UML backward mapping on the data flow XML integration model so as to generate another UML meta model containing an XSD stereotype; S5, modifying and adjusting the UML meta model containing the XSD stereotype generated from backward mapping, and turning to S3. By adopting the technical scheme of the invention, united description of data flow and workflow is achieved, and the model design quality can be improved.