隨著當代行動網路上傳的需求逐漸提高,如 何緩解行動網路的負擔已成為不可避免的網路問題。由於終端裝置運算能力及儲存空間的增強,邊緣運算成為熱門的解決方案。其中,裝置對裝置(Device-to-Device,D2D)傳輸技術的研究開始受到重視。由於 D2D傳輸勢必會面臨裝置與裝置間的傳輸效益問題,因此,基於賽局理論與D2D傳輸的結合之研究近來受到高度重視。當用戶有檔案資料想上傳至後台時,若自身行動網路狀況不佳,如遭遇壅塞、訊號不佳、或網路流量不足等問題而無法順利上傳時,即可以D2D傳輸方法,將檔案傳給周圍其他網路狀況較佳的用戶,由他們將檔案上傳至後台,使得以解決因時效過期或裝置容量不足而導致檔案失效或遺失之問題。在本論文的研究中,我們基於賽局理論且結合D2D傳輸架構,提出一套三層式的D2D賽局演算法。首先,用戶檔案需要上傳至後台時,先以賽局前判斷,來決定是否提出D2D需求,若需求小於臨界值,則選擇自身行動網路上傳檔案。反之,則會提出D2D傳輸需求給其他用戶。其他用戶收到需求後,進入演算法第二步,用戶會以執行此D2D傳輸,所獲得自身利益是否大於傳輸成本為考量,來決定是否執行任務。當用戶同意執行此次任務,便進入演算法最後步驟,當檔案成功上傳至系統平台,會以檔案分數來增加系統平台效益。最後,本研究以模擬方式,驗證三層式演算法可明顯增加裝置及平台的效益,同時降低傳輸成本。;With the increasing demand for uploading in mobile networks, how to relieve the burden of mobile networks has become an inevitable network problem. Due to the enhancement of computing power and storage space of terminal devices, edge computing is known as a promising solution. Meanwhile, the research on device-to-device (D2D) communications receives much attention. Since D2D communications will face the problem of transmission efficiency between devices, the combination of game theory and D2D communications is considered. When users want to upload files such as videos and pictures to the backhaul servers, if their network conditions are not good such as congestion, poor signal and insufficient network traffic, their files cannot be uploaded smoothly. Alternatively, D2D-based data transmission techniques can be used to transfer files to other users if those have better network conditions around and can upload files to the backhaul. This way can solve the problem of file invalidation or loss due to expiration of the time limit or insufficient device capacity. In this thesis study, we design a three-layer and D2D-based game mechanism. First of all, when a user has a file to upload to the backhaul, it will first determine whether to make a D2D demand based on the pre-match judgment. After other users receive the demand, the user will decide whether to perform this task by considering whether the self-interest obtained by performing this D2D transmission task is greater than the transmission cost. After the user agrees to perform this task, the file is successfully uploaded to the system platform. The score of the file will be used to increase the efficiency of the system platform. Finally, our study has verified that the proposed three-layer algorithm can significantly increase the efficiency of the device and platform, while reducing the transmission cost by means of simulation.