CN109102826B - Method for realizing network group distributed digital audio playing controller - Google Patents

Method for realizing network group distributed digital audio playing controller Download PDF

Info

Publication number
CN109102826B
CN109102826B CN201810812818.1A CN201810812818A CN109102826B CN 109102826 B CN109102826 B CN 109102826B CN 201810812818 A CN201810812818 A CN 201810812818A CN 109102826 B CN109102826 B CN 109102826B
Authority
CN
China
Prior art keywords
audio
client
server
playing
audio file
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
CN201810812818.1A
Other languages
Chinese (zh)
Other versions
CN109102826A (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.)
Guangzhou Quwan Network Technology Co Ltd
Original Assignee
Guangzhou Quwan 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 Guangzhou Quwan Network Technology Co Ltd filed Critical Guangzhou Quwan Network Technology Co Ltd
Priority to CN201810812818.1A priority Critical patent/CN109102826B/en
Publication of CN109102826A publication Critical patent/CN109102826A/en
Application granted granted Critical
Publication of CN109102826B publication Critical patent/CN109102826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/027Remotely controlled
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10018Improvement or modification of read or write signals analog processing for digital recording or reproduction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The invention relates to a method for realizing a network group distributed digital audio playing controller, wherein digital audio files are not stored in a server but in equipment of each user in a group, so that the problem of the source of the audio files can be solved, the server can provide limited types and quantity of the audio files due to the limitation of resources and regulations, and the audio files are stored in respective clients, so that various audio files can be provided, and the preference of most group members can be met; the setting of the mark information can enable the server to find the audio client as soon as possible when the server releases audio playing information, and the client can play the audio file at a higher speed; and in the same time, only one audio file is in a playing state, so that the condition that sound is disordered if a plurality of people play audio in the group at the same time can be prevented.

Description

Method for realizing network group distributed digital audio playing controller
Technical Field
The invention relates to an implementation mode of a music playing controller which has the functions of song list management and song control and can play audio for all users in a group in a multi-user network group, and mainly relates to the field of computer control implementation.
Background
The music player is a kind of multimedia playing software for playing various music files, and the music player is a visual operation interface of an audio decoder, and its essence is a decoder for various audio coding formats.
Generally, the existing network music playing software can be divided into two types according to the audience of music, one is to play music to the device of the user and the other is to play music to the devices of other users on the network. The network music player has a file downloading function with high transmission effect, and data sharing transmission can be realized through the network music player.
With the development of technology, the situation that the network group shares resources occurs occasionally, and playing songs in the real-time online group can be understood as playing music to other members on the network in the group for listening. A common approach in the market is to broadcast audio information to other users in the group for listening.
The following problems arise at this time:
1, source problem of audio files. If the storage of audio is provided by the server, the server may not be able to provide the music in the same amount and variety as the group members due to resource and regulatory constraints.
2, if many people play audio at the same time in the group, the sound will be disordered.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and is realized by the following technical scheme: a method for realizing a network group distributed digital audio playing controller is characterized in that: the method comprises the following steps:
s1, presetting a server and a plurality of clients, wherein a file memory is arranged in each client, and audio files are stored in the file memory; a group audio player is arranged in the server;
s2, the user selects the audio file to be shared on the client in the network group for audio playing, and the mark information of the audio file is reported to the server;
s3, the server records the audio file in the audio list of the group audio player;
s4, after the audio files in the playlist are updated or the playing state changes, the server transmits the control information data to each client in the group;
s5, the server forwards the control information data to the client of the actual storage user corresponding to the audio file;
and S6, the client of the audio file transmits data after decoding the audio file.
As one preferable mode, the server is configured to perform playing, maintaining, managing, and providing a transmission channel of data for the audio files in the audio play list of the group audio player; the server is used for controlling the operation of the specified clients in the group on the specified audio files by sending instructions.
Through the technical scheme, the digital audio files are not stored in the server but in the equipment of each user in the group, the problem of the source of the audio files can be solved, the server can provide limited types and quantity of the audio files due to the limitation of resources and regulations, and the audio files are stored in the respective client sides to provide various audio files, so that the preference of most group members can be met.
As one preferable mode, the flag information includes a storage address of the client where the audio file is located, a name of the audio file, a duration, and a format.
According to the technical scheme, the mark information comprises the storage address of the client where the audio file is located, the name, duration and format of the audio file, so that the server can find the audio file as soon as possible when the server releases audio playing information, and the client can play the audio file at a higher speed.
As one of the above preferred modes, the client is divided into a common client and a management client; the client is used for decoding the audio file, and initiating and terminating transmission.
As one of the preferable modes, the common client uploads the flag information of the audio file to be shared of the client to the server; and the management client uploads the mark information of the audio file to be shared of the client to the server and performs control operation in the group audio player.
As one of the preferable modes, the content of the control operation includes playing a selected audio file, pausing the selected audio file, requesting a next audio file, and adjusting the volume of the audio file, and only one audio file is in a playing state at the same time.
Through the technical scheme, only one audio file is in the playing state at the same time, so that the situation that sound is disordered due to the fact that a plurality of people play audio in a group at the same time can be prevented.
As one preferable mode, the step S5 is implemented by: if the user A clicks and plays the song No. 1 on the player, and the song No. 1 is provided by the user B, the server forwards the playing request to the user B, the client side of the user B finishes playing the song No. 1, and the played audio is broadcasted to other members in the group from the client side of the user B through the network to be received.
Through the technical scheme, the main principle of the invention is that in each client, the audio files selected by the user are all the mark information of the selected audio files uploaded to the server, and the server plays or pauses the audio files in the client through the mark information, namely, if the No. 3 song requested by the user A and the No. 3 song are provided by the user C, the server sends the request, and the sent mark information is the audio file, and the user C plays the No. 3 file through the controller client.
As one preferable mode, the client regularly sends heartbeat data to the server in the process of playing the audio file of the client, and the server responds to the heartbeat data and returns the audio information being played in the group to the heartbeat sender.
Through the technical scheme, the transmission of the heartbeat data can help the list in the group audio player in the server to be automatically controlled, and the condition that only one song is played at the same time is met.
As one of the above preferred modes, if the client receives the response and finds that the data in the response is inconsistent with the data in the response, the client stops playing the song; if the server does not receive the heartbeat data in a certain period, the client is considered to be offline, and then the next song is triggered to be played
Compared with the prior art, the invention has the following benefits: the method of the invention is simple, the digital audio file is not in the server but stored in the equipment of each user in the group, the problem of the source of the audio file can be solved, the server can provide limited types and quantity of the audio file due to the limitation of resources and regulations, and the audio file is stored in each client to provide various audio files, thereby satisfying the preference of most group members; the mark information comprises a storage address of the client of the audio file, the name, duration and format of the audio file, so that the server can find the audio file as soon as possible when issuing audio playing information, and the client can play the audio file at a higher speed; in addition, at the same time, only one audio file is in a playing state, so that the condition that sound is disordered if a plurality of people play audio in the group at the same time can be prevented; the main principle of the invention is that in each client, the audio files selected by the user are all the mark information of the selected audio files uploaded to the server, and the server plays or pauses the audio files in the client through the mark information, namely, if the No. 3 song requested by the user A and the No. 3 song provided by the user C, the request is sent by the server, the sent mark information is the audio file, and the user C plays the No. 3 file through the client of the controller; the transmission of heartbeat data can help to automatically control the list in the group audio player in the server, and the requirement that only one song is played at the same time is met.
Drawings
FIG. 1 is a flow chart of the present invention
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
With reference to the accompanying drawings, the present invention provides a method for implementing a network group distributed digital audio playing controller, which is characterized in that: the method comprises the following steps:
s1, presetting a server and a plurality of clients, wherein a file memory is arranged in each client, and audio files are stored in the file memory; a group audio player is arranged in the server;
s2, the user selects the audio file to be shared on the client in the network group for audio playing, and the mark information of the audio file is reported to the server;
s3, the server records the audio file in the audio list of the group audio player;
s4, after the audio files in the playlist are updated or the playing state changes, the server transmits the control information data to each client in the group;
s5, the server forwards the control information data to the client of the actual storage user corresponding to the audio file;
and S6, the client of the audio file transmits data after decoding the audio file.
As one preferable mode, the server is configured to perform playing, maintaining, managing, and providing a transmission channel of data for the audio files in the audio play list of the group audio player; the server is used for controlling the operation of the specified clients in the group on the specified audio files by sending instructions.
Through the technical scheme, the digital audio files are not stored in the server but in the equipment of each user in the group, the problem of the source of the audio files can be solved, the server can provide limited types and quantity of the audio files due to the limitation of resources and regulations, and the audio files are stored in the respective client sides to provide various audio files, so that the preference of most group members can be met.
As one preferable mode, the flag information includes a storage address of the client where the audio file is located, a name of the audio file, a duration, and a format.
According to the technical scheme, the mark information comprises the storage address of the client where the audio file is located, the name, duration and format of the audio file, so that the server can find the audio file as soon as possible when the server releases audio playing information, and the client can play the audio file at a higher speed.
As one of the above preferred modes, the client is divided into a common client and a management client; the client is used for decoding the audio file, and initiating and terminating transmission.
As one of the preferable modes, the common client uploads the flag information of the audio file to be shared of the client to the server; and the management client uploads the mark information of the audio file to be shared of the client to the server and performs control operation in the group audio player.
As one of the preferable modes, the content of the control operation includes playing a selected audio file, pausing the selected audio file, requesting a next audio file, and adjusting the volume of the audio file, and only one audio file is in a playing state at the same time.
Through the technical scheme, only one audio file is in the playing state at the same time, so that the situation that sound is disordered due to the fact that a plurality of people play audio in a group at the same time can be prevented.
As one preferable mode, the step S5 is implemented by: if the user A clicks and plays the song No. 1 on the player, and the song No. 1 is provided by the user B, the server forwards the playing request to the user B, the client side of the user B finishes playing the song No. 1, and the played audio is broadcasted to other members in the group from the client side of the user B through the network to be received.
Through the technical scheme, the main principle of the invention is that in each client, the audio files selected by the user are all the mark information of the selected audio files uploaded to the server, and the server plays or pauses the audio files in the client through the mark information, namely, if the No. 3 song requested by the user A and the No. 3 song are provided by the user C, the server sends the request, and the sent mark information is the audio file, and the user C plays the No. 3 file through the controller client.
As one preferable mode, the client regularly sends heartbeat data to the server in the process of playing the audio file of the client, and the server responds to the heartbeat data and returns the audio information being played in the group to the heartbeat sender.
Through the technical scheme, the transmission of the heartbeat data can help the list in the group audio player in the server to be automatically controlled, and the condition that only one song is played at the same time is met.
As one of the above preferred modes, if the client receives the response and finds that the data in the response is inconsistent with the data in the response, the client stops playing the song; if the server does not receive the heartbeat data in a certain period, the client is considered to be offline, and then the next song is triggered to be played
Compared with the prior art, the invention has the following benefits: the method of the invention is simple, the digital audio file is not in the server but stored in the equipment of each user in the group, the problem of the source of the audio file can be solved, the server can provide limited types and quantity of the audio file due to the limitation of resources and regulations, and the audio file is stored in each client to provide various audio files, thereby satisfying the preference of most group members; the mark information comprises a storage address of the client of the audio file, the name, duration and format of the audio file, so that the server can find the audio file as soon as possible when issuing audio playing information, and the client can play the audio file at a higher speed; in addition, at the same time, only one audio file is in a playing state, so that the condition that sound is disordered if a plurality of people play audio in the group at the same time can be prevented; the main principle of the invention is that in each client, the audio files selected by the user are all the mark information of the selected audio files uploaded to the server, and the server plays or pauses the audio files in the client through the mark information, namely, if the No. 3 song requested by the user A and the No. 3 song provided by the user C, the request is sent by the server, the sent mark information is the audio file, and the user C plays the No. 3 file through the client of the controller; the transmission of heartbeat data can help to automatically control the list in the group audio player in the server, and the requirement that only one song is played at the same time is met.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A method for realizing a network group distributed digital audio playing controller is characterized in that: the method comprises the following steps:
s1, presetting a server and a plurality of clients, wherein a file memory is arranged in each client, and audio files are stored in the file memory; a group audio player is arranged in the server;
s2, the user selects the audio file to be shared on the client in the network group for audio playing, and the mark information of the audio file is reported to the server;
s3, the server records the audio file in the audio list of the group audio player;
s4, after the audio files in the playlist are updated or the playing state changes, the server transmits the control information data to each client in the group;
s5, the server forwards the control information data to the client of the actual storage user corresponding to the audio file;
s6, the client of the audio file transmits data after decoding the audio file; the client regularly sends heartbeat data to the server in the process of playing the audio file of the client, and the server responds to the heartbeat data and returns the audio information being played in the group to the heartbeat sender.
2. The method of claim 1, wherein the network group distributed digital audio playing controller comprises: the server is used for playing, maintaining and managing audio files in an audio play list of the group audio player and providing a transmission channel of data; the server is used for controlling the operation of the specified clients in the group on the specified audio files by sending instructions.
3. The method of claim 1, wherein the network group distributed digital audio playing controller comprises: the mark information comprises the storage address of the client side where the audio file is located, the name of the audio file, the duration and the format.
4. The method of claim 1, wherein the network group distributed digital audio playing controller comprises: the client side is divided into a common client side and a management client side; the client is used for decoding the audio file, and initiating and terminating transmission.
5. The method of claim 4, wherein the network group distributed digital audio playing controller comprises: the common client uploads the mark information of the audio file to be shared of the common client to the server; and the management client uploads the mark information of the audio file to be shared of the client to the server and performs control operation in the group audio player.
6. The method of claim 5, wherein the network group distributed digital audio playing controller comprises: the control operation comprises the steps of playing a selected audio file, pausing the selected audio file, ordering a next audio file, and adjusting the volume of the audio file, wherein only one audio file is in a playing state at the same time.
7. The method of claim 1, wherein the network group distributed digital audio playing controller comprises: in the step S5, the process is as follows: if the user A clicks and plays the song No. 1 on the player, and the song No. 1 is provided by the user B, the server forwards the playing request to the user B, the client side of the user B finishes playing the song No. 1, and the played audio is broadcasted to other members in the group from the client side of the user B through the network to be received.
8. The method of claim 1, wherein the network group distributed digital audio playing controller comprises: if the client receives the response and finds that the data in the response is inconsistent with the data in the response, the client stops playing the song; if the server does not receive the heartbeat data within a certain period, the client is considered to be offline, and then the next song is triggered to be played.
CN201810812818.1A 2018-07-23 2018-07-23 Method for realizing network group distributed digital audio playing controller Active CN109102826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810812818.1A CN109102826B (en) 2018-07-23 2018-07-23 Method for realizing network group distributed digital audio playing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810812818.1A CN109102826B (en) 2018-07-23 2018-07-23 Method for realizing network group distributed digital audio playing controller

Publications (2)

Publication Number Publication Date
CN109102826A CN109102826A (en) 2018-12-28
CN109102826B true CN109102826B (en) 2020-08-21

Family

ID=64847243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810812818.1A Active CN109102826B (en) 2018-07-23 2018-07-23 Method for realizing network group distributed digital audio playing controller

Country Status (1)

Country Link
CN (1) CN109102826B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693535B2 (en) * 2006-12-22 2010-04-06 Sony Ericsson Mobile Communications Ab Communication systems and methods for providing a group play list for multimedia content records
CN101384025B (en) * 2007-09-04 2011-12-21 英华达(南京)科技有限公司 Method for sharing video and audio file of mobile terminal device in the same group
KR20150020440A (en) * 2013-08-14 2015-02-26 주식회사 케이티 Server and method for providing music stream to user group, and device
CN115883901A (en) * 2015-09-30 2023-03-31 苹果公司 Synchronized playback and control of media
CN105847951B (en) * 2016-03-22 2019-02-01 Oppo广东移动通信有限公司 Control method for playing back and device in audio-video frequency playing system

Also Published As

Publication number Publication date
CN109102826A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
US11508353B2 (en) Real time popularity based audible content acquisition
US8392505B2 (en) Collaborative playlist management
CN101095348B (en) System and method for retrieving digital multimedia content from a network node
US9615119B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
RU2011143728A (en) DEVICE AND METHOD OF INTERACTIVE REQUESTS OF DIGITAL MEDIA CONTENT
US8737804B2 (en) System for delayed video viewing
WO2008141577A1 (en) Method, and network media player for playing network media synchronously
JP2008535317A (en) System and method for achieving playlist search from network nodes for digital multimedia content
JP2013509743A (en) Method and system for individualizing content streams
KR101705898B1 (en) Method and system for providing timeshift service in digital broadcasting system
WO2007121610A1 (en) A peer-to-peer network content transmitting method and an apparatus for implementing locating and playing
US11785076B2 (en) Retrieval and playout of media content
US20160294903A1 (en) Method and device for pushing resources to mobile communication terminal by smart television
US20070169142A1 (en) Using a presence status in a media-on-demand system
CN109102826B (en) Method for realizing network group distributed digital audio playing controller
JP6597604B2 (en) Reception device, transmission device, data communication method, and data processing method
US20140115117A1 (en) Webcasting method and apparatus
WO2009111982A1 (en) Multimedia network application processing system and method
AU2014385226B2 (en) Dynamic playout of audible punctuation in connection with playout of playlist content
CN112887786B (en) Video playing method and device and computer readable medium
WO2016165596A1 (en) Multimedia file control method and system
CN107770131B (en) Streaming media recording method based on nginx server
CN112954378B (en) Method and device for playing voice barrage in live broadcast room, electronic equipment and medium
Ketmaneechairat et al. Smart buffer management for different start video broadcasting
JP2006003850A (en) Audio content transmission system

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
CB02 Change of applicant information

Address after: 510000 Room 1701, 1702, 1703, 1704, 1705 and 1905, 122 West Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU QUWAN NETWORK TECHNOLOGY CO., LTD.

Address before: 510000 3rd Floor, Block C, Shengda Business Park, Sanheng Road, Tangxia, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU QUWAN NETWORK TECHNOLOGY CO., LTD.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Chen Shi

Inventor after: Chen Guangyao

Inventor after: Jiang Hongkun

Inventor before: Chen Shi

Inventor before: Chen Guangyao

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant