WO2017129117A1 - 一种gpu资源重建的方法、用户设备,系统及存储介质 - Google Patents
一种gpu资源重建的方法、用户设备,系统及存储介质 Download PDFInfo
- Publication number
- WO2017129117A1 WO2017129117A1 PCT/CN2017/072537 CN2017072537W WO2017129117A1 WO 2017129117 A1 WO2017129117 A1 WO 2017129117A1 CN 2017072537 W CN2017072537 W CN 2017072537W WO 2017129117 A1 WO2017129117 A1 WO 2017129117A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gpu
- resource pool
- user equipment
- resource
- default resource
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5044—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/461—Saving or restoring of program or task context
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Definitions
- the present application relates to the field of cloud technologies, and in particular, to a method, user equipment, and system for resource reconstruction.
- Cloud interactive systems usually include servers and multiple user devices. Servers can be cluster servers, multiple interactions. Applications can run in a cloud interactive system.
- the server is usually responsible for image drawing. After the drawing is completed, the drawn image frame is sent to the user equipment, and the user equipment receives the drawn image. After the frame, the image frame is directly decoded, and then the image screen is displayed.
- the usage status of the GPU resource is not directly recorded, and the GPU resource cannot be released and reconstructed when the GPU is restored after the GPU is lost.
- the embodiment of the present application provides a resource reconstruction method, a user equipment, a system, and a storage medium, which ensure normal use of the system and improve user experience.
- a first aspect of the present application provides a method for resource reconstruction, the method being applied to a cloud interactive system, where the cloud interactive system includes a user equipment and a server, where the user equipment includes a graphics processor GPU, and the GPU Having a corresponding default resource pool, the method includes:
- the user equipment receives the drawing data sent by the server, where the drawing data includes a drawing instruction and a drawing resource corresponding to the drawing instruction;
- the GPU resource that needs to be created in the default resource pool is recorded as the resource held in the default resource pool;
- the user equipment releases the resources held in the default resource pool, and reconstructs resources in the default resource pool according to the resources held in the default resource pool.
- the second aspect of the present application provides a user equipment, where the user equipment is located in the cloud interactive system, the cloud interactive system further includes a server, where the user equipment includes a graphics processor GPU, The GPU has a corresponding default resource pool, and the user equipment includes:
- a receiving unit configured to receive drawing data sent by the server, where the drawing data includes a drawing instruction and a drawing resource corresponding to the drawing instruction;
- a recording unit configured to record, by the drawing resource, a GPU resource created in a default resource pool as a resource held in the default resource pool;
- a determining unit configured to determine, according to the drawing instruction, whether the GPU is in a lost state, and if yes, determine whether to perform GPU recovery;
- a reconstruction unit configured to: when the GPU is determined to perform GPU recovery, release the resources held in the default resource pool, and reconstruct resources in the default resource pool according to the resources held in the default resource pool.
- a third aspect of the present application provides a cloud interactive system, including a server and a user equipment, where the user equipment is the user equipment according to any one of the second aspects.
- a fourth aspect of embodiments of the present application provides a non-volatile storage medium in which computer readable instructions are stored. When the instructions are executed, the computer is caused to perform the resource reconstruction method described above.
- Figure 1 is a schematic diagram of a cloud game architecture
- FIG. 2 is a schematic diagram of an embodiment of a method for reconstructing GPU resources in an embodiment of the present application
- FIG. 3 is a schematic diagram of a specific cloud game architecture of a method for reconstructing GPU resources in an embodiment of the present application
- FIG. 4 is a schematic diagram of another embodiment of a method for reconstructing GPU resources in an embodiment of the present application.
- FIG. 5 is a schematic diagram of an embodiment of a user equipment in an embodiment of the present application.
- FIG. 6 is a schematic diagram of another embodiment of a user equipment in an embodiment of the present application.
- the embodiment of the present application provides a method for resource reconstruction, a user equipment, a system, and a storage medium, which ensure normal use of the system and improve user experience.
- the cloud interactive system includes a user equipment and a server, and the user equipment may have multiple, and the server may also be a server cluster.
- An interactive application can run in a cloud interactive system.
- the user equipment can be a terminal device such as a personal computer (PC), a notebook, and a mobile phone.
- the server may be a dedicated game server. Currently, the server records the data stream, compresses and transmits the data to the user equipment through the network, and the user equipment can play back the drawing instruction, play the drawing resource, and reproduce the rendering picture.
- the user equipment includes the graphics processor. GPU.
- Direct3D is a 3D (3Dimensions, 3D) graphical programming interface developed by Microsoft for the Windows operating system. It is the basic library for 3D game development on Windows and is the programming interface of the Graphics Processing Unit (GPU).
- GPU Graphics Processing Unit
- the GPU resources managed in Direct 3D are classified into three types according to the storage location: Managed Resources, Default Resources, and System Memory Resources. Among them, the managed resource pool resource and the system memory resource pool resource are not affected by the GPU loss, and need not be processed when the GPU is lost. The resources in the default resource pool need to be released and re-created when device recovery is detected after the GPU is lost.
- the user equipment has a corresponding default resource pool
- the user equipment may be a smart terminal such as a smart phone or a tablet computer, or may be an MP3 player (Moving Picture Experts Group Audio Layer III). Level 3), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer, car audio and video equipment, desktop computer and so on.
- MP3 player Moving Picture Experts Group Audio Layer III. Level 3
- MP4 Moving Picture Experts Group Audio Layer IV
- an embodiment of a method for resource reconstruction in an embodiment of the present application includes:
- the user equipment receives the drawing data sent by the server.
- the drawing data includes a drawing instruction and a drawing resource corresponding to the drawing instruction
- the server records the data stream by recording, compresses and transmits the data to the user equipment through the network, and the user equipment receives the drawing data sent by the server.
- the user equipment where the drawing resource needs to be created in the default resource pool, is recorded as a resource held in the default resource pool.
- the GPU resource needs to be created in the default resource pool.
- the GPU resource created in the default resource pool is recorded in the default resource pool.
- the resources to be held need to be described. If the mapped resource needs to create a corresponding GPU resource in the default resource pool and is recorded as the resource held in the default resource pool, the record may not be repeated.
- the user equipment determines whether the GPU is lost according to the drawing instruction, and if so, step 204;
- a GPU Graphics Processing Unit
- GPU Graphics Processing Unit
- the application is re-assigned to the GPU. When the GPU is lost, the application cannot continue to render effectively. When the device is restored, the previously held GPU resources are re-released.
- the drawing instruction may include a first detection function for detecting a current GPU state.
- the user equipment determines, according to the drawing instruction, whether the GPU is in a lost state, including: playing back the user equipment.
- the drawing instruction acquires a first return value returned by the first detection function; and the user equipment determines, according to the first return value, whether the GPU is lost.
- the first detection function may be a Present function included in the drawing instruction.
- the Present function returns D3DERR_DEVICELOST. At this time, the return value is obtained, and then the GPU is lost.
- the user equipment determines whether to perform GPU recovery, and if so, step 205;
- the method may further include:
- the user equipment inserts a second detection function for detecting whether to perform GPU recovery in the drawing instruction. At this time, the user equipment determines whether to perform GPU recovery, and the user equipment may play back the drawing instruction. Obtaining a second return value returned by the second detection function; and determining, by the user equipment, whether to perform GPU recovery according to the second return value.
- the second detection function may be a TestCooperativeLevel function, and when the return value of the TestCooperativeLevel function is obtained as D3DERR_DEVICENOTRESET, it is determined to perform GPU recovery.
- the TestCooperativeLevel function can also be used to determine whether the GPU is lost.
- the return value of the TestCooperativeLevel function includes D3DERR_DEVICELOST, the return value can be obtained at this time to determine whether the GPU is lost.
- the user equipment releases the resources held in the default resource pool, and re-establishes the resources in the default resource pool according to the recorded resources in the default resource pool.
- GPU graphics processing unit
- the GPU usage right may be deprived, and the GPU resources held by the application are also released. This process is that the GPU is lost and corresponds to the GPU loss.
- Another state is GPU recovery, in which the application is re-assigned to the GPU to release and rebuild the previously held GPU resources when the GPU is restored.
- D3DPOOL_DEFAULT (default resource pool)
- the resources created for the parameters are the memory allocated in the graphics card, so make sure all the devices are reset before resetting the device. Resources of the D3DPOOL_DEFAULT (default resource pool) type must be released.
- the user equipment needs to release the resources held in the default resource pool, and reconstruct the resources in the default resource pool according to the resources held in the default resource pool.
- the user equipment releases the resources held in the default resource pool and reconstructs the resources in the default resource pool according to the recorded resources in the default resource pool, which may be implemented by using a Reset function of the processing device loss recovery. .
- the GPU resources that need to be created in the default GPU resource pool are mapped to the resources held in the default resource pool, and the GPU is restored after the GPU is lost. Releasing the resources held in the default resource pool and performing resource reconstruction in the default resource pool by using the resources held in the default resource pool currently recorded, thereby implementing GPU recovery and avoiding in the interactive application system. Since all the data is obtained from the server, the GPU recovery process cannot be performed after the GPU is lost, which ensures the normal use of the system and improves the user experience.
- the drawing instruction needs to include the target GPU resource in the GPU resource created in the default resource pool, where the drawing instruction includes the lifetime information of the target GPU resource;
- the method further includes: when the user equipment reaches the lifetime of the target GPU resource, releasing the target GPU resource, and deleting the target GPU resource as a record holding the resource in the default resource pool, that is, the default When the GPU resource held in the resource pool reaches the lifetime, the resource is released, and the record holding the resource in the default resource pool is deleted, and the resource is more effectively utilized, and the default resource is reconstructed. Avoid unnecessary resource rebuilds when holding resources in the pool.
- the method may further include:
- the user equipment detects whether all the resources held in the default resource pool are successfully re-established, and if not, releases the resources held in the default resource pool, and according to the recorded resources in the default resource pool Rebuild the resources in the default resource pool.
- the cloud game client running on the device is shown in Figure 3.
- the game runs on the cloud game server.
- the cloud game server records the data stream through compression, and then transmits it to the cloud game client through the Internet.
- the cloud game client plays back. Drawing instructions, playing drawing data, and reproducing the rendered picture.
- a Direct 3D status recorder is set in the cloud game client, and the drawing resource received from the cloud game server needs to be created in the default resource pool. GPU resources.
- another embodiment of the resource reconstruction method in this embodiment of the present application includes:
- the cloud game client receives the drawing data sent by the cloud game server.
- the drawing data includes a drawing instruction and a drawing resource corresponding to the drawing instruction.
- the cloud game client records, by using a Direct 3D state recorder, the GPU resource that needs to be created in the Default Resources by the drawing resource, and records the resource held by the Default Resources;
- the drawing instruction includes a Present function.
- TestCooperativeLevel function is used to detect whether GPU recovery is performed.
- step 405 the cloud game client plays back the drawing instruction to determine whether it is in the GPU lost state, and if so, step 405 is performed;
- the cloud game client plays back the drawing instruction to determine whether it is in a GPU lost state, and may be: playing back the drawing instruction to determine whether the GPU is in a lost state according to the return value of the Present function, and when the GPU loses the state, the Present function returns a D3DERR_DEVICELOST, At this point, the return value is obtained to determine whether the GPU is lost.
- the cloud game client determines whether to perform GPU recovery.
- TestCooperativeLevel function When the return value of the TestCooperativeLevel function is obtained as D3DERR_DEVICENOT RESET, it is determined to perform GPU recovery.
- the cloud game client releases the resources held in the Default Resources, and reconstructs the resources in the default resource pool according to the resources held in the recorded Default Resources.
- the user equipment is located in the cloud interactive system, and the cloud interactive system further includes a server, where the user equipment includes a graphics processor GPU, and the GPU has Corresponding default resource pool.
- an embodiment of the user equipment 500 in this embodiment of the present application includes:
- the receiving unit 501 is configured to receive the drawing data sent by the server, where the drawing data includes a drawing instruction and a drawing resource corresponding to the drawing instruction;
- a recording unit 502 configured to record, by the drawing instruction, a GPU resource created in a default resource pool as a resource held in the default resource pool;
- the determining unit 503 is configured to determine, according to the drawing instruction, whether the GPU is in a lost state, and if yes, determine whether to perform GPU recovery;
- the reconstruction unit 504 is configured to: when determining to perform GPU recovery, release resources held in the default resource pool, and reconstruct resources in the default resource pool according to the recorded resources in the default resource pool.
- the recording unit 502 when the receiving unit 501 receives the drawing data sent by the server, the recording unit 502 will draw the GPU resources that need to be created in the default GPU resource pool, and record the resources held in the default resource pool.
- the unit 504 releases the resources held in the default resource pool, and performs resource reconstruction in the default resource pool by using the resources held in the default resource pool currently recorded.
- the GPU recovery is implemented, and in the interactive application system, since all the data is obtained from the server, the GPU recovery process cannot be performed after the GPU is lost, thereby ensuring the normal use of the system and improving the user experience.
- the drawing instruction includes a first detection function for detecting a current GPU state
- the determining unit 503 is specifically configured to play back the drawing instruction, obtain a first return value returned by the first detecting function, and determine whether the GPU is lost according to the first return value.
- the user equipment further includes:
- An insertion unit configured to insert, in the drawing instruction, a second detection function for detecting whether to perform GPU recovery;
- the determining unit 503 is further configured to: play back the drawing instruction, acquire a second return value returned by the second detecting function, and determine whether to perform GPU recovery according to the second return value.
- the drawing instruction needs to include the target GPU resource in the GPU resource created in the default resource pool, where the drawing instruction includes the lifetime information of the target GPU resource;
- the user equipment further includes:
- a deleting unit configured to release the target GPU resource when the lifetime of the target GPU resource is reached, and delete the target GPU resource as a record holding the resource in the default resource pool.
- the re-establishing unit 504 is further configured to detect whether all the resources held in the default resource pool are successfully re-established, and if not, release the resources held in the default resource pool, and according to the record, The resources held in the default resource pool rebuild the resources in the default resource pool.
- the user equipment in the embodiment of the present application is described above from the perspective of the unitized functional entity.
- the user equipment in the embodiment of the present application is described from the perspective of hardware processing. Referring to FIG. 6, the user equipment is applied to the cloud interaction.
- the user equipment 600 in the embodiment of the present application includes:
- the input device 601, the output device 602, the processor 603, and the memory 604 (wherein the number of the processors 603 may be one or more, and one processor 603 is taken as an example in FIG. 6), and the user equipment further includes a GPU 605.
- the GPU has a corresponding default resource pool.
- the input device 601, the output device 602, the processor 603, the memory 604, and the GPU 605 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
- the user equipment involved in the embodiments of the present application may have more or less components than those shown in FIG. 6, may combine two or more components, or may have different component configurations or settings, and each component may include Hardware, software, or a combination of hardware and software implementations of one or more signal processing and/or application specific integrated circuits.
- the processor 603 is configured to perform the following steps by calling an operation instruction stored in the memory 604:
- the GPU resource that needs to be created in the default resource pool is recorded as the resource held in the default resource pool;
- the GPU 605 is configured to perform the following steps by calling an operation instruction stored in the memory 604:
- the resources held in the default resource pool are released, and the resources in the default resource pool are reconstructed according to the resources held in the default resource pool recorded.
- the drawing instruction includes a first detection function for detecting a current GPU state.
- the GPU 605 is specifically configured to perform the following operations by using an operation instruction stored in the memory 604:
- the GPU 605 is further configured to perform the following operations by calling an operation instruction stored in the memory 604:
- the GPU 605 is specifically configured to perform the following operations by calling an operation instruction stored in the memory 604:
- Whether to perform GPU recovery is determined according to the second return value.
- the drawing instruction needs to include the target GPU resource in the GPU resource created in the default resource pool, where the drawing instruction includes the lifetime information of the target GPU resource;
- the GPU 605 is further configured to perform the following operations by calling an operation instruction stored in the memory 604:
- the target GPU resource When the lifetime of the target GPU resource is reached, the target GPU resource is released, and the target GPU resource is deleted as a record of the resource held in the default resource pool.
- the GPU 605 is further configured to perform the following operations by using an operation instruction stored in the memory 604. :
- the memory 604 can be used to store software programs and modules, and the processor 603 executes various functional applications and data processing by running software programs and modules stored in the memory 604.
- the memory 604 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function, and the like; the storage data area can store data created according to the use of the server (such as a mirrored container). Data) and so on.
- memory 604 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- Processor 603 may be an integrated circuit chip with signal processing capabilities. In the implementation process The steps of the above method may be completed by an integrated logic circuit of hardware in the processor 603 or an instruction in the form of software.
- the processor 603 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component.
- the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in memory 604, and processor 604 reads the information in memory 604 and, in conjunction with its hardware, performs the steps of the above method.
- the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and the program includes some or all of the steps of the method for resource reconstruction described in the foregoing method embodiments.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling through some interface, device or unit.
- a communication connection which may be in electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (12)
- 一种资源重建的方法,其特征在于,所述方法应用于云交互式系统,所述云交互式系统包括用户设备和服务器,所述用户设备中包括图形处理器GPU,所述GPU具有对应的默认资源池,所述方法包括:所述用户设备接收所述服务器发送的绘制数据,所述绘制数据中包括绘制指令和与所述绘制指令对应的绘制资源;所述用户设备将所述绘制资源需要在默认资源池中创建的GPU资源,记录为所述默认资源池中持有的资源;所述用户设备根据所述绘制指令判断是否处于GPU丢失状态,若是,判断是否进行GPU恢复;以及在确定进行GPU恢复时,所述用户设备释放所述默认资源池中持有的资源,并根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源。
- 根据权利要求1所述的方法,其特征在于,所述绘制指令中包括用于检测当前GPU状态的第一检测函数;所述用户设备根据所述绘制指令判断是否处于GPU丢失状态,包括:所述用户设备回放所述绘制指令,获取所述第一检测函数返回的第一返回值;以及所述用户设备根据所述第一返回值判断是否GPU丢失。
- 根据权利要求1或2所述的方法,其特征在于,在确定处于GPU丢失状态之后,所述方法还包括:所述用户设备在所述绘制指令中插入用于检测是否进行GPU恢复的第二检测函数;所述用户设备判断是否进行GPU恢复,包括:所述用户设备回放所述绘制指令,获取所述第二检测函数返回的第二返回值;以及所述用户设备根据所述第二返回值判断是否进行GPU恢复。
- 根据权利要求1或2所述的方法,其特征在于,所述绘制资源需要在所述默认资源池中创建的GPU资源中包括目标GPU资源,所述绘制指令中包括所述目标GPU资源的生存期信息;所述方法还包括:所述用户设备在到达所述目标GPU资源的生存期时,释放所述目标GPU资源,并删除所述目标GPU资源为所述默认资源池中持有资源的记录。
- 根据权利要求1或2所述的方法,其特征在于,在所述根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源之后,所述方法还包括:所述用户设备检测所述默认资源池中持有的资源是否全部重建成功,若否,则释放所述默认资源池中持有的资源,并根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源。
- 一种用户设备,其特征在于,所述用户设备位于所述云交互式系统,所述云交互式系统还包括服务器,所述用户设备中包括图形处理器GPU,所述GPU具有对应的默认资源池,所述用户设备包括:接收单元,用于接收所述服务器发送的绘制数据,所述绘制数据中包括绘制指令和与所述绘制指令对应的绘制资源;记录单元,用于将所述绘制资源需要在默认资源池中创建的GPU资源,记录为所述默认资源池中持有的资源;判断单元,用于根据所述绘制指令判断是否处于GPU丢失状态,若是,判断是否进行GPU恢复;以及重建单元,用于在确定进行GPU恢复时,释放所述默认资源池中持有的资源,并根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源。
- 根据权利要求6所述的用户设备,其特征在于,所述绘制指令中包括用于检测当前GPU状态的第一检测函数;所述判断单元具体用于回放所述绘制指令,获取所述第一检测函数返回的第一返回值;根据所述第一返回值判断是否GPU丢失。
- 根据权利要求6或7所述的用户设备,其特征在于,在确定处于GPU丢失状态之后,所述用户设备还包括:插入单元,用于在所述绘制指令中插入用于检测是否进行GPU恢复的第二检测函数;所述判断单元具体还用于回放所述绘制指令,获取所述第二检测函数返 回的第二返回值;根据所述第二返回值判断是否进行GPU恢复。
- 根据权利要求6或7所述的用户设备,其特征在于,所述绘制资源需要在所述默认资源池中创建的GPU资源中包括目标GPU资源,所述绘制指令中包括所述目标GPU资源的生存期信息;所述用户设备还包括:删除单元,用于在到达所述目标GPU资源的生存期时,释放所述目标GPU资源,并删除所述目标GPU资源为所述默认资源池中持有资源的记录。
- 根据权利要求6或7所述的用户设备,其特征在于,在所述根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源之后,所述重建单元具体还用于检测所述默认资源池中持有的资源是否全部重建成功,若否,则释放所述默认资源池中持有的资源,并根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源。
- 一种云交互式系统,其特征在于,包括服务器和用户设备,所述用户设备为如权利要求6至10中任一所述的用户设备。
- 一种非易失性存储介质,用于存储一个或多个计算机程序,其中,所述计算机程序包括具有一个或多个存储器的处理器可运行的指令,所述指令被计算机执行时,使得所述计算机执行以下操作:接收服务器发送的绘制数据,所述绘制数据中包括绘制指令和与所述绘制指令对应的绘制资源;将所述绘制资源需要在默认资源池中创建的GPU资源,记录为所述默认资源池中持有的资源;根据所述绘制指令判断是否处于GPU丢失状态,若是,判断是否进行GPU恢复;以及在确定进行GPU恢复时,释放所述默认资源池中持有的资源,并根据记录的所述默认资源池中持有的资源重建所述默认资源池中的资源。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018538859A JP6715334B2 (ja) | 2016-01-29 | 2017-01-25 | Gpuリソース再構築方法、ユーザー・デバイス、システム及び記憶媒体 |
KR1020187022500A KR102091961B1 (ko) | 2016-01-29 | 2017-01-25 | Gpu 자원 재구성 방법, 사용자 디바이스, 시스템 및 저장 매체 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610067210.1A CN105740061B (zh) | 2016-01-29 | 2016-01-29 | 一种gpu资源重建的方法、用户设备及系统 |
CN201610067210.1 | 2016-01-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017129117A1 true WO2017129117A1 (zh) | 2017-08-03 |
Family
ID=56247261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/072537 WO2017129117A1 (zh) | 2016-01-29 | 2017-01-25 | 一种gpu资源重建的方法、用户设备,系统及存储介质 |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6715334B2 (zh) |
KR (1) | KR102091961B1 (zh) |
CN (1) | CN105740061B (zh) |
WO (1) | WO2017129117A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502399A (zh) * | 2019-08-23 | 2019-11-26 | 广东浪潮大数据研究有限公司 | 故障检测方法及装置 |
CN110648272A (zh) * | 2019-08-21 | 2020-01-03 | 北京达佳互联信息技术有限公司 | 图形资源转换方法、装置、电子设备及存储介质 |
CN113347432A (zh) * | 2021-05-27 | 2021-09-03 | 深圳市斯博科技有限公司 | 一种视频编解码方法、装置、计算机设备及存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740061B (zh) * | 2016-01-29 | 2019-05-31 | 腾讯科技(深圳)有限公司 | 一种gpu资源重建的方法、用户设备及系统 |
CN111680015B (zh) | 2020-05-29 | 2023-08-11 | 北京百度网讯科技有限公司 | 文件资源处理方法、装置、设备和介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070262995A1 (en) * | 2006-05-12 | 2007-11-15 | Available For Licensing | Systems and methods for video editing |
CN102866919A (zh) * | 2012-07-31 | 2013-01-09 | 电子科技大学 | 一种基于云端绘制的大规模三维场景多人协同创作方法 |
CN103095828A (zh) * | 2013-01-14 | 2013-05-08 | 上海电力学院 | 基于云渲染的Web3D同步会议系统及实现同步的方法 |
CN105740061A (zh) * | 2016-01-29 | 2016-07-06 | 腾讯科技(深圳)有限公司 | 一种gpu资源重建的方法、用户设备及系统 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100618159B1 (ko) * | 2004-08-05 | 2006-08-29 | 한국정보통신대학교 산학협력단 | 정책 쿼럼 기반의 그리드 자원 관리 시스템 및 그 방법 |
TWI369126B (en) | 2006-08-01 | 2012-07-21 | Nvidia Corp | Multi-graphics processor system and method for processing content communicated over a network for display purposes |
CN100555245C (zh) * | 2007-01-10 | 2009-10-28 | 中兴通讯股份有限公司 | 资源存储方法及装置 |
US8803892B2 (en) * | 2010-06-10 | 2014-08-12 | Otoy, Inc. | Allocation of GPU resources across multiple clients |
US9146909B2 (en) | 2011-07-27 | 2015-09-29 | Qualcomm Incorporated | Web browsing enhanced by cloud computing |
CN103595828A (zh) * | 2012-08-13 | 2014-02-19 | 南京杰诺瀚软件科技有限公司 | 一种扩展手机和平板电脑功能的装置和方法 |
CN104822429A (zh) * | 2012-11-28 | 2015-08-05 | 辉达公司 | 掌上游戏机 |
KR20150054484A (ko) * | 2013-11-12 | 2015-05-20 | 주식회사 시큐아이 | 웹 어플리케이션을 구동하는 컴퓨팅 장치 및 그것의 응답시간 측정 방법 |
-
2016
- 2016-01-29 CN CN201610067210.1A patent/CN105740061B/zh active Active
-
2017
- 2017-01-25 JP JP2018538859A patent/JP6715334B2/ja active Active
- 2017-01-25 KR KR1020187022500A patent/KR102091961B1/ko active IP Right Grant
- 2017-01-25 WO PCT/CN2017/072537 patent/WO2017129117A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070262995A1 (en) * | 2006-05-12 | 2007-11-15 | Available For Licensing | Systems and methods for video editing |
CN102866919A (zh) * | 2012-07-31 | 2013-01-09 | 电子科技大学 | 一种基于云端绘制的大规模三维场景多人协同创作方法 |
CN103095828A (zh) * | 2013-01-14 | 2013-05-08 | 上海电力学院 | 基于云渲染的Web3D同步会议系统及实现同步的方法 |
CN105740061A (zh) * | 2016-01-29 | 2016-07-06 | 腾讯科技(深圳)有限公司 | 一种gpu资源重建的方法、用户设备及系统 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110648272A (zh) * | 2019-08-21 | 2020-01-03 | 北京达佳互联信息技术有限公司 | 图形资源转换方法、装置、电子设备及存储介质 |
CN110648272B (zh) * | 2019-08-21 | 2023-10-03 | 北京达佳互联信息技术有限公司 | 图形资源转换方法、装置、电子设备及存储介质 |
CN110502399A (zh) * | 2019-08-23 | 2019-11-26 | 广东浪潮大数据研究有限公司 | 故障检测方法及装置 |
CN110502399B (zh) * | 2019-08-23 | 2023-09-01 | 广东浪潮大数据研究有限公司 | 故障检测方法及装置 |
CN113347432A (zh) * | 2021-05-27 | 2021-09-03 | 深圳市斯博科技有限公司 | 一种视频编解码方法、装置、计算机设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
KR102091961B1 (ko) | 2020-03-20 |
CN105740061B (zh) | 2019-05-31 |
JP2019509547A (ja) | 2019-04-04 |
JP6715334B2 (ja) | 2020-07-01 |
KR20180100626A (ko) | 2018-09-11 |
CN105740061A (zh) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017129117A1 (zh) | 一种gpu资源重建的方法、用户设备,系统及存储介质 | |
JP6438598B2 (ja) | ビデオ画像の上に情報を表示するための方法及びデバイス | |
US10600140B2 (en) | Method for selecting a display capturing mode | |
US11438510B2 (en) | System and method for editing video contents automatically technical field | |
US10929460B2 (en) | Method and apparatus for storing resource and electronic device | |
US20170324998A1 (en) | Method for playing video, client, and computer storage medium | |
CN107426606B (zh) | 录制屏幕的方法、装置、电子设备和系统 | |
US10278001B2 (en) | Multiple listener cloud render with enhanced instant replay | |
CN107995482B (zh) | 视频文件的处理方法和装置 | |
CN111095939A (zh) | 识别媒体项目的先前流传输部分以避免重复重放 | |
JP2018528634A (ja) | 動画像をプレビューする方法及びデバイス、並びに表現パッケージを表示する方法及びデバイス | |
US11245885B2 (en) | Method and system for playing media data | |
KR20220125198A (ko) | 데이터의 추가 기록 방법, 장치, 전자 기기, 저장 매체 및 컴퓨터 프로그램매체 | |
CN112822431A (zh) | 一种私密音视频通话的方法与设备 | |
CN112218148A (zh) | 屏幕录制方法、装置、计算机设备和计算机可读存储介质 | |
CN114584821B (zh) | 视频处理方法及装置 | |
CN111918082A (zh) | 云游戏直播方法、装置、存储介质及设备 | |
JP7361399B2 (ja) | 画面キャプチャ方法、端末および記憶媒体 | |
CN110719493A (zh) | 弹幕显示方法、装置、电子设备及可读存储介质 | |
US20210064270A1 (en) | Method and adevice for downloading resources | |
CN110189388B (zh) | 动画检测方法、可读存储介质及计算机设备 | |
CN112929728A (zh) | 一种视频渲染方法、装置、系统、电子设备及存储介质 | |
CN111009021A (zh) | 一种电子白板的回放方法及相关设备 | |
CN113724225B (zh) | 应用程序传输质量的确定方法及装置 | |
WO2024124670A1 (zh) | 视频播放方法、装置、计算机设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17743732 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2018538859 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20187022500 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020187022500 Country of ref document: KR |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17743732 Country of ref document: EP Kind code of ref document: A1 |