Image processing method and apparatus, server, and medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXinda Zhao, Minhua Xu, Zhipeng Gong
Life of this patent
Estimating the term…
Abstract
Embodiments of this application disclose an image processing method and apparatus, a server, and a medium. The method is performed by a server, and includes obtaining, when running a target cloud game, feedback data transmitted by a target game client, the feedback data reflecting a frame rate need of the target game client; determining an encoding frame rate according to the feedback data; performing image encoding on a game screen of the target cloud game according to the encoding frame rate to obtain encoded data; and transmitting the encoded data to the target game client.
Claims20
An image processing method, performed by a target edge server in a cloud gaming system, the target edge server comprising a graphics processing unit (GPU), and the method comprising:
- obtaining, when running a target cloud game in a target container, feedback data transmitted by a target game client, the feedback data reflecting a frame rate need of the target game client, wherein the target container is one of a plurality of system containers running on the target edge server, and the target game client is connected to the target container;
- determining an encoding frame rate according to the feedback data;
- performing image encoding on a game screen of the target cloud game according to the encoding frame rate to obtain encoded data;
- transmitting the encoded data to the target game client;
- determining an amount of remaining resources of the GPU of the target edge server according to a total amount of resources and an amount of occupied resources of the GPU of the target edge server, wherein the amount of occupied resources comprises at least an amount of resources occupied by the image encoding of the game screen, and the total amount of resources of the GPU comprises at least an amount of GPU memory;
- and
- adjusting a quantity of the plurality of system containers running in the target edge server according to the amount of remaining resources.
A target edge server in a cloud gaming system, comprising:
- a computer storage medium, configured to store one or more instructions;
- and
- a processor comprising a graphics processing unit (GPU), the processor being configured to load the one or more instructions stored in the computer storage medium to perform operations comprising:
- obtaining, when running a target cloud game in a target container, feedback data transmitted by a target game client, the feedback data reflecting a frame rate need of the target game client, wherein the target container is one of a plurality of system containers running on the target edge server, and the target game client is connected to the target container;
- determining an encoding frame rate according to the feedback data;
- performing image encoding on a game screen of the target cloud game according to the encoding frame rate to obtain encoded data;
- transmitting the encoded data to the target game client;
- determining an amount of remaining resources of the GPU of the target edge server according to a total amount of resources and an amount of occupied resources of the GPU of the target edge server, wherein the amount of occupied resources comprises at least an amount of resources occupied by the image encoding of the game screen, and the total amount of resources of the GPU comprises at least an amount of GPU memory;
- and
- adjusting a quantity of the plurality of system containers running in the target edge server according to the amount of remaining resources.
A non-transitory computer readable storage medium, storing one or more instructions, the one or more instructions being adapted to be loaded by a processor of a target edge server in a cloud gaming system and perform:
- obtaining, when running a target cloud game in a target container, feedback data transmitted by a target game client, the feedback data reflecting a frame rate need of the target game client, wherein the target container is one of a plurality of system containers running on the target edge server, and the target game client is connected to the target container;
- determining an encoding frame rate according to the feedback data;
- performing image encoding on a game screen of the target cloud game according to the encoding frame rate to obtain encoded data;
- transmitting the encoded data to the target game client;
- determining an amount of remaining resources of a graphics processing unit (GPU) of the target edge server according to a total amount of resources and an amount of occupied resources of the GPU of the target edge server, wherein the amount of occupied resources comprises at least an amount of resources occupied by the image encoding of the game screen, and the total amount of resources of the GPU comprises at least an amount of GPU memory;
- and
- adjusting a quantity of the plurality of system containers running in the target edge server according to the amount of remaining resources.
Dependencies are inferred from the claim text.