[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2016206508A1 - Method and device for synchronizing content in screen of terminal - Google Patents

Method and device for synchronizing content in screen of terminal Download PDF

Info

Publication number
WO2016206508A1
WO2016206508A1 PCT/CN2016/082659 CN2016082659W WO2016206508A1 WO 2016206508 A1 WO2016206508 A1 WO 2016206508A1 CN 2016082659 W CN2016082659 W CN 2016082659W WO 2016206508 A1 WO2016206508 A1 WO 2016206508A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
shared
file
synchronization
parameter
Prior art date
Application number
PCT/CN2016/082659
Other languages
French (fr)
Chinese (zh)
Inventor
郝志坚
朱钰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016206508A1 publication Critical patent/WO2016206508A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Definitions

  • This application relates to, but is not limited to, the field of terminal synchronization technology.
  • the screen sharing technology in the related art can be classified into near-field screen sharing and remote screen sharing according to the location of the terminal.
  • Near-field screen sharing can be realized by wired, wireless fidelity (WiFi) and Bluetooth technology. Generally, it is implemented between two terminal devices, and the number of devices is limited.
  • the video conferencing terminal usually establishes a communication connection with the server and the screen sharing device, and the screen sharing device establishes a video transmission channel with the server, and the screen sharing device collects its own screen sharing data and sends it to the video conference terminal; the video conference terminal The received screen sharing data is copied and forwarded to the server; the server sends the screen sharing data to the screen sharing device; finally, the screen sharing device receives and displays the screen sharing data, so that multi-device screen sharing can be achieved.
  • the screen content of the shared device is collected and then transmitted to the server and distributed to other devices. Since multiple processes are performed during the synchronization process, the collection and transmission may cause a long delay, and it is difficult to achieve the screen content. Real-time synchronization.
  • the present invention provides a terminal screen content synchronization method and device to solve the related art terminal screen
  • the delay of the screen content for a long time makes it difficult to realize the technical problem of real-time synchronization.
  • a terminal screen content synchronization method includes:
  • the method before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
  • an instruction to display the file to be shared is sent to the second terminal that retrieves the file to be shared;
  • the method before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
  • the method before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
  • obtaining a verification parameter from the request instruction, and determining whether the obtained verification parameter matches a preset verification parameter include:
  • the verification parameter is obtained from the request instruction, and it is determined whether the acquired verification parameter matches the preset verification parameter.
  • a terminal screen content synchronization device comprising:
  • the receiving module is configured to: receive a synchronization parameter of the file to be shared sent by the first terminal;
  • An acquiring module configured to: when the receiving module receives the synchronization parameter, acquire a sharing group to which the first terminal belongs;
  • a synchronization module configured to: send the synchronization parameter received by the receiving module to a second terminal in the shared group acquired by the acquiring module, for the second terminal to synchronously display according to the synchronization parameter The file to be shared.
  • the terminal screen content synchronization device further includes: a determining module and a sending module;
  • the receiving module is further configured to: receive the file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared;
  • the determining module is configured to: determine, according to the attribute information acquired by the receiving module, whether the second terminal stores the file to be shared;
  • the sending module is configured to: when the determining module determines that the second terminal stores the file to be shared, send, to the second terminal that retrieves the file to be shared, the to-be-shared Instruction of the document;
  • the sending module is further configured to: when the determining module determines that the second terminal does not store the file to be shared, send the file to be shared to the not-recovered file to be shared And a second terminal, where the second terminal displays the received file to be shared.
  • the terminal screen content synchronization device further includes a sending module
  • the receiving module is further configured to: receive a file to be shared transmitted by the first terminal;
  • the sending module is further configured to: send, by the receiving module, the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
  • the terminal screen content synchronization device further includes:
  • the verification module is configured to: after the receiving module receives the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine whether the obtained verification parameter is preset The verification parameters match;
  • the response module is configured to: when the verification module determines that the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the shared group.
  • the verification module includes:
  • a determining unit configured to: after the receiving module receives the request for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
  • a verification unit configured to: when the determining unit determines that the number of group members of the sharing group is less than the preset threshold, obtaining a verification parameter from the request instruction, and determining whether the acquired verification parameter is The preset verification parameters match.
  • the server receives the synchronization parameter of the shared file sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the share.
  • a second terminal in the group for the second terminal to synchronously display the shared file according to the synchronization parameter; the solution provided by the embodiment of the present invention does not need to transmit the file to be shared in the synchronization process, and only needs to transmit the synchronization parameter to implement the screen content. Synchronization, occupying small memory and fast transmission speed, realizing real-time synchronization, solving the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
  • FIG. 1 is a flowchart of a method for synchronizing a content of a terminal screen according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for synchronizing terminal screen content according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a device for synchronizing a screen of a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of another terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a verification module in a terminal screen content synchronization apparatus according to the embodiment shown in FIG. 8.
  • Embodiments of the present invention provide a terminal screen content synchronization method.
  • FIG. 1 is a flowchart of a method for synchronizing a content of a terminal screen according to an embodiment of the present invention.
  • the terminal screen content synchronization method includes the following steps, that is, steps 110 to 130:
  • Step 110 Receive a synchronization parameter of a file to be shared sent by the first terminal.
  • the remote screen sharing conference scene is taken as an example to explain the terminal screen content synchronization method in the embodiment of the present invention.
  • the method in the embodiment of the present invention is not limited to the application scenario in the embodiment, for example, Used for distance learning, remote multi-site video display and other scenes.
  • the first terminal mentioned below is a shared terminal, that is, the originating end of the screen content synchronization
  • the second terminal is another terminal that needs to establish a synchronization relationship with the shared terminal, and the number of the terminals may be one or more, during the synchronous conference process.
  • the second terminal and the first terminal are interchangeable.
  • the first terminal or the second terminal first applies to the server to have a certain After the virtual meeting room (that is, the shared group) of the number of seats, the name and password of the virtual meeting room are obtained after the application is completed. After the terminal that needs to participate in the meeting finds the corresponding virtual meeting room, enter the virtual meeting by using the password. Room, establish contact with the server.
  • the virtual meeting room that is, the shared group
  • the name and password of the virtual meeting room are obtained after the application is completed.
  • the terminal that needs to participate in the meeting finds the corresponding virtual meeting room, enter the virtual meeting by using the password. Room, establish contact with the server.
  • the server receives the synchronization parameter of the file to be shared sent by the server from the first terminal in real time, and the synchronization parameter may include the number of video frames, the number of pages of the PPT/Word, the pause instruction, or the The page instruction or the like, the first terminal converts the received display instructions to be shared files into synchronization parameters and sends the synchronization parameters to the server, and the server receives the synchronization parameters.
  • Step 120 When receiving the synchronization parameter, acquire a sharing group to which the first terminal belongs.
  • Step 130 Send the synchronization parameter to the second terminal in the shared group, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter.
  • the conference can be started.
  • the file to be shared may be obtained and stored by the second terminal before the conference starts, or before the synchronization parameter is transmitted. Obtained from the first terminal by the server. Since the conference presenter will perform some operations on the shared terminal to explain the content of the conference to the users participating in the conference, during the explanation process, some operations will be performed on the file, such as page turning of the PPT, playing or pause of the video, etc.
  • the first terminal generates the corresponding synchronization parameters by sending the corresponding synchronization parameters to the server, and after receiving the synchronization parameters, the server acquires the shared group (ie, the virtual conference room) to which the first terminal belongs, and sends the synchronization group in real time.
  • the screen on the second terminal and the sharing terminal can be realized.
  • the screen displays the files to be shared in real time.
  • the server obtains the synchronization parameter of the file to be shared sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the shared group.
  • a second terminal wherein the second terminal synchronously displays the file to be shared according to the synchronization parameter; the foregoing method does not need to transmit the file to be shared during the synchronization process, and only needs to transmit
  • the synchronization parameter can realize the synchronization of the screen content, occupy small memory and fast transmission speed, can realize real-time synchronization, and solve the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
  • FIG. 2 it is a flowchart of another terminal screen content synchronization method according to an embodiment of the present invention.
  • the terminal screen content synchronization method provided in this embodiment may further include the following steps 100 to 103 before the step 110:
  • Step 100 Receive a file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared.
  • Step 101 Determine, according to the obtained attribute information, whether the second terminal stores the file to be shared.
  • the operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
  • the server may obtain the attribute information of the file to be shared, and the server may determine, according to the attribute information of the file to be shared, whether the second terminal stores the file to be shared, for example, Sending an instruction to retrieve the file to be shared to the second terminal, instructing the second terminal to perform the retrieval and transmitting the retrieval result to the server.
  • Step 102 When it is determined that the second terminal stores the file to be shared, issue an instruction to display the file to be shared to the second terminal that retrieves the file to be shared.
  • Step 103 When it is determined that the second terminal does not store the file to be shared, send the file to be shared to the second terminal that does not retrieve the file to be shared, for the second The terminal displays the received file to be shared.
  • the second terminal When there are multiple second terminals, there may be a second terminal that stores files to be shared, and some second terminals do not store files to be shared. For the second terminal that stores files to be shared, only the files to be shared are issued. The instruction, for the second terminal that does not store the file to be shared, sends the file to be shared to the second terminal.
  • the terminal screen content synchronization method proposed in this embodiment the sharing device first transmits the file to be shared Enter the server, so you can reduce many links when synchronizing. If other terminals have files to be shared, you don't need to transfer the files to be shared in the synchronization process. You only need to transfer the synchronization parameters to achieve synchronization. It takes up less memory and has faster transmission speed. Real-time synchronization can be realized; if there are no files to be shared on other terminals, the files to be shared can be obtained from the server in time before the synchronous display, and only the synchronization parameters need to be transmitted in the synchronization process, and the terminal screen content in the related technology is solved. Longer delays make it difficult to achieve real-time synchronization.
  • the terminal screen content synchronization method provided in this embodiment may further include the following steps 104 to 105 before the step 110:
  • Step 104 Receive a file to be shared transmitted by the first terminal.
  • Step 105 Send the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
  • the operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
  • the server After the first terminal sends the file to be shared to the server, the server receives the file to be shared, and directly sends the file to be shared to all the second terminals, so that all the second terminals display the file to be shared.
  • the sharing device firstly transfers the file to be shared to the server, so that a plurality of links can be reduced when synchronizing, and synchronization can be realized only by transmitting synchronization parameters, occupying small memory and fast transmission speed. Real-time synchronization is possible.
  • the terminal screen content synchronization method provided in this embodiment further includes: before step 110, the method further includes:
  • Step 106 After receiving the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine whether the obtained verification parameter is related to a preset verification parameter. Number matching
  • Step 107 When the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the shared group.
  • each terminal needs to input the correct password to enter the virtual conference room when logging in to the virtual conference room.
  • the server receives the terminal request to enter After the instruction of the virtual conference room, the password input by the virtual conference room is obtained, and compared with the preset password. When the preset password is met, the terminal successfully enters the virtual conference room in response to the above instruction.
  • the step 106 may include: after receiving the request for joining the shared group sent by the second terminal, determining, by the group member of the shared group, Whether the number is equal to the preset threshold; when the number of the group members of the shared group is less than the preset threshold, obtaining a verification parameter from the request instruction, determining whether the acquired verification parameter is related to the preset Verify that the parameters match.
  • a shared terminal When a shared terminal requests a virtual conference room, it will apply according to the number of terminals participating in the conference.
  • the server allocates a certain amount of resources according to the number of terminals, that is, a virtual conference room with a certain number of seats. For example, the virtual conference room allocated by the server has ten seats.
  • the server When receiving the request to join the shared group, it first determines whether the group member in the shared group has reached the preset threshold. When the group member does not reach the preset threshold, Then judge whether the verification password is correct. When the number of group members has reached the preset threshold, it will receive a notification that the number of seats is full.
  • the password may not be set for the virtual conference room according to the degree of openness of the conference and the user's requirements. When the user finds the corresponding conference room, the user may directly join.
  • the terminal screen content synchronization method of the present embodiment after the first terminal or the second terminal applies for the virtual conference room, other devices can enter by using the name and the password, thereby enhancing the security of the multi-terminal communication.
  • the embodiment of the invention also proposes a terminal screen content synchronization device.
  • FIG. 5 is a schematic structural diagram of a terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • the terminal screen content synchronization device includes:
  • the receiving module 10 is configured to: receive a synchronization parameter of the file to be shared sent by the first terminal.
  • the terminal screen content synchronization device is explained by taking the remote screen sharing conference scenario as an example.
  • the device proposed in the embodiment of the present invention is not limited to the application scenario in this embodiment, for example, Can be used for remote teaching, remote multi-site video display and other scenarios.
  • the first terminal mentioned below is a shared terminal, that is, the originating end of the screen content synchronization
  • the second terminal is another terminal that needs to establish a synchronization relationship with the shared terminal, and the number of the terminals may be one or more, during the synchronous conference process.
  • the second terminal and the first terminal are interchangeable.
  • the first terminal or the second terminal first requests a virtual conference room (ie, a shared group) with a certain number of seats from the server. After the application, the name and password of the virtual conference room are obtained, and other needs to participate. After the terminal of the conference finds the corresponding virtual conference room, enter the virtual conference room by password and establish contact with the server.
  • a virtual conference room ie, a shared group
  • the receiving module 10 receives the synchronization parameters of the file to be shared that it sends from the first terminal in real time, and the synchronization parameter may include the number of video frames, the number of pages of PPT/Word, and the pause instruction. Or a page turning instruction or the like, the first terminal converts the received display instructions for the shared file to be converted into synchronization parameters and sends the synchronization parameters to the server.
  • the obtaining module 20 is configured to: when the receiving module 10 receives the synchronization parameter, acquire a sharing group to which the first terminal belongs.
  • the synchronization module 30 is configured to: send the synchronization parameter received by the receiving module 10 to the second terminal in the sharing group acquired by the acquiring module 20, for the second terminal to be in accordance with the synchronization
  • the parameter synchronization displays the file to be shared.
  • the conference can be started.
  • the file to be shared may be obtained and stored by the second terminal before the conference starts, or before the synchronization parameter is transmitted. Obtained from the first terminal by the server. Since the conference presenter will perform some operations on the shared terminal to explain the content of the conference to the users participating in the conference, some operations will be performed on the file during the explanation, such as page turning of the PPT, playback of the video or After the action is paused, the first terminal generates the corresponding synchronization parameters and sends the corresponding synchronization parameters to the server. After receiving the synchronization parameters, the receiving module 10 acquires the shared group to which the first terminal belongs.
  • the synchronization module 30 transmits the above synchronization parameters to the second terminal of the sharing group in real time and converts them into display instructions, and loads the display instructions into the screen of the second terminal in real time.
  • the file to be shared can be displayed in real time on the screen of the second terminal in synchronization with the screen of the shared terminal.
  • the receiving module receives the synchronization parameter of the file to be shared sent by the first terminal, the acquiring module acquires the sharing group to which the first terminal belongs, and the synchronization module sends the synchronization parameter received by the receiving module to the synchronization parameter.
  • the module Acquiring, by the module, the second terminal in the shared group that is obtained by the module, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter; when performing synchronization by using the foregoing device, it is not necessary to transmit the file to be shared in the synchronization process, and only needs to transmit synchronization
  • the parameters can realize the synchronization of the screen content, occupy small memory and fast transmission speed, can realize real-time synchronization, and solve the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
  • FIG. 6 is a schematic structural diagram of another terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • the terminal screen content synchronization apparatus provided in this embodiment may further include: a determination module 40 and a transmission module 50.
  • the receiving module 10 is further configured to: receive the file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared.
  • the determining module 40 is configured to determine, according to the attribute information acquired by the receiving module 10, whether the second terminal stores the file to be shared.
  • the operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
  • the receiving module 10 may obtain the attribute information of the file to be shared, and the determining module 40 may determine, according to the attribute information of the file to be shared, whether the second terminal stores the The shared file, for example, sends an instruction to retrieve the file to be shared to the second terminal, instructs the second terminal to perform the retrieval and sends the retrieval result to the server.
  • the sending module 50 is configured to: when the determining module 40 determines that the second terminal stores the file to be shared, issue the display to the second terminal that retrieves the file to be shared The instructions for the file.
  • the sending module 50 is further configured to: when the determining module 40 determines that the second terminal does not store the file to be shared, send the file to be shared to the file that is not retrieved And a second terminal, where the second terminal displays the received file to be shared.
  • the sending module 50 When there are multiple second terminals, there may be a second terminal that stores files to be shared, and some second terminals do not store files to be shared. For the second terminal that stores files to be shared, the sending module 50 only needs to issue a display. The instruction to share the file, for the second terminal that does not store the file to be shared, the sending module 50 sends the file to be shared to the second terminal.
  • the sharing device first transfers the file to be shared to the server, so that a plurality of links can be reduced when the synchronization is performed. If other terminals have files to be shared, the shared device does not need to be transmitted again during the synchronization process.
  • the file can be synchronized only by transmitting the synchronization parameters, occupying small memory and fast transmission speed, and realizing real-time synchronization; and if there is no file to be shared on other terminals, the file to be shared can be obtained from the server in time before the synchronous display. In the synchronization process, only the synchronization parameters need to be transmitted, which solves the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
  • FIG. 7 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • the terminal screen content synchronization device provided in this embodiment may further include: a sending module 60, based on the structure of the device shown in FIG.
  • the receiving module 10 is further configured to: receive a file to be shared transmitted by the first terminal;
  • the sending module 60 is configured to: send, by the receiving module 10, the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
  • the operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
  • the receiving module 10 receives the to-be-shared
  • the file sending module 60 directly sends the file to be shared directly to all the second terminals, so that all the second terminals display the file to be shared.
  • the sharing device firstly transfers the file to be shared to the server, so that a plurality of links can be reduced when synchronizing, and synchronization can be realized only by transmitting synchronization parameters, occupying small memory and fast transmission speed. Real-time synchronization is possible.
  • FIG. 8 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention.
  • the terminal screen content synchronization apparatus may further include: a verification module 70 and a response module 80.
  • the verification module 70 is configured to: after the receiving module 10 receives the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine the obtained verification parameter. Whether it matches the preset verification parameters;
  • the response module 80 is configured to: when the verification module 70 determines that the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the sharing group .
  • each terminal needs to input a correct password to enter the virtual conference room when logging in to the virtual conference room, and the receiving module 10 receives the terminal.
  • the verification module 70 obtains the password entered by the verification module 70 and compares it with the preset password.
  • the response module 80 responds to the above instruction, that is, the terminal successfully enters the password.
  • Virtual meeting room
  • FIG. 9 a schematic structural diagram of a verification module in the terminal screen content synchronization apparatus provided in the embodiment shown in FIG.
  • the verification module 70 in this embodiment includes the following units:
  • the determining unit 710 is configured to: after the receiving module 10 receives the request instruction for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
  • the verification unit 720 is configured to: when the determining unit 710 determines that the number of group members of the sharing group is less than the preset threshold, obtain a verification parameter from the request instruction, and determine the obtained verification parameter. Whether to match the preset verification parameters.
  • a shared terminal When a shared terminal requests a virtual conference room, it will apply according to the number of terminals participating in the conference.
  • the server allocates a certain amount of resources according to the number of terminals, that is, a virtual conference room with a certain number of seats. For example, the virtual conference room allocated by the server is provided with ten seats.
  • the receiving module 10 receives the request to join the sharing group, the first determining unit 710 determines whether the group member in the sharing group has reached the preset threshold, when the group member does not have When the preset threshold is reached, the verification unit 720 determines whether the verification password is correct. When the number of group members has reached the preset threshold, the notification that the number of seats is full is received.
  • the password may not be set for the virtual conference room according to the degree of openness of the conference and the user's requirements. When the user finds the corresponding conference room, the user may directly join.
  • the other devices can enter the mode by using the name and the password, thereby increasing the security of the multi-terminal communication.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the server receives the synchronization parameter of the file to be shared sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the shared group.
  • the second terminal is configured to enable the second terminal to synchronously display the file to be shared according to the synchronization parameter.
  • the solution provided by the embodiment of the present invention does not need to transmit the file to be shared in the synchronization process, and only needs to transmit the synchronization parameter to realize synchronization of the screen content.
  • the memory is small and the transmission speed is fast, real-time synchronization can be realized, and the delay of the terminal screen content in the related art is solved for a long time, and it is difficult to realize the technical problem of real-time synchronization.

Landscapes

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

Abstract

A method and device for synchronizing content in a screen of a terminal. The method comprises: receiving, a synchronous parameter of a file to be shared transmitted by a first terminal; upon receiving the synchronous parameter, acquiring a shared group to which the first terminal belongs; transmitting the synchronous parameter to a second terminal in the shared group so as to enable the second terminal to synchronously display the file to be shared based on the synchronous parameter.

Description

终端屏幕内容同步方法及装置Terminal screen content synchronization method and device 技术领域Technical field
本申请涉及但不限于终端同步技术领域。This application relates to, but is not limited to, the field of terminal synchronization technology.
背景技术Background technique
每个人每个月、每个星期甚至是每天都可能会开大大小小的会议,有面对面的、也有多地远程的。一般开会时都需要有投影仪来播放会议内容,对于远程多地的会议还要需要同步会议内容。但相关技术中一般都是通过人工的方式来手动操作的,很难做到会议内容的实时同步和共享,经常会遇到播放的内容和介绍人员说的内容脱节不同步的情况。Everyone, every month, every week, or even every day, can open meetings of all sizes, face to face, and remote. In general, a projector is required to play the conference content during the meeting, and it is necessary to synchronize the conference content for the remote multi-site conference. However, the related art generally operates manually by manual means, and it is difficult to synchronize and share the content of the conference in real time, and often encounters situations in which the content of the broadcast and the content of the introducer are out of sync.
而且,相关技术中的屏幕共享技术,按终端的位置可分为近场屏幕共享和远程屏幕共享。近场的屏幕共享可通过有线、无线保真(Wireless Fidelity,简称为:WiFi)和蓝牙技术来实现,一般情况下是两个终端设备间实现,设备数量是受限的。而对于远程的屏幕共享,通常是视频会议终端与服务器和屏幕共享设备建立通信连接,屏幕共享设备与服务器建立视频传输通道,屏幕共享设备采集自身屏幕共享数据并发送到视频会议终端;视频会议终端将接收到的屏幕共享数据进行拷贝并转发给服务器;服务器将屏幕共享数据发送到屏幕共享设备;最后屏幕共享设备接收并显示屏幕共享数据,可以做到多设备屏幕共享。Moreover, the screen sharing technology in the related art can be classified into near-field screen sharing and remote screen sharing according to the location of the terminal. Near-field screen sharing can be realized by wired, wireless fidelity (WiFi) and Bluetooth technology. Generally, it is implemented between two terminal devices, and the number of devices is limited. For remote screen sharing, the video conferencing terminal usually establishes a communication connection with the server and the screen sharing device, and the screen sharing device establishes a video transmission channel with the server, and the screen sharing device collects its own screen sharing data and sends it to the video conference terminal; the video conference terminal The received screen sharing data is copied and forwarded to the server; the server sends the screen sharing data to the screen sharing device; finally, the screen sharing device receives and displays the screen sharing data, so that multi-device screen sharing can be achieved.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
相关技术中,先采集共享设备的屏幕内容再传输到服务器再分发到其它设备的方式,由于同步过程中经过了多个流程,采集和传输会造成较长时间的延迟,很难做到屏幕内容的实时同步。In the related art, the screen content of the shared device is collected and then transmitted to the server and distributed to other devices. Since multiple processes are performed during the synchronization process, the collection and transmission may cause a long delay, and it is difficult to achieve the screen content. Real-time synchronization.
本文提供一种终端屏幕内容同步方法及装置,以解决相关技术中终端屏 幕内容较长时间的延迟,难以实现实时同步的技术问题。The present invention provides a terminal screen content synchronization method and device to solve the related art terminal screen The delay of the screen content for a long time makes it difficult to realize the technical problem of real-time synchronization.
一种终端屏幕内容同步方法,该终端屏幕内容同步方法包括:A terminal screen content synchronization method, the terminal screen content synchronization method includes:
接收第一终端发送的待共享文件的同步参数;Receiving a synchronization parameter of the file to be shared sent by the first terminal;
在接收到所述同步参数时,获取所述第一终端所属的共享群组;Obtaining, by the synchronization parameter, the sharing group to which the first terminal belongs;
将所述同步参数发送至所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。Sending the synchronization parameter to the second terminal in the sharing group, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter.
可选地,所述接收第一终端发送的待共享文件的同步参数之前,所述法还包括:Optionally, before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
接收所述第一终端传输的待共享文件,并获取所述待共享文件的属性信息;Receiving a file to be shared transmitted by the first terminal, and acquiring attribute information of the file to be shared;
根据获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件;Determining, according to the obtained attribute information, whether the second terminal stores the file to be shared;
当确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令;When it is determined that the second terminal stores the file to be shared, an instruction to display the file to be shared is sent to the second terminal that retrieves the file to be shared;
当确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。When it is determined that the second terminal does not store the file to be shared, sending the file to be shared to the second terminal that does not retrieve the file to be shared, for the second terminal to display and receive The file to be shared to.
可选地,所述接收第一终端发送的待共享文件的同步参数之前,所述方法还包括:Optionally, before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
接收所述第一终端传输的待共享文件;Receiving a file to be shared transmitted by the first terminal;
将接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。And sending the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
可选地,所述接收第一终端发送的待共享文件的同步参数之前,所述方法还包括:Optionally, before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配;After receiving the request for joining the shared group sent by the second terminal, obtaining a verification parameter from the request instruction, and determining whether the obtained verification parameter matches a preset verification parameter;
当所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指 令以将所述第二终端加入所述共享群组。When the obtained verification parameter matches the preset verification parameter, responding to the request Soing to join the second terminal to the shared group.
可选地,所述接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配,包括:Optionally, after receiving the request for joining the shared group sent by the second terminal, obtaining a verification parameter from the request instruction, and determining whether the obtained verification parameter matches a preset verification parameter, include:
接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;After receiving the request for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
当所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。When the number of the group members of the shared group is less than the preset threshold, the verification parameter is obtained from the request instruction, and it is determined whether the acquired verification parameter matches the preset verification parameter.
一种终端屏幕内容同步装置,所述装置包括:A terminal screen content synchronization device, the device comprising:
接收模块,设置为:接收第一终端发送的待共享文件的同步参数;The receiving module is configured to: receive a synchronization parameter of the file to be shared sent by the first terminal;
获取模块,设置为:在所述接收模块接收到所述同步参数时,获取所述第一终端所属的共享群组;An acquiring module, configured to: when the receiving module receives the synchronization parameter, acquire a sharing group to which the first terminal belongs;
同步模块,设置为:将所述接收模块接收的所述同步参数发送至所述获取模块获取的所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。a synchronization module, configured to: send the synchronization parameter received by the receiving module to a second terminal in the shared group acquired by the acquiring module, for the second terminal to synchronously display according to the synchronization parameter The file to be shared.
可选地,所述终端屏幕内容同步装置还包括:判断模块和发送模块;Optionally, the terminal screen content synchronization device further includes: a determining module and a sending module;
其中,所述接收模块,还设置为:接收所述第一终端传输的待共享文件并获取所述待共享文件的属性信息;The receiving module is further configured to: receive the file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared;
所述判断模块,设置为:根据所述接收模块获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件;The determining module is configured to: determine, according to the attribute information acquired by the receiving module, whether the second terminal stores the file to be shared;
所述发送模块,设置为:当所述判断模块确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令;The sending module is configured to: when the determining module determines that the second terminal stores the file to be shared, send, to the second terminal that retrieves the file to be shared, the to-be-shared Instruction of the document;
所述发送模块,还设置为:当所述判断模块确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。The sending module is further configured to: when the determining module determines that the second terminal does not store the file to be shared, send the file to be shared to the not-recovered file to be shared And a second terminal, where the second terminal displays the received file to be shared.
可选地,所述终端屏幕内容同步装置还包括发送模块; Optionally, the terminal screen content synchronization device further includes a sending module;
其中,所述接收模块,还设置为:接收所述第一终端传输的待共享文件;The receiving module is further configured to: receive a file to be shared transmitted by the first terminal;
所述发送模块,还设置为:将所述接收模块接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。The sending module is further configured to: send, by the receiving module, the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
可选地,所述终端屏幕内容同步装置还包括:Optionally, the terminal screen content synchronization device further includes:
验证模块,设置为:在所述接收模块接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配;The verification module is configured to: after the receiving module receives the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine whether the obtained verification parameter is preset The verification parameters match;
响应模块,设置为:当所述验证模块判断出所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指令以将所述第二终端加入所述共享群组。The response module is configured to: when the verification module determines that the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the shared group.
可选地,所述验证模块包括:Optionally, the verification module includes:
判断单元,设置为:在所述接收模块接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;a determining unit, configured to: after the receiving module receives the request for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
验证单元,设置为:当所述判断单元判断出所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。a verification unit, configured to: when the determining unit determines that the number of group members of the sharing group is less than the preset threshold, obtaining a verification parameter from the request instruction, and determining whether the acquired verification parameter is The preset verification parameters match.
本发明实施例提供的终端屏幕内容同步方法及装置,服务器通过接收第一终端发送的共享文件的同步参数,获取该第一终端所属的共享群组,并将接收到的同步参数发送至该共享群组中的第二终端,以供第二终端根据该同步参数同步显示共享文件;本发明实施例提供的方案无需在同步过程中传输待共享文件,只需传输同步参数即可实现屏幕内容的同步,占用内存小且传输速度快,能够实现实时同步,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。The terminal screen content synchronization method and device provided by the embodiment of the present invention, the server receives the synchronization parameter of the shared file sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the share. a second terminal in the group, for the second terminal to synchronously display the shared file according to the synchronization parameter; the solution provided by the embodiment of the present invention does not need to transmit the file to be shared in the synchronization process, and only needs to transmit the synchronization parameter to implement the screen content. Synchronization, occupying small memory and fast transmission speed, realizing real-time synchronization, solving the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的一种终端屏幕内容同步方法的流程图;FIG. 1 is a flowchart of a method for synchronizing a content of a terminal screen according to an embodiment of the present invention;
图2为本发明实施例提供的另一种终端屏幕内容同步方法的流程图; 2 is a flowchart of another method for synchronizing terminal screen content according to an embodiment of the present invention;
图3为本发明实施例提供的又一种终端屏幕内容同步方法的流程图;FIG. 3 is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention;
图4为本发明实施例提供的再一种终端屏幕内容同步方法的流程图;4 is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention;
图5为本发明实施例提供的一种终端屏幕内容同步装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for synchronizing a screen of a terminal according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种终端屏幕内容同步装置的结构示意图;FIG. 6 is a schematic structural diagram of another terminal screen content synchronization apparatus according to an embodiment of the present invention;
图7为本发明实施例提供的又一种终端屏幕内容同步装置的结构示意图;FIG. 7 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present disclosure;
图8为本发明实施例提供的再一种终端屏幕内容同步装置的结构示意图;FIG. 8 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention;
图9为图8所示实施例提供的终端屏幕内容同步装置中一种验证模块的结构示意图。FIG. 9 is a schematic structural diagram of a verification module in a terminal screen content synchronization apparatus according to the embodiment shown in FIG. 8.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments herein may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例提供一种终端屏幕内容同步方法。Embodiments of the present invention provide a terminal screen content synchronization method.
参照图1,图1为本发明实施例提供的一种终端屏幕内容同步方法流程图。Referring to FIG. 1, FIG. 1 is a flowchart of a method for synchronizing a content of a terminal screen according to an embodiment of the present invention.
在图1所示实施例中,该终端屏幕内容同步方法包括以下步骤,即步骤110~步骤130:In the embodiment shown in FIG. 1, the terminal screen content synchronization method includes the following steps, that is, steps 110 to 130:
步骤110,接收第一终端发送的待共享文件的同步参数。Step 110: Receive a synchronization parameter of a file to be shared sent by the first terminal.
本实施例中以远程屏幕共享会议场景为例对本发明实施例提出的终端屏幕内容同步方法进行解释说明,但本发明实施例提出的方法并不局限于本实施例中的应用场景,例如还可以用于远程教学、远程多地视频展示等场景。以下所说的第一终端为共享终端,即屏幕内容同步的发起端,第二终端为其他需要与共享终端建立同步关系的各个终端,其数量可以是一个也可以是多个,在同步会议过程中,第二终端与第一终端可以互换。In this embodiment, the remote screen sharing conference scene is taken as an example to explain the terminal screen content synchronization method in the embodiment of the present invention. However, the method in the embodiment of the present invention is not limited to the application scenario in the embodiment, for example, Used for distance learning, remote multi-site video display and other scenes. The first terminal mentioned below is a shared terminal, that is, the originating end of the screen content synchronization, and the second terminal is another terminal that needs to establish a synchronization relationship with the shared terminal, and the number of the terminals may be one or more, during the synchronous conference process. The second terminal and the first terminal are interchangeable.
在首次同步会议时,第一终端或者第二终端首先向服务器申请具有一定 席数的虚拟会议室(即共享群组),通过申请后,会获得该虚拟会议室的名称和密码,其他需要参与此次会议的终端找到对应的虚拟会议室后,通过密码进入该虚拟会议室,与服务器建立联系。In the first synchronization meeting, the first terminal or the second terminal first applies to the server to have a certain After the virtual meeting room (that is, the shared group) of the number of seats, the name and password of the virtual meeting room are obtained after the application is completed. After the terminal that needs to participate in the meeting finds the corresponding virtual meeting room, enter the virtual meeting by using the password. Room, establish contact with the server.
当会议结束后,可以保留该虚拟会议室,下一次进行同步会议时,就不需再次申请虚拟会议室,只需要找到同一个虚拟会议室,直接通过密码进入该虚拟会议室即可。After the conference ends, you can keep the virtual conference room. When you synchronize the conference, you do not need to apply for the virtual conference room again. You only need to find the same virtual conference room and enter the virtual conference room directly through the password.
当第一终端发起开始会议的指令之后,服务器实时地从第一终端接收其发送的待共享文件的同步参数,所述同步参数可以包括视频帧数、PPT/Word的页数、暂停指令或翻页指令等等,第一终端将接收到的对待共享文件的上述显示指令转换为同步参数并将这些同步参数发送至服务器,服务器接收这些同步参数。After the first terminal initiates the instruction to start the conference, the server receives the synchronization parameter of the file to be shared sent by the server from the first terminal in real time, and the synchronization parameter may include the number of video frames, the number of pages of the PPT/Word, the pause instruction, or the The page instruction or the like, the first terminal converts the received display instructions to be shared files into synchronization parameters and sends the synchronization parameters to the server, and the server receives the synchronization parameters.
步骤120,在接收到所述同步参数时,获取所述第一终端所属的共享群组。Step 120: When receiving the synchronization parameter, acquire a sharing group to which the first terminal belongs.
步骤130,将所述同步参数发送至所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。Step 130: Send the synchronization parameter to the second terminal in the shared group, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter.
在各个终端都获取到待共享的文件并打开之后,即可以开始会议,其中,待共享文件可以是第二终端在会议开始之前已经通过其他方式获取并存储的,也可以是在同步参数传输之前通过服务器从第一终端获取的。由于会议主讲人会在共享终端上进行一些操作,以向参与会议的用户讲解会议内容,而在讲解的过程中会对文件进行一些操作,例如PPT的翻页,视频的播放或者暂停等动作,第一终端将这些动作(即显示指令)生成对应的同步参数并发送给服务器,服务器在接收到这些同步参数后,获取到第一终端所属的共享群组(即虚拟会议室),实时地发送到共享群组的第二终端上并转换成显示指令,并且将这些显示指令实时地加载到第二终端的屏幕所显示的待共享文件上,就可以实现在第二终端的屏幕上与共享终端的屏幕实时同步显示待分享文件。After the files are to be shared and opened, the conference can be started. The file to be shared may be obtained and stored by the second terminal before the conference starts, or before the synchronization parameter is transmitted. Obtained from the first terminal by the server. Since the conference presenter will perform some operations on the shared terminal to explain the content of the conference to the users participating in the conference, during the explanation process, some operations will be performed on the file, such as page turning of the PPT, playing or pause of the video, etc. The first terminal generates the corresponding synchronization parameters by sending the corresponding synchronization parameters to the server, and after receiving the synchronization parameters, the server acquires the shared group (ie, the virtual conference room) to which the first terminal belongs, and sends the synchronization group in real time. Going to the second terminal of the sharing group and converting into a display instruction, and loading the display instructions into the file to be shared displayed on the screen of the second terminal in real time, the screen on the second terminal and the sharing terminal can be realized. The screen displays the files to be shared in real time.
本实施例提出的终端屏幕内容同步方法,服务器通过接收第一终端发送的待共享文件的同步参数,获取该第一终端所属的共享群组,并将接收到的同步参数发送至该共享群组中的第二终端,以供第二终端根据该同步参数同步显示待共享文件;上述方法无需在同步过程中传输待共享文件,只需传输 同步参数即可实现屏幕内容的同步,占用内存小且传输速度快,能够实现实时同步,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。In the method for synchronizing the content of the terminal screen, the server obtains the synchronization parameter of the file to be shared sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the shared group. a second terminal, wherein the second terminal synchronously displays the file to be shared according to the synchronization parameter; the foregoing method does not need to transmit the file to be shared during the synchronization process, and only needs to transmit The synchronization parameter can realize the synchronization of the screen content, occupy small memory and fast transmission speed, can realize real-time synchronization, and solve the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
可选地,如图2所示,为本发明实施例提供的另一种终端屏幕内容同步方法的流程图。在图1所示实施例的流程基础上,本实施例提供的终端屏幕内容同步方法,在步骤110之前,还可以包括以下步骤100~步骤103:Optionally, as shown in FIG. 2, it is a flowchart of another terminal screen content synchronization method according to an embodiment of the present invention. On the basis of the flow of the embodiment shown in FIG. 1 , the terminal screen content synchronization method provided in this embodiment may further include the following steps 100 to 103 before the step 110:
步骤100,接收所述第一终端传输的待共享文件,并获取所述待共享文件的属性信息。Step 100: Receive a file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared.
步骤101,根据获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件。Step 101: Determine, according to the obtained attribute information, whether the second terminal stores the file to be shared.
第一终端将待共享文件上传至服务器的操作可以在第一终端进入虚拟会议室之后就可以开始进行,可以在第二终端进入虚拟会议室之前,也可以在第二终端进入虚拟会议室之后。The operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
在第一终端将待共享文件发送至服务器之后,服务器可以获取接收到的待共享文件的属性信息,服务器就可以根据待共享文件的属性信息确定第二终端是否存储有所述待共享文件,例如发送检索待共享文件的指令给第二终端,指示第二终端进行检索并将检索结果发送至服务器。After the first terminal sends the to-be-shared file to the server, the server may obtain the attribute information of the file to be shared, and the server may determine, according to the attribute information of the file to be shared, whether the second terminal stores the file to be shared, for example, Sending an instruction to retrieve the file to be shared to the second terminal, instructing the second terminal to perform the retrieval and transmitting the retrieval result to the server.
步骤102,当确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令。Step 102: When it is determined that the second terminal stores the file to be shared, issue an instruction to display the file to be shared to the second terminal that retrieves the file to be shared.
步骤103,当确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。Step 103: When it is determined that the second terminal does not store the file to be shared, send the file to be shared to the second terminal that does not retrieve the file to be shared, for the second The terminal displays the received file to be shared.
当第二终端有多个时,可能有的第二终端上存储有待共享文件,有的第二终端上没有存储待共享文件,对于存储有待共享文件的第二终端,只需发出显示待共享文件的指令,对于没有存储待共享文件的第二终端,则将待共享文件发送到该第二终端。When there are multiple second terminals, there may be a second terminal that stores files to be shared, and some second terminals do not store files to be shared. For the second terminal that stores files to be shared, only the files to be shared are issued. The instruction, for the second terminal that does not store the file to be shared, sends the file to be shared to the second terminal.
本实施例提出的终端屏幕内容同步方法,共享设备首先将待共享文件传 入服务器,这样同步时就可以减少很多个环节,若其它终端已有待共享文件,则无需在同步过程中再传送待共享文件,只需传输同步参数即可实现同步,占用内存小且传输速度快,能够实现实时同步;而若其它终端上无待共享文件时,则可以在同步显示之前及时地从服务器获取待共享文件,在同步过程中只需要传输同步参数,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。The terminal screen content synchronization method proposed in this embodiment, the sharing device first transmits the file to be shared Enter the server, so you can reduce many links when synchronizing. If other terminals have files to be shared, you don't need to transfer the files to be shared in the synchronization process. You only need to transfer the synchronization parameters to achieve synchronization. It takes up less memory and has faster transmission speed. Real-time synchronization can be realized; if there are no files to be shared on other terminals, the files to be shared can be obtained from the server in time before the synchronous display, and only the synchronization parameters need to be transmitted in the synchronization process, and the terminal screen content in the related technology is solved. Longer delays make it difficult to achieve real-time synchronization.
可选地,如图3所示,为本发明实施例提供的又一种终端屏幕内容同步方法的流程图。在图1所示实施例的流程基础上,本实施例提供的终端屏幕内容同步方法,在步骤110之前,还可以包括以下步骤104~步骤105:Optionally, as shown in FIG. 3, it is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention. On the basis of the flow of the embodiment shown in FIG. 1 , the terminal screen content synchronization method provided in this embodiment may further include the following steps 104 to 105 before the step 110:
步骤104,接收所述第一终端传输的待共享文件。Step 104: Receive a file to be shared transmitted by the first terminal.
步骤105,将接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。Step 105: Send the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
第一终端将待共享文件上传至服务器的操作可以在第一终端进入虚拟会议室之后就可以开始进行,可以在第二终端进入虚拟会议室之前,也可以在第二终端进入虚拟会议室之后。The operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
在第一终端将待共享文件发送至服务器之后,服务器接收到待共享文件,直接将该待共享文件直接发送至所有的第二终端,以供所有的第二终端显示所述待共享文件。After the first terminal sends the file to be shared to the server, the server receives the file to be shared, and directly sends the file to be shared to all the second terminals, so that all the second terminals display the file to be shared.
本实施例提出的终端屏幕内容同步方法,共享设备首先将待共享文件传入服务器,这样同步时就可以减少很多个环节,只需传输同步参数即可实现同步,占用内存小且传输速度快,能够实现实时同步。In the terminal screen content synchronization method proposed by the embodiment, the sharing device firstly transfers the file to be shared to the server, so that a plurality of links can be reduced when synchronizing, and synchronization can be realized only by transmitting synchronization parameters, occupying small memory and fast transmission speed. Real-time synchronization is possible.
可选地,如图4所示,为本发明实施例提供的再一种终端屏幕内容同步方法的流程图。在图1所示实施例的流程基础上,本实施例提供的终端屏幕内容同步方法,在步骤110之前,该还包括:Optionally, as shown in FIG. 4, it is a flowchart of still another method for synchronizing terminal screen content according to an embodiment of the present invention. On the basis of the flow of the embodiment shown in FIG. 1 , the terminal screen content synchronization method provided in this embodiment further includes: before step 110, the method further includes:
步骤106,接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参 数匹配;Step 106: After receiving the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine whether the obtained verification parameter is related to a preset verification parameter. Number matching
步骤107,当所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指令以将所述第二终端加入所述共享群组。Step 107: When the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the shared group.
当第一终端或者第二终端申请到的虚拟会议室设置有密码时,各个终端在登录该虚拟会议室的时候,就需要输入正确的密码才能进入该虚拟会议室,当服务器接收到终端请求进入该虚拟会议室的指令后,获取其输入的密码,并将其与预设的密码进行比较,当符合预设的密码时,响应上述指令,即终端成功进入该虚拟会议室。When the virtual terminal that is applied to the first terminal or the second terminal is configured with a password, each terminal needs to input the correct password to enter the virtual conference room when logging in to the virtual conference room. When the server receives the terminal request to enter After the instruction of the virtual conference room, the password input by the virtual conference room is obtained, and compared with the preset password. When the preset password is met, the terminal successfully enters the virtual conference room in response to the above instruction.
可选地,在上述图4所示实施例的基础上,步骤106可以包括:接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;当所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。Optionally, on the basis of the foregoing embodiment shown in FIG. 4, the step 106 may include: after receiving the request for joining the shared group sent by the second terminal, determining, by the group member of the shared group, Whether the number is equal to the preset threshold; when the number of the group members of the shared group is less than the preset threshold, obtaining a verification parameter from the request instruction, determining whether the acquired verification parameter is related to the preset Verify that the parameters match.
共享终端在申请虚拟会议室时,会根据参与会议的终端数量进行申请,服务器会根据终端数量分配一定容量的资源,即具有一定席数的虚拟会议室。例如服务器分配的虚拟会议室设置有十个席位,当接收到加入共享群组的请求时,首先判断共享群组中的组员是否已经达到预设阈值,当组员没有达到预设阈值时,再去判断验证密码是否正确,当组员个数已经达到预设阈值时,会收到席位数已满的通知。在其他的可选实施例中,也可以根据会议的开放程度及用户需求不为虚拟会议室设置密码,当用户找到对应的会议室之后直接加入即可。When a shared terminal requests a virtual conference room, it will apply according to the number of terminals participating in the conference. The server allocates a certain amount of resources according to the number of terminals, that is, a virtual conference room with a certain number of seats. For example, the virtual conference room allocated by the server has ten seats. When receiving the request to join the shared group, it first determines whether the group member in the shared group has reached the preset threshold. When the group member does not reach the preset threshold, Then judge whether the verification password is correct. When the number of group members has reached the preset threshold, it will receive a notification that the number of seats is full. In other optional embodiments, the password may not be set for the virtual conference room according to the degree of openness of the conference and the user's requirements. When the user finds the corresponding conference room, the user may directly join.
本实施例提出的终端屏幕内容同步方法,第一终端或第二终端申请虚拟会议室后,其它设备通过名称和密码才能进入,加强了多终端通信的安全性。In the terminal screen content synchronization method of the present embodiment, after the first terminal or the second terminal applies for the virtual conference room, other devices can enter by using the name and the password, thereby enhancing the security of the multi-terminal communication.
本发明实施例还提出终端屏幕内容同步装置。The embodiment of the invention also proposes a terminal screen content synchronization device.
参照图5,图5为本发明实施例提供的一种终端屏幕内容同步装置的结构示意图。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a terminal screen content synchronization apparatus according to an embodiment of the present invention.
在该实施例中,该终端屏幕内容同步装置包括: In this embodiment, the terminal screen content synchronization device includes:
接收模块10,设置为:接收第一终端发送的待共享文件的同步参数。The receiving module 10 is configured to: receive a synchronization parameter of the file to be shared sent by the first terminal.
本实施例中以远程屏幕共享会议场景为例对本发实施例明提出的终端屏幕内容同步装置进行解释说明,但本发明实施例提出的装置并不局限于本实施例中的应用场景,例如还可以用于远程教学、远程多地视频展示等场景。以下所说的第一终端为共享终端,即屏幕内容同步的发起端,第二终端为其他需要与共享终端建立同步关系的各个终端,其数量可以是一个也可以是多个,在同步会议过程中,第二终端与第一终端可以互换。In this embodiment, the terminal screen content synchronization device according to the embodiment of the present invention is explained by taking the remote screen sharing conference scenario as an example. However, the device proposed in the embodiment of the present invention is not limited to the application scenario in this embodiment, for example, Can be used for remote teaching, remote multi-site video display and other scenarios. The first terminal mentioned below is a shared terminal, that is, the originating end of the screen content synchronization, and the second terminal is another terminal that needs to establish a synchronization relationship with the shared terminal, and the number of the terminals may be one or more, during the synchronous conference process. The second terminal and the first terminal are interchangeable.
在首次同步会议时,第一终端或者第二终端首先向服务器申请具有一定席数的虚拟会议室(即共享群组),通过申请后,会获得该虚拟会议室的名称和密码,其他需要参与此次会议的终端找到对应的虚拟会议室后,通过密码进入该虚拟会议室,与服务器建立联系。The first terminal or the second terminal first requests a virtual conference room (ie, a shared group) with a certain number of seats from the server. After the application, the name and password of the virtual conference room are obtained, and other needs to participate. After the terminal of the conference finds the corresponding virtual conference room, enter the virtual conference room by password and establish contact with the server.
当会议结束后,可以保留该虚拟会议室,下一次进行同步会议时,就不需再次申请虚拟会议室,只需要找到同一个虚拟会议室,直接通过密码进入该虚拟会议室即可。After the conference ends, you can keep the virtual conference room. When you synchronize the conference, you do not need to apply for the virtual conference room again. You only need to find the same virtual conference room and enter the virtual conference room directly through the password.
当第一终端发起开始会议的指令之后,接收模块10实时地从第一终端接收其发送的待共享文件的同步参数,所述同步参数可以包括视频帧数、PPT/Word的页数、暂停指令或翻页指令等等,第一终端将接收到的对待共享文件的上述显示指令转换为同步参数并将这些同步参数发送至服务器。After the first terminal initiates the instruction to start the conference, the receiving module 10 receives the synchronization parameters of the file to be shared that it sends from the first terminal in real time, and the synchronization parameter may include the number of video frames, the number of pages of PPT/Word, and the pause instruction. Or a page turning instruction or the like, the first terminal converts the received display instructions for the shared file to be converted into synchronization parameters and sends the synchronization parameters to the server.
获取模块20,设置为:在所述接收模块10接收到所述同步参数时,获取所述第一终端所属的共享群组。The obtaining module 20 is configured to: when the receiving module 10 receives the synchronization parameter, acquire a sharing group to which the first terminal belongs.
同步模块30,设置为:将所述接收模块10接收的所述同步参数发送至所述获取模块20获取的所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。The synchronization module 30 is configured to: send the synchronization parameter received by the receiving module 10 to the second terminal in the sharing group acquired by the acquiring module 20, for the second terminal to be in accordance with the synchronization The parameter synchronization displays the file to be shared.
在各个终端都获取到待共享的文件并打开之后,即可以开始会议,其中,待共享文件可以是第二终端在会议开始之前已经通过其他方式获取并存储的,也可以是在同步参数传输之前通过服务器从第一终端获取的。由于会议主讲人会在共享终端上进行一些操作,以向参与会议的用户讲解会议内容,而在讲解的过程中会对文件进行一些操作,例如PPT的翻页,视频的播放或 者暂停等动作,第一终端将这些动作(即显示指令)生成对应的同步参数并发送给服务器,接收模块10在接收到这些同步参数后,获取模块20获取到第一终端所属的共享群组(即虚拟会议室),同步模块30实时地将上述同步参数发送到共享群组的第二终端上并转换成显示指令,并且将这些显示指令实时地加载到第二终端的屏幕所显示的待共享文件上,就可以实现在第二终端的屏幕上与共享终端的屏幕实时同步显示待分享文件。After the files are to be shared and opened, the conference can be started. The file to be shared may be obtained and stored by the second terminal before the conference starts, or before the synchronization parameter is transmitted. Obtained from the first terminal by the server. Since the conference presenter will perform some operations on the shared terminal to explain the content of the conference to the users participating in the conference, some operations will be performed on the file during the explanation, such as page turning of the PPT, playback of the video or After the action is paused, the first terminal generates the corresponding synchronization parameters and sends the corresponding synchronization parameters to the server. After receiving the synchronization parameters, the receiving module 10 acquires the shared group to which the first terminal belongs. (ie, the virtual conference room), the synchronization module 30 transmits the above synchronization parameters to the second terminal of the sharing group in real time and converts them into display instructions, and loads the display instructions into the screen of the second terminal in real time. On the shared file, the file to be shared can be displayed in real time on the screen of the second terminal in synchronization with the screen of the shared terminal.
本实施例提出的终端屏幕内容同步装置,接收模块接收第一终端发送的待共享文件的同步参数,获取模块获取该第一终端所属的共享群组,同步模块将接收模块接收的同步参数发送至获取模块获取的共享群组中的第二终端,以供第二终端根据同步参数同步显示所述待共享文件;通过上述装置执行同步时,无需在同步过程中传输待共享文件,只需传输同步参数即可实现屏幕内容的同步,占用内存小且传输速度快,能够实现实时同步,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。In the terminal screen content synchronization device of the embodiment, the receiving module receives the synchronization parameter of the file to be shared sent by the first terminal, the acquiring module acquires the sharing group to which the first terminal belongs, and the synchronization module sends the synchronization parameter received by the receiving module to the synchronization parameter. Acquiring, by the module, the second terminal in the shared group that is obtained by the module, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter; when performing synchronization by using the foregoing device, it is not necessary to transmit the file to be shared in the synchronization process, and only needs to transmit synchronization The parameters can realize the synchronization of the screen content, occupy small memory and fast transmission speed, can realize real-time synchronization, and solve the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
可选地,如图6所示,为本发明实施例提供的另一种终端屏幕内容同步装置的结构示意图。在上述图5所示装置的结构基础上,本实施例提供的终端屏幕内容同步装置还可以包括:判断模块40和发送模块50。Optionally, FIG. 6 is a schematic structural diagram of another terminal screen content synchronization apparatus according to an embodiment of the present invention. Based on the structure of the apparatus shown in FIG. 5, the terminal screen content synchronization apparatus provided in this embodiment may further include: a determination module 40 and a transmission module 50.
其中,接收模块10,还设置为:接收所述第一终端传输的待共享文件并获取所述待共享文件的属性信息。The receiving module 10 is further configured to: receive the file to be shared transmitted by the first terminal, and obtain attribute information of the file to be shared.
判断模块40,设置为:根据所述接收模块10获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件。The determining module 40 is configured to determine, according to the attribute information acquired by the receiving module 10, whether the second terminal stores the file to be shared.
第一终端将待共享文件上传至服务器的操作可以在第一终端进入虚拟会议室之后就可以开始进行,可以在第二终端进入虚拟会议室之前,也可以在第二终端进入虚拟会议室之后。The operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
在第一终端将待共享文件发送至服务器之后,接收模块10可以获取接收到的待共享文件的属性信息,判断模块40就可以根据待共享文件的属性信息确定第二终端是否存储有所述待共享文件,例如发送检索待共享文件的指令给第二终端,指示第二终端进行检索并将检索结果发送至服务器。 After the first terminal sends the file to be shared to the server, the receiving module 10 may obtain the attribute information of the file to be shared, and the determining module 40 may determine, according to the attribute information of the file to be shared, whether the second terminal stores the The shared file, for example, sends an instruction to retrieve the file to be shared to the second terminal, instructs the second terminal to perform the retrieval and sends the retrieval result to the server.
发送模块50,设置为:当所述判断模块40确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令。The sending module 50 is configured to: when the determining module 40 determines that the second terminal stores the file to be shared, issue the display to the second terminal that retrieves the file to be shared The instructions for the file.
发送模块50,还设置为:当所述判断模块40确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。The sending module 50 is further configured to: when the determining module 40 determines that the second terminal does not store the file to be shared, send the file to be shared to the file that is not retrieved And a second terminal, where the second terminal displays the received file to be shared.
当第二终端有多个时,可能有的第二终端上存储有待共享文件,有的第二终端上没有存储待共享文件,对于存储有待共享文件的第二终端,发送模块50只需发出显示待共享文件的指令,对于没有存储待共享文件的第二终端,则发送模块50将待共享文件发送到该第二终端。When there are multiple second terminals, there may be a second terminal that stores files to be shared, and some second terminals do not store files to be shared. For the second terminal that stores files to be shared, the sending module 50 only needs to issue a display. The instruction to share the file, for the second terminal that does not store the file to be shared, the sending module 50 sends the file to be shared to the second terminal.
本实施例提出的终端屏幕内容同步装置,共享设备首先将待共享文件传入服务器,这样同步时就可以减少很多个环节,若其它终端已有待共享文件,则无需在同步过程中再传送待共享文件,只需传输同步参数即可实现同步,占用内存小且传输速度快,能够实现实时同步;而若其它终端上无待共享文件时,则可以在同步显示之前及时地从服务器获取待共享文件,在同步过程中只需要传输同步参数,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。In the terminal screen content synchronization device of the embodiment, the sharing device first transfers the file to be shared to the server, so that a plurality of links can be reduced when the synchronization is performed. If other terminals have files to be shared, the shared device does not need to be transmitted again during the synchronization process. The file can be synchronized only by transmitting the synchronization parameters, occupying small memory and fast transmission speed, and realizing real-time synchronization; and if there is no file to be shared on other terminals, the file to be shared can be obtained from the server in time before the synchronous display. In the synchronization process, only the synchronization parameters need to be transmitted, which solves the delay of the terminal screen content in the related art for a long time, and it is difficult to realize the technical problem of real-time synchronization.
如图7所示,为本发明实施例提供的又一种终端屏幕内容同步装置的结构示意图。在上述图5所示装置的结构基础上,本实施例提供的终端屏幕内容同步装置还可以包括:发送模块60。FIG. 7 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention. The terminal screen content synchronization device provided in this embodiment may further include: a sending module 60, based on the structure of the device shown in FIG.
其中,接收模块10,还设置为:接收所述第一终端传输的待共享文件;The receiving module 10 is further configured to: receive a file to be shared transmitted by the first terminal;
发送模块60,设置为:将所述接收模块10接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。The sending module 60 is configured to: send, by the receiving module 10, the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
第一终端将待共享文件上传至服务器的操作可以在第一终端进入虚拟会议室之后就可以开始进行,可以在第二终端进入虚拟会议室之前,也可以在第二终端进入虚拟会议室之后。The operation of uploading the file to be shared to the server by the first terminal may be started after the first terminal enters the virtual conference room, and may be before the second terminal enters the virtual conference room, or after the second terminal enters the virtual conference room.
在第一终端将待共享文件发送至服务器之后,接收模块10接收到待共享 文件,发送模块60直接将该待共享文件直接发送至所有的第二终端,以供所有的第二终端显示所述待共享文件。After the first terminal sends the file to be shared to the server, the receiving module 10 receives the to-be-shared The file sending module 60 directly sends the file to be shared directly to all the second terminals, so that all the second terminals display the file to be shared.
本实施例提出的终端屏幕内容同步装置,共享设备首先将待共享文件传入服务器,这样同步时就可以减少很多个环节,只需传输同步参数即可实现同步,占用内存小且传输速度快,能够实现实时同步。In the terminal screen content synchronization device proposed by the embodiment, the sharing device firstly transfers the file to be shared to the server, so that a plurality of links can be reduced when synchronizing, and synchronization can be realized only by transmitting synchronization parameters, occupying small memory and fast transmission speed. Real-time synchronization is possible.
可选地,如图8所示,为本发明实施例提供的再一种终端屏幕内容同步装置的结构示意图。在上述图5所示装置的结构基础上,本实施例提供的终端屏幕内容同步装置还可以包括:验证模块70和响应模块80。Optionally, FIG. 8 is a schematic structural diagram of still another terminal screen content synchronization apparatus according to an embodiment of the present invention. Based on the structure of the apparatus shown in FIG. 5, the terminal screen content synchronization apparatus provided in this embodiment may further include: a verification module 70 and a response module 80.
其中,验证模块70,设置为:在所述接收模块10接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配;The verification module 70 is configured to: after the receiving module 10 receives the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine the obtained verification parameter. Whether it matches the preset verification parameters;
响应模块80,设置为:当所述验证模块70判断出所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指令以将所述第二终端加入所述共享群组。The response module 80 is configured to: when the verification module 70 determines that the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the sharing group .
当第一终端或者第二终端申请到的虚拟会议室设置有密码时,各个终端在登录该虚拟会议室的时候,就需要输入正确的密码才能进入该虚拟会议室,当接收模块10接收到终端请求进入该虚拟会议室的指令后,验证模块70获取其输入的密码,并将其与预设的密码进行比较,当符合预设的密码时,响应模块80响应上述指令,即终端成功进入该虚拟会议室。When the virtual terminal set by the first terminal or the second terminal is configured with a password, each terminal needs to input a correct password to enter the virtual conference room when logging in to the virtual conference room, and the receiving module 10 receives the terminal. After requesting the instruction to enter the virtual conference room, the verification module 70 obtains the password entered by the verification module 70 and compares it with the preset password. When the preset password is met, the response module 80 responds to the above instruction, that is, the terminal successfully enters the password. Virtual meeting room.
可选地,如图9所示,为图8所示实施例提供的终端屏幕内容同步装置中一种验证模块的结构示意图。本实施例中的验证模块70包括如下单元:Optionally, as shown in FIG. 9, a schematic structural diagram of a verification module in the terminal screen content synchronization apparatus provided in the embodiment shown in FIG. The verification module 70 in this embodiment includes the following units:
判断单元710,设置为:在所述接收模块10接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;The determining unit 710 is configured to: after the receiving module 10 receives the request instruction for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
验证单元720,设置为:当所述判断单元710判断出所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。 The verification unit 720 is configured to: when the determining unit 710 determines that the number of group members of the sharing group is less than the preset threshold, obtain a verification parameter from the request instruction, and determine the obtained verification parameter. Whether to match the preset verification parameters.
共享终端在申请虚拟会议室时,会根据参与会议的终端数量进行申请,服务器会根据终端数量分配一定容量的资源,即具有一定席数的虚拟会议室。例如服务器分配的虚拟会议室设置有十个席位,当接收模块10接收到加入共享群组的请求时,首先判断单元710判断共享群组中的组员是否已经达到预设阈值,当组员没有达到预设阈值时,验证单元720再去判断验证密码是否正确,当组员个数已经达到预设阈值时,会收到席位数已满的通知。在其他的可选实施例中,也可以根据会议的开放程度及用户需求不为虚拟会议室设置密码,当用户找到对应的会议室之后直接加入即可。When a shared terminal requests a virtual conference room, it will apply according to the number of terminals participating in the conference. The server allocates a certain amount of resources according to the number of terminals, that is, a virtual conference room with a certain number of seats. For example, the virtual conference room allocated by the server is provided with ten seats. When the receiving module 10 receives the request to join the sharing group, the first determining unit 710 determines whether the group member in the sharing group has reached the preset threshold, when the group member does not have When the preset threshold is reached, the verification unit 720 determines whether the verification password is correct. When the number of group members has reached the preset threshold, the notification that the number of seats is full is received. In other optional embodiments, the password may not be set for the virtual conference room according to the degree of openness of the conference and the user's requirements. When the user finds the corresponding conference room, the user may directly join.
本实施例提出的终端屏幕内容同步装置,第一终端或第二终端申请虚拟会议室后,其它设备通过名称和密码才能进入的方式,加大了多终端通信的安全性。In the terminal screen content synchronization device of the present embodiment, after the first terminal or the second terminal applies for the virtual conference room, the other devices can enter the mode by using the name and the password, thereby increasing the security of the multi-terminal communication.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例通过服务器接收第一终端发送的待共享文件的同步参数,获取该第一终端所属的共享群组,并将接收到的同步参数发送至该共享群组 中的第二终端,以供第二终端根据该同步参数同步显示待共享文件;本发明实施例提供的方案无需在同步过程中传输待共享文件,只需传输同步参数即可实现屏幕内容的同步,占用内存小且传输速度快,能够实现实时同步,解决了相关技术中终端屏幕内容较长时间的延迟,难以实现实时同步的技术问题。 In the embodiment of the present invention, the server receives the synchronization parameter of the file to be shared sent by the first terminal, acquires the shared group to which the first terminal belongs, and sends the received synchronization parameter to the shared group. The second terminal is configured to enable the second terminal to synchronously display the file to be shared according to the synchronization parameter. The solution provided by the embodiment of the present invention does not need to transmit the file to be shared in the synchronization process, and only needs to transmit the synchronization parameter to realize synchronization of the screen content. The memory is small and the transmission speed is fast, real-time synchronization can be realized, and the delay of the terminal screen content in the related art is solved for a long time, and it is difficult to realize the technical problem of real-time synchronization.

Claims (10)

  1. 一种终端屏幕内容同步方法,包括:A terminal screen content synchronization method includes:
    接收第一终端发送的待共享文件的同步参数;Receiving a synchronization parameter of the file to be shared sent by the first terminal;
    在接收到所述同步参数时,获取所述第一终端所属的共享群组;Obtaining, by the synchronization parameter, the sharing group to which the first terminal belongs;
    将所述同步参数发送至所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。Sending the synchronization parameter to the second terminal in the sharing group, so that the second terminal synchronously displays the file to be shared according to the synchronization parameter.
  2. 根据权利要求1所述的终端屏幕内容同步方法,其中,所述接收第一终端发送的待共享文件的同步参数之前,所述方法还包括:The terminal screen content synchronization method according to claim 1, wherein before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
    接收所述第一终端传输的待共享文件,并获取所述待共享文件的属性信息;Receiving a file to be shared transmitted by the first terminal, and acquiring attribute information of the file to be shared;
    根据获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件;Determining, according to the obtained attribute information, whether the second terminal stores the file to be shared;
    当确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令;When it is determined that the second terminal stores the file to be shared, an instruction to display the file to be shared is sent to the second terminal that retrieves the file to be shared;
    当确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。When it is determined that the second terminal does not store the file to be shared, sending the file to be shared to the second terminal that does not retrieve the file to be shared, for the second terminal to display and receive The file to be shared to.
  3. 根据权利要求1所述的终端屏幕内容同步方法,其中,所述接收第一终端发送的待共享文件的同步参数之前,所述方法还包括:The terminal screen content synchronization method according to claim 1, wherein before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
    接收所述第一终端传输的待共享文件;Receiving a file to be shared transmitted by the first terminal;
    将接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。And sending the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
  4. 根据权利要求1所述的终端屏幕内容同步方法,其中,所述接收第一终端发送的待共享文件的同步参数之前,所述方法还包括:The terminal screen content synchronization method according to claim 1, wherein before the receiving the synchronization parameter of the file to be shared sent by the first terminal, the method further includes:
    接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配;After receiving the request for joining the shared group sent by the second terminal, obtaining a verification parameter from the request instruction, and determining whether the obtained verification parameter matches a preset verification parameter;
    当所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指 令以将所述第二终端加入所述共享群组。When the obtained verification parameter matches the preset verification parameter, responding to the request Soing to join the second terminal to the shared group.
  5. 根据权利要求4所述的终端屏幕内容同步方法,其中,所述接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配,包括:The terminal screen content synchronization method according to claim 4, wherein after receiving the request instruction for joining the shared group sent by the second terminal, obtaining a verification parameter from the request instruction, determining the acquired Verify that the parameters match the preset verification parameters, including:
    接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;After receiving the request for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
    当所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。When the number of the group members of the shared group is less than the preset threshold, the verification parameter is obtained from the request instruction, and it is determined whether the acquired verification parameter matches the preset verification parameter.
  6. 一种终端屏幕内容同步装置,包括:A terminal screen content synchronization device includes:
    接收模块,设置为:接收第一终端发送的待共享文件的同步参数;The receiving module is configured to: receive a synchronization parameter of the file to be shared sent by the first terminal;
    获取模块,设置为:在所述接收模块接收到所述同步参数时,获取所述第一终端所属的共享群组;An acquiring module, configured to: when the receiving module receives the synchronization parameter, acquire a sharing group to which the first terminal belongs;
    同步模块,设置为:将所述接收模块接收的所述同步参数发送至所述获取模块获取的所述共享群组中的第二终端,以供所述第二终端根据所述同步参数同步显示所述待共享文件。a synchronization module, configured to: send the synchronization parameter received by the receiving module to a second terminal in the shared group acquired by the acquiring module, for the second terminal to synchronously display according to the synchronization parameter The file to be shared.
  7. 根据权利要求6所述的终端屏幕内容同步装置,还包括判断模块和发送模块;The terminal screen content synchronizing apparatus according to claim 6, further comprising a judging module and a transmitting module;
    其中,所述接收模块,还设置为:接收所述第一终端传输的待共享文件,并获取所述待共享文件的属性信息;The receiving module is further configured to: receive a file to be shared transmitted by the first terminal, and acquire attribute information of the file to be shared;
    所述判断模块,设置为:根据所述接收模块获取到的所述属性信息确定所述第二终端是否存储有所述待共享文件;The determining module is configured to: determine, according to the attribute information acquired by the receiving module, whether the second terminal stores the file to be shared;
    所述发送模块,设置为:当所述判断模块确定出有所述第二终端存储有所述待共享文件时,向检索到所述待共享文件的所述第二终端发出显示所述待共享文件的指令;The sending module is configured to: when the determining module determines that the second terminal stores the file to be shared, send, to the second terminal that retrieves the file to be shared, the to-be-shared Instruction of the document;
    所述发送模块,还设置为:当所述判断模块确定出有所述第二终端未存储所述待共享文件时,将所述待共享文件发送至未检索到所述待共享文件的所述第二终端,以供所述第二终端显示接收到的所述待共享文件。 The sending module is further configured to: when the determining module determines that the second terminal does not store the file to be shared, send the file to be shared to the not-recovered file to be shared And a second terminal, where the second terminal displays the received file to be shared.
  8. 根据权利要求6所述的终端屏幕内容同步装置,还包括发送模块;The terminal screen content synchronizing apparatus according to claim 6, further comprising a transmitting module;
    其中,所述接收模块,还设置为:接收所述第一终端传输的待共享文件;The receiving module is further configured to: receive a file to be shared transmitted by the first terminal;
    所述发送模块,还设置为:将所述接收模块接收到所述待共享文件发送至所述第二终端,以供所述第二终端显示所述待共享文件。The sending module is further configured to: send, by the receiving module, the file to be shared to the second terminal, so that the second terminal displays the file to be shared.
  9. 根据权利要求6所述的终端屏幕内容同步装置,还包括:The terminal screen content synchronization device of claim 6, further comprising:
    验证模块,设置为:在所述接收模块接收所述第二终端发送的加入所述共享群组的请求指令后,从所述请求指令中获取验证参数,判断所获取的验证参数是否与预设的验证参数匹配;The verification module is configured to: after the receiving module receives the request instruction for joining the shared group sent by the second terminal, obtain a verification parameter from the request instruction, and determine whether the obtained verification parameter is preset The verification parameters match;
    响应模块,设置为:当所述验证模块判断出所述获取的验证参数与所述预设的验证参数匹配时,响应所述请求指令以将所述第二终端加入所述共享群组。The response module is configured to: when the verification module determines that the acquired verification parameter matches the preset verification parameter, respond to the request instruction to join the second terminal to the shared group.
  10. 根据权利要求9所述的终端屏幕内容同步装置,其中,所述验证模块包括:The terminal screen content synchronizing apparatus according to claim 9, wherein the verification module comprises:
    判断单元,设置为:在所述接收模块接收所述第二终端发送的加入所述共享群组的请求指令后,判断所述共享群组的组员个数是否等于预设阈值;a determining unit, configured to: after the receiving module receives the request for joining the shared group sent by the second terminal, determining whether the number of group members of the shared group is equal to a preset threshold;
    验证单元,设置为:当所述判断单元判断出所述共享群组的组员个数小于所述预设阈值时,从所述请求指令中获取验证参数,判断所述获取的验证参数是否与所述预设的验证参数匹配。 a verification unit, configured to: when the determining unit determines that the number of group members of the sharing group is less than the preset threshold, obtaining a verification parameter from the request instruction, and determining whether the acquired verification parameter is The preset verification parameters match.
PCT/CN2016/082659 2015-06-24 2016-05-19 Method and device for synchronizing content in screen of terminal WO2016206508A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510355352.3A CN106331287A (en) 2015-06-24 2015-06-24 Synchronization method and device for terminal screen contents
CN201510355352.3 2015-06-24

Publications (1)

Publication Number Publication Date
WO2016206508A1 true WO2016206508A1 (en) 2016-12-29

Family

ID=57584504

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082659 WO2016206508A1 (en) 2015-06-24 2016-05-19 Method and device for synchronizing content in screen of terminal

Country Status (2)

Country Link
CN (1) CN106331287A (en)
WO (1) WO2016206508A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515580A (en) * 2019-09-02 2019-11-29 联想(北京)有限公司 A kind of display control method, device and terminal

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153949B (en) * 2017-06-07 2020-04-28 上海热元网络科技有限公司 Chat group information management method
CN109445734A (en) * 2018-10-16 2019-03-08 北京新界教育科技有限公司 The method and device of simultaneous display
CN114780054B (en) * 2022-06-20 2022-09-13 深圳乐播科技有限公司 Split screen display method and related device
CN115379279B (en) * 2022-07-22 2024-06-21 深圳市酷开网络科技股份有限公司 Multi-screen linkage interaction method, device, system, storage medium and electronic equipment
CN115314664A (en) * 2022-08-05 2022-11-08 中国银行股份有限公司 Data display method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650278A (en) * 2001-12-12 2005-08-03 诺基亚公司 Synchronous media playback and messaging system
US7353252B1 (en) * 2001-05-16 2008-04-01 Sigma Design System for electronic file collaboration among multiple users using peer-to-peer network topology
CN102739801A (en) * 2012-07-05 2012-10-17 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN103369010A (en) * 2012-04-01 2013-10-23 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN103533388A (en) * 2013-10-25 2014-01-22 潘伟洲 Method and system for synchronously playing multimedia files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353252B1 (en) * 2001-05-16 2008-04-01 Sigma Design System for electronic file collaboration among multiple users using peer-to-peer network topology
CN1650278A (en) * 2001-12-12 2005-08-03 诺基亚公司 Synchronous media playback and messaging system
CN103369010A (en) * 2012-04-01 2013-10-23 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN102739801A (en) * 2012-07-05 2012-10-17 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN103533388A (en) * 2013-10-25 2014-01-22 潘伟洲 Method and system for synchronously playing multimedia files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515580A (en) * 2019-09-02 2019-11-29 联想(北京)有限公司 A kind of display control method, device and terminal

Also Published As

Publication number Publication date
CN106331287A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016206508A1 (en) Method and device for synchronizing content in screen of terminal
US9282232B2 (en) Collaborative image control
US10069881B2 (en) Customized information setup, access and sharing during a live conference
US9723034B2 (en) Online meeting system and method
US10264306B2 (en) Methods, systems, and media for recommending collaborators of media content based on authenticated media content input
US10230774B2 (en) Virtual meeting attendee
EP3131257B1 (en) Program, information processing apparatus, and information processing system for use in an electronic conference system
US20140118468A1 (en) Method and system for adapting a television for multimedia conferencing
WO2015144024A1 (en) Multi-screen interaction method and device
US10740388B2 (en) Linked capture session for automatic image sharing
US20160179456A1 (en) Spontaneous Collaboration Apparatus, System and Methods thereof
CN114827094B (en) Cloud desktop-based authority control method and device, computer equipment and medium
KR20220137038A (en) Interaction methods, devices and electronic devices
US9876831B1 (en) Facilitating communication between users
CN109788230B (en) Conference recording method and device
KR101518482B1 (en) Authoring system for contents by event signals syncronized between smart devices
CN113726534A (en) Conference control method, conference control device, electronic equipment and storage medium
TWI697236B (en) Video conference audio and video sharing method
US20170104763A1 (en) Presentation device and presentation device coordination
JP2018530944A (en) Media rendering synchronization in heterogeneous networking environments
US11968476B2 (en) Virtual environment streaming to a video communications platform
KR20200077132A (en) Apparatus and method for synchronization and synchronization reference server
US20170070705A1 (en) System and method for collating digital content from a plurality of devices into a single media file
CN103685362A (en) Information sharing processing device and information sharing processing method
US9270938B1 (en) Display-based synchronous communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16813624

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16813624

Country of ref document: EP

Kind code of ref document: A1