Optimization of teaching methods and allocation of learning resources under the background of big data | Synapse