Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A cloud game data acquisition method and system

A data acquisition system and data acquisition technology, applied in the field of cloud games, can solve problems such as high data transmission delay requirements, affecting user experience, increasing game data transmission delay, etc., to achieve the goal of reducing delay and improving user experience Effect

Inactive Publication Date: 2019-06-04
FENGHUO COMM SCI & TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The former relies too much on the graphics card manufacturer, while the latter captures the desktop and increases the delay of game data transmission
However, the experience effect of cloud games has high requirements on the delay of data transmission, and the method of capturing game screens based on the desktop will seriously affect the user experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A cloud game data acquisition method and system
  • A cloud game data acquisition method and system
  • A cloud game data acquisition method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] This embodiment provides a cloud game data collection method, the method includes the following steps:

[0056]Inject the custom DLL into the target game process, and insert the custom MyEndScence function for collecting data into the rendering pipeline of Direct3D;

[0057] Make the target game process jump to the MyEndScence function, copy the back-end cache BackBuffer of the target game from the video memory of the graphics card to the internal memory to obtain the original RGB pixel data, and encode the original RGB pixel data.

[0058] Specifically, see figure 1 As shown, the specific implementation process of the above method is as follows:

[0059] S1. Inject the custom DLL into the target game process, and execute the custom DLL in the target game process;

[0060] S2. Insert the custom MyEndScence function for collecting data into the rendering pipeline of Direct3D;

[0061] S3. Make the target game process jump to the MyEndScence function, and copy the back...

Embodiment 2

[0067] see figure 2 As shown, as a better optional method, on the basis of Embodiment 1, the custom DLL is injected into the target game process, and the custom DLL is executed in the target game process, and the specific steps include:

[0068] S11. Create a process in a paused state to execute the target game;

[0069] S12. Apply for memory space in the target game process, and store the path of the custom DLL;

[0070] S13. Create a remote thread in the target game process, and use the remote thread to load a custom DLL;

[0071] In this embodiment, the remote thread calls the LoadLibrary function to load the injected DLL, and the function of the LoadLibrary function is to load the specified module into the address space of the calling process. The name of the module can be a library module (.dll file).

[0072] S14. Restoring the target game process to the running state.

[0073] After the above steps are completed, the custom DLL can be executed in the target game, a...

Embodiment 3

[0075] As a better alternative, on the basis of Embodiment 1, the target game process is jumped to the MyEndScence function, and the specific steps include:

[0076] Create an IDirect3DDevice9 interface pointer object in a custom DLL;

[0077] IDirect3DDevice9 is a device pointer interface in Direct3D, which represents the physical hardware device used to display 3D images. The resource of the physical hardware device (GPU) is called through the pointer interface to complete the rendering pipeline of the image.

[0078] Use the base address of the IDirect3DDevice9 interface pointer object to find the address of the virtual function EndScence, replace the address of the virtual function EndScence with a jump command, and specify the jump address as the custom MyEndScence function address;

[0079] Hook the virtual function EndScence and execute the virtual function EndScence.

[0080] Hook refers to intercepting system messages and functions or messages and functions of a cer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cloud game data collection method and system, and relates to the field of cloud games, and the method comprises the following steps: injecting a customized DLL into a targetgame process, and inserting a customized MyEndScence function for collecting data into a Direct3D rendering pipeline; Enabling the target game process to skip to a MyEndScence function, and copying abackend cache Buffer of the target game from a video memory of a video card to a memory to obtain original RGB pixel data and encode the original RGB pixel data. According to the cloud game data collection method, data collection does not depend on SDK provided by a display card manufacturer, time delay can be shortened, and user experience can be improved.

Description

technical field [0001] The present invention relates to the field of cloud games, in particular to a cloud game data collection method and system. Background technique [0002] With the continuous development of the Internet, the economic effects brought by cloud computing are immeasurable. As one of the expected applications of cloud computing, cloud gaming has brought a disruptive change to the gaming field. [0003] The cloud game operation mode means that all games are run on the server side, and the rendered game screen is compressed and transmitted to the user through the network. On the client side, the user's gaming device does not require any high-end processors and graphics cards, nor does it need to download and install any game content. The client only needs basic video decompression capabilities and a good network environment to receive high-quality game images. [0004] For the collection of game screens, the existing technology relies on the SDK provided by...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/14G06T15/00G06F9/445A63F13/60
Inventor 左成沈琼霞姜超刘强
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products