JP2019509547A - GPU resource reconstruction method, user device, system, and storage medium - Google Patents

GPU resource reconstruction method, user device, system, and storage medium Download PDF

Info

Publication number
JP2019509547A
JP2019509547A JP2018538859A JP2018538859A JP2019509547A JP 2019509547 A JP2019509547 A JP 2019509547A JP 2018538859 A JP2018538859 A JP 2018538859A JP 2018538859 A JP2018538859 A JP 2018538859A JP 2019509547 A JP2019509547 A JP 2019509547A
Authority
JP
Japan
Prior art keywords
gpu
resource pool
resource
user device
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018538859A
Other languages
Japanese (ja)
Other versions
JP6715334B2 (en
Inventor
ハン,シアン
チェン,ドンジェ
ワン,シュエクイアン
イェ,ジンフェン
シェン,チャオ
ニエ,ジミン
リ,コンビン
アイ,フェン
グ,ユー
ワン,ヤンジュン
カオ,ウェンシェン
Original Assignee
テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド filed Critical テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド
Publication of JP2019509547A publication Critical patent/JP2019509547A/en
Application granted granted Critical
Publication of JP6715334B2 publication Critical patent/JP6715334B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation 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/5044Allocation 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

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

本願の実施形態で開示されるものは、リソース構築方法、ユーザー・デバイス、及びシステムであり、本方法はクラウド・インタラクティブ・システムで使用され、クラウド・インタラクティブ・システムはユーザー・デバイス及びサーバーを含み、ユーザー・デバイスはGPUを含み、GPUは対応するデフォルト・リソース・プールを有し、本願の実施形態における方法は:ユーザー・デバイスが、サーバーにより送信されたレンダリング・データを受信するステップであって、レンダリング・データは、レンダリング命令とレンダリング命令に対応するレンダリング・リソースとを含む、ステップ;レンダリング・リソースによりデフォルト・リソース・プールにおいて作成される必要があるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソースとして記録するステップ;レンダリング命令に基づいて、ユーザー・デバイスが、GPUはロスの状態であるか否かを判断し、そうである場合、GPUリカバリを実行するか否かを判断するステップ;及びGPUリカバリを実行するように判断した場合に、ユーザー・デバイスが、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するステップを有する。本願の実施形態は、システムのノーマルな利用を保証し、ユーザーの体感を改善する。  Disclosed in embodiments of the present application are a resource construction method, a user device, and a system, and the method is used in a cloud interactive system, and the cloud interactive system includes a user device and a server, The user device includes a GPU, the GPU has a corresponding default resource pool, and the method in the embodiment of the present application is: the user device receiving rendering data sent by a server, comprising: The rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction; a step; a GPU resource that needs to be created in the default resource pool by the rendering resource; Recording as a held resource; based on the rendering command, the user device determines whether the GPU is in a loss state and, if so, whether to perform GPU recovery And, upon determining to perform GPU recovery, the user device releases the resource held in the default resource pool and based on the record of the resource held in the default resource pool Restructuring the resources in the default resource pool. Embodiments of the present application ensure normal use of the system and improve the user experience.

Description

<関連出願>
本願は中国国家知識産権局に2016年1月29日付で出願された「GPUリソース再構築方法、ユーザー・デバイス及びシステム」と題する中国特許出願第201610067210.1号による優先権を主張しており、その内容全体は本願のリファレンスに組み込まれる。
<技術分野>
<Related applications>
This application claims priority from Chinese Patent Application No. 201610067210.1 entitled “GPU Resource Restructuring Method, User Device and System” filed on January 29, 2016, filed with the National Intellectual Property Office The entire contents are incorporated into this application's reference.
<Technical field>

本開示はクラウド技術の技術分野に関連し、特に、リソースを再構築する方法、ユーザー・デバイス及びシステムに関連する。
<背景技術>
The present disclosure relates to the technical field of cloud technology, and more particularly to methods, user devices and systems for reconstructing resources.
<Background technology>

近年のネットワーク帯域幅及び端末技術の急速な発達とともに、クラウド・コンピューティング技術の成熟はクラウド・インタラクティブ・システムを促進している。既存のクラウド・インタラクティブ・システムは、通常、サーバーと複数のユーザー・デバイスとを含み、サーバーはクラスタ・サーバーであってもよく、複数のインタラクティブ・アプリケーションがインタラクティブ・システムで動作することが可能である。   With the rapid development of network bandwidth and terminal technology in recent years, the maturation of cloud computing technology is promoting cloud interactive systems. Existing cloud interactive systems typically include a server and multiple user devices, the server may be a cluster server, and multiple interactive applications can run on the interactive system .

今のところ、既存の技術におけるクラウド・インタラクティブ・システムでの画像レンダリングのアプリケーションに関し、画像をレンダリングしてレンダリングされた画像フレームをユーザー・デバイスへ送信することはサーバーの責務であり、ユーザー・デバイスは、レンダリングされた画像フレームを受信した後、画像フレームを直接的にデコードし、画像を表示する。クラウド・インタラクティブ・システムでは、GPUリソースの利用状態は、画像を表示するユーザー・デバイスに直接的には記録されず、そのような動作は、GPUの喪失後にGPUを再構築する場合に、GPUリソースをリリース及び再構築することに対する失敗を招く。   Currently, for image rendering applications in cloud interactive systems with existing technology, it is the server's responsibility to render the image and send the rendered image frame to the user device. After receiving the rendered image frame, the image frame is directly decoded and the image is displayed. In a cloud interactive system, the usage status of GPU resources is not recorded directly on the user device that displays the image, and such operations are performed when the GPU resources are rebuilt after the loss of the GPU. Will result in failure to release and rebuild.

本願の実施形態では、システムのノーマルな利用を保証し且つユーザーの体感を改善する、リソースを構築する方法、ユーザー・デバイス、システム及び記憶媒体が提供される。   Embodiments of the present application provide a method, a user device, a system, and a storage medium for building resources that guarantee normal use of the system and improve the user experience.

本開示の第1側面はリソースを再構築する方法を提供することである。本方法はクラウド・インタラクティブ・システムに適用される。クラウド・インタラクティブ・システムはユーザー・デバイス及びサーバーを含む。ユーザー・デバイスはグラフィックス処理ユニット(GPU)を含む。GPUはデフォルト・リソース・プールに対応する。   The first aspect of the present disclosure is to provide a method for reconstructing resources. This method applies to cloud interactive systems. The cloud interactive system includes user devices and servers. The user device includes a graphics processing unit (GPU). The GPU corresponds to the default resource pool.

本方法は:ユーザー・デバイスが、サーバーにより送信されたレンダリング・データを受信するステップであって、レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む、ステップ;ユーザー・デバイスが、レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソース(held resources in the default resource pool)として記録するステップ; ユーザー・デバイスが、GPUはロスの状態であるか否かをレンダリング命令に応じて判断し、GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断するステップ;及びGPUリカバリを実行するように判断された場合に、ユーザー・デバイスが、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するステップを含む。   The method includes: a user device receiving rendering data sent by a server, wherein the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction; The device records the GPU resources that are built in the default resource pool according to the rendering resources as held resources in the default resource pool; , Determining whether or not the GPU is in a loss state according to the rendering command, and determining whether or not to perform GPU recovery when the GPU is in a loss state; and executing the GPU recovery The user device Scan is released the hold resources in the default resource pool based on the record of the held resources in the default resource pool, comprising the step of reconstructing the resources in the default resource pool.

本開示の第2側面はユーザー・デバイスを提供することである。ユーザー・デバイスはクラウド・インタラクティブ・システムに含まれる。クラウド・インタラクティブ・システムはサーバーも含む。ユーザー・デバイスはグラフィックス処理ユニット(GPU)を含む。GPUはデフォルト・リソース・プールに対応する。   The second aspect of the present disclosure is to provide a user device. User devices are included in the cloud interactive system. The cloud interactive system also includes a server. The user device includes a graphics processing unit (GPU). The GPU corresponds to the default resource pool.

ユーザー・デバイスは:サーバーにより送信されたレンダリング・データを受信するように構成される受信ユニットであって、レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む、受信ユニット;レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソースとして記録する記録ユニット;GPUはロスの状態であるか否かをレンダリング命令に応じて判断し、GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断する判断ユニット;及びGPUリカバリを実行するように判断された場合に、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築する再構築ユニットを含む。   A user device is a receiving unit configured to receive rendering data sent by a server, wherein the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction. A recording unit that records a GPU resource built in the default resource pool according to the rendering resource as a resource held in the default resource pool; whether the GPU is in a loss state or not is a rendering instruction A decision unit that decides whether or not to perform GPU recovery when the GPU is in a loss state; and in the default resource pool when it is decided to perform GPU recovery Release the held resource, Based on the record of the held resources in fault resource pool, including reconstruction unit for reconstructing the resources in the default resource pool.

本開示の第3側面は、ユーザー・デバイス及びサーバーを含むクラウド・インタラクティブ・システムを提供することである。ユーザー・デバイスは第2側面によるユーザー・デバイスである。   A third aspect of the present disclosure is to provide a cloud interactive system that includes a user device and a server. The user device is a user device according to the second aspect.

本開示の第4側面は、コンピュータが読み取り可能な命令を保存する不揮発性記憶媒体を提供することである。命令がコンピュータにより実行されると、コンピュータは、上述したようなリソース再構築方法を実行する。   A fourth aspect of the present disclosure is to provide a non-volatile storage medium that stores computer-readable instructions. When the instruction is executed by the computer, the computer executes the resource reconstruction method as described above.

クラウド・ゲーム・アーキテクチャの概略図。Schematic of cloud game architecture.

本開示の実施形態に従ってGPUリソースを再構築する方法の概略図。1 is a schematic diagram of a method for reconfiguring GPU resources according to an embodiment of the present disclosure. FIG.

本開示の実施形態によるGPUリソースを再構築する方法におけるクラウド・ゲーム・アーキテクチャの特定の概略図。FIG. 4 is a specific schematic diagram of a cloud game architecture in a method for reconfiguring GPU resources according to an embodiment of the present disclosure.

本開示の別の実施形態によるGPUリソースを再構築する方法の概略図。FIG. 3 is a schematic diagram of a method for reconfiguring GPU resources according to another embodiment of the present disclosure;

本開示の実施形態によるユーザー・デバイスの概略図。1 is a schematic diagram of a user device according to an embodiment of the present disclosure. FIG.

本開示の別の実施形態によるユーザー・デバイスの概略図。FIG. 4 is a schematic diagram of a user device according to another embodiment of the present disclosure.

本開示の実施形態では、システムのノーマルな利用を保証し且つユーザーの体感を改善するリソース再構築方法、ユーザー・デバイス、システム及び記憶媒体が提供される。   In an embodiment of the present disclosure, a resource restructuring method, a user device, a system, and a storage medium that guarantee normal use of the system and improve a user experience are provided.

本開示の実施形態による技術的解決手段は、本開示による図面に関連して明確かつ完全に記述されており、それにより、当業者は本開示による技術的解決手段を更に理解することができるようになる。明らかに、説明される実施形態は本開示の実施形態の全てではなく、ほんの僅かなものに過ぎない。何らの創作的労力も無しに本開示による実施形態に基づいて当業者により把握される他の如何なる実施形態も、本開示の保護範囲に属する。   The technical solutions according to the embodiments of the present disclosure are clearly and completely described with reference to the drawings according to the present disclosure so that those skilled in the art can further understand the technical solutions according to the present disclosure. become. Apparently, the described embodiments are merely a few rather than all of the embodiments of the present disclosure. Any other embodiment ascertained by one of ordinary skill in the art based on the embodiments according to the present disclosure without any creative effort shall fall within the protection scope of the present disclosure.

本開示についての上記の図面、特許請求の範囲及び明細書において「第1」、「第2」等のような用語は(それらが存在する場合には)、特定の順序又はそれらの優先度を示すものではなく、個々の類似するオブジェクトを伝えるためにそこで使用されているに過ぎない。ここで使用される用語は相互交換可能であってもよく、それにより、本開示の実施形態はここで説明されるもの以外の順序で実現され得ることが理解されるべきである。更に、「含む」、「有する」又は他の何らかの異形の用語は、非排他的であるように意図される。例えば、一連のステップ又はユニットを含むプロセス、方法、システム、製品又はデバイスは、明示的に列挙されたステップやユニットに限定されず、明示的には列挙されていない他のステップやユニット、或いはプロセス、方法、製品又はデバイスに固有のものを更に含んでよい。   In the above drawings, claims and specification for this disclosure, terms such as “first”, “second”, etc. (if they exist) have a specific order or priority. It is not meant to be shown, it is only used there to convey individual similar objects. It is to be understood that the terminology used herein may be interchangeable so that embodiments of the present disclosure can be implemented in an order other than that described herein. Further, “including”, “having” or some other variant term is intended to be non-exclusive. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to explicitly listed steps or units, and other steps or units or processes not explicitly listed. , Methods, products or devices specific.

以下、本開示でリソースを再構築する方法の実施形態が先ず説明される。   Hereinafter, an embodiment of a method for reconstructing resources in the present disclosure will be described first.

図1に示されるように、本開示の実施形態におけるリソースを再構築する方法は、クラウド・インタラクティブ・システムに適用される。クラウド・インタラクティブ・システムはユーザー・デバイスとサーバーとを含む。複数のユーザー・デバイスが存在してもよい。サーバーはクラスタ・サーバー(a cluster server)であってもよい。複数のインタラクティブ・アプリケーションがクラウド・インタラクティブ・システムで動作することが可能である。ユーザー・デバイスは、パーソナル・コンピュータ(PC)、ラップトップ、又はモバイル・フォンのような端末デバイスであてもよい。サーバーは専用のゲーム・サーバーであってもよい。今、データ・フローは、サーバーによって記録され、圧縮された後にユーザー・デバイスへ送信される。ユーザー・デバイスは、レンダリング命令をリプレイし(又は実行し)、レンダリング・リソースをプレイし(又は再生し)、レンダリング画像をリプロデュース(再現)してよい。ユーザー・デバイスは、グラフィックス処理ユニット(GPU)を含む。   As shown in FIG. 1, the method for reconstructing resources in the embodiment of the present disclosure is applied to a cloud interactive system. The cloud interactive system includes a user device and a server. There may be multiple user devices. The server may be a cluster server. Multiple interactive applications can run on a cloud interactive system. The user device may be a terminal device such as a personal computer (PC), laptop, or mobile phone. The server may be a dedicated game server. Now, the data flow is recorded by the server, compressed and sent to the user device. The user device may replay (or execute) the rendering instructions, play (or play) the rendering resources, and re-produce (reproduce) the rendered image. The user device includes a graphics processing unit (GPU).

ダイレクト3D(Direct3D)はウィンドウズ・オペレーティング・システムのためにマイクロソフト・コーポレーションにより開発された3次元(3D)グラフィック・プログラミング・インターフェースであり、このインターフェースは、ウィンドウズの3Dゲーム開発用のベース・ライブラリであり、且つGPUのプログラミング・インターフェースである。   Direct 3D (Direct3D) is a 3D (3D) graphic programming interface developed by Microsoft Corporation for the Windows operating system, which is the base library for Windows 3D game development. And it is a programming interface of GPU.

ダイレクト3Dで管理されるGPUリソースは、ストレージ・ロケーションに応じて3種類に分類され、その3種類は:管理リソース・プールにおけるリソース(管理リソース)、デフォルト・リソース・プールにおけるリソース(デフォルト・リソース)、及びシステム・メモリ・リソース・プールにおけるリソース(システム・メモリ・リソース)である。管理リソース・プールにおけるリソースとシステム・メモリ・リソース・プールにおけるリソースとは、GPUロス(GPU loss)により影響されず、GPUロスの場合に処理されることを要しないが、デフォルト・リソース・プールにおけるリソースは、GPUロス後にデバイスは復元されつつあることが検出されると、リリースされ再構築されることを要する。   The GPU resources managed by Direct 3D are classified into three types according to the storage location. The three types are: resources in the managed resource pool (managed resources), resources in the default resource pool (default resources) And resources in the system memory resource pool (system memory resources). Resources in the managed resource pool and resources in the system memory resource pool are not affected by GPU loss and do not need to be handled in case of GPU loss, but in the default resource pool Resources need to be released and rebuilt once it is detected that the device is being restored after a GPU loss.

ユーザー・デバイスは、本開示の実施形態ではデフォルト・リソース・プールにおけるリソースに対応する。ユーザー・デバイスは、スマートフォン又はタブレット・コンピュータのようなスマート端末、MP3プレーヤ(MP3は、「Moving Picture Experts Group Audio Layer III」の略である)、MP4プレーヤ、ラップトップ・コンピュータ、車載オーディオ・デバイス、デスクトップ・コンピュータ等であってもよい。   User devices correspond to resources in the default resource pool in embodiments of the present disclosure. User devices include smart terminals such as smartphones or tablet computers, MP3 players (MP3 stands for “Moving Picture Experts Group Audio Layer III”), MP4 players, laptop computers, in-vehicle audio devices, It may be a desktop computer or the like.

図2に関し、本開示の実施形態におけるリソースを再構築する方法は、ステップ201ないしステップ205を含む。   With reference to FIG. 2, the method for reconstructing resources in the embodiment of the present disclosure includes steps 201 to 205.

ステップ201において、ユーザー・デバイスは、サーバーから送信されるレンダリング・データを受信する。   In step 201, the user device receives rendering data sent from the server.

レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む。データ・フローは、サーバーにより記録され、圧縮された後にユーザー・デバイスへ送信される。ユーザー・デバイスは、サーバーにより送信されるレンダリング・データを受信する。   The rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction. The data flow is recorded by the server and compressed before being sent to the user device. The user device receives rendering data sent by the server.

ステップ202において、ユーザー・デバイスは、レンダリング・リソースに応じてデフォルト・リソース・プールで構築されるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソースとして記録する。   In step 202, the user device records the GPU resource that is built in the default resource pool in response to the rendering resource as a resource held in the default resource pool.

ユーザー・デバイスは、レンダリング・リソースをプレイする場合に、デフォルト・リソース・プールにおいて対応するGPUリソースを構築する必要がある。このステップでは、レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースは、デフォルト・リソース・プールにおけるホールドされたリソースとして記録される。レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースが、デフォルト・リソース・プールにおいて保持されたリソースとして既に記録されている場合、それらは保持されたリソースとして再び記録されはしない点に留意すべきである。   When a user device plays a rendering resource, it needs to build a corresponding GPU resource in the default resource pool. In this step, GPU resources that are built in the default resource pool in response to the rendering resource are recorded as held resources in the default resource pool. If GPU resources that are built in the default resource pool in response to rendering resources are already recorded as resources held in the default resource pool, they will not be recorded again as resources held Should be noted.

ステップ203において、ユーザー・デバイスは、GPUがロスの状態にあるか否かを判断する。ステップ204は、GPUがロスの状態にある場合に実行される。   In step 203, the user device determines whether the GPU is in a loss state. Step 204 is executed when the GPU is in a loss state.

GPU(グラフィックス処理ユニット)は、グラフィックス・オペレーションを実行するマイクロプロセッサである。GPUの使用権(Use rights of the GPU)は、ダイレクト3Dに基づくゲームがGPUを利用する場合に剥奪されるかもしれず、その剥奪は、事実上のレンダリングの不具合を招き、アプリケーションによりホールドされたGPUリソースもリリースされる。このプロセスは、GPUロスと呼ばれる。GPUロスに関連する別の状態は、GPUリカバリ(GPU recovery)であり、GPUリカバリでは、アプリケーションはGPUの使用権に関して再割り当てを受ける。アプリケーションは、GPUが失われている場合には有効にレンダリングを継続することができず、デバイスが復元される場合、過去にホールドされたGPUリソースはリリースされ再構築される。   A GPU (graphics processing unit) is a microprocessor that performs graphics operations. Use rights of the GPU may be deprived when a direct 3D-based game uses the GPU, which defeats the actual rendering glitch, and the GPU held by the application Resources are also released. This process is called GPU loss. Another state associated with GPU loss is GPU recovery, where the application is reassigned with respect to GPU usage rights. The application cannot continue to render effectively if the GPU is lost, and if the device is restored, the previously held GPU resources are released and rebuilt.

実施形態では、レンダリング命令は、GPUの現在状態を検出する第1検出ファンクションを有してもよい。この場合、GPUがロスの状態にあるか否かをユーザー・デバイスが判断するステップは:ユーザー・デバイスがレンダリング命令をリプレイし、第1検出ファンクションにより返される第1リターン値を取得するステップと、ユーザー・デバイスが、第1リターン値に基づいてGPUはロスの状態にあるか否かを判断するステップとを含む。   In an embodiment, the rendering instruction may have a first detection function that detects the current state of the GPU. In this case, the step in which the user device determines whether the GPU is in a loss state: the user device replays the rendering instruction and obtains a first return value returned by the first detection function; The user device determining whether the GPU is in a loss state based on the first return value.

第1検出ファンクションは、レンダリング命令に含まれるプレゼント・ファンクション(a Present function)であってもよい。GPUロスの場合、プレゼント・ファンクションは「D3DERR_DEVICELOST」を返す。返される値がこの時点で取得される場合、GPUがロスであるか否かが判断されることが可能である。   The first detection function may be a present function included in the rendering command. In the case of GPU loss, the present function returns “D3DERR_DEVICELOST”. If the returned value is obtained at this point, it can be determined whether the GPU is a loss.

ステップ204において、ユーザー・デバイスは、GPUリカバリを実行するか否かを判断する。ステップ205は、GPUリカバリを実行するように決定された場合に実行される。   In step 204, the user device determines whether to perform GPU recovery. Step 205 is executed when it is determined to perform GPU recovery.

実施形態では、GPUはロスの状態にあると判断した後に、本方法は、レンダリング命令でGPUリカバリを実行すべきかいなかを判断するために、ユーザー・デバイスは第2検出ファンクションを挿入することを更に含んでもよい。この場合、GPUリカバリを実行するか否かをユーザー・デバイスが判断するステップは、ユーザー・デバイスが、レンダリング命令をリプレイし、第2検出ファンクションにより返される第2リターン値を取得すること、及びユーザー・デバイスが、第2リターン値に基づいてGPUリカバリを実行するか否か決定することを含んでもよい。   In an embodiment, after determining that the GPU is in a loss state, the method determines that the user device inserts a second detection function to determine whether to perform GPU recovery with the rendering instruction. Further, it may be included. In this case, the step in which the user device determines whether or not to perform GPU recovery includes that the user device replays the rendering instruction and obtains a second return value returned by the second detection function; and The device may include determining whether to perform GPU recovery based on the second return value.

第2検出ファンクションは、「テスト協同レベル・ファンクション」(a TestCooperativeLevel function)であってもよい。テスト協同レベル・ファンクションのリターン値が「D3DERR_DEVICENOTRESET」として取得される場合、GPUリカバリを実行するように判断される。   The second detection function may be a “Test Cooperative Level function”. When the return value of the test cooperation level function is acquired as “D3DERR_DEVICENOTRESET”, it is determined to perform GPU recovery.

実施形態では、テスト協同レベル・ファンクションは、ステップ203でGPUロス状態にあるか否かを判断するために使用されてもよい。テスト協同レベル・ファンクションのリターン値が「D3DERR_DEVICELOST」を含む場合、GPUがロストか否かは、取得されたリターン値に基づいて判断されることが可能である。   In an embodiment, a test collaboration level function may be used to determine if at step 203 a GPU loss condition exists. When the return value of the test cooperation level function includes “D3DERR_DEVICELOST”, whether or not the GPU is lost can be determined based on the acquired return value.

ステップ205において、ユーザー・デバイスは、デフォルト・リソース・プールにおけるホールドされたリソースをリリースし、デフォルト・リソース・プールにおけるホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおけるリソースを再構築する。   In step 205, the user device releases the held resource in the default resource pool and reconstructs the resource in the default resource pool based on the record of the held resource in the default resource pool .

一般に、ユーザー・デバイスにおけるアプリケーションがグラフィックス処理ユニット(GPU)である場合、GPUの使用権は剥奪されるかもしれず、アプリケーションによりホールドされたGPUリソースもリリースされ、このリリースはGPUロスと呼ばれる。GPUロスに関連する別の状態はGPUリカバリであり、GPUリカバリでは、アプリケーションはGPUの使用権の再割り当てを受ける。デバイスが復元される場合、過去にホールドされたGPUリソースはリリースされ再構築される。   In general, if the application at the user device is a graphics processing unit (GPU), the right to use the GPU may be revoked, and the GPU resources held by the application are also released, this release is called GPU loss. Another state related to GPU loss is GPU recovery, where the application receives a reassignment of GPU usage rights. When a device is restored, previously held GPU resources are released and rebuilt.

これは、GPUロスの場合に、GPUがグラフィックス・カードとの接触を失うことに起因しており、それにより、グラフィックス・カードに関連する全てのリソースはデバイスにより再びアクセスできなくなり、これらのリソースはリリースされ再構築されなければならない。一般に、パラメータ「D3DPOOL_DEFAULT」(デフォルト・リソース・プール)とともに再構築されるリソースは全てグラフィックス・カードに割り当てられるメモリ・リソースである。従って、デバイスをリセットする前に、「D3DPOOL_DEFAULT」(デフォルト・リソース・プール)タイプの全てのリソースがリリースされることが保証されるべきである。   This is due to the loss of contact with the graphics card in the case of a GPU loss, which prevents all resources associated with the graphics card from being accessed again by the device. Resources must be released and rebuilt. Generally, all resources reconstructed with the parameter “D3DPOOL_DEFAULT” (default resource pool) are memory resources allocated to the graphics card. Therefore, it should be ensured that all resources of type “D3DPOOL_DEFAULT” (default resource pool) are released before resetting the device.

従って、GPUリカバリを実行するように決定される場合、ユーザー・デバイスは、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築する必要がある。実施形態では、デバイスのロス及びリカバリを処理するためのリセット・ファンクション(a Reset function)は、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するためにユーザー・デバイスにより使用されてもよい。   Thus, if it is decided to perform GPU recovery, the user device will release the resources held in the default resource pool and default based on the record of resources held in the default resource pool. • Resources need to be rebuilt in the resource pool. In an embodiment, a reset function for handling device loss and recovery releases resources held in the default resource pool and records the resources held in the default resource pool. May be used by the user device to rebuild resources in the default resource pool.

本開示の実施形態では、レンダリング・リソースに従ってデフォルト・リソース・プールで構築されるGPUリソースは、サーバーにより送信されたレンダリング・データを受信した後に、デフォルト・リソース・プールにおいてホールドされたリソースとして記録されている。GPUリカバリでは、GPUロスの後、デフォルト・リソース・プールにおいてホールドされたリソースはリリースされ、デフォルト・リソース・プールにおけるリソースは、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて再構築され、これにより、GPUリカバリを実現し、インタラクティブ・アプリケーション・システムにおいて或る状況を回避し、その状況は、全てのデータはサーバーからしか得ることができないことに起因して、GPUのロスの後にGPUが復元できない状況であり、実施形態はシステムのノーマルな利用を保証してユーザーの体感を改善する。   In embodiments of the present disclosure, GPU resources built in the default resource pool according to the rendering resource are recorded as resources held in the default resource pool after receiving the rendering data sent by the server. ing. With GPU recovery, after GPU loss, resources held in the default resource pool are released, and resources in the default resource pool are rebuilt based on the record of resources held in the default resource pool. This allows for GPU recovery and avoids certain situations in interactive application systems, which can result in GPUs after GPU loss due to all data being available only from the server However, the embodiment guarantees normal use of the system and improves the user experience.

選択的に、本開示の実施形態において、レンダリング命令に応じてデフォルト・リソース・プールにおいて構築されるGPUリソースはターゲットGPUリソースを含み、レンダリング命令はターゲットGPUリソースのライフ・サイクル情報を含む。本方法は、ユーザー・デバイスが、ターゲットGPUリソースのライフ・サイクルを終えた後にターゲットGPUリソースをリリースし、ターゲットGPUリソースがデフォルト・リソース・プールにおいてホールドされたリソースである旨の記録を削除するステップを更に含む。即ち、デフォルト・リソース・プールにおいてホールドされたGPUリソースは、リソースのライフ・サイクルが終わった後にリリースされ、そのリソースはデフォルト・リソース・プールにおいてホールドされた旨の記録は削除され、この削除は、リソースの更に有効利用を達成し、デフォルト・リソース・プールにおいてホールドされたリソースを再構築する場合に不要なリソース再構築を回避する。   Optionally, in an embodiment of the present disclosure, a GPU resource built in the default resource pool in response to a rendering instruction includes a target GPU resource, and the rendering instruction includes life cycle information of the target GPU resource. The method includes a step in which the user device releases the target GPU resource after completing the life cycle of the target GPU resource, and deletes the record that the target GPU resource is a resource held in the default resource pool. Is further included. That is, GPU resources held in the default resource pool are released after the end of the resource life cycle, the record that the resource was held in the default resource pool is deleted, and this deletion is Achieve more efficient use of resources and avoid unnecessary resource rebuilding when rebuilding resources held in the default resource pool.

選択的に、本開示の実施形態では、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいてデフォルト・リソース・プールにおいてリソースを再構築した後に、本方法は、ユーザー・デバイスが、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたか否かを判断し、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたとは限らない場合、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築することを更に含んでもよい。   Optionally, in an embodiment of the present disclosure, after reconstructing a resource in the default resource pool based on a record of resources held in the default resource pool, the method allows the user device to Determine if all resources held in the resource pool have been successfully rebuilt, and if not all resources held in the default resource pool have been successfully rebuilt, the default resource Release resources held in the pool and may further include reconstructing the resources in the default resource pool based on a record of the resources held in the default resource pool.

或る特殊な場合では、デフォルト・リソース・プールにおいてホールドされたリソースが全て成功裏に再構築されたとは限らない場合がたまたま生じるかもしれず、その場合、デフォルト・リソース・プールにおいてホールドされたリソースをリリース及び再構築するステップが再実行され、その再実行は、デフォルト・リソース・プールにおいてホールドされたリソースが成功裏に再構築されることを保証する。   In some special cases, it may happen that not all resources held in the default resource pool have been successfully rebuilt, in which case the resources held in the default resource pool The release and rebuild steps are re-executed, and the re-execution ensures that the resources held in the default resource pool are successfully rebuilt.

以下、ユーザー・デバイスで動作するクラウド・ゲーム・クライアントがユーザー・デバイスの例として使用される具体的なアプリケーションのシナリオとともに、リソースを構築する上記方法が説明される。図3に関し、クラウド・ゲーム・サーバー上でゲームが動作している。データ・フローは、クラウド・ゲーム・サーバーにより記録され、圧縮された後に、クラウド・ゲーム・クライアントへインターネットを介して送信される。クラウド・ゲーム・クライアントは、レンダリング命令をリプレイし、レンダリング・データをプレイし、レンダリング画像を再現する。実施形態では、クラウド・ゲーム・サーバーから受信されるレンダリング・リソースに従って、デフォルト・リソース・プールにおいて構築されるGPUリソースを記録するために、ダイレクト3D状態レコーダーがクラウド・ゲーム・クライアントに提供される。   In the following, the above method of building a resource is described, along with a specific application scenario where a cloud game client running on a user device is used as an example of a user device. Referring to Figure 3, the game is running on the cloud game server. The data flow is recorded and compressed by the cloud game server and then transmitted over the Internet to the cloud game client. The cloud game client replays the rendering instructions, plays the rendering data, and reproduces the rendered image. In an embodiment, a direct 3D state recorder is provided to the cloud game client to record GPU resources built in the default resource pool according to the rendering resources received from the cloud game server.

図4に関し、本開示の別の実施形態におけるリソースを再構築する方法は、ステップ401ないしステップ406を含む。   With reference to FIG. 4, a method for reconstructing resources in another embodiment of the present disclosure includes steps 401 through 406.

ステップ401において、クラウド・ゲーム・クライアントは、クラウド・ゲーム・サーバーにより送信されたレンダリング・データを受信する。   In step 401, the cloud game client receives the rendering data sent by the cloud game server.

レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む。   The rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction.

ステップ402において、クラウド・ゲーム・クライアントは、ダイレクト3D状態レコーダーにより、レンダリング・リソースに従ってダイレクト・リソースで構築されるGPUリソースを、デフォルト・リソースにおいてホールドされたリソースとして記録する。   In step 402, the cloud game client records the GPU resource constructed by the direct resource according to the rendering resource by the direct 3D state recorder as a resource held in the default resource.

レンダリング命令は、プレゼント・ファンクションを含む。   The rendering instruction includes a present function.

ステップ403において、テスト協同レベル・ファンクションが、レンダリング命令に挿入される。   In step 403, a test collaboration level function is inserted into the rendering instruction.

テスト協同レベル・ファンクションは、GPUリカバリを実行するか否かを判断するために使用される。   The test collaboration level function is used to determine whether to perform GPU recovery.

ステップ404において、クラウド・ゲーム・クライアントは、GPUがロスの状態にあるか否かを判断するために、レンダリング命令をリプレイする。ステップ405は、GPUがロスの状態にある場合に実行される。   In step 404, the cloud game client replays the rendering instruction to determine whether the GPU is in a loss state. Step 405 is executed when the GPU is in a loss state.

GPUがロスの状態にあるか否かを判断するために、クラウド・ゲーム・クライアントがレンダリング命令をリプレイするステップは、クラウド・ゲーム・クライアントが、レンダリング命令をリプレイし、プレゼント・ファンクションのリターン値に基づいて、GPUがロスの状態にあるか否かを判断するステップを含んでもよい。プレゼント・ファンクションは、GPUがロスの状態に或る場合に「D3DERR_DEVICELOST」を返し、GPUがロスであるか否かは、リターン値が取得された場合に判断されることが可能である。   In order to determine whether or not the GPU is in a loss state, the step of replaying the rendering instruction by the cloud game client is performed by the cloud game client replaying the rendering instruction and returning to the return value of the present function. Based on this, a step of determining whether or not the GPU is in a loss state may be included. The present function returns “D3DERR_DEVICELOST” when the GPU is in a loss state, and whether or not the GPU is lost can be determined when a return value is acquired.

ステップ405において、クラウド・ゲーム・クライアントは、GPUリカバリを実行するか否かを判断する。   In step 405, the cloud game client determines whether to perform GPU recovery.

テスト協同レベル・ファンクションから取得されるリターン値が「D3DERR_DEVICENOTRESET」である場合、GPUリカバリを実行するように決定される。   If the return value obtained from the test collaboration level function is “D3DERR_DEVICENOTRESET”, it is decided to perform GPU recovery.

ステップ406において、クラウド・ゲーム・クライアントは、デフォルト・リソースにおいてホールドされたリソースをリリースし、GPUリカバリを実行するように判断された場合に、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築する。   In step 406, the cloud game client releases the resource held in the default resource and, if determined to perform GPU recovery, based on the record of the resource held in the default resource pool. Rebuild resources in the default resource pool.

以下、ユーザー・デバイスの実施形態が説明される。ユーザー・デバイスはクラウド・インタラクティブ・システムに含まれる。クラウド・インタラクティブ・システムはサーバーも含む。サーバーは、グラフィックス処理ユニット(GPU)を含む。GPUはデフォルト・リソース・プールに対応する。   In the following, embodiments of user devices will be described. User devices are included in the cloud interactive system. The cloud interactive system also includes a server. The server includes a graphics processing unit (GPU). The GPU corresponds to the default resource pool.

図5に関し、本開示の実施形態におけるユーザー・デバイス500は、受信ユニット501と、記録ユニット502と、判断ユニット503と、再構築ユニット504とを含む。   With reference to FIG. 5, a user device 500 in an embodiment of the present disclosure includes a receiving unit 501, a recording unit 502, a determination unit 503, and a reconstruction unit 504.

受信ユニット501は、サーバーにより送信されたレンダリング・データを受信するように構成され、レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む。   The receiving unit 501 is configured to receive the rendering data sent by the server, and the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction.

レンダリング・ユニット502は、レンダリング・リソースに従ってデフォルト・リソース・プールにおいて構築されるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソースとして記録するように構成される。   The rendering unit 502 is configured to record GPU resources that are built in the default resource pool according to the rendering resources as resources held in the default resource pool.

判断ユニット503は、GPUがロスの状態にあるか否かを判断し、GPUがロスの状態にあった場合、GPUリカバリを実行するか否かを判断するように構成される。   The determination unit 503 is configured to determine whether or not the GPU is in a loss state, and to determine whether or not to perform GPU recovery if the GPU is in a loss state.

再構築ユニット504は、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、GPUリカバリを実行するように判断された場合には、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するように構成される。   If the rebuild unit 504 releases the resource held in the default resource pool and is determined to perform GPU recovery, based on the record of the resource held in the default resource pool, Configured to rebuild resources in the default resource pool.

本開示の実施形態では、レンダリング・リソースに従ってデフォルト・リソース・プールにおいて構築されるGPUリソースは、サーバーにより送信されたレンダリング・データを受信ユニット501により受信した後に、デフォルト・リソース・プールにおいてホールドされたリソースとして記録ユニット502により記録される。GPUのロスの後に、GPUリカバリを実行するように判断ユニット503により判断された場合、デフォルト・リソース・プールにおいてホールドされたリソースは、リリースされ、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、再構築ユニット504により再構築され、これにより、GPUリカバリを実現し、インタラクティブ・アプリケーション・システムにおいて或る状況を回避し、その状況は、全てのデータはサーバーからしか得ることができないことに起因して、GPUのロスの後にGPUが復元できない状況であり、実施形態はシステムのノーマルな利用を保証してユーザーの体感を改善する。   In an embodiment of the present disclosure, a GPU resource built in the default resource pool according to the rendering resource is held in the default resource pool after receiving the rendering data sent by the server by the receiving unit 501. It is recorded by the recording unit 502 as a resource. If the decision unit 503 decides to perform GPU recovery after a GPU loss, the resource held in the default resource pool will be released and will be recorded in the resource held in the default resource pool. Based on that, it is rebuilt by the rebuild unit 504, which realizes GPU recovery and avoids some situations in the interactive application system, all the data can only be obtained from the server Therefore, the GPU cannot be restored after the loss of the GPU, and the embodiment guarantees normal use of the system and improves the user experience.

選択的に、レンダリング命令は、GPUの現在状態を検出する第1検出ファンクションを含む。   Optionally, the rendering instruction includes a first detection function that detects a current state of the GPU.

判断ユニット503は、レンダリング命令をリプレイし、第1ファンクションにより返される第1リターン値を取得し、第1リターン値に基づいて、GPUはロスの状態にあるか否かを判断するように構成される。   The determination unit 503 is configured to replay the rendering instruction, obtain a first return value returned by the first function, and determine whether the GPU is in a loss state based on the first return value. The

選択的に、ユーザー・デバイスは挿入ユニットを更に含む。   Optionally, the user device further includes an insertion unit.

挿入ユニットは、GPUがロスの状態にあることが判断された後に、GPUリカバリを実行するか否かを検出する第2検出ファンクションをレンダリング命令に挿入するように構成される。   The insertion unit is configured to insert into the rendering instruction a second detection function that detects whether to perform GPU recovery after it is determined that the GPU is in a loss state.

判断ユニット503は、レンダリング命令をリプレイし、第2検出ファンクションにより返される第2リターン値を取得し、第2リターン値に基づいてGPUリカバリを実行するか否かを判断するように更に構成される。   The determination unit 503 is further configured to replay the rendering instruction, obtain a second return value returned by the second detection function, and determine whether to perform GPU recovery based on the second return value. .

選択的に、レンダリング命令に従ってデフォルト・リソース・プールにおいて構築されるGPUリソースは、ターゲットGPUリソースを含み、レンダリング命令は、ターゲットGPUリソースのライフ・サイクル情報を含む。   Optionally, the GPU resources that are constructed in the default resource pool according to the rendering instructions include a target GPU resource, and the rendering instructions include life cycle information of the target GPU resource.

ユーザー・デバイスは削除ユニットを更に含む。   The user device further includes a deletion unit.

削除ユニットは、ターゲットGPUリソースのライフ・サイクルが終了した後に、ターゲットGPUリソースをリリースし、ターゲットGPUリソースがデフォルト・リソース・プールにおいてホールドされたリソースである旨の記録を削除するように構成される。   The delete unit is configured to release the target GPU resource after the life cycle of the target GPU resource ends and delete the record that the target GPU resource is a resource held in the default resource pool .

デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいてデフォルト・リソースにおいてリソースを再構築した後に、再構築ユニット504は、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたか否かを判断するように更に構成され、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたとは限らない場合、再構築ユニット504は、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するように構成される。   After rebuilding resources in the default resource based on the record of resources held in the default resource pool, the rebuild unit 504 successfully rebuilds all resources held in the default resource pool. If not all resources held in the default resource pool have been successfully rebuilt, the rebuild unit 504 is held in the default resource pool. And configured to reconstruct the resource in the default resource pool based on the record of the resource held in the default resource pool.

本開示の実施形態におけるユーザー・デバイスは上記の機能的なエンティティの観点から説明されているが、以下、ハードウェア処理の観点から更に説明される。図6に関し、ユーザー・デバイスはクラウド・インタラクティブ・システムに適用され、クラウド・インタラクティブ・システムはサーバーを含む。本開示の実施形態におけるユーザー・デバイス600は、入力デバイス601と、出力デバイス602と、プロセッサ603と、メモリ604とを含む(プロセッサ603の個数は1つ又は複数であってもよく、図6では一例として1つのプロセッサ603が示されている)。ユーザー・デバイスはGPU605を更に含む。GPU605はデフォルト・リソース・プールに対応する。本開示の或る実施形態では、入力デバイス601と、出力デバイス602と、プロセッサ603と、メモリ604と、GPU605とはバスその他の手段により接続されることが可能である。図6では一例としてバス接続が示されている。   Although user devices in embodiments of the present disclosure have been described in terms of the functional entities described above, they are further described below in terms of hardware processing. Referring to FIG. 6, the user device is applied to a cloud interactive system, and the cloud interactive system includes a server. The user device 600 in the embodiment of the present disclosure includes an input device 601, an output device 602, a processor 603, and a memory 604 (the number of processors 603 may be one or more, in FIG. One processor 603 is shown as an example). The user device further includes a GPU 605. GPU 605 corresponds to the default resource pool. In some embodiments of the present disclosure, the input device 601, the output device 602, the processor 603, the memory 604, and the GPU 605 can be connected by a bus or other means. FIG. 6 shows bus connection as an example.

本開示の実施形態に関わるユーザー・デバイスは、図6に示されているものより多い又は少ないパーツを含んでもよく、2つ以上のコンポーネントを結合してもよく、或いは、異なるパーツの構成又は設定を有していてもよい。各々のコンポーネントは、1つ以上の信号処理及び/又は特定用途向け集積回路を含むハードウェア、ソフトウェア又はそれらの組み合わせで実現されてもよい。   User devices in accordance with embodiments of the present disclosure may include more or fewer parts than those shown in FIG. 6, may combine two or more components, or may be configured or configured with different parts. You may have. Each component may be implemented in hardware, software, or combinations thereof including one or more signal processing and / or application specific integrated circuits.

メモリ604に保存されているオペレーション命令を呼び出すことにより、プロセッサ603は、以下のステップを実行するように使用され、そのステップは:入力ユニット601を介して、サーバーにより送信されたレンダリング・データを受信するステップであって、レンダリング・データは、レンダリング命令と、レンダリング命令に対応するレンダリング・リソースとを含む、ステップ;及びレンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースを、デフォルト・リソース・プールにおいてホールドされたリソースとして記録するステップである。   By invoking the operation instructions stored in the memory 604, the processor 603 is used to perform the following steps, which receive the rendering data sent by the server via the input unit 601: Rendering data includes rendering instructions and rendering resources corresponding to the rendering instructions; and defaults GPU resources built in a default resource pool according to the rendering resources. A step of recording as a resource held in the resource pool.

メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は、以下のステップを実行するように使用され、そのステップは:GPUはロスの状態であるか否かを判断し、GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断し、GPUリカバリを実行するように判断された場合に、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、デフォルト・リソース・プールにおいてリソースを再構築するステップである。   By calling the operation instruction stored in the memory 604, the GPU 605 is used to perform the following steps: The GPU determines if it is in a loss state and the GPU If it is in the state, determine whether or not to perform GPU recovery, and if it is determined to perform GPU recovery, release the resources held in the default resource pool and Restructuring resources in the default resource pool based on a record of resources held in the pool.

選択的に、レンダリング命令は、GPUの現在状態を検出する第1検出ファンクションを含む。メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は以下のステップを実行するように使用され、そのステップは、レンダリング命令をリプレイし、第1検出ファンクションによって返される第1リターン値を取得し、第1リターン値に基づいて、GPUはロスの状態にあるか否かを判断するステップである。   Optionally, the rendering instruction includes a first detection function that detects a current state of the GPU. By calling an operation instruction stored in memory 604, GPU 605 is used to perform the following steps, which replay the rendering instruction and get the first return value returned by the first detection function Then, based on the first return value, this is a step of determining whether or not the GPU is in a loss state.

選択的に、メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は以下のステップを実行するように更に使用され、そのステップは、GPUがロスの状態にあると判断された後に、GPUリカバリを実行するか否かを検出するための第2検出ファンクションをレンダリング命令に挿入するステップである。   Optionally, by invoking an operation instruction stored in memory 604, GPU 605 is further used to perform the following steps, which are determined after the GPU is determined to be in a loss state. This is a step of inserting a second detection function for detecting whether or not to execute recovery into the rendering instruction.

メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は以下のステップを実行するように更に使用され、そのステップは、レンダリング命令をリプレイし、第2検出ファンクションにより返される第2リターン値を取得し、
第2リターン値に基づいて、GPUリカバリを実行するか否かを判断するステップである。
By invoking an operation instruction stored in memory 604, GPU 605 is further used to perform the following steps, which replay the rendering instruction and return the second return value returned by the second detection function. Acquired,
This is a step of determining whether or not to perform GPU recovery based on the second return value.

選択的に、レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースはターゲットGPUリソースを含み、レンダリング命令はターゲットGPUリソースのライフ・サイクル情報を含む。   Optionally, the GPU resources that are constructed in the default resource pool in response to the rendering resource include a target GPU resource, and the rendering instruction includes life cycle information of the target GPU resource.

メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は以下のステップを実行するように更に使用され、そのステップは、ターゲットGPUリソースのライフ・サイクルが終了した後に、ターゲットGPUリソースをリリースし、ターゲットGPUリソースがデフォルト・リソース・プールにおいてホールドされたリソースである旨の記録を削除するステップである。   By invoking an operation instruction stored in memory 604, GPU 605 is further used to perform the following steps, which release the target GPU resource after the life cycle of the target GPU resource ends. , Deleting the record that the target GPU resource is a resource held in the default resource pool.

選択的に、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいてデフォルト・リソース・プールにおいてリソースを再構築した後に、メモリ604に保存されているオペレーション命令を呼び出すことにより、GPU605は以下のステップを実行するように更に使用され、そのステップは、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたか否かを判断し、デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたとは限らない場合、デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築するステップである。   Optionally, after reconstructing a resource in the default resource pool based on a record of resources held in the default resource pool, by calling an operation instruction stored in memory 604, GPU 605 can: It is further used to execute a step, which determines whether all the resources held in the default resource pool have been successfully rebuilt and all the resources held in the default resource pool Release a resource held in the default resource pool and based on the record of the resource held in the default resource pool, the resource is not rebuilt successfully. It is a step to rebuild the source.

実施形態では、メモリ604はソフトウェア・プログラム及びモジュールを保存するために使用されてもよく、プロセッサ603は、メモリ604に保存されるソフトウェア・プログラム及びモジュールを動作させることにより、様々な機能アプリケーション及びデータ処理を実行する。   In an embodiment, the memory 604 may be used to store software programs and modules, and the processor 603 operates various software applications and data by operating the software programs and modules stored in the memory 604. Execute the process.

メモリ604は、主に、プログラム・ストレージ・エリア及びデータ・ストレージ・エリアを含んでもよい。プログラム・ストレージ・エリアは、オペレーティング・システム、少なくとも1つの機能により必要とされるアプリケーション等を保存してよい。データ・ストレージ・エリアは、サーバーの利用に応じて作成されるデータ(例えば、ミラーリングされたコンテナ・データ)等を保存するために使用されてもよい。更に、メモリ604は、高速ランダム・アクセス・メモリを含んでもよく、また、少なくとも1つのディスク・ストレージ・デバイス及びフラッシュ・メモリ・デバイスのような不揮発性メモリ、或いはその他の揮発性ソリッド・ステート・ストレージ・デバイスを含んでもよい。   The memory 604 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, applications required by at least one function, and the like. The data storage area may be used to store data (for example, mirrored container data) created according to the use of the server. In addition, memory 604 may include high speed random access memory, and non-volatile memory, such as at least one disk storage device and flash memory device, or other volatile solid state storage. -Devices may be included.

プロセッサ603は信号処理能力を有する集積回路チップであってもよい。或る実現手段では、上記方法の各ステップは、集積論理回路、又はプロセッサ603内のソフトウェア形式の命令により完結されてもよい。   The processor 603 may be an integrated circuit chip having signal processing capability. In some implementations, the steps of the method may be completed by an integrated logic circuit or software-type instructions in the processor 603.

プロセッサ604は、汎用プロセッサ、ディジタル信号プロセッサ(DSP)、特定用途向け集積回路(ASIC)、フィールド・プログラマブル・ゲート・アレイ(FPGA)その他のプログラム可能な論理デバイス、ディスクリート・ゲート又はトランジスタ論理デバイス、ディスクリート・ハードウェア・コンポーネントであってもよく、それらはパブリック・アプリケーションの方法、ステップ及び論理ブロック・ダイアグラムを実現又は実行することが可能なものである。汎用プロセッサはマイクロプロセッサ又は任意の標準的なプロセッサであってもよい。   Processor 604 is a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete May be hardware components, which are capable of implementing or executing public application methods, steps and logic block diagrams. A general purpose processor may be a microprocessor or any standard processor.

本開示の実施形態で開示される方法のステップは、ハードウェア・デコード・プロセッサにより、或いは、デコード・プロセッサにおけるハードウェア及びソフトウェア・モジュールの組み合わせにより、直接的に実行されてもよい。ソフトウェア・モジュールは、ランダム・メモリ、フラッシュ・メモリ、リード・オンリ・メモリ、プログラマブル・リード・オンリ・メモリ、電気的に消去可能なプログラマブル・メモリ、レジスタ等のような当該技術分野で成熟している記憶媒体に存在してもよい。記憶媒体はメモリ604内に位置していてもよい。プロセッサ603は、メモリ604内の情報を読み込み、そのハードウェアにより上記の方法ステップを完結する。   The steps of the methods disclosed in the embodiments of the present disclosure may be performed directly by a hardware decode processor or by a combination of hardware and software modules in the decode processor. Software modules are mature in the art such as random memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, registers etc. It may exist in a storage medium. A storage medium may be located in memory 604. The processor 603 reads the information in the memory 604 and completes the above method steps with its hardware.

コンピュータ記憶媒体も本開示の実施形態で提供され、コンピュータ記憶媒体はプログラムを保存する。プログラムは上記の方法の実施形態におけるリソースを再構築する方法ステップの全部又は一部を含む。   A computer storage medium is also provided in the embodiments of the present disclosure, and the computer storage medium stores a program. The program includes all or part of the method steps for reconstructing resources in the method embodiments described above.

説明の簡便化のため、上記の実施形態において、各実施形態の説明は特定の重点を有することが、当業者に明らかである。或る実施形態で詳細ではない説明に関し、他の実施形態の関連する説明が参照されてよい。   In order to simplify the description, it will be apparent to those skilled in the art that the description of each embodiment has a particular emphasis in the above-described embodiments. For descriptions that are not detailed in certain embodiments, reference may be made to related descriptions in other embodiments.

上記の方法の実施形態は簡明化のために一連のアクションの組み合わせとして説明されていることに留意すべきである。本開示はアクションの説明された順番に限定されず、或るステップについては、本開示によるものと異なる順番で又は同時に実行されてよいことを、当業者は理解すべきである。また、本明細書で説明される実施形態は全て好ましい実施形態であり、包含されるアクション及びモジュールは必須でないかもしれないことも、当業者は理解すべきである。   It should be noted that the above method embodiments have been described as a combination of a series of actions for the sake of clarity. It should be understood by one of ordinary skill in the art that the present disclosure is not limited to the described order of actions, and certain steps may be performed in a different order or concurrently with those according to the present disclosure. It should also be understood by those skilled in the art that all of the embodiments described herein are preferred embodiments and that the actions and modules included may not be essential.

本開示の実施形態によるシステム、デバイス及び方法は他の形式で実現されてもよいことが、理解されるべきである。例えば、上記の装置の実施形態は例示的なものであるに過ぎない。例えば、ユニットの区分けは単なる論理的な機能的な区分けに過ぎず、実際の実現手段では他の区分けが存在し得る。例えば、幾つかのユニット又はコンポーネントは互いに組み合わせられてもよいし、或いは他のシステムに統合されてもよいし、或いは何らの特徴が無視される又は実現されなくてもよい。更に、表示される又は議論される相互結合又は直接的なカップリング或いは通信コネクションは、何らかのインターフェース、デバイス又はユニットを介する間接的なカップリング又は通信コネクションであってもよく、電気的、機械的又は他の形式であってもよい。   It should be understood that systems, devices and methods according to embodiments of the present disclosure may be implemented in other forms. For example, the above-described apparatus embodiment is merely exemplary. For example, the unit division is merely logical and functional division, and there may be other divisions in the actual implementation means. For example, some units or components may be combined with each other, may be integrated into other systems, or no features may be ignored or implemented. Further, the interconnection or direct coupling or communication connection displayed or discussed may be an indirect coupling or communication connection via any interface, device or unit, electrical, mechanical or Other formats may be used.

個別的なコンポーネントとして説明されるユニットは、物理的に分離していてもしていなくてもよく、ユニットとして示されるコンポーネントは、一箇所に位置する又は複数のネットワーク・ユニットに分散されている物理的なユニットであってもなくてもよい。全部又は一部のユニットが、本開示の目的を達成するために必要に応じて選択されてよい。   Units described as separate components may or may not be physically separated, and components shown as units may be physically located at one location or distributed across multiple network units. The unit may or may not be. All or some of the units may be selected as necessary to achieve the objectives of the present disclosure.

更に、本開示による実施形態における複数の機能ユニットは、1つの処理ユニットに統合されてもよいし、或いはそれらのユニットは物理的に分離したユニットであってもよいし、2つ以上のユニットが1つのユニットに統合されてもよい。上記の統合されたユニットは、ハードウェアの形式で、又はソフトウェア機能ユニットの形式で実現されてもよい。   Furthermore, the plurality of functional units in the embodiments according to the present disclosure may be integrated into one processing unit, or the units may be physically separated units, or two or more units may be included. It may be integrated into one unit. The integrated unit may be realized in the form of hardware or in the form of a software functional unit.

統合されたユニットがソフトウェア機能ユニットの形式で実現され、独立した製品として販売又は使用される場合、統合されたユニットはコンピュータ読み取り可能な記憶媒体に保存されてもよい。そのような理解に基づいて、本開示の技術的解決手段の本質、従来技術に寄与する部分、或いは技術的解決手段の全部又は一部は、ソフトウェア製品の形式で実現されてよい。コンピュータ・ソフトウェア製品は、記憶媒体に保存され、本開示に従う実施形態で説明される方法ステップの全部又は一部の実行をコンピュータ・デバイス(パーソナル・コンピュータ、サーバー、又はウェブ・デバイスであってもよい)に指図する複数の命令を含む。記憶媒体は、USBフラッシュ・ディスク、取り外し可能なハード・ディスク、リード・オンリ・メモリ(ROM)、ランダム・アクセス・メモリ(RAM)、ディスケット又は光ディスクのような、プログラム・コードを保存することが可能な任意の媒体であってよい。   If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored on a computer-readable storage medium. Based on such an understanding, the essence of the technical solution of the present disclosure, the part contributing to the prior art, or all or part of the technical solution may be realized in the form of a software product. A computer software product is stored on a storage medium and may be a computer device (personal computer, server, or web device) that performs all or part of the method steps described in the embodiments according to the present disclosure. ) Includes multiple instructions. Storage media can store program code, such as USB flash disk, removable hard disk, read only memory (ROM), random access memory (RAM), diskette or optical disk Any medium can be used.

上記の実施形態は、本開示の技術的解決手段を限定するものではなく単なる例示に過ぎない。上記の実施形態に関連して詳細な説明がなされているが、本開示の技術的解決手段又は何らかの技術的特徴に対して、変形及び代替が当業者により為されてよい。そのような如何なる変形又は均等物も、本開示の実施形態の技術的解決手段の精神及び範囲から逸脱した技術的解決手段にはならない。   The above embodiments are merely examples, not limiting the technical solutions of the present disclosure. Although detailed descriptions have been given in relation to the above embodiments, modifications and alternatives may be made by those skilled in the art to the technical solutions or some technical features of the present disclosure. Any such modifications or equivalents do not depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims (12)

リソースを再構築する方法であって、前記方法はユーザー・デバイスとサーバーとを有するクラウド・インタラクティブ・システムに適用され、前記ユーザー・デバイスは、デフォルト・リソース・プールに対応するグラフィックス処理ユニット(GPU)を有し、前記方法は:
前記ユーザー・デバイスが、前記サーバーにより送信されたレンダリング・データを受信するステップであって、前記レンダリング・データは、レンダリング命令と、前記レンダリング命令に対応するレンダリング・リソースとを含む、ステップ;
前記ユーザー・デバイスが、前記レンダリング・リソースに応じて前記デフォルト・リソース・プールにおいて構築されるGPUリソースを、前記デフォルト・リソース・プールにおいてホールドされたリソースとして記録するステップ;
前記ユーザー・デバイスが、前記GPUはロスの状態であるか否かを前記レンダリング命令に応じて判断し、前記GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断するステップ;及び
前記GPUリカバリを実行するように判断された場合に、前記ユーザー・デバイスが、前記デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築するステップ;
を有する方法。
A method for reconstructing a resource, the method being applied to a cloud interactive system having a user device and a server, wherein the user device is a graphics processing unit (GPU) corresponding to a default resource pool. And the method comprises:
The user device receiving rendering data sent by the server, wherein the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction;
Recording the GPU resource constructed in the default resource pool in response to the rendering resource as a resource held in the default resource pool;
The user device determines whether the GPU is in a loss state according to the rendering command, and determines whether to perform GPU recovery when the GPU is in a loss state And when it is determined to perform the GPU recovery, the user device releases resources held in the default resource pool and the resources held in the default resource pool Reconstructing resources in the default resource pool based on records;
Having a method.
前記レンダリング命令は、前記GPUの現在状態を検出する第1検出ファンクションを含み;
前記ユーザー・デバイスが、前記GPUはロスの状態であるか否かを前記レンダリング命令に応じて判断するステップは:
前記ユーザー・デバイスが、前記レンダリング命令をリプレイし、前記第1検出ファンクションによって返される第1リターン値を取得するステップ;及び
前記ユーザー・デバイスが、前記第1リターン値に基づいて、前記GPUはロスの状態にあるか否かを判断するステップ;
を含む、請求項1に記載の方法。
The rendering instruction includes a first detection function for detecting a current state of the GPU;
The user device determines whether the GPU is in a loss state according to the rendering command:
The user device replays the rendering instruction and obtains a first return value returned by the first detection function; and the user device determines that the GPU is a loss based on the first return value; Determining whether it is in the state of;
The method of claim 1 comprising:
前記GPUがロスの状態にあると判断された後に、前記方法は:
前記ユーザー・デバイスが、前記GPUリカバリを実行するか否かを検出するための第2検出ファンクションを前記レンダリング命令に挿入するステップ;
を含み、前記ユーザー・デバイスが、前記GPUリカバリを実行するか否かを判断するステップは:
前記ユーザー・デバイスが、レンダリング命令をリプレイし、前記第2検出ファンクションにより返される第2リターン値を取得するステップ;及び
前記ユーザー・デバイスが、前記第2リターン値に基づいて、前記GPUリカバリを実行するか否かを判断するステップ;
を有する、請求項1又は2に記載の方法。
After determining that the GPU is in a loss state, the method is:
Inserting a second detection function in the rendering instruction for detecting whether the user device performs the GPU recovery;
And determining whether the user device performs the GPU recovery includes:
The user device replays a rendering instruction and obtains a second return value returned by the second detection function; and the user device performs the GPU recovery based on the second return value Determining whether or not to do;
The method according to claim 1 or 2, comprising:
前記レンダリング・リソースに応じて前記デフォルト・リソース・プールにおいて構築されるGPUリソースがターゲットGPUリソースを含み、前記レンダリング命令は前記ターゲットGPUリソースのライフ・サイクル情報を含み;
前記方法は:
前記ユーザー・デバイスが、前記ターゲットGPUリソースのライフ・サイクルが終了した後に、前記ターゲットGPUリソースをリリースし、前記ターゲットGPUリソースが前記デフォルト・リソース・プールにおいてホールドされたリソースである旨の記録を削除するステップ;
を更に有する請求項1又は2に記載の方法。
A GPU resource constructed in the default resource pool in response to the rendering resource includes a target GPU resource, and the rendering instruction includes life cycle information of the target GPU resource;
The method is:
The user device releases the target GPU resource after the life cycle of the target GPU resource ends, and deletes the record that the target GPU resource is a resource held in the default resource pool Step to do;
The method according to claim 1 or 2, further comprising:
前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて前記デフォルト・リソース・プールにおいてリソースを再構築した後に、前記方法は:
前記ユーザー・デバイスが、前記デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたか否かを判断し、前記デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたとは限らない場合、前記デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築するステップ;
を更に有する請求項1又は2に記載の方法。
After reconstructing resources in the default resource pool based on a record of resources held in the default resource pool, the method:
The user device determines whether all resources held in the default resource pool have been successfully rebuilt, and all resources held in the default resource pool have been successfully rebuilt If not, release resources held in the default resource pool and reconstruct resources in the default resource pool based on the record of resources held in the default resource pool Step to do;
The method according to claim 1 or 2, further comprising:
クラウド・インタラクティブ・システムに含まれるユーザー・デバイスであって、前記クラウド・インタラクティブ・システムはサーバーも含み、前記ユーザー・デバイスは、デフォルト・リソース・プールに対応するグラフィックス処理ユニット(GPU)を有し、前記ユーザー・デバイスは:
前記サーバーにより送信されたレンダリング・データを受信するように構成される受信ユニットであって、前記レンダリング・データは、レンダリング命令と、前記レンダリング命令に対応するレンダリング・リソースとを含む、受信ユニット;
前記レンダリング・リソースに応じて前記デフォルト・リソース・プールにおいて構築されるGPUリソースを、前記デフォルト・リソース・プールにおいてホールドされたリソースとして記録する記録ユニット;
前記GPUはロスの状態であるか否かを前記レンダリング命令に応じて判断し、前記GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断する判断ユニット;及び
前記GPUリカバリを実行するように判断された場合に、前記デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築する再構築ユニット;
を有するユーザー・デバイス。
A user device included in a cloud interactive system, the cloud interactive system also including a server, the user device having a graphics processing unit (GPU) corresponding to a default resource pool. The user device is:
A receiving unit configured to receive rendering data sent by the server, wherein the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction;
A recording unit for recording a GPU resource constructed in the default resource pool according to the rendering resource as a resource held in the default resource pool;
A determination unit that determines whether or not the GPU is in a loss state according to the rendering command, and determines whether or not to perform GPU recovery when the GPU is in a loss state; and the GPU Release the resource held in the default resource pool when it is determined to perform recovery, and based on the record of the resource held in the default resource pool, the default resource pool A reconstruction unit to reconstruct resources in
User device with
前記レンダリング命令は、前記GPUの現在状態を検出する第1検出ファンクションを含み;
前記判断ユニットは、前記レンダリング命令をリプレイし、前記第1検出ファンクションによって返される第1リターン値を取得し、前記第1リターン値に基づいて、前記GPUはロスの状態にあるか否かを判断するように構成される;
請求項6に記載のユーザー・デバイス。
The rendering instruction includes a first detection function for detecting a current state of the GPU;
The determination unit replays the rendering instruction, obtains a first return value returned by the first detection function, and determines whether the GPU is in a loss state based on the first return value. Configured to do;
The user device according to claim 6.
前記GPUがロスの状態にあると判断された後に、前記GPUリカバリを実行するか否かを検出するための第2検出ファンクションを前記レンダリング命令に挿入するように構成される挿入ユニット;
を更に有し、前記判断ユニットは、前記レンダリング命令をリプレイし、前記第2検出ファンクションにより返される第2リターン値を取得し、前記第2リターン値に基づいて、前記GPUリカバリを実行するか否かを判断するように更に構成される;
請求項6又は7に記載のユーザー・デバイス。
An insertion unit configured to insert into the rendering instruction a second detection function for detecting whether to perform the GPU recovery after it is determined that the GPU is in a loss state;
The determination unit replays the rendering instruction, obtains a second return value returned by the second detection function, and performs the GPU recovery based on the second return value. Further configured to determine whether;
The user device according to claim 6 or 7.
前記レンダリング・リソースに応じて前記デフォルト・リソース・プールにおいて構築されるGPUリソースがターゲットGPUリソースを含み、前記レンダリング命令は前記ターゲットGPUリソースのライフ・サイクル情報を含み;
前記ユーザー・デバイスは:
前記ターゲットGPUリソースのライフ・サイクルが終了した後に、前記ターゲットGPUリソースをリリースし、前記ターゲットGPUリソースが前記デフォルト・リソース・プールにおいてホールドされたリソースである旨の記録を削除するように構成される削除ユニット;
を更に有する請求項6又は7に記載のユーザー・デバイス。
A GPU resource constructed in the default resource pool in response to the rendering resource includes a target GPU resource, and the rendering instruction includes life cycle information of the target GPU resource;
The user device is:
After the life cycle of the target GPU resource ends, it is configured to release the target GPU resource and delete the record that the target GPU resource is a resource held in the default resource pool Delete unit;
The user device according to claim 6 or 7, further comprising:
前記再構築ユニットは、
前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて前記デフォルト・リソース・プールにおいてリソースを再構築した後に、前記デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたか否かを判断し;及び
前記デフォルト・リソース・プールにおいてホールドされたリソース全てが成功裏に再構築されたとは限らない場合、前記デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築する;
ように更に構成される、請求項6又は7に記載のユーザー・デバイス。
The reconstruction unit is
All resources held in the default resource pool have been successfully rebuilt after rebuilding resources in the default resource pool based on a record of resources held in the default resource pool And if not all resources held in the default resource pool have been successfully rebuilt, release the resources held in the default resource pool, and Reconstruct resources in the default resource pool based on the record of resources held in the resource pool;
The user device according to claim 6 or 7, further configured as follows.
ユーザー・デバイス及びサーバーを有するクラウド・インタラクティブ・システムであって、前記ユーザー・デバイスは、は請求項6ないし10のうち何れか一項に記載のユーザー・デバイスである、クラウド・インタラクティブ・システム。   11. A cloud interactive system comprising a user device and a server, wherein the user device is the user device according to any one of claims 6 to 10. 1つ以上のコンピュータ・プログラムを保存する不揮発性記憶媒体であって、前記コンピュータ・プログラムは1つ以上のメモリを有するプロセッサにより実行される命令を有し、前記命令は、コンピュータにより実行される場合に、前記コンピュータにオペレーションを実行させ、前記オペレーションは:
サーバーにより送信されたレンダリング・データを受信するステップであって、前記レンダリング・データは、レンダリング命令と、前記レンダリング命令に対応するレンダリング・リソースとを含む、ステップ;
前記レンダリング・リソースに応じてデフォルト・リソース・プールにおいて構築されるGPUリソースを、前記デフォルト・リソース・プールにおいてホールドされたリソースとして記録するステップ;
GPUはロスの状態であるか否かを前記レンダリング命令に応じて判断し、前記GPUがロスの状態にあった場合に、GPUリカバリを実行するか否かを判断するステップ;及び
前記GPUリカバリを実行するように判断された場合に、前記デフォルト・リソース・プールにおいてホールドされたリソースをリリースし、前記デフォルト・リソース・プールにおいてホールドされたリソースの記録に基づいて、前記デフォルト・リソース・プールにおいてリソースを再構築するステップ;
を有する、不揮発性記憶媒体。
A non-volatile storage medium storing one or more computer programs, wherein the computer programs have instructions executed by a processor having one or more memories, and the instructions are executed by a computer Causing the computer to perform an operation, the operation being:
Receiving rendering data sent by a server, wherein the rendering data includes a rendering instruction and a rendering resource corresponding to the rendering instruction;
Recording a GPU resource built in a default resource pool in response to the rendering resource as a resource held in the default resource pool;
Determining whether or not the GPU is in a loss state according to the rendering command, and determining whether or not to execute GPU recovery when the GPU is in a loss state; and Release a resource held in the default resource pool when determined to execute, and based on a record of the resource held in the default resource pool, a resource in the default resource pool Reconstructing the steps;
A non-volatile storage medium.
JP2018538859A 2016-01-29 2017-01-25 GPU resource reconstruction method, user device, system and storage medium Active JP6715334B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201610067210.1 2016-01-29
CN201610067210.1A CN105740061B (en) 2016-01-29 2016-01-29 A kind of method, user equipment and system that GPU resource is rebuild
PCT/CN2017/072537 WO2017129117A1 (en) 2016-01-29 2017-01-25 Gpu resource reconstruction method, user device, system, and storage medium

Publications (2)

Publication Number Publication Date
JP2019509547A true JP2019509547A (en) 2019-04-04
JP6715334B2 JP6715334B2 (en) 2020-07-01

Family

ID=56247261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018538859A Active JP6715334B2 (en) 2016-01-29 2017-01-25 GPU resource reconstruction method, user device, system and storage medium

Country Status (4)

Country Link
JP (1) JP6715334B2 (en)
KR (1) KR102091961B1 (en)
CN (1) CN105740061B (en)
WO (1) WO2017129117A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740061B (en) * 2016-01-29 2019-05-31 腾讯科技(深圳)有限公司 A kind of method, user equipment and system that GPU resource is rebuild
CN110648272B (en) * 2019-08-21 2023-10-03 北京达佳互联信息技术有限公司 Graphics resource conversion method and device, electronic equipment and storage medium
CN110502399B (en) * 2019-08-23 2023-09-01 广东浪潮大数据研究有限公司 Fault detection method and device
CN111680015B (en) 2020-05-29 2023-08-11 北京百度网讯科技有限公司 File resource processing method, device, equipment and medium
CN113347432B (en) * 2021-05-27 2023-03-28 深圳万兴软件有限公司 Video encoding and decoding method and device, computer equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618159B1 (en) * 2004-08-05 2006-08-29 한국정보통신대학교 산학협력단 System and method for policy quorum grid resource management
US7827491B2 (en) * 2006-05-12 2010-11-02 Tran Bao Q Systems and methods for video editing
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 (en) * 2007-01-10 2009-10-28 中兴通讯股份有限公司 Resource storage method and device
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
CN102866919B (en) * 2012-07-31 2014-11-05 电子科技大学 Cloud drawing-based large-sized three-dimensional scene multi-person collaborative creation method
CN103595828A (en) * 2012-08-13 2014-02-19 南京杰诺瀚软件科技有限公司 An apparatus and a method for expending functions of a handset and a tablet computer
WO2014085714A1 (en) * 2012-11-28 2014-06-05 Nvidia Corporation Handheld gaming console
CN103095828B (en) * 2013-01-14 2016-03-30 上海电力学院 The Web3D synchronous conferencing system played up based on cloud and realize synchronous method
KR20150054484A (en) * 2013-11-12 2015-05-20 주식회사 시큐아이 Computing apparatus for running web application and method for measuring response time thereof
CN105740061B (en) * 2016-01-29 2019-05-31 腾讯科技(深圳)有限公司 A kind of method, user equipment and system that GPU resource is rebuild

Also Published As

Publication number Publication date
KR102091961B1 (en) 2020-03-20
WO2017129117A1 (en) 2017-08-03
KR20180100626A (en) 2018-09-11
CN105740061B (en) 2019-05-31
CN105740061A (en) 2016-07-06
JP6715334B2 (en) 2020-07-01

Similar Documents

Publication Publication Date Title
JP6715334B2 (en) GPU resource reconstruction method, user device, system and storage medium
US9164798B2 (en) Method, apparatus and computer for loading resource file for game engine
CN107168780B (en) Virtual reality scene loading method and equipment and virtual reality equipment
US10664443B2 (en) Method and apparatus for presenting to-be-cleaned data, and electronic device
WO2018058811A1 (en) Virtual reality scene loading method and device
KR20220125198A (en) Data additional writing method, apparatus, electronic device, storage medium and computer programs
US20210216231A1 (en) Method, electronic device and computer program product for rebuilding disk array
CN114579055B (en) Disk storage method, device, equipment and medium
CN103995772A (en) RAID card log completely-storing method based on LINUX operation system
CN103218228B (en) A kind of Android device built-in hard disk realizes method and the device of new technology file system
CN116841799A (en) Virtual machine backup method, system, equipment and readable storage medium
US11481142B2 (en) Method and device for downloading resources
CN115934999A (en) Video stream data storage method, device and medium based on block file
CN106940626B (en) Method and system for acquiring difference data among multiple disks of virtual machine
CN111142787A (en) Storage-layered data exchange testing method, system, terminal and storage medium
US10803109B2 (en) Method and device for reading and writing video data in NAS device
CN111381977A (en) Message processing method and device
CN113282237A (en) Partition creating method and device, storage medium and computer equipment
US20140075092A1 (en) Simulating eeprom in virtual distributed switches
CN110908602A (en) Data writing method, device, equipment and storage medium of distributed storage system
CN110262856A (en) A kind of application data acquisition method, device, terminal and storage medium
US20220156005A1 (en) Service management device, service management method, and non-transitory computer-readable recording medium
CN114071225B (en) Frame animation playing method, device and system
CN109542531B (en) File layout adjustment method and device
CN111625192B (en) Metadata object access method, device, equipment and medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200420

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200512

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200608

R150 Certificate of patent or registration of utility model

Ref document number: 6715334

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250