1. A light field light source orientation method for augmented reality and virtual reality, comprising the steps of: identifying a target mark as follows: collecting image data through a front-end device and identifying the collected image data, the front-end device being a mobile phone or helmet glasses; tracking the target mark as follows: tracking the position of a certain object in the image data by the front-end device; obtaining the surface shape and feature of the certain object, and obtaining a data value of a color space of the certain object, the data value comprising: hue-color essential attributes, saturation-color purity of 0-100% value and lightness and brightness of 0-100% value; analyzing a grey zone on the certain object as follows: analyzing, by the front-end device, a BLOB of the certain object, judging a refraction angle, length and brightness of the grey zone of the certain object according to the BLOB, and determining a light source direction in a place where the front-end device is located, a distance between the front-end device and a light source, and the intensity of the light source according to the refraction angle, the length and the brightness of the grey zone; pushing the data to a light field of a virtual object as follows: pushing the data into the light field of the virtual object after converting the data into identifiable data of the front-end device according to the data value of the color space of the certain object, the light source direction, the distance between the front-end device and the light source and the intensity of the light source; and compensating and adjusting the imaging of the virtual object: adjusting the virtual object and a shadow of the virtual object through the data value of the color space of the certain object, the light source direction, the distance between the front-end device and the light source and the intensity of the light source, so that a virtual scenario is more realistic and clear.