CN110740114B - Method, device and equipment for synchronizing streaming media data - Google Patents

Method, device and equipment for synchronizing streaming media data Download PDF

Info

Publication number
CN110740114B
CN110740114B CN201810806528.6A CN201810806528A CN110740114B CN 110740114 B CN110740114 B CN 110740114B CN 201810806528 A CN201810806528 A CN 201810806528A CN 110740114 B CN110740114 B CN 110740114B
Authority
CN
China
Prior art keywords
streaming media
video networking
party platform
mac address
server
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.)
Active
Application number
CN201810806528.6A
Other languages
Chinese (zh)
Other versions
CN110740114A (en
Inventor
谢文龙
闫治波
方小帅
李云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201810806528.6A priority Critical patent/CN110740114B/en
Publication of CN110740114A publication Critical patent/CN110740114A/en
Application granted granted Critical
Publication of CN110740114B publication Critical patent/CN110740114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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
    • H04L67/5651Reducing the amount or size of exchanged application data

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and equipment for synchronizing streaming media data, wherein the method is applied to a video network and comprises the following steps: receiving a streaming media resource synchronization signaling sent by a third-party platform through a video networking server; determining an MAC address corresponding to the video networking number of the third-party platform by using a corresponding relation table according to the streaming media resource synchronization signaling; acquiring streaming media data corresponding to the MAC address; and synchronizing the streaming media data to the third-party platform through the video networking server. In the embodiment of the invention, the streaming media server and the video network server directly use the video network protocol (such as 8f95 protocol) to transmit the streaming media data in batch, so that the transmission efficiency is improved, and the packet loss phenomenon in the transmission process is reduced, thereby improving the satisfaction degree of users.

Description

Method, device and equipment for synchronizing streaming media data
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method, an apparatus, and a device for synchronizing streaming media data.
Background
With the rapid development of the video networking, the video networking is an important milestone of the current network development and is a higher-level form of the internet. That is to say, the video networking is a real-time network, can realize the real-time transmission of the high definition video of the whole net that present internet can't realize, pushes numerous internet applications to high definition video ization, and the high definition is face-to-face. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
The traditional synchronous resource data is 44 bytes by using the video networking transmission protocol, because the transmission protocol limits the transmission bytes, only one piece of resource data can be transmitted at a time, and the transmitted resource information may not be complete. If a large amount of resource data are transmitted in this way, it is time-consuming, and individual packet loss is easily caused, which results in incomplete data transmission and reduces the data transmission efficiency.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method for synchronizing streaming media data, so as to solve the technical problem in the prior art that transmission efficiency is reduced due to the limitation of transmitting data by using 44 bytes of a video networking transmission protocol.
Correspondingly, the embodiment of the invention also provides a device and equipment for synchronizing the streaming media data, which are used for ensuring the realization and the application of the method.
In order to solve the problems, the invention is realized by the following technical scheme:
a first aspect provides a method for synchronizing streaming media data, the method being applied to a video network, the method comprising:
receiving a streaming media resource synchronization signaling sent by a third-party platform through a video networking server;
determining the MAC address corresponding to the video networking number of the third-party platform by using a corresponding relation table according to the streaming media resource synchronization signaling;
acquiring streaming media data corresponding to the MAC address;
and synchronizing the streaming media data to the third-party platform through the video network server.
Optionally, before receiving the streaming media resource synchronization signaling, the method further includes:
receiving a business card interchange request instruction sent by the third-party platform through the video networking server, wherein the business card interchange request instruction comprises: the MAC address of the target end;
establishing a corresponding relation between the video networking number of the third-party platform and the MAC address;
and storing the corresponding relation into a corresponding relation table of a memory.
Optionally, the determining, according to the streaming media resource synchronization signaling, the MAC address corresponding to the video networking number of the third party platform by using the correspondence table includes:
inquiring a corresponding relation table from a memory according to the streaming media resource synchronization signaling;
judging whether the corresponding relation table stores the MAC address corresponding to the video networking number of the third-party platform or not;
and if so, acquiring the MAC address corresponding to the video networking number of the third-party platform.
Optionally, the method further includes:
compressing the streaming media data corresponding to the MAC address;
the synchronizing the streaming media data corresponding to the MAC address to the third party platform through the internet of view server includes:
and synchronizing the compressed streaming media data to the third-party platform through the video networking server.
A second aspect provides an apparatus for synchronizing streaming media data, the apparatus being applied to a video network, the apparatus comprising:
the first receiving module is used for receiving a streaming media resource synchronization signaling sent by a third-party platform through a video networking server;
the determining module is used for determining the MAC address corresponding to the video networking number of the third-party platform by utilizing a corresponding relation table according to the streaming media resource synchronous signaling;
the acquisition module is used for acquiring the streaming media data corresponding to the MAC address;
and the synchronization module is used for synchronizing the streaming media data to the third-party platform through the video networking server.
Optionally, the method further includes:
a second receiving module, configured to receive a business card interchange request instruction sent by the third party platform through the video network server before the first receiving module receives the streaming media resource synchronization signaling, where the business card interchange request instruction includes: the MAC address of the target end;
the establishing module is used for establishing the corresponding relation between the video networking number of the third-party platform and the MAC address;
and the storage module is used for storing the corresponding relation into a corresponding relation table of the memory.
Optionally, the determining module includes:
the query module is used for querying a corresponding relation table from a memory according to the streaming media resource synchronization signaling;
the judging module is used for judging whether the MAC address corresponding to the video networking number of the third-party platform is stored in the corresponding relation table;
and the address acquisition module is used for acquiring the MAC address corresponding to the video networking number of the third-party platform when the judgment module judges that the corresponding relation is stored in the corresponding relation table.
Optionally, the method further includes:
the compression module is used for compressing the streaming media data corresponding to the MAC address;
the synchronization module is further configured to synchronize the streaming media data compressed by the compression module to the third-party platform through a video networking server.
A third aspect provides a streaming media server, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the synchronization method of streaming media data as described above.
A fourth aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the synchronization method of streaming media data as described above.
Compared with the prior art, the embodiment of the invention has the following advantages:
in the embodiment of the invention, after receiving a streaming media resource synchronization signaling initiated by a third-party platform through a video networking server, a streaming media server firstly determines the MAC address of a target end corresponding to the video networking number of the third-party platform, then acquires streaming media data corresponding to the MAC address of the target end, and finally synchronizes the streaming media data to the third-party platform through a video networking protocol. That is to say, in the embodiment of the present invention, the streaming media server and the video networking server directly use the video networking protocol (for example, 8f95 protocol) to transmit the streaming media data in batch, which not only improves the transmission efficiency, but also reduces the packet loss phenomenon in the transmission process, thereby improving the satisfaction of the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
Fig. 1 is a flowchart of a method for synchronizing streaming media data according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for synchronizing streaming media data according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for synchronizing streaming media data according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of a device for synchronizing streaming media data according to an embodiment of the present invention;
fig. 5 is a flowchart of an application example provided in the 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.
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 such as high-definition video conferences, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mails, personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like into a system platform, and realizes high-definition quality video broadcast through a television or a computer.
For a better understanding of the embodiments of the present invention, reference should be made to the following examples.
Referring to fig. 1, it is a flowchart of a method for synchronizing streaming media data according to an embodiment of the present invention, where the method is applied to a video network, and the method includes:
step 101: receiving a streaming media resource synchronization signaling sent by a third-party platform through a video network server;
in this step, a user initiates a streaming media resource synchronization signaling to a third-party platform, a background server of the third-party platform in the morning sends the streaming media resource synchronization signaling, such as a Computer Television (PCTV) resource synchronization signaling, to a video networking server through a video networking protocol (such as 8F 85), after receiving the streaming media resource synchronization signaling, the video networking server identifies the background server of the third platform to obtain a corresponding video networking number, and then sends the streaming media resource synchronization signaling to the streaming media server through the video networking protocol (such as 8785 protocol), that is, the streaming media server receives the streaming media resource synchronization signaling sent by the video networking server.
Step 102: determining a Media Access Control (MAC) address corresponding to a video network number of the third-party platform by using a corresponding relation table according to the streaming media resource synchronization signaling;
in this embodiment, the streaming media server may determine the corresponding MAC address by:
1) Inquiring a corresponding relation table in a memory according to the streaming media resource synchronous signaling;
when receiving the stream media resource synchronization signaling, the stream media server firstly queries the corresponding relation table from the memory. Wherein, the corresponding relation table comprises the corresponding relation between one or more video network numbers and corresponding MAC.
2) Judging whether the corresponding relation between the video networking number of the third-party platform and the MAC address is stored in the corresponding relation table, and if so, executing the step 3); otherwise, executing step 4);
the streaming media server judges whether the MAC address corresponding to the video network number of the third-party platform is stored in the corresponding relation table or not; if yes, executing step 3); otherwise, executing step 4);
3) Acquiring an MAC address corresponding to the video networking number of the third-party platform;
and if the corresponding relation has the corresponding MAC address, the streaming media server acquires the MAC address corresponding to the video networking number of the third-party platform.
Step 103: acquiring streaming media data corresponding to the MAC address;
in this step, the streaming media server obtains the streaming media data corresponding to the MAC address. The manner of obtaining the same is well known to those skilled in the art and will not be described herein.
Step 104: and synchronizing the streaming media data corresponding to the MAC address to the third-party platform through the video networking server.
In this step, after the streaming media server first obtains the streaming media data corresponding to the MAC address, the streaming media data is synchronized to the third party platform once through the video networking protocol (for example, 8f95 protocol).
In the embodiment of the invention, after a streaming media server receives a streaming media resource synchronization signaling initiated by a third-party platform through a video network server, the media server firstly determines the MAC address of a target end corresponding to the video network number of the third-party platform, then acquires streaming media data corresponding to the MAC address of the target end, and finally synchronizes the streaming media data to the third-party platform through a video network protocol. That is to say, in the embodiment of the present invention, the streaming media server and the video networking server directly use the video networking protocol (for example, 8f95 protocol) to transmit the streaming media data in batch, which not only improves the transmission efficiency, but also reduces the packet loss phenomenon in the transmission process, thereby improving the satisfaction of the user.
Referring to fig. 2, another flowchart of a method for synchronizing streaming media data according to an embodiment of the present invention is shown, where the method is applied to a video network, and the method may include:
step 201: receiving a business card interchange request instruction sent by the third-party platform through the video networking server, wherein the business card interchange request instruction comprises: the MAC address of the target end;
in this step, a user initiates a business card interchange request through a third party platform, a background server (herein, referred to as the third party platform for short, the same below) of the third party platform sends a business card interchange request instruction to a video network server through a video network protocol (such as 8f85 protocol), the business card interchange request instruction includes an MAC address of a target end, the video network server identifies the third party platform to obtain a corresponding video network number, and then the video network server sends the received business card interchange request instruction to a streaming media server through the video network protocol (such as 8785), that is, the streaming media server receives the business card interchange request instruction sent by the third party platform through the video network server, at this time, the business card interchange request includes the MAC address of the target end.
Step 202: establishing a corresponding relation between the video networking number of the third-party platform and the MAC address;
in the step, after receiving a business card interchange request instruction, a streaming media server acquires an MAC address of a target end in the business card interchange request instruction, identifies a video networking number of a third-party platform, and then establishes a one-to-one correspondence relationship between the video networking number of the third-party platform and the MAC address.
Step 203: storing the corresponding relation into a corresponding relation table of a memory;
in this step, the streaming media server stores the corresponding relationship established in step 202 in a corresponding relationship table in the memory.
Step 204: receiving a streaming media resource synchronization signaling sent by a third-party platform through a video network server;
step 205: determining the MAC address corresponding to the video networking number of the third-party platform by using a corresponding relation table according to the streaming media resource synchronization signaling;
step 206: acquiring streaming media data corresponding to the MAC address;
step 207: and synchronizing the streaming media data to the third-party platform through the video networking server.
In this embodiment, steps 204 and 207 are the same as steps 101 and 104, which are described in detail above and are not described herein again.
In the embodiment of the invention, when a stream media server receives a business card interchange request instruction, a corresponding relation between a video networking number of a third platform sending a business card interchange request and an MAC address is established, the corresponding relation is stored in a corresponding relation table of a memory, after a stream media resource synchronization signaling initiated by the third platform is received by the video networking server, the MAC address of a target end corresponding to the video networking number of the third platform is determined from the corresponding relation table in the memory, then stream media data corresponding to the MAC address of the target end is obtained, and finally the stream media data are synchronized to the third platform through a video networking protocol. That is to say, in the embodiment of the present invention, the streaming media server and the video network server directly use the video network protocol (for example, 8f95 protocol) to transmit the streaming media data in batch, which not only improves the transmission efficiency, but also reduces the packet loss phenomenon in the transmission process, thereby improving the satisfaction of the user.
Optionally, in another embodiment, on the basis of the foregoing embodiment, before resynchronization, the method may further include:
1) Compressing the streaming media data corresponding to the MAC address;
in this step, the streaming media server compresses the streaming media data before synchronizing the streaming media data to the third party platform, where a compression method of the streaming media data is well known to those skilled in the art and is not described herein again.
2) And synchronizing the compressed streaming media data to the third-party platform through the video networking server.
In this step, the streaming media server synchronizes the streaming media data to the third party platform through the video network server through an 8f95 protocol.
In this embodiment, after determining to acquire the streaming media data corresponding to the MAC address, the streaming media data is compressed first, and then is synchronized to the third-party platform, so that the transmission efficiency is improved.
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 of skill 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 embodiments of the invention.
Referring to fig. 3, a schematic structural diagram of a synchronization apparatus for streaming media data according to an embodiment of the present invention is provided, where the apparatus may be applied to a video network, and specifically includes the following modules: a first receiving module 31, a determining module 32, an obtaining module 33 and a synchronizing module 34, wherein,
the first receiving module 31 is configured to receive a streaming media resource synchronization signaling sent by a third party platform through a video networking server;
a determining module 32, configured to determine, according to the streaming media resource synchronization signaling, an MAC address corresponding to a video networking number of the third-party platform;
an obtaining module 33, configured to obtain streaming media data corresponding to the MAC address;
and the synchronization module 34 is configured to synchronize the streaming media data to the third party platform through the video network server.
Optionally, in another embodiment, on the basis of the above embodiment, the apparatus may further include: the second receiving module 41, the establishing module 42 and the storing module 43 are schematically shown in fig. 4, wherein,
a second receiving module 41, configured to receive, before the first receiving module 31 receives the streaming media resource synchronization signaling, a business card interchange request instruction sent by the third party platform through the video network server, where the business card interchange request instruction includes: the MAC address of the target end;
an establishing module 42, configured to establish a correspondence between the video networking number of the third-party platform and the MAC address;
and a storage module 43, configured to store the correspondence in a correspondence table of a memory.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the determining module 32 includes: a query module, a decision module, and a determination sub-module (not shown), wherein,
the query module is used for querying the corresponding relation table from the memory according to the streaming media resource synchronous signaling;
the judging module is used for judging whether the MAC address corresponding to the video networking number of the third-party platform is stored in the corresponding relation table;
and the address acquisition module is used for acquiring the MAC address corresponding to the video networking number of the third-party platform when the judgment module judges that the corresponding relation is stored in the corresponding relation table.
Optionally, in another embodiment, on the basis of the above embodiment, the method may further include: a compression module (not shown) in which,
the compression module is used for compressing the streaming media data corresponding to the MAC address;
the synchronization module is further configured to synchronize the streaming media data compressed by the compression module to the third-party platform through a video networking server.
Optionally, the apparatus may be integrated on a streaming media server, or may be deployed independently, which is not limited in this embodiment.
The streaming media server in this embodiment may be referred to as streaming media for short, and specifically performs functions of collecting, caching, scheduling, transmitting, and playing media contents of audio, video, and multimedia files in a network.
In the embodiment of the invention, when a stream media server receives a business card interchange request instruction, a corresponding relation between a video networking number of a third platform sending a business card interchange request and an MAC address is established, the corresponding relation is stored in a corresponding relation table of a memory, after a stream media resource synchronization signaling initiated by the third platform is received by the video networking server, the MAC address of a target end corresponding to the video networking number of the third platform is determined from the corresponding relation table in the memory, then stream media data corresponding to the MAC address of the target end is obtained, and finally the stream media data are synchronized to the third platform through a video networking protocol. That is to say, in the embodiment of the present invention, the streaming media server and the video networking server directly use the video networking protocol (for example, 8f95 protocol) to transmit the streaming media data in batch, which not only improves the transmission efficiency, but also reduces the packet loss phenomenon in the transmission process, thereby improving the satisfaction of the user.
For the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
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.
To facilitate understanding by those skilled in the art, reference is also made to the following examples.
Referring to fig. 5, a flowchart of an application example provided in an embodiment of the present invention is applied to a video network, and includes: the embodiment takes the synchronization of PCTV resource data as an example, and specifically comprises the following steps:
step 501: the third party platform sends a business card interchange request to the video network server through an 8f85 protocol, wherein the business card interchange request comprises an MAC address of a target end;
step 502: the video network server sends the received business card interchange request to a streaming media server through a 8785 protocol;
and the video network server identifies the third party platform to obtain a corresponding video network number.
Step 503: the streaming media server acquires the MAC address of the target end from the business card interchange request;
in the step, the streaming media server analyzes the business card interchange request sent by the video networking server to obtain the MAC address of the corresponding target end and identify the video networking number of the third-party platform sending the MAC address.
Step 504: the streaming media server establishes a corresponding relation between the video networking number of the third-party platform and the MAC address;
step 505: the streaming media server stores the corresponding relation into a corresponding relation table of a memory;
step 506: the streaming media server sends a business card exchange response to the video network server through an 8f85 protocol;
the business card switching response may include a response that the streaming media server receives the business card exchange request, or a failure response that the business card exchange request is received.
Step 507: the video network server sends the received business card switching response to a third-party platform through a 8785 protocol;
step 508: the third party platform sends a PCTV resource synchronization request to the video networking server through the 8f85 protocol;
step 509: the video network server sends the received PCTV resource synchronization request to a streaming media server through a 8785 protocol;
step 510: the streaming media server sends a synchronous PCTV resource response to the video networking server through an 8f85 protocol;
wherein, the response of the PCTV resource synchronization may include a successful response of receiving the PCTV resource synchronization request or a failed response of receiving the PCTV resource synchronization request.
Step 511: the streaming media server determines the MAC address corresponding to the video networking number of the third-party platform by using the corresponding relation table;
in this step, the specific determination process is detailed in the implementation process of the corresponding embodiment in the above method, and is not described herein again.
It should be noted that, when step 510 and step 511 are implemented, there is no time sequence, and they may also be implemented simultaneously, and this embodiment is not limited in this embodiment.
Step 512: the streaming media server acquires streaming media data corresponding to the MAC address;
step 513: the streaming media server synchronizes the PCTV resource data to the video network server through an 8f95 protocol;
in this step, the streaming server may send the PCTV resource data (of course, compressed PCTV resource data) in the streaming media to the video networking server at one time through the 8f95 protocol.
Step 514: and the video network server synchronizes the received PCTV resource data to the third-party platform through the 8f95 protocol.
In this step, the internet of view server may send the received PCTV resource data (or compressed resource data, of course) to the third party platform at once via the 8f95 protocol.
In the embodiment of the invention, the streaming media server and the video networking server directly use the video networking protocol (such as 8f95 protocol) to transmit the streaming media data in batch, so that the transmission efficiency is improved, and the packet loss phenomenon in the transmission process is reduced, thereby improving the satisfaction degree of users. .
Preferably, an embodiment of the present invention further provides a streaming media server, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing embodiment of the method for synchronizing streaming media data, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the synchronization method for streaming media data, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 apparatus 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 the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present 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 "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description is provided for a method and a device for synchronizing streaming media data, and a specific example is applied in this document 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, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method for synchronizing streaming media data, wherein the method is applied to video networking, and the method comprises the following steps:
receiving a business card interchange request instruction sent by a third-party platform through the video networking server, wherein the business card interchange request instruction comprises: the MAC address of the target end;
establishing a corresponding relation between the video networking number of the third-party platform and the MAC address;
storing the corresponding relation into a corresponding relation table of a memory; the corresponding relation table comprises corresponding relations between one or more video networking numbers and corresponding MAC;
receiving a streaming media resource synchronization signaling sent by a third-party platform through a video networking server, wherein after receiving the streaming media resource synchronization signaling, the video networking server identifies the third-party platform to obtain a corresponding video networking number, and then sends the streaming media resource synchronization signaling to the streaming media server through a video networking protocol;
determining the MAC address corresponding to the video networking number of the third-party platform by using a corresponding relation table according to the streaming media resource synchronization signaling;
acquiring streaming media data corresponding to the MAC address;
and synchronizing the streaming media data to the third-party platform through the video networking server.
2. The method according to claim 1, wherein the determining the MAC address corresponding to the video networking number of the third party platform by using the mapping table according to the streaming media resource synchronization signaling comprises:
inquiring a corresponding relation table from a memory according to the streaming media resource synchronization signaling;
judging whether the corresponding relation table stores the MAC address corresponding to the video networking number of the third-party platform or not;
and if so, acquiring the MAC address corresponding to the video networking number of the third-party platform.
3. The method of any of claims 1 to 2, further comprising:
compressing the streaming media data corresponding to the MAC address;
the synchronizing the streaming media data corresponding to the MAC address to the third party platform through the video networking server includes:
and synchronizing the compressed streaming media data to the third-party platform through the video networking server.
4. An apparatus for synchronizing streaming media data, the apparatus being applied to a video network, the apparatus comprising:
a second receiving module, configured to receive, before the first receiving module receives the streaming media resource synchronization signaling, a business card interchange request instruction sent by the third-party platform through the video networking server, where the business card interchange request instruction includes: the MAC address of the target end;
the establishing module is used for establishing the corresponding relation between the video networking number of the third-party platform and the MAC address;
the storage module is used for storing the corresponding relation into a corresponding relation table of a memory;
the first receiving module is used for receiving a streaming media resource synchronization signaling sent by a third-party platform through a video networking server, wherein after receiving the streaming media resource synchronization signaling, the video networking server identifies the third-party platform to obtain a corresponding video networking number, and then sends the streaming media resource synchronization signaling to the streaming media server through a video networking protocol;
the determining module is used for determining the MAC address corresponding to the video networking number of the third-party platform by utilizing a corresponding relation table according to the streaming media resource synchronous signaling;
the acquisition module is used for acquiring the streaming media data corresponding to the MAC address;
and the synchronization module is used for synchronizing the streaming media data to the third-party platform through the video network server.
5. The apparatus of claim 4, wherein the determining module comprises:
the query module is used for querying the corresponding relation table from the memory according to the streaming media resource synchronous signaling;
the judging module is used for judging whether the MAC address corresponding to the video networking number of the third-party platform is stored in the corresponding relation table;
and the address acquisition module is used for acquiring the MAC address corresponding to the video networking number of the third-party platform when the judgment module judges that the corresponding relation is stored in the corresponding relation table.
6. The apparatus of any of claims 4 to 5, further comprising:
the compression module is used for compressing the streaming media data corresponding to the MAC address;
the synchronization module is further configured to synchronize the streaming media data compressed by the compression module to the third-party platform through a video networking server.
7. A streaming media server, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method for synchronization of streaming media data according to any of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps in the method for synchronizing streaming media data according to any one of claims 1 to 3.
CN201810806528.6A 2018-07-20 2018-07-20 Method, device and equipment for synchronizing streaming media data Active CN110740114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810806528.6A CN110740114B (en) 2018-07-20 2018-07-20 Method, device and equipment for synchronizing streaming media data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810806528.6A CN110740114B (en) 2018-07-20 2018-07-20 Method, device and equipment for synchronizing streaming media data

Publications (2)

Publication Number Publication Date
CN110740114A CN110740114A (en) 2020-01-31
CN110740114B true CN110740114B (en) 2023-04-07

Family

ID=69234953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810806528.6A Active CN110740114B (en) 2018-07-20 2018-07-20 Method, device and equipment for synchronizing streaming media data

Country Status (1)

Country Link
CN (1) CN110740114B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2301935A1 (en) * 1999-03-23 2000-09-23 General Instrument Corporation Streaming media control and synchronization application program interface (api) for a digital television receiver
CN103686072B (en) * 2013-11-15 2015-09-23 北京视联动力国际信息技术有限公司 Depending on networked video method for supervising and system, association turns server and looks networked server
CN108012106B (en) * 2016-11-01 2019-03-01 视联动力信息技术股份有限公司 A kind of method and system regarding networking monitoring source synchronous

Also Published As

Publication number Publication date
CN110740114A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US8813160B2 (en) Method, system and user device for obtaining a key frame in a streaming media service
CN111010614A (en) Method, device, server and medium for displaying live caption
CN106941629B (en) Real-time live broadcast method based on SIP + RTP and RTMP protocol intercommunication
WO2014160324A1 (en) Multimedia presentation tracking in networked environment
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
CN114402572B (en) Using in-band metadata as a basis for accessing reference fingerprints to facilitate content-related actions
CN111107390B (en) Live broadcast service system and live broadcast connection establishment method
CN106658065B (en) Audio and video synchronization method, device and system
CN114900707B (en) Live broadcast method and system
CN110740114B (en) Method, device and equipment for synchronizing streaming media data
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
CN108880925B (en) Method and system for monitoring flow
CN108616760B (en) Live broadcasting method based on browser, server, anchor terminal and user terminal
CN110545447B (en) Audio and video synchronization method and device
CN105959789B (en) A kind of program channel determines method and device
CN110120967B (en) Data synchronization method and device
CN111212253A (en) Monitoring processing method and device in video conference, electronic equipment and storage medium
CN110572703A (en) Multimedia data synchronous playing method, system, terminal and storage medium
CN110769183B (en) Video-on-demand method based on video networking, link establishment method, device and system
CN111143607B (en) Information acquisition method and device
JP2016531485A (en) Synchronization method by multimedia player while processing items of multimedia content transmitted by MBMS service
CN116668365B (en) Audio and video data transmission system and method based on multi-network combination
CN103731637B (en) The control system and its method of local area network video device
CN105099728B (en) A kind of message treatment method and system and Intelligent television terminal
CN111159291A (en) Progress bar display method and device, terminal equipment and storage medium

Legal Events

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