WO2017071371A1 - Method, device, and server for implementing gaming assistance - Google Patents

Method, device, and server for implementing gaming assistance Download PDF

Info

Publication number
WO2017071371A1
WO2017071371A1 PCT/CN2016/094420 CN2016094420W WO2017071371A1 WO 2017071371 A1 WO2017071371 A1 WO 2017071371A1 CN 2016094420 W CN2016094420 W CN 2016094420W WO 2017071371 A1 WO2017071371 A1 WO 2017071371A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
game terminal
data
terminal
help
Prior art date
Application number
PCT/CN2016/094420
Other languages
French (fr)
Chinese (zh)
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 WO2017071371A1 publication Critical patent/WO2017071371A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/358Adapting the game course according to the network or server load, e.g. for reducing latency due to different connection speeds between clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/406Transmission via wireless network, e.g. pager or GSM
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/407Data transfer via internet
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/63Methods for processing data by generating or executing the game program for controlling the execution of the game in time

Abstract

A method, device, and server for implementing gaming assistance, related to the field of computers, and specifically related to techniques for providing help for gaming. In the method for implementing gaming assistance, a first gaming terminal launches an assistance request and pauses a current game progress. The first gaming terminal, upon receiving an assistance response indicating that the assistance request has been accepted by a second gaming terminal, provides the second gaming terminal with first data used for describing the current game progress, and switches the source used for pushing the game progress from local to the second gaming terminal. Subsequently, the first gaming terminal pushes the local game progress on the basis of second data coming from the second gaming terminal. Because the second terminal returns data directly with respect to the game progress for which the first gaming terminal launches the assistance request, obviated is the need in the prior art for locating data required for solving a problem in a large volume of help data, and the efficiency is higher compared with the prior art.

Description

实现游戏求助的方法、装置和服务器Method, device and server for realizing game help
本申请要求于2015年10月28日提交中国专利局、申请号为201510713259.5,发明名称为“实现游戏求助的方法、装置和服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201510713259.5, filed on October 28, 2015, entitled "Method, Apparatus and Server for Realizing Game Help", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明实施例涉及计算机技术,尤其涉及一种实现游戏求助的方法、装置和服务器。The embodiments of the present invention relate to computer technologies, and in particular, to a method, an apparatus, and a server for implementing game help.
背景技术Background technique
随着计算机技术的飞速发展,人们日益习惯于使用各种网络游戏程序,在使用各种网络游戏程序的过程中,使用者因缺乏经验等原因可能会存在无法继续操作或者操作效果不理想的问题。With the rapid development of computer technology, people are increasingly accustomed to using various online game programs. In the process of using various online game programs, users may have problems that cannot be continued or the operation effect is not satisfactory due to lack of experience. .
现有技术中,通常通过录制各种游戏程序的教学视频,以便于使用者在使用游戏程序之前,或者遇到问题时,通过观看教学视频,以获取解决方案,然而,受当前视频技术限制,录制的文件往往较大,不便于传输,占用较大的存储空间,并且,游戏程序在使用过程中,因用户的操作方式不同,可能出现的场景千变万化,录制的教学视频也无法全面演示各种场景。因此,通过录制教学视频的方式解决玩家在游戏过程中遇到的问题,没有针对性,并且,通过观看教学视频,很难直接定位到用户的问题,需要消耗使用者较长时间,效率不高。In the prior art, a teaching video of various game programs is usually recorded, so that the user can obtain a solution by watching the teaching video before using the game program or when encountering a problem, however, due to current video technology limitations, The recorded files are often large, inconvenient to transfer, occupying a large storage space, and during the use of the game program, depending on the user's operation mode, the scenes that may appear are ever-changing, and the recorded teaching videos cannot fully demonstrate various Scenes. Therefore, by recording the teaching video to solve the problems encountered by the player during the game, there is no specificity, and by watching the teaching video, it is difficult to directly locate the user's problem, and it takes a long time for the user to be inefficient. .
发明内容Summary of the invention
本发明实施例提供一种实现游戏求助的方法、装置和服务器,以提高针对性和定位问题的效率。Embodiments of the present invention provide a method, apparatus, and server for implementing game help to improve the efficiency of targeting and positioning problems.
第一方面,本发明实施例提供一种实现游戏求助的方法。该方法从第一游戏终端的角度进行描述。其中,该方法包括第一游戏终端发起求助请求,并暂停当前游戏进度。第一游戏终端在接收到指示求助请求已被第二游戏终端接受的求助响应后,将用于描述当前游戏进度的第一数据提供给第二游戏终端,并将用于推进游戏进度的第二数据的来源从本地切换到第二游戏终端。此后,第 一游戏终端基于来自第二游戏终端的第二数据推进本地的游戏进度。由于第二游戏终端返回的数据是直接针对第一游戏终端发起求助请求的游戏进度的,无需像现有技术一样在大量的帮助数据中定位解决问题所需要的数据,因此,相比现有技术,效率更高。而且,第二游戏终端是基于第一游戏终端的游戏进度进行游戏的,从而使第二游戏终端提供的帮助具有为第一游戏终端量身定制的效果,使得提供的帮助更具有针对性,更有效。In a first aspect, an embodiment of the present invention provides a method for implementing game help. The method is described from the perspective of the first gaming terminal. Wherein, the method includes the first game terminal initiating a help request and suspending the current game progress. After receiving the help response indicating that the help request has been accepted by the second game terminal, the first game terminal provides first data for describing the current game progress to the second game terminal, and will use the second game for advancing the progress of the game. The source of the data is switched locally to the second gaming terminal. Thereafter, the first A gaming terminal advances the local game progress based on the second data from the second gaming terminal. Since the data returned by the second game terminal is the game progress of initiating the help request directly for the first game terminal, it is not necessary to locate the data required to solve the problem in a large amount of help data as in the prior art, and thus, compared with the prior art ,higher efficiency. Moreover, the second game terminal performs the game based on the game progress of the first game terminal, so that the help provided by the second game terminal has the effect of being tailored for the first game terminal, so that the help provided is more targeted and more effective.
在一个可能的设计中,可以由服务器来管理第一游戏终端与第二游戏终端的交互。因此,第一游戏终端可以在启动游戏时与服务器建立连接。具体的,第一游戏终端可以向服务器发送建立连接的请求,并在该建立连接的请求中携带用于建立连接的第一游戏终端地址,以完成与服务器的连接建立。此后,第一游戏终端可以通过已建立的连接向服务器发起求助请求,通过服务器将该求助请求分发给第二游戏终端。采用服务器的方式可以使第一游戏终端保持在线状态,从而可以实时的发起求助请求,并实时获得帮助,提高了解决问题的效率。In one possible design, the interaction of the first gaming terminal with the second gaming terminal can be managed by the server. Therefore, the first game terminal can establish a connection with the server when the game is started. Specifically, the first game terminal may send a request for establishing a connection to the server, and carry a first game terminal address for establishing a connection in the request for establishing the connection, to complete connection establishment with the server. Thereafter, the first game terminal can initiate a help request to the server through the established connection, and distribute the help request to the second game terminal through the server. The server can be used to keep the first game terminal online, so that the help request can be initiated in real time, and the help is obtained in real time, thereby improving the efficiency of solving the problem.
在一个可能的设计中,第一游戏终端可以调用远程数据接口来替代本地数据接口,从而将第二数据的来源从本地切换到第二游戏终端。其中,远程数据接口可以是从所述第二游戏终端同步第二数据的接口,或者是从获取服务器转发的第二数据的接口。其中,第二数据是第二游戏终端基于第一数据产生的。In one possible design, the first gaming terminal may invoke a remote data interface instead of the local data interface to switch the source of the second data from the local to the second gaming terminal. The remote data interface may be an interface that synchronizes the second data from the second game terminal, or an interface that acquires the second data forwarded by the server. The second data is generated by the second game terminal based on the first data.
在一个可能的设计中,第二数据可以是游戏操作数据、游戏时钟以及游戏中产生的随机值中的一种或多种。获取这些数据远程数据接口可以是一个或多个。本地数据接口也可以是一个或多个,比如,本地数据接口可以是本地用于产生所述游戏操作数据的输入接口,产生游戏时钟的时钟发生器和/或产生所述随机值的随机值发生器。In one possible design, the second data may be one or more of game operation data, a game clock, and random values generated in the game. Obtaining these data remote data interfaces can be one or more. The local data interface may also be one or more. For example, the local data interface may be an input interface locally used to generate the game operation data, a clock generator that generates a game clock, and/or a random value that generates the random value. Device.
在一种可能的设计中,第一游戏终端可以与第二游戏终端直接建立用于传输游戏数据(如,第一数据和第二数据)的连接。在此方式中,第一游戏终端接收到的响应消息中会携带第二游戏终端的地址。第一终端根据求助响应中携带的第二游戏终端的地址直接与第二游戏终端建立连接。然后,将用于描述当前游戏进度的第一数据通过该连接发送给所述第二游戏终端。这种直连的方式无需经过服务器中转,可以减少网络开销。In one possible design, the first gaming terminal may directly establish a connection with the second gaming terminal for transmitting game data (eg, first data and second data). In this manner, the address of the second game terminal is carried in the response message received by the first game terminal. The first terminal directly establishes a connection with the second game terminal according to the address of the second game terminal carried in the help response. Then, the first data for describing the current game progress is transmitted to the second game terminal through the connection. This direct connection eliminates the need for server transit and reduces network overhead.
在另一种可能的设计中,第一游戏终端也可以通过服务器中转的方式将第一数据发送给所述第二游戏终端。 In another possible design, the first game terminal may also send the first data to the second game terminal by means of server relay.
在一种可能的设计中,结束帮助后,第一游戏终端可以在当前进度继续游戏。其中,第一游戏终端可以将推进游戏进度的第二数据的来源从所述第二游戏终端切换回本地,并基于来自本地的第二数据继续游戏。In one possible design, after the help is ended, the first gaming terminal can continue the game at the current progress. Wherein, the first game terminal may switch the source of the second data advancing the progress of the game from the second game terminal to the local, and continue the game based on the second data from the local.
在另一种可能的设计中,第一游戏终端可以在发起求助请求时,将第一数据保存到本地。当结束帮助后,第一游戏终端也可以通过从本地加载第一数据回到发起求助请求之前的游戏进度,继续游戏。In another possible design, the first game terminal may save the first data to the local when initiating the help request. When the help is ended, the first game terminal can also continue the game by loading the first data from the local back to the progress of the game before initiating the help request.
第二方面,本发明实施例提供实现游戏求助的方法。该方法从第二游戏终端的角度进行描述。其中,该方法包括第二游戏终端接收第一游戏终端发起的求助请求。该求助请求用于请求帮助第一游戏终端进行游戏。第二游戏终端在确定接受该求助请求后,向第一游戏终端返回指示所述求助请求已被接受的求助响应。所述第二游戏终端接收用于描述所述第一游戏终端的当前游戏进度的第一数据,基于所述第一数据进行游戏,产生推进游戏进度的第二数据。所述第二游戏终端将游戏过程中产生的第二数据实时发送给第一游戏终端。In a second aspect, an embodiment of the present invention provides a method for implementing game help. The method is described from the perspective of the second gaming terminal. Wherein, the method comprises the second game terminal receiving the help request initiated by the first game terminal. The help request is used to request assistance to the first game terminal to play the game. After determining that the help request is accepted, the second game terminal returns a help response indicating that the help request has been accepted to the first game terminal. The second game terminal receives first data for describing a current game progress of the first game terminal, and performs a game based on the first data to generate second data for advancing the progress of the game. The second game terminal transmits the second data generated during the game to the first game terminal in real time.
在一个可能的设计中,第二游戏终端在接收到第一数据后,执行加载操作,并在加载完所述第一数据后开始游戏,在游戏过程中产生推进游戏进度的第二数据。In a possible design, after receiving the first data, the second game terminal performs a loading operation, and starts the game after the first data is loaded, and generates second data for advancing the progress of the game during the game.
在一个可能的设计中,第二游戏终端可以监测所述第二游戏终端的外设在游戏过程中的输入事件,并基于所述输入事件产生游戏操作数据。其中,该游戏操作数据是第二数据中的一种。第二数据还可以包括:游戏时钟和/或游戏中产生的随机值。In one possible design, the second gaming terminal may monitor an input event of the peripheral of the second gaming terminal during the game and generate game operation data based on the input event. The game operation data is one of the second data. The second data may also include: a game clock and/or a random value generated in the game.
在一种可能的设计中,第二游戏终端可以采用两种方式与第一游戏终端传输游戏数据。具体的,第二游戏终端可以通过与所述第一游戏终端直接建立连接的方式接收所述第一数据,或者,通过服务器中转的方式接收所述第一数据。其中,在采用与所述第一游戏终端直接建立连接的方式时,第二游戏终端在返回的所述求助响应中会携带建立所述连接需要使用的所述第二游戏终端的地址。In one possible design, the second gaming terminal can transmit game data to the first gaming terminal in two ways. Specifically, the second game terminal may receive the first data by establishing a connection with the first game terminal directly, or receive the first data by means of server relay. The second game terminal carries the address of the second game terminal that needs to be used to establish the connection in the returned help response when the connection with the first game terminal is directly established.
第三方面,本发明实施例提供实现游戏求助的方法。该方法从服务器的角度进行描述。其中,该方法包括服务器接收来自第一游戏终端的求助请求。所述求助请求用于请求帮助第一游戏终端进行游戏。服务器在接收到求助请求后,根据所述求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并创建求助会话,协助所述第一游戏终端与第二游戏终端实现游戏数据的传输。其中, 传输的游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据。In a third aspect, an embodiment of the present invention provides a method for implementing game help. This method is described from the perspective of the server. Wherein the method comprises the server receiving a help request from the first game terminal. The help request is for requesting assistance to the first game terminal to play the game. After receiving the help request, the server determines a second game terminal that provides assistance to the first game terminal according to the help request, and creates a help session to assist the first game terminal and the second game terminal to implement game data. transmission. among them, The transmitted game data includes first data for describing a progress of the game when the first game terminal initiates a help request, and second data for advancing the progress of the game generated by the second game terminal based on the first data.
在一种可能的设计中,服务器可以在所述求助会话中,中转所述第一游戏终端与所述第二游戏终端之间传输的所述游戏数据,从而协助第一游戏终端与第二游戏终端实现游戏数据的传输。In a possible design, the server may transfer the game data transmitted between the first game terminal and the second game terminal in the help session, thereby assisting the first game terminal and the second game. The terminal implements the transmission of game data.
在另一种可能的设计中,服务器可以将第二游戏终端的地址发送给第一游戏终端,供所述第一游戏终端直接与所述第二游戏终端建立用于传输所述游戏数据的连接。从而使所述游戏数据通过所述第一游戏终端和所述第二游戏终端之间建立的连接传输。In another possible design, the server may send the address of the second game terminal to the first game terminal, and the first game terminal directly establishes a connection with the second game terminal for transmitting the game data. . Thereby the game data is transmitted through a connection established between the first game terminal and the second game terminal.
在一种可能的设计中,服务器在所述求助会话中,中转所述第一游戏终端与第二游戏终端之间传输的所述游戏数据可以通过以下方式来实现:服务器接收所述第一游戏终端发送包括所述第一数据以及所述求助会话的会话ID的消息。服务器根据该会话ID找到对应的求助会话,将所述第一数据转发给该求助会话中的第二游戏终端。服务器在获取到第二游戏终端在游戏过程中产生的第二数据后,将第二数据发送给该求助会话中的第一游戏终端。In a possible design, the server in the help session, the transfer of the game data transmitted between the first game terminal and the second game terminal may be implemented by: the server receiving the first game The terminal transmits a message including the first data and a session ID of the help session. The server finds a corresponding help session according to the session ID, and forwards the first data to the second game terminal in the help session. After acquiring the second data generated by the second game terminal during the game, the server sends the second data to the first game terminal in the help session.
在一种可能的设计中,所述服务器接收第一游戏终端发送的求助请求之前,还要与第一游戏终端建立连接。具体的,服务器接收第一游戏终端发送的携带第一游戏终端地址的建立连接的请求,根据第一游戏终端地址与所述第一游戏终端建立连接。此后,服务器可以通过已建立的连接接收来自所述第一游戏终端发送的求助请求。In a possible design, the server also establishes a connection with the first game terminal before receiving the help request sent by the first game terminal. Specifically, the server receives a request for establishing a connection that is sent by the first game terminal and carries a first game terminal address, and establishes a connection with the first game terminal according to the first game terminal address. Thereafter, the server can receive the help request sent from the first gaming terminal over the established connection.
第四方面,本发明实施例提供一种实现游戏求助的装置,所述装置位于第一游戏终端中。该装置具有实现上述方法设计中第一游戏终端行为的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, an embodiment of the present invention provides an apparatus for implementing game help, the apparatus being located in a first game terminal. The device has the function of realizing the behavior of the first game terminal in the above method design. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一个可能的设计中,该位于第一游戏终端中的装置的具体结构可包括请求模块、接收模块和处理模块。请求模块、接收模块和处理模块可执行上述方法中的相应功能。例如:请求模块,用于发起求助请求,并暂停当前游戏进度。接收模块,用于接收求助响应,所述求助响应指示所述求助请求已被第二游戏终端接受。处理模块,用于在所述请求模块发起求助请求时,暂停当前游戏进度,并在所述接收模块接收到所述求助响应后,将用于描述所述当前游戏进度 的第一数据提供给所述第二游戏终端,以及将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端,并基于来自所述第二游戏终端的第二数据推进本地的游戏进度。In one possible design, the specific structure of the device located in the first game terminal may include a request module, a receiving module, and a processing module. The request module, the receiving module, and the processing module can perform the corresponding functions in the above methods. For example: a request module for initiating a help request and suspending the current game progress. The receiving module is configured to receive a help response, the help response indicating that the help request has been accepted by the second game terminal. a processing module, configured to pause a current game progress when the requesting module initiates a help request, and after the receiving module receives the help response, is used to describe the current game progress The first data is provided to the second game terminal, and the source of the second data for advancing the progress of the game is locally switched to the second game terminal, and based on the second data from the second game terminal Promote local game progress.
第五方面,本发明实施例实现游戏求助的装置,所述装置位于第二游戏终端中。该装置具有实现上述方法设计中第二游戏终端行为的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, an embodiment of the present invention implements a game for help, the device being located in a second game terminal. The device has the function of realizing the behavior of the second game terminal in the above method design. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一个可能的设计中,该位于第二游戏终端中的装置的具体结构可包括包括接收模块、发送模块和处理模块。接收模块、发送模块和处理模块可执行上述方法中的相应功能。例如:In a possible design, the specific structure of the device located in the second game terminal may include a receiving module, a sending module, and a processing module. The receiving module, the transmitting module, and the processing module can perform respective functions in the above methods. E.g:
接收模块,用于接收第一游戏终端发起的求助请求。所述求助请求用于请求帮助第一游戏终端进行游戏。发送模块,用于根据所述求助请求返回求助响应,所述求助响应指示所述求助请求已被所述第二游戏终端接受。所述接收模块还用于接收用于描述所述第一游戏终端的当前游戏进度的第一数据。处理模块,用于基于所述第一数据产生推进游戏进度的第二数据。The receiving module is configured to receive a request for assistance initiated by the first game terminal. The help request is for requesting assistance to the first game terminal to play the game. And a sending module, configured to return a help response according to the help request, the help response indicating that the help request has been accepted by the second game terminal. The receiving module is further configured to receive first data for describing a current game progress of the first game terminal. And a processing module, configured to generate second data that advances the progress of the game based on the first data.
所述发送模块还用于将所述第二数据提供给第一游戏终端。The sending module is further configured to provide the second data to the first game terminal.
第六方面,本发明实施例提供一种服务器。该装置服务器具有实现上述方法设计中服务器行为的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, an embodiment of the present invention provides a server. The device server has the function of implementing server behavior in the above method design. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一个可能的设计中,该服务器的具体结构可包括通信模块和处理模块。通信模块和处理模块可执行上述方法中的相应功能。例如:通信模块,用于接收来自第一游戏终端的求助请求,以及在所述处理模块协助所述第一游戏终端与所述第二游戏终端实现游戏数据的传输的过程中负责处理模块与所述第一游戏终端以及与所述第二游戏终端的交互。处理模块,用于根据通信模块接收的所述求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并协助所述第一游戏终端与第二游戏终端建立用于传输游戏数据的连接。所述游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据。In one possible design, the specific structure of the server may include a communication module and a processing module. The communication module and processing module can perform the corresponding functions in the above methods. For example, a communication module is configured to receive a help request from the first game terminal, and is responsible for processing the module and the process in the process of the processing module assisting the first game terminal and the second game terminal to realize the transmission of game data. The first game terminal and the interaction with the second game terminal are described. a processing module, configured to determine, according to the request for assistance, received by the communication module, a second game terminal that provides assistance to the first game terminal, and assists the first game terminal and the second game terminal to establish a game data for transmitting game data. connection. The game data includes first data for describing a progress of the game when the first game terminal initiates a help request, and second data for advancing the progress of the game generated by the second game terminal based on the first data.
第七方面,本发明实施例提供一种计算机存储介质,用于存储为上述第一游戏终端所用的计算机软件指令,并包含用于执行上述方面所设计的程序。In a seventh aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the first game terminal, and includes a program designed to execute the above aspects.
第八方面,本发明实施例提供一种计算机存储介质,用于存储为上述第二 游戏终端所用的计算机软件指令,并包含用于执行上述方面所设计的程序。In an eighth aspect, an embodiment of the present invention provides a computer storage medium, configured to be stored as the second Computer software instructions for the gaming terminal and including programs designed to perform the above aspects.
第九方面,本发明实施例提供一种计算机存储介质,用于存储为上述服务器所用的计算机软件指令,并包含用于执行上述方面所设计的程序。In a ninth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the server, and includes a program designed to execute the above aspects.
相较于现有技术,本发明实施例提供的方案,可以使为游戏提供的帮助更有效,而且效率更高。Compared with the prior art, the solution provided by the embodiment of the present invention can make the help provided for the game more effective and more efficient.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明实施例提供的系统架构示意图;FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present disclosure;
图2为本发明实施例提供的游戏终端与服务器建立连接的流程示意图;2 is a schematic flowchart of establishing a connection between a game terminal and a server according to an embodiment of the present invention;
图3为本发明实施例中提供的实现游戏求助的方法的流程示意图;3 is a schematic flowchart of a method for implementing game help according to an embodiment of the present invention;
图4为本发明另一实施例提供的实现游戏求助的方法的流程示意图;4 is a schematic flowchart of a method for implementing game help according to another embodiment of the present invention;
图5为本发明实施例提供的实现游戏求助的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for implementing game help according to an embodiment of the present invention;
图6为本发明实施例提供的实现游戏求助的装置的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for implementing game help according to an embodiment of the present invention;
图7为本发明实施例提供的服务器的结构示意图;FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure;
图8为本发明实施例提供的第一游戏终端的硬件结构示意图;FIG. 8 is a schematic structural diagram of hardware of a first game terminal according to an embodiment of the present invention;
图9为本发明实施例提供的第二游戏终端的硬件结构示意图;FIG. 9 is a schematic structural diagram of hardware of a second game terminal according to an embodiment of the present invention;
图10为本发明实施例提供的服务器的硬件结构示意图。FIG. 10 is a schematic structural diagram of a hardware of a server according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括 没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "including" and "comprising" and variations of the invention are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device comprising a series of steps or units. It is not necessary to be limited to those steps or units that are clearly listed, but may include Other steps or units not explicitly listed or inherent to such processes, methods, products or equipment.
本发明实施例提供一种基于游戏终端本地的游戏进度进行帮助的方案。具体的,提供帮助的游戏终端可获取被帮助的游戏终端在需要帮助时的游戏进度。提供帮助的游戏终端基于该进度进行游戏,并将游戏过程中产生的数据发送给被帮助的游戏终端,在被帮助的游戏终端实时再现提供帮助的游戏终端的游戏过程。这种基于被帮助的游戏终端的实时游戏进度进行帮助的方式,使得提供的帮助更具有针对性,更有效。Embodiments of the present invention provide a solution for assisting based on a game progress local to a game terminal. Specifically, the gaming terminal providing assistance can obtain the progress of the game when the assisted gaming terminal needs help. The game terminal providing assistance plays the game based on the progress, and transmits data generated during the game to the game terminal to be helped, and the game process of the game terminal providing the help is reproduced in real time in the game terminal to be assisted. This way of helping based on the real-time game progress of the helped gaming terminal makes the help provided more targeted and effective.
图1为实现本发明的一种可能的系统架构示意图,如图1所示,该系统架构包括游戏终端101以及游戏终端102。其中,游戏终端101是被帮助的游戏终端,游戏终端102是为游戏终端101提供帮助的游戏终端。1 is a schematic diagram of a possible system architecture for implementing the present invention. As shown in FIG. 1, the system architecture includes a game terminal 101 and a game terminal 102. Among them, the game terminal 101 is a game terminal to be assisted, and the game terminal 102 is a game terminal that provides assistance to the game terminal 101.
游戏终端101和游戏终端102可以是装载有游戏的计算机、移动终端或个人数字助理(personal digital assistant,PAD)等。游戏终端101和游戏终端102均连接到网络中,该网络可以是互联网(Internet)或无线网络等其他类型的网络。其中,无线网络可以是码分多址网络接入(Code Division Multiple Access,CDMA)网络,时分多址接入(Time Division Multiple Access,TDMA)网络,频分多址接入(Frequency Division Multiple Access,FDMA)网络,正交频分多址接入(Orthogonal Frequency Division Multiple Access,OFDMA)网络或单载波FDMA(Single Carrier Frequency Division Multiple Access,SC-FDMA)网络等。The game terminal 101 and the game terminal 102 may be a computer loaded with a game, a mobile terminal, or a personal digital assistant (PAD) or the like. Both the gaming terminal 101 and the gaming terminal 102 are connected to a network, which may be other types of networks such as the Internet or a wireless network. The wireless network may be a Code Division Multiple Access (CDMA) network, a Time Division Multiple Access (TDMA) network, or a Frequency Division Multiple Access (Frequency Division Multiple Access). FDMA) network, Orthogonal Frequency Division Multiple Access (OFDMA) network or Single Carrier Frequency Division Multiple Access (SC-FDMA) network.
游戏终端101可以在游戏界面中提供触发求助功能的控件或者输入框,通过该控件或输入框接收玩家的求助指令。游戏终端101在接收到玩家的求助指令后,暂停当前游戏进度,并发起求助请求。该求助请求可以通过上述网络发送到游戏终端102。The game terminal 101 may provide a control or input box for triggering the help function in the game interface, and receive the help instruction of the player through the control or the input box. After receiving the help instruction from the player, the game terminal 101 suspends the current game progress and initiates a help request. The help request can be sent to the gaming terminal 102 via the above network.
在暂停当前游戏进度时,游戏终端101还可以进一步保存用于描述当前游戏进度的数据。本发明实施例中,将用于描述当前游戏进度的数据称为第一数据。其中,第一数据描述的当前游戏进度是指发起求助请求时的游戏进度。When the current game progress is suspended, the gaming terminal 101 may further save data for describing the current game progress. In the embodiment of the present invention, data for describing the current game progress is referred to as first data. The current game progress described by the first data refers to the progress of the game when the request for assistance is initiated.
游戏终端102在接收到求助请求后,如果接受该求助请求,则向游戏终端101返回求助响应,在该求助响应中指示该求助请求被游戏终端102接受。Upon receiving the help request, the game terminal 102 returns a help response to the game terminal 101 upon receiving the help request, and instructs the help request to be accepted by the game terminal 102 in the help response.
在接收到指示该求助请求被游戏终端102接受的求助响应后,游戏终端101将第一数据发送给游戏终端102,并将推进游戏进度的数据的来源从本地切换到游戏终端102。本发明实施例中将用于推进游戏进度的数据称为第二数据。 Upon receiving the help response indicating that the help request is accepted by the game terminal 102, the game terminal 101 transmits the first data to the game terminal 102, and switches the source of the data for advancing the game progress from the local to the game terminal 102. The data for advancing the progress of the game is referred to as second data in the embodiment of the present invention.
游戏终端102在接收到游戏终端101发送的第一数据后,加载该第一数据,基于该第一数据开始游戏,并将游戏过程中产生的用于推进游戏进度的第二数据提供给游戏终端101,此后,游戏终端101基于来自游戏终端102的第二数据推进本地的游戏进度。After receiving the first data sent by the game terminal 101, the game terminal 102 loads the first data, starts the game based on the first data, and provides the second data generated during the game for advancing the progress of the game to the game terminal. 101. Thereafter, the gaming terminal 101 advances the local game progress based on the second data from the gaming terminal 102.
游戏终端101以及游戏终端102的上述功能可以在游戏程序中实现,也可以通过软件开发包(Software Development Kit,以下简称:SDK)来实现。采用SDK的优点在于,任意游戏均可调用该SDK来实现上述功能。其中,SDK以本地库的形式(比如Java的jar,C/C++的静态库或动态库等等)向游戏终端101或游戏终端102的游戏程序提供一组用于提供游戏程序与其他设备进行远程交互的接口。游戏程序也按照约定设置一组接口供SDK调用。游戏终端101的SDK和游戏终端102的SDK之间通过远程通信接口通信。The above functions of the game terminal 101 and the game terminal 102 can be implemented in a game program, or can be realized by a software development kit (hereinafter referred to as SDK). The advantage of using the SDK is that any game can call the SDK to achieve the above functions. The SDK provides a set of game programs for the game terminal 101 or the game terminal 102 in the form of a local library (such as a Java jar, a C/C++ static library or a dynamic library, etc.) for providing a game program and remotely connecting with other devices. Interactive interface. The game program also sets a set of interfaces for the SDK to call according to the convention. The SDK of the gaming terminal 101 and the SDK of the gaming terminal 102 communicate via a remote communication interface.
图1所示的系统架构中还可以进一步包括服务器103,由服务器103来管理游戏终端101与游戏终端102之间的交互。服务器103通过互联网(Internet)或无线网络等其他网络与游戏终端101或游戏终端102连接。服务器可以对游戏终端101与游戏终端102进行接入管理、账号管理以及会话管理。The system architecture shown in FIG. 1 may further include a server 103 for managing the interaction between the game terminal 101 and the game terminal 102. The server 103 is connected to the game terminal 101 or the game terminal 102 via another network such as the Internet (Internet) or a wireless network. The server can perform access management, account management, and session management for the game terminal 101 and the game terminal 102.
其中,接入管理包括:建立服务器103与游戏终端101或游戏终端102之间的连接,并通过该连接与游戏终端101或游戏终端102进行消息交互。账号管理包括:对游戏终端101或游戏终端102进行注册,为注册的游戏终端101或游戏终端102创建账号,该账号可以在服务器103中唯一的标识一个游戏终端。会话管理包括:创建并管理游戏终端101与游戏终端102之间的会话。The access management includes establishing a connection between the server 103 and the game terminal 101 or the game terminal 102, and performing message interaction with the game terminal 101 or the game terminal 102 through the connection. The account management includes registering the game terminal 101 or the game terminal 102, and creating an account for the registered game terminal 101 or the game terminal 102, which can uniquely identify a game terminal in the server 103. Session management includes creating and managing a session between gaming terminal 101 and gaming terminal 102.
游戏终端101或游戏终端102与服务器103建立连接的过程可采用图2所示的流程。图2为游戏终端与服务器建立连接的流程图,如图2所示,该流程包括:The process in which the gaming terminal 101 or the gaming terminal 102 establishes a connection with the server 103 can employ the flow shown in FIG. 2. 2 is a flow chart of establishing a connection between a game terminal and a server. As shown in FIG. 2, the process includes:
S201,游戏终端启动游戏。S201. The game terminal starts the game.
游戏终端可接收玩家输入的启动游戏的指令,并根据该指令启动游戏。The game terminal can receive an instruction input by the player to start the game, and start the game according to the instruction.
S202,游戏终端根据游戏的启动,向服务器发送建立连接的请求。S202. The game terminal sends a request for establishing a connection to the server according to the startup of the game.
游戏终端可以在启动游戏时与服务器建立连接。游戏终端向服务器发送的建立连接的请求中可携带游戏终端的地址。游戏终端的地址可以是互联网协议(Internet Protocol,以下简称:IP)地址。IP地址具体可以为内网IP地址和外网IP地址。The gaming terminal can establish a connection with the server when the game is started. The address of the game terminal may be carried in the request for establishing a connection sent by the game terminal to the server. The address of the game terminal may be an Internet Protocol (IP) address. The IP address can be an internal network IP address and an external network IP address.
在一个实施例中,建立连接的请求中还可以进一步携带游戏终端的标识,游戏终端的标识可以是移动设备国际身份码(Internat ional Mobile Equipment  Identity,以下简称:IMEI)或游戏终端的网卡的媒体接入控制(Medium Access Control,以下简称:MAC)地址等唯一能标识该游戏终端的标识。服务器可直接采用游戏终端的标识来唯一标识该游戏终端。In an embodiment, the request for establishing a connection may further carry the identifier of the game terminal, and the identifier of the game terminal may be an international identity code of the mobile device (International Mobile Equipment) Identity, hereinafter referred to as IMEI or Media Access Control (MAC) address of the network card of the game terminal, can uniquely identify the logo of the game terminal. The server can directly identify the gaming terminal by using the identity of the gaming terminal.
在另一实施例中,服务器也可以采用注册机制,为注册过的游戏终端分配一个可在服务器中唯一标识该游戏终端的账号。在此情况下,如果游戏终端已经在服务器注册过,游戏终端向服务器发送的建立连接的请求携带的游戏终端的标识也可以被该账号替代。In another embodiment, the server may also employ a registration mechanism to assign an account to the registered gaming terminal that uniquely identifies the gaming terminal in the server. In this case, if the gaming terminal has already registered with the server, the identification of the gaming terminal carried by the gaming terminal to the server to establish the connection request may also be replaced by the account.
S203,服务器根据游戏终端发送的建立连接的请求与该游戏终端建立连接,返回建立连接成功的响应。S203. The server establishes a connection with the game terminal according to the request for establishing a connection sent by the game terminal, and returns a response for establishing a successful connection.
服务器在接收到建立连接的请求后,根据建立连接的请求中携带的游戏终端的地址与游戏终端建立连接。After receiving the request to establish a connection, the server establishes a connection with the game terminal according to the address of the game terminal carried in the request to establish the connection.
如果服务器采用了注册机制,在接收到建立连接的请求后,服务器还可以进一步判断该游戏终端是否已经注册。如果已经注册,则直接返回建立连接的响应。如果未注册,则服务器为该游戏终端分配一个账号,记录该账号与游戏设备的地址以及已建立的连接的对应关系,并将该账号携带在建立连接成功的响应中返回给游戏终端,以便游戏终端后续使用该账户与服务器进行交互。If the server adopts a registration mechanism, after receiving the request to establish a connection, the server may further determine whether the game terminal has been registered. If it is already registered, it directly returns the response to establish a connection. If not registered, the server allocates an account for the game terminal, records the correspondence between the account and the address of the game device and the established connection, and returns the account to the game terminal in response to the successful connection establishment, so as to play the game. The terminal subsequently uses the account to interact with the server.
需要说明的是,本实施例描述的是成功建立连接的过程,对于未成功建立连接的情况,则服务器会向游戏终端返回建立连接失败的响应,并终止流程。It should be noted that, in this embodiment, the process of successfully establishing a connection is described. For the case where the connection is not successfully established, the server returns a response to the establishment of the connection failure to the game terminal, and terminates the process.
S204,游戏终端保持与服务器的连接。S204. The game terminal maintains a connection with the server.
游戏中接收到建立连接成功的响应后,可以通过定时(如,周期性的)发送心跳消息的方式来保持与服务器的连接。当然,也可采用其它手段来保持与服务器的连接,由于与服务器保持连接可采用现有技术来实现,这里不再赘述。游戏终端可在退出游戏时与服务器断开连接。After receiving the response to establish a successful connection, the game can maintain the connection with the server by sending a heartbeat message periodically (eg, periodically). Of course, other means can be used to maintain the connection with the server. Since the connection with the server can be implemented by using the prior art, it will not be described here. The gaming terminal can disconnect from the server when exiting the game.
在与服务器103建立连接后,游戏终端101可在需要求助时(如,接收到玩家输入的求助指令),通过该连接向服务器103发起求助请求。After establishing a connection with the server 103, the gaming terminal 101 can initiate a request for assistance to the server 103 via the connection when the assistance is required (e.g., receiving a help instruction input by the player).
由于游戏终端101在与服务器103建立连接后,就处于在线状态,因此,游戏终端101可以实时的发起求助请求,从而实时得到帮助,提高了获得帮助的效率。Since the gaming terminal 101 is in an online state after establishing a connection with the server 103, the gaming terminal 101 can initiate a help request in real time, thereby obtaining help in real time, and improving the efficiency of obtaining help.
下面以具体地实施例对游戏终端的求助过程进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。在下述所有实施例中,将被帮助的游戏终端称为第一游戏终端,将提 供帮助的游戏终端称为第二游戏终端。The help process of the game terminal will be described in detail below with a specific embodiment. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. In all of the embodiments described below, the game terminal to be assisted is referred to as a first game terminal, and The game terminal for help is referred to as a second game terminal.
图3为本发明实施例中提供的实现游戏求助的方法的流程示意图。本实施例从第一游戏终端与第二游戏终端的交互进行说明。下述交互过程可以直接在第一游戏终端与第二游戏终端之间完成,也可以由其它设备(如图1中所示的服务器)在第一游戏终端与第二游戏终端之间做转发。如图3所示,本实施例的方法如下:FIG. 3 is a schematic flowchart diagram of a method for implementing game help according to an embodiment of the present invention. This embodiment describes the interaction between the first game terminal and the second game terminal. The following interaction process may be performed directly between the first game terminal and the second game terminal, or may be forwarded between the first game terminal and the second game terminal by other devices (such as the server shown in FIG. 1). As shown in FIG. 3, the method of this embodiment is as follows:
S301:第一游戏终端发起求助请求,并暂停当前游戏进度。S301: The first game terminal initiates a help request and suspends the current game progress.
当使用第一游戏终端的玩家在游戏过程中,遇到难于解决的问题时,可在第一游戏终端提供的游戏界面中触发求助功能。第一游戏终端在玩家触发求助功能后,暂停当前游戏进度,并发起求助请求至第二游戏终端。该求助请求中可以携带求助说明(例如,求助的游戏名称、求助关卡或求助的问题类型等)以及第一游戏终端的标识或账号。第一游戏终端的标识或账号能够使得服务器获知求助请求的来源。其中,该求助请求可经过服务器发送至第二游戏终端。When the player using the first game terminal encounters a problem that is difficult to solve during the game, the help function can be triggered in the game interface provided by the first game terminal. After the player triggers the help function, the first game terminal pauses the current game progress and initiates a help request to the second game terminal. The help request may carry a help description (for example, a game name for help, a help level or a question type of help, etc.) and an identification or account number of the first game terminal. The identification or account number of the first gaming terminal enables the server to know the source of the request for help. The request for help can be sent to the second game terminal via the server.
S302:第二游戏终端接收到第一游戏终端的求助请求后,向第一游戏终端返回求助响应,该求助响应指示求助请求已被第二游戏终端接受。S302: After receiving the help request of the first game terminal, the second game terminal returns a help response to the first game terminal, where the help response indicates that the help request has been accepted by the second game terminal.
第二游戏终端在接收到求助请求之后,通过用户界面向第二游戏终端的玩家显示求助请求,在该玩家选择接受该求助请求后,第二游戏终端返回求助响应至第一游戏终端,该求助响应指示求助请求已被第二游戏终端接受。After receiving the help request, the second game terminal displays a help request to the player of the second game terminal through the user interface, and after the player selects to accept the help request, the second game terminal returns a help response to the first game terminal, the help The response indicates that the help request has been accepted by the second gaming terminal.
需要说明的是,本实施例是以第二游戏终端接受求助请求为例对整个求助过程进行说明。对于第二游戏终端拒绝求助请求的情况,第二游戏终端会返回表示拒绝求助的响应,终止本次的求助流程。It should be noted that, in this embodiment, the entire help-seeking process is described by taking the second game terminal accepting the help-seeking request as an example. In the case that the second game terminal rejects the help request, the second game terminal returns a response indicating rejection of the help, and terminates the current help flow.
S303:第一游戏终端接收到求助响应后,将用于描述所述当前游戏进度的第一数据提供给第二游戏终端,并将用于推进游戏进度的第二数据的来源从本地切换到第二游戏终端。S303: After receiving the help response, the first game terminal provides the first data for describing the current game progress to the second game terminal, and switches the source of the second data for promoting the progress of the game from the local to the first Two game terminals.
其中,第一游戏终端将用于描述当前游戏进度的第一数据以游戏程序定义的格式封装好发送给第二游戏终端。第一数据中可包括与第一游戏终端的玩家相关的各类状态数据,具体可视各游戏的设计而定(比如,可包括游戏中的角色属性、任务完成情况、各非玩家控制角色(Non Player Character,NPC)状态、预设时间触发状态、角色在地图中位置、地图中各物品状态、游戏进展到的剧本位置或游戏时钟等)。The first game terminal encapsulates the first data for describing the current game progress in a format defined by the game program and sends the data to the second game terminal. The first data may include various types of status data related to the players of the first game terminal, depending on the design of each game (for example, may include character attributes in the game, task completion status, and non-player control roles ( Non Player Character, NPC) status, preset time trigger status, position of the character in the map, status of each item in the map, script position to which the game progresses, or game clock, etc.).
第一游戏终端可以进一步将第一数据保存到本地文件。需要说明的是,在 暂停当前游戏进度时,第一数据是存在于内存中的。这里将第一数据保存到本地文件,是将第一数据保存到了非易失的存储介质(比如,硬盘)中。The first game terminal can further save the first data to a local file. It should be noted that When the current game progress is paused, the first data is stored in memory. Here, the first data is saved to a local file, and the first data is saved to a non-volatile storage medium (for example, a hard disk).
推进游戏进度的第二数据可以包括游戏操作数据。游戏操作数据是指基于游戏终端的外设的输入事件所产生的数据。其中,输入事件可包括鼠标移动事件,鼠标点击事件、触屏点击事件或键盘输入事件等。上述本地数据接口包括本地用于输入游戏操作数据的输入接口。The second data that advances the progress of the game may include game operation data. The game operation data refers to data generated based on an input event of a peripheral of the game terminal. The input event may include a mouse movement event, a mouse click event, a touch screen click event, or a keyboard input event. The local data interface described above includes an input interface locally for inputting game operation data.
视不同游戏的具体设计,第二数据除包括游戏操作数据之外,还可能进一步包括游戏时钟和/或游戏中产生的随机值。具体的,有些游戏程序中的某些部件(例如,游戏中的NPC或游戏剧本)的推进是由内部时钟触发的,在此情况下,第二数据可包括游戏时钟。有些游戏中存在影响游戏进度的随机值(例如:在游戏中NPC的运动轨迹可能是随机的,再比如角色的行为触发的事件可能是随机选择的),在此情况下,第二数据可包括游戏中产生的随机值。其中,随机值需要携带有效的标识参数,用于识别该随机值作用的对象。上述游戏操作数据、游戏时钟以及随机值都是游戏中公知的技术,这里不再赘述。Depending on the specific design of the different games, the second data may further include random values generated in the game clock and/or the game in addition to the game operation data. Specifically, advancement of certain components in some game programs (eg, NPCs in a game or game scripts) is triggered by an internal clock, in which case the second data may include a game clock. In some games, there are random values that affect the progress of the game (for example, the NPC's motion trajectory may be random in the game, and the event triggered by the character's behavior may be randomly selected). In this case, the second data may include Random values generated in the game. The random value needs to carry a valid identification parameter for identifying the object to which the random value acts. The above game operation data, game clock, and random values are well-known techniques in the game, and will not be described again here.
第一游戏终端将用于推进游戏进度的第二数据的来源从本地切换到第二游戏终端具体包括:第一游戏终端调用第二游戏终端远程数据接口来替代本地数据接口。其中,本地数据接口是指第一游戏终端本地产生推进游戏进度的数据的接口(比如,第一游戏终端中用于产生游戏操作数据的输入接口,第一游戏终端中用于产生游戏时钟的时钟发生器,或,第一游戏终端中用于产生随机值的随机值发生器)。远程数据接口是指用于获取第二游戏终端基于第一数据产生的推进游戏进度的数据的接口。The first game terminal switches the source of the second data for advancing the progress of the game from the local to the second game terminal. Specifically, the first game terminal invokes the second game terminal remote data interface instead of the local data interface. The local data interface refers to an interface that the first game terminal locally generates data for advancing the progress of the game (for example, an input interface for generating game operation data in the first game terminal, and a clock for generating a game clock in the first game terminal) A generator, or a random value generator for generating a random value in the first game terminal). The remote data interface refers to an interface for acquiring data of the advancement game progress generated by the second game terminal based on the first data.
S304:第二游戏终端接收到来自第一游戏终端的第一数据后,基于该第一数据产生推进游戏进度的第二数据。S304: After receiving the first data from the first game terminal, the second game terminal generates second data that advances the progress of the game based on the first data.
第二游戏终端基于该第一数据产生推进游戏进度的第二数据具体包括:第二游戏终端加载第一数据,基于加载后的第一数据开始游戏,在游戏过程中产生推进游戏进度的第二数据。The second game terminal generates the second data for advancing the progress of the game based on the first data, specifically: the second game terminal loads the first data, starts the game based on the loaded first data, and generates a second advancement progress of the game during the game. data.
以产生游戏操作数据为例,第二游戏终端在加载第一数据后的游戏过程中,可以获取第二游戏终端的外设的输入事件(比如,鼠标移动事件,鼠标点击事件、触屏点击事件或键盘输入事件等),基于该输入事件产生游戏操作数据。由于第二游戏终端在游戏过程中产生游戏操作数据、游戏时钟、随机值等推进游戏进度的数据是现有技术,这里不再详述。 For example, in the process of generating game operation data, the second game terminal may acquire an input event of a peripheral device of the second game terminal during the game after loading the first data (eg, a mouse movement event, a mouse click event, a touch screen click event). Or a keyboard input event, etc., based on the input event to generate game operation data. Since the second game terminal generates game operation data, a game clock, a random value, and the like to advance the progress of the game during the game, the data is prior art and will not be described in detail herein.
S305:第二游戏终端将基于该第一数据产生的推进游戏进度的第二数据提供给第一游戏终端。S305: The second game terminal provides the second game data based on the first data to advance the progress of the game to the first game terminal.
第二游戏终端将产生的第二数据实时提供给第一游戏终端。The second game terminal provides the generated second data to the first game terminal in real time.
具体的,如果游戏中需要使用游戏时钟推进游戏进度,第二游戏终端在开始游戏后,启动游戏时钟,并周期发生。每个时钟周期的起始,第二游戏终端都实时将游戏时钟发送给第一游戏终端。Specifically, if the game clock needs to be used to advance the game progress, the second game terminal starts the game clock after the game is started, and the cycle occurs. At the beginning of each clock cycle, the second game terminal transmits the game clock to the first game terminal in real time.
第二游戏终端在接收到第二游戏终端的玩家对第二游戏终端的外设进行的操作控制时(即监测到第二游戏终端的外设的输入事件时),产生游戏操作数据,将这些游戏操作数据实时发送给第一游戏终端。When the second game terminal receives the operation control of the peripheral device of the second game terminal by the player of the second game terminal (ie, when the input event of the peripheral device of the second game terminal is monitored), the game operation data is generated, and these are generated. The game operation data is sent to the first game terminal in real time.
如果游戏程序进展过程中存在影响游戏程序进度的随机值,则第二游戏终端在产生随机值时,将随机值实时传递给第一游戏终端。If there is a random value affecting the progress of the game program during the progress of the game program, the second game terminal transmits the random value to the first game terminal in real time when generating the random value.
S306:第一游戏终端基于来自第二游戏终端的第二数据推进本地的游戏进度。S306: The first game terminal advances the local game progress based on the second data from the second game terminal.
第一游戏终端以来自第二游戏终端的第二数据作为本地的游戏的输入,并执行游戏,在游戏界面中展现游戏过程。The first game terminal takes the second data from the second game terminal as an input of the local game, and executes the game, and the game process is presented in the game interface.
由于第一游戏终端基于来自所述第二游戏终端的第二数据推进本地的游戏进度,使第一游戏终端上的游戏保持与第二游戏终端上的游戏同样的输入,达到再现第二游戏终端的游戏界面的效果。从而使第一游戏终端的玩家得到帮助。Since the first game terminal advances the local game progress based on the second data from the second game terminal, causing the game on the first game terminal to maintain the same input as the game on the second game terminal, reaching the reproduction of the second game terminal The effect of the game interface. Thereby the player of the first game terminal is helped.
上述实施例中,第二游戏终端是基于第一游戏终端的实时游戏进度进行游戏,因此,第二游戏终端提供的帮助具有为第一游戏终端量身定制的效果,使得提供的帮助更具有针对性,更有效。而且,由于第二游戏终端返回的数据是直接针对第一游戏终端发起求助请求的游戏进度的,无需像现有技术一样在大量的帮助数据中定位解决问题所需要的数据,因此,相比现有技术,效率更高。In the above embodiment, the second game terminal performs the game based on the real-time game progress of the first game terminal, and therefore, the help provided by the second game terminal has the effect of being tailored for the first game terminal, so that the provided help is more targeted. Sexual, more effective. Moreover, since the data returned by the second game terminal is the game progress of initiating the help request directly for the first game terminal, there is no need to locate the data required to solve the problem in a large amount of help data as in the prior art, and therefore, compared with the current Technology and efficiency.
下面对由服务器来管理第一游戏终端与第二游戏终端之间的交互的实施例进行说明。图4为本发明另一实施例提供的实现游戏求助的方法流程示意图,如图4所示,本实施例的方法如下:An embodiment in which the interaction between the first game terminal and the second game terminal is managed by the server will be described below. FIG. 4 is a schematic flowchart of a method for implementing game help according to another embodiment of the present invention. As shown in FIG. 4, the method in this embodiment is as follows:
S401:第一游戏终端发起求助请求,并暂停当前游戏进度。S401: The first game terminal initiates a help request and suspends the current game progress.
在第一游戏终端发起求助请求之前,可以先与服务器建立连接。其中,第一游戏终端与服务器建立连接的过程可参考图2部分,这里不再赘述。Before the first game terminal initiates the help request, the connection may be established with the server. The process of establishing a connection between the first game terminal and the server may be referred to the part of FIG. 2, and details are not described herein again.
连接建立成功之后,当使用第一游戏终端的玩家在游戏过程中,遇到难于解决的问题时,可通过与服务器的连接向服务器发起求助请求。 After the connection is successfully established, when the player using the first game terminal encounters a problem that is difficult to solve during the game, the request for assistance can be initiated to the server through the connection with the server.
本步骤的具体实现可参考图3中的步骤S301,这里不再赘述。For specific implementation of this step, reference may be made to step S301 in FIG. 3, and details are not described herein again.
S402:服务器接收到求助请求后,确定为第一游戏终端提供帮助的第二游戏终端,并创建求助会话。S402: After receiving the help request, the server determines a second game terminal that provides assistance for the first game terminal, and creates a help session.
在一个示例中,第一游戏终端可以在求助请求中指定提供帮助的第二游戏终端。具体的,可以在求助请求中携带指定的第二游戏终端的标识。服务器可以根据求助请求中指定的第二游戏终端的标识来确定为第一游戏终端提供帮助的第二游戏终端。In one example, the first gaming terminal may specify a second gaming terminal that provides assistance in the request for help. Specifically, the identifier of the designated second game terminal may be carried in the help request. The server may determine a second gaming terminal that provides assistance to the first gaming terminal based on the identification of the second gaming terminal specified in the request for assistance.
在另一个示例中,服务器可以通过对求助请求中携带的求助说明进行分析,确定为第一游戏终端提供帮助的第二游戏终端。具体的,服务器可以基于对求助说明的分析,选取具备解决本次求助的能力的第二游戏终端为第一游戏终端提供帮助。比如,可以选取玩过求助说明中的游戏的游戏中的游戏终端,或者,选取负责处理求助说明中对应类型的问题的客服的游戏终端(此方式适用于有专门提供帮助的客服的情况。其中,可对客服人员和游戏过程中可能存在的问题进行分类,不同的客服人员负责处理不同类型的问题)。In another example, the server may determine a second gaming terminal that provides assistance to the first gaming terminal by analyzing the help descriptions carried in the help request. Specifically, the server may select the second game terminal having the capability to solve the help for the first game terminal based on the analysis of the help description. For example, the game terminal in the game in which the game in the help description is played may be selected, or the game terminal of the customer service responsible for processing the corresponding type of question in the help description may be selected (this method is applicable to the case of a customer service with special help). It can classify the customer service personnel and possible problems in the game process, and different customer service personnel are responsible for handling different types of problems).
S403:服务器将求助请求转发给第二游戏终端。S403: The server forwards the help request to the second game terminal.
服务器确定第二游戏终端之后,服务器确定与第二游戏终端之间的连接是否正常,如果服务器和第二游戏终端之间连接正常,则将求助请求转发给第二游戏终端。After the server determines the second game terminal, the server determines whether the connection with the second game terminal is normal, and if the connection between the server and the second game terminal is normal, forwards the help request to the second game terminal.
服务器在向第二游戏终端发送求助请求时,可将求助会话的会话标识(Identify,ID)携带在求助请求中。When the server sends a help request to the second game terminal, the server may carry the session identifier (Identification, ID) of the help session in the help request.
S404:服务器接收来自第二游戏终端的求助响应。S404: The server receives a help response from the second game terminal.
其中,第二游戏终端返回求助响应的过程可参考图3中的步骤S302,这里不再赘述。For the process of returning the help response of the second game terminal, refer to step S302 in FIG. 3, and details are not described herein again.
第二游戏终端返回的求助响应中可携带会话ID,服务器可以根据该会话ID确定与该求助响应对应的求助会话以及该求助会话中的第一游戏终端。The session response returned by the second game terminal may carry a session ID, and the server may determine, according to the session ID, a help session corresponding to the help response and a first game terminal in the help session.
S405:服务器协助第一游戏终端与第二游戏终端实现游戏数据的传输。S405: The server assists the first game terminal and the second game terminal to implement transmission of game data.
服务器在接收到第二游戏终端返回的求助响应后,根据接收到的求助响应来确定第二游戏终端是否接受求助请求。服务器在确定第二游戏终端接受求助请求后,协助第一游戏终端与第二游戏终端实现游戏数据的传输。游戏数据包括用于描述第一游戏终端发起求助请求时的游戏进度的第一数据以及第二游戏终端基于第一数据产生的推进游戏进度的第二数据。 After receiving the help response returned by the second game terminal, the server determines whether the second game terminal accepts the help request according to the received help response. After determining that the second game terminal accepts the help request, the server assists the first game terminal and the second game terminal in realizing the transmission of the game data. The game data includes first data for describing a progress of the game when the first game terminal initiates the help request, and second data for advancing the progress of the game generated by the second game terminal based on the first data.
其中,求助响应中还可以包括第二游戏终端账号、第二游戏终端说明、是否可以尝试直接连接和/或第二游戏终端内网IP地址等消息。The help response may further include a second game terminal account number, a second game terminal description, whether a direct connection may be attempted, and/or a second game terminal internal network IP address.
服务器根据第二游戏终端返回的求助响应中的是否可以尝试直接连接、第二游戏终端内网IP地址和/或外网IP地址等信息,确定第一游戏终端二游戏终端之间是否可以直接建立连接,用于后续交互消息。如果第一游戏终端和第二游戏终端的外网地址一样,或者第一游戏终端和第二游戏终端各自的内外网地址相同(即第一游戏终端和第二游戏终端拥有公网Internet地址而不是在私有网络中通过网关访问公网),则确定第一游戏终端和第二游戏终端之间可以直接建立连接;否则,第一游戏终端和第二游戏终端之间需要通过服务器转发消息。The server determines whether the first game terminal two game terminals can be directly established according to whether the direct connection, the second game terminal internal network IP address, and/or the external network IP address can be attempted in the help response returned by the second game terminal. Connection for subsequent interactive messages. If the first game terminal and the second game terminal have the same external network address, or the first game terminal and the second game terminal have the same internal and external network addresses (ie, the first game terminal and the second game terminal have a public network Internet address instead of In the private network, the public network is accessed through the gateway, and it is determined that the connection between the first game terminal and the second game terminal can be directly established; otherwise, the first game terminal and the second game terminal need to forward the message through the server.
因此,服务器协助第一游戏终端与第二游戏终端实现游戏数据的传输可以有以下两种方式:Therefore, the server assists the first game terminal and the second game terminal in realizing the transmission of the game data in the following two ways:
方式一:服务器中转方式。该方式由服务器来中转第一游戏终端与所述第二游戏终端之间传输的游戏数据。此过程可由下面步骤S405a-S405e来实现。Method 1: Server transfer mode. In this manner, the game data transmitted between the first game terminal and the second game terminal is transferred by the server. This process can be implemented by the following steps S405a-S405e.
S405a:服务器向第一游戏终端返回的求助响应,该求助响应中可包括会话ID,以及第二游戏终端不支持直接建立连接的指示。S405a: A help response returned by the server to the first game terminal, the help response may include a session ID, and the second game terminal does not support an indication of directly establishing a connection.
S405b:第一游戏终端向服务器发送包括第一数据以及求助会话的ID的消息。S405b: The first game terminal sends a message including the first data and the ID of the help session to the server.
第一游戏终端在接收到求助响应后,根据响应消息判断出第二游戏终端不支持与第一游戏终端直接建立连接。因此,第一游戏终端将第一数据发送给服务器,由服务器进行转发。After receiving the help response, the first game terminal determines, according to the response message, that the second game terminal does not support establishing a connection with the first game terminal directly. Therefore, the first game terminal transmits the first data to the server and is forwarded by the server.
S405c:服务器将第一数据转发的第二游戏终端。S405c: The second game terminal that the server forwards the first data.
具体的,服务器通过消息中携带的ID找到该ID所标识的求助会话,将第一数据转发给该求助会话中的第二游戏终端。Specifically, the server finds the help session identified by the ID by using the ID carried in the message, and forwards the first data to the second game terminal in the help session.
S405d:服务器获取第二游戏终端在游戏过程中产生的第二数据。S405d: The server acquires second data generated by the second game terminal during the game.
第二游戏终端在接收到第一数据后,加载第一数据,并基于加载后的第一数据开始游戏,将游戏过程中产生的第二数据发送给服务器。第二游戏终端在发送第二数据的消息中可携带求助会话的ID。After receiving the first data, the second game terminal loads the first data, and starts the game based on the loaded first data, and sends the second data generated during the game to the server. The second game terminal may carry the ID of the help session in the message for transmitting the second data.
S405e:服务器将来自第二游戏终端的第二数据发送给第一游戏终端。S405e: The server sends the second data from the second game terminal to the first game terminal.
服务器根据发送第二数据的消息中携带的求助会话的ID找到求助会话,将第二数据发送给求助会话中的第一游戏终端。The server finds a help session according to the ID of the help session carried in the message sending the second data, and sends the second data to the first game terminal in the help session.
方式二:直连方式。该方式是由服务器将第二游戏终端的地址发送给第一 游戏终端,供第一游戏终端直接与第二游戏终端建立用于传输游戏数据的连接。游戏数据通过第一游戏终端和第二游戏终端之间建立的连接传输。此过程可由下面步骤S405a'-S405f'来实现。Method 2: Direct connection. The method is that the server sends the address of the second game terminal to the first a game terminal for the first game terminal to directly establish a connection for transmitting game data with the second game terminal. The game data is transmitted through a connection established between the first game terminal and the second game terminal. This process can be implemented by the following steps S405a'-S405f'.
S405a':服务器向第一游戏终端返回的求助响应,该求助响应中可包括会话ID,第二游戏终端的地址以及第二游戏终端支持直接建立连接的指示。S405a': a help response returned by the server to the first game terminal, where the help response may include a session ID, an address of the second game terminal, and an indication that the second game terminal supports direct connection establishment.
S405b':第一游戏终端向第二游戏终端发起建立连接的请求。S405b': The first game terminal initiates a request to establish a connection to the second game terminal.
第一游戏终端在接收到求助响应后,根据求助响应中携带的第二游戏终端的地址向第二游戏终端发起建立连接的请求,尝试与第二游戏终端直接建立连接。After receiving the help response, the first game terminal initiates a connection establishment request to the second game terminal according to the address of the second game terminal carried in the help response, and attempts to establish a connection directly with the second game terminal.
S405c':第二游戏终端根据第一游戏终端发送的建立连接的请求与第一游戏终端建立连接。S405c': The second game terminal establishes a connection with the first game terminal according to the request for establishing a connection sent by the first game terminal.
S405d':第一游戏终端通知服务器建立直连成功。S405d': The first game terminal notifies the server to establish a direct connection success.
第一游戏终端与第二游戏终端建立连接成功,则向服务器发送通知,通知服务器后续第一游戏终端与第二游戏终端之间采用直接连接。服务器可以根据该通知终止服务器中创建的求助会话,也可以继续维持该求助会话直至接收到求助结束的通知。When the first game terminal establishes a connection with the second game terminal, the server sends a notification to the server to notify the server to use a direct connection between the first game terminal and the second game terminal. The server may terminate the help session created in the server according to the notification, or may continue to maintain the help session until receiving the notification of the end of the help.
S405e':第一游戏终端通过与第二游戏终端的连接,向第二游戏终端发送第一数据。S405e': The first game terminal transmits the first data to the second game terminal through the connection with the second game terminal.
本步骤与步骤S405d'没有执行的先后顺序,可以先执行任一步骤。This step and step S405d' have no order of execution, and any step can be performed first.
S405f':第二游戏终端在接收到第一数据后,加载第一数据,并基于加载后的第一数据开始游戏,将游戏过程中产生的第二数据发送给第一游戏终端。S405f': After receiving the first data, the second game terminal loads the first data, and starts the game based on the loaded first data, and sends the second data generated during the game to the first game terminal.
本步骤的具体实现过程可参考图3中的步骤304和步骤305,这里不再赘述。For the specific implementation process of this step, reference may be made to step 304 and step 305 in FIG. 3, and details are not described herein again.
S406:第一游戏终端基于来自所述第二游戏终端的第二数据推进本地的游戏进度。S406: The first game terminal advances the local game progress based on the second data from the second game terminal.
由于第一游戏终端基于来自所述第二游戏终端的第二数据推进本地的游戏进度,使第一游戏终端上的游戏程序保持与第二游戏终端上的游戏程序同样的输入信号,达到再现第二游戏终端游戏程序的用户界面的效果。由于第二游戏终端是基于第一游戏终端的实时游戏进度进行的游戏,因此,可以实现有针对性的帮助,使帮助更有效。Since the first game terminal advances the local game progress based on the second data from the second game terminal, the game program on the first game terminal is kept the same input signal as the game program on the second game terminal, and the reproduction is achieved. The effect of the user interface of the second game terminal game program. Since the second game terminal is a game based on the progress of the real game of the first game terminal, targeted help can be realized to make the help more effective.
另外,由于第一游戏终端在启动游戏后一直与服务器保持连接,维持在线状态,因此,可以实时发起求助请求,并实时获得帮助,提高了解决问题的效 率。In addition, since the first game terminal keeps connected with the server after starting the game and maintains the online state, the help request can be initiated in real time, and the help is obtained in real time, thereby improving the problem solving effect. rate.
当第一游戏终端的求助已得到帮助,可以结束帮助。When the help of the first game terminal has been helped, the help can be ended.
结束帮助可以由第一游戏终端发起或者由第二游戏终端发起,二者只是发起结束消息的发出者不同,主要流程相同。下面以第一游戏终端发起结束帮助的流程为例进行描述。The end help may be initiated by the first game terminal or by the second game terminal, the two being only different from the originator of the initiation end message, and the main process is the same. The following describes the process of initiating the help of the first game terminal as an example.
第一游戏终端的玩家可以在游戏界面上触发结束帮助功能。第一游戏终端在结束帮助功能被触发后,暂停当前游戏进度,并向第二游戏终端发送结束帮助消息。The player of the first game terminal can trigger the end help function on the game interface. After the end help function is triggered, the first game terminal suspends the current game progress and sends an end help message to the second game terminal.
其中,如果第一游戏终端与第二游戏终端之间传输的游戏数据是经由服务器中转,则第一游戏终端发送的结束帮助消息也经由服务器中转给第二游戏终端。在此情况下,结束帮助消息中可携带会话ID。服务器接收第一游戏终端发送的结束帮助消息后,根据会话ID,删除与会话ID对应的会话。如果第一游戏终端与第二游戏终端之间采用的是直连,传输的游戏数据未经服务器中转,则第一游戏终端将结束帮助消息通过第一游戏终端与第二游戏终端之间的连接直接发给第二游戏终端,而不经过服务器。对于第一游戏终端与第二游戏终端之间采用直连的情况,如果服务器在接收到第一游戏终端与第二游戏终端成功建立连接的通知时,未删除第一游戏终端的求助会话,在结束帮助时,第一游戏终端除了向第二游戏终端发送结束帮助消息外,还向服务器发送携带会话ID的结束帮助消息,由服务器删除与会话ID对应的会话。Wherein, if the game data transmitted between the first game terminal and the second game terminal is relayed via the server, the end help message sent by the first game terminal is also transferred to the second game terminal via the server. In this case, the session ID can be carried in the end help message. After receiving the end help message sent by the first game terminal, the server deletes the session corresponding to the session ID according to the session ID. If the direct connection is adopted between the first game terminal and the second game terminal, and the transmitted game data is not transferred by the server, the first game terminal ends the connection of the help message through the first game terminal and the second game terminal. Directly sent to the second game terminal without going through the server. For the case where a direct connection is adopted between the first game terminal and the second game terminal, if the server receives the notification that the first game terminal and the second game terminal successfully establish a connection, the help session of the first game terminal is not deleted, When the help is ended, the first game terminal transmits an end help message carrying the session ID to the server in addition to the end help message to the second game terminal, and the server deletes the session corresponding to the session ID.
第二游戏终端在接收到结束帮助消息后停止游戏。The second game terminal stops the game after receiving the end help message.
在帮助结束后,第一游戏终端可以在当前进度继续游戏,或者,可以回到发送求助请求时的进度重新进行游戏,或者也可以结束游戏。第一游戏终端可以被设计为执行上述任意一种处理,也可以被设计为支持上述三种处理,然后通过界面中向玩家提供选项,由玩家选择其中的一种进行执行。After the help is over, the first game terminal can continue the game at the current progress, or can resume the game by returning to the progress when the help request is sent, or can end the game. The first game terminal may be designed to perform any of the above-described processes, or may be designed to support the above three processes, and then provide an option to the player through the interface, and the player selects one of them to perform.
如果是在当前进度继续游戏,则第一游戏终端将推进游戏进度的第二数据的来源从所述第二游戏终端切换回本地,并基于来自本地的第二数据继续游戏。具体地,第一游戏终端将游戏操作数据的输入切换回接收第一游戏终端的外设输入。对于游戏中存在游戏时钟的情况,第一游戏终端还将游戏的时钟发生器切换回游戏自身的时钟发生器,并且将游戏自身的时钟发生器的值设置为当前游戏时钟(即结束帮助时的游戏时钟)。对于游戏中存在随机值的情况,第一游戏终端还将随机数的输入切换为第一游戏终端的游戏自身的随机数发生器。 然后继续游戏的进展。If the game is resumed at the current progress, the first game terminal switches the source of the second data advancing the progress of the game from the second game terminal back to the local, and continues the game based on the second data from the local. Specifically, the first gaming terminal switches the input of the game operation data back to the peripheral input of the first gaming terminal. For the case where there is a game clock in the game, the first game terminal also switches the clock generator of the game back to the clock generator of the game itself, and sets the value of the clock generator of the game itself to the current game clock (ie, when the help is finished) Game clock). For the case where there is a random value in the game, the first game terminal also switches the input of the random number to the random number generator of the game itself of the first game terminal. Then continue the progress of the game.
如果是回到发送求助请求时的进度重新进行游戏,第一游戏终端从本地加载第一数据以及将推进游戏进度的第二数据的来源从第二游戏终端切换回本地。第一游戏终端在加载第一数据后,基于来自本地的第二数据推进游戏进度。具体地,第一游戏终端从之前保存的本地文件中获取第一数据。其中,如果游戏中存在影响游戏进度的游戏时钟,第一游戏终端可以重置游戏时钟(如重新初始化时钟或者重置为第一数据中的时钟),而后通知玩家开始游戏。If it is back to the progress when the request for assistance is sent back, the first game terminal loads the first data from the local and switches the source of the second data that advances the progress of the game from the second game terminal back to the local. After loading the first data, the first game terminal advances the game progress based on the second data from the local. Specifically, the first game terminal acquires the first data from the previously saved local file. Wherein, if there is a game clock in the game that affects the progress of the game, the first game terminal may reset the game clock (such as reinitializing the clock or resetting to the clock in the first data), and then notifying the player to start the game.
图5为本发明实施例提供的实现游戏求助的装置的结构示意图,如图5所示,本实施例的装置位于第一游戏终端中(如,图1中的游戏终端101),本实施例的装置包括请求模块501、接收模块502和处理模块503。其中,请求模块501用于发起求助请求。接收模块502用于接收求助响应,该求助响应指示所述求助请求已被第二游戏终端接受。处理模块503用于在请求模块501发起求助请求时,暂停当前游戏进度,并在接收模块502接收到求助响应后,将用于描述所述当前游戏进度的第一数据提供给第二游戏终端,以及将用于推进游戏进度的第二数据的来源从本地切换到第二游戏终端。处理模块503还用于基于来自所述第二游戏终端的第二数据推进本地的游戏进度。FIG. 5 is a schematic structural diagram of an apparatus for implementing a game for help according to an embodiment of the present invention. As shown in FIG. 5, the apparatus of this embodiment is located in a first game terminal (eg, the game terminal 101 in FIG. 1). The device includes a request module 501, a receiving module 502, and a processing module 503. The request module 501 is configured to initiate a help request. The receiving module 502 is configured to receive a help response, the help request indicating that the help request has been accepted by the second game terminal. The processing module 503 is configured to pause the current game progress when the requesting module 501 initiates the help request, and provide the first data for describing the current game progress to the second game terminal after the receiving module 502 receives the help response. And switching the source of the second data used to advance the progress of the game from local to the second gaming terminal. The processing module 503 is further configured to advance the local game progress based on the second data from the second game terminal.
在发起求助请求前,处理模块503还用于启动游戏,并通过向服务器发送建立连接的请求与服务器建立连接。其中,在建立连接的过程中,所述处理模块503将用于建立连接的地址(如,第一游戏终端的地址)携带在建立间接的请求中,通过请求模块501发送给服务器。处理模块503可执行图2中的步骤来实现与服务器的连接,在执行图2中的步骤时,处理模块503先服务器发送的消息可通过请求模块501发送,从服务器接收的消息可通过接收模块502接收。Before initiating the help request, the processing module 503 is further configured to start the game and establish a connection with the server by sending a request to establish a connection to the server. In the process of establishing a connection, the processing module 503 carries an address for establishing a connection (eg, an address of the first game terminal) in an indirect request, and sends the request to the server through the request module 501. The processing module 503 can perform the steps in FIG. 2 to implement the connection with the server. When the step in FIG. 2 is performed, the message sent by the processing module 503 to the server can be sent through the requesting module 501, and the message received from the server can pass through the receiving module. 502 receives.
请求模块501在发起求助请求时,通过已建立的连接向服务器发起所述求助请求,并通过服务器将求助请求分发给第二游戏终端。The requesting module 501 initiates the help request to the server through the established connection when initiating the help request, and distributes the help request to the second game terminal through the server.
图5所示装置中还可进一步包括:本地数据接口504和远程数据接口505。本地数据接口504,用于在本地产生推进游戏进度的第二数据。远程数据接口505,用于从第二游戏终端同步基于第一数据产生的第二数据,或者用于获取由服务器转发的第二游戏终端基于第一数据产生的第二数据。The apparatus shown in FIG. 5 may further include: a local data interface 504 and a remote data interface 505. The local data interface 504 is configured to locally generate second data that advances the progress of the game. The remote data interface 505 is configured to synchronize the second data generated based on the first data from the second game terminal, or to acquire the second data generated by the second game terminal forwarded by the server based on the first data.
处理模块503将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端具体包括:处理模块503用于调用第二游戏终端远程数据接口来替 代本地数据接口。The processing module 503 switches the source of the second data for promoting the progress of the game from the local to the second game terminal. Specifically, the processing module 503 is configured to invoke the second game terminal remote data interface to replace Generation of local data interfaces.
其中,本地数据接口可以是一个或多个。比如,可以是以下一种或多种:输入接口(可用于监测本地的外设的输入事件,并基于该输入事件产生游戏操作数据)、时钟发生器(用于产生游戏时钟)或随机值发生器(用于产生游戏中的随机值)。The local data interface may be one or more. For example, it can be one or more of the following: an input interface (which can be used to monitor input events of local peripherals and generate game operation data based on the input events), a clock generator (used to generate a game clock), or a random value (used to generate random values in the game).
远程数据接口505也可以是一个或多个。比如,可以是获取第二游戏终端的游戏操作数据的远程数据接口,或获取第二游戏终端的游戏时钟的远程数据接口,或获取第二游戏终端在游戏中产生的随机值的远程数据接口。需要说明的是,这里的获取包括从第二游戏终端同步或由服务器中转两种获取方式。The remote data interface 505 can also be one or more. For example, it may be a remote data interface for acquiring game operation data of the second game terminal, or a remote data interface for acquiring a game clock of the second game terminal, or a remote data interface for acquiring a random value generated by the second game terminal in the game. It should be noted that the acquisition here includes two ways of obtaining synchronization from the second game terminal or from the server.
处理模块503切换第二数据的来源的功能可参考图3的步骤303来实现,这里不再赘述。The function of the processing module 503 to switch the source of the second data may be implemented by referring to step 303 of FIG. 3, and details are not described herein again.
处理模块503将用于描述所述当前游戏进度的第一数据提供给第二游戏终端有两种方式。一种服务器中转方式,一种是直连方式。The processing module 503 provides the first data for describing the current game progress to the second game terminal in two ways. A server transfer method, one is direct connection.
采用服务器中转方式时,处理模块503将第一数据发送给服务器,通过服务器将第一数据中转给第二游戏终端。该过程可参考图4中的步骤S405a-S405e。When the server relay mode is adopted, the processing module 503 sends the first data to the server, and transfers the first data to the second game terminal through the server. This process can refer to steps S405a-S405e in FIG.
采用直连方式时,处理模块503直接与第二游戏终端建立连接,并将第一数据通过与所述第二游戏终端的连接发送给第二游戏终端。其中。在直连方式下,第二游戏终端返回的求助响应中会携带第二游戏终端的地址。处理模块503可以根据第二游戏终端的地址,与第二游戏终端建立连接。该过程可参考图4中的步骤S405a'-S405f'。When the direct connection mode is adopted, the processing module 503 directly establishes a connection with the second game terminal, and transmits the first data to the second game terminal through the connection with the second game terminal. among them. In the direct connection mode, the address of the second game terminal is carried in the help response returned by the second game terminal. The processing module 503 can establish a connection with the second game terminal according to the address of the second game terminal. For the process, reference may be made to steps S405a'-S405f' in FIG.
在一个实施例中,处理模块503还用于结束帮助后,将推进游戏进度的第二数据的来源从所述第二游戏终端切换回本地,并基于来自本地的第二数据继续游戏。In one embodiment, the processing module 503 is further configured to, after ending the help, switch the source of the second data advancing the progress of the game from the second game terminal back to the local, and continue the game based on the second data from the local.
在另一实施例中,处理模块503还用于请求模块501发起求助请求时,将第一数据保存到本地;当结束帮助后,从本地加载第一数据;并在加载所述第一数据后,继续游戏。In another embodiment, the processing module 503 is further configured to: when the requesting module 501 initiates the help request, save the first data to the local; when the help ends, load the first data locally; and after loading the first data, ,Continue the game.
本实施例的装置,对应的可用于执行图3和图4所示方法实施例的中第一游戏终端所执行技术方案,其实现原理类似,此处不再赘述。The device of this embodiment is corresponding to the technical solution that is executed by the first game terminal in the embodiment of the method shown in FIG. 3 and FIG. 4, and the implementation principle thereof is similar, and details are not described herein again.
图6为本发明实施例提供的实现游戏求助的装置的结构示意图,所述装置位于第二游戏终端中(如图1所示的游戏终端102)。本实施例的装置包括接收 模块601、发送模块602和处理模块603。其中,接收模块601用于接收第一游戏终端发起的求助请求。该求助请求用于请求帮助第一游戏终端进行游戏。发送模块602用于根据所述求助请求返回求助响应,所述求助响应指示所述求助请求已被所述第二游戏终端接受。接收模块601还用于接收用于描述所述第一游戏终端的当前游戏进度的第一数据。处理模块603用于基于所述第一数据产生推进游戏进度的第二数据。发送模块602还用于将所述第二数据提供给第一游戏终端。FIG. 6 is a schematic structural diagram of an apparatus for implementing game help according to an embodiment of the present invention, where the apparatus is located in a second game terminal (such as the game terminal 102 shown in FIG. 1). The device of this embodiment includes receiving Module 601, transmitting module 602, and processing module 603. The receiving module 601 is configured to receive a help request initiated by the first game terminal. The help request is used to request assistance to the first game terminal to play the game. The sending module 602 is configured to return a help response according to the help request, the help response indicating that the help request has been accepted by the second game terminal. The receiving module 601 is further configured to receive first data for describing a current game progress of the first game terminal. The processing module 603 is configured to generate second data that advances the progress of the game based on the first data. The sending module 602 is further configured to provide the second data to the first game terminal.
其中,发送模块602可以采用同步的方式,将游戏过程中产生的第二数据实时同步给第一游戏终端。也可以采用服务器中转的方式,将游戏过程中产生的第二数据实时发送给服务器,由服务器中转给第一游戏终端。该过程可参考图3所示方法实施例中的步骤S305以及图4所示方法实施例中的步骤S405d-S405e以及步骤S405f',这里不再赘述。The sending module 602 can synchronously synchronize the second data generated during the game to the first game terminal in real time. The second data generated during the game may be sent to the server in real time by the server transfer method, and transferred from the server to the first game terminal. For the process, reference may be made to step S305 in the method embodiment shown in FIG. 3 and steps S405d-S405e and step S405f' in the method embodiment shown in FIG. 4, and details are not described herein again.
在上述实施例中,处理模块603具体用于加载所述第一数据,基于加载后的第一数据开始游戏,在游戏过程中产生推进游戏进度的第二数据。处理模块603可以监测第二游戏终端的外设在游戏过程中的输入事件,根据该输入事件产生游戏操作数据。处理模块602也可以在游戏过程中产生游戏时钟和/或随机值。第二数据具体可包括游戏操作数据、游戏时钟和/或游戏中产生的随机值。该过程可参考图3的步骤304,这里不再赘述。In the above embodiment, the processing module 603 is specifically configured to load the first data, start a game based on the loaded first data, and generate second data that advances the progress of the game during the game. The processing module 603 can monitor an input event of the peripheral device of the second game terminal during the game, and generate game operation data according to the input event. Processing module 602 can also generate game clocks and/or random values during the game. The second data may specifically include game operation data, a game clock, and/or a random value generated in the game. For the process, reference may be made to step 304 of FIG. 3, and details are not described herein again.
在上述实施例中,所述接收模块601具体用于通过与所述第一游戏终端直接建立连接的方式接收所述第一数据,或者,通过服务器中转的方式接收所述第一数据。其中,在采用与所述第一游戏终端直接建立连接的方式事,发送模块602在返回的所述求助响应中携带建立所述连接需要使用的地址(即第二游戏终端的地址)。In the foregoing embodiment, the receiving module 601 is specifically configured to receive the first data by establishing a connection with the first game terminal, or receive the first data by means of a server relay. Wherein, in a manner of establishing a connection directly with the first game terminal, the sending module 602 carries the address (ie, the address of the second game terminal) required to establish the connection in the returned help response.
本实施例的装置,对应的可用于执行图3和图4所示方法实施例中第二游戏终端所执行的技术方案,其实现原理类似,此处不再赘述。The device of this embodiment is correspondingly used to perform the technical solution executed by the second game terminal in the method embodiment shown in FIG. 3 and FIG. 4, and the implementation principle thereof is similar, and details are not described herein again.
图7为本发明实施例提供的服务器的结构示意图,该服务器用于管理第一游戏终端和第二游戏终端的交互(如图1所示的服务器103)。该服务器包括:通信模块701和处理模块702,其中,通信模块701用于接收来自第一游戏终端的求助请求。该求助请求用于请求帮助第一游戏终端进行游戏。处理模块702用于根据通信模块701接收的求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并协助所述第一游戏终端与第二游戏终端实现游戏数据的传输。 所述游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据。其中,通信模块701还用于在处理模块702协助第一游戏终端与第二游戏终端实现游戏数据的传输的过程中负责处理模块702与第一游戏终端以及与第二游戏终端的交互。FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present invention. The server is configured to manage interaction between a first game terminal and a second game terminal (such as the server 103 shown in FIG. 1). The server includes a communication module 701 and a processing module 702, wherein the communication module 701 is configured to receive a help request from the first game terminal. The help request is used to request assistance to the first game terminal to play the game. The processing module 702 is configured to determine, according to the help request received by the communication module 701, a second game terminal that provides assistance to the first game terminal, and assists the first game terminal and the second game terminal to implement transmission of game data. The game data includes first data for describing a progress of the game when the first game terminal initiates a help request, and second data for advancing the progress of the game generated by the second game terminal based on the first data. The communication module 701 is further configured to be responsible for the interaction between the processing module 702 and the first game terminal and the second game terminal during the process of the processing module 702 assisting the first game terminal and the second game terminal to implement the transmission of the game data.
在上述实施例中,处理模块702协助第一游戏终端与所述第二游戏终端实现游戏数据的传输有两种方式。In the above embodiment, the processing module 702 assists the first game terminal and the second game terminal in realizing the transmission of game data in two ways.
第一种方式是,处理模块702在求助会话中,中转第一游戏终端与第二游戏终端之间传输的游戏数据。其中,处理模块702负责中转的游戏数据均是通过通信模块701接收或发送的。具体的,处理模块702通过通信模块701接收第一游戏终端发送包括第一数据以及求助会话的会话ID的消息。处理模块702将所述第一数据通过通信模块701转发给所述会话ID所标识的求助会话中的所述第二游戏终端。处理模块702还通过通信模块701获取所述第二游戏终端在游戏过程中产生的第二数据,并将所述第二数据通过通信模块701发送给所述求助会话中的第一游戏终端。该过程可参见图4所示方法实施例中的步骤S405a-S405e,这里不再赘述。In the first way, the processing module 702 relays the game data transmitted between the first game terminal and the second game terminal in the help session. The game data that the processing module 702 is responsible for relaying is all received or transmitted through the communication module 701. Specifically, the processing module 702 receives, by the communication module 701, a message that the first game terminal sends the session ID including the first data and the help session. The processing module 702 forwards the first data to the second game terminal in the help session identified by the session ID via the communication module 701. The processing module 702 further acquires the second data generated by the second game terminal during the game through the communication module 701, and sends the second data to the first game terminal in the help session through the communication module 701. For the process, refer to steps S405a-S405e in the method embodiment shown in FIG. 4, and details are not described herein again.
第二种方式是,处理模块702将所述第二游戏终端的地址发送给所述第一游戏终端。该第二游戏终端的地址用于供所述第一游戏终端直接与所述第二游戏终端建立用于传输所述游戏数据的连接。该过程可参考图4中的步骤S405a'-S405f',这里不再赘述。The second way is that the processing module 702 sends the address of the second game terminal to the first game terminal. The address of the second game terminal is used for the first game terminal to directly establish a connection with the second game terminal for transmitting the game data. For the process, reference may be made to steps S405a'-S405f' in FIG. 4, and details are not described herein again.
在上述实施例中,通信模块701还用于接收所述第一游戏终端发送的携带第一游戏终端地址的建立连接的请求。处理模块702还用于根据所述第一游戏终端地址与所述第一游戏终端建立连接。该过程可参见图2所述的方法实施例部分,这里不再赘述。In the above embodiment, the communication module 701 is further configured to receive a request for establishing a connection that is sent by the first game terminal and that carries the first game terminal address. The processing module 702 is further configured to establish a connection with the first game terminal according to the first game terminal address. For the process, reference may be made to the method embodiment part described in FIG. 2, and details are not described herein again.
通信模块701具体用于通过已建立的连接接收来自所述第一游戏终端的求助请求。The communication module 701 is specifically configured to receive a help request from the first game terminal through an established connection.
本发明实施例中的第一游戏终端和第二游戏终端均可以基于计算机或移动终端的硬件结构来实现。Both the first game terminal and the second game terminal in the embodiment of the present invention can be implemented based on a hardware structure of a computer or a mobile terminal.
图8示出了上述实施例中的第一游戏终端的一种可能的硬件结构示意图。如图8所示,本实施第一游戏终端包括通信接口801、处理器802、存储器803、总线804和输入/输出接口805.其中,通信接口801、处理器802、存储器803、 输入/输出接口505通过总线804相互连接。总线804可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口801用于实现第一游戏终端与其他设备或通信网络(例如但不限于PLMN/PSTN,互联网等)之间的通信。例如,用于支持第一游戏终端与图1所示的第二游戏终端以及服务器间的通信。输入/输出接口805用于实现第一游戏终端与第一游戏终端的外设(例如,鼠标、键盘、显示器等)之间的交互。存储器803,用于存放第一游戏终端的操作系统和其他应用程序的代码(比如,游戏程序)和数据(比如,第一数据)。存储器803可能包含随机存取存储器(random access memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。FIG. 8 is a schematic diagram showing a possible hardware structure of the first game terminal in the above embodiment. As shown in FIG. 8, the first game terminal of the present embodiment includes a communication interface 801, a processor 802, a memory 803, a bus 804, and an input/output interface 805. The communication interface 801, the processor 802, the memory 803, The input/output interfaces 505 are connected to each other through a bus 804. The bus 804 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8, but it does not mean that there is only one bus or one type of bus. Communication interface 801 is used to enable communication between the first gaming terminal and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like. For example, it is used to support communication between the first game terminal and the second game terminal and the server shown in FIG. 1. The input/output interface 805 is for implementing interaction between the first gaming terminal and peripherals (eg, mouse, keyboard, display, etc.) of the first gaming terminal. The memory 803 is configured to store code (such as a game program) and data (such as first data) of an operating system and other applications of the first game terminal. The memory 803 may include a random access memory (RAM), and may also include a non-volatile memory such as at least one disk storage.
处理器802执行存储器803所存放的程序代码,实现图2至图4中第一游戏中的的处理过程。The processor 802 executes the program code stored in the memory 803 to implement the processing in the first game of FIGS. 2 to 4.
上述的处理器802可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor 802 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
图9示出了上述实施例中的第二游戏终端的一种可能的硬件结构示意图。第二游戏终端的硬件结构可以和第一游戏终端的硬件结构相同。如图9所示,本实施例的第二游戏终端可包括通信接口901、处理器902、存储器903、总线904和输入/输出接口905。其中,通信接口901、处理器902、存储器903、输入/输出接口905通过总线904相互连接。总线904可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口901用于实现第二游戏终端与其他设备或通信网络(例如但不限于PLMN/PSTN,互联网等)之间的通信。例如,用于支持第二游戏终端与图1所示的第一游戏终端以及服务器间的通信。输入/输出接口905用于实现第二游 戏终端与第二游戏终端的外设(例如,鼠标、键盘、显示器等)之间的交互。存储器903,用于存储第二游戏终端的操作系统和其他应用程序(比如,游戏程序)的代码和数据。存储器903可能包含随机存取存储器(random access memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。FIG. 9 is a schematic diagram showing a possible hardware structure of the second game terminal in the above embodiment. The hardware structure of the second game terminal may be the same as the hardware structure of the first game terminal. As shown in FIG. 9, the second game terminal of the present embodiment may include a communication interface 901, a processor 902, a memory 903, a bus 904, and an input/output interface 905. The communication interface 901, the processor 902, the memory 903, and the input/output interface 905 are connected to each other through a bus 904. The bus 904 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus. The communication interface 901 is used to implement communication between the second gaming terminal and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like. For example, it is used to support communication between the second game terminal and the first game terminal and the server shown in FIG. 1. Input/output interface 905 is used to implement the second tour The interaction between the terminal and the peripherals of the second gaming terminal (eg, mouse, keyboard, display, etc.). The memory 903 is configured to store code and data of an operating system of the second game terminal and other applications (such as a game program). The memory 903 may include a random access memory (RAM), and may also include a non-volatile memory such as at least one disk storage.
处理器902执行存储器903所存放的程序代码,实现图2至图4中第二游戏中的处理过程。The processor 902 executes the program code stored in the memory 903 to implement the processing in the second game of FIGS. 2 to 4.
上述的处理器902可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor 902 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
图10示出了上述实施例中的服务器的一种可能的硬件结构示意图。如图10所示,本实施例的服务器包括通信接口1001、存储器1003和处理器1002。其中,通信接口1001、处理器1002、存储器1003通过总线1004相互连接。总线1004可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口1001用于实现服务器与其他设备或通信网络(例如但不限于PLMN/PSTN,互联网等)之间的通信。例如,用于支持服务器与图1所示的第一游戏终端以及第二游戏终端间的通信。存储器1003,用于存放操作系统、程序代码和数据。存储器1003可能包含随机存取存储器(random access memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。Fig. 10 is a diagram showing a possible hardware configuration of the server in the above embodiment. As shown in FIG. 10, the server of this embodiment includes a communication interface 1001, a memory 1003, and a processor 1002. The communication interface 1001, the processor 1002, and the memory 1003 are connected to one another via a bus 1004. The bus 1004 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus. Communication interface 1001 is used to enable communication between the server and other devices or communication networks such as, but not limited to, PLMN/PSTN, the Internet, and the like. For example, it is used to support communication between the server and the first game terminal and the second game terminal shown in FIG. 1. The memory 1003 is configured to store an operating system, program code, and data. The memory 1003 may include a random access memory (RAM), and may also include a non-volatile memory such as at least one disk storage.
处理器1002执行存储器1003所存放的程序代码,实现图2和图4中服务器的处理过程。The processor 1002 executes the program code stored in the memory 1003 to implement the processing of the server in FIGS. 2 and 4.
接收来自第一游戏终端的求助请求,所述求助请求用于请求帮助第一游戏终端进行游戏;Receiving a help request from the first game terminal, the help request being used to request assistance to the first game terminal to play the game;
根据所述求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并协助所述第一游戏终端与第二游戏终端建立用于传输游戏数据的连接;所述游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据 以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据。Determining, according to the request for assistance, a second game terminal that provides assistance to the first game terminal, and assisting the first game terminal and the second game terminal to establish a connection for transmitting game data; the game data includes Describe the first data of the game progress when the first game terminal initiates the help request And second data generated by the second game terminal based on the first data to advance the progress of the game.
上述的处理器1002可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor 1002 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (36)

  1. 一种实现游戏求助方法,其特征在于,包括:A method for implementing game help, characterized in that it comprises:
    第一游戏终端发起求助请求,并暂停当前游戏进度;The first game terminal initiates a help request and suspends the current game progress;
    所述第一游戏终端接收求助响应,所述求助响应指示所述求助请求已被第二游戏终端接受;The first game terminal receives a help response, the help response indicating that the help request has been accepted by the second game terminal;
    所述第一游戏终端将用于描述所述当前游戏进度的第一数据提供给所述第二游戏终端,并将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端;The first game terminal provides first data for describing the current game progress to the second game terminal, and switches a source of second data for advancing the progress of the game from the local to the second game terminal;
    所述第一游戏终端基于来自所述第二游戏终端的第二数据推进本地的游戏进度。The first game terminal advances the local game progress based on the second data from the second game terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述第一游戏终端发起求助请求前,所述方法还包括:The method according to claim 1, wherein before the first game terminal initiates a help request, the method further includes:
    所述第一游戏终端启动游戏,并通过向服务器发送建立连接的请求与服务器建立连接;其中,所述建立连接的请求携带用于建立连接的第一游戏终端地址;The first game terminal starts a game and establishes a connection with the server by sending a request to establish a connection to the server; wherein the request to establish a connection carries a first game terminal address for establishing a connection;
    所述第一游戏终端发起求助请求具体包括:所述第一游戏终端通过已建立的连接向所述服务器发起所述求助请求,通过所述服务器将所述求助请求分发给所述第二游戏终端。The first game terminal initiating the help request specifically includes: the first game terminal initiating the help request to the server by using an established connection, and distributing the help request to the second game terminal by using the server .
  3. 根据权利要求1或2所述的方法,其特征在于,所述将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端,包括:The method according to claim 1 or 2, wherein the switching of the source of the second data for advancing the progress of the game from the local to the second gaming terminal comprises:
    所述第一游戏终端调用远程数据接口来替代本地数据接口;所述远程数据接口用于从所述第二游戏终端同步基于所述第一数据产生的第二数据,或者用于获取由服务器转发的所述第二游戏终端基于所述第一数据产生的第二数据。The first game terminal invokes a remote data interface to replace the local data interface; the remote data interface is configured to synchronize second data generated based on the first data from the second game terminal, or to be forwarded by the server The second game terminal is based on the second data generated by the first data.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述用于推进游戏进度的第二数据包括游戏操作数据;所述本地数据接口包括本地用于产生所述游戏操作数据的输入接口。A method according to any one of claims 1 to 3, wherein said second data for advancing the progress of the game comprises game operation data; said local data interface comprising local for generating said game operation data input interface.
  5. 根据权利要求4所述的方法,其特征在于,所述用于推进游戏进度的第二数据还包括:游戏时钟和/或游戏中产生的随机值;所述本地数据接口还包括:产生游戏时钟的时钟发生器和/或产生所述随机值的随机值发生器。The method of claim 4, wherein the second data for advancing the progress of the game further comprises: a game clock and/or a random value generated in the game; the local data interface further comprising: generating a game clock a clock generator and/or a random value generator that produces the random value.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述求助响应中携带第二游戏终端的地址,所述第一游戏终端将用于描述当前游戏进度的第一数 据提供给所述第二游戏终端具体包括:The method according to any one of claims 1 to 5, wherein the help response carries an address of the second game terminal, and the first game terminal will use the first number to describe the current game progress. The providing to the second game terminal specifically includes:
    所述第一游戏终端根据所述求助响应中携带的第二游戏终端的地址直接与所述第二游戏终端建立连接;The first game terminal directly establishes a connection with the second game terminal according to the address of the second game terminal carried in the help response;
    所述第一游戏终端将所述第一数据通过所述第一游戏终端与所述第二游戏终端之间建立的连接发送给所述第二游戏终端。The first game terminal transmits the first data to the second game terminal through a connection established between the first game terminal and the second game terminal.
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述第一游戏终端将用于描述当前游戏进度的第一数据提供给所述第二游戏终端具体包括:所述第一游戏终端通过服务器中转的方式将所述第一数据发送给所述第二游戏终端。The method according to any one of claims 1 to 5, wherein the first game terminal provides the first data for describing the current game progress to the second game terminal, specifically comprising: the first The game terminal transmits the first data to the second game terminal by means of server relay.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:结束帮助后,所述第一游戏终端将推进游戏进度的第二数据的来源从所述第二游戏终端切换回本地,并基于来自本地的第二数据继续游戏。The method according to any one of claims 1 to 7, wherein the method further comprises: after ending the help, the first game terminal will source the second data of the progress of the game from the second game The terminal switches back to local and resumes the game based on the second data from the local.
  9. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    发起求助请求时,所述第一游戏终端将所述第一数据保存到本地;When the request for assistance is initiated, the first game terminal saves the first data to the local;
    当结束帮助后,所述第一游戏终端从本地加载所述第一数据,并基于加载的第一数据继续游戏。When the help is ended, the first game terminal loads the first data from the local and continues the game based on the loaded first data.
  10. 一种实现游戏求助方法,其特征在于,包括:A method for implementing game help, characterized in that it comprises:
    第二游戏终端接收第一游戏终端发起的求助请求;The second game terminal receives the help request initiated by the first game terminal;
    所述第二游戏终端根据所述求助请求返回求助响应,所述求助响应指示所述求助请求已被所述第二游戏终端接受;Returning, by the second game terminal, a help response according to the help request, the help response indicating that the help request has been accepted by the second game terminal;
    所述第二游戏终端接收用于描述所述第一游戏终端的当前游戏进度的第一数据;The second game terminal receives first data for describing a current game progress of the first game terminal;
    所述第二游戏终端基于所述第一数据产生推进游戏进度的第二数据;The second game terminal generates second data for advancing the progress of the game based on the first data;
    所述第二游戏终端将所述第二数据提供给所述第一游戏终端。The second game terminal provides the second data to the first game terminal.
  11. 根据权利要求10所述的方法,其特征在于,所述第二游戏终端基于所述第一数据产生推进游戏进度的第二数据,具体包括:The method according to claim 10, wherein the second game terminal generates second data for advancing the progress of the game based on the first data, specifically:
    所述第二游戏终端加载所述第一数据,基于加载后的第一数据开始游戏,在游戏过程中产生推进游戏进度的第二数据。The second game terminal loads the first data, starts a game based on the loaded first data, and generates second data that advances the progress of the game during the game.
  12. 根据权利要求11所述的方法,其特征在于,所述第二数据包括游戏操作数据,所述第二游戏终端在游戏过程中产生推进游戏进度的第二数据具体包括: The method of claim 11, wherein the second data comprises game operation data, and the second game terminal generates the second data for advancing the progress of the game during the game.
    所述第二游戏终端监测所述第二游戏终端的外设在游戏过程中的输入事件,基于所述输入事件产生游戏操作数据。The second game terminal monitors an input event of the peripheral device of the second game terminal during the game, and generates game operation data based on the input event.
  13. 根据权利要求12所述的方法,其特征在于,所述第二数据还包括:游戏时钟和/或游戏中产生的随机值。The method of claim 12 wherein said second data further comprises: a game clock and/or a random value generated in the game.
  14. 根据权利要求10-13任一项所述的方法,其特征在于,所述第二游戏终端通过与所述第一游戏终端直接建立连接的方式接收所述第一数据,或者,通过服务器中转的方式接收所述第一数据;其中,在采用与所述第一游戏终端直接建立连接的方式时,所述第二游戏终端在返回的所述求助响应中携带建立所述连接需要使用的所述第二游戏终端的地址。The method according to any one of claims 10 to 13, wherein the second game terminal receives the first data by establishing a connection with the first game terminal directly, or is transited by a server. Receiving, by the manner, the first data; wherein, when adopting a manner of establishing a connection directly with the first game terminal, the second game terminal carries, in the returned help response, the need to establish the connection The address of the second game terminal.
  15. 一种实现游戏求助方法,其特征在于,包括:A method for implementing game help, characterized in that it comprises:
    服务器接收来自第一游戏终端的求助请求;The server receives a help request from the first game terminal;
    所述服务器根据所述求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并创建求助会话,协助所述第一游戏终端与所述第二游戏终端实现游戏数据的传输;所述游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据。Determining, by the server, a second game terminal that provides assistance to the first game terminal according to the help request, and creating a help session to assist the first game terminal and the second game terminal to implement game data transmission; The game data includes first data for describing a progress of the game when the first game terminal initiates a help request, and second data for advancing the progress of the game generated by the second game terminal based on the first data.
  16. 根据权利要求15所述的方法,其特征在于,所述协助所述第一游戏终端与第二游戏终端实现游戏数据的传输具体包括:The method according to claim 15, wherein the facilitating the transmission of the game data by the first game terminal and the second game terminal comprises:
    所述服务器在所述求助会话中,中转所述第一游戏终端与所述第二游戏终端之间传输的所述游戏数据,或者,所述服务器将所述第二游戏终端的地址发送给所述第一游戏终端,所述第二游戏终端的地址用于供所述第一游戏终端直接与所述第二游戏终端建立用于传输所述游戏数据的连接,所述游戏数据通过所述第一游戏终端和所述第二游戏终端之间建立的连接传输。The server relays the game data transmitted between the first game terminal and the second game terminal in the help session, or the server sends the address of the second game terminal to the server a first game terminal, the address of the second game terminal is used for the first game terminal to directly establish a connection with the second game terminal for transmitting the game data, and the game data passes the A connection transmission established between a game terminal and the second game terminal.
  17. 根据权利要求16所述的方法,其特征在于,所述服务器在所述求助会话中,中转所述第一游戏终端与第二游戏终端之间传输的所述游戏数据具体包括:The method according to claim 16, wherein the server in the helper session, the transferring the game data transmitted between the first game terminal and the second game terminal comprises:
    所述服务器接收所述第一游戏终端发送包括所述第一数据以及所述求助会话的会话ID的消息;The server receives a message that the first game terminal sends a session ID including the first data and the help session;
    所述服务器将所述第一数据转发给所述会话ID所标识的求助会话中的所述第二游戏终端;Transmitting, by the server, the first data to the second game terminal in the help session identified by the session ID;
    所述服务器获取所述第二游戏终端在游戏过程中产生的第二数据,并将所 述第二数据发送给所述求助会话中的第一游戏终端。The server acquires second data generated by the second game terminal during the game, and The second data is sent to the first game terminal in the help session.
  18. 根据权利要求15-17任一项所述的方法,其特征在于,所述服务器接收第一游戏终端发送的求助请求之前,还包括:The method according to any one of claims 15-17, wherein before the server receives the help request sent by the first game terminal, the method further includes:
    所述服务器接收所述第一游戏终端发送的携带第一游戏终端地址的建立连接的请求;Receiving, by the server, a request for establishing a connection that is sent by the first game terminal and carrying a first game terminal address;
    所述服务器根据所述第一游戏终端地址与所述第一游戏终端建立连接;The server establishes a connection with the first game terminal according to the first game terminal address;
    所述服务器接收来自第一游戏终端的求助请求,包括:The server receives a help request from the first game terminal, including:
    所述服务器通过已建立的连接接收来自所述第一游戏终端的求助请求。The server receives a request for assistance from the first gaming terminal over an established connection.
  19. 一种实现游戏求助的装置,所述装置位于第一游戏终端中,其特征在于,包括:A device for implementing a game for help, the device being located in a first game terminal, comprising:
    请求模块,用于发起求助请求;a request module for initiating a help request;
    接收模块,用于接收求助响应,所述求助响应指示所述求助请求已被第二游戏终端接受;a receiving module, configured to receive a help response, the help response indicating that the help request has been accepted by the second game terminal;
    处理模块,用于在所述请求模块发起求助请求时,暂停当前游戏进度,并在所述接收模块接收到所述求助响应后,将用于描述所述当前游戏进度的第一数据提供给所述第二游戏终端,以及将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端,并基于来自所述第二游戏终端的第二数据推进本地的游戏进度。a processing module, configured to suspend a current game progress when the requesting module initiates a help request, and after the receiving module receives the help response, provide first data for describing the current game progress to the Said second game terminal, and switching the source of the second data for advancing the progress of the game from the local to the second game terminal, and advancing the local game progress based on the second data from the second game terminal.
  20. 根据权利要求19所述的装置,其特征在于,所述处理模块还用于启动游戏,并通过向服务器发送建立连接的请求与服务器建立连接;其中,所述建立连接的请求中携带用于建立连接的第一游戏终端的地址;The apparatus according to claim 19, wherein said processing module is further configured to start a game and establish a connection with the server by sending a request to establish a connection to the server; wherein the request to establish the connection is carried in the request for establishing The address of the connected first game terminal;
    所述请求模块具体用于通过已建立的连接向所述服务器发起所述求助请求,通过所述服务器将所述请求请求分发给所述第二游戏终端。The requesting module is specifically configured to initiate the request for assistance to the server through an established connection, and distribute the request request to the second game terminal by using the server.
  21. 根据权利要求19或20所述的装置,其特征在于,所述装置还包括:The device according to claim 19 or 20, wherein the device further comprises:
    本地数据接口,用于在本地产生推进游戏进度的第二数据;a local data interface for generating second data that advances the progress of the game locally;
    远程数据接口,用于从所述第二游戏终端同步基于所述第一数据产生的第二数据,或者用于获取由服务器转发的所述第二游戏终端基于所述第一数据产生的第二数据;a remote data interface for synchronizing second data generated based on the first data from the second game terminal, or for acquiring a second generated by the second game terminal forwarded by the server based on the first data data;
    所述处理模块将用于推进游戏进度的第二数据的来源从本地切换到所述第二游戏终端具体包括:所述处理模块用于调用第二游戏终端远程数据接口来替代本地数据接口。 The processing module is configured to switch the source of the second data used to advance the progress of the game from the local to the second game terminal. Specifically, the processing module is configured to invoke a second game terminal remote data interface instead of the local data interface.
  22. 根据权利要求21所述的装置,其特征在于,所述用于推进游戏进度的第二数据包括游戏操作数据;所述本地数据接口具体包括:用于监测本地的外设的输入事件,并基于所述输入事件产生所述游戏操作数据的输入接口。The apparatus according to claim 21, wherein said second data for advancing game progress comprises game operation data; said local data interface specifically comprising: an input event for monitoring a local peripheral, and based on The input event produces an input interface to the game operation data.
  23. 根据权利要求22所述的装置,其特征在于,所述用于推进游戏进度的第二数据还包括:游戏时钟和/或游戏中产生的随机值;所述本地数据接口还包括:产生游戏时钟的时钟发生器和/或产生所述随机值的随机值发生器。The apparatus according to claim 22, wherein said second data for advancing game progress further comprises: a game clock and/or a random value generated in the game; said local data interface further comprising: generating a game clock a clock generator and/or a random value generator that produces the random value.
  24. 根据权利要求19-23任一项所述的装置,其特征在于,所述求助响应中携带第二游戏终端的地址;The device according to any one of claims 19 to 23, wherein the request for assistance carries an address of the second game terminal;
    所述处理模块用于将用于描述当前游戏进度的第一数据提供给所述第二游戏终端具体包括:所述处理模块根据所述求助响应中携带的第二游戏终端的地址直接与所述第二游戏终端建立连接;将所述第一数据通过与所述第二游戏终端的连接发送给所述第二游戏终端。The processing module is configured to provide the first game data for describing the current game progress to the second game terminal, specifically: the processing module directly and according to the address of the second game terminal carried in the help response The second game terminal establishes a connection; and transmits the first data to the second game terminal through a connection with the second game terminal.
  25. 根据权利要求19-23任一项所述的装置,其特征在于,所述处理模块用于将用于描述当前游戏进度的第一数据提供给所述第二游戏终端具体包括:所述处理模块通过服务器中转的方式将所述第一数据发送给所述第二游戏终端。The apparatus according to any one of claims 19 to 23, wherein the processing module is configured to provide the first data for describing a current game progress to the second game terminal, specifically comprising: the processing module The first data is transmitted to the second game terminal by way of server relay.
  26. 根据权利要求19-25任一项所述的装置,其特征在于,所述处理模块还用于在结束帮助后,将推进游戏进度的第二数据的来源从所述第二游戏终端切换回本地,并基于来自本地的第二数据继续游戏。The apparatus according to any one of claims 19-25, wherein the processing module is further configured to switch the source of the second data advancing the progress of the game from the second game terminal to the local after the end of the help And continue the game based on the second data from the local.
  27. 根据权利要求19-25任一项所述的装置,其特征在于,所述处理模块还用于在所述请求模块发起求助请求时,将所述第一数据保存到本地;当结束帮助后,从本地加载所述第一数据,并在加载所述第一数据后,继续游戏。The device according to any one of claims 19-25, wherein the processing module is further configured to save the first data to a local when the requesting module initiates a help request; when the help is ended, The first data is loaded locally and after the first data is loaded, the game continues.
  28. 一种实现游戏求助的装置,所述装置位于第二游戏终端中,其特征在于,包括:An apparatus for implementing a game for help, the device being located in a second game terminal, comprising:
    接收模块,用于接收第一游戏终端发起的求助请求;a receiving module, configured to receive a request for assistance initiated by the first game terminal;
    发送模块,用于根据所述求助请求返回求助响应,所述求助响应指示所述求助请求已被所述第二游戏终端接受;a sending module, configured to return a help response according to the help request, the help response indicating that the help request has been accepted by the second game terminal;
    所述接收模块还用于接收用于描述所述第一游戏终端的当前游戏进度的第一数据;The receiving module is further configured to receive first data for describing a current game progress of the first game terminal;
    处理模块,用于基于所述第一数据产生推进游戏进度的第二数据;a processing module, configured to generate second data that advances a progress of the game based on the first data;
    所述发送模块还用于将所述第二数据提供给所述第一游戏终端。 The sending module is further configured to provide the second data to the first game terminal.
  29. 根据权利要求28所述的装置,其特征在于,所述处理模块具体用于加载所述第一数据,基于加载后的第一数据开始游戏,在游戏过程中产生推进游戏进度的第二数据。The apparatus according to claim 28, wherein the processing module is specifically configured to load the first data, start a game based on the loaded first data, and generate second data that advances a progress of the game during the game.
  30. 根据权利要求29所述的装置,其特征在于,所述第二数据包括游戏操作数据,所述处理模块具体用于监测所述第二游戏终端的外设的输入事件,基于所述输入事件产生游戏操作数据。The apparatus according to claim 29, wherein said second data comprises game operation data, and said processing module is specifically configured to monitor an input event of a peripheral of said second game terminal, based on said input event Game operation data.
  31. 根据权利要求30所述的装置,其特征在于,所述第二数据还包括:游戏时钟和/或游戏中产生的随机值。The apparatus of claim 30 wherein said second data further comprises: a game clock and/or a random value generated in the game.
  32. 根据权利要求28-31任一项所述的装置,其特征在于,所述接收模块具体用于通过与所述第一游戏终端直接建立连接的方式接收所述第一数据,或者,通过服务器中转的方式接收所述第一数据;其中,在采用与所述第一游戏终端直接建立连接的方式时,所述求助响应中还携带建立所述连接需要使用的所述第二游戏终端的地址。The device according to any one of claims 28 to 31, wherein the receiving module is specifically configured to receive the first data by establishing a connection with the first game terminal directly, or by a server relay Receiving the first data; wherein, in a manner of establishing a connection directly with the first game terminal, the help response further carries an address of the second game terminal that needs to be used to establish the connection.
  33. 一种服务器,其特征在于,包括:A server, comprising:
    通信模块,用于接收来自第一游戏终端的求助请求;a communication module, configured to receive a help request from the first game terminal;
    处理模块,用于根据所述通信模块接收的求助请求确定为所述第一游戏终端提供帮助的第二游戏终端,并创建求助会话,协助所述第一游戏终端与所述第二游戏终端实现游戏数据的传输;所述游戏数据包括用于描述所述第一游戏终端发起求助请求时的游戏进度的第一数据以及所述第二游戏终端基于所述第一数据产生的推进游戏进度的第二数据;a processing module, configured to determine, according to the help request received by the communication module, a second game terminal that provides assistance to the first game terminal, and create a help session to assist the first game terminal and the second game terminal to implement Transmission of game data; the game data includes first data for describing a progress of the game when the first game terminal initiates a help request, and a number of advancement game progress generated by the second game terminal based on the first data Two data;
    所述通信模块还用于在所述处理模块协助所述第一游戏终端与所述第二游戏终端实现游戏数据的传输的过程中负责处理模块与所述第一游戏终端以及与所述第二游戏终端的交互。The communication module is further configured to be responsible for processing the module and the first game terminal and the second in a process that the processing module assists the first game terminal and the second game terminal to implement transmission of game data The interaction of the game terminal.
  34. 根据权利要求33所述的服务器,其特征在于,所述处理模块用于协助所述第一游戏终端与所述第二游戏终端实现游戏数据的传输具体包括:所述处理模块用于在所述求助会话中,中转所述第一游戏终端与所述第二游戏终端之间传输的所述游戏数据,或者,所述处理模块将所述第二游戏终端的地址通过所述通信模块发送给所述第一游戏终端,所述第二游戏终端的地址用于供所述第一游戏终端直接与所述第二游戏终端建立用于传输所述游戏数据的连接。The server according to claim 33, wherein the processing module is configured to assist the first game terminal and the second game terminal to implement the transmission of game data, the method further comprising: the processing module In the help session, the game data transmitted between the first game terminal and the second game terminal is transferred, or the processing module sends the address of the second game terminal to the office through the communication module. The first game terminal, the address of the second game terminal is used for the first game terminal to directly establish a connection with the second game terminal for transmitting the game data.
  35. 根据权利要求34所述的服务器,其特征在于,所述处理模块在所述求助会话中,中转所述第一游戏终端与第二游戏终端之间传输的所述游戏数据具 体包括:所述处理模块用于通过所述通信模块接收所述第一游戏终端发送包括所述第一数据以及求助会话的会话ID的消息;将所述第一数据通过过所述通信模块转发给所述会话ID所标识的求助会话中的所述第二游戏终端;通过所述通信模块获取所述第二游戏终端在游戏过程中产生的第二数据,并将所述第二数据通过所述通信模块发送给所述求助会话中的第一游戏终端。The server according to claim 34, wherein said processing module relays said game data transmitted between said first game terminal and said second game terminal in said help session The processing module is configured to receive, by the communication module, a message that the first game terminal sends a session ID including the first data and a help session; and the first data is forwarded through the communication module And the second game terminal in the help session identified by the session ID; acquiring, by the communication module, second data generated by the second game terminal during the game, and passing the second data The communication module is sent to the first game terminal in the help session.
  36. 根据权利要求33-35任一项所述的服务器,其特征在于,所述通信模块还用于接收所述第一游戏终端发送的携带第一游戏终端地址的建立连接的请求;The server according to any one of claims 33 to 35, wherein the communication module is further configured to receive a request for establishing a connection that is sent by the first game terminal and that carries a first game terminal address;
    所述处理模块还用于根据所述第一游戏终端地址与所述第一游戏终端建立连接;The processing module is further configured to establish a connection with the first game terminal according to the first game terminal address;
    所述通信模块具体用于通过已建立的连接接收来自所述第一游戏终端的求助请求。 The communication module is specifically configured to receive a help request from the first game terminal through an established connection.
PCT/CN2016/094420 2015-10-28 2016-08-10 Method, device, and server for implementing gaming assistance WO2017071371A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510713259.5A CN105413175A (en) 2015-10-28 2015-10-28 Method and device for asking for help in game and server
CN201510713259.5 2015-10-28

Publications (1)

Publication Number Publication Date
WO2017071371A1 true WO2017071371A1 (en) 2017-05-04

Family

ID=55491991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094420 WO2017071371A1 (en) 2015-10-28 2016-08-10 Method, device, and server for implementing gaming assistance

Country Status (2)

Country Link
CN (1) CN105413175A (en)
WO (1) WO2017071371A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019183343A1 (en) * 2018-03-23 2019-09-26 Sony Interactive Entertainment LLC Voice help system using artificial intelligence
CN112245902A (en) * 2020-09-29 2021-01-22 西安万像电子科技有限公司 Switching method and device of terminal equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105413175A (en) * 2015-10-28 2016-03-23 华为技术有限公司 Method and device for asking for help in game and server
CN108471547B (en) * 2018-03-27 2021-01-19 上海麦克风文化传媒有限公司 Media play switching method and server device
CN110321229A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of game assisted method, terminal and computer readable storage medium
CN111672132B (en) * 2020-06-03 2024-03-29 西安万像电子科技有限公司 Game control method, game control device, server, and storage medium
CN112169341B (en) * 2020-09-29 2022-02-25 苏州亿歌网络科技有限公司 Game data processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1318421A (en) * 2000-04-14 2001-10-24 科乐美股份有限公司 Game system, game apparatus and control method and imformation memory medium
WO2013161731A1 (en) * 2012-04-25 2013-10-31 株式会社コナミデジタルエンタテインメント Game control device, game control method, program, recording medium, and game system
JP2014124501A (en) * 2012-12-27 2014-07-07 Konami Digital Entertainment Co Ltd Game system, control method used in the same and computer program
US9005032B1 (en) * 2013-05-01 2015-04-14 Kabam, Inc. System and method for allowing affiliations to utilize in-game items to assist other players
CN105413175A (en) * 2015-10-28 2016-03-23 华为技术有限公司 Method and device for asking for help in game and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852295B (en) * 2005-12-30 2010-06-09 华为技术有限公司 Network game system and its method for realizing network game
CN101075941B (en) * 2007-05-31 2011-01-05 腾讯科技(深圳)有限公司 Method and system for sharing game by invitation and instant telecommunication end
US20090061980A1 (en) * 2007-08-29 2009-03-05 Scientific Games International, Inc. Method and Devices for Increasing Player Interaction in a Game
EP2808787A4 (en) * 2012-01-24 2016-12-14 Sony Interactive Entertainment Inc Information processing device and information processing system
CN104168282B (en) * 2014-08-22 2018-05-08 广州博冠信息科技有限公司 cross-platform game communication method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1318421A (en) * 2000-04-14 2001-10-24 科乐美股份有限公司 Game system, game apparatus and control method and imformation memory medium
WO2013161731A1 (en) * 2012-04-25 2013-10-31 株式会社コナミデジタルエンタテインメント Game control device, game control method, program, recording medium, and game system
JP2014124501A (en) * 2012-12-27 2014-07-07 Konami Digital Entertainment Co Ltd Game system, control method used in the same and computer program
US9005032B1 (en) * 2013-05-01 2015-04-14 Kabam, Inc. System and method for allowing affiliations to utilize in-game items to assist other players
CN105413175A (en) * 2015-10-28 2016-03-23 华为技术有限公司 Method and device for asking for help in game and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019183343A1 (en) * 2018-03-23 2019-09-26 Sony Interactive Entertainment LLC Voice help system using artificial intelligence
WO2019182680A1 (en) * 2018-03-23 2019-09-26 xSONY INTERACTIVE ENTERTAINMENT LLC Connecting a player to expert help in real-time during game play of a gaming application
US10874947B2 (en) 2018-03-23 2020-12-29 Sony Interactive Entertainment LLC Connecting a player to expert help in real-time during game play of a gaming application
US11439917B2 (en) 2018-03-23 2022-09-13 Sony Interactive Entertainment LLC Voice help system using artificial intelligence
CN112245902A (en) * 2020-09-29 2021-01-22 西安万像电子科技有限公司 Switching method and device of terminal equipment

Also Published As

Publication number Publication date
CN105413175A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
WO2017071371A1 (en) Method, device, and server for implementing gaming assistance
CN109562296B (en) Cloud gaming device handover
US20180367587A1 (en) Network application display control method, and real-time update method and apparatus during display
CN110417915B (en) Push message transmission method and device, storage medium and electronic equipment
WO2016066130A1 (en) Method, apparatus and system for migrating application data between terminals
WO2019090902A1 (en) Screen sharing method and apparatus, electronic device, and storage medium
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN111479121A (en) Live broadcasting method and system based on streaming media server
CN114095557B (en) Data processing method, device, equipment and medium
CN112291316B (en) Connection processing method and device, electronic equipment and computer readable storage medium
WO2010145623A1 (en) Method and system for subscription service in ip multimedia subsystem network
WO2018072650A1 (en) Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv
TW201442767A (en) Generic companion-messaging between media platforms
CN113926185A (en) Data processing method, device, equipment and storage medium
WO2014015306A2 (en) System and method for local multiplayer gaming
CN113542904A (en) Video screen projection playing method and device, electronic equipment and storage medium
Le et al. MicroPlay: a networking framework for local multiplayer games
WO2018006678A1 (en) Voice call method and apparatus
CN104620561A (en) Remote access to content from a thin client
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
WO2014117506A1 (en) Method and device for sending multimedia message to group member
CN113242173A (en) Screen sharing method, device and system and instant messaging server
WO2012037799A1 (en) Digital television reception terminal and method enabling multimedia instant messaging therefor
JP2010050617A (en) Protocol conversion device and protocol conversion method
KR101387193B1 (en) System for controlling execution of application in mobile communication apparatus and controlling method thereof

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: 16858808

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858808

Country of ref document: EP

Kind code of ref document: A1