CN104618368B - A kind of industry self-check type broadcast music Ethernet transmission method - Google Patents

A kind of industry self-check type broadcast music Ethernet transmission method Download PDF

Info

Publication number
CN104618368B
CN104618368B CN201510041295.1A CN201510041295A CN104618368B CN 104618368 B CN104618368 B CN 104618368B CN 201510041295 A CN201510041295 A CN 201510041295A CN 104618368 B CN104618368 B CN 104618368B
Authority
CN
China
Prior art keywords
music
run
transmission method
turn
broadcasting
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.)
Expired - Fee Related
Application number
CN201510041295.1A
Other languages
Chinese (zh)
Other versions
CN104618368A (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.)
Shanghai Haoxuan Electronic Technology Co Ltd
Original Assignee
Shanghai Haoxuan Electronic 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 Shanghai Haoxuan Electronic Technology Co Ltd filed Critical Shanghai Haoxuan Electronic Technology Co Ltd
Priority to CN201510041295.1A priority Critical patent/CN104618368B/en
Publication of CN104618368A publication Critical patent/CN104618368A/en
Application granted granted Critical
Publication of CN104618368B publication Critical patent/CN104618368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/02Protocol performance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of industrial self-check type broadcast music Ethernet transmission methods, comprising the following steps: S1 initialization;S2 detects terminal;Whether S3 terminal can run;It can run and turn S4, it is not possible to which operation turns S2;Whether S4 player can run;It can run and turn S5, it is not possible to which operation turns S10;S5 broadcasting starts;S6, which is established, plays connection;The mono- song UDP source code transmission of S7;S8, which is terminated, plays connection;S9 has detected whether continuation play signal;There is signal to turn S2, no signal turns S10;S10 broadcasting terminates.A kind of industrial self-check type broadcast music Ethernet transmission method by adopting the above technical scheme, it is extremely low to hardware requirement, and guarantee zero loss of music data in the transmission, again simultaneously in the quality of detection broadcast music terminal hardware, the reasonable adjustment transmission playing resource of dynamic, save Internet resources, but can in self-detection system equipment online fine or not problem.

Description

A kind of industry self-check type broadcast music Ethernet transmission method
Technical field
The present invention relates to digital speech transmission technical field, in particular to a kind of industrial self-check type broadcast music Ethernet passes Transmission method.
Background technique
Coal mine, petroleum, chemical industry complex industrial environment in, there are many current broadcast music transmission still uses analogue transmission The problems such as mode, hardware cost is high, lower tone, high failure rate, with this several years various System informations of industrial circle, number The developing direction of change also has the appearance of part number broadcast system, continues to use the UDP transmission method based on server substantially, this Method requires the CPU processing speed of server and voice terminal device, and the performance of cache etc. is high, and the cost that is bound to is high, Data compression coding processing, music sound quality are lost simultaneously, and stability is also poor, does not have automatic error-correcting ability, such as Fruit is applied in the complex industrial field in coal mine, petroleum, chemical industry, and environment itself proposes many limitations to device hardware itself, Causing this transmission method to be realized on industrial hardware foundation is more difficult, and effect is worse, comprehensive all factors, invents a kind of industrial self-test Type broadcast music Ethernet transmission method is voice broadcast service system transmission in the complex industrial environment for be directed to coal mine, petroleum, chemical industry A kind of supplement of method is significant.
Meanwhile the complex industrial field based on coal mine, petroleum, chemical industry, environment itself propose very device hardware itself More limitations have small part voice broadcast service transmission method to pass transmission method using the point of TCP/IP, will first need the sound of broadcast playback Pleasure is transferred on storable broadcasting hardware, then carries out music broadcast broadcasting saying the word, but secondary transmission method implementation is too Difference, playing music are fixed, and flexibility is inadequate, and are unable to real-time detection to whether there is or not fine or not equipment, and network transmission is caused to provide A few system reliability entire lowerings of the waste in source.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of high reliablity, the industrial self-check type broadcast music of strong flexibility Ethernet transmission method.By detecting the quality of terminal or detecting that system is added in new terminal, and dynamic adjusts transmission sound Happy object-based device.
One of present invention industry self-check type broadcast music Ethernet transmission method, comprising the following steps:
S1: initialization;
S2: detection terminal;
S3: whether terminal can run;It can run and turn S4, it is not possible to which operation turns S2;
S4: whether player can run;It can run and turn S5, it is not possible to which operation turns S10;
S5: broadcasting starts;
S6: it establishes and plays connection;
S7: single song UDP source code transmission;
S8: it terminates and plays connection;
S9: continuation play signal has been detected whether;There is signal to turn S2, no signal turns S10;
S10: broadcasting terminates.
In above scheme, the S2 is programmed using detection protocol.
In above scheme, described S5, S6, S8 play connection and termination protocol using foundation.
In above scheme, the S7 uses UDP multicast music source decoding transmission method.
In above scheme, the UDP multicast music source decoding transmission method carries out size certainly according to music code rate speed Dynamic divided stator frame.
The advantages and beneficial effects of the present invention are: the present invention provides a kind of industrial self-check type broadcast music Ethernet transmission Method, principle design is simple, highly reliable, and voice transfer sound quality zero is lost, and broadcast music sound quality is good, and software flexibility is strong, It is adapted to the requirement of coal mine, petroleum, the complex environment of chemical industry and related hardware.The method, which is established to transmit in commodity ethernet, to be situated between On the infrastructure of matter, the interrelated work of various protocols is proposed, and do not interfere with each other, it is extremely low to hardware requirement, and passing Defeated middle zero loss for guaranteeing music data, and simultaneously in the quality of detection broadcast music terminal hardware, the reasonable adjustment of dynamic passes Defeated playing resource, saves Internet resources, but can in self-detection system equipment online fine or not problem.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is flow diagram of the invention;
Fig. 2 is port connection figure of the invention.
Specific embodiment
With reference to the accompanying drawings and examples, further description of the specific embodiments of the present invention.Following embodiment is only For clearly illustrating technical solution of the present invention, and not intended to limit the protection scope of the present invention.
As shown in Figure 1, the present invention is a kind of industrial self-check type broadcast music Ethernet transmission method, comprising the following steps:
S1: initialization;
S2: detection terminal;
S3: whether terminal can run;It can run and turn S4, it is not possible to which operation turns S2;
S4: whether player can run;It can run and turn S5, it is not possible to which operation turns S10;
S5: broadcasting starts;
S6: it establishes and plays connection;
S7: single song UDP source code transmission;
S8: it terminates and plays connection;
S9: continuation play signal has been detected whether;There is signal to turn S2, no signal turns S10;
S10: broadcasting terminates.
As shown in Fig. 2, industrial self-check type broadcast music Ethernet transmission method is based on the agreement on this hardware foundation, It is that have UDP multicast music source decoding transmission method, establish the combination for playing connection and termination protocol, detection protocol, interrelated Work.In software design, 3 ports SOCKET are occupied, SOCKET1 is programmed as detection protocol, and SOCKET2, which is used as, to be established It plays connection and termination protocol programming, SOCKET3 is programmed as UDP multicast music source decoding transmission method.
The quality of each music broadcast terminal operating in SOCKET1 detection protocol real-time detection broadcast music system, simultaneously Detect whether that new good music broadcast terminal is added in system, when broadcast music software receives music broadcast order Afterwards, SOCKET2, which is used as to establish, plays connection and termination protocol according to detection as a result, broadcasting to intact music broadcast terminal Connection is put, after having connected, SOCKET3 carries out with UDP multicast music source decoding transmission method according to music code rate speed big Small automatic divided stator frame, music sound code file no longer carry out any compression, only according to music broadcast terminal plays code rate Subpackage, so music zero loss in transmission process, guarantees sound quality to the maximum extent, meanwhile, SOCKET3 often transfers a first sound Happy, SOCKET2 meeting end of playing can be according to SOCKET1 detection protocol, and confirmation can establish the broadcast music terminal of connection, weight Connection newly is established, is recycled with this.
SOCKET3 carries out the automatic subpackage of size according to music code rate speed with UDP multicast music source decoding transmission method Transmission, i.e. size of the broadcast music software according to MP3 song, playback rate carry out subpackage in udp broadcast transmission, make to broadcast Music terminal broadcasting speed and transmission speed reach dynamic equilibrium, do not need the caching that broadcast music terminal has, reduce broadcast The cost and development difficulty of music terminal hardware.A piece of music is often transferred in SOCKET3UDP multicast music source decoding transmission method To the time for having a delay between song is put down, using this time, according to testing result, effectively broadcast sound is reconnected Happy terminal plays the role of dynamic detection broadcast music terminal and rationally dynamically distributes Internet resources.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (1)

1. a kind of industry self-check type broadcast music Ethernet transmission method, which comprises the following steps:
S1: initialization;
S2: detection protocol program detection terminal is used;
S3: whether terminal can run;It can run and turn S4, it is not possible to which operation turns S2;
S4: whether player can run;It can run and turn S5, it is not possible to which operation turns S10;
S5: broadcasting starts;
S6: it establishes and plays connection;
S7: UDP multicast music source code, single song UDP source code transmission, the UDP multicast music source decoding transmission method root are used The automatic divided stator frame of size is carried out according to music code rate speed;
S8: it terminates and plays connection;
S9: continuation play signal has been detected whether;There is signal to turn S2, no signal turns S10;
S10: broadcasting terminates;
Wherein, described S5, S6, S8 are transmitted using broadcasting connection and termination protocol, industrial self-check type broadcast music Ethernet is established Method is based on the above agreement, is to have UDP multicast music source decoding transmission method, establish broadcasting connection and termination protocol, detection association The combination of view, interrelated work occupy 3 ports SOCKET in software design, and SOCKET1 is compiled as detection protocol Journey, SOCKET2 is used as foundation broadcasting connection and termination protocol programming, SOCKET3 are compiled as UDP multicast music source decoding transmission method Journey.
CN201510041295.1A 2015-01-27 2015-01-27 A kind of industry self-check type broadcast music Ethernet transmission method Expired - Fee Related CN104618368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510041295.1A CN104618368B (en) 2015-01-27 2015-01-27 A kind of industry self-check type broadcast music Ethernet transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510041295.1A CN104618368B (en) 2015-01-27 2015-01-27 A kind of industry self-check type broadcast music Ethernet transmission method

Publications (2)

Publication Number Publication Date
CN104618368A CN104618368A (en) 2015-05-13
CN104618368B true CN104618368B (en) 2019-02-19

Family

ID=53152643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510041295.1A Expired - Fee Related CN104618368B (en) 2015-01-27 2015-01-27 A kind of industry self-check type broadcast music Ethernet transmission method

Country Status (1)

Country Link
CN (1) CN104618368B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420580A (en) * 2008-12-04 2009-04-29 深圳华为通信技术有限公司 Method, apparatus and system for implementing advertisement playing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624654A (en) * 2003-12-05 2005-06-08 海信集团有限公司 Medium player under LINUX operating system based on UNP protocol
CN101534325B (en) * 2009-04-15 2012-11-14 深圳市融创天下科技股份有限公司 Dynamic adjusting method of media object in rich media system
US10068227B1 (en) * 2011-09-13 2018-09-04 Tellabs Operations, Inc. Methods and apparatus for authenticating identity of web access from a network element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420580A (en) * 2008-12-04 2009-04-29 深圳华为通信技术有限公司 Method, apparatus and system for implementing advertisement playing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"以太网数字广播系统的设计与实现";梁贵芹;《成都大学学报(自然科学版)》;20111230;第353-355页,图4

Also Published As

Publication number Publication date
CN104618368A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN103337240B (en) The method of processed voice data, terminal, server and system
CN103179431B (en) Under VDI environment, audio frequency and video are redirected and turn code separation method
US8363678B2 (en) Techniques to synchronize packet rate in voice over packet networks
CN102739627B (en) Method and system for switching and playing video
CN103929427A (en) Dynamic multi-thread downloading device and method
CN103299366A (en) Devices for encoding and detecting a watermarked signal
US9584944B2 (en) Stereo decoding method and apparatus using group delay and group phase parameters
CN102226944A (en) Audio mixing method and equipment thereof
CN103686210A (en) Method and system for achieving audio and video transcoding in real time
CN102741831A (en) Scalable audio in a multi-point environment
ATE492108T1 (en) AUDIOVISUAL MEDIA CODING SYSTEM
MX2020007065A (en) Method for transmitting data in internet of vehicles, terminal device and network device.
Hodson et al. Skew detection and compensation for Internet audio applications
CN109524004A (en) The voice interaction device and system of a kind of method of parallel transmission that realizing MCVF multichannel voice frequency and data, circumscribed
CN104618368B (en) A kind of industry self-check type broadcast music Ethernet transmission method
CN103237215B (en) Player method and playback equipment
EP1162806A3 (en) Simultaneous viewing and/or listening to a plurality of transmitted multimedia streams through a centralized processing space
US20060036436A1 (en) Method for dynamic selection of optimized codec for streaming audio content
RU2014114254A (en) GATEWAY AND APPROPRIATE METHOD, COMPUTER PROGRAM AND MEDIA
CN112992161A (en) Audio encoding method, audio decoding method, audio encoding apparatus, audio decoding medium, and electronic device
CN102592629B (en) Intrinsically safe network voice controller for mining
WO2017185798A1 (en) Method and device for sharing multimedia file
US20060062215A1 (en) Techniques to synchronize packet rate in voice over packet networks
CN111818010A (en) Data transmission method and device, electronic equipment and storage medium
CN112153427A (en) Method and equipment for transmitting multimedia data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190219

Termination date: 20220127

CF01 Termination of patent right due to non-payment of annual fee