1. A method for synthesis of network traffic, the method comprising: extracting, from real traffic, a first real traffic composition parameter sequence and a second real traffic composition parameter sequence; generating a first synthetic traffic composition parameter sequence according to the first real traffic composition parameter sequence; obtaining relational coefficients between first traffic composition parameters and second traffic composition parameters by performing autocorrelation learning on the first real traffic composition parameter sequence and the second real traffic composition parameter sequence; generating a second synthetic traffic composition parameter sequence according to the first synthetic traffic composition parameter sequence and the relational coefficients; and generating synthetic traffic according to the first synthetic traffic composition parameter sequence and the second synthetic traffic composition parameter sequence.