CN112866618B - File synchronous playing method and system for video conference - Google Patents

File synchronous playing method and system for video conference Download PDF

Info

Publication number
CN112866618B
CN112866618B CN202011643600.1A CN202011643600A CN112866618B CN 112866618 B CN112866618 B CN 112866618B CN 202011643600 A CN202011643600 A CN 202011643600A CN 112866618 B CN112866618 B CN 112866618B
Authority
CN
China
Prior art keywords
host
playing
machine
file
play
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
CN202011643600.1A
Other languages
Chinese (zh)
Other versions
CN112866618A (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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202011643600.1A priority Critical patent/CN112866618B/en
Publication of CN112866618A publication Critical patent/CN112866618A/en
Application granted granted Critical
Publication of CN112866618B publication Critical patent/CN112866618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The application discloses a file synchronous playing method and a system for video conferences, wherein the method comprises the following steps: the method comprises the steps that a host actively mounts a matched machine, and a file list of the matched machine is summarized into a file total list; after a first slave machine initiates a play control request, searching a file to be controlled corresponding to the play control request in a file total list through a host machine, sending the play control request to other slave machines so that after searching the file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other slave machines, and after corresponding play service processing, sending a play state to the host machine in an RPC remote calling mode; after the host receives the playing state of each slave machine, the corresponding final state is recorded, and the host controls other slave machines to synchronously play the file. According to the application, the synchronous playing of the files between the host and the multiple distribution machines through the network can be realized on the premise that the distribution machines are not required to be in the same network segment.

Description

File synchronous playing method and system for video conference
Technical Field
The application relates to the technical field of video conferences and wireless communication, in particular to a file synchronous playing method and system for video conferences.
Background
In the existing large video conference room, because the conference place is larger, in order to ensure that a plurality of conference participants can have better conference experience, a video conference hardware system is generally formed by a host and a plurality of touch panel accessories, the host and each touch panel accessory are respectively provided with own storage media, and simultaneously, the USB port is also supported to expand external storage media. In the prior art, when a large video conference room is used for a plurality of people to carry out a conference, when multimedia files such as videos, audios or pictures which are ready for demonstration need to be shared, the multimedia files can only be copied to a host through a USB flash disk and cast on a large screen, and a special person is needed to play the videos.
However, in the course of research and practice of the prior art, the inventors of the present application found that the prior art has the following drawbacks by controlling the host to play files by a specific person: when the number of people participating in the video conference is excessive, the conference efficiency is greatly affected; in addition, when meeting personnel need to project the meeting file to different computers, if the different computers are not in a network segment, the meeting personnel cannot communicate directly, so that sharing of the meeting file cannot be completed, and the user experience is very poor. Therefore, there is a need for a method and system for synchronously playing files for video conferences that overcomes the above-mentioned drawbacks.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is to provide a file synchronous playing method and a system for video conferences, which can complete the synchronous playing of files between a host and a plurality of distribution machines on the premise of not limiting all distribution machines to be in the same network segment.
In order to solve the above problems, an embodiment of the present application provides a file synchronous playing method for video conference, which at least includes the following steps:
actively mounting a matched machine which needs to be accessed to a host through the host, summarizing file lists in the matched machines which are mounted to the host into a file total list, and sending the file total list to each matched machine through the host to serve as a current remote file list of each matched machine;
after the host receives a play control request initiated by a first slave, searching a file to be controlled corresponding to the play control request in the file total list by the host, and sending the play control request to other slave by an RPC remote calling mode;
after the other slave machines receive the play control request, searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other slave machines, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing;
after the host receives the playing states of the distribution machines, the corresponding final states are recorded, and the synchronous playing of the files is carried out according to the playing operation of the first distribution machine through the playing system of the host.
Further, the host actively mounts the host to be accessed, specifically:
the host computer adopts a Samba or NFS mode to mount the file system of the distribution machine to the local system of the host computer;
and mounting the provided file total list of the host to the remote file list corresponding to each host through the host.
Further, after the host receives the first play control request initiated by the first slave, the method further includes:
and the first slave machine sends a notification for initiating the play control request to the host machine in an RPC remote calling mode.
Further, before the host receives the first slave-initiated play control request, the method further includes:
when the first distribution machine detects that the U disk is accessed, the operation system of the first distribution machine acquires a U disk root directory A, and sends a U disk access notification and path information to a host by adopting an RPC remote calling mode;
after the host receives the USB flash disk access notification, a corresponding path is allocated and created according to the path information, an operating system interface is called according to the path to complete the mounting association of the USB flash disk files of the first accessory, and the catalog and the file list of the USB flash disk are obtained.
Further, before the host receives the first slave-initiated play control request, the method further includes:
when any machine is detected to be connected with the USB flash disk, the USB flash disk root directory A is obtained through the machine connected with the USB flash disk, and the remote RPC calling mode is adopted to send the USB flash disk access notification and the path information to the host.
Further, before the host receives the first slave-initiated play control request, the method further includes:
when the host is detected to be connected to the USB flash disk, the corresponding paths are distributed and created for the USB flash disk file through the host, and the paths of the various distribution machines are associated in a mounting mode through an operating system interface.
Further, the playing service processing specifically includes:
inquiring whether the player of the distribution machine can play the control program of the distribution machine or not through the player of the distribution machine;
if yes, judging the current playing state of the host computer through the distribution machine control program and returning to the player of the distribution machine, so that the player of the distribution machine starts synchronous playing according to the current playing state of the host computer, and recording the playing state and the type of the distribution machine through the distribution machine control program;
after the control program of the host receives the synchronous play starting notification sent by the control program of the slave machine, judging the state of the host to determine whether synchronous play can be performed or not, and if not, sending a play failure notification to the slave machine;
if yes, converting the playing path into a host playing path according to the playing control instruction, and informing a player of the host to synchronously play.
Further, the playing service processing further includes:
and after the player of the host computer judges that synchronous playing can be started, returning the set playing result to the distribution machine so that the control program of the distribution machine updates the playing information according to the playing result and updates the playing state of the host computer.
Further, after the host receives the playing states of the respective slave machines, the corresponding final state is recorded, and the synchronous playing of the file is performed according to the playing operation of the first slave machine through the playing system of the host, specifically:
the collected current playing operation and playing state of the player of the auxiliary machine are sent to the control program of the host machine through the control program of the auxiliary machine;
controlling a player of the host to perform corresponding playing operation according to the current playing operation of the slave machine by a control program of the host, and synchronously updating a playing interface;
and calling an operating system interface through the host to record the last operating state of the host and sending the last operating state to other distribution machines so that the other distribution machines update the playing state according to the last operating state in each period to complete synchronous playing of the file.
An embodiment of the present application further provides a file synchronous playing system for a video conference, including:
the file mounting module is used for actively mounting the distribution machine which needs to be accessed to the host through the host, summarizing all file lists mounted in the distribution machine of the host into a file total list, and sending the file total list to each distribution machine through the host to be used as a current remote file list of each distribution machine;
the play request module is used for searching a file to be controlled corresponding to the play control request in the file total list through the host after the host receives the play control request initiated by the first slave, and sending the play control request to other slave through an RPC remote calling mode;
the distribution machine control module is used for sending a play control instruction to a play system corresponding to the other distribution machine after searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request after the other distribution machine receives the play control request, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing;
and the synchronous playing module is used for recording the corresponding final state after the host receives the playing state of each auxiliary machine, and synchronously playing the file according to the playing operation of the first auxiliary machine through the playing system of the host.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides a file synchronous playing method and a system for a video conference, wherein the method comprises the following steps: actively mounting a matched machine which needs to be accessed to a host through the host, summarizing file lists in the matched machines which are mounted to the host into a file total list, and sending the file total list to each matched machine through the host to serve as a current remote file list of each matched machine; after the host receives a play control request initiated by a first slave, searching a file to be controlled corresponding to the play control request in the file total list by the host, and sending the play control request to other slave by an RPC remote calling mode; after the other slave machines receive the play control request, searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other slave machines, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing; after the host receives the playing states of the distribution machines, the corresponding final states are recorded, and the synchronous playing of the files is carried out according to the playing operation of the first distribution machine through the playing system of the host.
Compared with the prior art, the embodiment of the application can realize the playing and file synchronization between the host and a plurality of distribution machines through a network on the premise that the distribution machines are not limited to be in the same network segment, and any distribution machine can access the file list of other equipment, and the file sharing is carried out by utilizing the open source protocols such as NFS or Samba and the file system, so that the system can be compatible with internal storage media, external storage media and the like, the stability and the safety of the system are improved, and the system deployment threshold is reduced; meanwhile, a user can play and synchronize files of the host and other distribution machines through one distribution machine, so that the defect that the other distribution machines can only be controlled by operating the host through the user in the prior art is overcome; when the file is synchronously played, the playing states of all the devices are synchronized through remote RPC call, so that the development cost is greatly reduced, and the expandability of the video conference system is improved.
Drawings
Fig. 1 is a flowchart of a file synchronous playing method for video conferences according to a first embodiment of the present application;
FIG. 2 is a flowchart illustrating a file list synchronization principle according to a first embodiment of the present application;
fig. 3 is a schematic flow chart of a file synchronous playing synchronization principle according to the first embodiment of the present application;
fig. 4 is a schematic structural diagram of a file synchronous playing system for video conferences according to a second embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Firstly, the application can provide application scenes, such as synchronous playing of files to a host computer and other distribution machines of a video conference system through the distribution machines.
First embodiment of the present application:
please refer to fig. 1-3.
As shown in fig. 1, this embodiment provides a file synchronous playing method for video conferences, which at least includes the following steps:
s1, actively mounting a matched machine which needs to be accessed to a host through the host, summarizing all file lists mounted in the matched machine of the host into a file total list, and sending the file total list to each matched machine through the host to serve as a current remote file list of each matched machine.
In a preferred embodiment, the active mounting of the host through the host requires accessing the host, specifically:
the host computer adopts a Samba or NFS mode to mount the file system of the distribution machine to the local system of the host computer;
and mounting the provided file total list of the host to the remote file list corresponding to each host through the host.
Specifically, for step S1, mainly the file list synchronization process, as shown in fig. 2, includes two parts of file list synchronization of the host and the slave. For the host part, firstly, a host (such as a tablet computer) accessed to the host is actively mounted; and providing Samba/NFS service, allowing a platform accessed to the host to mount, mounting the file system of the slave to the host locally by means of Samba or NFS, and integrating the file lists of all the slave mounted to the host locally into a total list, and providing the total list to each slave in the video conference system.
For the machine matching part, samba\NFS service is also provided, so that the host is used for mounting and actively mounting the file list and the current remote file list provided by the host. The file list of each machine in the system is synchronized, and even if a network cannot be directly connected, the effect of sharing files in the whole video conference system can be achieved.
For samba\nfs service, the file system is based on network access, that is, an operating system interface is used to access a file of another device through a network, so for a host, a usb disk directory a on a host (tablet computer) needs to be associated with a local directory B of the host, and an application program on the host operates the file in the directory B, which is equivalent to operating the usb disk directory a on the tablet computer. Generally, the current kernel of the operating system supports Samba and NFS services, and an application program needs to specify a local directory and acquire a shared directory which is wanted to be mounted on the device.
S2, after the host receives the first distribution machine to initiate the play control request, searching a file to be controlled corresponding to the play control request in the file total list through the host, and sending the play control request to other distribution machines through an RPC remote calling mode.
In a preferred embodiment, after the host receives the first play control request from the first slave, the method further includes:
and the first slave machine sends a notification for initiating the play control request to the host machine in an RPC remote calling mode.
Specifically, for step S2, when the first accessory initiates a play or control request, the first accessory calls and notifies the host through the RPC remote call mode, searches the corresponding file in the file list of the host, and also notifies the request to other accessory terminals through the RPC remote call mode.
As shown in fig. 3, the present embodiment provides a flow chart of the file synchronous playing principle.
In a specific embodiment, all accessories are connected to a host through a network, a multimedia file list is transferred through the host, and file list data exchange is carried out between the samba server and different accessories; in the whole system, any one terminal can access the file list of other devices. When one terminal plays, the host is told to play, and the host notifies each other terminal to enter a play state. When any terminal performs fast forward or fast backward operation, the host also tells other terminals to perform the same operation.
Wherein the RPC remote invocation essentially exchanges data between two devices on the network via the TCP/UDP protocol, i.e. when there are two devices A, B, the network is interworking. The purpose of calling Interface1 on device A and responding Interface1 call on device B can be achieved by defining RPC Interface and data structure between A and B. The remote invocation of RPC can conveniently realize state notification and data exchange between A, B through a network. The ProtoBuf of Thrift, google with Apache is realized by using a relatively wide RPC at present, the specific realization of the RPC is not limited in the embodiment of the application, and the notification and the data synchronization among different devices are realized by using the technology.
And S3, after the other distribution machine receives the play control request, searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other distribution machine, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing.
Specifically, for step S3, after the other slave machines receive the play control request sent by the first slave machine and forwarded by the host machine, the slave machine searches a remote file list of the slave machine for a file to be played or controlled, notifies the file to be played or controlled to a play system of the slave machine, and after performing corresponding service processing, invokes and notifies the play state to the host machine of the video conference system in an RPC remote invoking mode.
S4, after the host receives the playing states of the distribution machines, the corresponding final states are recorded, and the synchronous playing of the files is carried out through the playing system of the host according to the playing operation of the first distribution machine.
Specifically, for step S4, after the host receives the playing states of each slave machine, the final state is recorded, and the playing system of the host is called to play, and meanwhile, the final playing state is fed back to the operation initiating terminal (the first slave machine), so that the playing state of the whole video conference system is synchronized.
In a preferred embodiment, before the host receives the first play control request initiated by the first slave, the method further includes:
when the first distribution machine detects that the U disk is accessed, the operation system of the first distribution machine acquires a U disk root directory A, and sends a U disk access notification and path information to a host by adopting an RPC remote calling mode;
after the host receives the USB flash disk access notification, a corresponding path is allocated and created according to the path information, an operating system interface is called according to the path to complete the mounting association of the USB flash disk files of the first accessory, and the catalog and the file list of the USB flash disk are obtained.
In a preferred embodiment, before the host receives the first play control request initiated by the first slave, the method further includes:
when any machine is detected to be connected with the USB flash disk, the USB flash disk root directory A is obtained through the machine connected with the USB flash disk, and the remote RPC calling mode is adopted to send the USB flash disk access notification and the path information to the host.
Specifically, when any of the auxiliary machines is started, a Samba/NFS service is started, whether equipment is plugged or not is detected through an operating system of the auxiliary machine, and if so, whether the U disk is accessed or not is detected; when the access to the USB flash disk is detected, an accessible USB flash disk root directory A is obtained through an operating system interface, the accessory informs a host of the access to the USB flash disk, and simultaneously informs a host of a path through an RPC interface; after receiving that a new USB flash disk is accessed to a host, the host allocates and creates a local directory slave1 for mapping the USB flash disk directory of the host; an operating system interface is called to finish the mapping of the catalog slave1 and the distribution machine catalog A, namely, the path of the distribution machine is connected with the mounting association by utilizing a Samba/Nfs interface of the operating system; and finally, an operating system interface traversal directory slave1 is called, all files of the U disk of the slave machine are traversed, and a file list UST-1 is obtained.
In a preferred embodiment, before the host receives the first play control request initiated by the first slave, the method further includes:
when the host is detected to be connected to the USB flash disk, the corresponding paths are distributed and created for the USB flash disk file through the host, and the paths of the various distribution machines are associated in a mounting mode through an operating system interface.
Specifically, when a video conference system is accessed to one SLAVE machine, a host machine can acquire a file LIST, and all the SLAVE machine file LISTs are assembled into a SLAVE file LIST-SLAVE; meanwhile, when the host accesses the USB flash disk, the catalog and the file LIST of the USB flash disk are obtained through an operating system interface, and all the file LISTs of the USB flash disk directly connected to the host are assembled into a host file LIST LIST-MASTER; and finally, integrating the SLAVE file LIST with the host file LIST-MASTER to form a file total LIST, providing the file total LIST to each SLAVE machine which is accessed to the video conference system and serving as a remote file LIST of each SLAVE machine, so that when the SLAVE machine plays and synchronizes files through the host machine, the SLAVE machine can directly search the corresponding files to be played or controlled in the remote file LIST.
In a preferred embodiment, the processing of the playing service in the step S3 specifically includes:
inquiring whether the player of the distribution machine can play the control program of the distribution machine or not through the player of the distribution machine;
if yes, judging the current playing state of the host computer through the distribution machine control program and returning to the player of the distribution machine, so that the player of the distribution machine starts synchronous playing according to the current playing state of the host computer, and recording the playing state and the type of the distribution machine through the distribution machine control program;
after the control program of the host receives the synchronous play starting notification sent by the control program of the slave machine, judging the state of the host to determine whether synchronous play can be performed or not, and if not, sending a play failure notification to the slave machine;
if yes, converting the playing path into a host playing path according to the playing control instruction, and informing a player of the host to synchronously play.
In a preferred embodiment, the playing service processing in step S3 further includes:
and after the player of the host computer judges that synchronous playing can be started, returning the set playing result to the distribution machine so that the control program of the distribution machine updates the playing information according to the playing result and updates the playing state of the host computer.
Specifically, firstly, inquiring whether the video can be played or not to a distribution machine control program by controlling a player in a distribution machine of an initiating terminal, and returning the play state to the distribution machine player by the distribution machine control program when the host in the video conference system is in a play state; after the player of the distribution machine starts to play, the distribution machine control program records the relevant data such as the playing state, the type and the like, and informs the host to start playing; the host control program queries the state of the host computer and determines whether the host computer can play the host computer; if the playing is judged to be unable to be played, notifying a playing failure and a result to a distribution machine of the control initiating terminal; if the video can be played, converting the path into a local path according to the playing control request and the playing file information, and informing the host player of entering a playing state, and likewise, judging whether playing is carried out or not and judging the layout or other operations of the video to be prepared for playing; when the inside of the host player judges that the playing can be started, the set playing result is sent to a host control program, and the host control program returns the playing result and updates playing information such as fast forward, zoom ratio and the like; the control program of the distribution machine updates the current playing state of the host machine, and the distribution machine is completed to inform the state to the host machine through RPC call.
In a preferred embodiment, step S4 records the corresponding final state after the host receives the playing states of the respective slave machines, and performs synchronous playing of the file according to the playing operation of the first slave machine through the playing system of the host, specifically:
the collected current playing operation and playing state of the player of the auxiliary machine are sent to the control program of the host machine through the control program of the auxiliary machine;
controlling a player of the host to perform corresponding playing operation according to the current playing operation of the slave machine by a control program of the host, and synchronously updating a playing interface;
and calling an operating system interface through the host to record the last operating state of the host and sending the last operating state to other distribution machines so that the other distribution machines update the playing state according to the last operating state in each period to complete synchronous playing of the file.
Specifically, when the player of the slave machine at the initiating end is controlled to perform playing operations such as amplifying/fast forwarding to the slave machine control program, the slave machine control program judges the current state and sends the same playing operations such as amplifying/fast forwarding to the host machine control program of the video conference system, and after judging the current state, the host machine control program sends a state notification in operation to the slave machine control program and notifies the host machine player to perform corresponding related operations; synchronizing interfaces of the host player, and calling a system operation interface to operate after the synchronization is completed; the host control program calls the related interface of the operating system, records the last operation state, synchronizes the video playing progress once in each period, sends an operation result to the distribution control program, and updates the current playing state; the machine matching control program updates the current playing state according to the operation result to finish the playing control operation; in the process of synchronizing the interfaces of the host players, the host is also required to synchronize the interfaces of other accessed slave machines (except the slave machine controlling the initiating terminal) according to the operation instruction received by the host, including file operation synchronization and video progress synchronization, so as to realize the technical effect of synchronously playing or controlling the files or videos of the host and other slave machines of the video conference system by any slave machine.
The file synchronous playing method for the video conference provided by the embodiment comprises the following steps: actively mounting a matched machine which needs to be accessed to a host through the host, summarizing file lists in the matched machines which are mounted to the host into a file total list, and sending the file total list to each matched machine through the host to serve as a current remote file list of each matched machine; after the host receives a play control request initiated by a first slave, searching a file to be controlled corresponding to the play control request in the file total list by the host, and sending the play control request to other slave by an RPC remote calling mode; after the other slave machines receive the play control request, searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other slave machines, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing; after the host receives the playing states of the distribution machines, the corresponding final states are recorded, and the synchronous playing of the files is carried out according to the playing operation of the first distribution machine through the playing system of the host.
The embodiment can realize the playing and file synchronization between the host and a plurality of distribution machines through a network on the premise that the distribution machines are not limited to be in the same network segment, and any one distribution machine can access the file list of other devices, and file sharing is carried out by utilizing an open source protocol such as NFS or Samba and a file system, so that the system can be compatible with internal storage and external storage media, the stability and the safety of the system are improved, and the system deployment threshold is reduced; meanwhile, a user can play and synchronize files of the host and other distribution machines through one distribution machine, so that the defect that the other distribution machines can only be controlled by operating the host through the user in the prior art is overcome; when the file is synchronously played, the playing states of all the devices are synchronized through remote RPC call, so that the development cost is greatly reduced, and the expandability of the video conference system is improved.
Second embodiment of the present application:
please refer to fig. 4.
As shown in fig. 4, the present embodiment provides a file synchronous playing system for video conference, including:
the file mounting module 100 is configured to actively mount a machine matching with a host to be accessed through the host, collect all file lists mounted in the machine matching with the host into a file total list, and send the file total list to each machine matching through the host as a current remote file list of each machine matching.
Specifically, for the file mounting module 100, the file mounting module is mainly used for processing file list synchronization, and includes two parts of file list synchronization of a host and a slave. For the host part, firstly, a host (such as a tablet computer) accessed to the host is actively mounted; and providing Samba/NFS service, allowing a platform accessed to the host to mount, mounting the file system of the slave to the host locally by means of Samba or NFS, and integrating the file lists of all the slave mounted to the host locally into a total list, and providing the total list to each slave in the video conference system.
For the machine matching part, samba\NFS service is also provided, so that the host is used for mounting and actively mounting the file list and the current remote file list provided by the host. The file list of each machine in the system is synchronized, and even if a network cannot be directly connected, the effect of sharing files in the whole video conference system can be achieved.
And the play request module 200 is configured to, after the host receives a play control request initiated by the first slave, search, by the host, a file to be controlled corresponding to the play control request in the file total list, and send the play control request to other slave in an RPC remote call manner.
Specifically, for the play request module 200, when the first accessory initiates a play or control request, the play request module is configured to call and notify the host through an RPC remote call mode, search, by the host, a corresponding file in a file list of the host, and notify the request to other accessory terminals through the RPC remote call mode.
And the distribution machine control module 300 is configured to send a play control instruction to a play system corresponding to the other distribution machine after the other distribution machine receives the play control request and searches a remote file list corresponding to the play control request for a file to be controlled corresponding to the play control request, and send a play state to the host machine in an RPC remote call mode after corresponding play service processing is performed.
Specifically, for the machine matching control module 300, after receiving a play control request sent by the host machine forwarding the first machine matching, the other machine matching is configured to search a remote file list of the machine matching machine for a file to be played or to be controlled, notify the playing system of the machine, and notify the host machine of the playing state to the video conference system in an RPC remote call mode after performing corresponding service processing.
And the synchronous playing module 400 is used for recording the corresponding final state after the host receives the playing state of each distribution machine, and synchronously playing the file according to the playing operation of the first distribution machine through the playing system of the host.
Specifically, for the synchronous playing module 400, after the host receives the playing states of each slave machine, the final state is recorded, and the playing system of the host is called to play, and meanwhile, the final playing state is fed back to the operation initiating terminal (the first slave machine), so that the playing state of the whole video conference system is synchronous.
The file synchronous playing system for video conferences provided in this embodiment includes: the file mounting module 100 is configured to actively mount a machine matching with a host to be accessed through the host, collect all file lists mounted in the machine matching with the host into a file total list, and send the file total list to each machine matching through the host as a current remote file list of each machine matching. And the play request module 200 is configured to, after the host receives a play control request initiated by the first slave, search, by the host, a file to be controlled corresponding to the play control request in the file total list, and send the play control request to other slave in an RPC remote call manner. And the distribution machine control module 300 is configured to send a play control instruction to a play system corresponding to the other distribution machine after the other distribution machine receives the play control request and searches a remote file list corresponding to the play control request for a file to be controlled corresponding to the play control request, and send a play state to the host machine in an RPC remote call mode after corresponding play service processing is performed. And the synchronous playing module 400 is used for recording the corresponding final state after the host receives the playing state of each distribution machine, and synchronously playing the file according to the playing operation of the first distribution machine through the playing system of the host.
The embodiment can realize the playing and file synchronization between the host and a plurality of distribution machines through a network on the premise that the distribution machines are not limited to be in the same network segment, and any one distribution machine can access the file list of other devices, and file sharing is carried out by utilizing an open source protocol such as NFS or Samba and a file system, so that the system can be compatible with internal storage and external storage media, the stability and the safety of the system are improved, and the system deployment threshold is reduced; meanwhile, a user can play and synchronize files of the host and other distribution machines through one distribution machine, so that the defect that the other distribution machines can only be controlled by operating the host through the user in the prior art is overcome; when the file is synchronously played, the playing states of all the devices are synchronized through remote RPC call, so that the development cost is greatly reduced, and the expandability of the video conference system is improved.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The system embodiments described above are merely exemplary, and for example, the modules may be divided into a logic function, and another division may be implemented in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
While the foregoing is directed to the preferred embodiments of the present application, it should be noted that modifications and variations could be made by those skilled in the art without departing from the principles of the present application, and such modifications and variations are to be regarded as being within the scope of the application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.

Claims (9)

1. A method for synchronously playing files for video conferences, comprising at least the following steps:
actively mounting a matched machine which needs to be accessed to a host through the host, summarizing file lists in the matched machines which are mounted to the host into a file total list, and sending the file total list to each matched machine through the host to serve as a current remote file list of each matched machine;
after the host receives a play control request initiated by a first slave, searching a file to be controlled corresponding to the play control request in the file total list by the host, and sending the play control request to other slave by an RPC remote calling mode;
after the other slave machines receive the play control request, searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request, sending a play control instruction to a play system corresponding to the other slave machines, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing; the playing service processing specifically comprises the following steps: inquiring whether the player of the distribution machine can play the control program of the distribution machine or not through the player of the distribution machine; if yes, judging the current playing state of the host computer through the distribution machine control program and returning to the player of the distribution machine, so that the player of the distribution machine starts synchronous playing according to the current playing state of the host computer, and recording the playing state and the type of the distribution machine through the distribution machine control program; after the control program of the host receives the synchronous play starting notification sent by the control program of the slave machine, judging the state of the host to determine whether synchronous play can be performed or not, and if not, sending a play failure notification to the slave machine; if yes, converting the playing path into a host playing path according to the playing control instruction, and informing a player of the host to synchronously play;
after the host receives the playing states of the distribution machines, the corresponding final states are recorded, and the synchronous playing of the files is carried out according to the playing operation of the first distribution machine through the playing system of the host.
2. The method for synchronously playing files for video conferences according to claim 1, wherein the active mounting of the host machine by the host machine requires accessing the host machine is specifically as follows:
the host computer adopts a Samba or NFS mode to mount the file system of the distribution machine to the local system of the host computer;
and mounting the provided file total list of the host to the remote file list corresponding to each host through the host.
3. The method for synchronously playing files for video conferences of claim 1, further comprising, after the host receives the first request for play control from the first host:
and the first slave machine sends a notification for initiating the play control request to the host machine in an RPC remote calling mode.
4. The method for synchronized playback of a file for a video conference of claim 1, further comprising, before the host receives the first peer-initiated playback control request:
when the first distribution machine detects that the U disk is accessed, the operation system of the first distribution machine acquires a U disk root directory A, and sends a U disk access notification and path information to a host by adopting an RPC remote calling mode;
after the host receives the USB flash disk access notification, a corresponding path is allocated and created according to the path information, an operating system interface is called according to the path to complete the mounting association of the USB flash disk files of the first accessory, and the catalog and the file list of the USB flash disk are obtained.
5. The method for synchronized playback of a file for a video conference of claim 4, further comprising, before said host receives the first peer-initiated playback control request:
when any machine is detected to be connected with the USB flash disk, the USB flash disk root directory A is obtained through the machine connected with the USB flash disk, and the remote RPC calling mode is adopted to send the USB flash disk access notification and the path information to the host.
6. The method for synchronized playback of a file for a video conference of claim 4, further comprising, before said host receives the first peer-initiated playback control request:
when the host is detected to be connected to the USB flash disk, the corresponding paths are distributed and created for the USB flash disk file through the host, and the paths of the various distribution machines are associated in a mounting mode through an operating system interface.
7. The file synchronous playing method for video conference according to claim 1, wherein the playing service process further comprises:
and after the player of the host computer judges that synchronous playing can be started, returning the set playing result to the distribution machine so that the control program of the distribution machine updates the playing information according to the playing result and updates the playing state of the host computer.
8. The method for synchronously playing files for video conferences according to claim 1, wherein after the host receives the playing states of the respective slave machines, the corresponding final states are recorded, and the synchronous playing of the files is performed by the playing system of the host machine according to the playing operation of the first slave machine, specifically:
the collected current playing operation and playing state of the player of the auxiliary machine are sent to the control program of the host machine through the control program of the auxiliary machine;
controlling a player of the host to perform corresponding playing operation according to the current playing operation of the slave machine by a control program of the host, and synchronously updating a playing interface;
and calling an operating system interface through the host to record the last operating state of the host and sending the last operating state to other distribution machines so that the other distribution machines update the playing state according to the last operating state in each period to complete synchronous playing of the file.
9. A file synchronized playback system for a video conference, comprising:
the file mounting module is used for actively mounting the distribution machine which needs to be accessed to the host through the host, summarizing all file lists mounted in the distribution machine of the host into a file total list, and sending the file total list to each distribution machine through the host to be used as a current remote file list of each distribution machine;
the play request module is used for searching a file to be controlled corresponding to the play control request in the file total list through the host after the host receives the play control request initiated by the first slave, and sending the play control request to other slave through an RPC remote calling mode;
the distribution machine control module is used for sending a play control instruction to a play system corresponding to the other distribution machine after searching a file to be controlled corresponding to the play control request in a remote file list corresponding to the play control request after the other distribution machine receives the play control request, and sending a play state to the host machine in an RPC remote calling mode after corresponding play service processing; the playing service processing specifically comprises the following steps: inquiring whether the player of the distribution machine can play the control program of the distribution machine or not through the player of the distribution machine; if yes, judging the current playing state of the host computer through the distribution machine control program and returning to the player of the distribution machine, so that the player of the distribution machine starts synchronous playing according to the current playing state of the host computer, and recording the playing state and the type of the distribution machine through the distribution machine control program; after the control program of the host receives the synchronous play starting notification sent by the control program of the slave machine, judging the state of the host to determine whether synchronous play can be performed or not, and if not, sending a play failure notification to the slave machine; if yes, converting the playing path into a host playing path according to the playing control instruction, and informing a player of the host to synchronously play;
and the synchronous playing module is used for recording the corresponding final state after the host receives the playing state of each auxiliary machine, and synchronously playing the file according to the playing operation of the first auxiliary machine through the playing system of the host.
CN202011643600.1A 2020-12-31 2020-12-31 File synchronous playing method and system for video conference Active CN112866618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643600.1A CN112866618B (en) 2020-12-31 2020-12-31 File synchronous playing method and system for video conference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643600.1A CN112866618B (en) 2020-12-31 2020-12-31 File synchronous playing method and system for video conference

Publications (2)

Publication Number Publication Date
CN112866618A CN112866618A (en) 2021-05-28
CN112866618B true CN112866618B (en) 2023-09-19

Family

ID=76000903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643600.1A Active CN112866618B (en) 2020-12-31 2020-12-31 File synchronous playing method and system for video conference

Country Status (1)

Country Link
CN (1) CN112866618B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149375A (en) * 2019-04-30 2019-08-20 广州微算互联信息技术有限公司 Data sharing method, system and storage medium between network storage cloud mobile phone
CN112148678A (en) * 2020-09-18 2020-12-29 苏州浪潮智能科技有限公司 File access method, system, device and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006012085A (en) * 2004-06-29 2006-01-12 Nec Corp Conference support system and conference support method
WO2008017001A2 (en) * 2006-08-02 2008-02-07 Moka5, Inc. Sharing live appliances

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149375A (en) * 2019-04-30 2019-08-20 广州微算互联信息技术有限公司 Data sharing method, system and storage medium between network storage cloud mobile phone
CN112148678A (en) * 2020-09-18 2020-12-29 苏州浪潮智能科技有限公司 File access method, system, device and medium

Also Published As

Publication number Publication date
CN112866618A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US10681403B2 (en) Method of integrating remote content with hospitality media system and media system thereof
US10623797B2 (en) Group editing of media content stored on wireless portable devices
CN103905176B (en) By the method and apparatus of the control directory services synchronization in universal plug and play network
JP6213181B2 (en) Synchronous playback system and synchronous playback method
JPH07202981A (en) Multimedia system
CN110677611B (en) Multi-device recording synchronization method and system and conference system
CN102325144A (en) Method and system for interconnection between media equipment and multimedia equipment
CN106303679B (en) Media playing control method and media playing client
CN110381160B (en) Communication information interaction method and device, storage medium and computer equipment
CN114422460B (en) Method and system for establishing same-screen communication sharing in instant communication application
US11523146B2 (en) Live broadcast method and apparatus, electronic device, and storage medium
CN114168550A (en) File management and display method and management system of cloud mobile phone
JP2005505205A (en) Audio and / or visual systems, methods and components
CN113055637A (en) Screen sharing timing method in conference
CN109032768A (en) Moving method, device, terminal, server and the storage medium of utility cession
WO2021142875A1 (en) Video call switching method, storage medium and terminal
CN112866618B (en) File synchronous playing method and system for video conference
CN114116611A (en) File scanning method and related device
US20170257402A1 (en) Control system, control method, and computer-readable recording medium
CN100578516C (en) Method and system for processing audio data in computer game
JP4304032B2 (en) Computer system, small box used in the system, and table incorporating the small box
CN113132808B (en) Video generation method and device and computer readable storage medium
JP6291802B2 (en) Control system, communication system, program, and control method
JP2018195877A (en) Information processor, information processing system, and information processing method
JP2000222381A (en) Album preparation method and information processor and information outputting device

Legal Events

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