A method for selecting a cell in a non-terrestrial network, comprising: querying, by user equipment, whether there is first prestored information, and determining a frequency for preferential searching based on the first prestored information; determining, by the user equipment, a value of a first decision factor and a value of a second decision factor in a first decision criterion; determining, by the user equipment, a value of a first weighting coefficient and a value of a second weighting coefficient in the first decision criterion; searching for, by the user equipment, a cell according to the determined first decision criterion; and selecting, by the user equipment, a cell whose value of the first decision criterion is largest to camp on if a value of the first decision criterion of a candidate cell meets a camping threshold requirement of a cell; or selecting, by the user equipment, a cell whose value of the first decision criterion is largest to camp on if there is no candidate cell whose value of the first decision criterion meets a camping threshold requirement of a cell; wherein the first decision criterion is expressed as: X lex = A * Signal_Quality / Signal_Quality_reference + B * DurationTime beam / DurationTime beam _reference, wherein Signal _ Quality / Signal _ Quality _ reference (signal quality ratio) is the first decision factor, and DurationTime beam / DurationTime beam _reference (beam coverage time ratio) is the second decision factor; A is the first weighting coefficient, and is used to represent a weight of the first decision factor in first decision criterion-based cell selection decision; and B is the second weighting coefficient, and is used to represent a weight of the second decision factor in the first decision criterion-based cell selection decision; and a function relationship of the first decision criterion X lex is calculating a sum of a weighted result obtained by multiplying the value of the first decision factor and the first weighting coefficient and a weighted result obtained by multiplying the value of the second decision factor and the second weighting coefficient. querying, by user equipment, whether there is first prestored information, and determining a frequency for preferential searching based on the first prestored information; determining, by the user equipment, a value of a first decision factor and a value of a second decision factor in a first decision criterion; determining, by the user equipment, a value of a first weighting coefficient and a value of a second weighting coefficient in the first decision criterion; searching for, by the user equipment, a cell according to the determined first decision criterion; and selecting, by the user equipment, a cell whose value of the first decision criterion is largest to camp on if a value of the first decision criterion of a candidate cell meets a camping threshold requirement of a cell; or selecting, by the user equipment, a cell whose value of the first decision criterion is largest to camp on if there is no candidate cell whose value of the first decision criterion meets a camping threshold requirement of a cell; wherein the first decision criterion is expressed as: X lex = A * Signal_Quality / Signal_Quality_reference + B * DurationTime beam / DurationTime beam _reference, wherein Signal _ Quality / Signal _ Quality _ reference (signal quality ratio) is the first decision factor, and DurationTime beam / DurationTime beam _reference (beam coverage time ratio) is the second decision factor; A is the first weighting coefficient, and is used to represent a weight of the first decision factor in first decision criterion-based cell selection decision; and B is the second weighting coefficient, and is used to represent a weight of the second decision factor in the first decision criterion-based cell selection decision; and a function relationship of the first decision criterion X lex is calculating a sum of a weighted result obtained by multiplying the value of the first decision factor and the first weighting coefficient and a weighted result obtained by multiplying the value of the second decision factor and the second weighting coefficient.