The invention relates to an electroencephalographic and electromyographic information automatic intention recognition and upper limb intelligent control method and system, which are used for rehabilitation treatment of the upper limb of a stroke patient, an electroencephalographic and surface electromyographic signal collector collects and processes the electroencephalographic and surface electromyographic signals of the patient in real time, a mixed kernel function formed by weighting a polynomial kernel function and an RBF kernel function weights is used to perform fitting and prediction, soas to more accurately identify and monitor the motion intention of the patient, and judge the corresponding degree of rehabilitation, according to which a corresponding rehabilitation training strategy is adopted. When the rehabilitation degree of the upper limb of the stroke patient is low, passive training control is adopted. When the rehabilitation degree of the upper limb of the stroke patient is high, active, assisted and resistive control modes are adopted. The hybrid kernel function support vector machine model provided by the invention has better learning ability and generalization performance, high prediction accuracy and good control performance, and the prediction result meets the index requirements of a rehabilitation robot for stroke patients.