A computer-implemented method for determining a public transport route for a public transport vehicle, comprising: acquiring (201, 401) a route planning request, where the route planning request is used to request for planning a public transport route within a first area; identifying (202, 402) a plurality of road segments included within the first area in a map and obtaining an identifier of an existing public transport vehicle corresponding to each road segment in a preset database; determining a first route among the plurality of road segments based on the identifier of the existing public transport vehicle corresponding to each road segment, where the first route includes at least one road segment, such that there is no through public transport route on the first route, or the number of existing public transport vehicles corresponding to some of the road segments in the first route is smaller than or equal to a first threshold value; and determining a plurality of stopping locations in the first route, generating a target public transport route based on the first route and the plurality of stopping locations, and outputting the target public transport route; wherein determining the first route among the plurality of road segments based on the identifier of the existing public transport vehicle corresponding to each road segment comprises: performing a combination treatment on at least two adjacent road segments among the plurality of road segments to obtain a plurality of combined road segments; determining a priority corresponding to each road segment and a priority corresponding to each combined road segment based on the identifier of the existing public transport vehicle corresponding to each road segment; and determining the first route among the plurality of road segments based on the priority corresponding to each road segment and the priority corresponding to each combined road segment. acquiring (201, 401) a route planning request, where the route planning request is used to request for planning a public transport route within a first area; identifying (202, 402) a plurality of road segments included within the first area in a map and obtaining an identifier of an existing public transport vehicle corresponding to each road segment in a preset database; determining a first route among the plurality of road segments based on the identifier of the existing public transport vehicle corresponding to each road segment, where the first route includes at least one road segment, such that there is no through public transport route on the first route, or the number of existing public transport vehicles corresponding to some of the road segments in the first route is smaller than or equal to a first threshold value; and determining a plurality of stopping locations in the first route, generating a target public transport route based on the first route and the plurality of stopping locations, and outputting the target public transport route; wherein determining the first route among the plurality of road segments based on the identifier of the existing public transport vehicle corresponding to each road segment comprises: performing a combination treatment on at least two adjacent road segments among the plurality of road segments to obtain a plurality of combined road segments; determining a priority corresponding to each road segment and a priority corresponding to each combined road segment based on the identifier of the existing public transport vehicle corresponding to each road segment; and determining the first route among the plurality of road segments based on the priority corresponding to each road segment and the priority corresponding to each combined road segment. performing a combination treatment on at least two adjacent road segments among the plurality of road segments to obtain a plurality of combined road segments; determining a priority corresponding to each road segment and a priority corresponding to each combined road segment based on the identifier of the existing public transport vehicle corresponding to each road segment; and determining the first route among the plurality of road segments based on the priority corresponding to each road segment and the priority corresponding to each combined road segment.