CN107426598B - Bullet screen information processing method and injection module - Google Patents

Bullet screen information processing method and injection module Download PDF

Info

Publication number
CN107426598B
CN107426598B CN201710120824.6A CN201710120824A CN107426598B CN 107426598 B CN107426598 B CN 107426598B CN 201710120824 A CN201710120824 A CN 201710120824A CN 107426598 B CN107426598 B CN 107426598B
Authority
CN
China
Prior art keywords
bullet screen
information
chat channel
calling
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710120824.6A
Other languages
Chinese (zh)
Other versions
CN107426598A (en
Inventor
周志刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710120824.6A priority Critical patent/CN107426598B/en
Publication of CN107426598A publication Critical patent/CN107426598A/en
Application granted granted Critical
Publication of CN107426598B publication Critical patent/CN107426598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • 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/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The invention provides a bullet screen information processing method and an injection module, wherein the method comprises the steps of acquiring bullet screen information received by a live broadcast process; and calling a control rule corresponding to the chat channel to process the bullet screen information so as to display the bullet screen information in the chat channel, wherein the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool. According to the method and the device, the barrage information is obtained and is controlled to be displayed in the chat channel according to the control rule corresponding to the chat channel of the game process, so that the chat interaction between a barrage sender and a game player is realized, and the live broadcast watching experience of audiences is improved.

Description

Bullet screen information processing method and injection module
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a bullet screen information processing method and an injection module.
Background
Currently, with the progress of network communication technology and the speed increase of broadband networks, live webcasts are increasingly developed and applied.
Especially in the live field of recreation, more and more audiences can watch the live broadcast of the game anchor, simultaneously along with the development of barrage for the live broadcast has better interdynamic and interest. For live game, the anchor can explain the playing method of the game while playing the game; for the audience, the barrage can be watched and sent, but the barrage cannot participate in the game process and chat in the game.
The audience's barrage cannot be displayed within the game, resulting in less interaction between the anchor and the audience, and a poor experience of the audience watching the live broadcast.
Disclosure of Invention
The present invention provides a bullet screen information processing method and an injection module that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a bullet screen information processing method, the method including: the method comprises the following steps:
acquiring bullet screen information received by a live broadcast process;
and calling a control rule corresponding to the chat channel to process the bullet screen information so as to display the bullet screen information in the chat channel, wherein the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool.
Before the acquiring the barrage information received by the live broadcast process, the method further includes:
and establishing communication connection with a communication port corresponding to the live broadcast process.
Wherein, the establishing communication connection with the communication port corresponding to the live broadcast process includes:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment. After obtaining the barrage information received by the live broadcast process and before calling the control rule corresponding to the chat channel to process the barrage information, the method further comprises:
and filtering all acquired bullet screen information based on preset bullet screen filtering conditions.
Wherein, the control rule that chat channel corresponds is for debugging according to the dynamic debugging instrument of presetting, includes:
and debugging according to a preset dynamic debugging tool to obtain a calling mode and a calling parameter of the control rule corresponding to the chat channel.
Wherein, the calling the control rule corresponding to the chat channel to process the barrage information so as to display the barrage information in the chat channel comprises:
analyzing the bullet screen information to obtain the parameter information of the bullet screen information, wherein the parameter information comprises: the method comprises the following steps of (1) carrying out bullet screen text color information, bullet screen chat content information and bullet screen sender information;
calling parameter information of the barrage information based on calling parameters of the control rules corresponding to the chat channels to obtain target barrage information which accords with chat channel display;
and calling the target bullet screen information based on a calling mode of a control rule corresponding to the chat channel, and controlling the target bullet screen information to be displayed in the chat channel.
According to another aspect of the present invention, there is provided an injection module comprising:
the acquisition submodule is used for acquiring barrage information received by a live broadcast process;
and the processing submodule is used for calling a control rule corresponding to the chat channel to process the bullet screen information so as to display the bullet screen information in the chat channel, and the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool.
Wherein the injection module further comprises:
and the connection submodule is used for establishing communication connection with the communication port corresponding to the live broadcast process.
Wherein the connection sub-module is specifically configured to:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment.
Wherein the injection module further comprises:
and the filtering submodule is used for filtering all the acquired bullet screen information based on preset bullet screen filtering conditions.
The invention provides a bullet screen information processing method and an injection module, which are used for controlling bullet screen information to be displayed in a chat channel by acquiring bullet screen information and according to a control rule corresponding to the chat channel of a game process, so that the chat interaction between a bullet screen sender and a game player is realized, and the live broadcast watching experience of audiences is improved.
Drawings
Fig. 1 is a flowchart of a bullet screen information processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an injection module according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a bullet screen information processing method provided in an embodiment of the present invention, where the method includes:
s1, acquiring barrage information received by the live broadcast process;
and S2, calling a control rule corresponding to the chat channel to process the barrage information so as to display the barrage information in the chat channel, wherein the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool.
It should be noted that, in the embodiment of the present invention, the main execution body of the method is to inject the injection module in the game process in advance, but the present invention is not limited to this specifically, and the injection module is taken as an example in the following embodiments.
The injection module pre-injected into the game process creates a remote thread in the game process through a Windows system API function createRemoteThread, and loads the injection module to be injected into the game process by calling a system function L oad L ibrary through the created remote thread, and the specific implementation is as follows:
allocating memory in the memory space of the target process through a Windows API function VirtualAllocEx function;
writing the disk path of the injection module which is written by the user and needs to be injected into the allocated memory through a Windows API function Writeprocessmemory;
the method comprises the steps of calling a Windows API function CreateRemoteThread function to create a thread in a target process, calling a Windows API function L oad L ibrary to load a disk path of an injection module written in a target process space by the execution logic of the thread, so that the purpose of starting the thread in the target process and loading the injection module through the thread is achieved, and the purpose of injecting the injection module into the target process is achieved.
The game process is any game software running process which is opened, and the game type is not limited.
In S1, the live broadcast process is an opened software running process with a bullet screen receiving function.
In S2, the preset dynamic debugging tool generally adopts a dynamic debugging tool WinDbg provided by Windows, and the specific operation mode is that the chat content sent by the function can be found out through further debugging and tracking for many times by sending a piece of chat content in the network information package sending function at the bottom layer and then checking the calling stack information of the network package sending function, and finally the chat function called by the chat channel in the game process, the calling mode and calling parameter of the chat function are reversely analyzed.
It can be understood that the control rule corresponding to the chat channel is specifically a chat function that is called by the chat channel in the embodiment of the present invention.
Specifically, in the game live broadcast, for a main broadcast end, live broadcast software and a specific game are simultaneously opened, and when the main broadcast plays the game, a live broadcast process corresponding to the live broadcast software acquires the content of the game and pushes the content to a server of the live broadcast software through a network; and the audience selects the live broadcast content pushed by the main broadcast through the server of the live broadcast software to play the video. In the live broadcast process, the live broadcast process corresponding to the live broadcast software receives all barrage information sent by the audience.
After the injection module is added to a game being live broadcast by a main broadcast, the injection module acquires bullet screen information received by a live broadcast process, and it should be noted that the acquired bullet screen information is controllable in quantity and can be one or more pieces of information in all bullet screen information received by the live broadcast process.
The dynamic debugging tool WinDbg dynamically debugs the game process to obtain the chat function called by the chat channel, the calling mode and calling parameters of the chat function. For example: after the game process is dynamically debugged by WinDbg, the Chat function called by the Chat channel is acquired as a Chat function, the use rule of the Chat function is acquired as that the call command is used for calling the Chat function, and three parameter values of dwChatColor, dwChatMs and dwUsername are acquired in the call process of the Chat function, and the corresponding three parameter values represent color information of characters of the Chat, content information of the Chat and sender information of the Chat.
For example: the content of the barrage information is a message 'hello' which is sent by Zhang III and is marked with red, after the message is obtained, three parameter values of dwChatColor, dwChatMs and dwUsername are changed, dwChatColor is set to be red, dwChatMs is set to be 'hello' and dwUsername is set to Zhang III, and a call instruction is used for calling a Chat function, so that the barrage message is displayed in a Chat channel of the game.
According to the embodiment of the invention, the injection module is added in the game process, and the injection module acquires the barrage information and controls the barrage information to be displayed in the chat channel according to the control rule corresponding to the chat channel of the game process, so that the chat interaction between a barrage sender and a game player is realized, and the live broadcast watching experience of audiences is improved.
On the basis of the embodiment shown in fig. 1, before the acquiring the barrage information received by the live broadcasting process, the method further includes:
and establishing communication connection with a communication port corresponding to the live broadcast process.
Specifically, the injection module and the live broadcast process are both provided with communication ports for communication connection, when communication connection is needed, the injection module can send a communication connection instruction, after the communication port corresponding to the live broadcast process receives the communication connection instruction, communication connection feedback is made, and after the injection module receives feedback information sent by the communication port corresponding to the live broadcast process, the communication connection is established.
According to the embodiment of the invention, the data interaction between the live broadcast process and the injection module is realized by establishing the communication connection through the port corresponding to the injection module and the live broadcast process, and the injection module can quickly acquire the required bullet screen information from the live broadcast process.
On the basis of the above embodiment, the establishing a communication connection with the communication port corresponding to the live broadcast process includes:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment.
The embodiment of the present invention establishes the communication connection by constructing a named pipe, but not limited to this manner, the named pipe is an inter-process communication mechanism, and can support reliable, unidirectional or bidirectional data communication between different processes of the same computer or between different processes of different computers across a network. And the named pipeline completes the communication among the processes through the network, shields the details of the bottom-layer network protocol, and only needs to be connected through the corresponding communication port in the process.
Specifically, a named pipeline is built in the injection module, the injection module is used as a client to send a communication connection request through the named pipeline, and a response of a server is waited to establish communication connection. For example: calling a Windows API function CreateNamedPipe to create a named pipeline, calling the named pipeline as pipe, wherein the name of the named pipeline can be set at will as long as the named pipeline is not renamed with the pipeline of other processes of the system, calling a function WaitNamedPipe to wait for the response of a server, and completing the establishment of communication connection if an injection module receives the communication connection response of the live broadcast process through the named pipeline, namely calling a function ReadFile to read data sent by the live broadcast process.
The embodiment of the invention realizes the data communication between the injection module and the live broadcast process by constructing the named pipeline, shields the underlying network protocol, and can directly and conveniently acquire the barrage information sent by the live broadcast process.
On the basis of the embodiment shown in fig. 1, after acquiring the barrage information received by the live broadcast process, before calling the control rule corresponding to the chat channel to process the barrage information, the method further includes:
and filtering all acquired bullet screen information based on preset bullet screen filtering conditions.
The preset bullet screen filtering condition is freely set according to the requirement of live webcast, for example, filtering is performed according to the user live platform level of a bullet screen sender or filtering is performed according to the selection of a webcast, and the preset bullet screen filtering condition is not limited in the invention.
For example: the anchor can select the barrage of a certain live audience to display, and the injection module filters all the barrages of the live audience from all the acquired barrage information according to the selection of the anchor; or the user live broadcast platform grade of the bullet screen sender is set to be larger than 10 grade, the bullet screen can be displayed in the game, and then the injection module filters bullet screen information meeting the condition according to the filtering condition.
According to the embodiment of the invention, the barrage is screened by presetting barrage filtering conditions, so that the interactivity between audiences and the anchor is enhanced, and the user experience of a high-level user is further improved.
On the basis of the embodiment shown in fig. 1, the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool, and includes:
and debugging according to a preset dynamic debugging tool to obtain a calling mode and a calling parameter of the control rule corresponding to the chat channel.
And acquiring the calling mode and calling parameters of the control rule according to a disassembling mode. Since the codes in the game process are stored in the memory of the game process in the form of assembly language, the codes stored in the memory need to be disassembled to obtain the calling mode and calling parameters of the control rule corresponding to the chat channel.
Specifically, the chat function calling mode of the game process is obtained by analyzing codes stored in the memory of the game process in a disassembling mode
__asm
{
push dwChatColor
push dwChatMsg
push dwUsername
mov ecx,dwSocketThis
call dwSendMsg
}
Wherein dwChatColor, dwChatMs and dwUsername are calling parameters of the chat function of the game process.
According to the embodiment of the invention, the assembly codes stored in the game process memory are analyzed in a disassembling mode, and the calling mode and the calling parameter of the control rule corresponding to the chat channel in the game process are obtained, so that the debugging mode is more transparent, and the debugging limit is reduced.
On the basis of the above embodiment, the invoking a control rule corresponding to the chat channel to process the barrage information so that the barrage information is displayed in the chat channel includes:
analyzing the bullet screen information to obtain the parameter information of the bullet screen information, wherein the parameter information comprises: the method comprises the following steps of (1) carrying out bullet screen text color information, bullet screen chat content information and bullet screen sender information;
calling parameter information of the barrage information based on calling parameters of the control rules corresponding to the chat channels to obtain target barrage information which accords with chat channel display;
and calling the target bullet screen information based on a calling mode of a control rule corresponding to the chat channel, and controlling the target bullet screen information to be displayed in the chat channel.
Specifically, it is assumed that the content of one bullet screen received by the live broadcast process obtained by the injection module is "zhang san: 1 hello ", the injection module can analyze the bullet screen information, the color information of the characters of the bullet screen is 1, the content information of the bullet screen chat is hello, and the sender of the bullet screen is Zhang III. It should be noted that, the color information of the characters in the bullet screen information received by the live broadcast process is processed according to the preset digital identifier of the live broadcast process, such as: the preset character color information corresponding to the numerical identifier is that the identifier "1" corresponds to white, the identifier "2" corresponds to red, and the identifier "3" corresponds to blue.
Then based on calling parameters dwChatColor, dwChatMs and dwUsername of the control rule corresponding to the chat channel, calling the color information of the text of the barrage to be 1, the content information of the barrage chat to be hello, and the sender of the barrage to be Zhang III, specifically as follows:
dwChatColor=1
dwChatMsg ═ hello "
dwUsername ═ zhangsan "
And finally, calling the target bullet screen information based on a calling mode of a control rule corresponding to the chat channel, and controlling the target bullet screen information to be displayed in the chat channel. The method specifically comprises the following steps:
__asm
{
push dwChatColor
push dwChatMsg
push dwUsername
mov ecx,dwSocketThis
call dwSendMsg
}
and after the target bullet screen information is called, the bullet screen information can be displayed in a chat channel of the game.
According to the embodiment of the invention, the barrage information is displayed on the chat channel by analyzing the parameters in the acquired barrage information and calling the chat channel function in the existing game process, so that the live broadcast watching experience of audiences is improved.
Fig. 2 is an injection module according to an embodiment of the present invention, which includes: an acquisition submodule 1 and a processing submodule 2.
The acquisition submodule 1 is used for acquiring barrage information received by a live broadcast process;
the processing submodule 2 is configured to invoke a control rule corresponding to the chat channel to process the barrage information, so that the barrage information is displayed in the chat channel, and the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool.
The injection module creates a remote thread in the game process through the Windows system API function CreateRemoteThread, and loads the injection module to be injected into the game process by calling the system function L oad L ibrary through the created remote thread, and the specific implementation is as follows:
allocating memory in the memory space of the target process through a Windows API function VirtualAllocEx function;
writing the disk path of the injection module which is written by the user and needs to be injected into the allocated memory through a Windows API function Writeprocessmemory;
the method comprises the steps of calling a Windows API function CreateRemoteThread function to create a thread in a target process, calling a Windows API function L oad L ibrary to load a disk path of an injection module written in a target process space by the execution logic of the thread, so that the purpose of starting the thread in the target process and loading the injection module through the thread is achieved, and the purpose of injecting the injection module into the target process is achieved.
It should be noted that the injection module is only a specific implementation manner of the bullet screen processing method according to the embodiment of the present invention, and the implementation manner is not limited in the embodiment of the present invention.
The specific method for processing the bullet screen by the injection module refers to the embodiment described in fig. 1, and is not described herein again.
According to the embodiment of the invention, the injection module is added in the game process, the acquisition submodule of the injection module acquires the barrage information and controls the barrage information to be displayed in the chat channel according to the control rule corresponding to the chat channel of the game process, so that the chat interaction between a barrage sender and a game player is realized, and the live broadcast watching experience of audiences is improved.
On the basis of the embodiment shown in fig. 2, the injection module further includes:
and the connection submodule is used for establishing communication connection with the communication port corresponding to the live broadcast process.
Specifically, communication ports of communication connection are arranged in a connection submodule of the injection module and a live broadcast process, when communication connection is needed, the connection submodule of the injection module can send a communication connection instruction, communication connection feedback is made after the communication port corresponding to the live broadcast process receives the communication connection instruction, and after the connection submodule of the injection module receives feedback information sent by the communication port corresponding to the live broadcast process, communication connection establishment is completed.
According to the embodiment of the invention, the data interaction between the live broadcast process and the injection module is realized by using the connection sub-module of the injection module and the communication connection established between the ports corresponding to the live broadcast process, and the injection module can quickly acquire the required bullet screen information from the live broadcast process.
On the basis of the above embodiment, the connection sub-module is specifically configured to:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment.
Specifically, a named pipeline is built in the injection module, the injection module is used as a client to send a communication connection request through the named pipeline, and a response of a server is waited to establish communication connection. The actual operation method can be seen in the above embodiments, and is not described herein again.
The embodiment of the invention realizes the data communication between the injection module and the live broadcast process by constructing the named pipeline, shields the underlying network protocol, and can directly and conveniently acquire the barrage information sent by the live broadcast process.
On the basis of the embodiment shown in fig. 2, the injection module further includes:
and the filtering submodule is used for filtering all the acquired bullet screen information based on preset bullet screen filtering conditions.
The preset bullet screen filtering condition is that the filtering submodule is freely set according to the requirement of the network live broadcast, for example, filtering is performed according to the user live broadcast platform level of a bullet screen sender or filtering is performed according to the selection of a network anchor, and the filtering condition is not limited in the invention.
According to the embodiment of the invention, the bullet screen filtering conditions are preset by the filtering submodule, and the bullet screen is screened, so that the interactivity between audiences and a main broadcast is enhanced, and the user experience of a high-level user is further improved.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A bullet screen information processing method is characterized by comprising the following steps:
the method comprises the steps that an injection module obtains bullet screen information received by a live broadcast process;
the method comprises the steps that an injection module calls a control rule corresponding to a chat channel to process bullet screen information so that the bullet screen information is displayed in the chat channel, the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool, the injection module creates a remote thread in a game process through a Windows system API function createremotetraction, and then calls a system function L oad L ibrary through the created remote thread to load an injection module needing to be injected into the game process;
before the acquiring the barrage information received by the live broadcast process, the method further includes:
a connection submodule in the injection module establishes communication connection with a communication port corresponding to the live broadcast process;
the injection module calls a control rule corresponding to the chat channel to process the barrage information, and the method specifically comprises the following steps:
analyzing the bullet screen information to obtain the parameter information of the bullet screen information, wherein the parameter information comprises: the method comprises the following steps of (1) carrying out bullet screen text color information, bullet screen chat content information and bullet screen sender information; and calling the bullet screen information based on the calling mode of the control rule corresponding to the chat channel, and controlling the bullet screen information to be displayed in the chat channel.
2. The method of claim 1, wherein a communication port corresponding to the live process establishes a communication connection, and further comprising:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment.
3. The method of claim 1, wherein after the barrage information received by the live process is obtained, and before the barrage information is processed by invoking the control rule corresponding to the chat channel, the method further comprises:
and filtering all acquired bullet screen information based on preset bullet screen filtering conditions.
4. The method of claim 1, wherein the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool, and the method comprises:
and debugging according to a preset dynamic debugging tool to obtain a calling mode and a calling parameter of the control rule corresponding to the chat channel.
5. The method of claim 4, wherein the invoking of the control rule corresponding to the chat channel to process the barrage information so that the barrage information is displayed in the chat channel comprises:
analyzing the bullet screen information to obtain the parameter information of the bullet screen information, wherein the parameter information comprises: the method comprises the following steps of (1) carrying out bullet screen text color information, bullet screen chat content information and bullet screen sender information;
calling parameter information of the barrage information based on calling parameters of the control rules corresponding to the chat channels to obtain target barrage information which accords with chat channel display;
and calling the target bullet screen information based on a calling mode of a control rule corresponding to the chat channel, and controlling the target bullet screen information to be displayed in the chat channel.
6. An infusion module, comprising:
the acquisition submodule is used for acquiring barrage information received by a live broadcast process;
the processing submodule is used for calling a control rule corresponding to a chat channel to process the bullet screen information so as to display the bullet screen information in the chat channel, the control rule corresponding to the chat channel is obtained by debugging according to a preset dynamic debugging tool, the injection module is used for creating a remote thread in a game process through a Windows system API function createRemoteThread and then calling a system function L oad L by the created remote thread to load an injection module which needs to be injected into the game process;
the connection submodule is used for establishing communication connection with a communication port corresponding to the live broadcast process;
the calling of the control rule corresponding to the chat channel to process the barrage information specifically comprises the following steps:
analyzing the bullet screen information to obtain the parameter information of the bullet screen information, wherein the parameter information comprises: the method comprises the following steps of (1) carrying out bullet screen text color information, bullet screen chat content information and bullet screen sender information; and calling the bullet screen information based on the calling mode of the control rule corresponding to the chat channel, and controlling the bullet screen information to be displayed in the chat channel.
7. The infusion module of claim 6, wherein the connection sub-module is specifically configured to:
sending out a request for establishing communication connection;
and after receiving a communication connection establishment response of the live broadcast process, completing communication connection establishment.
8. The infusion module of claim 6, further comprising:
and the filtering submodule is used for filtering all the acquired bullet screen information based on preset bullet screen filtering conditions.
CN201710120824.6A 2017-03-02 2017-03-02 Bullet screen information processing method and injection module Active CN107426598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710120824.6A CN107426598B (en) 2017-03-02 2017-03-02 Bullet screen information processing method and injection module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710120824.6A CN107426598B (en) 2017-03-02 2017-03-02 Bullet screen information processing method and injection module

Publications (2)

Publication Number Publication Date
CN107426598A CN107426598A (en) 2017-12-01
CN107426598B true CN107426598B (en) 2020-07-31

Family

ID=60423087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710120824.6A Active CN107426598B (en) 2017-03-02 2017-03-02 Bullet screen information processing method and injection module

Country Status (1)

Country Link
CN (1) CN107426598B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6615168B2 (en) * 2017-11-30 2019-12-04 株式会社ドワンゴ Intervention server and intervention program
CN108536492B (en) * 2018-04-08 2021-09-07 武汉斗鱼网络科技有限公司 Method, device, equipment and storage medium for acquiring attribute information of live broadcast room
CN109413502B (en) * 2018-09-29 2021-04-27 武汉斗鱼网络科技有限公司 Multithreading barrage message distribution method, device, equipment and storage medium
CN111585869B (en) * 2020-04-29 2022-09-16 上海掌门科技有限公司 Barrage presentation method and device for instant message
CN111669608B (en) * 2020-05-12 2022-07-12 广东茉莉数字科技集团股份有限公司 Cosmetic display device and method supporting user multimedia feedback

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295280A (en) * 2008-06-18 2008-10-29 腾讯科技(深圳)有限公司 Automatic software debugging method and system
CN102905170A (en) * 2012-10-08 2013-01-30 北京导视互动网络技术有限公司 Screen popping method and system for video
CN105847932A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Pop-up information display method, device and system
CN106170323A (en) * 2014-04-01 2016-11-30 交互数字专利控股公司 Obtain and deliver to player the personalized reviews of game on line onlooker

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295280A (en) * 2008-06-18 2008-10-29 腾讯科技(深圳)有限公司 Automatic software debugging method and system
CN102905170A (en) * 2012-10-08 2013-01-30 北京导视互动网络技术有限公司 Screen popping method and system for video
CN106170323A (en) * 2014-04-01 2016-11-30 交互数字专利控股公司 Obtain and deliver to player the personalized reviews of game on line onlooker
CN105847932A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Pop-up information display method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
主播弹幕助手功能与使用说明;c_show;《CC直播》;20160809;第1页 *

Also Published As

Publication number Publication date
CN107426598A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107426598B (en) Bullet screen information processing method and injection module
US11659230B2 (en) Passive data collection from third-party channel applications
CN107281756B (en) Team game method and device
CN108900854B (en) Live broadcast microphone room switching method, storage medium, equipment and system
US9049478B2 (en) System and method for implementing a dynamic media link
CN102572606B (en) Streaming digital content with flexible remote playback
WO2020200302A1 (en) Live broadcast method and apparatus, and computer device and storage medium
CN107018191B (en) Method and device for controlling game
CN103765912A (en) Reception device, reception method, program, and information processing system
US10204439B2 (en) Digital device and speech to text conversion processing method thereof
MX2012014279A (en) Scripted access to hidden multimedia assets.
WO2021012665A1 (en) Interactive audio and video playing method and apparatus
US11711589B2 (en) Method and apparatus for peripheral context management
CN104539977A (en) Live broadcast previewing method and device
US10063923B2 (en) Digital device and control method thereof
CN111478930B (en) STB cloud method, system, thin STB, virtual STB, platform and storage medium
WO2017193678A1 (en) Device control method and apparatus, and device control system
US10289428B2 (en) Digital device and method of processing screensaver thereof
CN103514924B (en) The method of video, device and player is play in mobile terminal widget Widget
US20080124041A1 (en) Adding video effects for video enabled applications
CN107172445B (en) Method and device for acquiring data
CN108260019A (en) Barrage display methods, device and readable storage medium storing program for executing
CN105791971A (en) Method and device for switching stream media audios
US11936928B2 (en) Method, system and device for sharing contents
CN104376009A (en) Microblog page enriching method, system and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant