CN110719432A - Data transmission method and device, electronic equipment and storage medium - Google Patents

Data transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110719432A
CN110719432A CN201910860657.8A CN201910860657A CN110719432A CN 110719432 A CN110719432 A CN 110719432A CN 201910860657 A CN201910860657 A CN 201910860657A CN 110719432 A CN110719432 A CN 110719432A
Authority
CN
China
Prior art keywords
transmitted
terminal
information
conference
message
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
CN201910860657.8A
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.)
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 CN201910860657.8A priority Critical patent/CN110719432A/en
Publication of CN110719432A publication Critical patent/CN110719432A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • 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/08Protocols for interworking; Protocol conversion
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/152Multipoint control units therefor

Abstract

The invention provides a data transmission method, a data transmission device, electronic equipment and a storage medium. The method comprises the following steps: receiving a first message which is sent by a source terminal and carries information to be transmitted; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal; determining whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal; and after the data type is determined to be the transparent transmission type, packaging the information to be transmitted into a second message, and transmitting the second message to the target terminal. The invention has simpler and more convenient data transmission process and higher transmission efficiency, and does not need to occupy too many resources of the conference scheduling server.

Description

Data transmission method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of network technologies, bidirectional communications such as video conferences, video teaching, video phones, and the like are widely popularized in the aspects of life, work, learning, and the like of users. Video conferencing refers to a conference in which people at two or more locations have a face-to-face conversation via a communication device and a network. Video conferences can be divided into point-to-point conferences and multipoint conferences according to different numbers of participating places.
In the video conference process, the conference control terminal can interact with the conference terminals through the conference scheduling server. In the prior art, when data transmitted between a conference control terminal and a participant terminal passes through a conference scheduling server, the conference scheduling server analyzes specific data content according to a protocol defined by a source terminal, and then sends the data content to a target terminal according to the protocol defined by the target terminal. However, the data transmission process in this way is complicated, and the transmission efficiency is low.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data transmission method, apparatus, electronic device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a data transmission method, where the method includes:
receiving a first message which is sent by a source terminal and carries information to be transmitted; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal;
determining whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal;
and after the data type is determined to be the transparent transmission type, packaging the information to be transmitted into a second message, and transmitting the second message to the target terminal.
Optionally, the step of determining whether the data type is a transparent transmission type includes: analyzing the information to be transmitted from the first message; extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type; comparing the character string with a preset character string for representing the transparent transmission type; and when the comparison results are the same, determining that the data type is the transparent transmission type.
Optionally, the source terminal is a conference control terminal, and the target terminal is a conference participating terminal; the step of receiving the first message carrying the information to be transmitted sent by the source terminal includes: receiving a first internet message which is sent by the conference control terminal and carries information to be transmitted; the information to be transmitted is request information; the step of packaging the information to be transmitted into a second message and transmitting the second message to the target terminal includes: and packaging the information to be transmitted into a first video network message based on a video network transparent transmission protocol, and forwarding the first video network message to the participant terminal through a video network server.
Optionally, the information to be transmitted further includes a local conference identifier; the step of packaging the information to be transmitted into a first video network message based on the video network transparent transmission protocol comprises the following steps: inquiring a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier; assigning the global conference identifier to a conference identifier field in the video network transparent transmission protocol, assigning the target terminal identifier, the data type and the data to be transmitted to a command parameter field of the video network transparent transmission protocol, and assigning a numerical value for expressing a transparent transmission message to an operation code of the video network transparent transmission protocol; and packaging the assigned video networking transparent transmission protocol into a first video networking message.
Optionally, the source terminal is a participant terminal, and the target terminal is a conference control terminal; the step of receiving the first message carrying the information to be transmitted sent by the source terminal includes: receiving a second video networking message which is returned by the participant terminal through the video networking server and carries information to be transmitted; the information to be transmitted is response information aiming at the request information; the step of packaging the information to be transmitted into a second message and transmitting the second message to the target terminal includes: and packaging the information to be transmitted into a second internet message based on an internet protocol, and sending the second internet message to the conference control terminal in a socket connection mode.
In a second aspect, an embodiment of the present invention discloses a data transmission apparatus, where the apparatus includes:
the receiving module is used for receiving a first message which is sent by a source terminal and carries information to be transmitted; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal;
the determining module is used for determining whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal;
and the transmission module is used for packaging the information to be transmitted into a second message after the data type is determined to be the transparent transmission type, and transmitting the second message to the target terminal.
Optionally, the determining module includes: the analysis submodule is used for analyzing the information to be transmitted from the first message; the extraction submodule is used for extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type; the comparison submodule is used for comparing the character string with a preset character string for representing the transparent transmission type; and the determining submodule is used for determining that the data type is the transparent transmission type when the comparison results are the same.
Optionally, the source terminal is a conference control terminal, and the target terminal is a conference participating terminal; the receiving module includes: the first receiving submodule is used for receiving a first internet message which is sent by the conference control terminal and carries information to be transmitted; the information to be transmitted is request information; the transmission module includes: and the first transmission submodule is used for packaging the information to be transmitted into a first video network message based on a video network transparent transmission protocol and forwarding the first video network message to the participant terminal through a video network server.
Optionally, the information to be transmitted further includes a local conference identifier; the first transmission submodule includes: the system comprises a query unit, a processing unit and a processing unit, wherein the query unit is used for querying a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier; the assignment unit is used for assigning the global conference identifier to a conference identifier field in the video network transparent transmission protocol, assigning the target terminal identifier, the data type and the data to be transmitted to a command parameter field of the video network transparent transmission protocol, and assigning a numerical value for expressing a transparent transmission message to an operation code of the video network transparent transmission protocol; and the encapsulation unit is used for encapsulating the video networking transparent transmission protocol after being assigned into a first video networking message.
Optionally, the source terminal is a participant terminal, and the target terminal is a conference control terminal; the receiving module includes: the second receiving submodule is used for receiving a second video network message which is returned by the participant terminal through the video network server and carries information to be transmitted; the information to be transmitted is response information aiming at the request information; the transmission module includes: and the second transmission submodule is used for packaging the information to be transmitted into a second internet message based on an internet protocol and sending the second internet message to the conference control terminal in a socket connection mode.
In a third aspect, an embodiment of the present invention discloses an electronic device, including: one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the processors to perform a data transmission method as in any one of the above.
In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data transmission method as described in any one of the above.
In the embodiment of the invention, a conference scheduling server receives a first message which is sent by a source terminal and carries information to be transmitted, wherein the information to be transmitted comprises a target terminal identifier, a data type and data to be transmitted, and the source terminal is one of a conference control terminal and a participant terminal; the conference scheduling server determines whether the data type is a transparent transmission type, wherein the transparent transmission type represents that the format of the data to be transmitted is predetermined by the source terminal and a target terminal corresponding to the target terminal identifier, and the target terminal is the other of the conference control terminal and the conference participating terminal; and after determining that the data type is the transparent transmission type, the conference scheduling server encapsulates the information to be transmitted into a second message, and transmits the second message to the target terminal. Therefore, in the embodiment of the invention, the data type is set for the data to be transmitted between the conference control terminal and the conference participating terminal, and the format of the data in the transparent transmission type is agreed between the conference control terminal and the conference participating terminal. Therefore, for the data of the transparent transmission type, after the conference scheduling server analyzes the data type, the conference scheduling server does not need to analyze the data to be transmitted, and the data are directly transmitted, so that a channel for transmitting the data of the transparent transmission type between the conference control terminal and the participant terminal is realized, the data transmission process is simpler and more convenient, the transmission efficiency is higher, too many resources of the conference scheduling server do not need to be occupied, when the data of the newly added function exists, the conference control terminal and the participant terminal can be set, the conference scheduling server does not need to be set again, and manpower and material resources are saved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flowchart illustrating steps of a data transmission method according to a first embodiment of the present invention;
FIG. 6 is a diagram illustrating device interaction according to a second embodiment of the present invention;
FIG. 7 is a flowchart illustrating steps of a data transmission method according to a second embodiment of the present invention;
fig. 8 is a block diagram of a data transmission apparatus according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
In video-on-video conferencing, the devices involved may include conferencing terminals, a conference scheduling server, a video-on-video server, and video-on-video terminals.
The conference control terminal can be used for controlling the video conference, such as selecting the terminal for group conference, setting the role of the terminal in the conference, sending a conference control instruction, and the like. The conference control terminal may be conference control software (such as Pamir (Pamir) software, a mobile phone terminal, a Web terminal, and the like), and the conference control terminal may be installed on a device such as a PC (personal computer), a mobile phone, a wearable device, and the like. The conference scheduling server is used for realizing the function of communication between the conference control terminal and the video networking server and realizing the service of scheduling the video conference function. The video network server carries the main service of the video network, sends control signaling to the terminal and responds to some request signaling. The video network terminal is a service landing device on the video network, an actual participant or a server of the video network service, and the video network terminal can be various set top boxes, PCs and the like.
Several major roles in video networking video conferencing:
a chairman: it can be understood that the initiator and the leader of the conference, and all participants receive the audio and video information of the chairman all the time during the whole conference.
The speaking party 1: the first speaker in the conference can switch through the conference control software, and all participants can receive the audio and video information of the speaker 1.
And the speaking party 2: the second speaker in the conference can switch through the conference control software, and all participants can receive the audio information of the speaker 2 and can not receive the video information.
The chairperson watching party: a video of the chairman party is viewed.
The common ginseng prescription: the video of the chairman and the speaking party 1 is displayed, and the audio of the chairman, the speaking party 1 and the speaking party 2 is heard.
Referring to fig. 5, a flowchart illustrating steps of a data transmission method according to a first embodiment of the present invention is shown. The data transmission method of the embodiment of the invention can be applied to a conference scheduling server.
The data transmission method of the embodiment of the invention can comprise the following steps:
step 501, receiving a first message carrying information to be transmitted, which is sent by a source terminal.
The embodiment of the invention mainly relates to bidirectional data transmission between the conference control terminal and the conference participating terminals. Therefore, the source terminal is one of the conference terminal and the participant terminal, and the target terminal is the other of the conference terminal and the participant terminal. That is, when the source terminal is the conference control terminal, the target terminal is the conference participating terminal; and when the source terminal is a participant terminal, the target terminal is a conference control terminal. Wherein, the participating terminal is a video networking terminal.
When a source terminal needs to transmit data to a target terminal, the source terminal packages information to be transmitted into a first message and sends the first message to a conference scheduling server. The information to be transmitted may include a target terminal identifier, a data type, and data to be transmitted, and the information of the data type is added. The data type refers to the type of data to be transmitted, and the data type may include a transparent transmission type and a non-transparent transmission type.
The format of the data to be transmitted represented by the transparent transmission type is predetermined by the source terminal and the target terminal corresponding to the target terminal identifier. The transparent transmission type data does not need to be analyzed by the conference scheduling server. For example, the related data of the caption display request and the related data of the picture quit display request transmitted to the participating terminal by the conference control terminal are directly transmitted to the participating terminal without being analyzed by the conference scheduling server, so that the data are of a transparent transmission type.
The format of the data to be transmitted represented by the non-transparent transmission type is respectively predetermined by the source terminal, the conference scheduling server and the target terminal corresponding to the target terminal identification. The non-transparent transmission type data is analyzed by the conference scheduling server. For example, the data related to the command for switching speakers, the data related to the command for acquiring the status command of the participants, the data related to the command for adding the commands of the participants, the data related to the command for deleting the commands of the participants, and the like, which are transmitted to the participant terminals by the conference control server, are analyzed and scheduled by the conference scheduling server, so that the data are of a non-transparent transmission type.
Step 502, determining whether the data type is a transparent transmission type.
After receiving the first message sent by the source terminal, the conference scheduling server may analyze a data type included in the to-be-transmitted information carried in the first message, and determine whether the data type is a transparent transmission type.
In an alternative embodiment, the step of determining whether the data type is a transparent transmission type may include: analyzing the information to be transmitted from the first message; extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type; comparing the character string with a preset character string for representing the transparent transmission type; and when the comparison results are the same, determining that the data type is the transparent transmission type.
The method comprises the steps of presetting the placement position of the data type in the information to be transmitted, and obtaining which character strings in the information to be transmitted are character strings representing the data type according to the placement position, so as to extract the character strings. Presetting a character string for representing the transparent transmission type, comparing the extracted character string for representing the data type with the character string for representing the transparent transmission type, if the extracted character string for representing the data type is the same as the character string for representing the transparent transmission type, indicating that the data type is the transparent transmission type, otherwise, indicating that the data type is the non-transparent transmission type.
Step 503, after determining that the data type is the transparent transmission type, encapsulating the information to be transmitted into a second message, and transmitting the second message to the target terminal.
And after the data type is determined to be the transparent transmission type, the conference scheduling server does not continue to analyze the data to be transmitted, encapsulates the information to be transmitted into a second message, and transmits the second message to the target terminal corresponding to the target terminal identifier. Because the format of the data to be transmitted in the transparent transmission type is agreed by the source terminal and the target terminal in advance, the target terminal can analyze the data to be transmitted according to the agreed format in advance and execute corresponding operation.
And after the data type is determined to be the non-transparent transmission type, the conference scheduling server continues to analyze and schedule the data to be transmitted, encapsulates the information to be transmitted and transmits the information to the target terminal.
In the embodiment of the invention, the data type is set for the data to be transmitted between the conference control terminal and the conference participating terminal, and the format of the data of the transparent transmission type is agreed between the conference control terminal and the conference participating terminal. Therefore, for the data of the transparent transmission type, after the conference scheduling server analyzes the data type, the conference scheduling server does not need to analyze the data to be transmitted, and the data are directly transmitted, so that a channel for transmitting the data of the transparent transmission type between the conference control terminal and the participant terminal is realized, the data transmission process is simpler and more convenient, the transmission efficiency is higher, too many resources of the conference scheduling server do not need to be occupied, when the data of the newly added function exists, the conference control terminal and the participant terminal can be set, the conference scheduling server does not need to be set again, and manpower and material resources are saved.
Example two
The data transmission method of the embodiment of the invention relates to a process of transmitting data from a conference terminal to the conference terminal when a source terminal is the conference terminal and a target terminal is the conference terminal, and a process of transmitting data from the conference terminal to the conference terminal when the source terminal is the conference terminal and the target terminal is the conference terminal.
Fig. 6 is a schematic diagram of device interaction according to a second embodiment of the present invention. As can be seen from fig. 6, in the direction in which the conference control terminal transmits data to the participant terminals, the conference control terminal transmits data to the conference scheduling server, the conference scheduling server transmits data to the video network server, and the video network server transmits data to the participant terminals. In the direction of transmitting data from the participant terminal to the conference control terminal, the participant terminal transmits data to the video network server, the video network server transmits data to the conference scheduling server, and the conference scheduling server transmits data to the conference control terminal.
Referring to fig. 7, a flowchart illustrating steps of a data transmission method according to a second embodiment of the present invention is shown. The data transmission method of the present embodiment relates to a process in which the conference terminal transmits request information to the participant terminals (steps 701 to 703), and the participant terminals return response information to the request information to the conference terminal (steps 704 to 706).
The data transmission method of the embodiment of the invention can comprise the following steps:
step 701, a conference scheduling server receives a first internet message carrying information to be transmitted, which is sent by the conference control terminal.
In step 701, the conference terminal is a source terminal, and the first internet message is a first message.
The information to be transmitted sent by the conference terminal is request information, such as sending subtitle request information, sending conference quit picture request information, and the like. The information to be transmitted comprises a target terminal identification, a data type and data to be transmitted. The target terminal identification is an identification of the target participating terminal, such as a video network number of the target participating terminal. The data to be transmitted is request related data, such as subtitle data, conference return picture data, and the like.
The conference Control terminal converts the information to be transmitted into a form of a JSON (JavaScript Object Notation) character string, that is, the information to be transmitted is a character string consisting of a target terminal identifier, a data type and data to be transmitted, the conference Control terminal and the conference scheduling server can communicate based on a Socket connection mode, the conference Control terminal encapsulates the information to be transmitted into a first Internet message based on an Internet Protocol, such as TCP/IP (Transmission Control Protocol/Internet Protocol), and transmits the first Internet message to the conference scheduling server through the Socket connection mode, the first Internet message can also comprise an IP address and a port number of the conference Control terminal (source), the IP address and the port number of the conference scheduling server (target terminal), and the like, for the specific Transmission process of the Socket connection mode, those skilled in the art can perform the relevant processing according to practical experience, and the embodiment will not be discussed in detail here.
In step 702, the conference scheduling server determines whether the data type is a transparent transmission type.
And after receiving the first internet message, the conference scheduling server analyzes the data type included in the information to be transmitted and determines whether the data type is a transparent transmission type. If yes, go to step 703. If not, analyzing and scheduling the data to be transmitted, and for a specific process of analyzing and scheduling, a person skilled in the art may perform relevant processing according to actual experience, which is not discussed in detail herein.
Step 702 is substantially the same as step 502 in the first embodiment, and specific reference is made to the related description of step 502, which is not discussed in detail here.
For example, the conference scheduling server analyzes a character string composed of a target terminal identifier, a data type and data to be transmitted, extracts a section of character string of the data type from the character string, if a preset character string for representing the transparent transmission type is 0x6011, extracts a section of character string of the data type, if the preset character string is 0x6011, the data type is the transparent transmission data.
Step 703, after determining that the data type is the transparent transmission type, the conference scheduling server encapsulates the information to be transmitted into a first video network packet based on a video network transparent transmission protocol, and forwards the first video network packet to the participant terminal via the video network server.
In step 703, the participating terminal is a target terminal, and the first video network message is a second message.
The conference scheduling server and the video network server communicate based on a video network protocol. And after determining that the data type is the transparent transmission type, the conference scheduling server does not continue to analyze the data to be transmitted, and encapsulates the information to be transmitted into a first video network message based on a video network transparent transmission protocol.
The format of the video networking transparent transmission protocol is shown as table one:
Figure BDA0002199650070000101
watch 1
The format of the command parameter field is shown in table two:
Figure BDA0002199650070000102
watch two
One conference scheduling server may have a plurality of conferences at the same time, the conference scheduling server assigns a global conference identifier to an instruction sent by the video networking server, and the video networking server searches for the assigned conference according to the instruction interacted with the global conference identifier server. The conference scheduling server stores the corresponding relation between the local conference identifier and the global conference identifier, after the conference is successfully opened, the video network server firstly returns a global conference identifier to the conference scheduling server, the conference scheduling server finds the local conference identifier corresponding to the global conference identifier according to the stored corresponding relation, and the conference scheduling server returns the found local conference identifier to the conference control terminal. The conference control terminal can simultaneously carry a local conference identifier when sending information to be transmitted to the conference scheduling server, and the conference scheduling server searches a corresponding global conference identifier according to the received local conference identifier.
The step of encapsulating the to-be-transmitted information into a first video networking message by the conference scheduling server based on the video networking transparent transmission protocol may include: inquiring a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier; assigning the global conference identifier to a conference identifier field in the video-over-the-internet protocol (of course, a local conference identifier may also be assigned to the conference identifier field), assigning the target terminal identifier, the data type, and the data to be transmitted to a command parameter field of the video-over-the-internet protocol, and assigning a value (for example, preset to 8) for representing a transparent transmission message to an operation code of the video-over-the-internet protocol; and packaging the assigned video networking transparent transmission protocol into a first video networking message.
The conference scheduling server sends the first video networking message to the video networking server, the video networking server analyzes an operation code field in the first video networking message to obtain an operation code included in the first video networking message, the operation code is determined to be a numerical value used for representing a transparent transmission message, therefore, data to be transmitted can not be further analyzed, a corresponding conference can be determined according to a global conference identifier, a target conference participating terminal in the conference can be determined according to a target terminal identifier, and the video networking server can forward the first video networking message to a conference participating terminal corresponding to the target terminal identifier.
After the participant terminal receives the first video networking message, the format of the data to be transmitted is predetermined by the participant terminal and the conference control terminal, so that the participant terminal can analyze the data to be transmitted according to the predetermined format and display the data to be transmitted. For example, if the data to be transmitted is subtitle data, the subtitle is displayed, and if the data to be transmitted is resignation picture data, the resignation picture is displayed.
Step 704, the conference scheduling server receives a second video networking message carrying the information to be transmitted, which is returned by the participant terminal via the video networking server.
In step 704, the participating terminal is the source terminal, and the second video network message is the first message.
In this embodiment, after the data to be transmitted is analyzed and displayed, the information to be transmitted may also be returned by the conference terminal, where the information to be transmitted is response information to the request information sent by the conference control terminal. For example, the conference control terminal sends a request message for displaying a subtitle, and the participant terminal displays a response message indicating whether the subtitle reply setting is successful or unsuccessful.
And the participating terminal and the video networking server are communicated based on a video networking protocol. And the participating terminal encapsulates the information to be transmitted into a second video networking message based on the video networking transparent transmission protocol. The specific packaging manner is substantially the same as that of the step 703, and reference is made to the related description of the step 703, and this embodiment will not be discussed in detail here.
It should be noted that the information to be transmitted includes a data type and data to be transmitted, and the target terminal identifier may or may not be included. If the Session identifier includes the identifier of the target conference control terminal, the identifier of the target terminal is the identifier of the target conference control terminal, for example, a Session identifier (Session ID) corresponding to the Socket connection is maintained by the conference scheduling server, and the identifier of the target conference control terminal may be the Session ID. And if not, sending the information to be transmitted returned by the participant terminals to all the participant terminals in a broadcast mode, and judging whether the information is a response required by the participant terminals.
And the participant terminal sends the second video networking message to the video networking server, and the video networking server analyzes the operation code field in the second video networking message to obtain the operation code included in the second video networking message and determines that the operation code is a numerical value for representing the transparent transmission message, so that the participant terminal can not further analyze the data to be transmitted and can forward the second video networking message to the conference scheduling server.
Step 705, the conference scheduling server determines whether the data type is a transparent transmission type.
And after receiving the second video networking message, the conference scheduling server analyzes the data type included in the information to be transmitted and determines whether the data type is a transparent transmission type. If yes, go to step 706. If not, analyzing and scheduling the data to be transmitted, and for a specific process of analyzing and scheduling, a person skilled in the art may perform relevant processing according to actual experience, which is not discussed in detail herein.
Step 705 is substantially the same as step 502 and step 702, and specific reference may be made to the related description of step 502 and step 72, which is not discussed in detail here.
Step 706, after determining that the data type is the transparent transmission type, the conference scheduling server encapsulates the information to be transmitted into a second internet message based on an internet protocol, and sends the second internet message to the conference control terminal in a socket connection manner.
In step 706, the conference terminal is the target terminal, and the second internet message is the second message.
And after determining that the data type is the transparent transmission type, the conference scheduling server does not continue to analyze the data to be transmitted, encapsulates the information to be transmitted into a second internet message based on an internet protocol, and sends the second internet message to the conference control terminal in a socket connection mode. The second internet message may further include information such as an IP address and a port number of the conference scheduling server (source), and an IP address and a port number of the conference control terminal (destination).
And after receiving the second internet message, the conference control terminal analyzes the second internet message to obtain the data to be transmitted, and then whether the conference participating terminal successfully executes the corresponding request can be known.
In the embodiment of the invention, by setting the data type of the data to be transmitted between the conference control terminal and the participant terminal, the conference scheduling server can screen the data to be transmitted in the transparent transmission type, and the data to be transmitted in the type is not analyzed any more and is directly transmitted in a transparent manner, so that the transmission process is simplified.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE III
Referring to fig. 8, a block diagram of a data transmission apparatus according to a third embodiment of the present invention is shown. The data transmission device of the embodiment of the invention can be applied to a conference scheduling server.
The data transmission device of the embodiment of the invention can comprise the following modules:
a receiving module 801, configured to receive a first packet that carries information to be transmitted and is sent by a source terminal; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal;
a determining module 802, configured to determine whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal;
the transmission module 803 is configured to encapsulate the information to be transmitted as a second message after determining that the data type is the transparent transmission type, and transmit the second message to the target terminal.
In an alternative embodiment, the determining module 802 includes: the analysis submodule is used for analyzing the information to be transmitted from the first message; the extraction submodule is used for extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type; the comparison submodule is used for comparing the character string with a preset character string for representing the transparent transmission type; and the determining submodule is used for determining that the data type is the transparent transmission type when the comparison results are the same.
In an optional implementation manner, the source terminal is a conference control terminal, and the target terminal is a conference participating terminal. The receiving module 801 includes: the first receiving submodule is used for receiving a first internet message which is sent by the conference control terminal and carries information to be transmitted; the information to be transmitted is request information. The transmission module 803 includes: and the first transmission submodule is used for packaging the information to be transmitted into a first video network message based on a video network transparent transmission protocol and forwarding the first video network message to the participant terminal through a video network server.
In an optional implementation manner, the information to be transmitted further includes a local conference identifier; the first transmission submodule includes: the system comprises a query unit, a processing unit and a processing unit, wherein the query unit is used for querying a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier; the assignment unit is used for assigning the global conference identifier to a conference identifier field in the video network transparent transmission protocol, assigning the target terminal identifier, the data type and the data to be transmitted to a command parameter field of the video network transparent transmission protocol, and assigning a numerical value for expressing a transparent transmission message to an operation code of the video network transparent transmission protocol; and the encapsulation unit is used for encapsulating the video networking transparent transmission protocol after being assigned into a first video networking message.
In an optional implementation manner, the source terminal is a participant terminal, and the target terminal is a conference control terminal. The receiving module 801 includes: the second receiving submodule is used for receiving a second video network message which is returned by the participant terminal through the video network server and carries information to be transmitted; the information to be transmitted is response information aiming at the request information. The transmission module 803 includes: and the second transmission submodule is used for packaging the information to be transmitted into a second internet message based on an internet protocol and sending the second internet message to the conference control terminal in a socket connection mode.
In the embodiment of the invention, the data type is set for the data to be transmitted between the conference control terminal and the conference participating terminal, and the format of the data of the transparent transmission type is agreed between the conference control terminal and the conference participating terminal. Therefore, for the data of the transparent transmission type, after the conference scheduling server analyzes the data type, the conference scheduling server does not need to analyze the data to be transmitted, and the data are directly transmitted, so that a channel for transmitting the data of the transparent transmission type between the conference control terminal and the participant terminal is realized, the data transmission process is simpler and more convenient, the transmission efficiency is higher, too many resources of the conference scheduling server do not need to be occupied, when the data of the newly added function exists, the conference control terminal and the participant terminal can be set, the conference scheduling server does not need to be set again, and manpower and material resources are saved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. The instructions, when executed by the one or more processors, cause the processors to perform the data transmission method described above.
In an embodiment of the present invention, there is also provided a non-transitory computer readable storage medium, such as a memory including a computer program, stored thereon, the program being executable by a processor of an electronic device to perform the data transmission method described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data transmission method, the data transmission device, the electronic device and the storage medium provided by the invention are described in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method of data transmission, the method comprising:
receiving a first message which is sent by a source terminal and carries information to be transmitted; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal;
determining whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal;
and after the data type is determined to be the transparent transmission type, packaging the information to be transmitted into a second message, and transmitting the second message to the target terminal.
2. The method of claim 1, wherein the step of determining whether the data type is a transparent transmission type comprises:
analyzing the information to be transmitted from the first message;
extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type;
comparing the character string with a preset character string for representing the transparent transmission type;
and when the comparison results are the same, determining that the data type is the transparent transmission type.
3. The method according to claim 1, wherein the source terminal is a conference control terminal, and the target terminal is a participant terminal;
the step of receiving the first message carrying the information to be transmitted sent by the source terminal includes: receiving a first internet message which is sent by the conference control terminal and carries information to be transmitted; the information to be transmitted is request information;
the step of packaging the information to be transmitted into a second message and transmitting the second message to the target terminal includes: and packaging the information to be transmitted into a first video network message based on a video network transparent transmission protocol, and forwarding the first video network message to the participant terminal through a video network server.
4. The method of claim 3, wherein the information to be transmitted further comprises a local conference identification; the step of packaging the information to be transmitted into a first video network message based on the video network transparent transmission protocol comprises the following steps:
inquiring a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier;
assigning the global conference identifier to a conference identifier field in the video network transparent transmission protocol, assigning the target terminal identifier, the data type and the data to be transmitted to a command parameter field of the video network transparent transmission protocol, and assigning a numerical value for expressing a transparent transmission message to an operation code of the video network transparent transmission protocol;
and packaging the assigned video networking transparent transmission protocol into a first video networking message.
5. The method according to claim 1, wherein the source terminal is a participant terminal, and the target terminal is a conference control terminal;
the step of receiving the first message carrying the information to be transmitted sent by the source terminal includes: receiving a second video networking message which is returned by the participant terminal through the video networking server and carries information to be transmitted; the information to be transmitted is response information aiming at the request information;
the step of packaging the information to be transmitted into a second message and transmitting the second message to the target terminal includes: and packaging the information to be transmitted into a second internet message based on an internet protocol, and sending the second internet message to the conference control terminal in a socket connection mode.
6. A data transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a first message which is sent by a source terminal and carries information to be transmitted; the information to be transmitted comprises a target terminal identification, a data type and data to be transmitted; the source terminal is one of a conference control terminal and a conference participating terminal;
the determining module is used for determining whether the data type is a transparent transmission type; the format of the data to be transmitted represented by the transparent transmission type is agreed in advance by the source terminal and the target terminal corresponding to the target terminal identifier; the target terminal is the other one of the conference control terminal and the conference participating terminal;
and the transmission module is used for packaging the information to be transmitted into a second message after the data type is determined to be the transparent transmission type, and transmitting the second message to the target terminal.
7. The apparatus of claim 6, wherein the determining module comprises:
the analysis submodule is used for analyzing the information to be transmitted from the first message;
the extraction submodule is used for extracting a character string for representing the data type from the information to be transmitted according to the preset placement position of the data type;
the comparison submodule is used for comparing the character string with a preset character string for representing the transparent transmission type;
and the determining submodule is used for determining that the data type is the transparent transmission type when the comparison results are the same.
8. The apparatus of claim 6, wherein the source terminal is a conference control terminal, and the target terminal is a participant terminal;
the receiving module includes: the first receiving submodule is used for receiving a first internet message which is sent by the conference control terminal and carries information to be transmitted; the information to be transmitted is request information;
the transmission module includes: and the first transmission submodule is used for packaging the information to be transmitted into a first video network message based on a video network transparent transmission protocol and forwarding the first video network message to the participant terminal through a video network server.
9. The apparatus of claim 8, wherein the information to be transmitted further comprises a local conference identifier; the first transmission submodule includes:
the system comprises a query unit, a processing unit and a processing unit, wherein the query unit is used for querying a global conference identifier corresponding to a local conference identifier from a preset corresponding relation between the local conference identifier and the global conference identifier;
the assignment unit is used for assigning the global conference identifier to a conference identifier field in the video network transparent transmission protocol, assigning the target terminal identifier, the data type and the data to be transmitted to a command parameter field of the video network transparent transmission protocol, and assigning a numerical value for expressing a transparent transmission message to an operation code of the video network transparent transmission protocol;
and the encapsulation unit is used for encapsulating the video networking transparent transmission protocol after being assigned into a first video networking message.
10. The apparatus of claim 6, wherein the source terminal is a participant terminal, and the target terminal is a conference control terminal;
the receiving module includes: the second receiving submodule is used for receiving a second video network message which is returned by the participant terminal through the video network server and carries information to be transmitted; the information to be transmitted is response information aiming at the request information;
the transmission module includes: and the second transmission submodule is used for packaging the information to be transmitted into a second internet message based on an internet protocol and sending the second internet message to the conference control terminal in a socket connection mode.
11. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the processors to perform the data transmission method of any of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data transmission method according to any one of claims 1 to 5.
CN201910860657.8A 2019-09-11 2019-09-11 Data transmission method and device, electronic equipment and storage medium Pending CN110719432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910860657.8A CN110719432A (en) 2019-09-11 2019-09-11 Data transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910860657.8A CN110719432A (en) 2019-09-11 2019-09-11 Data transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110719432A true CN110719432A (en) 2020-01-21

Family

ID=69210384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910860657.8A Pending CN110719432A (en) 2019-09-11 2019-09-11 Data transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110719432A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165430A (en) * 2020-09-24 2021-01-01 北京百度网讯科技有限公司 Data routing method, device, equipment and storage medium
CN112654101A (en) * 2020-12-15 2021-04-13 华北科技学院 Wireless transparent transmission method and system based on radio frequency transceiver chip
CN114928597A (en) * 2022-05-20 2022-08-19 中国联合网络通信集团有限公司 Data transmission method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127374A1 (en) * 2002-09-20 2007-06-07 Black Peter J Communucation device for providing multimedia in a group communication network
CN108965484A (en) * 2018-09-30 2018-12-07 深圳市酷达通讯有限公司 A kind of transmission method of internet of things data, system and terminal
CN109802944A (en) * 2018-12-24 2019-05-24 视联动力信息技术股份有限公司 A kind of networked based on view issues the method and system of live streaming
CN110049271A (en) * 2019-03-19 2019-07-23 视联动力信息技术股份有限公司 A kind of view networking conferencing information methods of exhibiting and device
CN110049275A (en) * 2019-04-30 2019-07-23 视联动力信息技术股份有限公司 Information processing method, device and storage medium in video conference

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127374A1 (en) * 2002-09-20 2007-06-07 Black Peter J Communucation device for providing multimedia in a group communication network
CN108965484A (en) * 2018-09-30 2018-12-07 深圳市酷达通讯有限公司 A kind of transmission method of internet of things data, system and terminal
CN109802944A (en) * 2018-12-24 2019-05-24 视联动力信息技术股份有限公司 A kind of networked based on view issues the method and system of live streaming
CN110049271A (en) * 2019-03-19 2019-07-23 视联动力信息技术股份有限公司 A kind of view networking conferencing information methods of exhibiting and device
CN110049275A (en) * 2019-04-30 2019-07-23 视联动力信息技术股份有限公司 Information processing method, device and storage medium in video conference

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165430A (en) * 2020-09-24 2021-01-01 北京百度网讯科技有限公司 Data routing method, device, equipment and storage medium
CN112654101A (en) * 2020-12-15 2021-04-13 华北科技学院 Wireless transparent transmission method and system based on radio frequency transceiver chip
CN112654101B (en) * 2020-12-15 2023-05-02 华北科技学院 Wireless transparent transmission method and system based on radio frequency transceiver chip
CN114928597A (en) * 2022-05-20 2022-08-19 中国联合网络通信集团有限公司 Data transmission method, device and equipment
CN114928597B (en) * 2022-05-20 2023-07-25 中国联合网络通信集团有限公司 Data transmission method, device and equipment

Similar Documents

Publication Publication Date Title
CN108574688B (en) Method and device for displaying participant information
CN109640028B (en) Method and device for carrying out conference combining on multiple video networking terminals and multiple Internet terminals
CN108810444B (en) Video conference processing method, conference scheduling terminal and protocol conversion server
CN108632558B (en) Video call method and device
CN109168064B (en) Synchronous display method and system of electronic data
CN109068186B (en) Method and device for processing packet loss rate
CN110049271B (en) Video networking conference information display method and device
CN109547163B (en) Method and device for controlling data transmission rate
CN110572607A (en) Video conference method, system and device and storage medium
CN110545395B (en) Video networking conference switching method and device
CN110049273B (en) Video networking-based conference recording method and transfer server
CN111131754A (en) Control split screen method and device of conference management system
CN110719432A (en) Data transmission method and device, electronic equipment and storage medium
CN110855926A (en) Video conference processing method and device
CN109873864B (en) Communication connection establishing method and system based on video networking
CN110049268B (en) Video telephone connection method and device
CN109286775B (en) Multi-person conference control method and system
CN111641800A (en) Method and device for realizing conference
CN111327868A (en) Method, terminal, server, device and medium for setting conference speaking party role
CN109547727B (en) Data caching method and device
CN110049275B (en) Information processing method and device in video conference and storage medium
CN110392227B (en) Data processing method, device and storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109889755B (en) Communication connection method and video networking terminal
CN109640194B (en) Method and device for acquiring terminal permission through two-dimensional code based on video network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200121

RJ01 Rejection of invention patent application after publication