CN-122028124-A - Scene data transmission method, device, system, equipment, medium and product
Abstract
A scene data transmission method, apparatus, system, device, medium and product. The method comprises the steps of receiving a scene switching message, wherein the scene switching message is sent by a first server in response to switching of a first virtual reality scene, responding to the scene switching message, sending the current terminal position of a virtual reality terminal to a second server, enabling the second server to conduct scheduling optimization of network equipment based on the network equipment position and the current terminal position, obtaining and returning first network equipment identification information, switching connection to the first network equipment based on the first network equipment identification information, receiving scene data based on the first network equipment, wherein the scene data is data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after switching of the first virtual reality scene, so that dynamic switching of the network equipment is achieved, the moving range of the virtual reality terminal is larger, and stability of wireless streaming is guaranteed.
Inventors
- LU YUN
- SUN JINBO
- RAN RUIYUAN
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260210
Claims (15)
- 1. A scene data transmission method applied to a virtual reality terminal, the method comprising: Receiving a scene switching message, wherein the scene switching message is sent by a first server in response to switching of a first virtual reality scene; Responding to the scene switching message, and sending the current terminal position of the virtual reality terminal to a second server so that the second server performs scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain and return first network equipment identification information, wherein the first network equipment identification information corresponds to the virtual reality terminal; Based on the first network equipment identification information, switching connection to first network equipment, and based on the first network equipment, receiving scene data, wherein the scene data is the scene data sent by the first server, the scene data is the data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after the first virtual reality scene is switched.
- 2. The scene data transmission method according to claim 1, the method further comprising: responding to the scene switching message, and performing local rendering based on virtual reality data, wherein the virtual reality data is prestored in the virtual reality terminal; And stopping local rendering in response to receiving a scene switching end message, wherein the scene switching end message is sent by the first server in response to the completion of resource loading of the second virtual reality scene.
- 3. A scene data transmission method applied to a second server, the method comprising: Receiving a current terminal position of a virtual reality terminal, wherein the current terminal position is sent by the virtual reality terminal in response to receiving a scene switching message, and the scene switching message is sent by a first server in response to switching of a first virtual reality scene; Performing scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain first network equipment identification information, wherein the first network equipment identification information corresponds to the virtual reality terminal; And returning the first network equipment identification information to the virtual reality terminal, so that the virtual reality terminal is switched to be connected to first network equipment based on the first network equipment identification information, and receives scene data based on the first network equipment, wherein the scene data is the scene data sent by the first server, the scene data is the data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after the first virtual reality scene is switched.
- 4. The scene data transmission method according to claim 3, wherein the performing scheduling optimization of the network device based on the network device location and the current terminal location to obtain the first network device identification information includes: Determining a current signal strength set based on a network device position and the current terminal position, wherein the current signal strength set comprises current signal strength when each virtual reality terminal is connected with each network device in a virtual reality field; Determining a connection stability degree, a load balancing degree and a communication quality degree corresponding to each first scheduling strategy based on the current signal strength set, wherein different first scheduling strategies are used for representing different connection relations between the virtual reality terminal and the network equipment; and determining a second scheduling strategy from the first scheduling strategy based on the connection stability degree, the load balancing degree and the communication quality degree, and acquiring first network equipment identification information based on the second scheduling strategy.
- 5. The scene data transmission method according to claim 4, wherein said determining a current signal strength set based on a network device location and said current terminal location comprises: constructing a signal intensity attenuation model corresponding to each network device; determining, for each virtual reality terminal and each network device, a current signal strength when the virtual reality terminal is connected to the network device based on a current terminal position of the virtual reality terminal, a network device position, and a signal strength attenuation model corresponding to the network device; And combining the current signal strength of each virtual reality terminal when each network device is connected to obtain a current signal strength set.
- 6. The method for transmitting scene data according to claim 4, wherein determining the connection stability level, the load balancing level and the communication quality level corresponding to each first scheduling policy based on the current signal strength set comprises: Aiming at each first scheduling strategy, based on the current signal strength set, obtaining the current signal strength of each virtual reality terminal in the first scheduling strategy when the virtual reality terminal is connected with network equipment, and determining the connection stability degree corresponding to the first scheduling strategy based on the current signal strength, the weakest signal threshold of the terminal and the strongest signal threshold of the terminal; determining a load balancing degree corresponding to the first scheduling policy based on a connection relation between the virtual reality terminal and the network equipment in the first scheduling policy; And determining the communication quality degree corresponding to the first scheduling strategy based on the current signal strength and the strongest signal threshold of the terminal.
- 7. The method for transmitting scene data according to claim 6, wherein the determining the connection stability degree corresponding to the first scheduling policy based on the current signal strength, the terminal weakest signal threshold, and the terminal strongest signal threshold comprises: determining a signal intensity difference value corresponding to each virtual reality terminal based on the current signal intensity and a terminal weakest signal threshold value; Determining a threshold difference value between a strongest signal threshold value of the terminal and a weakest signal threshold value of the terminal, dividing the signal intensity difference value corresponding to each virtual reality terminal by the threshold difference value, and obtaining a target ratio corresponding to each virtual reality terminal; And carrying out average processing on the target ratio to obtain the connection stability degree corresponding to the first scheduling strategy.
- 8. The method for transmitting scene data according to claim 6, wherein the determining the load balancing degree corresponding to the first scheduling policy based on the connection relationship between the virtual reality terminal and the network device in the first scheduling policy includes: Determining the number of virtual reality terminals connected with each network device based on the connection relation between the virtual reality terminals and the network devices in the first scheduling strategy; Determining a load rate corresponding to each network device based on the number of virtual reality terminals connected with each network device and the maximum allowable connection number; And determining the load balancing degree corresponding to the first scheduling strategy based on the load rate corresponding to each network device.
- 9. The method for transmitting scene data according to claim 6, wherein the determining the communication quality level corresponding to the first scheduling policy based on the current signal strength and the terminal strongest signal threshold value includes: Dividing the current signal intensity of each virtual reality terminal in the first scheduling strategy when the virtual reality terminal is connected with the network equipment by the strongest signal threshold of the terminal to obtain a signal intensity ratio corresponding to each virtual reality terminal; and carrying out average processing on the signal strength ratios corresponding to all the virtual reality terminals to obtain the communication quality degree corresponding to the first scheduling strategy.
- 10. A scene data transmission apparatus integrated in a virtual reality terminal, the apparatus comprising: the scene switching message receiving module is used for receiving a scene switching message, wherein the scene switching message is sent by the first server in response to the switching of the first virtual reality scene; The current terminal position sending module is used for responding to the scene switching message and sending the current terminal position of the virtual reality terminal to a second server so that the second server performs scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain and return first network equipment identification information, and the first network equipment identification information corresponds to the virtual reality terminal; The network device switching module is configured to switch connection to a first network device based on the first network device identification information, and receive scene data based on the first network device, where the scene data is scene data sent by the first server, the scene data is data of a second virtual reality scene, and the second virtual reality scene is a virtual reality scene after the first virtual reality scene is switched.
- 11. A scene data transmission device integrated with a second server, the device comprising: The system comprises a current terminal position receiving module, a first server and a second server, wherein the current terminal position receiving module is used for receiving the current terminal position of a virtual reality terminal, the current terminal position is sent by the virtual reality terminal in response to receiving a scene switching message, and the scene switching message is sent by the first server in response to switching of a first virtual reality scene; the network equipment scheduling optimization module is used for performing scheduling optimization of network equipment based on the network equipment position and the current terminal position so as to obtain first network equipment identification information, wherein the first network equipment identification information corresponds to the virtual reality terminal; The device identification information sending module is used for returning the first network device identification information to the virtual reality terminal, so that the virtual reality terminal is switched to be connected to first network devices based on the first network device identification information, and receives scene data based on the first network devices, wherein the scene data are the scene data sent by the first server, the scene data are the data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after the first virtual reality scene is switched.
- 12. A scene data transmission system comprises a plurality of virtual reality terminals, a plurality of network devices, a first server and a second server; Wherein each virtual reality terminal of the plurality of virtual reality terminals is configured to implement the scene data transmission method of any of claims 1-2; the second server is configured to implement the scene data transmission method according to any one of claims 3 to 9.
- 13. An electronic device, the electronic device comprising: one or more processors; storage means for storing one or more programs, The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the scene data transmission method of any of claims 1-9.
- 14. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the scene data transmission method of any of claims 1-9.
- 15. A computer program product comprising a computer program which, when executed by a processor, implements the scene data transmission method according to any of claims 1-9.
Description
Scene data transmission method, device, system, equipment, medium and product Technical Field Relates to the technical field of computers, in particular to a scene data transmission method, a device, a system, equipment, a medium and a product. Background With the rapid development of computer technology, users can freely move in a large-space place by using a virtual reality terminal, and perform immersive deep interaction with a virtual environment. When the virtual reality scene data is transmitted to the virtual reality terminal, the virtual reality terminal and the network equipment are fixedly bound and connected in the existing mode, so that the moving range of the virtual reality terminal is limited. Disclosure of Invention The method, the device, the system, the equipment, the medium and the product for transmitting the scene data are provided for realizing dynamic switching of network equipment, so that the moving range of the virtual reality terminal is larger, and the stability of wireless streaming is ensured. In a first case, provided herein is a scene data transmission method applied to a virtual reality terminal, the method including: Receiving a scene switching message, wherein the scene switching message is sent by a first server in response to switching of a first virtual reality scene; Responding to the scene switching message, and sending the current terminal position of the virtual reality terminal to a second server so that the second server performs scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain and return first network equipment identification information, wherein the first network equipment identification information corresponds to the virtual reality terminal; Based on the first network equipment identification information, switching connection to first network equipment, and based on the first network equipment, receiving scene data, wherein the scene data is the scene data sent by the first server, the scene data is the data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after the first virtual reality scene is switched. In a second scenario, there is also provided herein a scene data transmission method applied to a second server, the method comprising: Receiving a current terminal position of a virtual reality terminal, wherein the current terminal position is sent by the virtual reality terminal in response to receiving a scene switching message, and the scene switching message is sent by a first server in response to switching of a first virtual reality scene; Performing scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain first network equipment identification information, wherein the first network equipment identification information corresponds to the virtual reality terminal; And returning the first network equipment identification information to the virtual reality terminal, so that the virtual reality terminal is switched to be connected to first network equipment based on the first network equipment identification information, and receives scene data based on the first network equipment, wherein the scene data is the scene data sent by the first server, the scene data is the data of a second virtual reality scene, and the second virtual reality scene is the virtual reality scene after the first virtual reality scene is switched. In a third aspect, there is also provided a scene data transmission apparatus integrated in a virtual reality terminal, the apparatus comprising: the scene switching message receiving module is used for receiving a scene switching message, wherein the scene switching message is sent by the first server in response to the switching of the first virtual reality scene; The current terminal position sending module is used for responding to the scene switching message and sending the current terminal position of the virtual reality terminal to a second server so that the second server performs scheduling optimization of network equipment based on the network equipment position and the current terminal position to obtain and return first network equipment identification information, and the first network equipment identification information corresponds to the virtual reality terminal; The network device switching module is configured to switch connection to a first network device based on the first network device identification information, and receive scene data based on the first network device, where the scene data is scene data sent by the first server, the scene data is data of a second virtual reality scene, and the second virtual reality scene is a virtual reality scene after the first virtual reality scene is switched. In a fourth scenario, there is also provided herein a scene data transmission apparatus integrated with a second ser