An automatic detailed scheduling method of refined products pipeline