Game video transmission method and system based on 5G network
By determining the video data sending end matching the user terminal in the 5G network, and selecting the target sending end according to the transmission status, building and switching communication channels, the problem of slow game video transmission in the prior art is solved, and efficient and stable game video transmission is achieved.
Patent Information
- Application Number
- CN202411824526.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-03-25
AI Technical Summary
When the existing game video transmission system cannot change the transmission source of the game video in a timely manner when the user side has slow game video transmission, resulting in the inability to effectively improve the transmission smoothness and stability.
By determining all video data sending ends matching the user's end from the 5G network based on the game video attribute information expected to be obtained by the user, and selecting the target video data sending end that can send corresponding game videos to the user, and building a communication channel to achieve efficient and stable game video transmission. When it is necessary to switch the communication channel, reselect the target video data sending end to continue the game video transmission work.
It improves the smoothness and stability of game video transmission, ensuring that the user can obtain an efficient game video transmission experience.
Smart Images

Figure CN119697446A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network data transmission, and in particular to a game video transmission method and system based on a 5G network. Background Art
[0002] When users use smartphones or portable computers and other user terminals to play online games, the smoothness and stability of game video transmission directly affect the user's online gaming experience. In order to improve the efficiency of transmitting game videos to the user terminal, the user terminal can be connected to the 5G network, so that a 5G network channel is formed between the user terminal and the video data transmitter, which can maximize the transmission speed of the game video. However, in the actual game video transmission process, the data transmission performance of the video data transmitter itself will also affect the transmission quality of the game video. In the existing game video transmission operation, the video data transmitter currently connected to the user terminal cannot be changed. When the game video transmission is slow on the user terminal, the transmission source of the game video cannot be changed in time, and the smoothness and stability of the game video transmission cannot be effectively improved. Summary of the invention
[0003] The purpose of the present invention is to provide a game video transmission method and system based on a 5G network. Based on the game video attribute information that the user terminal expects to obtain, it determines all video data sending terminals that match the user terminal from the 5G network, and based on the respective video data sending states of all video data sending terminals, it determines all target video data sending terminals that can send corresponding game videos to the user terminal, so as to facilitate finding a suitable game video source for the user terminal; based on the network positions of the user terminal and all target video data sending terminals in the 5G network, it constructs a communication channel between the target video data sending terminal and the user terminal, and performs efficient and stable game video transmission to the user terminal; when it is necessary to switch the communication channel for game video transmission to the user terminal, it constructs another communication channel between the target video data sending terminal and the user terminal, so as to continue to perform the game video transmission work to the user terminal, thereby improving the smoothness and stability of game video transmission.
[0004] The present invention is achieved through the following technical solutions:
[0005] The game video transmission method based on 5G network includes:
[0006] Based on the game video acquisition request of the user terminal, determine the game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determine all video data senders matching the user terminal from the 5G network;
[0007] Based on the respective video data sending states of all video data sending terminals, determine all target video data sending terminals that can send the corresponding game video to the user terminal from all video data sending terminals; based on the network positions of the user terminal and all target video data sending terminals in the 5G network, select one target video data sending terminal to establish a communication channel with the user terminal, so as to transmit the game video to the user terminal;
[0008] Based on the game video transmission status information of the selected target video data sending end, determine whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, select another target video data sending end from all target video data sending ends to build another communication channel with the user end, so as to continue to perform the game video transmission work to the user end.
[0009] Optionally, based on a game video acquisition request of a user terminal, determining game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determining all video data senders matching the user terminal from a 5G network, including:
[0010] Parsing the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task currently required to be executed by the user terminal;
[0011] The video document name information is compared with the respective video document storage directories of all video data senders under the 5G network. If the video document storage directory contains the video document name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
[0012] Optionally, based on the respective video data sending states of all video data sending terminals, determining all target video data sending terminals that can send corresponding game videos to the user terminal from all video data sending terminals; based on the network positions of the user terminal and all target video data sending terminals in the 5G network, selecting one target video data sending terminal to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal, including:
[0013] Analyze the video sending logs of all video data sending ends matching the user end to determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends;
[0014] Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal;
[0015] Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
[0016] Optionally, based on the game video transmission state information of the selected target video data sending end, determining whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, selecting another target video data sending end from all target video data sending ends to establish another communication channel with the user end, so as to continue to perform the game video transmission work to the user end, including:
[0017] Obtaining an average transmission speed of a game video of a selected target video data transmitting end, and if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end;
[0018] When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.
[0019] Optionally, after the target video data sending end establishes a communication channel with the user end, the transmission data is encrypted and compressed before data transmission, and the transmission data is decrypted and restored after the data transmission is completed.
[0020] Step S1, using the following formula (1), according to the terminal information data of the target video data sending end and the user end, encrypt the transmission data,
[0021]
[0022] In the above formula (1), d 16Indicates the hexadecimal form of the encrypted transmission data after the transmission data is encrypted; D 16 Indicates the hexadecimal form of the transmitted data; Indicates the circular right shift symbol; F 16 The hexadecimal form of the terminal information data of the target video data sending end; Y 16 Indicates the hexadecimal form of the terminal information data of the user terminal; len() indicates the total number of bits of the hexadecimal data in the brackets;
[0023] Step S2, using the following formula (2), based on the terminal information data of the target video data sending end and the user end, the encrypted transmission data is compressed.
[0024] d' 16 =d 16 -{(F 16 +Y 16 )>>[len(F 16 +Y 16 )-1]} (2)
[0025] In the above formula (2), d' 16 Indicates the hexadecimal data after data compression of the encrypted transmission data; >> indicates the right shift sign; d' 16 Transmitted as actual transmission data;
[0026] Step S3, after the data transmission is completed, the following formula (3) is used to restore the transmitted data according to the terminal information data of the target video data sending end and the user end.
[0027]
[0028] In the above formula (3), D' 16 Indicates the hexadecimal data after the actual transmission data is restored; Indicates a circular left shift sign.
[0029] The game video transmission system based on 5G network includes:
[0030] A user terminal video demand determination module, used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal;
[0031] A video data sending terminal screening module, used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information;
[0032] A target video data sending end determining module, used to determine all target video data sending ends that can send corresponding game videos to the user end from all video data sending ends based on the respective video data sending states of all video data sending ends;
[0033] A communication channel construction module, configured to select a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end;
[0034] A game video transmission state identification module, used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal;
[0035] The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work to the user end.
[0036] Optionally, the user terminal video demand determination module is used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal, including:
[0037] Parsing the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task currently required to be executed by the user terminal;
[0038] The video data sending terminal screening module is used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information, including:
[0039] The video document name information is compared with the respective video document storage directories of all video data senders under the 5G network. If the video document storage directory contains the video document name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
[0040] Optionally, the target video data sending end determining module is used to determine all target video data sending ends that can send corresponding game videos to the user end from all video data sending ends based on respective video data sending states of all video data sending ends, including:
[0041] Analyze the video sending logs of all video data sending ends matching the user end to determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends;
[0042] Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal;
[0043] The communication channel construction module is used to select a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end, including:
[0044] Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
[0045] Optionally, the game video transmission state identification module is used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal, including:
[0046] Obtaining an average transmission speed of a game video of a selected target video data transmitting end, and if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end;
[0047] The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work to the user end, including:
[0048] When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] The game video transmission method and system based on the 5G network provided in the present application determines all video data senders matching the user terminal from the 5G network based on the game video attribute information that the user terminal expects to obtain, and determines all target video data senders that can send corresponding game videos to the user terminal based on the respective video data sending states of all video data senders, so as to facilitate finding a suitable game video source for the user terminal; based on the network positions of the user terminal and all target video data senders in the 5G network, a communication channel between the target video data sender and the user terminal is constructed to perform efficient and stable game video transmission to the user terminal; when it is necessary to switch the communication channel for game video transmission to the user terminal, another communication channel between the target video data sender and the user terminal is constructed, so as to continue to perform the game video transmission work to the user terminal, thereby improving the smoothness and stability of game video transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0052] Figure 1 A schematic diagram of the flow of a game video transmission method based on a 5G network provided by the present invention.
[0053] Figure 2 This is a schematic diagram of the structure of the game video transmission system based on the 5G network provided by the present invention. DETAILED DESCRIPTION
[0054] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0055] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0057] See also Figure 1 As shown, a game video transmission method based on a 5G network provided in an embodiment of the present application includes:
[0058] Based on the game video acquisition request of the user terminal, determine the game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determine all video data senders matching the user terminal from the 5G network;
[0059] Based on the respective video data sending states of all video data sending terminals, all target video data sending terminals that can send the corresponding game video to the user terminal are determined from all video data sending terminals; based on the network locations of the user terminal and all target video data sending terminals in the 5G network, one target video data sending terminal is selected to establish a communication channel with the user terminal, so as to transmit the game video to the user terminal;
[0060] Based on the game video transmission status information of the selected target video data sending end, determine whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, select another target video data sending end from all target video data sending ends to build another communication channel with the user end, so as to continue to perform the game video transmission work to the user end.
[0061] The beneficial effects of the above embodiments are as follows: the game video transmission method based on the 5G network determines all video data senders matching the user terminal from the 5G network based on the game video attribute information that the user terminal expects to obtain, and determines all target video data senders that can send corresponding game videos to the user terminal based on the respective video data sending states of all video data senders, so as to facilitate finding a suitable game video source to the user terminal; based on the network positions of the user terminal and all target video data senders in the 5G network, a communication channel between the target video data sender and the user terminal is constructed to perform efficient and stable game video transmission to the user terminal; when it is necessary to switch the communication channel for game video transmission to the user terminal, another communication channel between the target video data sender and the user terminal is constructed to continue to perform game video transmission to the user terminal, thereby improving the smoothness and stability of game video transmission.
[0062] In another embodiment, based on a game video acquisition request of a user terminal, determining game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determining all video data senders matching the user terminal from the 5G network, including:
[0063] Parse and process the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task that the user terminal currently needs to execute;
[0064] The video file name information is compared with the video file storage directories of all video data senders under the 5G network. If the video file storage directory contains the video file name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
[0065] The beneficial effect of the above embodiment is that when the user terminal such as a smart phone or a portable computer held by the user needs to display a game video, a game video acquisition request is initiated externally, the game video acquisition request is parsed and processed, and the video file name information corresponding to the game video display task currently required to be executed by the user terminal is obtained, so as to facilitate the subsequent accurate retrieval of the corresponding game video according to the video file name information and transmit it to the user terminal, and provide a reliable video data source for the user terminal to display the game video. In addition, the video file name information is compared with the video file storage directory of each of all video data sending terminals under the 5G network. If the video file storage directory contains the video file name information, the corresponding video data sending terminal is determined as a video data sending terminal matching the user terminal, and the network gateway address of all video data sending terminals matching the user terminal in the 5G network is obtained, so that all video data sending terminals storing the video data required for the user terminal to display the game video can be screened out, and the network gateway connected to the 5G network is calibrated, so as to facilitate the subsequent accurate determination of the network path length between the user terminal and the video data sending terminal in the 5G network.
[0066] In another embodiment, based on the respective video data transmission states of all video data transmission terminals, all target video data transmission terminals that can transmit the corresponding game video to the user terminal are determined from all video data transmission terminals; based on the network positions of the user terminal and all target video data transmission terminals in the 5G network, a target video data transmission terminal is selected to form a communication channel with the user terminal, so as to transmit the game video to the user terminal, including:
[0067] Analyze the video sending logs of all video data sending ends matching the user end, and determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends;
[0068] Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal;
[0069] Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
[0070] The beneficial effect of the above embodiment is to analyze the respective video sending logs of all video data sending ends matching the user end, obtain the corresponding video data sending queue of each video data sending end during the video data sending process, analyze the video data sending queue, obtain the estimated sending time information of the video data of the game video that the user end expects to obtain from each video data sending end, and then determine the time difference between the estimated sending time information and the estimated playing time information of the game video that the user end expects to obtain. If the time difference is greater than or equal to the preset time difference threshold, it indicates that the corresponding video data sending end can completely transmit the video data to the user end before the user end plays the game video, and the corresponding video data sending end is determined as the target video data sending end that can send the corresponding game video to the user end, thereby providing different video data sending end options for sending video data to the user end. Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to form a communication channel with the user terminal, thereby ensuring efficient and fast video data transmission to the user terminal.
[0071] In another embodiment, based on the game video transmission state information of the selected target video data transmitting end, it is determined whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, another target video data transmitting end is selected from all target video data transmitting ends to establish another communication channel with the user end, so as to continue to perform the game video transmission work to the user end, including:
[0072] Obtaining an average transmission speed of a game video of a selected target video data transmitting end; if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end;
[0073] When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.
[0074] The beneficial effect of the above embodiment is to detect the speed of sending the game video from the target video data sending end currently connected to the user end to the user end, obtain the average transmission speed of the game video of the selected target video data sending end, and compare the threshold of the average transmission speed of the game video. If the average transmission speed of the game video is less than the preset transmission speed threshold, it indicates that the current game video transmission speed is too slow to ensure that the entire game video can be transmitted before the user end needs to display the game video. At this time, it is judged that the communication channel for transmitting the game video to the user end needs to be switched. When it is necessary to switch the communication channel for transmitting the game video to the user end, based on the network path length between the user end and each target video data sending end within the 5G network, the target video data sending end with the second minimum network path length is selected to form another communication channel with the user end, thereby switching the communication channel in time to improve the efficiency and reliability of transmitting the game video to the user end.
[0075] In another embodiment, after the target video data transmitting end establishes a communication channel with the user end, the transmission data is encrypted and compressed before data transmission, and the transmission data is decrypted and restored after the data transmission is completed.
[0076] Step S1, using the following formula (1), according to the terminal information data of the target video data sending end and the user end, encrypt the transmission data,
[0077]
[0078] In the above formula (1), d 16 Indicates the hexadecimal form of the encrypted transmission data after the transmission data is encrypted; D 16 Indicates the hexadecimal form of the transmitted data; Indicates the circular right shift symbol; F 16 The hexadecimal format of the terminal information data of the target video data sending end; Y 16 Indicates the hexadecimal form of the terminal information data of the user end; len() indicates the total number of digits of the hexadecimal data in the brackets;
[0079] Step S2, using the following formula (2), based on the terminal information data of the target video data sending end and the user end, the encrypted transmission data is compressed.
[0080] d' 16 =d 16 -{(F 16 +Y 16 )>>[len(F 16 +Y 16 )-1]} (2)
[0081] In the above formula (2), d' 16 Indicates the hexadecimal data after data compression of the encrypted transmission data; >> indicates the right shift sign; d' 16 Transmitted as actual transmission data;
[0082] Step S3, after the data transmission is completed, the following formula (3) is used to restore the transmitted data according to the terminal information data of the target video data sending end and the user end.
[0083]
[0084] In the above formula (3), D' 16 Indicates the hexadecimal data after the actual transmission data is restored; Indicates a circular left shift sign.
[0085] The beneficial effect of the above embodiment is that the transmission data is encrypted according to the terminal information data of the target video data sending end and the user end by using the above formula (1), so that the encryption is performed using the fixed parameters of the transmission, which ensures the reliability of the encryption and makes the encryption process simple and efficient; then the above formula (2) is used to compress the encrypted transmission data according to the terminal information data of the target video data sending end and the user end, thereby shortening the data, reducing the data transmission time, and improving the system efficiency; finally, the above formula (3) is used to restore the transmission data according to the terminal information data of the target video data sending end and the user end, so that the data is automatically restored to ensure the accuracy of the data and the reliability of the transmission.
[0086] See also Figure 2 As shown, a game video transmission system based on a 5G network provided by an embodiment of the present application includes:
[0087] A user terminal video demand determination module, used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal;
[0088] A video data sending terminal screening module, used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information;
[0089] A target video data sending terminal determining module, used to determine all target video data sending terminals that can send corresponding game videos to the user terminal from all video data sending terminals based on the video data sending states of all video data sending terminals;
[0090] A communication channel construction module, for selecting a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end;
[0091] A game video transmission state identification module, used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal;
[0092] The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work to the user end.
[0093] The beneficial effects of the above embodiments are as follows: the game video transmission system based on the 5G network determines all video data senders matching the user terminal from the 5G network based on the game video attribute information that the user terminal expects to obtain, and determines all target video data senders that can send corresponding game videos to the user terminal based on the respective video data sending states of all video data senders, so as to facilitate finding a suitable game video source for the user terminal; based on the network positions of the user terminal and all target video data senders in the 5G network, a communication channel between the target video data sender and the user terminal is constructed to perform efficient and stable game video transmission to the user terminal; when it is necessary to switch the communication channel for game video transmission to the user terminal, another communication channel between the target video data sender and the user terminal is constructed to continue to perform game video transmission to the user terminal, thereby improving the smoothness and stability of game video transmission.
[0094] In another embodiment, the user terminal video demand determination module is used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal, including:
[0095] Parse and process the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task that the user terminal currently needs to execute;
[0096] The video data sending terminal screening module is used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information, including:
[0097] The video file name information is compared with the video file storage directories of all video data senders under the 5G network. If the video file storage directory contains the video file name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
[0098] The beneficial effect of the above embodiment is that when the user terminal such as a smart phone or a portable computer held by the user needs to display a game video, a game video acquisition request is initiated externally, the game video acquisition request is parsed and processed, and the video file name information corresponding to the game video display task currently required to be executed by the user terminal is obtained, so as to facilitate the subsequent accurate retrieval of the corresponding game video according to the video file name information and transmit it to the user terminal, and provide a reliable video data source for the user terminal to display the game video. In addition, the video file name information is compared with the video file storage directory of each of all video data sending terminals under the 5G network. If the video file storage directory contains the video file name information, the corresponding video data sending terminal is determined as a video data sending terminal matching the user terminal, and the network gateway address of all video data sending terminals matching the user terminal in the 5G network is obtained, so that all video data sending terminals storing the video data required for the user terminal to display the game video can be screened out, and the network gateway connected to the 5G network is calibrated, so as to facilitate the subsequent accurate determination of the network path length between the user terminal and the video data sending terminal in the 5G network.
[0099] In another embodiment, the target video data sending end determination module is used to determine all target video data sending ends that can send the corresponding game video to the user end from all video data sending ends based on the respective video data sending states of all video data sending ends, including:
[0100] Analyze the video sending logs of all video data sending ends matching the user end, and determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends;
[0101] Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal;
[0102] The communication channel construction module is used to select a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end, including:
[0103] Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
[0104] The beneficial effect of the above embodiment is to analyze the respective video sending logs of all video data sending ends matching the user end, obtain the corresponding video data sending queue of each video data sending end during the video data sending process, analyze the video data sending queue, obtain the estimated sending time information of the video data of the game video that the user end expects to obtain from each video data sending end, and then determine the time difference between the estimated sending time information and the estimated playing time information of the game video that the user end expects to obtain. If the time difference is greater than or equal to the preset time difference threshold, it indicates that the corresponding video data sending end can completely transmit the video data to the user end before the user end plays the game video, and the corresponding video data sending end is determined as the target video data sending end that can send the corresponding game video to the user end, thereby providing different video data sending end options for sending video data to the user end. Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to form a communication channel with the user terminal, thereby ensuring efficient and fast video data transmission to the user terminal.
[0105] In another embodiment, the game video transmission state identification module is used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal, including:
[0106] Obtaining an average transmission speed of a game video of a selected target video data transmitting end; if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end;
[0107] The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work for the user end, including:
[0108] When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.
[0109] The beneficial effect of the above embodiment is to detect the speed of sending the game video from the target video data sending end currently connected to the user end to the user end, obtain the average transmission speed of the game video of the selected target video data sending end, and compare the threshold of the average transmission speed of the game video. If the average transmission speed of the game video is less than the preset transmission speed threshold, it indicates that the current game video transmission speed is too slow to ensure that the entire game video can be transmitted before the user end needs to display the game video. At this time, it is judged that the communication channel for transmitting the game video to the user end needs to be switched. When it is necessary to switch the communication channel for transmitting the game video to the user end, based on the network path length between the user end and each target video data sending end within the 5G network, the target video data sending end with the second minimum network path length is selected to form another communication channel with the user end, thereby switching the communication channel in time to improve the efficiency and reliability of transmitting the game video to the user end.
[0110] In general, the game video transmission method and system based on the 5G network determines all video data senders that match the user terminal from the 5G network based on the game video attribute information that the user terminal expects to obtain, and determines all target video data senders that can send corresponding game videos to the user terminal based on the respective video data sending states of all video data senders, so as to facilitate finding a suitable game video source for the user terminal; based on the network positions of the user terminal and all target video data senders in the 5G network, a communication channel between the target video data sender and the user terminal is constructed to perform efficient and stable game video transmission to the user terminal; when it is necessary to switch the communication channel for game video transmission to the user terminal, another communication channel between the target video data sender and the user terminal is constructed, so as to continue to perform game video transmission to the user terminal, thereby improving the smoothness and stability of game video transmission.
[0111] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.
Claims
1. A game video transmission method based on a 5G network, characterized in that: include: Based on the game video acquisition request of the user terminal, determine the game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determine all video data senders matching the user terminal from the 5G network; Based on the respective video data sending states of all video data sending terminals, determine all target video data sending terminals that can send the corresponding game video to the user terminal from all video data sending terminals; based on the network positions of the user terminal and all target video data sending terminals in the 5G network, select one target video data sending terminal to establish a communication channel with the user terminal, so as to transmit the game video to the user terminal; Based on the game video transmission status information of the selected target video data sending end, determine whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, select another target video data sending end from all target video data sending ends to build another communication channel with the user end, so as to continue to perform the game video transmission work to the user end.
2. The game video transmission method based on 5G network as claimed in claim 1, characterized in that: Based on a game video acquisition request of a user terminal, determining game video attribute information that the user terminal expects to obtain; based on the game video attribute information, determining all video data senders matching the user terminal from a 5G network, including: Parsing the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task currently required to be executed by the user terminal; The video document name information is compared with the respective video document storage directories of all video data senders under the 5G network. If the video document storage directory contains the video document name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
3. The game video transmission method based on 5G network as claimed in claim 1, characterized in that: Based on the respective video data sending states of all video data sending terminals, all target video data sending terminals that can send the corresponding game video to the user terminal are determined from all video data sending terminals; based on the network positions of the user terminal and all target video data sending terminals in the 5G network, a target video data sending terminal is selected to establish a communication channel with the user terminal, so as to transmit the game video to the user terminal, including: Analyze the video sending logs of all video data sending ends matching the user end to determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends; Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal; Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
4. The game video transmission method based on 5G network as claimed in claim 1, characterized in that: Based on the game video transmission state information of the selected target video data sending end, it is determined whether it is necessary to switch the communication channel for transmitting the game video to the user end; when it is necessary to switch the communication channel, another target video data sending end is selected from all the target video data sending ends to establish another communication channel with the user end, so as to continue to perform the game video transmission work to the user end, including: Obtaining an average transmission speed of a game video of a selected target video data transmitting end, and if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end; When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.
5. The game video transmission method based on 5G network as claimed in claim 4, characterized in that: After the target video data sending end and the user end establish a communication channel, the transmission data is encrypted and compressed before data transmission, and the transmission data is decrypted and restored after the data transmission is completed. Step S1, using the following formula (1), according to the terminal information data of the target video data sending end and the user end, encrypt the transmission data, In the above formula (1), d 16 Indicates the hexadecimal form of the encrypted transmission data after the transmission data is encrypted; D 16 Indicates the hexadecimal form of the transmitted data; Indicates the circular right shift symbol; F 16 The hexadecimal form of the terminal information data of the target video data sending end; Y 16 Indicates the hexadecimal form of the terminal information data of the user terminal; len() indicates the total number of bits of the hexadecimal data in the brackets; Step S2, using the following formula (2), based on the terminal information data of the target video data sending end and the user end, the encrypted transmission data is compressed. d' 16 =d 16 -{(F 16 +Y 16 )>>[len(F 16 +Y 16 )-1]} (2) In the above formula (2), d' 16 Indicates the hexadecimal data after data compression of the encrypted transmission data; >> indicates the right shift sign; d' 16 Transmitted as actual transmission data; Step S3, after the data transmission is completed, the following formula (3) is used to restore the transmitted data according to the terminal information data of the target video data sending end and the user end. In the above formula (3), D' 16 Indicates the hexadecimal data after the actual transmission data is restored; Indicates a circular left shift sign.
6. The game video transmission system based on 5G network is characterized by: include: A user terminal video demand determination module, used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal; A video data sending terminal screening module, used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information; A target video data sending end determining module, used to determine all target video data sending ends that can send corresponding game videos to the user end from all video data sending ends based on the respective video data sending states of all video data sending ends; A communication channel construction module, configured to select a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end; A game video transmission state identification module, used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal; The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work to the user end.
7. The game video transmission system based on 5G network as claimed in claim 6, characterized in that: The user terminal video demand determination module is used to determine the game video attribute information that the user terminal expects to obtain based on the game video acquisition request of the user terminal, including: Parsing the game video acquisition request of the user terminal to obtain the video file name information corresponding to the game video display task currently required to be executed by the user terminal; The video data sending terminal screening module is used to determine all video data sending terminals matching the user terminal from the 5G network based on the game video attribute information, including: The video document name information is compared with the respective video document storage directories of all video data senders under the 5G network. If the video document storage directory contains the video document name information, the corresponding video data sender is determined as the video data sender that matches the user terminal, and the network gateway addresses of all video data senders that match the user terminal within the 5G network are obtained.
8. The game video transmission system based on 5G network as claimed in claim 6, characterized in that: The target video data sending end determination module is used to determine all target video data sending ends that can send corresponding game videos to the user end from all video data sending ends based on the respective video data sending states of all video data sending ends, including: Analyze the video sending logs of all video data sending ends matching the user end to determine the estimated sending time information of the video data of the game video that the user end expects to obtain from all video data sending ends; Based on the estimated sending time information and the estimated playing time information of the game video that the user terminal expects to obtain, determine the time difference between the two; if the time difference is greater than or equal to a preset time difference threshold, determine the corresponding video data sending end as a target video data sending end that can send the corresponding game video to the user terminal; The communication channel construction module is used to select a target video data sending end to form a communication channel with the user end based on the network positions of the user end and all target video data sending ends in the 5G network, so as to transmit the game video to the user end, including: Based on the network gateway addresses of the user terminal and all target video data senders within the 5G network, the network path length between the user terminal and each target video data sender within the 5G network is determined, and the target video data sender with the smallest network path length is selected to establish a communication channel with the user terminal, thereby transmitting the game video to the user terminal.
9. The game video transmission system based on 5G network as claimed in claim 6, characterized in that: The game video transmission state identification module is used to determine whether it is necessary to switch the communication channel for transmitting the game video to the user terminal based on the game video transmission state information of the selected target video data sending terminal, including: Obtaining an average transmission speed of a game video of a selected target video data transmitting end, and if the average transmission speed of the game video is less than a preset transmission speed threshold, determining that it is necessary to switch a communication channel for transmitting the game video to the user end; otherwise, determining that it is not necessary to switch a communication channel for transmitting the game video to the user end; The communication channel switching module is used to select another target video data sending end from all target video data sending ends to build another communication channel with the user end when the communication channel needs to be switched, so as to continue to perform the game video transmission work to the user end, including: When it is necessary to switch the communication channel for transmitting the game video to the user terminal, based on the network path length between the user terminal and each target video data sending terminal within the 5G network, select the target video data sending terminal with the second minimum network path length to build another communication channel with the user terminal; and based on the game video data reception record of the user terminal, continue to perform the game video transmission work to the user terminal.