CN105897687A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN105897687A
CN105897687A CN201511020792.XA CN201511020792A CN105897687A CN 105897687 A CN105897687 A CN 105897687A CN 201511020792 A CN201511020792 A CN 201511020792A CN 105897687 A CN105897687 A CN 105897687A
Authority
CN
China
Prior art keywords
data
interface
transmission
layer
transmission information
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.)
Pending
Application number
CN201511020792.XA
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201511020792.XA priority Critical patent/CN105897687A/en
Publication of CN105897687A publication Critical patent/CN105897687A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the communication field, especially relates to a data transmission method and device, and is to solve the problems of slow transmission speed and large delay of an existing method for transmitting audio stream and video stream files in an Android system in the prior art. A sending device sends to a framework layer transmission information of data needing to be sent in an application layer through a first interface; the sending device receives the transmission information in the framework layer; the sending device converts the received transmission information supporting the application layer into transmission information supporting the framework layer in the framework layer through a second interface; and the sending device sends corresponding data through an RTP according to the converted transmission information. The sending device can enable the transmission information for the RTP to be sent from the application layer to an interface layer, so that the data can be sent through the RTP in the framework layer; and compared with an existing data transmission method for sending the data through the RTP in the application layer, the method in the invention is faster in data transmission speed.

Description

A kind of method and apparatus transmitting data
Technical field
The present invention relates to communication field, particularly relate to a kind of method and apparatus transmitting data.
Background technology
Android (Android) system is the operating system of a kind of open source code, is mainly used in mobile device, such as intelligence Mobile phone and panel computer.Through years development, android system has become as the operating system of main flow on mobile phone now, accounts for It is up to 78.1% according to the market share.Application software abundant species in android system, including communication, video, audio frequency and game Etc. polymorphic type software.
In recent years, along with raising and the development of technology of network speed, the application in android system is no longer simple Information browse, Email etc..Occur in that various by the network RTP transmission various Streaming Media such as video, audio frequency Software so that realize long-range screen meeting, IP (Internet Protocol Internet protocol) videophone, long-distance education, remote Journey medical diagnosis etc. is possibly realized.These softwares are all based on the agreement of transmitting video-frequency flow and audio stream.
The existing utilization of android system implements the method transmission speed of host-host protocol transmission audio stream and video stream file relatively Slowly, time delay is bigger.
Summary of the invention
Embodiments provide a kind of method and apparatus transmitting data, in order to solve Android in prior art The existing method transmission speed for transmitting audio stream and video stream file of system is relatively slow, the problem that time delay is bigger.
The embodiment of the present invention provides a kind of method transmitting data, including:
Transmission equipment is believed by first interface, the transmission sent for needing the data sent to ccf layer in application layer Breath;
Described transmission equipment receives described transmission information at ccf layer;
The described transmission information of the support application layer received by the second interface, is turned by described transmission equipment at ccf layer It is changed to the transmission information of support frame rack-layer;
Described transmission equipment, according to the transmission information after conversion, sends corresponding data by real time communication protocol RTP.
Owing to the transmission information being used for RTP can be sent to interface from application layer by the transmission equipment in the embodiment of the present invention Layer, thus data can be sent at ccf layer by RTP, thus save the data that will transmit and be sent to application from ccf layer The time of layer, send the transmission data method of data in application layer by RTP relative to existing, transmit the speed of data more Hurry up.
Optionally, described first interface is JAVA interface;And/or
Described second interface is Services Oriented Achitecture SOA interface.
Owing to the first interface of the embodiment of the present invention is JAVA interface, thus application program based on JAVA language can be made More easily call this interface;Owing to the second interface in the embodiment of the present invention is SOA interface, thus can be easily by transmission Information is converted into the programming language of ccf layer by the programming language of a kind of application layer, make ccf layer for realize RTP transmit number According to module more easily use transmission information.
Optionally, described transport packet includes IP address and/or port numbers;
The described data needing to send include voice data and/or video data.
Owing to the embodiment of the present invention includes to the transport packet that ccf layer sends but it is not limited to IP address and/or port numbers, Complete RTP transmission data and need to transmit IP address and port numbers, the therefore transmission of the embodiment of the present invention of the purpose equipment of data Equipment can be implemented in ccf layer and transmits data by RTP communications protocol;Owing to the embodiment of the present invention can be implemented in ccf layer By RTP transmission voice data and video data, therefore may be used for reducing live video or the delay of audio software.
Optionally, described first interface is positioned at described application layer;
Described second interface is positioned at described ccf layer.
Owing to the first interface of the embodiment of the present invention is positioned in application layer, thus the application journey being positioned in application layer can be made Sequence calls first interface easily;Owing to the second interface of the embodiment of the present invention is positioned on ccf layer, therefore make on ccf layer The second interface is called easily for completing the module of RTP communications protocol function.
Optionally, described transmission equipment, according to the transmission information after conversion, sends corresponding data by RTP, also includes:
Described transmission equipment according to data distribution quality feedback information, generates real time communication control protocol at described ccf layer RTCP bag;
Described RTCP bag is sent to described application layer by described transmission equipment.
Data distribution quality feedback information is comprised owing to the transmission equipment of the embodiment of the present invention can provide to application layer Real time communication control protocol RTCP bag, thus the software being positioned at application layer can make transmission according to data distribution quality feedback information Efficiency optimization.
The embodiment of the present invention provides a kind of equipment transmitting data, including:
First sending module, for passing through first interface in application layer, sends for the data needing transmission to ccf layer Transmission information;
Receiver module, for receiving described transmission information at ccf layer;
Modular converter, at ccf layer by the second interface, the described transmission information of support application layer that will receive Be converted to the transmission information of support frame rack-layer;
Second sending module, for according to the transmission information after conversion, sending corresponding data by RTP.
Optionally, described first interface is JAVA interface;And/or
Described second interface is SOA interface.
Optionally, described transport packet includes IP address and/or port numbers;
The described data needing to send include voice data and/or video data.
Optionally, described first interface is positioned at described application layer;
Described second interface is positioned at described ccf layer.
Optionally, described second sending module, it is additionally operable to:
At described ccf layer according to data distribution quality feedback information, generate real time communication control protocol RTCP bag;
Described RTCP bag is sent to described application layer.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the block schematic illustration of embodiment of the present invention transmission data;
Fig. 2 is the method schematic diagram of embodiment of the present invention transmission data;
Fig. 3 is the header schematic diagram of embodiment of the present invention RTP bag;
Fig. 4 is the overall flow schematic diagram that the present invention transmits the method for data;
Fig. 5 is the device structure schematic diagram that the present invention transmits data.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The method of the embodiment of the present invention is applied to the application scenarios of streaming media.Many at transfers on network video, audio frequency etc. Media information currently mainly has two kinds of transmission means: downloads and transmits as a stream.Using downloading mode, user needs to download whole matchmaker Body file, the most just can play out.Due to the restriction of the network bandwidth, download and need the long period, cause time delay bigger.
At present, the mainstream technology that streaming media uses is stream transmission.Before being transmitted, first to multi-medium data (available audio coder and video encoder realize, and effect is to reduce the quality of audio, video data and carry out to carry out pretreatment Compression), then use caching system to ensure the transmission that data are the most correct.Use streaming manner, use stream transmission Mode, user is not necessarily like using downloading mode to wait until that whole file is all downloaded complete like that, but only need to arrive through several seconds The start-up study of tens seconds can play out in client and watch.Now the remainder of media file will continue on backstage Download.
The main flow host-host protocol of stream transmission is that RTP (RealTime Transport Protocol, assist by real time communication View), set up at UDP (User Datagram Protocol, UDP) host-host protocol for the RTP of transmission of running off On, the reliability of UDP host-host protocol passes not as TCP (Transmission Control Protocol, transmission control protocol) Transmission protocol, and the service quality of real time business cannot be ensured, need RTCP (RealTime Transport Control Protocol, real time communication control protocol) real-time monitoring data transmission and service quality.
The embodiment of the present invention realize RTP based on operating system be Android operation system.
Android operation system is broadly divided into four levels, the most respectively:
Application layer, ccf layer, system Runtime Library and Linux (a kind of operating system) kernel.
1, application layer
There is the application software that user can directly use on the application layer.Application software in application layer is divided into two classes: be The software that the core application software that system provides is developed with other application developer.Such as, application layer can there is core application soft Part: E-mail (Email) client, SMS (Short message service SMS (Short Message Service)) program, calendar, map; The software can also developed by other application developer in application layer: game application software, system maintenance software, instant messaging is soft Part.Software in application layer is all based on JAVA (a kind of programming language) language.
2, ccf layer
Ccf layer (i.e. Application Framework (application framework layer)) is to write the core that Google (Google) issues API (Application Programming Interface, the application programming interfaces) framework used during heart application, exploitation Personnel are equally useful these frameworks to develop the application of oneself, the most just simplify the architecture design of program development.Exploitation Personnel can utilize the function in system Runtime Library to be developed for the functional device completing specific function of ccf layer.Functional device is necessary Following the safety Design of framework, the software that can be employed layer different is used for multiple times.Ccf layer uses C/C++ language.
3, system Runtime Library
Android operation system comprises some C/C++ storehouses, and these storehouses comprise various function, can is by Android operation Assemblies (functional device) different in system uses, and they provide service by ccf layer for developer.
4, linux kernel
Linux kernel as the level of abstraction between software and hardware, the kernel service of Android operation system also based on Linux kernel.
In the method for the transmission data of the embodiment of the present invention, the equipment that sends passes through first interface in application layer, to ccf layer Send the transmission information for the data needing transmission;Described transmission equipment receives described transmission information at ccf layer;Described Send equipment at ccf layer by the second interface, the described transmission information of the support application layer received is converted to support frame rack-layer Transmission information;Described transmission equipment, according to the transmission information after conversion, sends corresponding data by RTP.Due to the present invention Transmission equipment in embodiment can according to transmission information ccf layer by RTP send data, thus relative to existing Application layer sends the transmission data method of data by RTP, transmits the speed of data faster.
As it is shown in figure 1, the differring primarily in that of the embodiment of the present invention and prior art: prior art realizes in application layer RTP transmits data.And the embodiment of the present invention is providing the first interface transmitting data from application layer to ccf layer transmission for RTP (i.e. Recorder App, recorder application software).Application layer uses different programming languages with ccf layer RTP transport module (being JAVA and C++ respectively), the embodiment of the present invention additionally provides and the information transmitted from application layer is sent to RTP transport module Second interface (i.e. MediaRecorder, this module stores path is /java/android/media/MediaRecorder). And in system Runtime Library, provide function (MediaRecorder.cpp, the path of this function storage called for interface module For/framework/av/media/libmedia).Second interface can also accept from from AudioFlinger (audio frequency pipe Reason device) audio file and from the video file of Camera Service (camera services) and be sent to RTP transport module.
As in figure 2 it is shown, the embodiment of the present invention provides a kind of method transmitting data, including:
Step 201, the equipment that sends, sends for the data needing transmission to ccf layer by first interface in application layer Transmission information;
Step 202, described transmission equipment receives described transmission information at ccf layer;
Step 203, described transmission equipment at ccf layer by the second interface, the described biography of support application layer that will receive Transmission information is converted to the transmission information of support frame rack-layer;
Step 204, described transmission equipment, according to the transmission information after conversion, sends correspondence by real time communication protocol RTP Data.
The application scenarios of the embodiment of the present invention is for the field higher to the requirement of real-time of video data or voice data Scape.Such as, internet video live broadcasting, video conference call, remote speech communication etc..Above-mentioned application scenarios can by have recording and/ Or the equipment that sends of video recording equipment coordinates the application software installed on the sending device to realize.
Transmission equipment in the embodiment of the present invention includes but not limited to following equipment:
Mobile phone based on Android operation system, panel computer, intelligent television, computer.Due in the embodiment of the present invention The method of transmission data is used for transmitting live audio or video file.Therefore, transmission equipment can have audio recording or/and Video record function.
Application software in the embodiment of the present invention can be video or live audio software.
Concrete, application software can be that (Voice over Internet Protocol voice-over-net is assisted based on VoIP View) application software.Wherein, VoIP can be by analogue signal (sound) digitized, with the shape of Data Packet (data packet) Formula does transmission in real time on network.VoIP can complete to transmit the business such as voice, fax, video and data on ip networks, as Unified messaging service, virtual telephony, virtual speech/fax mailbox, directory enquiry service, Internet call center, Internet exhale Management, telephone video meeting, ecommerce, fax storage is made to forward and the storage forwarding etc. of various information.
Application software can also be based on RTSP (Real Time Streaming Protocol, real time streaming transport protocol) Software.Wherein, RTSP is an application layer protocol in ICP/IP protocol system, the protocol defines one-to-many application The most effectively transmit multi-medium data by IP network.The video that software based on RTSP agreement mostly is the most popular is straight Broadcast software.
The embodiment of the present invention can include but not limited to following data type by the data that RTP communications protocol sends:
One, voice data
Voice data can be by sending the audio file that the mike scene of equipment is recorded, or warp after on-the-spot recording Cross the file of the formation of audio coder coding, it is also possible to be existing audio file.Such as, voice data can be on-the-spot record The wave file of system, it is also possible to be to encode, through audio coder, the mp3 file obtained after recording, it is also possible to be stored in Mp3 file in storage medium.
Two, video data
Video data can be the data recording the coding formation of rear video encoder by sending the photographic head of equipment, it is possible to To be existing video file, it is also possible to be existing video file.Such as, video file can be the on-the-spot AVI recorded (Audio Video Interfaced, Audio Video Interleaved form) file, it is also possible to be the RM through video encoder coding File, it is also possible to be existing RM file.
Three, audio, video data
Audio, video data is the data that voice data and video data are packaged with formation.Such as, the data of transmission Form can be RM (a kind of video format of Real Media, Real company exploitation), ASF (Advanced Streaming Format, senior stream format) or other similar type.
Data are done different process by application programs before transmitting the data different in transmission equipment.Application program can be same Time recording audio file and during video file, voice data and video data can be packaged with, be transmitted the most again, Audio file and video file can also be transmitted respectively.
Embodiment of the present invention RTP transmission data need to the RTP transport module offer transmission information for transmitting data. Transmission information is determined by the application software of application layer, and transmission information is corresponding with the purpose equipment of transmission data.Transmission information can To include but not limited to following information:
IP address and/or port numbers.
The embodiment of the present invention can be implemented in ccf layer (i.e. framework layer) and carries out data biography by RTP communications protocol Defeated, provide interface (i.e. first interface) for being positioned at application layer applications software, for sending transmission letter from application layer to ccf layer Breath.First interface can be the interface that JAVA language is write.
Concrete, the definition mode of first interface may is that
Java\android\media\MediaRecoder.java: void setOutputAddress (Stringaddress,String port,String type)
Wherein, the content in bracket is transmission information, and address is IP address;
Port is port numbers;
Type is the data type of data to be transmitted, and can be voice data or video data.
After transmission data are sent to ccf layer by first interface by the transmission equipment of the embodiment of the present invention, then by being positioned at Transmission data are carried out changing the RTP transport module being then forwarded to be positioned at ccf layer by the second interface of ccf layer.Second interface can To be SOA (Service-Oriented Architecture, Services Oriented Achitecture) interface.Due to existing available RTP transport module in ccf layer programs with C Plus Plus, and first interface to be positioned at application layer be to program by JAVA language , thus the RTP in order to make the transmission information of JAVA language that ccf layer receives by first interface pass to C Plus Plus transmits mould The transmission information that block can identify, embodiments provides the second interface and believes from the transmission of first interface for conversion Breath.
In the embodiment of the present invention RTP transport module can in the future own coding device data (if encoder is audio coder, Then data are voice data;If encoder is video encoder, then data are video data), and transmit data to transmission letter Position (can be IP address and port numbers) corresponding to breath.When RTP transport module is simultaneously used for transmitting voice data and video During data, the transmission information of voice data can be different from the transmission information of video data.
RTP transport module, before sending RTP data, needs first voice data or video data to be packaged into RTP bag.
RTP bag comprises two parts content: header and payload.
The content of header is information relevant to the data of transmission in RTP, and the content comprised is as shown in Figure 3.
Version number (V): 2 bits, is used for indicating the RTP version of use.
Filler (P): 1 bit, if this position is 1, then the afterbody of this RTP bag just comprises additional byte of padding.
Extension bits (X): 1 bit, if this position is 1, is just followed by an extended head after RTP fixing head.
CSRC (Contributing SouRCe acts on source) enumerator (CC): 4 bits, is followed by containing fixing head The number of CSRC.
Marker bit (M): 1 bit, different payload has different implications, for video, the end of labelling one frame;Right In audio frequency, the beginning of labelling session;This explanation is undertaken by configuration documentation (Profile).
Load type (PT): 7 bits, identifies the type of RTP load.Such as GSM audio frequency, JPEM image etc..
Serial number (SN): 16 bits, the value in this territory is just increased by 1 after often having sent a RTP bag by transmission equipment, receives Equipment can be by the loss of this territory detection bag and recovery packet sequence.The initial value of serial number is random.
Timestamp: 32 bits, have recorded the sampling instant of the first character joint of data in this bag.Open in a data transfer During the beginning, timestamp is initialized to an initial value.Even if when not having data to transmit, the numerical value of timestamp also will in time and not Increase disconnectedly.Timestamp is used for removing shake and realizing synchronizing.
Synchronous source identifier (SSRC): 32 bits, synchronisation source refers to the source of RTP packet stream.In same RTP session Can not there be two identical SSRC values.This identifier is that the RFC1889 randomly selected recommends MD5 random algorithm.
Contributing source list (CSRC List): 0~15, each 32 bit, it is used for indicating a RTP blender generation The new source wrapping contributive all RTP bags.By blender, these contributive SSRC identifiers are inserted in table.SSRC identifies Symbol is all listed, in order to receiving terminal can correctly point out to talk the identity of both sides.
The content of payload is coded audio data or the video data of the encoder of transmission.RTP transport module will have Effect load forms RTP bag after being placed on header.
Optionally, described transmission equipment according to data distribution quality feedback information, generates real time communication at described ccf layer Control protocol RTCP bag;
Described RTCP bag is sent to described application layer by described transmission equipment, so that described transmission equipment controls RTP and sends The transfer rate of corresponding data.
In the embodiment of the present invention, RTP itself only ensures the transmission of real time data, can not carry for transmitting packet in order For reliable transfer mechanism, the most not providing flow-control or congestion control, it relies on RTCP bag to provide these services.In RTCP bag Data distribution quality feedback information can be included.Quantity containing the packet that sent in data distribution quality feedback information, The statistics such as the quantity of the packet lost.
In actual application, when transmitting data by RTP, the transmission equipment of data and the accepting device periodically phase of data Transmitting RTCP bag mutually, the network equipment (server of such as application software) controlling transfer rate can utilize these information to move State ground changes transfer rate, even changes PT Payload Type, it is thus possible to make transmission imitate with effective feedback and minimum expense Rate optimization.
In prior art, RTP transport module can periodically automatically generate and comprise data distribution quality feedback information RTCP bag.
As shown in Figure 4, the embodiment of the present invention provides a kind of overall flow transmitting data, including:
Step 401, the transmission information of transmission data is sent to ccf layer from first interface by transmission equipment;
Step 402, the equipment that sends receives described transmission information at ccf layer;
Step 403, transmission information is converted into the transmission information of support frame rack-layer by transmission equipment by the second interface;
Step 404, the transmission information of support frame rack-layer is sent to the RTP transport module of ccf layer by transmission equipment;
Step 405, the encoded audio file received from audio decoder is beaten by the RTP transport module of ccf layer It is bundled into RTP bag, and is sent to the reception equipment that transmission information is corresponding.
Step 406, the reception equipment reception RTP bag that transmission information is corresponding.
Based on same inventive concept, the embodiment of the present invention additionally provides the equipment of transmission data, owing to this equipment is corresponding Method be the method in the embodiment of the present invention, and equipment solve problem principle similar to the method for the embodiment of the present invention, Therefore the enforcement of this equipment may refer to the enforcement of method, repeats no more in place of repetition.
As it is shown in figure 5, the embodiment of the present invention provides a kind of equipment transmitting data, including:
First sending module 501, for passing through first interface in application layer, sends for the number needing transmission to ccf layer According to transmission information;
Receiver module 502, for receiving described transmission information at ccf layer;
Modular converter 503, for transmitting letter at ccf layer by the second interface, described by the support application layer received Breath is converted to the transmission information of support frame rack-layer;
Second sending module 504, for according to the transmission information after conversion, sending corresponding data by RTP.
Optionally, described first interface is JAVA interface;And/or
Described second interface is SOA interface.
Optionally, described transport packet includes IP address and/or port numbers;
The described data needing to send include voice data and/or video data.
Optionally, described first interface is positioned at described application layer;
Described second interface is positioned at described ccf layer.
Optionally, described second sending module 504, it is additionally operable to:
According to data distribution quality feedback information, generate real time communication control protocol RTCP bag;
Described RTCP bag is sent to described application layer, so that described transmission equipment controls RTP and sends corresponding data Transfer rate.
It can be seen from the above: in the method for the transmission data of the embodiment of the present invention, and the equipment that sends leads in application layer Cross first interface, send the transmission information for the data needing transmission to ccf layer;Described transmission equipment receives at ccf layer Described transmission information;Described transmission equipment at ccf layer by the second interface, the described transmission of support application layer that will receive Information is converted to the transmission information of support frame rack-layer;Described transmission equipment is according to the transmission information after conversion, and it is right to be sent by RTP The data answered.Owing to the transmission information being used for RTP can be sent to connect by the transmission equipment in the embodiment of the present invention from application layer Mouth layer, thus data can be sent at ccf layer by RTP, send the biography of data in application layer by RTP relative to existing Transmission of data method, transmits the speed of data faster.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. the method transmitting data, it is characterised in that including:
Transmission equipment by first interface, sends transmission information for the data that need transmission to ccf layer in application layer;
Described transmission equipment receives described transmission information at ccf layer;
The described transmission information of the support application layer received by the second interface, is converted to by described transmission equipment at ccf layer The transmission information of support frame rack-layer;
Described transmission equipment, according to the transmission information after conversion, sends corresponding data by real time communication protocol RTP.
2. the method for claim 1, it is characterised in that described first interface is JAVA interface;And/or
Described second interface is Services Oriented Achitecture SOA interface.
3. the method for claim 1, it is characterised in that described transport packet includes IP address and/or port numbers;
The described data needing to send include voice data and/or video data.
4. the method for claim 1, it is characterised in that
Described first interface is positioned at described application layer;
Described second interface is positioned at described ccf layer.
5. the method as described in Claims 1 to 4 is arbitrary, it is characterised in that described transmission equipment is according to the transmission letter after conversion Breath, sends corresponding data by RTP, also includes:
Described transmission equipment according to data distribution quality feedback information, generates real time communication control protocol RTCP at described ccf layer Bag;
Described RTCP bag is sent to described application layer by described transmission equipment.
6. the equipment transmitting data, it is characterised in that including:
First sending module, for passing through first interface in application layer, sends the biography for the data needing transmission to ccf layer Transmission information;
Receiver module, for receiving described transmission information at ccf layer;
Modular converter, for passing through the second interface at ccf layer, changes the described transmission information of the support application layer received Transmission information for support frame rack-layer;
Second sending module, for according to the transmission information after conversion, sending corresponding data by RTP.
7. equipment as claimed in claim 6, it is characterised in that described first interface is JAVA interface;And/or
Described second interface is SOA interface.
8. equipment as claimed in claim 6, it is characterised in that described transport packet includes IP address and/or port numbers;
The described data needing to send include voice data and/or video data.
9. equipment as claimed in claim 6, it is characterised in that
Described first interface is positioned at described application layer;
Described second interface is positioned at described ccf layer.
10. the equipment as described in as arbitrary in claim 6~9, it is characterised in that described second sending module, is additionally operable to:
According to data distribution quality feedback information, generate real time communication control protocol RTCP bag;
Described RTCP bag is sent to described application layer.
CN201511020792.XA 2015-12-30 2015-12-30 Data transmission method and device Pending CN105897687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511020792.XA CN105897687A (en) 2015-12-30 2015-12-30 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511020792.XA CN105897687A (en) 2015-12-30 2015-12-30 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN105897687A true CN105897687A (en) 2016-08-24

Family

ID=57002550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511020792.XA Pending CN105897687A (en) 2015-12-30 2015-12-30 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN105897687A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657568A (en) * 2016-09-13 2017-05-10 努比亚技术有限公司 Method and device for realizing safe call
CN108337230A (en) * 2017-12-26 2018-07-27 武汉烽火众智数字技术有限责任公司 A kind of real-time retransmission method of audio and video based on smart mobile phone and system
CN109257772A (en) * 2017-07-13 2019-01-22 普天信息技术有限公司 A kind of sending, receiving method and user equipment of RTP data
CN112019484A (en) * 2019-05-31 2020-12-01 阿里巴巴集团控股有限公司 Method for acquiring sound source data and related equipment
CN113132922A (en) * 2020-01-15 2021-07-16 成都鼎桥通信技术有限公司 Method and device for playing group call prompt tone

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767865A (en) * 2014-01-03 2015-07-08 红板凳科技股份有限公司 Intelligent tablet computer telephone system based on WIFI (Wireless Fidelity)
KR20150128256A (en) * 2014-05-09 2015-11-18 배재대학교 산학협력단 Server system having virtual android apparatus for interworking between application and real smart device
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767865A (en) * 2014-01-03 2015-07-08 红板凳科技股份有限公司 Intelligent tablet computer telephone system based on WIFI (Wireless Fidelity)
KR20150128256A (en) * 2014-05-09 2015-11-18 배재대학교 산학협력단 Server system having virtual android apparatus for interworking between application and real smart device
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
莫礼平: "《多媒体技术与应用》", 31 August 2015 *
赵金龙: "基于Android平台音频播放***设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657568A (en) * 2016-09-13 2017-05-10 努比亚技术有限公司 Method and device for realizing safe call
CN106657568B (en) * 2016-09-13 2019-08-30 努比亚技术有限公司 A kind of method and apparatus for realizing safety call
CN109257772A (en) * 2017-07-13 2019-01-22 普天信息技术有限公司 A kind of sending, receiving method and user equipment of RTP data
CN108337230A (en) * 2017-12-26 2018-07-27 武汉烽火众智数字技术有限责任公司 A kind of real-time retransmission method of audio and video based on smart mobile phone and system
CN112019484A (en) * 2019-05-31 2020-12-01 阿里巴巴集团控股有限公司 Method for acquiring sound source data and related equipment
CN112019484B (en) * 2019-05-31 2024-06-07 阿里巴巴集团控股有限公司 Method for acquiring sound source data and related equipment
CN113132922A (en) * 2020-01-15 2021-07-16 成都鼎桥通信技术有限公司 Method and device for playing group call prompt tone
CN113132922B (en) * 2020-01-15 2022-09-09 成都鼎桥通信技术有限公司 Method and device for playing group call prompt tone

Similar Documents

Publication Publication Date Title
US8239558B2 (en) Transport mechanisms for dynamic rich media scenes
JP6425720B2 (en) Method and apparatus for content delivery
CN105897687A (en) Data transmission method and device
US7840651B2 (en) Client-server emulation supporting multicast transmissions of media objects
JP4194837B2 (en) Method for forming a multimedia streaming session
CN103581699B (en) Video playing method, streaming media server and streaming media playing system
US8391278B2 (en) Method of providing a service over a hybrid network and system thereof
CN106686438B (en) method, device and system for synchronously playing audio images across equipment
US20080151885A1 (en) On-Demand Multi-Channel Streaming Session Over Packet-Switched Networks
US8208460B2 (en) Method and system for in-band signaling of multiple media streams
CN105451071B (en) Video stream processing method, device and system
KR20060114080A (en) System and method of providing multimedia streaming service
KR20100083233A (en) Apparatus and method for multimedia file streaming in portable terminal
CN110062268A (en) A kind of audio-video sends and receives processing method and processing device with what screen played
CN102497423A (en) Method, device and system for playing songs in webpage chat room
CN108282685A (en) A kind of method and monitoring system of audio-visual synchronization
CN101272383B (en) Real-time audio data transmission method
JP2005051299A (en) Packet transmission apparatus, packet reception apparatus, packet transmission method and packet reception method
CN109361671A (en) A kind of streaming media framework method based on Session Initiation Protocol
Andriescu et al. AmbiStream: a middleware for multimedia streaming on heterogeneous mobile devices
CN102833524B (en) Control method for simultaneous picture recording on local audio and calling party audio
CN105611424B (en) Audio-video reliable transmission QOS method, receiving end and system based on RUDP
CN114793225B (en) Data communication method and system for cloud mobile phone and true mobile phone
JP2006319851A (en) Portable terminal, streaming communication system, streaming communication method, and streaming communication program
CN112887497B (en) Communication method, apparatus and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824