1. A method of querying spatial events in a vehicle network, comprising: receiving, by a processing device, a query condition of a user; in response to reception of the query condition of the user, determining context information of a position where the user locates; and according to the query condition of the user and the context information of the position where the user locates, querying an index table recording correspondence between terminal nodes of roads in a road map and spatial events to obtain spatial events meeting the query condition of the user; wherein the query condition of the user comprises an expected reachable distance, representing the maximum distance of spatial events to be searched by the user to a position where the user locates; wherein querying an index table recording correspondence between terminal nodes of roads in a road map and spatial events to obtain spatial events meeting the query condition of the user comprises: according to the query condition of the user and the context information of a position where the user locates, determining a remaining reachable distance, wherein the context information of a position where the user locates comprises a road where the user locates and the ending node thereof, and the remaining reachable distance indicates, in order to meet the expected reachable distance in the query condition of the user, the maximum distance of spatial events expected to be searched to the ending node of the road where the user currently locates; and querying the index table according to the remaining reachable distance to obtain spatial events meeting the query condition of the user; and wherein determining the remaining reachable distance comprises calculating a distance from a current position of the user to the ending node of the road where the user locates based on the road and the ending node thereof, subtracting the distance between the current position of the user and the ending node of the road from the expected reachable distance to obtain the remaining reachable distance.