CN111147485A - Service data transmission method and device - Google Patents

Service data transmission method and device Download PDF

Info

Publication number
CN111147485A
CN111147485A CN201911359648.7A CN201911359648A CN111147485A CN 111147485 A CN111147485 A CN 111147485A CN 201911359648 A CN201911359648 A CN 201911359648A CN 111147485 A CN111147485 A CN 111147485A
Authority
CN
China
Prior art keywords
terminal
data
service data
server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911359648.7A
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 CN201911359648.7A priority Critical patent/CN111147485A/en
Publication of CN111147485A publication Critical patent/CN111147485A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Abstract

The embodiment of the invention provides a method and a device for transmitting service data, wherein a server can generate a terminal information list aiming at a second terminal according to a terminal identifier in target data by receiving the target data sent by a first terminal, and sequentially transmit the service data to the second terminal according to the terminal information list, so that the service data is transmitted in batches by establishing a terminal information list in the server and according to the terminal information recorded in the list, the efficiency of data transmission is improved, and the time of data transmission is reduced.

Description

Service data transmission method and device
Technical Field
The present invention relates to the technical field of service data transmission, and in particular, to a service data transmission method and a service data transmission apparatus.
Background
In the process of data transmission between terminals, if a first terminal needs to transmit data to a plurality of second terminals, the data can only be transmitted to a server, and then the server forwards the data to the second terminals, and the data can be transmitted to the next second terminal after the data is transmitted to one second terminal, and as the number of the second terminals increases, the waiting time of the first terminal also increases, and the transmission efficiency of service data is low.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide a method for transmitting service data, so as to solve the problems of long transmission time and low efficiency in the process of transmitting a large amount of data in the prior art.
Correspondingly, the embodiment of the invention also provides a service data transmission device, which is used for ensuring the realization and the application of the method.
In order to solve the above problem, an embodiment of the present invention discloses a method for transmitting service data, which is applied to a server, where the server is in communication connection with a first terminal and at least one second terminal, and the method includes:
the server receives target data sent by the first terminal, wherein the target data comprises a terminal identifier of at least one second terminal and service data;
the server generates a terminal information list aiming at the second terminal according to the terminal identification;
and the server transmits the service data to at least one second terminal according to the terminal information list.
Optionally, the target data includes sending sequence information for the second terminal and quantity information of the second terminal, and the server generates a terminal information list for the second terminal according to the terminal identifier, including:
and the server generates a terminal information list matched with the sending sequence information by adopting the terminal identification and the quantity information.
Optionally, the target data includes state information and a data transmission type, the state information includes a conference state, the data transmission type includes a conference pass-through mode and a management pass-through mode, and the server transmits the service data to at least one second terminal according to the terminal information list, including:
when the data transmission type is the conference transparent transmission mode and the first terminal is in the conference state, the server transmits the service data to at least one second terminal according to the terminal information list;
and when the data transmission type is the management transparent transmission mode, the server transmits the service data to at least one second terminal according to the terminal information list.
Optionally, the method further comprises:
and the server receives response information aiming at the service data sent by the second terminal and sends the response information to the first terminal.
The embodiment of the invention also discloses a transmission device of the service data, which is applied to a server, wherein the server is in communication connection with the first terminal and at least one second terminal, and the device comprises:
a target data receiving module, configured to receive target data sent by the first terminal, where the target data includes a terminal identifier of at least one second terminal and service data;
a terminal information list generating module, configured to generate a terminal information list for the second terminal according to the terminal identifier;
and the service data sending module is used for transmitting the service data to at least one second terminal according to the terminal information list.
Optionally, the target data includes sending sequence information for the second terminal and quantity information of the second terminal, and the terminal information list generating module is specifically configured to:
and generating a terminal information list matched with the sending sequence information by adopting the terminal identification and the quantity information.
Optionally, the target data includes state information and a data transmission type, the state information includes a conference state, the data transmission type includes a conference pass-through mode and a management pass-through mode, and the service data sending module includes:
the conference transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the conference transparent transmission mode and the first terminal is in the conference state;
and the management transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the management transparent transmission mode.
Optionally, the method further comprises:
and the response information sending module is used for receiving the response information aiming at the service data sent by the second terminal and sending the response information to the first terminal.
The embodiment of the invention also discloses a device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.
Embodiments of the invention also disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the server can generate the terminal information list aiming at the second terminal according to the terminal identification in the target data by receiving the target data sent by the first terminal, and sequentially transmit the service data to the second terminal according to the terminal information list, so that the service data is transmitted in batch by establishing the terminal information list in the server and according to the terminal information recorded in the list, the data transmission efficiency is improved, and the data transmission time is reduced.
Drawings
Fig. 1 is a flowchart illustrating a first embodiment of a method for transmitting service data according to the present invention;
FIG. 2 is a schematic diagram of a device communication connection in an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a second embodiment of a method for transmitting service data according to the present invention;
FIG. 4 is a schematic diagram of data transmission in an embodiment of the present invention;
fig. 5 is a block diagram of a structure of an embodiment of a device for transmitting service data according to the present invention;
FIG. 6 is a networking schematic of a video network of the present invention;
FIG. 7 is a diagram of a hardware architecture of a node server according to the present invention;
fig. 8 is a schematic diagram of a hardware architecture of an access switch of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to 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.
In a "one-to-many" data transmission mode of a network, in particular in a video network, a first terminal needs to transmit data to a plurality of second terminals. However, in this process, the first terminal can only transmit data to each second terminal in sequence through the server, and the first terminal needs to transmit data to the next second terminal after the transmission to one second terminal is completed, so that the efficiency of data transmission is low, and the transmission time is long. Therefore, one of the core concepts of the embodiments of the present invention is that the first terminal transmits all target data to be transmitted to the second terminal to the server at one time, and the server establishes a terminal information list for the second terminal and then performs batch transmission of data according to the terminal information list, thereby achieving batch transmission of data and improving data transmission efficiency. Referring to fig. 1, a flowchart of a first step of a service data transmission method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, the server receives target data sent by the first terminal, wherein the target data comprises a terminal identifier of at least one second terminal and service data;
in the embodiment of the present invention, the first terminal may run an application program, such as a live application program, a recording application program, a monitoring application program, and the like, and the first terminal may transmit data such as live data, audio and video data, and monitoring data to the plurality of second terminals through the application program.
In an example, as shown in fig. 2, which illustrates a schematic diagram of a device communication connection in an embodiment of the present invention, a first terminal and a conference scheduling server are deployed in the internet, the conference scheduling server may send data sent by the first terminal to an autonomous server deployed in an internet of view, and the autonomous server converts data based on an internet protocol format into data based on an internet protocol format and forwards the data to a second terminal.
In a specific implementation, the first terminal may send target data to be sent to the second terminal to the conference scheduling server, and the conference scheduling server may analyze the target data, so as to obtain the service data and the terminal identifier of the second terminal, and which second terminals the service data needs to be sent to.
102, the server generates a terminal information list aiming at the second terminal according to the terminal identification;
in specific implementation, the first terminal transmits target data to be sent to the conference scheduling server at one time, and the conference scheduling server generates a terminal information list for the second terminal according to the terminal identifier in the target data, as shown in table 1, so that the generation of the terminal information list is beneficial to the management of the conference scheduling server on the one hand, and the conference scheduling server can perform data transmission according to the terminal identifier recorded in the terminal information list on the other hand, thereby further improving the efficiency of data transmission.
Serial number Terminal identification
1 Terminal ①
2 Terminal ②
N Terminal M
TABLE 1
It should be noted that the embodiment of the present invention includes, but is not limited to, the above examples, and it is understood that, under the guidance of the idea of the embodiment of the present invention, a person skilled in the art may set the form of the list according to practical situations, and the present invention is not limited to this.
Step 103, the server transmits the service data to at least one second terminal according to the terminal information list.
In a specific implementation, the conference scheduling server may sequentially send the service data to the autonomous server according to the terminal identifier in the terminal information list, and the autonomous server converts the service data based on the internet protocol format into data based on the video internet protocol format and forwards the data to the second terminal (which may be a video internet terminal) corresponding to the terminal identifier, so that batch data transmission is performed through the conference scheduling server, the efficiency of data transmission is improved, and the time of data transmission is reduced.
In the embodiment of the invention, the server can generate the terminal information list aiming at the second terminal according to the terminal identification in the target data by receiving the target data sent by the first terminal, and sequentially transmit the service data to the second terminal according to the terminal information list, so that the service data is transmitted in batch by establishing the terminal information list in the server and according to the terminal information recorded in the list, the data transmission efficiency is improved, and the data transmission time is reduced.
Referring to fig. 3, a flowchart illustrating a step of a second embodiment of a service data transmission method according to the present invention is shown, and is applied to a server, where the server is in communication connection with a first terminal and at least one second terminal, and specifically includes the following steps:
step 301, the server receives target data sent by the first terminal, where the target data includes a terminal identifier of at least one second terminal and service data;
in a specific implementation, a first terminal deployed in the internet may transmit, through an application (client), service data to be sent to a second terminal and terminal information for the second terminal to a conference scheduling server at one time.
Specifically, the target data may include a terminal identifier of the second terminal, the number of terminals of the second terminal, and transmission sequence information for the second terminal, and the service data transmitted to the second terminal. The first terminal may send the same service data to different second terminals, or send different service data to different second terminals.
Step 302, the server generates a terminal information list aiming at the second terminal according to the terminal identification;
after receiving the target data, the conference scheduling server can analyze the target data, so as to obtain the terminal identification, the number of terminals and the sending sequence information. The terminal identification and quantity information may then be used to generate a list of terminal information that matches the transmission sequence information.
In a specific implementation, the service data sent by the first terminal to the conference scheduling server corresponds to a sequence information, for example, the service data is sent to the first terminal, the second terminal, the third terminal, and so on in sequence. The conference scheduling server may generate a terminal information list matched with the sequence information by using the terminal identifier and the quantity information, so that by generating the terminal information list, on one hand, the conference scheduling server is favorable for managing the terminal information, and on the other hand, the conference scheduling server may perform data transmission according to the terminal identifier recorded in the terminal information list, thereby further improving the efficiency of data transmission.
Step 303, the server transmits the service data to at least one second terminal according to the terminal information list;
in the embodiment of the present invention, the target data may further include status information and a data transmission type. The data transmission type may include a conference pass-through mode and a management pass-through mode, and the state information may include a conference state and a management state. The conference transparent transmission mode can send data to the second terminal only when the first terminal is in a conference state; and the first terminal can send data to the second terminal at any time in the management transparent transmission mode, if the first terminal is not in a conference state or in the conference state.
In a specific implementation, the first terminal may initiate a conference invitation and establish a conference pass-through with a plurality of second terminals located in the video network, so that when the conference scheduling server detects that the data transmission type is the conference pass-through mode and the first terminal is in a conference state, the service data may be transmitted to at least one second terminal according to the terminal information list. And when the conference scheduling server detects that the data transmission type is in a management transparent transmission mode, the server transmits the service data to at least one second terminal according to the terminal information list.
In one example, as shown in table 2:
serial number Terminal identification
1 Terminal ①
2 Terminal ②
3 Terminal ③
TABLE 2
The conference scheduling server needs to send the service data to the terminal ①, the terminal ②, and the terminal ③, specifically, the conference scheduling server may sequentially package the service data according to the serial numbers, and then send the service data to the autonomous server, and the autonomous server converts the service data based on the internet protocol format into data based on the video internet protocol format, and then forwards the data to the second terminal corresponding to the terminal identifier, so that the conference scheduling server performs bulk data transmission, thereby improving the efficiency of data transmission and reducing the time of data transmission.
It should be noted that, in the process of data packaging, the conference scheduling server may sequentially package the data according to the serial number, and after the data packaging is completed, the data is sequentially sent to the autonomous server; the data transmission method and the data transmission system have the advantages that the data can be sequentially packaged according to the sequence numbers, and after the data are packaged, all the data packets are parallelly transmitted to the autonomous server, so that the data are transmitted to the autonomous server, the mode of batch data transmission is enriched, the conference scheduling server can select a proper transmission mode according to the data volume and the self state (busy degree), and the efficiency of data transmission is further improved.
Step 304, the server receives response information aiming at the service data sent by the second terminal, and sends the response information to the first terminal.
In specific implementation, after receiving the service data sent by the first terminal, the second terminal can process the service data and send the response information to the autonomous server, so that the autonomous server can analyze and process the response information, then forward the response information to the conference scheduling server, and forward the response information to the first terminal by the conference scheduling server, thereby realizing bidirectional data transmission between the first terminal in the internet and the second terminal in the video network, and improving user experience.
In the embodiment of the invention, the server can generate the terminal information list aiming at the second terminal according to the terminal identification in the target data by receiving the target data sent by the first terminal, and sequentially transmit the service data to the second terminal according to the terminal information list, so that the service data is transmitted in batch by establishing the terminal information list in the server and according to the terminal information recorded in the list, the data transmission efficiency is improved, and the data transmission time is reduced.
In order to enable those skilled in the art to better understand the embodiments of the present application, the following description is given by way of an example:
referring to fig. 4, a schematic diagram of data transmission in an embodiment of the present invention is shown, where a first terminal and a conference scheduling server are deployed in the internet, and a client may operate in the first terminal; the second terminal can be deployed in the video network, and the internet and the video network can communicate through the autonomous server. The data transmission process may be:
a user can log in an application program of a first terminal and perform corresponding data transmission operation, such as sending service data sent to a second terminal, a terminal identifier (terminal number and the like) of the second terminal, the number of terminals of the second terminal, a data transmission type, state information and the like to a conference scheduling server;
and the conference scheduling server determines whether to carry out batch transmission of the data according to the state information and the data transmission type of the first terminal. If the conference pass-through mode is adopted, the first terminal needs to be in a conference state to perform corresponding data transmission; if the management transparent transmission mode is adopted, data transmission can be directly carried out. Specifically, when data transmission is performed, the conference scheduling server may generate a terminal information list for the second terminal by using the terminal identifier, the number of terminals, the sequence information, and the like, and then sequentially send the service data to the autonomous server according to the list, and the service data is transmitted to the second terminal by the autonomous server.
If the two-way transmission is adopted, after the second terminal receives the service data for processing, the second terminal can send response information aiming at the service data to the autonomous server, the response information is returned to the conference scheduling server by the autonomous server, then the response information is forwarded to the first terminal, and the first terminal carries out corresponding processing.
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.
Referring to fig. 5, a block diagram of a structure of an embodiment of a transmission apparatus for service data according to the present invention is shown, and is applied to a server, where the server is communicatively connected to a first terminal and at least one second terminal, and specifically includes the following modules:
a target data receiving module 501, configured to receive target data sent by the first terminal, where the target data includes a terminal identifier of at least one second terminal and service data;
a terminal information list generating module 502, configured to generate a terminal information list for the second terminal according to the terminal identifier;
a service data sending module 503, configured to transmit the service data to at least one second terminal according to the terminal information list.
In an optional embodiment of the present invention, the target data includes sending sequence information for the second terminal and quantity information of the second terminal, and the terminal information list generating module 502 is specifically configured to:
and generating a terminal information list matched with the sending sequence information by adopting the terminal identification and the quantity information.
In an optional embodiment of the present invention, the target data includes state information and a data transmission type, the state information includes a conference state, the data transmission type includes a conference transparent transmission mode and a management transparent transmission mode, and the service data sending module 503 includes:
the conference transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the conference transparent transmission mode and the first terminal is in the conference state;
and the management transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the management transparent transmission mode.
In an optional embodiment of the present invention, the method further includes:
and the response information sending module is used for receiving the response information aiming at the service data sent by the second terminal and sending the response information to the first terminal.
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.
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. 6, 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: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 7, the system mainly includes a network interface module 701, a switching engine module 702, a CPU module 703, and a disk array module 704;
the network interface module 701, the CPU module 703 and the disk array module 704 enter the switching engine module 702; the switching engine module 702 performs an operation of looking up the address table 705 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a corresponding queue of the packet buffer 706 based on the packet's steering information; if the queue of the packet buffer 706 is nearly full, discard; the switching engine module 702 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 7) the queue packet counter is greater than zero. The disk array module 704 mainly implements control over the hard disk, including initialization, read-write, and other operations; the CPU module 703 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 705 (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 704.
The access switch:
as shown in fig. 8, the network interface module mainly includes a network interface module (a downlink network interface module 801, an uplink network interface module 802), a switching engine module 803, and a CPU module 804;
wherein, the packet (uplink data) coming from the downlink network interface module 801 enters the packet detection module 805; the packet detection module 805 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 803, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 802 enters the switching engine module 803; the incoming data packet from the CPU module 804 enters the switching engine module 803; the switching engine module 803 performs an operation of looking up the address table 806 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 803 is from the downstream network interface to the upstream network interface, the packet is stored in a queue of the corresponding packet buffer 807 in association with a stream-id; if the queue of the packet buffer 807 is nearly full, it is discarded; if the packet entering the switching engine module 803 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 807 according to the packet guiding information; if the queue of the packet buffer 807 is nearly full, it is discarded.
The switching engine module 803 polls all packet buffer queues, which in this embodiment of the invention is divided into 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; 8) 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 808 is configured by the CPU module 804, and generates tokens for packet buffer queues from all downlink network interfaces to uplink network interfaces at programmable intervals to control the rate of uplink forwarding.
The CPU module 804 is mainly responsible for protocol processing with the node server, configuration of the address table 806, and configuration of the code rate control module 808.
Ethernet protocol conversion gateway
As shown in fig. 9, the system mainly includes a network interface module (a downlink network interface module 901 and an uplink network interface module 902), a switching engine module 903, a CPU module 904, a packet detection module 905, a rate control module 908, an address table 906, a packet buffer 907, a MAC adding module 909, and a MAC deleting module 910.
Wherein, the data packet coming from the downlink network interface module 901 enters the packet detection module 905; the packet detection module 905 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 deleting module 910 subtracts MAC DA, MAC SA, length or frame type (2byte), and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 901 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.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, following the protocol of the video network, the first terminal in the internet transmits the service data to the conference scheduling server at one time, then the conference scheduling server establishes a terminal information list aiming at the video network terminal, and then the batch data transmission is carried out according to the list, thereby realizing the large data volume transmission between the internet and the video network.
An embodiment of the present invention further provides an apparatus, 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 apparatus to perform methods as described in embodiments of the invention.
Embodiments of the invention also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods described in embodiments of the invention.
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, EEPROM, Flash, eMMC, 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 service data transmission method and the service data transmission device provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present 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 (10)

1. A method for transmitting service data is applied to a server, wherein the server is in communication connection with a first terminal and at least one second terminal, and the method comprises the following steps:
the server receives target data sent by the first terminal, wherein the target data comprises a terminal identifier of at least one second terminal and service data;
the server generates a terminal information list aiming at the second terminal according to the terminal identification;
and the server transmits the service data to at least one second terminal according to the terminal information list.
2. The method according to claim 1, wherein the target data includes transmission sequence information for the second terminal and number information of the second terminal, and the server generates a terminal information list for the second terminal according to the terminal identifier, including:
and the server generates a terminal information list matched with the sending sequence information by adopting the terminal identification and the quantity information.
3. The method according to claim 1, wherein the target data includes status information and a data transmission type, the status information includes a conference status, the data transmission type includes a conference pass-through mode and a management pass-through mode, and the server transmits the service data to at least one of the second terminals according to the terminal information list, including:
when the data transmission type is the conference transparent transmission mode and the first terminal is in the conference state, the server transmits the service data to at least one second terminal according to the terminal information list;
and when the data transmission type is the management transparent transmission mode, the server transmits the service data to at least one second terminal according to the terminal information list.
4. The method of any of claims 1-3, further comprising:
and the server receives response information aiming at the service data sent by the second terminal and sends the response information to the first terminal.
5. A device for transmitting service data, wherein the device is applied to a server, and the server is in communication connection with a first terminal and at least one second terminal, the device comprising:
a target data receiving module, configured to receive target data sent by the first terminal, where the target data includes a terminal identifier of at least one second terminal and service data;
a terminal information list generating module, configured to generate a terminal information list for the second terminal according to the terminal identifier;
and the service data sending module is used for transmitting the service data to at least one second terminal according to the terminal information list.
6. The apparatus of claim 5, wherein the target data includes transmission sequence information for the second terminal and number information of the second terminal, and the terminal information list generating module is specifically configured to:
and generating a terminal information list matched with the sending sequence information by adopting the terminal identification and the quantity information.
7. The apparatus of claim 5, wherein the target data comprises status information and a data transmission type, the status information comprises a conference status, the data transmission type comprises a conference pass-through mode and a management pass-through mode, and the service data sending module comprises:
the conference transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the conference transparent transmission mode and the first terminal is in the conference state;
and the management transparent transmission sub-module is used for transmitting the service data to at least one second terminal according to the terminal information list when the data transmission type is the management transparent transmission mode.
8. The apparatus of any of claims 5-7, further comprising:
and the response information sending module is used for receiving the response information aiming at the service data sent by the second terminal and sending the response information to the first terminal.
9. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-4.
10. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-4.
CN201911359648.7A 2019-12-25 2019-12-25 Service data transmission method and device Pending CN111147485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911359648.7A CN111147485A (en) 2019-12-25 2019-12-25 Service data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911359648.7A CN111147485A (en) 2019-12-25 2019-12-25 Service data transmission method and device

Publications (1)

Publication Number Publication Date
CN111147485A true CN111147485A (en) 2020-05-12

Family

ID=70520139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911359648.7A Pending CN111147485A (en) 2019-12-25 2019-12-25 Service data transmission method and device

Country Status (1)

Country Link
CN (1) CN111147485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817988A (en) * 2021-01-06 2021-05-18 贵阳迅游网络科技有限公司 Synchronous acceleration method for enterprise business

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692658A (en) * 2009-10-16 2010-04-07 中国电信股份有限公司 Method, system and equipment for implementing instant message group sending
CN101951350A (en) * 2010-10-20 2011-01-19 北京开心人信息技术有限公司 Page-based multi-person instant dialogue method and system
CN102347848A (en) * 2011-09-26 2012-02-08 深圳中兴网信科技有限公司 Method and system for sending bulk message
CN102387089A (en) * 2010-08-27 2012-03-21 腾讯科技(深圳)有限公司 Method and server for transporting messages
CN103236968A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Session management method, device and system for mass texting messages
CN103684995A (en) * 2013-12-26 2014-03-26 广州华多网络科技有限公司 Business characteristics display, group-sent message display method and system thereof in network group
CN104954987A (en) * 2015-06-19 2015-09-30 小米科技有限责任公司 Business processing method and device
CN105430711A (en) * 2015-10-28 2016-03-23 小米科技有限责任公司 Information transmission method and device, and equipment
CN105791080A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Group-sending message processing method and system as well as electronic device
CN105959212A (en) * 2016-07-20 2016-09-21 广东欧珀移动通信有限公司 Message sending method and device, operator server and mobile terminal
CN106327202A (en) * 2015-06-30 2017-01-11 深圳市银信网银科技有限公司 Method of establishing interaction relation and interaction apparatus
CN107343030A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Information-pushing method, apparatus and system
CN107493229A (en) * 2017-09-12 2017-12-19 广东欧珀移动通信有限公司 Message group sending method, server and the computer-readable storage medium of converged communication

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692658A (en) * 2009-10-16 2010-04-07 中国电信股份有限公司 Method, system and equipment for implementing instant message group sending
CN102387089A (en) * 2010-08-27 2012-03-21 腾讯科技(深圳)有限公司 Method and server for transporting messages
KR20120129957A (en) * 2010-08-27 2012-11-28 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Method and server for transferring message
CN101951350A (en) * 2010-10-20 2011-01-19 北京开心人信息技术有限公司 Page-based multi-person instant dialogue method and system
CN102347848A (en) * 2011-09-26 2012-02-08 深圳中兴网信科技有限公司 Method and system for sending bulk message
CN103236968A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Session management method, device and system for mass texting messages
CN103684995A (en) * 2013-12-26 2014-03-26 广州华多网络科技有限公司 Business characteristics display, group-sent message display method and system thereof in network group
CN105791080A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Group-sending message processing method and system as well as electronic device
CN104954987A (en) * 2015-06-19 2015-09-30 小米科技有限责任公司 Business processing method and device
CN106327202A (en) * 2015-06-30 2017-01-11 深圳市银信网银科技有限公司 Method of establishing interaction relation and interaction apparatus
CN105430711A (en) * 2015-10-28 2016-03-23 小米科技有限责任公司 Information transmission method and device, and equipment
EP3163946A1 (en) * 2015-10-28 2017-05-03 Xiaomi Inc. Information transmission method and apparatus, device, computer program and recording medium
CN105959212A (en) * 2016-07-20 2016-09-21 广东欧珀移动通信有限公司 Message sending method and device, operator server and mobile terminal
CN107343030A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Information-pushing method, apparatus and system
CN107493229A (en) * 2017-09-12 2017-12-19 广东欧珀移动通信有限公司 Message group sending method, server and the computer-readable storage medium of converged communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BO ZHANG: "The research of network message communication mechanism based on mobile distributed agent", 《2014 INTERNATIONAL CONFERENCE ON MECHATRONICS AND CONTROL (ICMC)》, 3 September 2015 (2015-09-03) *
袁琦: "基于智能手机终端信息的大数据应用研究", 《电信网技术》, no. 04, 15 April 2016 (2016-04-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817988A (en) * 2021-01-06 2021-05-18 贵阳迅游网络科技有限公司 Synchronous acceleration method for enterprise business
CN112817988B (en) * 2021-01-06 2022-11-15 贵阳迅游网络科技有限公司 Synchronous acceleration method for enterprise business

Similar Documents

Publication Publication Date Title
CN110519119B (en) Bandwidth management method and device based on video network and storage medium
CN109167960B (en) Method and system for processing video stream data
CN109068186B (en) Method and device for processing packet loss rate
CN109996086B (en) Method and device for inquiring service state of video networking
CN110519009B (en) Data packet transmission method and device
CN110138632B (en) Data transmission method and device
CN110086850B (en) File processing method and video network disk system
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN110049341B (en) Video processing method and device
CN108809921B (en) Audio processing method, video networking server and video networking terminal
CN109803178B (en) Terminal upgrading method and device
CN111629280A (en) Packet loss processing method and device and readable storage medium
CN111224889A (en) Data transmission method and device
CN108632171B (en) Data processing method and device based on video network
CN111211982B (en) Data forwarding method and device, electronic equipment and storage medium
CN109121017B (en) Method and device for evaluating quality of video networking network
CN110336710B (en) Terminal testing method, system and device and storage medium
CN109861929B (en) Data caching processing method and device
CN111147485A (en) Service data transmission method and device
CN110557687B (en) Multicast data packet processing method, device and storage medium
CN110557411A (en) video stream processing method and device based on video network
CN110166443B (en) Data transmission method, device, system, network equipment and storage medium
CN110493191B (en) Windows platform data forwarding method and device, electronic equipment and readable storage medium
CN110688532B (en) Transaction management method and device
CN111404648A (en) Data sending 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