CN110120967B - Data synchronization method and device - Google Patents

Data synchronization method and device Download PDF

Info

Publication number
CN110120967B
CN110120967B CN201910257536.4A CN201910257536A CN110120967B CN 110120967 B CN110120967 B CN 110120967B CN 201910257536 A CN201910257536 A CN 201910257536A CN 110120967 B CN110120967 B CN 110120967B
Authority
CN
China
Prior art keywords
data
management system
user data
conference
sending
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
CN201910257536.4A
Other languages
Chinese (zh)
Other versions
CN110120967A (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 CN201910257536.4A priority Critical patent/CN110120967B/en
Publication of CN110120967A publication Critical patent/CN110120967A/en
Application granted granted Critical
Publication of CN110120967B publication Critical patent/CN110120967B/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
    • 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
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Graphics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a method and a device for data synchronization, wherein the method is applied to a streaming media server and comprises the following steps: receiving a synchronous data instruction sent by a Pamir conference management system, wherein the synchronous data instruction carries ID information of a conference area; acquiring user data of the conference area according to the ID information of the conference area; and sending the user data to the Pamil meeting management system so as to solve the problem that the Pamil meeting management system cannot exchange user information with a third-party platform.

Description

Data synchronization method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for data synchronization.
Background
The video networking is an important milestone of network development, and is a network system which can realize real-time high-definition video transmission and push a plurality of internet applications to high-definition video and high-definition face-to-face.
The Pamier conference management system is a conference management product of a video networking end, does not have related information of an address list, and cannot directly exchange user information with products of a third-party platform (such as the Internet and a mobile phone end).
Disclosure of Invention
The application provides a data synchronization method and device, and aims to solve the problem that a Pamire conference management system cannot exchange user information with a third-party platform.
In order to solve the above problem, the present application discloses a method for data synchronization, which is applied to a streaming media server and includes:
receiving a synchronous data instruction sent by a Pamil conference management system, wherein the synchronous data instruction carries ID information of a conference area;
acquiring user data of the conference area according to the ID information of the conference area;
and sending the user data to the Pamir conference management system.
Optionally, the step of sending the user data to the pamier conference management system includes:
determining the number of users corresponding to the user data;
and if the number of the users is less than a set threshold value, directly sending the identification information and the user data of the users to the Pamier conference management system for displaying.
Optionally, the step of sending the user data to the pamil conference management system includes:
if the number of the users is larger than the set threshold value, processing and compressing according to the user data to generate first data;
allocating a resource ID of first data and a file identifier of the first data to the first data;
and sending the resource ID and the file identification to a Pamier conference management system.
Optionally, the method further includes:
receiving a downloading instruction sent by a Pamire conference management system, wherein the downloading instruction carries a target resource ID of data to be downloaded;
and sending the user data corresponding to the target resource ID to the Pamir conference management system according to the downloading instruction.
Optionally, the first data format is a CSV file.
In order to solve the above problem, the present application also discloses a data synchronization apparatus, which is applied to a streaming media server, and includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a synchronous data instruction sent by a Pamil conference management system, and the synchronous data instruction carries ID information of a conference area;
the acquisition module is used for acquiring the user data of the conference area according to the ID information of the conference area;
and the sending module is used for sending the user data to the Pamil meeting management system.
Optionally, the sending module includes:
and the determining unit is used for determining the number of users corresponding to the user data, and if the number of the users is smaller than a set threshold, directly sending the identification information of the users and the user data to the Pamir conference management system for displaying.
Optionally, the determining unit is further used for
If the number of the users is larger than a set threshold value, processing and compressing according to the user data to generate first data;
a setting unit, configured to allocate a resource ID of first data and a file identifier of the first data to the first data;
and the transmission unit is used for transmitting the resource ID and the file identifier to a Pamil conference management system.
Optionally, the apparatus further comprises:
the return module is used for receiving a downloading instruction sent by the Pamier conference management system, wherein the downloading instruction carries a target resource ID of data to be downloaded;
and the downloading instruction module is used for sending the user data corresponding to the target resource ID to the Pamier conference management system according to the downloading instruction.
Optionally, the first data format is a CSV file.
Compared with the prior art, the method has the following advantages:
receiving a synchronous data instruction sent by a Pamil meeting management system, wherein the synchronous data instruction carries ID information of a meeting area; acquiring user data of the conference area according to the ID information of the conference area; and sending the user data to the Pamil conference management system, namely, the user information exchange between the Pamil conference management system and a third-party platform is realized through a streaming media server.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for practicing the present application.
Drawings
Fig. 1 is a flowchart of a data synchronization method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
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.
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.
The networking structure of the data synchronization method in the application comprises the following steps: the system comprises a Pamil conference management system, a streaming media server and a third party platform (a mobile terminal, a PCTV and the like), wherein the Pamil conference management system is connected with the streaming media server through a video network, and the streaming media server is connected with the third party platform through the Internet, namely, the streaming media server is connected with the mobile terminal and the like through the Internet.
Because the protocols used by the video network and the internet are different, the Pamire conference management system cannot directly call user data from a third-party platform, so that the streaming media server is used as an intermediary in the method, and the communication between the Pamire conference management system and the third-party platform is realized.
Referring to fig. 1, a flowchart of a data synchronization method according to an embodiment of the present application is shown, where the method is applied to a streaming media server, and specifically includes:
step 101: and receiving a synchronous data instruction sent by the Pamier conference management system, wherein the synchronous data instruction carries the ID information of the conference area.
Step 102: and acquiring the user data of the conference area according to the ID information of the conference area.
Step 103: and sending the user data to the Pamir conference management system.
And after receiving a synchronous data instruction sent by the Pamil conference management system, the streaming media server acquires user data of the conference area according to the ID information of the conference area carried in the synchronous data instruction and sends the user data to the Pamil conference management system.
In practical application, the streaming media server acquires user data of a conference area according to ID information of the conference area, then determines the number of users corresponding to the user data, and directly sends identification information of the users and the user data to the Pamier conference management system for displaying if the number of the users is smaller than a set threshold. The pamier conference management system can determine that the user is a common user according to the user identification, that is, the number of users corresponding to the user data is small due to the user identification, the streaming media server can directly send all the user data to the pamier conference management system, the pamier conference management system directly presents the user data to the user, and the user performs the next conference opening operation according to actual needs.
Further, if the number of users of the user data is greater than a set threshold, the streaming media server compresses the user data to generate first data; and distributing a resource ID of the first data and a file identifier of the first data for the first data, and sending the resource ID and the file identifier to a Pamil meeting management system.
The first data format may be a CSV file, or may be other formats, and the present application is not limited specifically. The resource ID may be a link information or other information, and the application is not limited in this respect.
Further, the method further comprises:
and receiving a downloading instruction sent by the Pamier conference management system, wherein the downloading instruction carries a target resource ID of data to be downloaded.
And sending the user data corresponding to the target resource ID to the Pamil meeting management system according to the downloading instruction.
The Pamier conference management system determines whether a file identifier exists in the first data, if so, the first data indicates that the user data is a compressed file, at the moment, the conference management system sends a downloading instruction to a streaming media server, the downloading instruction carries a target resource ID of data to be downloaded, the streaming media server downloads the user data corresponding to the target resource ID one by one according to the downloading instruction, then packs the user data and sends the user data to the Pamier conference management system, after receiving a downloading response instruction sent by the Pamier conference management system, the streaming media server finishes the downloading, the Pamier conference management system analyzes the user data pack, displays the analyzed user data, and performs a next conference opening operation.
It should be noted that the setting of the threshold may be set by a person skilled in the art in any appropriate manner, for example, the threshold may be set by manual experience, or the threshold may be set according to a difference value of historical data, which is not limited in this application.
In this embodiment, a synchronous data instruction sent by a pamier conference management system is received, where the synchronous data instruction carries ID information of a conference area; acquiring user data of the conference area according to the ID information of the conference area; and sending the user data to the Pamil conference management system, namely, the user information exchange between the Pamil conference management system and a third-party platform is realized by using a streaming media server.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Based on the description of the method embodiment, the present application further provides a corresponding apparatus embodiment to implement the content described in the method embodiment.
Referring to fig. 2, a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present application is shown, where the apparatus is applied to a streaming media server, and specifically includes:
the receiving module 201 is configured to receive a synchronous data instruction sent by the pamier conference management system, where the synchronous data instruction carries ID information of a conference area.
An obtaining module 202, configured to obtain the user data of the conference area according to the ID information of the conference area.
A sending module 203, configured to send the user data to the pamil conference management system.
Optionally, the sending module includes:
and the determining unit is used for determining the number of users corresponding to the user data, and if the number of the users is smaller than a set threshold, directly sending the identification information of the users and the user data to the Pamier conference management system for displaying.
Optionally, the determining unit is further used for
And if the number of the users is larger than the set threshold value, processing and compressing according to the user data to generate first data.
And the setting unit is used for allocating the resource ID of the first data and the file identification of the first data to the first data.
And the transmission unit is used for transmitting the resource ID and the file identifier to a Pamil conference management system.
The first data format is a CSV file.
The device further comprises:
and the return module is used for receiving a downloading instruction sent by the Pamier conference management system, wherein the downloading instruction carries the target resource ID of the data to be downloaded.
And the downloading instruction module is used for sending the user data corresponding to the target resource ID to the Pamier conference management system according to the downloading instruction.
In this embodiment, a synchronous data instruction sent by a pamier conference management system is received, where the synchronous data instruction carries ID information of a conference area; acquiring user data of the conference area according to the ID information of the conference area; and sending the user data to the Pamil conference management system, namely, the user information exchange between the Pamil conference management system and a third-party platform is realized by using a streaming media server.
For the above-mentioned apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the illustrated method embodiments.
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 is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present application, but this specification is not necessarily detailed here for reasons of space limitation.
While the preferred embodiments of the present application have been described, additional variations and modifications in those 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 alterations and modifications as fall within the scope of the application.
The data synchronization method and apparatus provided by the present application are introduced in detail, and specific examples are applied in the present application to explain the principles and embodiments of the present application, and the descriptions of the above embodiments are only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (8)

1. A method for data synchronization, wherein the method is applied to a streaming media server, and comprises:
receiving a synchronous data instruction sent by a Pamir conference management system, wherein the synchronous data instruction carries ID information of a conference area;
acquiring user data of the conference area according to the ID information of the conference area;
sending the user data to the pamier conference management system;
wherein the sending the user data to the pamier conference management system comprises:
determining the number of users corresponding to the user data;
if the number of the users is larger than a set threshold value, processing and compressing according to the user data to generate first data;
allocating a resource ID of first data and a file identifier of the first data to the first data;
sending the resource ID and the file identifier to a Pamil meeting management system;
the resource ID is used to reduce the burden on the streaming server.
2. The method of claim 1, wherein the step of sending the user data to the pamier conference management system comprises:
and if the number of the users is less than a set threshold value, directly sending the identification information and the user data of the users to the Pamier conference management system for displaying.
3. The method of claim 1, further comprising:
receiving a downloading instruction sent by a Pamier conference management system, wherein the downloading instruction carries a target resource ID of data to be downloaded;
and sending the user data corresponding to the target resource ID to the Pamil meeting management system according to the downloading instruction.
4. The method of claim 3, wherein the first data format is a CSV file.
5. An apparatus for data synchronization, wherein the apparatus is applied to a streaming media server, and comprises:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a synchronous data instruction sent by a Pamir conference management system, and the synchronous data instruction carries ID information of a conference area;
the acquisition module is used for acquiring the user data of the conference area according to the ID information of the conference area;
the sending module is used for sending the user data to the Pamil meeting management system;
the sending module comprises:
the determining unit is used for determining the number of users corresponding to the user data, and if the number of users is greater than a set threshold, processing and compressing the user data to generate first data;
a setting unit, configured to allocate a resource ID of first data and a file identifier of the first data to the first data;
the transmission unit is used for transmitting the resource ID and the file identifier to a Pamil conference management system;
the resource ID is used to reduce the burden on the streaming server.
6. The apparatus of claim 5, wherein the sending module comprises:
and the determining unit is used for directly sending the identification information and the user data of the users to the Pamier conference management system for displaying if the number of the users is less than a set threshold value.
7. The apparatus of claim 5, further comprising:
the return module is used for receiving a downloading instruction sent by the Pamier conference management system, wherein the downloading instruction carries a target resource ID of data to be downloaded;
and the downloading instruction module is used for sending the user data corresponding to the target resource ID to the Pamier conference management system according to the downloading instruction.
8. The apparatus of claim 7, wherein the first data format is a CSV file.
CN201910257536.4A 2019-04-01 2019-04-01 Data synchronization method and device Active CN110120967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910257536.4A CN110120967B (en) 2019-04-01 2019-04-01 Data synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910257536.4A CN110120967B (en) 2019-04-01 2019-04-01 Data synchronization method and device

Publications (2)

Publication Number Publication Date
CN110120967A CN110120967A (en) 2019-08-13
CN110120967B true CN110120967B (en) 2022-12-23

Family

ID=67520581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910257536.4A Active CN110120967B (en) 2019-04-01 2019-04-01 Data synchronization method and device

Country Status (1)

Country Link
CN (1) CN110120967B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246135A (en) * 2018-10-19 2019-01-18 视联动力信息技术股份有限公司 A kind of acquisition methods and system of stream medium data
CN109302642A (en) * 2018-09-12 2019-02-01 视联动力信息技术股份有限公司 Collecting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302642A (en) * 2018-09-12 2019-02-01 视联动力信息技术股份有限公司 Collecting method and device
CN109246135A (en) * 2018-10-19 2019-01-18 视联动力信息技术股份有限公司 A kind of acquisition methods and system of stream medium data

Also Published As

Publication number Publication date
CN110120967A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN111010614A (en) Method, device, server and medium for displaying live caption
CN105610824B (en) A kind of screen sharing method based on screen mirror image and RTSP Streaming Media frame
US8813160B2 (en) Method, system and user device for obtaining a key frame in a streaming media service
CN110418098B (en) Method and device for starting video networking conference
CN102695081A (en) Video resource scheduling method based on Internet television and television terminal
CN111669606A (en) Live broadcast system for offline and online synchronous teaching
CN113301299B (en) Multi-channel video transmission method, system, terminal and storage medium
CN112019792A (en) Conference control method, conference control device, terminal equipment and storage medium
CN107835445B (en) MQTT protocol-based television control method, mobile terminal and television
CN103945165A (en) Method and device for processing remote video transmission of terminal device
CN113055946A (en) Service data transmission method, device, terminal equipment and storage medium
CN108696720B (en) Video scheduling system and method suitable for satellite communication
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
CN110120967B (en) Data synchronization method and device
CN112118411A (en) Data transmission method, device, terminal equipment and storage medium
CN115379279B (en) Multi-screen linkage interaction method, device, system, storage medium and electronic equipment
CN111212043A (en) Multimedia file generation method and device
CN111131777B (en) Viewing method and device for video network monitoring
CN108540820B (en) Stream data management method, device and computer readable storage medium
CN110740114B (en) Method, device and equipment for synchronizing streaming media data
CN111212052A (en) Service processing method and device, electronic equipment and storage medium
CN110769183B (en) Video-on-demand method based on video networking, link establishment method, device and system
CN110266755B (en) Method and device for acquiring state of cooperative server
CN111131746A (en) Terminal service control method and device
CN112689318A (en) Data access method, terminal, electronic device 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