CN108449643B - Cross-application control method and device - Google Patents

Cross-application control method and device Download PDF

Info

Publication number
CN108449643B
CN108449643B CN201710083879.4A CN201710083879A CN108449643B CN 108449643 B CN108449643 B CN 108449643B CN 201710083879 A CN201710083879 A CN 201710083879A CN 108449643 B CN108449643 B CN 108449643B
Authority
CN
China
Prior art keywords
application
control information
information
bullet screen
control
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
CN201710083879.4A
Other languages
Chinese (zh)
Other versions
CN108449643A (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 CN201710083879.4A priority Critical patent/CN108449643B/en
Priority to PCT/CN2017/107853 priority patent/WO2018149170A1/en
Publication of CN108449643A publication Critical patent/CN108449643A/en
Application granted granted Critical
Publication of CN108449643B publication Critical patent/CN108449643B/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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • 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
    • 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/488Data services, e.g. news ticker
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a cross-application control method, which is applied to a main broadcasting end and comprises the following steps: acquiring bullet screen information sent by a target user in a first application; extracting control information from the bullet screen information according to a preset extraction rule; sending the control information to a second application, wherein the second application and the first application both run on the anchor terminal; and controlling the target object displayed in the second application to execute the action corresponding to the control information. The method and the device provided by the application can solve the technical problems of single audience experience form and poor experience effect of live games in the prior art. The method and the device have the advantages that the experience form of the live game audience is increased, and the technical effect of the experience effect is enhanced.

Description

Cross-application control method and device
Technical Field
The invention relates to the technical field of computers, in particular to a cross-application control method and device.
Background
Currently, with the progress of network communication technology and the speed increase of broadband networks, live webcasts are increasingly developed and applied. Simultaneously, with the development of the bullet screen, the live broadcast has better interaction and interestingness. Especially in the field of live games, more and more viewers watch the live broadcast of the game anchor.
In the live game, for the anchor end, live broadcast software and specific games are opened at the same time, and when the anchor plays games, the live broadcast software acquires the game contents and pushes the contents to a server of a live broadcast website through a network. And the audience pulls the live broadcast content pushed by the anchor broadcast through a server of the live broadcast website to play the video. For live game, a main player explains the playing method of the game while playing the game, and for audiences, the main player can only watch and send a bullet screen, cannot participate in the process of the game, cannot control the game, and cannot feel the functional experience of the game.
Therefore, the technical problems of single audience experience form and poor experience effect exist in the live game in the prior art.
Disclosure of Invention
The invention provides a cross-application control method and device, which are used for solving the technical problems of single audience experience form and poor experience effect of live game in the prior art.
In a first aspect, the present invention provides a cross-application control method, which is applied to a host, and includes:
acquiring bullet screen information sent by a target user in a first application;
extracting control information from the bullet screen information according to a preset extraction rule;
sending the control information to a second application, wherein the second application and the first application both run on the anchor terminal;
and controlling the target object displayed in the second application to execute the action corresponding to the control information.
Optionally, the control information is information for controlling a moving direction; the controlling the target object displayed in the second application to execute the action corresponding to the control information includes: and controlling the target object to move along the direction represented by the control information.
Optionally, the first application is a live application, the second application is a game application, and an image or a video displayed in the second application is sent to a viewer side connected to the anchor side through the first application.
Optionally, before the obtaining of the bullet screen information sent by the target user in the first application, the method includes: receiving a selection operation acting on the anchor terminal; and determining the target user from a user group connected with the anchor terminal based on the selection operation.
Optionally, the obtaining of the bullet screen information sent by the target user in the first application includes: acquiring a bullet screen information group sent by a user group connected with the anchor terminal; and filtering the bullet screen information sent by the target user from the bullet screen information group.
Optionally, the extracting, according to a preset extraction rule, control information from the bullet screen information includes: extracting keywords from the bullet screen information according to preset corresponding information of the keywords and the control information; and determining the control information corresponding to the key words according to the key words and the corresponding information.
Optionally, the sending the control information to the second application includes: and injecting the control information into an injection module through a named pipeline preset in the first application, wherein the injection module is a module which is written in advance and injected into the second application.
Optionally, the controlling the target object displayed in the second application to execute the action corresponding to the control information includes: and calling a control function through the injection module to control the target object to execute the action corresponding to the control information, wherein the control function is obtained by the injection module from the second application through reverse analysis.
In a second aspect, there is provided a cross-application control apparatus, the apparatus being an anchor terminal, including:
the acquisition module is used for acquiring barrage information sent by a target user in the first application;
the extraction module is used for extracting control information from the bullet screen information according to a preset extraction rule;
a sending module, configured to send the control information to a second application, where the second application and the first application both run on the anchor terminal;
and the control module is used for controlling the target object displayed in the second application to execute the action corresponding to the control information.
Optionally, the control information is information for controlling a moving direction; the control module is further configured to: and controlling the target object to move along the direction represented by the control information.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
according to the method and the device provided by the embodiment of the application, the barrage information of the target user is obtained in the first application, the control information in the barrage information is extracted, and the target object of the second application is controlled to act, so that the appointed live broadcast audience can cross the target object in the game application of the anchor end to execute corresponding action by sending the barrage to the anchor end, the experience form of the live broadcast audience is increased, and the experience effect is enhanced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a cross-application control method in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a cross-application control device according to an embodiment of the present invention.
Detailed Description
The cross-application control method and device solve the technical problems of single audience experience form and poor experience effect of live games in the prior art. The method and the device have the advantages that the experience form of the live game audience is increased, and the technical effect of the experience effect is enhanced.
The technical scheme in the embodiment of the application has the following general idea:
acquiring bullet screen information sent by a target user in a first application; extracting control information from the bullet screen information according to a preset extraction rule; sending the control information to a second application, wherein the second application and the first application both run on the anchor terminal; and controlling the target object displayed in the second application to execute the action corresponding to the control information.
According to the method, the bullet screen information of the target user is obtained in the first application, the control information in the bullet screen information is extracted, and the target object of the second application is controlled to act, so that the appointed live broadcast audience can cross the target object in the game application of the anchor end to execute corresponding action by sending the bullet screen to the anchor end, the experience form of the live broadcast audience is increased, and the experience effect is enhanced.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The present embodiment provides a cross-application control method, as shown in fig. 1, where the method is applied to a host, and includes:
step S101, acquiring bullet screen information sent by a target user in a first application;
step S102, extracting control information from the bullet screen information according to a preset extraction rule;
step S103, sending the control information to a second application, wherein the second application and the first application both run on the anchor terminal;
and step S104, controlling the target object displayed in the second application to execute the action corresponding to the control information.
In this embodiment of the application, the anchor terminal may be an electronic device such as a smart phone, a desktop computer, a notebook computer, or a tablet computer, which is not limited herein.
In this embodiment of the application, the anchor terminal may be an Android system, an IOS system, or a Windows system, which is not limited herein.
In this embodiment of the application, the first application is a live broadcast software application, the second application is a game software application, and the anchor terminal runs the first application and the second application simultaneously. And the image or video displayed in the second application is sent to each audience end connected with the anchor end through the first application so as to carry out live game play. Of course, in a specific implementation process, the second application may also be a video playing application or a picture displaying application, and is not limited herein.
With reference to fig. 1, the following describes in detail specific implementation steps of the method provided by the present application, by taking the first application as live broadcast software and the second application as game software as an example:
first, step S101 is executed to acquire bullet screen information sent by a target user in a first application.
In this embodiment of the present application, the target user may be determined in a plurality of manners, where the target user may be determined by a host receiving a selection operation, and based on the selection operation, determining the target user from a user group connected to the host; it is also possible to determine the target user by receiving information transmitted by the audience connected to the anchor.
Specifically, the anchor may determine a target client by performing an operation such as clicking on an interface of live software, so that the target client controls the game; the main broadcasting terminal can also receive the registration information returned by each audience terminal after sending a signal, and the target client is determined according to the sequence of the sending of the registration information.
In this embodiment of the application, the bullet screen information may be moving text or symbol information floating on the video, or may be text or symbol information displayed on another chat window independent of the video window on the first application interface, which is not limited herein.
In a specific implementation process, the acquiring of the barrage information sent by the target user in the first application includes:
acquiring a bullet screen information group sent by a user group connected with the anchor terminal;
and filtering the bullet screen information sent by the target user from the bullet screen information group.
Specifically, the anchor terminal can acquire all bullet screen information in real time through a first application, namely live broadcast software, and can also filter all bullet screen information of a certain audience from all bullet screen information.
In the embodiment of the application, a barrage filtering function can be written in the live broadcast software to filter out the barrage of the target user. The anchor terminal can receive the bullet screen information of all audience users in a live broadcast room through live broadcast software, and each bullet screen information comprises the information of a sender of a bullet screen, so that after the anchor terminal determines a target user, all bullet screen information of the target user can be obtained through the information of the sender of each bullet screen.
Then, step S102 is executed to extract control information from the bullet screen information according to a preset extraction rule.
In the specific implementation process, there are many methods for extracting control information, and two methods are listed as follows:
first, information corresponding to a keyword and control information is preset.
Namely, according to a preset extraction rule, extracting control information from the bullet screen information, including:
extracting keywords from the bullet screen information according to preset corresponding information of the keywords and the control information;
and determining the control information corresponding to the key words according to the key words and the corresponding information.
Specifically, taking the control information as the direction control information as an example, the anchor may mark the direction control information of the game character by presetting some keyword tables, where the keywords in the tables may be "left" for going left, "right" for going right, and so on. And retrieving all direction control information from the bullet screen information according to the acquired all bullet screen information of the target user and the keyword table. The control information is a series of walking information for controlling the walking information of the character in the subsequent game.
For example, a control code corresponding to the right control character to move right is recorded in the preset corresponding information, the acquired bullet screen information is "see the right cave", the control code corresponding to the keyword "right" control information "control character to move right" in the bullet screen information can be inquired according to the corresponding information, and thus the control information is extracted as follows: control code that "controls the character to walk to the right".
Second, a keyword is directly extracted as control information.
Specifically, for example, using control information as direction control information, a continuous learning algorithm or a method of querying from a database may be adopted to directly extract a field related to a direction from the bullet screen information as the control information.
For example, if the acquired bullet screen information is "see a cave on the right side", the direction field "right" may be extracted from the bullet screen information as the control information.
Of course, in the specific implementation process, different control information extraction methods may be selected according to needs, and are not limited herein.
Then, step S103 is executed to send the control information to a second application, where the second application and the first application both run on the anchor terminal.
In the embodiment of the present application, the method for sending the control information from the first application to the second application across applications is many, and the method may be to implement cross-application transmission of a host end through forwarding of a server of the first application and a server of the second application through a network; the cross-application transmission of the anchor terminal can also be realized by methods such as shared memory or shortcut key triggering, and the like, which is not limited herein.
Preferably, in consideration of saving network resources and increasing the cross-application transmission speed of information, the embodiment implements the cross-application information transmission by naming a pipeline and injecting a module. The control information is injected into an injection module through a named pipeline preset in the first application, wherein the injection module is a module which is written in advance and injected into the second application.
Specifically, for the establishment of named pipes, named pipes may be written first in the first application, i.e. live software, for communication of the live software with the second application, i.e. game process. The named pipeline is used for completing the communication between the processes through a network, shielding the details of a bottom-layer network protocol, and realizing the communication between live broadcast software and an injection module injected in a game process through the named pipeline text.
In the following description, the injection module is referred to as a client of the named pipe, and the anchor software is referred to as a server of the named pipe. First, a named pipe is created at the server and then waits for the client to connect. Once the written injection module is injected into the game process to start running, the injection module is connected with the named pipeline, and once the named pipeline is connected, the direct broadcast software can be communicated with the injection module in the game. The specific implementation method is as follows:
for the server:
(1) the windows api function CreateNamedPipe is called to create a named pipe.
The named pipelines are firstly subjected to name setting, a unique name can be set at will, and the named pipelines cannot be renamed with the pipelines of other processes of the system. The client game injection module of the named pipe would connect the named pipe by this name.
(2) The client connection of the named pipe is waited for by calling the function ConnectNamedPipe.
(3) Once the client is connected, the function ReadFile is called to read the data sent by the client, which is to tell the server that the client has completed the connection and can communicate, etc.
(4) The control information acquired in step S102 is then written into the named pipe by calling the function WriteFile.
For the client:
(1) the client connects the named pipe created by the server by calling the function CreateFile. The name of the named pipe may be a unique name defined in advance.
(2) The client waits for the response of the server by calling the function WaitNamedPipe.
(3) The client writes data into the named pipe by calling the function WriteFile.
(4) And the client reads the control information sent by the server from the named pipeline by calling a function ReadFile.
Through the named pipeline, the server side of the live broadcast software continuously writes the acquired control information into the named pipeline, and the injection module injected into the game process continuously receives the control information from the named pipeline.
For the setting of the injection module, the function of the injection module to the second application, namely the game process, can be written in the first application, namely the live broadcast software.
In particular, the injection module may be injected into another game process by calling an API function provided by the Windows system. The basic idea is to create a remote thread in the game process through the Windows system API function createremotetrathread (which is called a remote thread because the thread is a thread created by a live software process in the game process), and load the injection module to be injected into the game process by calling the system function LoadLibrary through the created remote thread. The concrete implementation is as follows:
(1) and allocating the memory in the memory space of the target process through a Windows API function VirtualAllocEx function.
(2) And (3) writing the disk path of the module which is written by the user and needs to be injected into the allocated memory, namely the memory space of the target process allocated in the step (1), by using a Windows API function Writeprocessmemory.
(3) Calling a Windows API function CreateRemoteThread function to create a thread in the target process, wherein the execution logic of the thread is to call the Windows API function LoadLibrary to load the disk path of the injection module written in the target process space in the step (2). Therefore, a thread is started in the target process, the injection module is loaded through the thread, and the function of injecting the injection module into the target process is realized.
The function of injecting the injection module into the game process is realized through the steps, so that the possibility of communication between subsequent application processes is provided.
Next, step S104 is executed to control the target object displayed in the second application to execute the action corresponding to the control information.
In this embodiment of the application, when the second application is a game process, the control information may be direction control information for controlling a target object displayed in the second application to move in a direction represented by the control information; or may be motion control information for controlling the target object displayed in the second application to sit down, stand up, or run; it may also be sound control information that controls the sound emission of the target object displayed in the second application. When the second application is a video playing application, the control information may also be video control information for controlling fast forwarding, pausing or switching of a target video played by the second application, which is not listed one by one nor limited herein.
In this embodiment of the application, the cross-application control in step S104 may be implemented by setting the control information as a shortcut key trigger code, or may be implemented by the injection module, which is not limited herein.
Preferably, a control function may be called by the injection module to control the target object to execute an action corresponding to the control information, where the control function is obtained by the injection module through reverse analysis from the second application.
In the following, taking the second application as a game application process, and taking the control information as game role direction control information as an example, how to implement control on the target object through an injection module is described:
first, the function of character walking in the game process is analyzed reversely.
Specifically, functions called by the walking of the character in the game process can be disassembled and analyzed, specifically, the game process can be dynamically debugged through a dynamic debugging tool WinDbg provided by Windows, then the function called by the walking of the game character in the game process can be found out through the walking of the character in each direction in the game, and parameters of the called walking function are analyzed and used for the injection module to subsequently control the walking of the character. Similarly, interfaces that may be provided are: walk (int dir), where Walk denotes the walking function, and parameter dir denotes the direction of walking. The function of analyzing the character walking in the game process is realized through the step, so that the function can be called by the injection module to control the character walking.
Then, the functions of the injection module are written, including the function of communicating with the named pipe and the function of calling the character walking function in the game process. The injection module is injected into the game process in advance and belongs to the same process space with the game process, so that the function of the game process can be directly called.
Specifically, the walking of the game character is controlled by calling a character walking function through the injection module injected into the game process. And after the communication with the named pipeline is established, the injection module continuously receives control information for controlling the walking of the role through the named pipeline. After receiving the control information, the injection module can directly call the game role walking function which is reversely analyzed before, thereby realizing the function of controlling the game role to walk according to the control information.
For the convenience of understanding, the method provided by the application is described in a specific control example from the perspective of human-computer interaction:
firstly, a main broadcast simultaneously starts a game process and a live broadcast software process on equipment at a main broadcast end, the main broadcast enters a live broadcast room, game live broadcast is carried out in the live broadcast room, and each audience entering the live broadcast room can watch a game picture through live broadcast software started by the audience end;
then, the anchor selects an audience user A in the live broadcast room as a control audience, and the anchor end filters bullet screen information sent by the user A from a bullet screen of the live broadcast room and extracts control information from the bullet screen information;
when a user A sends bullet screen information of 'go ahead' through a bullet screen, control information extracted from the bullet screen is a code corresponding to 'control game role to go ahead';
the live broadcast process of the anchor end sends the control information to an injection module which is injected in advance in the game process through a preset named pipeline;
the injection module calls a game role walking function and controls the forward movement of the game role according to the control information, so that the user A can control the walking of the role in the game process in real time through launching the bullet screen to the anchor terminal, the experience form of the live game audience is increased, and the experience effect is enhanced.
Based on the same inventive concept, the application also provides a device corresponding to the mid-span application control method in the first embodiment, which is detailed in the second embodiment.
Example two
The present embodiment provides a cross-application control device, as shown in fig. 2, the device is an anchor terminal, and includes:
an obtaining module 201, configured to obtain bullet screen information sent by a target user in a first application;
the extraction module 202 is configured to extract control information from the bullet screen information according to a preset extraction rule;
a sending module 203, configured to send the control information to a second application, where the second application and the first application both run on the anchor terminal;
and the control module 204 is configured to control the target object displayed in the second application to execute the action corresponding to the control information.
In this embodiment of the application, the anchor terminal may be an electronic device such as a smart phone, a desktop computer, a notebook computer, or a tablet computer, which is not limited herein.
In this embodiment of the present application, the device may be an Android system, an IOS system, or a Windows system, which is not limited herein.
In the embodiment of the present application, the control information is information for controlling a moving direction; the control module 204 is further configured to: and controlling the target object to move along the direction represented by the control information.
Since the apparatus described in the second embodiment of the present invention is an apparatus used for implementing the cross-application control method in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus based on the method described in the first embodiment of the present invention, and thus the details are not described herein. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
according to the method and the device provided by the embodiment of the application, the barrage information of the target user is obtained in the first application, the control information in the barrage information is extracted, and the target object of the second application is controlled to act, so that the appointed live broadcast audience can cross the target object in the game application of the anchor end to execute corresponding action by sending the barrage to the anchor end, the experience form of the live broadcast audience is increased, and the experience effect is enhanced.
As will be appreciated by one skilled in the art, embodiments of the present invention may 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 an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (9)

1. A cross-application control method is applied to a host end and comprises the following steps:
acquiring bullet screen information sent by a target user in a first application;
extracting control information from the bullet screen information according to a preset extraction rule;
after a named pipeline preset in the first application is connected with an injection module which is written in advance and injected into a second application, the control information is injected into the injection module through the named pipeline, and the second application and the first application both run at the anchor end; the named pipeline is named as a unique name in advance, and the injection module establishes connection with the named pipeline based on the unique name;
and controlling the target object displayed in the second application to execute the action corresponding to the control information.
2. The method of claim 1, wherein:
the control information is information for controlling the moving direction;
the controlling the target object displayed in the second application to execute the action corresponding to the control information includes: and controlling the target object to move along the direction represented by the control information.
3. The method of claim 1, wherein the first application is a live application, the second application is a game application, and the image or video displayed in the second application is transmitted to a spectator connected to the anchor terminal through the first application.
4. The method of claim 1, wherein before the obtaining of the bullet screen information sent by the target user in the first application, the method comprises:
receiving a selection operation acting on the anchor terminal;
and determining the target user from a user group connected with the anchor terminal based on the selection operation.
5. The method of claim 1, wherein the obtaining of the bullet screen information sent by the target user in the first application comprises:
acquiring a bullet screen information group sent by a user group connected with the anchor terminal;
and filtering the bullet screen information sent by the target user from the bullet screen information group.
6. The method of claim 1, wherein the extracting control information from the bullet screen information according to a preset extraction rule comprises:
extracting keywords from the bullet screen information according to preset corresponding information of the keywords and the control information;
and determining the control information corresponding to the key words according to the key words and the corresponding information.
7. The method of claim 6, wherein the controlling the target object displayed in the second application to perform the action corresponding to the control information comprises:
and calling a control function through the injection module to control the target object to execute the action corresponding to the control information, wherein the control function is obtained by the injection module from the second application through reverse analysis.
8. A cross-application control apparatus, wherein the apparatus is a master, comprising:
the acquisition module is used for acquiring barrage information sent by a target user in the first application;
the extraction module is used for extracting control information from the bullet screen information according to a preset extraction rule;
a sending module, configured to, after a connection is established between a named pipeline preset in the first application and an injection module written in advance and injected into a second application, inject the control information into the injection module through the named pipeline, where the second application and the first application both operate at the anchor end; the named pipeline is named as a unique name in advance, and the injection module establishes connection with the named pipeline based on the unique name;
and the control module is used for controlling the target object displayed in the second application to execute the action corresponding to the control information.
9. The apparatus of claim 8, wherein the control information is information controlling a moving direction; the control module is further configured to: and controlling the target object to move along the direction represented by the control information.
CN201710083879.4A 2017-02-16 2017-02-16 Cross-application control method and device Active CN108449643B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710083879.4A CN108449643B (en) 2017-02-16 2017-02-16 Cross-application control method and device
PCT/CN2017/107853 WO2018149170A1 (en) 2017-02-16 2017-10-26 Cross-application control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710083879.4A CN108449643B (en) 2017-02-16 2017-02-16 Cross-application control method and device

Publications (2)

Publication Number Publication Date
CN108449643A CN108449643A (en) 2018-08-24
CN108449643B true CN108449643B (en) 2020-01-03

Family

ID=63169142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710083879.4A Active CN108449643B (en) 2017-02-16 2017-02-16 Cross-application control method and device

Country Status (2)

Country Link
CN (1) CN108449643B (en)
WO (1) WO2018149170A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437341B (en) * 2019-08-10 2022-04-29 荣耀终端有限公司 Video stream processing method and electronic equipment
CN111770356B (en) * 2020-07-23 2023-02-03 网易(杭州)网络有限公司 Interaction method and device based on live game

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105435453A (en) * 2015-12-22 2016-03-30 网易(杭州)网络有限公司 Bullet screen information processing method, device and system
CN105828210A (en) * 2016-03-15 2016-08-03 武汉斗鱼网络科技有限公司 Bullet screen based song-on-demand method and device
CN105916047A (en) * 2016-05-17 2016-08-31 武汉斗鱼网络科技有限公司 Game operating method and device based on bullet screen control
CN105933785A (en) * 2016-05-23 2016-09-07 武汉斗鱼网络科技有限公司 Method and device for controlling game operation direction with live commenting

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384348B (en) * 2013-05-29 2016-09-14 深圳市艾龙电子有限公司 A kind of GINGA digital TV middleware implementation method on embedded digital TV platform
US10345897B2 (en) * 2015-06-30 2019-07-09 Amazon Technologies, Inc. Spectator interactions with games in a specatating system
CN105959813A (en) * 2016-05-30 2016-09-21 武汉斗鱼网络科技有限公司 Method and device for controlling shortcut key setting based on game live broadcast bullet screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105435453A (en) * 2015-12-22 2016-03-30 网易(杭州)网络有限公司 Bullet screen information processing method, device and system
CN105828210A (en) * 2016-03-15 2016-08-03 武汉斗鱼网络科技有限公司 Bullet screen based song-on-demand method and device
CN105916047A (en) * 2016-05-17 2016-08-31 武汉斗鱼网络科技有限公司 Game operating method and device based on bullet screen control
CN105933785A (en) * 2016-05-23 2016-09-07 武汉斗鱼网络科技有限公司 Method and device for controlling game operation direction with live commenting

Also Published As

Publication number Publication date
WO2018149170A1 (en) 2018-08-23
CN108449643A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN107281756B (en) Team game method and device
CN106488252B (en) Live broadcast room list processing method and device
CN105653167B (en) It is a kind of based on the information displaying method being broadcast live online and client
CN107659825B (en) A kind of method, apparatus, server, main broadcaster end and medium that live video is retained
CN104881237B (en) A kind of network interdynamic method and client
CN110703913B (en) Object interaction method and device, storage medium and electronic device
US20220167036A1 (en) Live broadcast method and apparatus, and computer device and storage medium
CN108632632B (en) Live webcast data processing method and device
CN107018191B (en) Method and device for controlling game
CN106028092B (en) A kind of sharing method and device of TV screenshotss
CN111773667A (en) Live game interaction method and device, computer readable medium and electronic equipment
CN108635863B (en) Live webcast data processing method and device
CN107426598B (en) Bullet screen information processing method and injection module
CN109361954B (en) Video resource recording method and device, storage medium and electronic device
CN113411652A (en) Media resource playing method and device, storage medium and electronic equipment
CN111569436A (en) Processing method, device and equipment based on interaction in live broadcast fighting
CN108449643B (en) Cross-application control method and device
CN105808231A (en) System and method for recording script and system and method for playing script
CN106250007A (en) A kind of system and method realizing branching selection broadcasting
CN114173139A (en) Live broadcast interaction method, system and related device
CN114173173B (en) Bullet screen information display method and device, storage medium and electronic equipment
CN111770388B (en) Content processing method, device, equipment and storage medium
CN109656463A (en) The generation method of individual character expression, apparatus and system
CN106326476B (en) Information processing method and device
US20230341993A1 (en) Moving a digital representation of a video conference participant to a new location in a virtual environment

Legal Events

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