How are the matches between teams in the World Table Tennis Championships determined?

this

Before the game, the two teams drew lots to decide the home team and the visiting team. Then, according to the results of the lottery and the possible players of the other side, we began to determine the lineup separately. Among them, the home team played the first and fourth singles, the second singles played the second and fifth, and the third singles played the third; The visiting team played the second and fourth singles, the first and fifth singles and the third singles. So the game was decided. When determining the lineup, you don't know the players of the other side, so you can only rely on prediction.