China will boost gun training for police in Beijing, a senior security official said, as it braces for what it calls an upsurge in militant violence around the country.