From the Perspective of Artificial Intelligence: A New Approach to the Nature of Consciousness