CN104618368A - Industrial self-inspection type broadcast music Ethernet transmission protocol - Google Patents

Industrial self-inspection type broadcast music Ethernet transmission protocol Download PDF

Info

Publication number
CN104618368A
CN104618368A CN201510041295.1A CN201510041295A CN104618368A CN 104618368 A CN104618368 A CN 104618368A CN 201510041295 A CN201510041295 A CN 201510041295A CN 104618368 A CN104618368 A CN 104618368A
Authority
CN
China
Prior art keywords
music
host
protocol
type broadcast
run
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.)
Granted
Application number
CN201510041295.1A
Other languages
Chinese (zh)
Other versions
CN104618368B (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 an industrial self-inspection type broadcast music Ethernet transmission protocol, including the following steps of: S1, initializing; S2, inspecting terminal; S3, inspecting whether the terminal can operate, if yes, turning to the step S4, and otherwise, turning to the step S2; S4, whether a player can operate, if yes, turning to the step S5, and otherwise, turning to the step S10; S5, starting playing; S6, establishing playing connection; S7, transmission the single music UDP source code; S8, ending playing connection; S9, detecting whether a continuous playing signal exists, if yes turning to the step S2, and otherwise, turning to the step S10; S10, ending the playing. The industrial self-inspection type broadcast music Ethernet transmission protocol adopting the above technical scheme is low in requirements on hardware, ensures zero loss of music data in transmission, meanwhile online detects the good or bad of the hardware of the broadcast music terminal, dynamically and reasonably regulates the transmission and playing resources, saves network resources, and can self-detect the online good and bad problems of the device in the system.

Description

A kind of industrial self-check type broadcast music Ethernet host-host protocol
Technical field
The present invention relates to digital speech transmission technical field, particularly one industrial self-check type broadcast music Ethernet host-host protocol.
Background technology
In colliery, oil, in the complex industrial environment of chemical industry, current broadcast music transmission much still adopts analogue transmission mode, its hardware cost is high, lower tone, the problems such as failure rate is high, along with this several years various System informations of industrial circle, digitized developing direction, also the appearance of part number broadcast system is had, it continues to use the UDP host-host protocol based on server substantially, the method requires the CPU processing speed of server and voice terminal device, the performance of the aspects such as buffer memory is high, the cost that is bound to is high, data compression coding process simultaneously, the loss to some extent of music tonequality, stability is also poor, do not have automatic error-correcting ability, if be applied in colliery, oil, the complex industrial field of chemical industry, its environment itself proposes a lot of restriction to device hardware itself, this host-host protocol is caused to realize on industrial hardware foundation more difficult, effect is poorer, comprehensive all factors, invent a kind of industrial self-check type broadcast music Ethernet host-host protocol, for colliery, oil, in the complex industrial environment of chemical industry, the one of voice broadcast service system transport protocol is supplemented, it is significant.
Simultaneously, based on the complex industrial field of colliery, oil, chemical industry, its environment itself proposes a lot of restriction to device hardware itself, small part voice broadcast service host-host protocol is had to adopt the point of TCP/IP to pass host-host protocol, first will the music transmission of broadcast playback be needed on storable broadcasting hardware, then music broadcast broadcasting is carried out saying the word, but secondary host-host protocol implementation is too poor, playing music is fixed, flexibility is inadequate, and can not detect in real time with or without fine or not equipment, cause a few system reliability entire lowering of the waste of network transmission resource.
Summary of the invention
In order to solve the problem, the invention provides the industrial self-check type broadcast music Ethernet host-host protocol that a kind of reliability is high, flexibility is strong.By the quality of sense terminals or detect that new terminal adds system, and the object-based device of dynamic conditioning transmission music.
One industry self-check type broadcast music Ethernet host-host protocol in the present invention, comprises the following steps:
S1: initialization;
S2: sense terminals;
S3: whether terminal can be run; Can run and turn S4, cannot run and turn S2;
S4: whether player can run; Can run and turn S5, cannot run and turn S10;
S5: play and start;
S6: set up and play connection;
S7: single song UDP source code transmission;
S8: stop playing connection;
S9: detect whether there is continuation play signal; Have signal to turn S2, no signal turns S10;
S10: play and terminate.
In such scheme, described S2 uses detection protocol programming.
In such scheme, described S5, S6, S8 use to set up to play and connect and termination protocol.
In such scheme, described S7 uses UDP multicast music source code host-host protocol.
In such scheme, described UDP multicast music source code host-host protocol carries out the automatic divided stator frame of size according to music code check speed.
Advantage of the present invention and beneficial effect are: the invention provides a kind of industrial self-check type broadcast music Ethernet host-host protocol, the design of its principle is simple, reliability is strong, voice transfer tonequality zero loss, broadcast music tonequality is good, software flexibility is strong, can adapt to colliery, oil, the complex environment of chemical industry and the requirement of related hardware.The method is based upon on the capital construction of commodity ethernet transmission medium, the interrelated work of various protocols is proposed, do not interfere with each other again, extremely low to hardware requirement, and ensure zero loss of music data in the transmission, again simultaneously in the quality detecting broadcast music terminal hardware, dynamically reasonably adjust transmission playing resource, save Internet resources, again can the online fine or not problem of equipment in self-detection system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is schematic flow sheet of the present invention;
Fig. 2 is port connection layout of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
As shown in Figure 1, the present invention is a kind of industrial self-check type broadcast music Ethernet host-host protocol, comprises the following steps:
S1: initialization;
S2: sense terminals;
S3: whether terminal can be run; Can run and turn S4, cannot run and turn S2;
S4: whether player can run; Can run and turn S5, cannot run and turn S10;
S5: play and start;
S6: set up and play connection;
S7: single song UDP source code transmission;
S8: stop playing connection;
S9: detect whether there is continuation play signal; Have signal to turn S2, no signal turns S10;
S10: play and terminate.
As shown in Figure 2, industrial self-check type broadcast music Ethernet host-host protocol based on the agreement on this hardware foundation, its be have UDP multicast music source code host-host protocol, set up play connect and termination protocol, detection protocol combination, interrelated work.On Software for Design, it takies 3 SOCKET ports, and SOCKET1 is used as detection protocol programming, and SOCKET2 is used as to set up to play and connects and termination protocol programming, and SOCKET3 is used as the programming of UDP multicast music source code host-host protocol.
SOCKET1 detection protocol detects the quality of each music broadcast terminal operating in broadcast music system in real time, detect simultaneously and whether have new good music broadcast terminal to join in system, when after broadcast music software receipt to music broadcast order, SOCKET2 is used as to set up the result that broadcasting connects and termination protocol foundation detects, carry out broadcasting to intact music broadcast terminal to connect, after having connected, SOCKET3 carries out the automatic divided stator frame of size with UDP multicast music source code host-host protocol according to music code check speed, its music sound code file no longer carries out any compression, only according to the subpackage of music broadcast terminal plays code check, so music zero loss in transmitting procedure, ensure tonequality to greatest extent, simultaneously, SOCKET3 often transfers a piece of music, SOCKET2 meeting end of playing, can according to SOCKET1 detection protocol, the broadcast music terminal that confirmation can connect, re-establish connection, circulate with this.
SOCKET3 carries out the automatic divided stator frame of size with UDP multicast music source code host-host protocol according to music code check speed, namely broadcast music software is according to the size of MP3 song, playback rate, subpackage is carried out when udp broadcast is transmitted, broadcast music terminal plays speed and transmission speed is made to reach dynamic equilibrium, the buffer memory not needing broadcast music terminal to have, reduces cost and the development difficulty of broadcast music terminal hardware.A piece of music is often transferred to putting down the time having a time delay between song at SOCKET3UDP multicast music source code host-host protocol, utilize this time, according to testing result, reconnect effective broadcast music terminal, it plays the effect of detection of dynamic broadcast music terminal and reasonable dynamic assignment Internet resources.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. an industrial self-check type broadcast music Ethernet host-host protocol, is characterized in that, comprise the following steps:
S1: initialization;
S2: sense terminals;
S3: whether terminal can be run; Can run and turn S4, cannot run and turn S2;
S4: whether player can run; Can run and turn S5, cannot run and turn S10;
S5: play and start;
S6: set up and play connection;
S7: single song UDP source code transmission;
S8: stop playing connection;
S9: detect whether there is continuation play signal; Have signal to turn S2, no signal turns S10;
S10: play and terminate.
2. one according to claim 1 industrial self-check type broadcast music Ethernet host-host protocol, is characterized in that, described S2 uses detection protocol programming.
3. one according to claim 1 industrial self-check type broadcast music Ethernet host-host protocol, is characterized in that, described S5, S6, S8 use to set up to play and connect and termination protocol.
4. one according to claim 1 industrial self-check type broadcast music Ethernet host-host protocol, is characterized in that, described S7 uses UDP multicast music source code host-host protocol.
5. one according to claim 4 industrial self-check type broadcast music Ethernet host-host protocol, is characterized in that, described UDP multicast music source code host-host protocol carries out the automatic divided stator frame of size according to music code check speed.
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 true CN104618368A (en) 2015-05-13
CN104618368B 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 (4)

* 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
CN101420580A (en) * 2008-12-04 2009-04-29 深圳华为通信技术有限公司 Method, apparatus and system for implementing advertisement playing
CN101534325A (en) * 2009-04-15 2009-09-16 深圳市融创天下科技发展有限公司 Dynamic adjusting method of media object in rich media system
US20140115678A1 (en) * 2011-09-13 2014-04-24 Wichorus, Inc. Methods and Apparatus for Authenticating Identity of Web Access From a Network Element

Patent Citations (4)

* 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
CN101420580A (en) * 2008-12-04 2009-04-29 深圳华为通信技术有限公司 Method, apparatus and system for implementing advertisement playing
CN101534325A (en) * 2009-04-15 2009-09-16 深圳市融创天下科技发展有限公司 Dynamic adjusting method of media object in rich media system
US20140115678A1 (en) * 2011-09-13 2014-04-24 Wichorus, Inc. Methods and Apparatus for Authenticating Identity of Web Access From a Network Element

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN104618368B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN102648584B (en) Use the system of forward error correction inspection available bandwidth, method and medium
CN106354568A (en) Method and device for communication between different processes
CN102226944A (en) Audio mixing method and equipment thereof
ATE417440T1 (en) METHOD FOR ESTABLISHING A CONNECTION IN A COMMUNICATIONS NETWORK
CN105208406A (en) Video data providing method and apparatus, video playing method and apparatuses, and video playing system
CN111294664A (en) Audio and video data transmission method, electronic equipment and storage medium
WO2005116582A3 (en) System and method for varying content
CN104202714A (en) Mobile terminal near field communication method and system for heterogeneous operating system
CN103931162A (en) Method for processing service and network equipment
CN105487937A (en) RDMA (Remote Direct Memory Access) implementation method and device
CN104618418A (en) Method and device for playing multimedia file
CN108235111B (en) Information sharing method and intelligent set top box
CN115473876A (en) Method, device and system for transmitting real-time streaming media data and storage medium
CN115004752A (en) Perception agent SBP termination method and device, electronic equipment and storage medium
CN104618368A (en) Industrial self-inspection type broadcast music Ethernet transmission protocol
CN103237215A (en) Playing method and playing device
CN103281369B (en) Message processing method and wide area network acceleration controller WOC
WO2018113114A1 (en) Dual system directional connection method and device
CN111818010A (en) Data transmission method and device, electronic equipment and storage medium
CN111031063B (en) Data transmission method and device based on family education machine
CN104518988A (en) Method and system for priority processing of messages
CN112382304A (en) Bluetooth audio repairing method, device, equipment and medium
CN207052294U (en) Broadcast terminal
US20210148594A1 (en) Signal Transmission Method, System, Device, Storage Medium and Electronic Device
CN110035308A (en) Data processing method, equipment and storage medium

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