CN108241748B - Method, device, medium and equipment for acquiring live broadcast music name - Google Patents

Method, device, medium and equipment for acquiring live broadcast music name Download PDF

Info

Publication number
CN108241748B
CN108241748B CN201810028379.5A CN201810028379A CN108241748B CN 108241748 B CN108241748 B CN 108241748B CN 201810028379 A CN201810028379 A CN 201810028379A CN 108241748 B CN108241748 B CN 108241748B
Authority
CN
China
Prior art keywords
music
live broadcast
name
acquiring
software
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
CN201810028379.5A
Other languages
Chinese (zh)
Other versions
CN108241748A (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 CN201810028379.5A priority Critical patent/CN108241748B/en
Publication of CN108241748A publication Critical patent/CN108241748A/en
Application granted granted Critical
Publication of CN108241748B publication Critical patent/CN108241748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of network live broadcast, in particular to a method, a device, a medium and equipment for acquiring a live broadcast music name, wherein the method comprises the following steps: in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room; the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program; and pushing the music name to audiences in the target live broadcast room. The invention can enable audiences in the target live broadcast room to know the name of the song played by the main broadcast.

Description

Method, device, medium and equipment for acquiring live broadcast music name
Technical Field
The invention relates to the technical field of network live broadcast, in particular to a method, a device, a medium and equipment for acquiring a live broadcast music name.
Background
With the progress of network communication technology and the increasing speed of broadband networks, live webcasts are increasingly developed and applied. Generally, a main broadcast likes to open a music player to play songs during live broadcast, so as to increase the live broadcast atmosphere, however, live broadcast software does not have the copyright of the music player, so that music cannot be played in the live broadcast software, but an independent music player is adopted to play songs, such as internet music, QQ music, and the like. However, in the prior art, the audience can only hear the song played by the main broadcasting through live broadcasting, and cannot know the name of the song.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method, apparatus, medium, and device for acquiring a live music title that overcome or at least partially solve the above problems.
The embodiment of the invention provides a method for acquiring a live music name, which comprises the following steps:
in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room;
the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program;
and pushing the music name to audiences in the target live broadcast room.
Preferably, before the live broadcasting software acquires the music name of the currently played music from the music playing process by using the preset configuration program, the method further includes:
creating a named pipe in the live broadcast software;
and in the music playing process, the preset configuration program establishes communication connection with the live broadcast software through the name of the named pipeline, so that the live broadcast software and the music playing process can communicate through the named pipeline.
Preferably, the obtaining the music name of the currently played music from the music playing process includes:
and acquiring the music name of the currently played music from the music playing process by utilizing a disassembling mode.
Preferably, before the live broadcast software injects a preset configuration program into a music playing process of a music player currently playing music in the target live broadcast room, the method further includes:
acquiring a music player list from a live broadcast server corresponding to the live broadcast software, wherein the music player list comprises names of more than one music player;
acquiring the names of all processes opened by the current system;
and determining the music player playing the music currently from the names of all processes opened by the current system based on the music player list.
The embodiment of the invention also provides a device for acquiring the name of the live music, which comprises:
the live broadcast system comprises an injection module, a live broadcast module and a control module, wherein the injection module is used for injecting a preset configuration program into a music playing process of a music player which plays music currently in a target live broadcast room by using live broadcast software in the process of live broadcast in the target live broadcast room;
the acquisition module is used for acquiring the music name of the currently played music from the music playing process by the live broadcast software by utilizing the preset configuration program;
and the pushing module is used for pushing the music name to the audience in the target live broadcast room.
Preferably, the apparatus further comprises:
the creating module is used for creating a named pipeline in the live broadcast software;
and the communication module is used for establishing communication connection between the preset configuration program and the live broadcast software through the name of the named pipeline in the music playing process so as to enable the live broadcast software and the music playing process to communicate through the named pipeline.
Preferably, the obtaining module is specifically configured to:
and acquiring the music name of the currently played music from the music playing process by utilizing a disassembling mode.
Preferably, the apparatus further comprises:
the list acquisition module is used for acquiring a music player list from a live broadcast server corresponding to the live broadcast software, wherein the music player list comprises the names of more than one music player;
the process name acquisition module is used for acquiring the names of all processes opened by the current system;
and the determining module is used for determining the music player playing the music currently from the names of all processes opened by the current system based on the music player list.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method steps as described in the foregoing embodiments.
Embodiments of the present invention further provide a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method steps described in the foregoing embodiments are implemented.
One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
in the process of carrying out live broadcast in the target live broadcast room by using the live broadcast software, the live broadcast software injects a preset configuration program into the music playing process of the music player which plays music currently in the target live broadcast room, and the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program and pushes the music name to audiences in the target live broadcast room, so that the audiences in the target live broadcast room can know the name of the song played by the main broadcast.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart of a method of obtaining a live music title in an embodiment of the invention;
fig. 2 is a block diagram showing an apparatus for acquiring a name of live music in the embodiment of the present invention;
fig. 3 shows a physical structure diagram of a computer device in the embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the application provides a method for acquiring a live music title, which is applied to a main broadcasting end as shown in fig. 1, wherein an electronic device of the main broadcasting end is an execution main body of the method for acquiring the live music title, and the method comprises the following steps:
step 101: in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room;
step 102: the live broadcast software acquires the music name of the currently played music from the music playing process by using a preset configuration program;
step 103: and pushing the music name to the audience in the target live broadcast room.
Specifically, at the anchor side, the anchor uses live broadcast software to perform live broadcast in a target live broadcast room, and uses a music player to perform music playing in the live broadcast process, wherein the music player has a music playing process when playing music. In the process of live broadcasting music, live broadcasting software of a main broadcasting end injects a preset configuration program into a music playing process of a music player, and the preset configuration program in the application is a preset configuration program used for acquiring a music name of music currently played by the music player.
Further, as to how to inject the preset configuration program into the music playing process, in the application, a program for injecting the preset configuration program into the music playing process may be written in live broadcast software, and the application injects the preset configuration program into the music playing process by calling an API function provided by a Windows system. Specifically, a remote thread is created in the music playing process through the Windows system API function createremotetrathreadend, the remote thread is a thread created in the music playing process by the live broadcast software process of the anchor, and the remote thread calls the system function LoadLibrary to load a preset configuration program to be injected, which is specifically implemented as follows:
firstly, a memory is allocated in a memory space of a music playing process through a Windows API function VirtualAllocEx function, then a disk path of a preset configuration program is written into the allocated memory through the Windows API function WriteProcessMemory, then a thread is created in the music playing process by calling the Windows API function CreateRemoteThread function, the execution logic of the thread is to call the Windows API function LoadLibrary to load the disk path of the preset configuration program, the process is used for starting a thread in the music playing process, and the thread is used for loading the preset configuration program, so that the injection of the preset configuration program is realized.
Further, after the injection of the preset configuration program is completed, communication between live broadcast software and a music playing process needs to be achieved, specifically, communication between the live broadcast software and the music playing process is achieved through a Named pipe (Named Pipes), the Named pipe achieves communication between the processes through a network, bottom-layer network protocol details can be shielded, the preset configuration program is equivalent to a client of the Named pipe, and therefore the live broadcast software of the anchor end is equivalent to a server of the Named pipe. Further, firstly, a named pipeline is created in the live broadcast software, and then, a preset configuration program establishes communication connection with the live broadcast software through the name of the named pipeline in the music playing process, so that the live broadcast software and the music playing process can communicate through the named pipeline. In the process of establishing a communication relationship between live broadcast software and a music playing process, firstly, a named pipeline is created in the live broadcast software of a main broadcast end, specifically, a server end calls a Windows API function CreateNamepiPipe to create the named pipeline with a preset name, the preset name is unique and has no duplication name with the pipeline of other processes in a system, so that a client end can be connected with the named pipeline through the preset name, the server end then waits for the connection of the client end by calling a ConnectNamepiPipe, correspondingly, the client end calls a function CreateFile to connect the named pipeline, and calls a function WaitNamepiPipe to wait for the response of the server end, and the connection between the server end and the client end is completed.
After the injection of the preset configuration program is completed and the communication between the live broadcast software and the music playing process is realized through the named pipeline, the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program. Preferably, the music name of the currently played music can be acquired from the music playing process in a disassembling manner. Specifically, for different music players, the data for storing the song title of the music player may be different, and therefore, it is necessary to analyze the memory address for storing the song title of each music playing process independently, the data content of the song currently played by the music player obtained in the music playing process by disassembling and analyzing the music playing process may be stored in the global variable of the music player, the music process can be dynamically debugged by the dynamic debugging tool WinDbg provided by Windows to find out which variable in the music player stores the name of the currently playing song, which usually uses a global variable to store its data, and a global variable corresponding to the music playing process is a memory address, and the finally analyzed structure is that the global variable SongName stores the current song name of the music player, so that the required data is found, and the specific implementation is as follows:
Figure BDA0001544475560000061
wherein, the included content of asm { } shows that assembly codes are embedded in the C language, the value of the XXX parameter is a memory address, and the memory address is specifically found through WinDbg dynamic debugging analysis.
Further, before step 101, the method for acquiring a name of live music further includes:
acquiring a music player list from a live broadcast server corresponding to live broadcast software, wherein the music player list comprises names of more than one music player;
acquiring the names of all processes opened by the current system;
and determining the music player playing the music currently from the names of all processes opened by the current system based on the music player list.
Specifically, in order to obtain the music name of the currently playing music, it is first necessary to determine the music player playing the music. In the method, the commonly used music player software can be collected in advance, the names of the processes corresponding to the commonly used music player software can be recorded, all process lists opened on a current anchor computer can be obtained through live broadcast software, the process lists are sent to a live broadcast platform server to screen out the process names of all music players, statistics is carried out in a big data mode, and the names of mainstream music players used by all anchors in a live broadcast platform are recorded. For example, a network cloud music player, whose corresponding process name is cloudpractical. Then, after collecting the names of the mainstream music players, the live broadcast server receives a music player list issued by the live broadcast server when the live broadcast software is opened, the music player list includes the names of more than one music player, and after obtaining the music player list, the live broadcast software stores the music player list. Then, the live broadcast software may obtain names of all processes opened by the current system, to compare and determine whether process names exist in the music player list, if so, it indicates that the music player is used by the anchor, and if not, it indicates that the current music player does not support or the anchor does not open the music player, and then, after the music player is determined, the subsequent step of obtaining the name of the currently played song is performed.
Based on the same inventive concept, an embodiment of the present invention further provides a device for acquiring a name of live music, as shown in fig. 2, the device includes:
an injection module 201, configured to, in a process of performing live broadcast in a target live broadcast room by using live broadcast software, inject, by the live broadcast software, a preset configuration program into a music playing process of a music player that currently plays music in the target live broadcast room;
an obtaining module 202, configured to obtain, by the live broadcast software, a music name of currently played music from the music playing process by using the preset configuration program;
and the pushing module 203 is configured to push the music name to the audience in the target live broadcast room.
Preferably, the apparatus further comprises:
the creating module is used for creating a named pipeline in the live broadcast software;
and the communication module is used for establishing communication connection between the preset configuration program and the live broadcast software through the name of the named pipeline in the music playing process so as to enable the live broadcast software and the music playing process to communicate through the named pipeline.
Preferably, the obtaining module 202 is specifically configured to:
and acquiring the music name of the currently played music from the music playing process by utilizing a disassembling mode.
Preferably, the apparatus further comprises:
the list acquisition module is used for acquiring a music player list from a live broadcast server corresponding to the live broadcast software, wherein the music player list comprises the names of more than one music player;
the process name acquisition module is used for acquiring the names of all processes opened by the current system;
and the determining module is used for determining the music player playing the music currently from the names of all processes opened by the current system based on the music player list.
Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the following steps: in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room;
the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program;
and pushing the music name to audiences in the target live broadcast room.
Fig. 3 is a schematic diagram of a computer device, which is shown for convenience of illustration, and only shows a part related to the embodiment of the present invention, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the computer device as the mobile phone as an example:
fig. 3 is a block diagram illustrating a partial structure associated with a computer device provided by an embodiment of the present invention. Referring to fig. 3, the computer apparatus includes: a memory 301 and a processor 302. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 3 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The following describes the components of the computer device in detail with reference to fig. 3:
the memory 301 may be used to store software programs and modules, and the processor 302 executes various functional applications and data processing by operating the software programs and modules stored in the memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.), and the like. Further, the memory 301 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 302 is a control center of the computer device, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 301 and calling data stored in the memory 301. Alternatively, processor 302 may include one or more processing units; preferably, the processor 302 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
In an embodiment of the present invention, the processor 302 included in the computer device may have the following functions:
in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room;
the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program;
and pushing the music name to audiences in the target live broadcast room.
In a word, in the process of performing live broadcast in the target live broadcast room by using the live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room, and the live broadcast software acquires a music name of the currently played music from the music playing process by using the preset configuration program and pushes the music name to audiences in the target live broadcast room, so that the audiences in the target live broadcast room can know the name of a song played by a main broadcast.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a gateway, proxy server, system according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (8)

1. A method for obtaining a name of live music, the method comprising:
acquiring all process lists opened on a current anchor computer through live broadcast software, sending the process lists to a live broadcast platform server to screen out process names of all music players, recording the process names of the music players, and acquiring a music player list from a live broadcast server corresponding to the live broadcast software, wherein the music player list comprises the names of more than one music player;
acquiring the names of all processes opened by the current system;
based on the music player list, determining a music player playing music currently from the names of all processes opened by the current system;
in the process of carrying out live broadcast in a target live broadcast room by using live broadcast software, the live broadcast software injects a preset configuration program into a music playing process of a music player which plays music currently in the target live broadcast room;
the live broadcast software acquires the music name of the currently played music from the music playing process by using the preset configuration program;
and pushing the music name to audiences in the target live broadcast room.
2. The method for acquiring a live music title as claimed in claim 1, wherein before the live software acquires the music title of the currently playing music from the music playing process by using the preset configuration program, the method further comprises:
creating a named pipe in the live broadcast software;
and in the music playing process, the preset configuration program establishes communication connection with the live broadcast software through the name of the named pipeline, so that the live broadcast software and the music playing process can communicate through the named pipeline.
3. The method for acquiring a live music title as claimed in claim 1, wherein said acquiring a music title of a currently playing music from said music playing process comprises:
and acquiring the music name of the currently played music from the music playing process by utilizing a disassembling mode.
4. An apparatus for obtaining a name of live music, the apparatus comprising:
the system comprises a list acquisition module, a live broadcast platform server and a music player selection module, wherein the list acquisition module is used for acquiring all process lists opened on a current anchor computer through live broadcast software, sending the process lists to the live broadcast platform server to screen out process names of all music players, recording the process names of the music players and acquiring the music player list from a live broadcast server corresponding to the live broadcast software, and the music player list comprises the names of more than one music player;
the process name acquisition module is used for acquiring the names of all processes opened by the current system;
the determining module is used for determining a music player playing music currently from the names of all processes opened by the current system based on the music player list;
the live broadcast system comprises an injection module, a live broadcast module and a control module, wherein the injection module is used for injecting a preset configuration program into a music playing process of a music player which plays music currently in a target live broadcast room by using live broadcast software in the process of live broadcast in the target live broadcast room;
the acquisition module is used for acquiring the music name of the currently played music from the music playing process by the live broadcast software by utilizing the preset configuration program;
and the pushing module is used for pushing the music name to the audience in the target live broadcast room.
5. An apparatus for acquiring a name of a live music as claimed in claim 4, wherein said apparatus further comprises:
the creating module is used for creating a named pipeline in the live broadcast software;
and the communication module is used for establishing communication connection between the preset configuration program and the live broadcast software through the name of the named pipeline in the music playing process so as to enable the live broadcast software and the music playing process to communicate through the named pipeline.
6. The apparatus for obtaining a name of live music according to claim 4, wherein the obtaining module is specifically configured to:
and acquiring the music name of the currently played music from the music playing process by utilizing a disassembling mode.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 3.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method steps of any of claims 1-3 when executing the program.
CN201810028379.5A 2018-01-10 2018-01-10 Method, device, medium and equipment for acquiring live broadcast music name Active CN108241748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810028379.5A CN108241748B (en) 2018-01-10 2018-01-10 Method, device, medium and equipment for acquiring live broadcast music name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810028379.5A CN108241748B (en) 2018-01-10 2018-01-10 Method, device, medium and equipment for acquiring live broadcast music name

Publications (2)

Publication Number Publication Date
CN108241748A CN108241748A (en) 2018-07-03
CN108241748B true CN108241748B (en) 2021-07-23

Family

ID=62699662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810028379.5A Active CN108241748B (en) 2018-01-10 2018-01-10 Method, device, medium and equipment for acquiring live broadcast music name

Country Status (1)

Country Link
CN (1) CN108241748B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348249B (en) * 2018-12-06 2021-07-30 广州酷狗计算机科技有限公司 Method and device for determining user acquisition number of digital album and storage medium
CN115065875B (en) * 2022-08-15 2023-01-03 广州市千钧网络科技有限公司 Character display control method and device of network live broadcast system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826164A (en) * 2014-03-03 2014-05-28 百度在线网络技术(北京)有限公司 Method and device for recording video watching
CN105608168A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Method and system for obtaining name of music currently played by music player
CN107172445A (en) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining data
CN107302716A (en) * 2017-05-15 2017-10-27 武汉斗鱼网络科技有限公司 A kind of method of live game, Zhu Boduan, direct broadcast server and client

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333770B (en) * 2014-11-20 2018-01-12 广州华多网络科技有限公司 The method and device of a kind of net cast
CN107147955A (en) * 2017-03-31 2017-09-08 武汉斗鱼网络科技有限公司 The method and device of live game

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826164A (en) * 2014-03-03 2014-05-28 百度在线网络技术(北京)有限公司 Method and device for recording video watching
CN105608168A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Method and system for obtaining name of music currently played by music player
CN107172445A (en) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining data
CN107302716A (en) * 2017-05-15 2017-10-27 武汉斗鱼网络科技有限公司 A kind of method of live game, Zhu Boduan, direct broadcast server and client

Also Published As

Publication number Publication date
CN108241748A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN108245896B (en) Method, device and system for presenting game live broadcast, storage medium and equipment
JP6423538B2 (en) System and method for testing and authenticating media equipment for use in a connected media environment
WO2017088408A1 (en) Video capturing and sharing method and device
CN101645815B (en) Video and audio file download prompt method
CN107529086A (en) A kind of method for processing video frequency, device, electronic equipment and medium
KR20060034144A (en) Mobile communication terminal capable of reproducing and updating multimedia content, and method for reproducing the same
JP6336624B2 (en) Multimedia display method, apparatus and device
WO2015070796A1 (en) Method and device for pushing resources to mobile communication terminal by smart television
CN108241748B (en) Method, device, medium and equipment for acquiring live broadcast music name
CN111246302A (en) Method, device and terminal for downloading data by browser
CN104601535B (en) Method for processing video frequency and system
CN107454457B (en) Method and device for switching live broadcast resolution of screen recording
CN105763906B (en) A kind of audio file play method and system
CN114138961A (en) Playing processing method of audio electronic book, computing equipment and computer storage medium
CN103646054A (en) Method for playing multimedia data and browser device
CN103648021B (en) The method that network video file is played from USB storage device
US9223782B2 (en) System for performing instructions that are dependent upon received media-based messages and associated methods and components
US8781613B1 (en) Audio apparatus for portable devices
KR102134250B1 (en) Method and system for reproducing streaming content
CN105812865A (en) Information processing method and electronic device
CN114157991B (en) Recording and playing method and equipment for group call
CN109729419B (en) Push video preloading method and device, electronic equipment and storage medium
CN108650544A (en) A kind of media playing method, device and media play system
KR102228375B1 (en) Method and system for reproducing multiple streaming contents
CN116610823B (en) Method and system for uniformly accessing multimedia resources

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