[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2018176559A1 - Game control method and device - Google Patents

Game control method and device Download PDF

Info

Publication number
WO2018176559A1
WO2018176559A1 PCT/CN2017/082733 CN2017082733W WO2018176559A1 WO 2018176559 A1 WO2018176559 A1 WO 2018176559A1 CN 2017082733 W CN2017082733 W CN 2017082733W WO 2018176559 A1 WO2018176559 A1 WO 2018176559A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
participation information
server
client
live broadcast
Prior art date
Application number
PCT/CN2017/082733
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 WO2018176559A1 publication Critical patent/WO2018176559A1/en

Links

Images

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/45Controlling the progress of the video game
    • 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/85Providing additional services to players
    • A63F13/86Watching games played by other players
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • 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/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • 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

Definitions

  • the present invention relates to the field of computers, and in particular, to a method and apparatus for controlling a game.
  • Embodiments of the present invention provide a method and apparatus for controlling a game, which are used to implement a game in which a viewing user participates in a live game of a game.
  • the present invention provides a method of controlling a game, comprising:
  • the game is controlled based on the game participation information.
  • the process corresponding to the live broadcast is a live broadcast process
  • the process corresponding to the game is a game process
  • the game participation information is sent to the game, including:
  • the game participation information is transmitted from the live broadcast process to the game process through the named pipe.
  • constructing a named pipe between the live broadcast process and the game process including:
  • the server is an end that sends the game participation information
  • the preset program is run to load the client in the game process, and the client will connect to the server.
  • a preset program for loading the client of the named pipe is injected into the game process, including:
  • the preset program is loaded in the game process according to the disk path.
  • controlling the game based on the game participation information includes:
  • the game function is called and executed to control the game.
  • the game function is specifically a skill function of any game character in the game.
  • the present invention provides an apparatus for controlling a game, comprising:
  • a receiving module configured to receive game participation information sent by the webcast server for participating in the game when the host device is playing a live game; the game runs in the anchor device, and the game participation information is received by The live view device is sent to the webcast server;
  • a sending module configured to send the game participation information to the game
  • control module configured to control the game based on the game participation information.
  • the process corresponding to the live broadcast is a live broadcast process
  • the process corresponding to the game is a game process
  • the sending module includes:
  • a building unit configured to construct a named pipe between the live broadcast process and the game process
  • a sending unit configured to send the game participation information from the live broadcast process to the game process by using the named pipe.
  • the building unit is configured to create a server of the named pipe in the live broadcast process; the server is an end that sends the game participation information; and is injected into the game process for loading a location Determining a default program of the client of the named pipe; the client is one end of receiving the game participation information; running the preset program to load the client in the game process, the client will connect The server.
  • the building unit is configured to provide a path of the preset program to the game process; and load the preset program in the game process according to the disk path.
  • control module is configured to determine, according to the game participation information, a game function of the game that the game participation information needs to call; call and execute the game function to control the game.
  • the game function is specifically a skill function of any game character in the game.
  • the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device, The game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information. It can be seen that by sending the received game participation information to The game controls the game based on the game participation information, thereby implementing control of the game based on information transmitted by the viewing user. Then, for the viewing user, by transmitting the game participation information in a webcast, the live game can be controlled, thereby implementing the game during the live broadcast of the game.
  • Figure 1 is a schematic diagram of a possible network architecture
  • FIG. 2 is a flowchart of a method for controlling a game according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a live process and a game process in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an apparatus for controlling a game in an embodiment of the present invention.
  • Embodiments of the present invention provide a method and apparatus for controlling a game, which are used to implement a game in which a viewing user participates in a live game of a game.
  • the broadcast device broadcasts the game
  • the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device,
  • the game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information.
  • FIG. 1 is a schematic diagram of a possible network architecture.
  • the anchor plays the image and audio collection by the anchor device, and the collected image and audio are sent to the server by the anchor device.
  • the server parses and processes the image and audio, it sends the image and audio to all of the viewing devices.
  • the webcast is specifically a live game, that is, the image and audio include at least the image and audio of the game, and may further include an image and audio of the anchor. Both the webcast process and the game's progress run on the anchor device.
  • Each viewing user watches the game live on their own viewing device. Moreover, each viewing user can send viewing information such as a barrage, a comment or a gift to the server through his own viewing device.
  • a first aspect of the present invention provides a method for controlling a game. Please refer to FIG. 2, which is a flowchart of a method for controlling a game according to an embodiment of the present invention. The method includes:
  • S101 Receive, when the host device performs the live broadcast of the game, the game participation information sent by the webcast server for participating in the game;
  • the corresponding process runs in the anchor device.
  • the anchor device can further access a game server different from the webcast server.
  • the game participation information is used to control the game and then participate in the game.
  • the game participation information in the embodiment of the present invention is further used to control any one of the plurality of game skills of one game character in the game.
  • the game participation information is sent by any viewing user to the webcast server through the viewing device, and then forwarded to the anchor device by the webcast server.
  • the game participation information may be sent in the form of a barrage, a comment, or a gift, and the present invention is not specifically limited.
  • one or more viewing users who can participate in the game may be selected in advance.
  • the viewing user who can participate in the game may be specified by the webcast server, or in other embodiments, may also be selected by the network anchor.
  • the viewing information of the viewing user who can participate in the game is filtered out from all the received viewing information, and the viewing information including the game participation information is further filtered out.
  • the game participation information is sent through the barrage, and the specific agreement is to add the type identifier of "skill" at the beginning of the barrage content, and then attach the skill number, the skill number indicates that the game participation information is to be controlled. Which game skill is it. Then, the viewing user who can participate in the game assumes that the game is played by transmitting the content of the "skill 1", thereby controlling the game character to use the first skill. Then, the live broadcast process receives all the viewing information, and filters out the "skill 1" barrage, and then acquires game participation information indicating that the game character is used to control the first skill.
  • a plurality of game skills of the game character may be numbered in advance and presented to the viewing user in order to view the user sending an accurate skill number.
  • the live broadcast process transmits the game participation information to the game progress, thereby transmitting the game participation information to the game.
  • the game is controlled based on the game participation information.
  • the game is controlled based on the information transmitted by the viewing user. Then, for the viewing user, by transmitting the game participation information in the webcast, the live game can be controlled, thereby realizing the participation in the game during the live broadcast of the game.
  • the live process and the game process are all running on the anchor device, as shown in FIG. 3, which is a schematic diagram of the live process and the game process.
  • FIG. 3 is a schematic diagram of the live process and the game process.
  • the specific implementation manner of the present invention is:
  • the game participation information is transmitted from the live broadcast process to the game process through the named pipe.
  • Named Pipes is an interprocess communication mechanism that supports reliable, one-way, or two-way data communication between different processes on the same computer or between different processes across different computers on a network. It shields the underlying network protocol details.
  • the embodiment of the present invention constructs a named pipe in the live process and the game process, and after the completion of the construction, the game participation information of the live process is sent to the game process through the named pipe. .
  • the server is an end that sends the game participation information
  • the preset program is run to load the client in the game process, and the client will connect to the server.
  • the naming pipeline includes two ends.
  • one end that injects the live broadcast process and sends the game participation information is referred to as a “server”
  • one end that is injected into the game process and receives the game participation information is referred to as “client”.
  • the live process calls the named pipe system function of the anchor device to create a named pipe, and the server that creates the named pipe is injected into the live process. Then, wait for the client to connect.
  • the host device is specifically a PC running Windows.
  • the live process calls the CreateNamedPipe function in the Windows API (Application Programming Interface) function to create a named pipe.
  • the name of the named pipe can be customized to a unique name.
  • the anchor device When the anchor device is running other devices of other systems, such as a mobile phone running Android, the corresponding system function is called to create a named pipe, which will not be described here.
  • the game program in the anchor device is a published program, and the client cannot be directly created. Therefore, the embodiment of the present invention injects a preset program into the game process, and the logic of the preset program is loading the client. end. Therefore, the preset program is run in the game process, so that the preset program loads the client, and then the client of the named pipe is injected into the game process. Then, the client connects to the server in the live process according to the name of the named pipe, thereby completing the construction of the named pipe between the live process and the game process.
  • injecting a preset program into the game process is implemented by the following process:
  • the preset program is loaded in the game process according to the disk path.
  • injecting a preset program into the game process is accomplished by the following process:
  • the anchor device is a PC of Windows system.
  • the anchor device allocates preset memory in the memory space of the game process through the VirtualAllocEx function in the Windows API function.
  • the role of the VirtualAllocEx function is to reserve or commit the memory area in the virtual space of the specified process.
  • the disk path of the preset program is written to the preset memory through the WriteProcessMemory function in the Windows API function.
  • the function of the WriteProcessMemory function is to write to the memory area of a certain process.
  • create a remote thread in the game process by calling the Create Remote Thread CreateRemoteThread function in the Windows API function.
  • a remote thread represents a thread created by one thread in another thread.
  • the logic executed by the remote thread in the embodiment of the present invention loads the disk path written into the preset memory by calling the LoadLibrary function, and loads the preset program in the game process according to the disk path, thereby injecting the preset program into the game process.
  • LoadLibrary The function is used to load the specified dynamic link library and map it to the address space used by the current process.
  • the preset program is injected into the game process. Then the default program is run during the game process, thereby loading the client in the game process, and then injecting the client into the game process.
  • the loaded client further needs to connect to the server to receive the game participation information of the live process. Specifically, after the client is loaded, the server is searched for and connected to the named pipe according to the named pipe name included in the preset program, and after the server is connected, the server client is notified that the connection has been completed. Enables the server to start sending game participation information.
  • the anchor device is a PC of Windows system.
  • the loaded client calls the CreateData function to connect to the named pipe, and calls the wait named pipe, WaitNamedPipe function to monitor and wait for the server's response.
  • the client After connecting to the server according to the name of the named pipe, the client calls the write data WriteFile function to write data to the server pipeline indicating that the client has completed the connection. Then, the read data ReadFile function is called to read the game participation information received in the named pipe.
  • the server waits for the client connection of the named pipe through the ConnectNamedPipe function, and calls ReadFile to read the data sent by the client indicating that the client has completed the connection, and then determines that the named pipe is completed. Then, the server side calls the WriteFile function to write all the game participation information acquired by S101 into the named pipe.
  • S103 is implemented by the following process:
  • the game function is called and executed to control the game.
  • all game functions may be pre-fetched and a mapping relationship between each game function and game participation information is established. Then, the live broadcast process receives the game participation game, and can determine the game function required to be called by the game participation information according to the mapping relationship, thereby calling and executing the game function required to be called by the game participation information in the game process through the named pipe.
  • the game participation information is specifically “skill 1”, and the game function corresponding to the first skill of the game character is determined as the function A according to the mapping relationship. Therefore, function A is called through the named pipe, which in turn causes the game character to use the first skill.
  • the game program in the anchor device is a published program, it is not convenient to obtain the game. Play function.
  • the skill control object of the game character will store a pointer in the game character object, and the pointer can be found in the character object to further find the game function that realizes the skill.
  • the game function is invoked by calling assembly language using disassembly.
  • the embodiment of the present invention searches for a game function that needs to be called by the game participation information through a dynamic debugging tool such as WinDbg, and parameters that need to be used to use the game function.
  • Windbg is a user-mode and kernel-mode debugging tool for the Windows platform. It is a lightweight debugging tool compared to Visual Studio.
  • the game function is determined and called by inline assembly code as follows.
  • SpellIndex is the skill index number. For example, the index number corresponding to "skill 1" above is 1.
  • the values of SpellThis, JudgeCastSpell and CastSpell are memory addresses, which are found by WinDbg dynamic debugging analysis.
  • the incoming ecx register is the address of the game function that has been instantiated. Finally, the game function is called by the assembly instruction call.
  • the calling game function is conditional, before executing the above code, it is judged by the following code whether the condition for calling the game function is satisfied.
  • the second aspect of the present invention further provides a device for controlling a game. As shown in FIG. 4, the method includes:
  • the receiving module 101 is configured to receive game participation information sent by the webcast server for participating in the game when the host device performs live broadcast of the game; the game runs in the anchor device, and the game participation information is Receiving a live broadcast of the viewing device to the webcast server;
  • the sending module 102 is configured to send the game participation information to the game
  • the control module 103 is configured to control the game based on the game participation information.
  • the process corresponding to the live broadcast is a live broadcast process
  • the process corresponding to the game is a game process
  • the sending module 102 includes:
  • a building unit configured to construct a named pipe between the live broadcast process and the game process
  • a sending unit configured to send the game participation information from the live broadcast process to the game process by using the named pipe.
  • the building unit is configured to create a server end of the named pipe in the live broadcast process; the server is an end that sends the game participation information; and injects the named pipe in the game process a preset program of the client; the client is one end of receiving the game participation information; running the preset program to load the client in the game process, and the client will connect to the server .
  • the building unit is configured to provide the game process with a disk path of the preset program; and loading the preset program in the game process according to the disk path.
  • control module 103 is configured to determine a game function of the game that the game participation information needs to be called based on the game participation information; call and execute the game function to control the game.
  • the game function is specifically a skill function of any of the game characters in the game.
  • the broadcast device broadcasts the game
  • the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device,
  • the game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Provided in embodiments of the present invention are a game control method and device, configured to enable a user to participate in a game while watching live streaming of the game. The method comprises: when a broadcaster apparatus is live streaming a game, receiving game participation information sent by a live streaming network server and configured for participation in the game, wherein the game is being run on the broadcasting apparatus, and the game participation information is sent to the live streaming network server by a viewer apparatus receiving the live stream; sending the game participation information to the game; and controlling, on the basis of the game participation information, the game.

Description

一种控制游戏的方法和装置Method and device for controlling game 技术领域Technical field
本发明涉及计算机领域,尤其涉及一种控制游戏的方法和装置。The present invention relates to the field of computers, and in particular, to a method and apparatus for controlling a game.
背景技术Background technique
随着网络直播的迅速发展,网络直播的内容也越来越丰富。例如,目前一种新的直播内容为游戏,许多喜爱游戏的观看用户可以观看主播用户的玩游戏过程,或者学习经验。然而,目前观看用户尚不能在观看过程中同步参与游戏。With the rapid development of webcasting, the content of webcasting is becoming more and more abundant. For example, at present, a new live content is a game, and many watch users who like games can watch the game process of the anchor user or learn the experience. However, currently viewing users are not yet able to participate in the game simultaneously during the viewing process.
发明内容Summary of the invention
本发明实施例提供了一种控制游戏的方法和装置,用于实现观看用户在观看游戏直播的过程中参与游戏。Embodiments of the present invention provide a method and apparatus for controlling a game, which are used to implement a game in which a viewing user participates in a live game of a game.
第一方面,本发明提供了一种控制游戏的方法,包括:In a first aspect, the present invention provides a method of controlling a game, comprising:
在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器;Receiving, by the anchor device, a game participation information sent by the webcast server for participating in the game; the game running in the anchor device, the game participation information being received by the live viewing device Sended to the webcast server;
将所述游戏参与信息发送给所述游戏;Sending the game participation information to the game;
基于所述游戏参与信息控制所述游戏。The game is controlled based on the game participation information.
可选的,所述直播对应的进程为直播进程,所述游戏对应的进程为游戏进程,将所述游戏参与信息发送给所述游戏,包括:Optionally, the process corresponding to the live broadcast is a live broadcast process, and the process corresponding to the game is a game process, and the game participation information is sent to the game, including:
在所述直播进程与所述游戏进程之间构建命名管道;Constructing a named pipe between the live broadcast process and the game process;
通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。The game participation information is transmitted from the live broadcast process to the game process through the named pipe.
可选的,在所述直播进程与所述游戏进程之间构建命名管道,包括:Optionally, constructing a named pipe between the live broadcast process and the game process, including:
在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;Creating a server of the named pipe in the live broadcast process; the server is an end that sends the game participation information;
在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;Presetting a program for loading a client of the named pipe in the game process; the client is one end of receiving the game participation information;
运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。The preset program is run to load the client in the game process, and the client will connect to the server.
可选的,在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序,包括:Optionally, a preset program for loading the client of the named pipe is injected into the game process, including:
向所述游戏进程提供所述预设程序的磁盘路径; Providing the game process with a disk path of the preset program;
按照所述磁盘路径在所述游戏进程中加载所述预设程序。The preset program is loaded in the game process according to the disk path.
可选的,基于所述游戏参与信息控制所述游戏,包括:Optionally, controlling the game based on the game participation information includes:
基于所述游戏参与信息确定所述游戏参与信息需要调用的所述游戏的游戏函数;Determining, based on the game participation information, a game function of the game that the game participation information needs to invoke;
调用并执行所述游戏函数,以控制所述游戏。The game function is called and executed to control the game.
可选的,所述游戏函数具体为所述游戏中任一游戏角色的技能函数。Optionally, the game function is specifically a skill function of any game character in the game.
第二方面,本发明提供了一种控制游戏的装置,包括:In a second aspect, the present invention provides an apparatus for controlling a game, comprising:
接收模块,用于在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器;a receiving module, configured to receive game participation information sent by the webcast server for participating in the game when the host device is playing a live game; the game runs in the anchor device, and the game participation information is received by The live view device is sent to the webcast server;
发送模块,用于将所述游戏参与信息发送给所述游戏;a sending module, configured to send the game participation information to the game;
控制模块,用于基于所述游戏参与信息控制所述游戏。And a control module, configured to control the game based on the game participation information.
可选的,所述直播对应的进程为直播进程,所述游戏对应的进程为游戏进程,所述发送模块包括:Optionally, the process corresponding to the live broadcast is a live broadcast process, and the process corresponding to the game is a game process, and the sending module includes:
构建单元,用于在所述直播进程与所述游戏进程之间构建命名管道;a building unit, configured to construct a named pipe between the live broadcast process and the game process;
发送单元,用于通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。And a sending unit, configured to send the game participation information from the live broadcast process to the game process by using the named pipe.
可选的,所述构建单元用于在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。Optionally, the building unit is configured to create a server of the named pipe in the live broadcast process; the server is an end that sends the game participation information; and is injected into the game process for loading a location Determining a default program of the client of the named pipe; the client is one end of receiving the game participation information; running the preset program to load the client in the game process, the client will connect The server.
可选的,所述构建单元用于向所述游戏进程提供所述预设程序的磁盘路径;按照所述磁盘路径在所述游戏进程中加载所述预设程序。Optionally, the building unit is configured to provide a path of the preset program to the game process; and load the preset program in the game process according to the disk path.
可选的,所述控制模块用于基于所述游戏参与信息确定所述游戏参与信息需要调用的所述游戏的游戏函数;调用并执行所述游戏函数,以控制所述游戏。Optionally, the control module is configured to determine, according to the game participation information, a game function of the game that the game participation information needs to call; call and execute the game function to control the game.
可选的,所述游戏函数具体为所述游戏中任一游戏角色的技能函数。Optionally, the game function is specifically a skill function of any game character in the game.
本申请实施例中的上述一个或多个技术方案,至少具有如下一种或多种技术效果:The above one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
在本发明实施例的技术方案中,在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器,然后将所述游戏参与信息发送给所述游戏,以及基于所述游戏参与信息参与并控制所述游戏。由此可见,通过将接收到的所述游戏参与信息发送给 所述游戏,并且基于所述游戏参与信息控制所述游戏,故而实现了基于观看用户发送的信息控制所述游戏。那么,对所述观看用户而言,通过在网络直播中发送所述游戏参与信息,就可以对直播的游戏进行控制,进而实现了观看游戏直播的过程中参与游戏。In the technical solution of the embodiment of the present invention, when the broadcast device broadcasts the game, the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device, The game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information. It can be seen that by sending the received game participation information to The game controls the game based on the game participation information, thereby implementing control of the game based on information transmitted by the viewing user. Then, for the viewing user, by transmitting the game participation information in a webcast, the live game can be controlled, thereby implementing the game during the live broadcast of the game.
附图说明DRAWINGS
图1为一种可能的网络架构示意图;Figure 1 is a schematic diagram of a possible network architecture;
图2为本发明实施例中控制游戏的方法流程图;2 is a flowchart of a method for controlling a game according to an embodiment of the present invention;
图3为本发明实施例中直播进程和游戏进程示意图;3 is a schematic diagram of a live process and a game process in an embodiment of the present invention;
图4为本发明实施例中控制游戏的装置示意图。4 is a schematic diagram of an apparatus for controlling a game in an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种控制游戏的方法和装置,用于实现观看用户在观看游戏直播的过程中参与游戏。Embodiments of the present invention provide a method and apparatus for controlling a game, which are used to implement a game in which a viewing user participates in a live game of a game.
为了解决上述技术问题,本发明提供的技术方案总体思路如下:In order to solve the above technical problem, the general idea of the technical solution provided by the present invention is as follows:
在本发明实施例的技术方案中,在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器,然后将所述游戏参与信息发送给所述游戏,以及基于所述游戏参与信息参与并控制所述游戏。由此可见,通过将接收到的所述游戏参与信息发送给所述游戏,并且基于所述游戏参与信息控制所述游戏,故而实现了基于观看用户发送的信息控制所述游戏。那么,对所述观看用户而言,通过在网络直播中发送所述游戏参与信息,就可以对直播的游戏进行控制,进而实现了观看游戏直播的过程中参与游戏。In the technical solution of the embodiment of the present invention, when the broadcast device broadcasts the game, the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device, The game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information. Thus, it can be seen that by transmitting the received game participation information to the game and controlling the game based on the game participation information, it is achieved that the game is controlled based on information transmitted by the viewing user. Then, for the viewing user, by transmitting the game participation information in a webcast, the live game can be controlled, thereby implementing the game during the live broadcast of the game.
下面通过附图以及具体实施例对本发明技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。The technical solutions of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments. It is understood that the specific features of the embodiments and the embodiments of the present application are the detailed description of the technical solutions of the present application, and are not limited to the technical solutions of the present application. In the case of no conflict, the technical features in the embodiments of the present application and the embodiments may be combined with each other.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
为了更加清楚地介绍本发明实施例中的控制游戏的方法,首先对本发明实施例所应用的网络架构进行介绍。请参考图1,为一种可能的网络架构示意图。 如图1所示,在一次网络直播中,主播端设备可以有一个,观看端设备则可以有一个或多个,主播端设备和观看端设备均通过网络接入网络直播服务器。主播持主播端设备进行图像和音频采集,并由主播端设备将采集到的图像和音频发送至服务器。服务器对图像和音频进行解析和处理后,将图像和音频发送到所有观看端设备。In order to more clearly describe the method for controlling a game in the embodiment of the present invention, the network architecture to which the embodiment of the present invention is applied is first introduced. Please refer to FIG. 1 , which is a schematic diagram of a possible network architecture. As shown in FIG. 1 , in a live webcast, there may be one anchor device, and one or more viewer devices, and both the anchor device and the viewing device access the network live server through the network. The anchor plays the image and audio collection by the anchor device, and the collected image and audio are sent to the server by the anchor device. After the server parses and processes the image and audio, it sends the image and audio to all of the viewing devices.
在本发明实施例中,网络直播具体为游戏直播,即图像和音频至少包括游戏的图像和音频,进一步还可以包括主播的图像和音频。网络直播的进程和游戏的进程均运行在主播端设备中。In the embodiment of the present invention, the webcast is specifically a live game, that is, the image and audio include at least the image and audio of the game, and may further include an image and audio of the anchor. Both the webcast process and the game's progress run on the anchor device.
每个观看用户在自己持有的观看端设备上观看游戏直播。并且,每个观看用户均可以通过自己的观看端设备向服务器发送弹幕、评论或礼物等观看信息。Each viewing user watches the game live on their own viewing device. Moreover, each viewing user can send viewing information such as a barrage, a comment or a gift to the server through his own viewing device.
本发明第一方面提供了一种控制游戏的方法,请参考图2,为本发明实施例中控制游戏的方法流程图。该方法包括:A first aspect of the present invention provides a method for controlling a game. Please refer to FIG. 2, which is a flowchart of a method for controlling a game according to an embodiment of the present invention. The method includes:
S101:在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;S101: Receive, when the host device performs the live broadcast of the game, the game participation information sent by the webcast server for participating in the game;
S102:将所述游戏参与信息发送给所述游戏;S102: Send the game participation information to the game;
S103:基于所述游戏参与信息控制所述游戏。S103: Control the game based on the game participation information.
具体来讲,本发明实施例直播的游戏,对应的进程运行在主播端设备中。进一步,如果该游戏具体为网络游戏,则主播端设备进一步还可以接入不同于网络直播服务器的游戏服务器。游戏参与信息用于控制游戏进而参与游戏,本发明实施例中的游戏参与信息进一步用于控制游戏中一个游戏角色的多个游戏技能中的任一游戏技能。游戏参与信息由任意观看用户通过观看端设备发送到网络直播服务器,再由网络直播服务器转发到主播端设备。游戏参与信息可以通过弹幕、评论或者礼物等形式发送,本发明不做具体限制。Specifically, in the live broadcast game of the embodiment of the present invention, the corresponding process runs in the anchor device. Further, if the game is specifically a network game, the anchor device can further access a game server different from the webcast server. The game participation information is used to control the game and then participate in the game. The game participation information in the embodiment of the present invention is further used to control any one of the plurality of game skills of one game character in the game. The game participation information is sent by any viewing user to the webcast server through the viewing device, and then forwarded to the anchor device by the webcast server. The game participation information may be sent in the form of a barrage, a comment, or a gift, and the present invention is not specifically limited.
在具体实现过程中,为了避免参与游戏的观看用户过多,可以预先选择一个或多个能够参与游戏的观看用户。在一种实施方式中,可以由网络直播服务器指定能够参与游戏的观看用户,或者在其他实施方式中,也可以由网络主播自行选择。根据能够参与游戏的观看用户的用户标识,从所有接收到的观看信息中筛选出能够参与游戏的观看用户的观看信息,并进一步筛选出包括游戏参与信息的观看信息。In a specific implementation process, in order to avoid excessive viewing users participating in the game, one or more viewing users who can participate in the game may be selected in advance. In one embodiment, the viewing user who can participate in the game may be specified by the webcast server, or in other embodiments, may also be selected by the network anchor. According to the user identification of the viewing user who can participate in the game, the viewing information of the viewing user who can participate in the game is filtered out from all the received viewing information, and the viewing information including the game participation information is further filtered out.
举例来说,游戏参与信息通过弹幕来发送,且具体协议为在弹幕内容的开头加上“技能”的类型标识,并随后附上技能编号,技能编号表示所该游戏参与信息将要控制的游戏技能为哪个。那么,能够参与游戏的观看用户则假设通过发送内容为“技能1”的弹幕来参与游戏,进而控制游戏角色使用第1个技能。 那么,直播进程接收所有观看信息,并筛选出“技能1”的弹幕,进而获取表示控制游戏角色使用第1个技能的游戏参与信息。For example, the game participation information is sent through the barrage, and the specific agreement is to add the type identifier of "skill" at the beginning of the barrage content, and then attach the skill number, the skill number indicates that the game participation information is to be controlled. Which game skill is it. Then, the viewing user who can participate in the game assumes that the game is played by transmitting the content of the "skill 1", thereby controlling the game character to use the first skill. Then, the live broadcast process receives all the viewing information, and filters out the "skill 1" barrage, and then acquires game participation information indicating that the game character is used to control the first skill.
在上述例子中,可以预先将游戏角色的多个游戏技能编号,并向观看用户展示,以便观看用户发送准确的技能编号。In the above example, a plurality of game skills of the game character may be numbered in advance and presented to the viewing user in order to view the user sending an accurate skill number.
然后,在S102中,直播进程将游戏参与信息发送到游戏进程中,由此将游戏参与信息发送给游戏。最后,在S103中,基于游戏参与信息控制游戏。Then, in S102, the live broadcast process transmits the game participation information to the game progress, thereby transmitting the game participation information to the game. Finally, in S103, the game is controlled based on the game participation information.
由上述描述可以看出,通过将接收到的游戏参与信息发送给游戏,并且基于游戏参与信息控制游戏,故而实现了基于观看用户发送的信息控制游戏。那么,对观看用户而言,通过在网络直播中发送游戏参与信息,就可以对直播的游戏进行控制,进而实现了观看游戏直播的过程中参与游戏。As can be seen from the above description, by transmitting the received game participation information to the game and controlling the game based on the game participation information, it is realized that the game is controlled based on the information transmitted by the viewing user. Then, for the viewing user, by transmitting the game participation information in the webcast, the live game can be controlled, thereby realizing the participation in the game during the live broadcast of the game.
下面对将游戏参与信息发送给游戏的具体实施方式进行介绍。The following describes the specific implementation of transmitting game participation information to the game.
具体来讲,本发明实施例中直播进程和游戏进程均运行在主播端设备中,如图3所示,为直播进程和游戏进程的示意图。为实现根据观看用户发送的游戏参与信息控制游戏,就需要将主播进程中的游戏参与信息跨线程发送给游戏进程中。为实现不同进程间的通信,本发明实施具体实施方式为:Specifically, in the embodiment of the present invention, the live process and the game process are all running on the anchor device, as shown in FIG. 3, which is a schematic diagram of the live process and the game process. In order to control the game according to the game participation information sent by the viewing user, it is necessary to send the game participation information in the anchor process to the game process across threads. To implement communication between different processes, the specific implementation manner of the present invention is:
在所述直播进程与所述游戏进程之间构建命名管道;Constructing a named pipe between the live broadcast process and the game process;
通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。The game participation information is transmitted from the live broadcast process to the game process through the named pipe.
命名管道Named Pipes是一种进程间通信机制,可在同一台计算机的不同进程之间或在跨越一个网络的不同计算机的不同进程之间,支持可靠的、单向或双向的数据通信。它屏蔽了底层的网络协议细节。Named Pipes Named Pipes is an interprocess communication mechanism that supports reliable, one-way, or two-way data communication between different processes on the same computer or between different processes across different computers on a network. It shields the underlying network protocol details.
为了实现直播进程与游戏进程间的通信,如图3所示,本发明实施例在直播进程与游戏进程构建命名管道,构建完成后,通过命名管道将直播进程的游戏参与信息发送到游戏进程中。In order to realize the communication between the live process and the game process, as shown in FIG. 3, the embodiment of the present invention constructs a named pipe in the live process and the game process, and after the completion of the construction, the game participation information of the live process is sent to the game process through the named pipe. .
其中,构建命名管道的具体实施方式如下:Among them, the specific implementation of building a named pipe is as follows:
在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;Creating a server of the named pipe in the live broadcast process; the server is an end that sends the game participation information;
在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;Presetting a program for loading a client of the named pipe in the game process; the client is one end of receiving the game participation information;
运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。The preset program is run to load the client in the game process, and the client will connect to the server.
具体来讲,命名管道包括两端,本发明实施例将注入直播进程且发送游戏参与信息的一端称为“服务端”,将注入游戏进程且接收游戏参与信息的一端称为“客户端”。 Specifically, the naming pipeline includes two ends. In the embodiment of the present invention, one end that injects the live broadcast process and sends the game participation information is referred to as a “server”, and one end that is injected into the game process and receives the game participation information is referred to as “client”.
首先,直播进程调用主播端设备的创建命名管道系统函数创建命名管道,创建出的命名管道的服务端就注入直播进程中。然后,等待客户端连接。First, the live process calls the named pipe system function of the anchor device to create a named pipe, and the server that creates the named pipe is injected into the live process. Then, wait for the client to connect.
以主播端设备具体为运行Windows系统的PC为例,直播进程调用WindowsAPI(应用程序编程接口,Application Programming Interface)函数中的创建命名管道CreateNamedPipe函数创建命名管道。在具体实现过程中,命名管道的名字自定义一个唯一的名字即可。然后再调用连接命名管道ConnectNamedPipe函数等待客户端连接。For example, the host device is specifically a PC running Windows. The live process calls the CreateNamedPipe function in the Windows API (Application Programming Interface) function to create a named pipe. In the specific implementation process, the name of the named pipe can be customized to a unique name. Then call the connection named pipe ConnectNamedPipe function to wait for the client connection.
当主播端设备为运行其他系统的其他设备时,例如运行安卓系统的手机时,调用相应的系统函数来创建命名管道即可,这里就不再一一赘述了。When the anchor device is running other devices of other systems, such as a mobile phone running Android, the corresponding system function is called to create a named pipe, which will not be described here.
而对于命名管道的客户端,由于主播端设备中的游戏程序为已发布程序,无法直接创建客户端,因此本发明实施例向游戏进程注入一预设程序,该预设程序的逻辑为加载客户端。因此,在游戏进程中运行该预设程序,从而预设程序加载客户端,进而将命名管道的客户端注入游戏进程。接着,客户端端根据命名管道的名字,连接直播进程中的服务端,从而完成直播进程和游戏进程之间构建命名管道。For the client of the named pipe, the game program in the anchor device is a published program, and the client cannot be directly created. Therefore, the embodiment of the present invention injects a preset program into the game process, and the logic of the preset program is loading the client. end. Therefore, the preset program is run in the game process, so that the preset program loads the client, and then the client of the named pipe is injected into the game process. Then, the client connects to the server in the live process according to the name of the named pipe, thereby completing the construction of the named pipe between the live process and the game process.
其中,向游戏进程注入一预设程序通过如下过程实现:Among them, injecting a preset program into the game process is implemented by the following process:
向所述游戏进程提供所述预设程序的磁盘路径;Providing the game process with a disk path of the preset program;
按照所述磁盘路径在所述游戏进程中加载所述预设程序。The preset program is loaded in the game process according to the disk path.
更具体地说,向游戏进程注入一预设程序通过如下过程实现:More specifically, injecting a preset program into the game process is accomplished by the following process:
在所述游戏进程的内存空间分配出一预置空间;Allocating a preset space in a memory space of the game process;
将所述预设程序的磁盘路径写入所述预置空间;Writing a disk path of the preset program into the preset space;
在所述游戏进程中创建一用于基于所述磁盘路径注入所述预设程序的远程线程;Creating a remote thread for injecting the preset program based on the disk path in the game process;
运行所述远程线程。Run the remote thread.
沿用上文中的例子,主播端设备为Windows系统的PC机。主播端设备通过WindowsAPI函数中的VirtualAllocEx函数在游戏进程的内存空间中分配出预置内存。其中,VirtualAllocEx函数的作用是在指定进程的虚拟空间保留或提交内存区域。然后,通过WindowsAPI函数中的WriteProcessMemory函数将预设程序的磁盘路径写入到预置内存中。其中,WriteProcessMemory函数的作用是写入某一进程的内存区域。接着,调用WindowsAPI函数中的创建远程线程CreateRemoteThread函数在游戏进程中创建一个远程线程。其中,远程线程表示一个线程在另一个线程中创建的线程。本发明实施例的远程线程所执行的逻辑为调用LoadLibrary函数加载写入预置内存的磁盘路径,将按照磁盘路径在游戏进程中加载预设程序,由此将预设程序注入游戏进程。其中,LoadLibrary 函数用于载入指定的动态链接库,并将它映射到当前进程使用的地址空间。Following the example above, the anchor device is a PC of Windows system. The anchor device allocates preset memory in the memory space of the game process through the VirtualAllocEx function in the Windows API function. Among them, the role of the VirtualAllocEx function is to reserve or commit the memory area in the virtual space of the specified process. Then, the disk path of the preset program is written to the preset memory through the WriteProcessMemory function in the Windows API function. Among them, the function of the WriteProcessMemory function is to write to the memory area of a certain process. Next, create a remote thread in the game process by calling the Create Remote Thread CreateRemoteThread function in the Windows API function. Among them, a remote thread represents a thread created by one thread in another thread. The logic executed by the remote thread in the embodiment of the present invention loads the disk path written into the preset memory by calling the LoadLibrary function, and loads the preset program in the game process according to the disk path, thereby injecting the preset program into the game process. Among them, LoadLibrary The function is used to load the specified dynamic link library and map it to the address space used by the current process.
通过上述实施方式,就将预设程序注入了游戏进程。然后在游戏进程中运行预设程序,由此在游戏进程中加载客户端,进而使客户端注入游戏进程。Through the above embodiment, the preset program is injected into the game process. Then the default program is run during the game process, thereby loading the client in the game process, and then injecting the client into the game process.
由上述描述可以看出,通过向游戏进程中注入用于加载客户端的预设程序,实现了间接在游戏进程中注入客户端,从而实现观看用户参与并控制有效。It can be seen from the above description that by injecting a preset program for loading the client into the game process, the client is injected indirectly in the game process, thereby realizing the participation of the user and the control is effective.
加载完成的客户端进一步还需要连接服务端才能够接收直播进程的游戏参与信息。具体来讲,客户端加载完成后,根据预设程序所包括的命名管道名字,在系统中寻找并连接命名管道的服务端,并在连接上服务端后通知服务端客户端已完成连接,从而使得服务端可以开始发送游戏参与信息。The loaded client further needs to connect to the server to receive the game participation information of the live process. Specifically, after the client is loaded, the server is searched for and connected to the named pipe according to the named pipe name included in the preset program, and after the server is connected, the server client is notified that the connection has been completed. Enables the server to start sending game participation information.
沿用上文中的例子,主播端设备为Windows系统的PC机。加载完成的客户端调用创建数据CreateFile函数来连接命名管道,并调用等待命名管道WaitNamedPipe函数监测并等待服务端的响应。当根据命名管道的名字连接到服务端后,客户端调用写数据WriteFile函数向服务端管道中写入表示客户端端已完成连接的数据。然后,调用读数据ReadFile函数来读取命名管道中接收的游戏参与信息。另一方面,服务端通过ConnectNamedPipe函数等待命名管道的客户端连接,调用ReadFile来读取客户端发送过来的表示客户端发送的表示客户端已完成连接的数据后,进而确定命名管道构建完成。然后,服务器端调用WriteFile函数往命名管道中写入S101获取的所有游戏参与信息。Following the example above, the anchor device is a PC of Windows system. The loaded client calls the CreateData function to connect to the named pipe, and calls the wait named pipe, WaitNamedPipe function to monitor and wait for the server's response. After connecting to the server according to the name of the named pipe, the client calls the write data WriteFile function to write data to the server pipeline indicating that the client has completed the connection. Then, the read data ReadFile function is called to read the game participation information received in the named pipe. On the other hand, the server waits for the client connection of the named pipe through the ConnectNamedPipe function, and calls ReadFile to read the data sent by the client indicating that the client has completed the connection, and then determines that the named pipe is completed. Then, the server side calls the WriteFile function to write all the game participation information acquired by S101 into the named pipe.
接下来,对S103中如何基于游戏参与信息控制游戏进行介绍。在本发明实施例中,S103通过如下过程实现:Next, how to control the game based on the game participation information in S103 is introduced. In the embodiment of the present invention, S103 is implemented by the following process:
基于所述游戏参与信息确定所述游戏参与信息需要调用的所述游戏的游戏函数;Determining, based on the game participation information, a game function of the game that the game participation information needs to invoke;
调用并执行所述游戏函数,以控制所述游戏。The game function is called and executed to control the game.
具体来讲,由于用户参与并控制游戏,具体是通过调用游戏中的游戏函数来实现的,因此,为了调用对应的游戏函数,则需要确定游戏参与信息所需要调用的游戏函数。Specifically, since the user participates in and controls the game, specifically by calling a game function in the game, in order to call the corresponding game function, it is necessary to determine the game function that the game participation information needs to call.
在一种实施方式中,可以预先获取所有游戏函数,并建立每个游戏函数与游戏参与信息的映射关系。那么,直播进程接收到游戏参与游戏,对照映射关系就可以确定出该游戏参与信息所需调用的游戏函数,从而通过命名管道在游戏进程中调用并执行该游戏参与信息所需调用的游戏函数。In one embodiment, all game functions may be pre-fetched and a mapping relationship between each game function and game participation information is established. Then, the live broadcast process receives the game participation game, and can determine the game function required to be called by the game participation information according to the mapping relationship, thereby calling and executing the game function required to be called by the game participation information in the game process through the named pipe.
举例来说,游戏参与信息具体为“技能1”,对照映射关系,确定游戏角色的第1个技能所对应的游戏函数为函数A。因此,通过命名管道调用函数A,进而使得游戏角色使用第1个技能。For example, the game participation information is specifically “skill 1”, and the game function corresponding to the first skill of the game character is determined as the function A according to the mapping relationship. Therefore, function A is called through the named pipe, which in turn causes the game character to use the first skill.
如上文所述,由于主播端设备中的游戏程序为已发布程序,不方便获取游 戏函数。根据经验,游戏角色的技能控制对象都会存储一份指针在游戏角色对象中,在角色对象中可以找到指针,从而进一步的找到实现技能的游戏函数。找到游戏函数后,就可以确定需要传入的参数、使用该函数的条件(例如CD冷却时间或者技能的能量条是否满等)以及调用游戏函数。因此,在另一种实施方式中,利用反汇编,通过调用汇编语言的形式调用游戏函数。As mentioned above, since the game program in the anchor device is a published program, it is not convenient to obtain the game. Play function. According to experience, the skill control object of the game character will store a pointer in the game character object, and the pointer can be found in the character object to further find the game function that realizes the skill. Once you have found the game function, you can determine the parameters that need to be passed, the conditions under which the function is used (such as CD cooling time or whether the energy bar of the skill is full, etc.) and call the game function. Thus, in another embodiment, the game function is invoked by calling assembly language using disassembly.
具体来讲,本发明实施例通过例如WinDbg等动态调试工具寻找游戏参与信息需要调用的游戏函数,以及使用该游戏函数需传入的参数。Windbg是在Windows平台下用户态和内核态调试工具。相比较于Visual Studio,它是一个轻量级的调试工具。举例来说,通过如下内嵌汇编代码确定并调用游戏函数。Specifically, the embodiment of the present invention searches for a game function that needs to be called by the game participation information through a dynamic debugging tool such as WinDbg, and parameters that need to be used to use the game function. Windbg is a user-mode and kernel-mode debugging tool for the Windows platform. It is a lightweight debugging tool compared to Visual Studio. For example, the game function is determined and called by inline assembly code as follows.
__asm__asm
{{
push SpellIndex//往堆栈中压入技能的索引号Push SpellIndex / / press the index number of the skill into the stack
mov ecx,SpellThis//传入ecx位技能管理对象的实例指针Mov ecx, SpellThis / / incoming ecx bit skill management object instance pointer
call CastSpell//调用游戏函数Call CastSpell / / call the game function
}}
SpellIndex为技能索引号,例如上文中“技能1”对应的索引号为1。SpellIndex is the skill index number. For example, the index number corresponding to "skill 1" above is 1.
其中SpellThis、JudgeCastSpell和CastSpell的值为内存地址,通过WinDbg动态调试分析找到。传入ecx寄存器的是已经实例化的游戏函数的地址。最后通过汇编指令call调用游戏函数。The values of SpellThis, JudgeCastSpell and CastSpell are memory addresses, which are found by WinDbg dynamic debugging analysis. The incoming ecx register is the address of the game function that has been instantiated. Finally, the game function is called by the assembly instruction call.
在具体实现过程中,也可以编写其他反汇编的代码调用游戏函数,本发明不做具体限制。In the specific implementation process, other disassembled code can also be written to call the game function, and the present invention does not impose any specific limitation.
进一步,如果调用游戏函数是有条件的,则在执行上述代码前,通过以下代码判断是否满足调用游戏函数的条件。Further, if the calling game function is conditional, before executing the above code, it is judged by the following code whether the condition for calling the game function is satisfied.
__asm__asm
{{
push SpellIndex//往堆栈中压入技能的索引号Push SpellIndex / / press the index number of the skill into the stack
mov ecx,SpellThis//传入ecx位游戏函数的实例指针Mov ecx, SpellThis / / incoming ecx bit game function instance pointer
call JudgeCastSpell//调用游戏函数Call JudgeCastSpell / / call the game function
mov Ret,eax//将判断结果返回值存储在Ret中Mov Ret, eax / / will store the return value of the judgment result in the Ret
}}
如果Ret中的值为True,则表示调用游戏函数的条件满足,进而调用并执行上文中反汇编调用游戏函数的代码。If the value in the Ret is True, it means that the condition of the calling game function is satisfied, and then the code of the disassembled calling game function in the above is called and executed.
基于与前述实施例中控制游戏的方法同样的发明构思,本发明第二方面还提供一种控制游戏的装置,如图4所示,包括: Based on the same inventive concept as the method for controlling a game in the foregoing embodiment, the second aspect of the present invention further provides a device for controlling a game. As shown in FIG. 4, the method includes:
接收模块101,用于在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器;The receiving module 101 is configured to receive game participation information sent by the webcast server for participating in the game when the host device performs live broadcast of the game; the game runs in the anchor device, and the game participation information is Receiving a live broadcast of the viewing device to the webcast server;
发送模块102,用于将所述游戏参与信息发送给所述游戏;The sending module 102 is configured to send the game participation information to the game;
控制模块103,用于基于所述游戏参与信息控制所述游戏。The control module 103 is configured to control the game based on the game participation information.
具体来讲,所述直播对应的进程为直播进程,所述游戏对应的进程为游戏进程,发送模块102包括:Specifically, the process corresponding to the live broadcast is a live broadcast process, and the process corresponding to the game is a game process, and the sending module 102 includes:
构建单元,用于在所述直播进程与所述游戏进程之间构建命名管道;a building unit, configured to construct a named pipe between the live broadcast process and the game process;
发送单元,用于通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。And a sending unit, configured to send the game participation information from the live broadcast process to the game process by using the named pipe.
进一步,构建单元用于在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。Further, the building unit is configured to create a server end of the named pipe in the live broadcast process; the server is an end that sends the game participation information; and injects the named pipe in the game process a preset program of the client; the client is one end of receiving the game participation information; running the preset program to load the client in the game process, and the client will connect to the server .
进一步,构建单元用于向所述游戏进程提供所述预设程序的磁盘路径;按照所述磁盘路径在所述游戏进程中加载所述预设程序。Further, the building unit is configured to provide the game process with a disk path of the preset program; and loading the preset program in the game process according to the disk path.
具体来讲,控制模块103用于基于所述游戏参与信息确定所述游戏参与信息需要调用的所述游戏的游戏函数;调用并执行所述游戏函数,以控制所述游戏。Specifically, the control module 103 is configured to determine a game function of the game that the game participation information needs to be called based on the game participation information; call and execute the game function to control the game.
游戏函数具体为所述游戏中任一游戏角色的技能函数。The game function is specifically a skill function of any of the game characters in the game.
前述图1-图3实施例中的控制游戏的方法的各种变化方式和具体实例同样适用于本实施例的控制游戏的装置,通过前述对控制游戏的方法的详细描述,本领域技术人员可以清楚的知道本实施例中控制游戏的装置的实施方法,所以为了说明书的简洁,在此不再详述。The various modifications and specific examples of the method for controlling a game in the foregoing embodiments of FIG. 1 to FIG. 3 are also applicable to the device for controlling a game of the present embodiment. Those skilled in the art can use the foregoing detailed description of the method for controlling the game. The implementation method of the device for controlling the game in this embodiment is clearly known, so that the details of the description will not be described in detail herein.
本申请实施例中的上述一个或多个技术方案,至少具有如下一种或多种技术效果:The above one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
在本发明实施例的技术方案中,在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器,然后将所述游戏参与信息发送给所述游戏,以及基于所述游戏参与信息参与并控制所述游戏。由此可见,通过将接收到的所述游戏参与信息发送给所述游戏,并且基于所述游戏参与信息控制所述游戏,故而实现了基于观看用户发送的信息控制所述游戏。那么,对所述观看用户而言,通过在网络直播中 发送所述游戏参与信息,就可以对直播的游戏进行控制,进而实现了观看游戏直播的过程中参与游戏。In the technical solution of the embodiment of the present invention, when the broadcast device broadcasts the game, the game participation information sent by the webcast server for participating in the game is received; the game is run in the anchor device, The game participation information is transmitted to the webcast server by the viewing device that receives the live broadcast, and then the game participation information is transmitted to the game, and the game is participated and controlled based on the game participation information. Thus, it can be seen that by transmitting the received game participation information to the game and controlling the game based on the game participation information, it is achieved that the game is controlled based on information transmitted by the viewing user. Then, for the viewing user, by webcasting By transmitting the game participation information, the live game can be controlled, thereby implementing the game during the live broadcast of the game.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (10)

  1. 一种控制游戏的方法,其特征在于,包括:A method of controlling a game, comprising:
    在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器;Receiving, by the anchor device, a game participation information sent by the webcast server for participating in the game; the game running in the anchor device, the game participation information being received by the live viewing device Sended to the webcast server;
    将所述游戏参与信息发送给所述游戏;Sending the game participation information to the game;
    基于所述游戏参与信息控制所述游戏。The game is controlled based on the game participation information.
  2. 如权利要求1所述的方法,其特征在于,所述直播对应的进程为直播进程,所述游戏对应的进程为游戏进程,将所述游戏参与信息发送给所述游戏,包括:The method of claim 1, wherein the process corresponding to the live broadcast is a live broadcast process, and the process corresponding to the game is a game process, and the game participation information is sent to the game, including:
    在所述直播进程与所述游戏进程之间构建命名管道;Constructing a named pipe between the live broadcast process and the game process;
    通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。The game participation information is transmitted from the live broadcast process to the game process through the named pipe.
  3. 如权利要求2所述的方法,其特征在于,在所述直播进程与所述游戏进程之间构建命名管道,包括;The method of claim 2, wherein constructing a named pipe between the live broadcast process and the game process comprises:
    在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;Creating a server of the named pipe in the live broadcast process; the server is an end that sends the game participation information;
    在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;Presetting a program for loading a client of the named pipe in the game process; the client is one end of receiving the game participation information;
    运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。The preset program is run to load the client in the game process, and the client will connect to the server.
  4. 如权利要求3所述的方法,其特征在于,在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序,包括:The method of claim 3, wherein the injecting a preset program for loading the client of the named pipe in the game process comprises:
    向所述游戏进程提供所述预设程序的磁盘路径;Providing the game process with a disk path of the preset program;
    按照所述磁盘路径在所述游戏进程中加载所述预设程序。The preset program is loaded in the game process according to the disk path.
  5. 如权利要求1所述的方法,其特征在于,基于所述游戏参与信息控制所述游戏,包括:The method of claim 1, wherein controlling the game based on the game participation information comprises:
    基于所述游戏参与信息确定所述游戏参与信息需要调用的所述游戏的游戏函数;Determining, based on the game participation information, a game function of the game that the game participation information needs to invoke;
    调用并执行所述游戏函数,以控制所述游戏。The game function is called and executed to control the game.
  6. 如权利要求1所述的方法,其特征在于,所述游戏函数具体为所述游戏中任一游戏角色的技能函数。The method of claim 1 wherein said game function is specifically a skill function of any of the game characters in said game.
  7. 一种控制游戏的装置,其特征在于,包括: A device for controlling a game, comprising:
    接收模块,用于在主播端设备进行游戏直播时,接收网络直播服务器发送的用于参与所述游戏的游戏参与信息;所述游戏运行在所述主播端设备中,所述游戏参与信息由接收直播的观看端设备发送给所述网络直播服务器;a receiving module, configured to receive game participation information sent by the webcast server for participating in the game when the host device is playing a live game; the game runs in the anchor device, and the game participation information is received by The live view device is sent to the webcast server;
    发送模块,用于将所述游戏参与信息发送给所述游戏;a sending module, configured to send the game participation information to the game;
    控制模块,用于基于所述游戏参与信息控制所述游戏。And a control module, configured to control the game based on the game participation information.
  8. 如权利要求7所述的装置,其特征在于,所述直播对应的进程为直播进程,所述游戏对应的进程为游戏进程,所述发送模块包括:The device according to claim 7, wherein the process corresponding to the live broadcast is a live broadcast process, and the process corresponding to the game is a game process, and the sending module includes:
    构建单元,用于在所述直播进程与所述游戏进程之间构建命名管道;a building unit, configured to construct a named pipe between the live broadcast process and the game process;
    发送单元,用于通过所述命名管道将所述游戏参与信息从所述直播进程发送到所述游戏进程。And a sending unit, configured to send the game participation information from the live broadcast process to the game process by using the named pipe.
  9. 如权利要求8所述的装置,其特征在于,所述构建单元用于在所述直播进程中创建所述命名管道的服务端;所述服务端为发送所述游戏参与信息的一端;在所述游戏进程中注入用于加载所述命名管道的客户端的预设程序;所述客户端为接收所述游戏参与信息的一端;运行所述预设程序,以在所述游戏进程中加载所述客户端,所述客户端将连接所述服务端。The device according to claim 8, wherein the building unit is configured to create a server of the named pipe in the live broadcast process; the server is a terminal for transmitting the game participation information; a preset program for loading a client for loading the named pipe in the game process; the client is an end receiving the game participation information; running the preset program to load the game process Client, the client will connect to the server.
  10. 如权利要求9所述的装置,其特征在于,所述构建单元用于向所述游戏进程提供所述预设程序的磁盘路径;按照所述磁盘路径在所述游戏进程中加载所述预设程序。 The apparatus according to claim 9, wherein said building unit is configured to provide a disk path of said preset program to said game process; said preset is loaded in said game process according to said disk path program.
PCT/CN2017/082733 2017-03-31 2017-05-02 Game control method and device WO2018176559A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710206427.0A CN107018191B (en) 2017-03-31 2017-03-31 Method and device for controlling game
CN201710206427.0 2017-03-31

Publications (1)

Publication Number Publication Date
WO2018176559A1 true WO2018176559A1 (en) 2018-10-04

Family

ID=59444893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082733 WO2018176559A1 (en) 2017-03-31 2017-05-02 Game control method and device

Country Status (2)

Country Link
CN (1) CN107018191B (en)
WO (1) WO2018176559A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021128981A1 (en) * 2019-12-25 2021-07-01 厦门雅基软件有限公司 Livestreaming interaction method and apparatus, electronic device, and computer readable storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321229A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of game assisted method, terminal and computer readable storage medium
CN109173272A (en) * 2018-08-06 2019-01-11 广州华多网络科技有限公司 Game interaction method, system, server and device based on live streaming
CN109224456B (en) * 2018-08-06 2022-05-27 广州方硅信息技术有限公司 Live broadcast room game team forming method, live broadcast-based game interaction system and server
CN110881144B (en) * 2018-09-05 2022-06-21 武汉斗鱼网络科技有限公司 Data processing method based on live broadcast platform and related equipment
CN109275040B (en) * 2018-11-06 2021-02-19 网易(杭州)网络有限公司 Interaction method, device and system based on live game
CN109348248B (en) * 2018-11-27 2021-09-03 网易(杭州)网络有限公司 Data processing method, system and device for live game
CN110418151B (en) * 2019-07-24 2021-09-24 网易(杭州)网络有限公司 Bullet screen information sending and processing method, device, equipment and medium in live game
CN111491214A (en) * 2020-04-09 2020-08-04 网易(杭州)网络有限公司 Live broadcast interaction method and system based on cloud game, electronic device and storage medium
CN111790144B (en) * 2020-07-03 2024-06-25 珠海金山数字网络科技有限公司 Game method and device based on live broadcast interface and game live broadcast interaction system
CN112619165A (en) * 2020-12-18 2021-04-09 咪咕互动娱乐有限公司 Game user selection method, system, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168271A (en) * 2014-08-01 2014-11-26 广州华多网络科技有限公司 Interactive system, server, clients and interactive method
WO2016078189A1 (en) * 2014-11-21 2016-05-26 广州华多网络科技有限公司 Interaction method and related device, system based on video living broadcast
CN105797373A (en) * 2016-05-24 2016-07-27 武汉斗鱼网络科技有限公司 Method and device for controlling game operation skill by utilizing pop-up screen
CN106303586A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001239066A (en) * 2000-03-01 2001-09-04 Casio Comput Co Ltd Network game system, distributing method of network game, and method of participating in network game
US20040187148A1 (en) * 2003-03-19 2004-09-23 Anthony Cassella Methods and computer program for multimedia interaction
CN106528096B (en) * 2016-10-20 2020-02-07 武汉斗鱼网络科技有限公司 Method and system for drawing bullet screen image on D3D12 full-screen game source

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168271A (en) * 2014-08-01 2014-11-26 广州华多网络科技有限公司 Interactive system, server, clients and interactive method
WO2016078189A1 (en) * 2014-11-21 2016-05-26 广州华多网络科技有限公司 Interaction method and related device, system based on video living broadcast
CN105797373A (en) * 2016-05-24 2016-07-27 武汉斗鱼网络科技有限公司 Method and device for controlling game operation skill by utilizing pop-up screen
CN106303586A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"If the Audience Can Also Participate in a Game During Game Live Broadcast", WHAT WILL THE GAME BE DESIGNED?, 29 September 2016 (2016-09-29), pages 1, Retrieved from the Internet <URL:http://www.chuapp.com/2016/09/29/270438.html.> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021128981A1 (en) * 2019-12-25 2021-07-01 厦门雅基软件有限公司 Livestreaming interaction method and apparatus, electronic device, and computer readable storage medium

Also Published As

Publication number Publication date
CN107018191A (en) 2017-08-04
CN107018191B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
WO2018176559A1 (en) Game control method and device
WO2018201855A1 (en) Method and device for forming gaming team
US11684849B2 (en) Distributed sample-based game profiling with game metadata and metrics and gaming API platform supporting third-party content
CN108174248B (en) Video playing method, video playing control device and storage medium
RU2631137C2 (en) Connection of devices
US10368121B2 (en) System and method for collecting data
US20220174346A1 (en) Video playing method and apparatus
US20050246638A1 (en) Presenting in-game tips on a video game system
US9875150B2 (en) Method and system for processing notifications amongst applications of a data processing system
US20080196038A1 (en) Utilizing a first managed process to host at least a second managed process
US20140257923A1 (en) Video aware pages
US20230405455A1 (en) Method and apparatus for processing cloud gaming resource data, computer device, and storage medium
JP2017073136A (en) Method and system for extending function of message in communication session
CN111625353B (en) Virtual resource distribution processing method, device, server and storage medium
CN107426598B (en) Bullet screen information processing method and injection module
WO2024066828A1 (en) Data processing method and apparatus, and device, computer-readable storage medium and computer program product
CN115955590A (en) Video processing method, video processing device, computer equipment and medium
CN108140037B (en) Pre-instantiating native applications in the background
JP2013246384A (en) Content providing system and client terminal
CN108449643B (en) Cross-application control method and device
US11790021B2 (en) Interactive media network system
CN117270987A (en) Application starting method and device, electronic equipment and computer readable storage medium
KR102427882B1 (en) System and method for real-time video sharing for online interactions
WO2023157618A1 (en) Replay system, processing method, and replay program
AU2020104439A4 (en) Method and system for providing instant messaging applications with broadcasting functionality

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

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

Country of ref document: EP

Kind code of ref document: A1