CN110113298A - Data transmission method, device, signal server and computer-readable medium - Google Patents

Data transmission method, device, signal server and computer-readable medium Download PDF

Info

Publication number
CN110113298A
CN110113298A CN201910210116.0A CN201910210116A CN110113298A CN 110113298 A CN110113298 A CN 110113298A CN 201910210116 A CN201910210116 A CN 201910210116A CN 110113298 A CN110113298 A CN 110113298A
Authority
CN
China
Prior art keywords
data
control protocol
message body
mentioned
transmission control
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
CN201910210116.0A
Other languages
Chinese (zh)
Other versions
CN110113298B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910210116.0A priority Critical patent/CN110113298B/en
Publication of CN110113298A publication Critical patent/CN110113298A/en
Application granted granted Critical
Publication of CN110113298B publication Critical patent/CN110113298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • 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]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • 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/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses data transmission method, device, signal server and computer-readable mediums.The embodiment of this method includes: to receive signaling that client is sent, based on the duplex communication protocol, wherein the signaling includes the header field using the duplex communication protocol and the message body using the transmission control protocol;Data in the message body are parsed, parsing result is obtained;Parsing result is packaged by the duplex communication protocol, and is back to the client.The embodiment saves server resource.

Description

Data transmission method, device, signal server and computer-readable medium
Technical field
The present embodiments relate to view networking technology field, specific data transmission method, device, signal server and calculating Machine readable medium.
Background technique
With the development of computer technology, in more and more scenes (such as visual telephone service scene), need into The communication of client (such as browser) in row different terminal equipment.
Existing mode is usually to utilize WebRTC (Web Real-Time Communication, webpage instant messaging) Realize data transmission.However, this mode needs to dispose the letter for being based on duplex communication protocol (such as websocket protocol) first Server is enabled, signalling can not be carried out using the existing server based on transmission control protocol.
Summary of the invention
The embodiment of the present invention proposes data transmission method, device, signal server and computer-readable medium, to solve The technical issues of signalling can not being carried out using the existing server based on transmission control protocol in the prior art.
In a first aspect, this method is applied to signal server the embodiment of the invention provides a kind of data transmission method, on Signalling can be carried out by duplex communication protocol and terminal device by stating signal server, and above-mentioned installing terminal equipment has support The client of webpage instant messaging, above-mentioned signal server are built by streaming media server, and above-mentioned streaming media server can Parsed to using the information of transmission control protocol, this method comprises: receive it is that above-mentioned client is sent, based on above-mentioned duplex The signaling of communication protocol, wherein above-mentioned signaling includes controlling using the header field of above-mentioned duplex communication protocol and using above-mentioned transmission The message body of agreement;Data in above-mentioned message body are parsed, parsing result is obtained;It will by above-mentioned duplex communication protocol Parsing result is packaged, and is back to above-mentioned client.
In some embodiments, transmission control protocol multiplexing class, above-mentioned transmission are previously provided in above-mentioned signal server Control protocol is multiplexed the preset transmission control protocol of Similar integral and parses class, and above-mentioned transmission control protocol parsing class wrapper has to use The analytic method of the information of transmission control protocol;And the above-mentioned data in above-mentioned message body parse, and obtain parsing knot Fruit, comprising: extract the message body in above-mentioned signaling;Above-mentioned transmission control protocol multiplexing class is instantiated, to call above-mentioned parsing side Method parses the data in above-mentioned message body, obtains parsing result.
In some embodiments, the above-mentioned data in above-mentioned message body parse, and obtain parsing result, comprising: ring It should be in determining that the data in above-mentioned message body include calling number, called number and the field for being used to indicate type of call, upper It states and increases field needed for above-mentioned client carries out webpage instant messaging in message body.
In some embodiments, above-mentioned signal server supports the signaling transfer of above-mentioned client Yu other clients, on State acquisition, caching, scheduling and transmission that signal server is able to carry out a variety of data, wherein above-mentioned a variety of data include video Data, audio data and image data.
Second aspect, the embodiment of the invention provides a kind of data transmission device, which is applied to signal server, on Signalling can be carried out by duplex communication protocol and terminal device by stating signal server, and above-mentioned installing terminal equipment has support The client of webpage instant messaging, above-mentioned signal server are built by streaming media server, and above-mentioned streaming media server can It is parsed to using the information of transmission control protocol, above-mentioned apparatus includes: receiving unit, is configured to receive above-mentioned client Signaling send, based on above-mentioned duplex communication protocol, wherein above-mentioned signaling includes the header field using above-mentioned duplex communication protocol With the message body using above-mentioned transmission control protocol;Resolution unit is configured to parse the data in above-mentioned message body, Obtain parsing result;Return unit is configured to be packaged parsing result by above-mentioned duplex communication protocol, and is back to Above-mentioned client.
In some embodiments, transmission control protocol multiplexing class, above-mentioned transmission are previously provided in above-mentioned signal server Control protocol is multiplexed the preset transmission control protocol of Similar integral and parses class, and above-mentioned transmission control protocol parsing class wrapper has to use The analytic method of the information of transmission control protocol;And above-mentioned resolution unit, it is further configured to: extracting in above-mentioned signaling Message body;Instantiate above-mentioned transmission control protocol multiplexing class, with call above-mentioned analytic method to the data in above-mentioned message body into Row parsing, obtains parsing result.
In some embodiments, above-mentioned resolution unit, is further configured to: in response to the number in the above-mentioned message body of determination According to including calling number, called number and the field for being used to indicate type of call, increase above-mentioned client in above-mentioned message body Field needed for carrying out webpage instant messaging.
In some embodiments, above-mentioned signal server supports the signaling transfer of above-mentioned client Yu other clients, on State acquisition, caching, scheduling and transmission that signal server is able to carry out a variety of data, wherein above-mentioned a variety of data include video Data, audio data and image data.
The third aspect, the embodiment of the present application provide a kind of signal server, comprising: one or more processors;Storage Device is stored thereon with one or more programs, when one or more programs are executed by one or more processors, so that one Or multiple processors realize the method such as any embodiment in above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method such as any embodiment in above-mentioned first aspect is realized when program is executed by processor.
Data transmission method provided in an embodiment of the present invention, device are applied in signal server.The signal server energy Signalling is enough carried out by duplex communication protocol (such as websocket protocol) and terminal device.Above-mentioned signal server is logical It crosses streaming media server to build, above-mentioned streaming media server can be parsed to using the information of transmission control protocol.Signaling It, can be right after signaling that server is sent in the client for receiving installing terminal equipment, based on above-mentioned duplex communication protocol Data in above-mentioned message body are parsed, and parsing result is obtained, finally by above-mentioned duplex communication protocol by parsing result into Row encapsulation, is back to above-mentioned client for the signaling after encapsulation.Since the original agreement of streaming media server is to pass transport control protocol View, hereby it is achieved that the original agreement of streaming media server supports duplex communication protocol (such as websocket protocol) extension, together When do not need to build a server again as signal server, save server resource.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of data transmission method one embodiment of the invention;
Fig. 2 is the flow chart of data transmission device one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It continues to refer to figure 1, it illustrates the processes 100 of one embodiment of data transmission method according to the present invention.It should Method can be applied to the above method applied to signal server.
Herein, above-mentioned signal server can pass through duplex communication protocol (such as websocket protocol) and terminal device Carry out signalling.
Herein, above-mentioned installing terminal equipment has supported web page instant messaging (WebRTC, Web Real-Time Communication client (such as browser etc.)).
In practice, WebRTC is the API that a supported web page browser carries out real-time voice dialogue or video conversation (Application Programming Interface, application programming interface).Its coding strategy, bidding strategy and its Network transmission and stream interface driver solve the problems, such as to export in network adverse circumstances audio-video high quality.
Herein, above-mentioned terminal device can be various electronic equipments, such as mobile phone, laptop, tablet computer, desk-top Computer etc..
Herein, above-mentioned signal server is built by streaming media server.Above-mentioned streaming media server can be to using biography The information of transport control protocol view (Transmission Control Protocol, TCP) is parsed.In practice, Streaming Media refer to Stream mode transmits the media format of audio, video and multimedia file in a network.Relative to the netcast watched after downloading For form, Streaming Media is typically characterised by being put on network server after continuous audio and video Information Compression, user It is watched in downloading, without waiting entire file download to finish.Due to the superiority of stream media technology, which is widely applied In video on demand, video conference, long-distance education, tele-medicine and online live broadcast system.
In practice, streaming media server is the core system of Stream Media Application, is that operator provides a user Video service Key Platform.The major function of streaming media server is that streaming media content is acquired, caches, dispatches and transmits broadcasting. The main performance of Stream Media Application system embodies the performance and service quality for both depending on media server.Therefore, Streaming Media takes Business device be Stream Media Application system basis and most important component part.
It can specifically include following steps:
Step 101, signaling that client is sent, based on duplex communication protocol is received.
In the present embodiment, the executing subject (such as above-mentioned signal server) of data transmission method can receive client Signaling sending, being based on duplex communication protocol (such as websocket protocol).
In practice, websocket is a kind of agreement that full-duplex communication is carried out in single TCP connection.WebSocket is logical Letter agreement allows server-side actively to push away to client in making the data exchange between client and server become simpler Send data.In WebSocket API, browser and server, which only needs to be performed, once shakes hands, between the two just directly can be with Persistent connection is created, and carries out bidirectional data transfers.
It should be noted that above-mentioned signaling may include the head using duplex communication protocol (such as websocket protocol) Domain (head) and the message body (body) for using transmission control protocol (such as Transmission Control Protocol).
Step 102, the data in message body are parsed, obtains parsing result.
In the present embodiment, above-mentioned executing subject can extract the data in message body first, then in message body Data are parsed (such as read data, determine data type etc.), obtain parsing result.
In some optional implementations of the present embodiment, transmission control can be previously provided in above-mentioned signal server Protocol multiplexing class processed.Above-mentioned transmission control protocol multiplexing class is that technical staff is pre-set, can inherit preset transmission control The class of protocol analysis class processed.Above-mentioned transmission control protocol parsing class can be packaged with the solution to the information using transmission control protocol Analysis method.It should be noted that other data in above-mentioned transmission control protocol multiplexing class and transmission control protocol parsing class, It is as needed and preset to can be technical staff.Since above-mentioned transmission control protocol is multiplexed Similar integral transmission control protocol Class is parsed, and transmission control protocol parsing class wrapper has the analytic method to the information using transmission control protocol to be therefore based on Above-mentioned transmission control protocol multiplexing class can also realize the parsing to the information using transmission control protocol.
In above-mentioned implementation, the message body in above-mentioned signaling can be extracted first.Then, above-mentioned transmission control is instantiated Protocol multiplexing class processed obtains parsing result to call above-mentioned analytic method to parse the data in above-mentioned message body.Practice In, class is instantiated after obtaining object, that is, the method packaged by such can be performed, therefore, it is possible to by instantiating above-mentioned transmission Control protocol is multiplexed class, to execute above-mentioned analytic method.
In some optional implementations of the present embodiment, above-mentioned executing subject can determine the number in above-mentioned message body According to including calling number, called number and the field for being used to indicate type of call.In response to the data in the above-mentioned message body of determination Including calling number, called number and the field for being used to indicate type of call, above-mentioned client can be increased in above-mentioned message body Field (such as port numbers, network address etc.) needed for end carries out webpage instant messaging, using the message body after increase field as parsing As a result.
In some optional implementations of the present embodiment, above-mentioned signal server is able to carry out adopting for a variety of data Collection, caching, scheduling and transmission.Wherein, above-mentioned a variety of data may include video data, audio data and image data.It is above-mentioned May include in the message body of signaling be used to indicate read target data (such as stored in signal server certain video data, Certain audio data, certain image data etc.) instruction.Above-mentioned executing subject searches target data indicated by above-metioned instruction, and will Above-mentioned target data is as parsing result.
Step 103, parsing result is packaged by duplex communication protocol, and is back to client.
In the present embodiment, above-mentioned executing subject can will be solved by duplex communication protocol (such as websocket protocol) Analysis result is packaged, and is back to above-mentioned client.
In some optional implementations of the present embodiment, above-mentioned signal server can also support above-mentioned client with The signaling transfer of other clients.
In embodiments of the present invention, signal server passes through duplex communication protocol (such as websocket protocol) and terminal Equipment carries out signalling.Above-mentioned signal server is built by streaming media server, and above-mentioned streaming media server can be to adopting It is parsed with the information of transmission control protocol.Signal server is sent in the client for receiving installing terminal equipment, base After the signaling of above-mentioned duplex communication protocol, the data in above-mentioned message body can be parsed, obtain parsing result, finally Parsing result is packaged by above-mentioned duplex communication protocol, the signaling after encapsulation is back to above-mentioned client.Due to stream The original agreement of media server is transmission control protocol, hereby it is achieved that the original agreement of streaming media server supports that duplex is logical Believe agreement (such as websocket protocol) extension, while not needing to build a server again as signal server, saves Server resource.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
With further reference to Fig. 2, the structural schematic diagram of one embodiment of the data transmission device of Ben Fanming is shown, the dress It sets and is applied to signal server, above-mentioned signal server can carry out signalling by duplex communication protocol and terminal device, Above-mentioned installing terminal equipment has the client of supported web page instant messaging, and above-mentioned signal server is taken by streaming media server It builds, above-mentioned streaming media server can be parsed to using the information of transmission control protocol.
As shown in Fig. 2, data transmission device 200 described in the present embodiment includes: receiving unit 201, it is configured to receive Signaling that above-mentioned client is sent, based on above-mentioned duplex communication protocol, wherein above-mentioned signaling includes using above-mentioned duplex communication The header field of agreement and the message body for using above-mentioned transmission control protocol;Resolution unit 202 is configured to in above-mentioned message body Data are parsed, and parsing result is obtained;Return unit 203 is configured to parsing result through above-mentioned duplex communication protocol It is packaged, the signaling after encapsulation is back to above-mentioned client.
In some optional implementations of the present embodiment, transmission control can be previously provided in above-mentioned signal server Protocol multiplexing class processed, the preset transmission control protocol of above-mentioned transmission control protocol multiplexing Similar integral parse class, above-mentioned transmission control Protocol analysis class wrapper has the analytic method to the information using transmission control protocol;And above-mentioned resolution unit, further by It is configured to: extracting the message body in above-mentioned signaling;Above-mentioned transmission control protocol multiplexing class is instantiated, to call above-mentioned analytic method Data in above-mentioned message body are parsed, parsing result is obtained.
In some optional implementations of the present embodiment, above-mentioned resolution unit 202 can be further configured to: be rung It should be in determining that the data in above-mentioned message body include calling number, called number and the field for being used to indicate type of call, upper It states and increases field needed for above-mentioned client carries out webpage instant messaging in message body.
In some optional implementations of the present embodiment, above-mentioned signal server supports above-mentioned client and other visitors The signaling transfer at family end, above-mentioned signal server are able to carry out acquisition, caching, scheduling and the transmission of a variety of data, wherein above-mentioned A variety of data include video data, audio data and image data.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Data transmission method provided by the present invention, device, signal server and computer-readable medium are carried out above It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. a kind of data transmission method, which is characterized in that the method is applied to signal server, and the signal server can Signalling is carried out by duplex communication protocol and terminal device, the installing terminal equipment has the visitor of supported web page instant messaging Family end, the signal server are built by streaming media server, and the streaming media server can be to using biography transport control protocol The information of view is parsed, which comprises
Receive signaling that the client is sent, based on the duplex communication protocol, wherein the signaling includes described in use The header field of duplex communication protocol and the message body for using the transmission control protocol;
Data in the message body are parsed, parsing result is obtained;
The parsing result is packaged by the duplex communication protocol, and is back to the client.
2. data transmission method according to claim 1, which is characterized in that be previously provided with biography in the signal server Transport control protocol view multiplexing class, the preset transmission control protocol of the transmission control protocol multiplexing Similar integral parse class, the transmission Control protocol parsing class wrapper has the analytic method to the information using transmission control protocol;And
The data in the message body parse, and obtain parsing result, comprising:
Extract the message body in the signaling;
The transmission control protocol multiplexing class is instantiated, to call the analytic method to solve the data in the message body Analysis, obtains parsing result.
3. data transmission method according to claim 1, which is characterized in that the data in the message body carry out Parsing, obtains parsing result, comprising:
It include calling number, called number and the word for being used to indicate type of call in response to the data in the determination message body Section increases field needed for the client carries out webpage instant messaging in the message body.
4. data transmission method according to claim 1, which is characterized in that the signal server supports the client With the signaling transfer of other clients, the signal server is able to carry out acquisition, caching, scheduling and the transmission of a variety of data, Wherein, a variety of data include video data, audio data and image data.
5. a kind of data transmission device, which is characterized in that described device is applied to signal server, and the signal server can Signalling is carried out by duplex communication protocol and terminal device, the installing terminal equipment has the visitor of supported web page instant messaging Family end, the signal server are built by streaming media server, and the streaming media server can be to using biography transport control protocol The information of view is parsed, and described device includes:
Receiving unit is configured to receive signaling that the client is sent, based on the duplex communication protocol, wherein institute Stating signaling includes the header field using the duplex communication protocol and the message body using the transmission control protocol;
Resolution unit is configured to parse the data in the message body, obtains parsing result;
Return unit is configured to be packaged the parsing result by the duplex communication protocol, and is back to described Client.
6. data transmission device according to claim 5, which is characterized in that be previously provided with biography in the signal server Transport control protocol view multiplexing class, the preset transmission control protocol of the transmission control protocol multiplexing Similar integral parse class, the transmission Control protocol parsing class wrapper has the analytic method to the information using transmission control protocol;And
The resolution unit, is further configured to:
Extract the message body in the signaling;
The transmission control protocol multiplexing class is instantiated, to call the analytic method to solve the data in the message body Analysis, obtains parsing result.
7. data transmission device according to claim 5, which is characterized in that the resolution unit is further configured to:
It include calling number, called number and the word for being used to indicate type of call in response to the data in the determination message body Section increases field needed for the client carries out webpage instant messaging in the message body.
8. data transmission device according to claim 5, which is characterized in that the signal server supports the client With the signaling transfer of other clients, the signal server is able to carry out acquisition, caching, scheduling and the transmission of a variety of data, Wherein, a variety of data include video data, audio data and image data.
9. a kind of signal server characterized by comprising
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-4.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that the program is executed by processor Method of the Shi Shixian as described in any in claim 1-4.
CN201910210116.0A 2019-03-19 2019-03-19 Data transmission method, device, signaling server and computer readable medium Active CN110113298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910210116.0A CN110113298B (en) 2019-03-19 2019-03-19 Data transmission method, device, signaling server and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910210116.0A CN110113298B (en) 2019-03-19 2019-03-19 Data transmission method, device, signaling server and computer readable medium

Publications (2)

Publication Number Publication Date
CN110113298A true CN110113298A (en) 2019-08-09
CN110113298B CN110113298B (en) 2021-09-28

Family

ID=67484430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910210116.0A Active CN110113298B (en) 2019-03-19 2019-03-19 Data transmission method, device, signaling server and computer readable medium

Country Status (1)

Country Link
CN (1) CN110113298B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274910A (en) * 2020-01-16 2020-06-12 腾讯科技(深圳)有限公司 Scene interaction method and device and electronic equipment
CN111614612A (en) * 2020-04-03 2020-09-01 视联动力信息技术股份有限公司 Communication protocol implementation method, device, network management server and storage medium
CN112468352A (en) * 2021-02-02 2021-03-09 零犀(北京)科技有限公司 Voice communication method, device and system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099897A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Method of communication between browser and telecommunication network and gateway
US20160119399A1 (en) * 2014-10-24 2016-04-28 Kevin J. Glass Extending browser support of real time media to any available codec
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser
CN107809683A (en) * 2017-11-22 2018-03-16 广东电网有限责任公司教育培训评价中心 A kind of live broadcast system and method without plug-in unit based on browser
CN108848121A (en) * 2018-05-03 2018-11-20 广州视源电子科技股份有限公司 Screen picture transmission method, device, server, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099897A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Method of communication between browser and telecommunication network and gateway
US20160119399A1 (en) * 2014-10-24 2016-04-28 Kevin J. Glass Extending browser support of real time media to any available codec
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser
CN107809683A (en) * 2017-11-22 2018-03-16 广东电网有限责任公司教育培训评价中心 A kind of live broadcast system and method without plug-in unit based on browser
CN108848121A (en) * 2018-05-03 2018-11-20 广州视源电子科技股份有限公司 Screen picture transmission method, device, server, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张远: "视频会议系统中TCP/RTMP/WebSocket协议间转换的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274910A (en) * 2020-01-16 2020-06-12 腾讯科技(深圳)有限公司 Scene interaction method and device and electronic equipment
US20220156986A1 (en) * 2020-01-16 2022-05-19 Tencent Technology (Shenzhen) Company Limited Scene interaction method and apparatus, electronic device, and computer storage medium
CN111274910B (en) * 2020-01-16 2024-01-30 腾讯科技(深圳)有限公司 Scene interaction method and device and electronic equipment
US12033241B2 (en) * 2020-01-16 2024-07-09 Tencent Technology (Shenzhen) Company Limited Scene interaction method and apparatus, electronic device, and computer storage medium
CN111614612A (en) * 2020-04-03 2020-09-01 视联动力信息技术股份有限公司 Communication protocol implementation method, device, network management server and storage medium
CN112468352A (en) * 2021-02-02 2021-03-09 零犀(北京)科技有限公司 Voice communication method, device and system and electronic equipment
CN112468352B (en) * 2021-02-02 2021-06-08 零犀(北京)科技有限公司 Voice communication method, device and system and electronic equipment

Also Published As

Publication number Publication date
CN110113298B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN105763960B (en) A kind of method and apparatus that network video plays
CN109152095B (en) Wireless network connection method for terminal
CN112738140B (en) Video stream transmission method, device, storage medium and equipment based on WebRTC
KR100993955B1 (en) Multimedia presentation
JP6582100B2 (en) Method and apparatus for providing voice service
CN113141523B (en) Resource transmission method, device, terminal and storage medium
CN108810657B (en) Method and system for setting video cover
WO2019128800A1 (en) Content service implementation method and device, and content delivery network node
US20220060532A1 (en) Method for transmitting resources and electronic device
CN110113298A (en) Data transmission method, device, signal server and computer-readable medium
CN112653700A (en) Website video communication method based on WEBRTC
CN106789581A (en) Instant communication method, apparatus and system
CN109640113A (en) A kind of processing method and proxy server of dilatory video data
EP3311584A1 (en) Media-timed web interactions
CN108337556B (en) Method and device for playing audio-video file
CN108271083A (en) A kind of media handling framework and method
CN105635188B (en) A kind of visual content distribution method and system
CN112839192A (en) Audio and video communication system and method based on browser
CN110120930A (en) Obtain method, system and the multimedia equipment of transmission file
CN112714131A (en) Cross-platform microphone connecting method and device, storage medium and electronic equipment
CN114844870B (en) Media stream acquisition method and device, electronic equipment and storage medium
CN111787417B (en) Audio and video transmission control method based on artificial intelligence AI and related equipment
CN108616760B (en) Live broadcasting method based on browser, server, anchor terminal and user terminal
CN117955959A (en) Collaborative transmission method, device, equipment and storage medium for multimedia content
CN115022725A (en) Video playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant