A method for switching from a video live stream to video-on-demand data applied in a server, wherein the method comprises: receiving, by the server, a video acquisition request for a target video sent by a terminal; acquiring, by the server, video data of the target video from a live stream of the target video in response to the video acquisition request, and storing the acquired video data of the target video; performing, by the server, non-linear editing on the video data of the target video in response to a video editing request when the video editing request for the target video sent by the terminal is received; and storing the edited video data as video-on-demand data of the target video, wherein the method further comprises: transcoding, by the server, the video data of the target video to obtain low code-rate video data, and sending the low code-rate video data to the terminal; and wherein the performing, by the server, non-linear editing on the video data of the target video in response to a video editing request when the video editing request for the target video sent by the terminal is received comprises: performing, by the server, non-linear editing on the low code-rate video data in response to the video editing request when the video editing request for the target video sent by the terminal is received; and sending the edited low code-rate video data to the terminal. receiving, by the server, a video acquisition request for a target video sent by a terminal; acquiring, by the server, video data of the target video from a live stream of the target video in response to the video acquisition request, and storing the acquired video data of the target video; performing, by the server, non-linear editing on the video data of the target video in response to a video editing request when the video editing request for the target video sent by the terminal is received; and storing the edited video data as video-on-demand data of the target video, wherein the method further comprises: transcoding, by the server, the video data of the target video to obtain low code-rate video data, and sending the low code-rate video data to the terminal; and wherein the performing, by the server, non-linear editing on the video data of the target video in response to a video editing request when the video editing request for the target video sent by the terminal is received comprises: performing, by the server, non-linear editing on the low code-rate video data in response to the video editing request when the video editing request for the target video sent by the terminal is received; and sending the edited low code-rate video data to the terminal. transcoding, by the server, the video data of the target video to obtain low code-rate video data, and sending the low code-rate video data to the terminal; and wherein the performing, by the server, non-linear editing on the video data of the target video in response to a video editing request when the video editing request for the target video sent by the terminal is received comprises: performing, by the server, non-linear editing on the low code-rate video data in response to the video editing request when the video editing request for the target video sent by the terminal is received; and sending the edited low code-rate video data to the terminal. performing, by the server, non-linear editing on the low code-rate video data in response to the video editing request when the video editing request for the target video sent by the terminal is received; and sending the edited low code-rate video data to the terminal.