WO2017107476A1 - 多端同步播放文件的方法和装置 - Google Patents

多端同步播放文件的方法和装置 Download PDF

Info

Publication number
WO2017107476A1
WO2017107476A1 PCT/CN2016/090749 CN2016090749W WO2017107476A1 WO 2017107476 A1 WO2017107476 A1 WO 2017107476A1 CN 2016090749 W CN2016090749 W CN 2016090749W WO 2017107476 A1 WO2017107476 A1 WO 2017107476A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
server
webpage
playing
page
Prior art date
Application number
PCT/CN2016/090749
Other languages
English (en)
French (fr)
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 WO2017107476A1 publication Critical patent/WO2017107476A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists
    • G06F16/4393Multimedia presentations, e.g. slide shows, multimedia albums
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method for multi-terminal synchronous playback of files and a device for simultaneously playing a file by multiple terminals. Background technique
  • the principle of synchronous playback of existing documents is: the parties participating in the synchronous play preload the files to be played to the local, and establish a TCP connection with the same server.
  • the server sends the synchronous play command to the parties participating in the synchronous play through the network.
  • the parties participating in the synchronous play call the automation interface in the pre-installed play tool to realize synchronous play.
  • the existing synchronization method has the following problems: It takes a relatively high bandwidth; the time to load a file to the local is proportional to the file size, which results in a long time for large file synchronization; in addition, each movement participating in synchronization The specific application software needs to be installed at the end, which restricts the user from participating in multi-end synchronous playback to some extent.
  • the present invention provides a multi-terminal synchronous play file method and device, which can facilitate users to participate in multi-end synchronous play, and has short synchronization waiting time and small occupied bandwidth.
  • An aspect of the present invention provides a method for multi-terminal synchronous playback of a file, including:
  • the current play page number is obtained and sent to the server, so that the second terminal jumps the file played in the web page to the corresponding page according to the play page code stored by the server.
  • the information code includes a two-dimensional code
  • the method further includes: establishing a communication connection with the server; and obtaining the current play page number and sending the file to the server includes:
  • All the pictures corresponding to the file and their labels are uploaded to a directory address of the server, and the pictures under the directory address are organized in the order of the labels to generate corresponding web pages, and the information codes corresponding to the web page addresses are generated.
  • Another aspect of the present invention provides a method for multi-terminal synchronous playback of a file, including:
  • the playpage code is a current playpage code of the file played by the first terminal.
  • the information code includes a two-dimensional code
  • the method further includes: establishing a communication connection with the server;
  • the scan information code obtains a file address of a file played by the first terminal in the server, and opens a webpage corresponding to the file address, including:
  • the scan information code obtains a file address of a file played by the first terminal in the server, and the webpage corresponding to the file address is:
  • the obtaining the play page code stored by the server includes:
  • the step of causing the file played in the webpage to jump to the corresponding page according to the playing page code includes: determining that the playing page number is different from a current page number of the file played in the webpage, and playing the webpage by modifying a webpage script The file jumps to the corresponding page.
  • Another aspect of the present invention provides an apparatus for multi-terminal synchronous playback of a file, including:
  • a file uploading module configured to upload a file to be played to the server, and generate an information code corresponding to the file address, so that the second terminal opens the webpage corresponding to the file address by scanning the information code;
  • the current play page number is obtained and sent to the server, so that the second terminal jumps the file played in the web page to the corresponding page according to the play page code stored by the server.
  • the information code includes a two-dimensional code
  • the device for playing the file in a multi-end synchronous manner further includes: a first network connection module, configured to establish a communication connection with the server;
  • the obtaining the current play page number and sending to the server includes:
  • the file uploading module includes:
  • a picture conversion unit configured to generate a corresponding picture for each page of the file to be played, and assign a label to each picture to identify the corresponding file page number
  • An uploading unit configured to upload all the pictures corresponding to the file and the label thereof to a directory address of the server
  • a webpage generating unit configured to organize the pictures under the directory address in a label order to generate a corresponding webpage, and generate an information code corresponding to the webpage address.
  • Another aspect of the present invention provides an apparatus for multi-terminal synchronous playback of a file, including:
  • An address recognition module configured to scan the information code to obtain a file address of the file played by the first terminal in the server, and open a webpage corresponding to the file address;
  • a synchronization control module configured to acquire a play page number stored by the server, and cause a file played in the webpage to jump to a corresponding page according to the playpage code; the playpage code is a current state in which the first terminal plays the file Play page number.
  • the information code includes a two-dimensional code
  • the device for synchronously playing a file by the multi-end includes: a second network connection module, configured to establish a communication connection with the server;
  • the address recognition module includes:
  • a scan identification unit configured to scan the information code to obtain a webpage address corresponding to the file played by the first terminal in the server
  • a webpage display unit configured to open a webpage corresponding to the webpage address by using a browser.
  • the address identifying module is configured to scan the information code by using any tool that supports the information code scanning, identify a file address of a file played by the first terminal corresponding to the information code in the server, and start The browser opens a webpage corresponding to the file address;
  • the synchronization control module includes:
  • a page obtaining unit configured to query the server for playing a page number through the webpage according to the set time interval; or, when detecting that the playing page code stored by the server is updated, receiving the updated playing page number sent by the server ;
  • the jump control unit is configured to determine that the play page number is different from the current page code of the file played in the webpage, and modify the webpage script to cause the file played in the webpage to jump to the corresponding page.
  • the method and device for synchronously playing a file by the multi-terminal of the foregoing technical solution the file to be played is uploaded to the server by the first terminal, and the information code corresponding to the file address is generated; and in the process of playing the file by the first terminal, Obtaining a current play page number and sending it to the server; causing the second terminal to obtain the file address by scanning the information code, opening a webpage corresponding to the file address, playing the file through a webpage; During the process of playing the file, the second terminal obtains the current play page number of the first terminal stored by the server, and causes the file played in the web page to jump to the corresponding page according to the current play page code of the first terminal.
  • the content of the large screen can be synchronized to the mobile phone by scanning the information code by the mobile phone, and the content on the screen of the mobile phone is played along with the large screen, and the dedicated application is not separately installed, and the synchronization is waited.
  • the time is short and the occupied bandwidth is small.
  • FIG. 1 is a schematic flowchart of a method for synchronously playing a file by a multi-end according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an operation process for implementing multi-end synchronization by a host;
  • FIG. 3 is a schematic diagram of an operation flow of implementing multi-end synchronization on the participant side
  • FIG. 4 is a schematic structural diagram of an apparatus for synchronously playing a file by a multi-end according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for synchronously playing a file by a multi-end according to another embodiment of the present invention.
  • Embodiments of the present invention include an embodiment of a method for multi-end simultaneous playback of files, and an apparatus embodiment for corresponding multi-end simultaneous playback of files. The details are described below separately.
  • FIG. 1 is a schematic flowchart of a method for synchronously playing a file by a multi-end according to Embodiment 1 of the present invention.
  • the method for multi-end synchronous playback of files in this embodiment includes the following steps S1 to S4, and the steps are as follows:
  • the first terminal uploads the file to be played to the server, and generates an information code corresponding to the file address;
  • the first terminal may be a smart terminal such as a mobile phone, a computer, a tablet, or the like
  • the second terminal may be a smart terminal capable of supporting information code scanning, such as a mobile phone or a tablet
  • the first terminal has a network connection function
  • the method further includes: establishing a communication connection between the first terminal and the server.
  • the first terminal refers to a terminal of the host, and the first terminal is connected to a large screen to project the first terminal screen to the large screen.
  • the second terminal refers to a terminal on the participant side, and the purpose is to enable the second terminal to synchronously play the content displayed on the large screen, even if the second terminal synchronously plays the content displayed on the screen of the first terminal.
  • the file to be played is uploaded to the server
  • the specific implementation manner of the information code corresponding to the file address may be: generating a corresponding picture for each page of the file to be played, and for each picture Assigning a label to identify its corresponding file page number; uploading all the pictures corresponding to the file and their labels to a directory address of the server, and organizing, by the server, the pictures under the directory address in the order of labels to generate corresponding web pages, and Generate the information code corresponding to the web page address.
  • the information code in this embodiment is a two-dimensional code.
  • other information codes that can be identified by a common smart terminal such as a mobile phone or a tablet, which are encoded by the website address, may also be used.
  • the first terminal may obtain a current playing page number according to a set time period (for example, 1 second), and send the current playing page code to the server, according to The current play page code updates a play page number stored by the server.
  • the playing page code stored in the server is the current playing page number of the first terminal playing the file, and the initial value can be set to the first page.
  • the implementation manner can ensure the validity of the page number stored by the server and improve the accuracy of the synchronous play.
  • the second terminal scans the information code to obtain the file address, opens a webpage corresponding to the file address, and plays the file through a webpage;
  • the second terminal may scan the information code by using any tool that supports the information code scanning (for example, scanning a two-dimensional code by using WeChat or QQ), and identifying the information code to obtain the file. Address, and launch a browser to open the web page corresponding to the file address. And the second terminal also has a network connection function. Before the second terminal scans the information code to obtain the file address, the method further includes: establishing a communication connection between the second terminal and the server.
  • any tool that supports the information code scanning for example, scanning a two-dimensional code by using WeChat or QQ
  • the method further includes: establishing a communication connection between the second terminal and the server.
  • the second terminal scans the information code to obtain a webpage address corresponding to the file played by the first terminal in the server, and the webpage corresponding to the webpage address can be opened by the browser.
  • the participant can open the corresponding webpage to play the file in the second terminal only by scanning the information code, and the user is convenient to operate, and it is not necessary to load all the files to the local beforehand, and it is not necessary to install a dedicated application in advance. software.
  • the number of the second terminals in this embodiment may be multiple.
  • the second terminal acquires a play page number stored by the server, and causes the file played in the webpage to jump to the corresponding page according to the play page code.
  • the webpage may query the server for the current playing page number of the first terminal according to a set time interval (for example, 0.5 seconds or 1 second), and receive the playing page code returned by the server, if the playing page number is determined. If the current page number of the file played in the webpage is different, the file played in the webpage is jumped to the corresponding page by modifying the webpage script, otherwise, the filepage played in the webpage is maintained.
  • a set time interval for example, 0.5 seconds or 1 second
  • the server detects that the stored play page code is updated, the updated play page code is immediately sent to the second terminal; the second terminal receives the play page code sent by the server, if the The play page number is different from the current page number of the file played on the web page.
  • the modified webpage script causes the file played in the webpage to jump to the corresponding page, otherwise, the file page played in the webpage is maintained.
  • the association between the file address and the play page number may be established in advance on the server.
  • the corresponding playpage code can be found by using the file address and the association relationship.
  • the main steps that the first terminal needs to perform include:
  • the current play page number is obtained and sent to the server, so that the second terminal jumps the file played in the webpage to the corresponding page according to the play page code stored by the server.
  • the following describes the steps for the first terminal to implement the multi-end synchronous play file, as follows:
  • Step 101 The host opens the desktop application on the PC side (ie, the first terminal);
  • Step 102 The host selects a document to be presented in the application, and uploads the document to the background website (ie, the server) by using the upload function;
  • Step 103 The host clicks the function of generating the QR code of the document in the application, that is, generates a two-dimensional code corresponding to the address of the document in the background website.
  • Step 104 after the above steps, the host can officially operate the PC to enter the document presentation process.
  • Steps 105, 106 in the process of the host presenting the document on the PC side, if the page is turned, the application sends the current play page number to the server, and the server stores the current play page number of the document.
  • the main steps that the second terminal needs to perform include:
  • the following describes the steps for the second terminal to implement the multi-end synchronous play file, as follows:
  • Step 201 The participant uses a mobile phone or a tablet (ie, the second terminal) to open any tool that supports the scanning of the two-dimensional code, and scans the two-dimensional code corresponding to the document address.
  • Step 202 After scanning the two-dimensional code, the browser is automatically started to open the webpage corresponding to the file address, and the file is played through the webpage.
  • Step 203 The webpage may periodically query the server to obtain a playpage code stored in the server. Steps 204, 205, if it is found that the current page number of the file played in the webpage is not the same as the current page number of the file played in the webpage, use the script technology to jump to the corresponding page, complete the synchronization, and make the progress and host of the file played on the participant's mobile phone or tablet screen. The progress of playing files on the PC side of the person is synchronized.
  • Small A opens the desktop application on the computer connected to the projector (equivalent to the first terminal), uploads the PPT document to be reported, and then clicks to generate the corresponding document QR code, and then performs PPT presentation. All employees can use the mobile phone or tablet to open the QR code scanning tool to scan the QR code of the document. After scanning, the mobile phone or tablet will use the browser to open the document URL corresponding to the QR code.
  • the computer-side application connected to the projector sends a new page number to the server, and the server stores the page number in association with the URL corresponding to the document.
  • the page where the document is located will periodically poll to view the corresponding current play page number in the server. If the current page number stored in the server is found to be inconsistent with the page number displayed on the current web page, use the script technology to jump to the server for storage. The page corresponding to the page number completes the synchronization.
  • the multiple terminals participating in the synchronization are not limited to the local area network, as long as they can connect to the network, and are not limited to the same local area network; the participants can join at any time, and do not need to separately install a specific application.
  • Program the terminal participating in the synchronization as long as there is support for scanning information code Tools and browsers that open web pages; no need to preload full files to the local, multi-end synchronization wait time is short, and the bandwidth is small.
  • FIG. 4 is a schematic structural diagram of an apparatus for simultaneously playing a file by a multi-end according to an embodiment of the present invention.
  • the device for playing a file in a multi-end synchronous manner in this embodiment includes: a file uploading module 110 and a page number reporting module 120, which are specifically described as follows:
  • the file uploading module 110 is configured to upload a file to be played to the server, and generate an information code corresponding to the file address, so that the second terminal opens the webpage corresponding to the file address by scanning the information code;
  • the information code in this embodiment is a two-dimensional code.
  • the file uploading module 110 may further include: a picture converting unit, an uploading unit, and a webpage generating unit; wherein the image converting unit is configured to generate a corresponding image for each page of the file to be played, and for each image Assigning a label to identify its corresponding file page number; the uploading unit is configured to upload all the pictures corresponding to the file and their labels to a directory address of the server; the webpage generating unit is configured to order the pictures under the directory address in the order of labels The organization generates a corresponding webpage and generates an information code corresponding to the webpage address.
  • the image converting unit is configured to generate a corresponding image for each page of the file to be played, and for each image Assigning a label to identify its corresponding file page number
  • the uploading unit is configured to upload all the pictures corresponding to the file and their labels to a directory address of the server
  • the webpage generating unit is configured to order the pictures under the directory address in the order of labels
  • the organization generates a corresponding webpage and generates
  • the page number reporting module 120 is configured to: during the playing of the file, acquire a current playing page number and send the page number to the server, so that the second terminal plays the webpage according to the playing page code stored by the server.
  • the file jumps to the corresponding page.
  • the acquiring the current play page number and sending to the server includes: according to the set time Obtaining a current play page number, and sending the current play page number to the server, to update the play page code stored by the server with the current play page code; or, when detecting a file play page turn, obtaining a page turn
  • the page number is used as the current play page number, and the current play page code is sent to the server to update the play page code stored by the server with the current play page code.
  • the device for playing the file in the multi-end synchronous manner of the embodiment further includes: a first network connection module 130, configured to establish a communication connection between the device and the server.
  • FIG. 5 is a schematic structural diagram of an apparatus for simultaneously playing a file by a multi-end according to another embodiment of the present invention.
  • the device for multi-end synchronous playback of the file in this embodiment includes: an address recognition module 210 and a synchronization control module 220, which are specifically described as follows:
  • the address identifying module 210 is configured to scan the information code to obtain a file address of the file played by the first terminal in the server, and open a webpage corresponding to the file address;
  • the address identification module 210 is configured to scan the information code by using any tool that supports the information code scanning, and identify a file address of a file played by the first terminal corresponding to the information code in the server, and Launch a browser to open the web page corresponding to the file address.
  • the address recognition module 210 may further include: a scan identification unit and a webpage display unit; wherein the scan identification unit is configured to scan the information code to obtain a webpage address corresponding to the file played by the first terminal in the server; The webpage corresponding to the webpage address is opened by a browser.
  • the information code is a two-dimensional code.
  • the synchronization control module 220 is configured to acquire a play page number stored by the server, and cause a file played in the webpage to jump to a corresponding page according to the play page number; the play page code is the first terminal playing the The current play page number of the file.
  • the synchronization control module 220 may specifically include:
  • a page obtaining unit configured to query the server for playing a page number through the webpage according to the set time interval; or, when detecting that the playing page code stored by the server is updated, receiving the updated playing page number sent by the server ;
  • the jump control unit is configured to determine that the play page number is different from the current page code of the file played in the webpage, and the file played in the webpage is jumped to the corresponding page by modifying the webpage script.
  • the device for playing the file in the multi-end synchronous manner of the embodiment further includes: a second network connection module 230, configured to establish a communication connection between the device and the server.
  • the present invention further provides an embodiment of a multi-end synchronous play file system, where the multi-end synchronous play file system includes a first terminal and a second terminal, and the first terminal includes: a file uploading module and a page number reporting module, The second terminal includes an address recognition module and a synchronization control module.
  • the modules are as described in the above embodiments and will not be described again.
  • the first terminal further includes a first network connection module
  • the second terminal further includes a second network connection module, where the first network connection module is used to establish a communication connection between the first terminal and the server, and the second network connection module is used to Establish a communication connection between the second terminal and the server.
  • the first terminal can be a smart terminal such as a mobile phone, a computer, or a tablet
  • the second terminal can be a smart terminal that can support information code scanning, such as a mobile phone or a tablet.
  • the second terminal needs to be described in the foregoing embodiment of the system for multi-end synchronous playback of files, the information interaction between each module/unit, the execution process, and the like are based on the foregoing method embodiments of the present invention.
  • the technical effect is the same as that of the foregoing method embodiment of the present invention.
  • each functional module is merely an example, and the actual application may be considered according to requirements, for example, due to configuration requirements of corresponding hardware or convenience of implementation of software.
  • the above-mentioned function allocation is completed by different function modules, that is, the internal structure of the multi-end synchronous play file system is divided into different functional modules to complete all or part of the functions described above.
  • each functional module may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • a program instructing the associated hardware personal computer, server, or network device, etc.
  • the program can be stored in a computer readable storage medium. When executed, the program may perform all or part of the steps of the method specified in any of the above embodiments.
  • the foregoing storage medium may include any medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • first terminal may be referred to as a second terminal and a second terminal may be referred to as a first terminal without departing from the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种多端同步播放文件的方法和装置。所述方法包括:将待播放的文件上传至服务器,并生成文件地址对应的信息码,以便第二终端通过扫描所述信息码打开所述文件地址对应的网页;播放所述文件的过程中,获取当前播放页码并发送至所述服务器,以便所述第二终端根据所述服务器存储的播放页码使所述网页中播放的文件跳转到相应页面。通过本发明,能够方便用户参与多端同步播放,且同步等待时间短,占用带宽小。

Description

多端同步播放文件的方法和装置 技术领域
本发明涉及网络通信技术领域,特别是涉及多端同步播放文件的方法和多 端同步播放文件的装置。 背景技术
在大型会议进行文档演示时, 由于会场较大, 坐在后面的观众可能看不清 楚大屏幕上演示的文档内容, 针对该问题, 提出了将大屏幕播放的文档内容同 步到观众手机端, 使得观众手机屏幕上的内容跟随大屏幕进行同步播放。
现有的文档同步播放的原理为:参与同步播放的各方事先加载需播放的文 件到本地, 并与同一个服务器建立 TCP连接。 协同播放时, 服务器通过网络 将同步播放命令发送到参与同步播放的各方,参与同步播放的各方在收到命令 后, 调用预先安装的播放工具中的自动化接口, 实现同步播放。
然而, 现有的同步方法存在如下问题: 需占用相对较高的带宽; 加载文件 到本地的时间和文件大小成正比,导致较大文件同步时需等待较长时间;此外, 参与同步的各移动端需安装特定的应用软件,一定程度上限制了用户参与到多 端同步播放。
发明内容
基于此, 本发明提供一种多端同步播放文件的方法和装置, 能够方便用户 参与多端同步播放, 且同步等待时间短, 占用带宽小。
本发明一方面提供一种多端同步播放文件的方法, 包括:
将待播放的文件上传至服务器, 并生成文件地址对应的信息码, 以便第二 终端通过扫描所述信息码打开所述文件地址对应的网页;
播放所述文件的过程中, 获取当前播放页码并发送至所述服务器, 以便所 述第二终端根据所述服务器存储的播放页码使所述网页中播放的文件跳转到 相应页面。 优选的, 所述信息码包括二维码;
所述将待播放的文件上传至服务器之前还包括:建立与服务器的通信连接; 所述获取当前播放页码并发送至所述服务器包括:
按照设定时间周期获取当前播放页码,并将所述当前播放页码发送至所述 服务器, 以用所述当前播放页码更新所述服务器存储的播放页码;
或者, 当检测到文件播放翻页时, 获取翻页后的页码作为当前播放页码, 并将所述当前播放页码发送至所述服务器, 以用所述当前播放页码更新所述服 务器存储的播放页码;
所述将待播放的文件上传至服务器,并生成文件地址对应的信息码,包括: 将待播放的文件的每一页分别生成对应的图片,并为各图片分配一标号以 标识其对应的文件页码;
上传所述文件对应的全部图片及其标号至服务器的一目录地址下,将所述 目录地址下的图片按标号顺序组织生成对应的网页,并生成网页地址对应的信 息码。
本发明另一方面提供一种多端同步播放文件的方法, 包括:
扫描信息码得到第一终端播放的文件在服务器中的文件地址,打开所述文 件地址对应的网页;
获取所述服务器存储的播放页码,根据所述播放页码使所述网页中播放的 文件跳转到相应页面;所述播放页码为所述第一终端播放所述文件的当前播放 页码。
优选的, 所述信息码包括二维码;
所述扫描信息码得到第一终端播放的文件在服务器中的文件地址之前还 包括: 建立与服务器的通信连接;
所述扫描信息码得到第一终端播放的文件在服务器中的文件地址,打开所 述文件地址对应的网页, 包括:
扫描信息码得到第一终端播放的文件在服务器中对应的网页地址,通过浏 览器打开所述网页地址对应的网页。 优选的,所述扫描信息码得到第一终端播放的文件在服务器中的文件地址, 打开所述文件地址对应的网页包括:
通过任意支持所述信息码扫描的工具扫描所述信息码,识别出所述信息码 对应的第一终端播放的文件在服务器中的文件地址,并启动浏览器打开所述文 件地址对应的网页;
所述获取所述服务器存储的播放页码包括:
按照设定时间间隔通过所述网页向所述服务器查询播放页码;
或者, 当检测到所述服务器存储的播放页码发生更新时, 接收所述服务器 发送的更新后的播放页码;
所述根据所述播放页码使所述网页中播放的文件跳转到相应页面包括: 确定所述播放页码与所述网页中播放的文件的当前页码不相同,通过修改 网页脚本使网页中播放的文件跳转到相应页面。
本发明另一方面提供一种多端同步播放文件的装置, 包括:
文件上传模块, 用于将待播放的文件上传至服务器, 并生成文件地址对应 的信息码, 以便第二终端通过扫描所述信息码打开所述文件地址对应的网页; 页码上报模块, 用于在播放所述文件的过程中, 获取当前播放页码并发送 至所述服务器, 以便所述第二终端根据所述服务器存储的播放页码使所述网页 中播放的文件跳转到相应页面。
优选的, 所述信息码包括二维码;
所述多端同步播放文件的装置还包括: 第一网络连接模块, 用于建立与服 务器的通信连接;
所述获取当前播放页码并发送至所述服务器包括:
按照设定时间周期获取当前播放页码,并将所述当前播放页码发送至所述 服务器, 以用所述当前播放页码更新所述服务器存储的播放页码;
或者, 当检测到文件播放翻页时, 获取翻页后的页码作为当前播放页码, 并将所述当前播放页码发送至所述服务器, 以用所述当前播放页码更新所述服 务器存储的播放页码; 所述文件上传模块包括:
图片转换单元, 用于将待播放的文件的每一页分别生成对应的图片, 并为 各图片分配一标号以标识其对应的文件页码;
上传单元,用于上传所述文件对应的全部图片及其标号至服务器的一目录 地址下;
以及, 网页生成单元, 用于将所述目录地址下的图片按标号顺序组织生成 对应的网页, 并生成网页地址对应的信息码。
本发明另一方面提供一种多端同步播放文件的装置, 包括:
地址识别模块,用于扫描信息码得到第一终端播放的文件在服务器中的文 件地址, 打开所述文件地址对应的网页;
同步控制模块, 用于获取所述服务器存储的播放页码, 根据所述播放页码 使所述网页中播放的文件跳转到相应页面;所述播放页码为所述第一终端播放 所述文件的当前播放页码。
优选的, 所述信息码包括二维码;
所述多端同步播放文件的装置还包括: 第二网络连接模块, 用于建立与服 务器的通信连接;
所述地址识别模块包括:
扫描识别单元,用于扫描信息码得到第一终端播放的文件在服务器中对应 的网页地址;
以及, 网页显示单元, 用于通过浏览器打开所述网页地址对应的网页。 优选的, 所述地址识别模块, 用于通过任意支持所述信息码扫描的工具扫 描所述信息码,识别出所述信息码对应的第一终端播放的文件在服务器中的文 件地址, 并启动浏览器打开所述文件地址对应的网页;
所述同步控制模块包括:
页码获取单元,用于按照设定时间间隔通过所述网页向所述服务器查询播 放页码; 或者, 当检测到所述服务器存储的播放页码发生更新时, 接收所述服 务器发送的更新后的播放页码; 跳转控制单元,用于确定所述播放页码与所述网页中播放的文件的当前页 码不相同, 通过修改网页脚本使网页中播放的文件跳转到相应页面。
上述技术方案的多端同步播放文件的方法和装置,通过第一终端将待播放 的文件上传至服务器, 并生成文件地址对应的信息码; 并且在所述第一终端播 放所述文件的过程中, 获取当前播放页码并发送至所述服务器; 使得第二终端 可通过扫描所述信息码得到所述文件地址, 打开所述文件地址对应的网页, 通 过网页对所述文件进行播放; 并且在所述第二终端播放所述文件的过程中, 通 过获取所述服务器存储的第一终端的当前播放页码,并根据第一终端的当前播 放页码使所述网页中播放的文件跳转到相应页面。 通过本发明方案, 通过手机 扫描信息码的方式便可将大屏幕播放的内容同步到手机端,且手机屏幕上的内 容会跟随大屏幕一起进行播放, 不需要单独安装专用的应用程序, 同步等待时 间短, 占用带宽小。 附图说明
图 1为本发明实施例的多端同步播放文件的方法的示意性流程图; 图 2为主持人一方实现多端同步的操作流程示意图;
图 3为与会者一方实现多端同步的操作流程示意图;
图 4为本发明一实施例的多端同步播放文件的装置的示意性结构图; 图 5为本发明另一实施例的多端同步播放文件的装置的示意性结构图。 具体实施方式
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。
本发明提供的实施例包括多端同步播放文件的方法实施例,还包括相应的 多端同步播放文件的装置实施例。 以下分别进行详细说明。
图 1为本发明实施例一的多端同步播放文件的方法的示意性流程图;如图 1所示, 本实施例的多端同步播放文件的方法包括如下步骤 S1至 S4, 各步骤 详述如下:
Sl, 第一终端将待播放的文件上传至服务器, 并生成文件地址对应的信息 码;
所述第一终端可为手机、电脑、平板等智能终端,所述第二终端可为手机、 平板等可支持信息码扫描的智能终端, 并且所述第一终端具有网络连接功能, 所述第一终端将待播放的文件上传至服务器之前还包括:建立第一终端与服务 器的通信连接。
优选的, 本实施例中所述第一终端指的是主持人一方的终端, 所述第一终 端连接大屏幕, 以将第一终端屏幕投影到所述大屏幕。 所述第二终端指的是与 会者一方的终端, 目的在于使第二终端同步播放大屏幕显示的内容, 即使第二 终端同步播放第一终端屏幕显示的内容。
优选的, 本实施例中将待播放的文件上传至服务器, 并生成文件地址对应 的信息码的具体实现方式可为:将待播放的文件的每一页分别生成对应的图片, 并为各图片分配一标号以标识其对应的文件页码;上传所述文件对应的全部图 片及其标号至服务器的一目录地址下,通过服务器将所述目录地址下的图片按 标号顺序组织生成对应的网页, 并生成网页地址对应的信息码。
优选的, 本实施例中所述信息码为二维码。 当然, 也可以是其它对网站地 址进行编码的、 可通过手机、 平板等常用智能终端识别的信息码。
S2, 所述第一终端播放所述文件的过程中, 获取当前播放页码并发送至所 述服务器;
作为一优选实施方式, 所述第一终端播放所述文件的过程中, 可按照设定 时间周期(例如 1秒)获取当前播放页码, 并将所述当前播放页码发送至所述 服务器, 以根据所述当前播放页码更新所述服务器存储的播放页码。 其中, 所 述服务器中存储的播放页码即所述第一终端播放所述文件的当前播放页码,初 始值可设置为第 1页。
作为另一优选实施方式, 所述第一终端播放所述文件的过程中, 若检测到 文件播放翻页, 则立即获取翻页后的页码作为当前播放页码, 并将所述当前播 放页码发送至所述服务器, 以根据所述当前播放页码更新所述服务器存储的播 放页码。 与前一实施方式相比, 本实施方式可保证服务器存储的播放页码的有 效性, 提高同步播放的精准度。
S3, 第二终端扫描所述信息码得到所述文件地址, 打开所述文件地址对应 的网页, 通过网页对所述文件进行播放;
优选的, 本实施例中, 所述第二终端可通过任意支持所述信息码扫描的工 具扫描所述信息码 (例如通过微信或者 QQ扫描二维码), 识别所述信息码得 到所述文件地址, 并启动浏览器打开所述文件地址对应的网页。 并且所述第二 终端也具有网络连接功能,所述第二终端扫描所述信息码得到所述文件地址之 前还包括: 建立第二终端与服务器的通信连接。
优选的,本实施例中第二终端扫描所述信息码可得到第一终端播放的文件 在服务器中对应的网页地址,进而可通过浏览器打开所述网页地址对应的网页。
可见, 本实施例中, 与会者仅通过信息码扫描, 便可在所述第二终端打开 对应网页播放所述文件, 用户操作便捷, 无需事先加载全部文件到本地, 也无 需事先安装专用的应用软件。
可以理解的是, 本实施例中所述第二终端的数量可为多个。
S4, 所述第二终端播放所述文件的过程中, 获取所述服务器存储的播放页 码, 并根据所述播放页码使网页中播放的文件跳转到相应页面。
作为一优选实施方式, 所述网页可按照设定时间间隔 (例如 0.5秒或者 1 秒)向所述服务器查询第一终端的当前播放页码,接收服务器返回的播放页码, 若确定出所述播放页码与所述网页中播放的文件的当前页码不相同,则通过修 改网页脚本使网页中播放的文件跳转到相应页面, 否则, 保持网页中播放的文 件页面。
作为另一优选实施方式, 若所述服务器检测到存储的播放页码发生更新, 则立即向所述第二终端发送更新后的播放页码;第二终端接收服务器发送的播 放页码, 若确定出所述播放页码与网页中播放的文件的当前页码不相同, 则通 过修改网页脚本使网页中播放的文件跳转到相应页面, 否则, 保持网页中播放 的文件页面。
优选的,可预先在服务器端建立所述文件地址与所述播放页码的关联关系。 所述第二终端通过网页播放所述文件的过程中, 通过所述文件地址、 所述关联 关系便能找到对应的播放页码。
由上可见, 一方面, 为实现多端同步播放文件, 第一终端需要执行的主要 步骤包括:
Sll, 将待播放的文件上传至服务器, 并生成文件地址对应的信息码, 以 便第二终端通过扫描所述信息码打开所述文件地址对应的网页;
S12, 播放所述文件的过程中, 获取当前播放页码并发送至所述服务器, 以便所述第二终端根据所述服务器存储的播放页码使所述网页中播放的文件 跳转到相应页面。
如图 2所示,下面对第一终端实现多端同步播放文件执行的步骤进行说明, 具体如下:
步骤 101, 主持人在 PC端 (即第一终端) 打开桌面应用程序;
步骤 102, 主持人在应用程序中选择要演示的文档, 使用上传功能, 将文 档上传到后台网站 (即服务器);
步骤 103, 主持人在所述应用程序中点击生成文档二维码的功能, 即生成 了一个与后台网站中该文档地址相应的二维码。
步骤 104,在上述步骤后,主持人就可以正式操作 PC进入文档演示过程。 步骤 105、 106, 主持人在 PC端演示文档的过程中, 如果进行了翻页, 应 用程序会将当前播放页码发送给服务器,服务器会存储该文档的当前播放页码。
另一方面,为实现多端同步播放文件,第二终端需要执行的主要步骤包括:
521 , 扫描信息码得到第一终端播放的文件在服务器中的文件地址, 打开 所述文件地址对应的网页;
522, 获取所述服务器存储的播放页码, 根据所述播放页码使所述网页中 播放的文件跳转到相应页面;所述播放页码为所述第一终端播放所述文件的当 前播放页码。
具体的, 如图 3所示, 下面对第二终端实现多端同步播放文件执行的步骤 进行说明, 具体如下:
步骤 201, 与会者使用手机或平板(即第二终端), 打开任意支持二维码扫 描的工具, 扫描所述文档地址对应的二维码。
步骤 202, 扫描二维码后, 会自动启动浏览器打开所述文件地址对应的网 页, 通过网页对所述文件进行播放。
步骤 203, 网页可定时查询服务器, 以获取服务器中存储的播放页码。 步骤 204、 205,如果发现所述播放页码与网页中播放的文件的当前页码不 相同, 则使用脚本技术跳转到相应页面, 完成同步, 使与会者手机或平板屏幕 上播放的文件进度与主持人一方 PC端播放文件的进度同步。
进一步的, 下面结合图 2、 图 3, 以一个具体由于场景为例, 对上述实施 例的多端同步播放文件的方法进行具体说明,小 A向公司全体员工汇报全年的 销售情况。
小 A (相当于主持人)在连接投影仪的计算机(相当于第一终端)上打开 桌面应用程序,将要汇报的 PPT文档进行上传,然后点击生成对应的文档二维 码, 然后进行 PPT演示。全体员工可以使用手机或平板, 打开二维码扫描工具 对该文档二维码进行扫描,扫描后手机或平板会使用浏览器打开二维码对应的 文档网址。
小 A演示时每一次翻页,所述连接投影仪的计算机端应用程序就会将新的 页码发送到服务器中, 服务器将该页码与文档对应的网址关联存储起来。 其它 员工的手机或平板端,文档所在网页会定时轮询查看服务器中对应的当前播放 页码, 如果发现服务器中存储的当前页码与当前网页中显示页码不一致, 则使 用脚本技术跳转到服务器中存储的页码对应的页面, 完成同步。
通过上述实施例的多端同步播放文件的方法,参与同步的多个终端不局限 于局域网, 只要都能连接网络即可, 不限于同一局域网; 与会者可随时加入, 且不需要单独安装特定的应用程序,参与同步的终端只要有支持扫描信息码的 工具和能打开网页的浏览器即可; 无需预加载完整的文件到本地, 多端同步等 待时间短, 占用带宽小。
需要说明的是, 对于前述的各方法实施例, 为了简便描述, 将其都表述为 一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描述的动 作顺序的限制, 因为依据本发明, 某些步骤可以采用其它顺序或者同时进行。
以下对可用于执行上述多端同步播放文件的方法的多端同步播放文件的装 置实施例进行说明。 为了便于说明, 多端同步播放文件的系统实施例的结构示 意图中, 仅仅示出了与本发明实施例相关的部分, 本领域技术人员可以理解, 图中示出的装置结构并不构成对装置的限定,可以包括比图示更多或更少的部 件, 或者组合某些部件, 或者不同的部件布置。
图 4为本发明实施例的多端同步播放文件的装置的示意性结构图。 如图 4 所示, 本实施例的多端同步播放文件的装置包括: 文件上传模块 110和页码上 报模块 120, 具体说明如下:
所述文件上传模块 110, 用于将待播放的文件上传至服务器, 并生成文件 地址对应的信息码, 以便第二终端通过扫描所述信息码打开所述文件地址对应 的网页;
优选的, 本实施例中所述信息码为二维码。
优选的, 所述文件上传模块 110具体可包括: 图片转换单元、 上传单元和 网页生成单元; 其中, 图片转换单元用于将待播放的文件的每一页分别生成对 应的图片, 并为各图片分配一标号以标识其对应的文件页码; 上传单元用于上 传所述文件对应的全部图片及其标号至服务器的一目录地址下; 网页生成单元 用于将所述目录地址下的图片按标号顺序组织生成对应的网页,并生成网页地 址对应的信息码。
所述页码上报模块 120, 用于在播放所述文件的过程中, 获取当前播放页 码并发送至所述服务器, 以便所述第二终端根据所述服务器存储的播放页码使 所述网页中播放的文件跳转到相应页面。
优选的, 所述获取当前播放页码并发送至所述服务器包括: 按照设定时间 周期获取当前播放页码, 并将所述当前播放页码发送至所述服务器, 以用所述 当前播放页码更新所述服务器存储的播放页码; 或者, 当检测到文件播放翻页 时, 获取翻页后的页码作为当前播放页码, 并将所述当前播放页码发送至所述 服务器, 以用所述当前播放页码更新所述服务器存储的播放页码。
优选的,本实施例多端同步播放文件的装置还包括:第一网络连接模块 130, 用于建立所述装置与服务器的通信连接。
图 5为本发明另一实施例的多端同步播放文件的装置的示意性结构图。 如 图 5所示, 本实施例的多端同步播放文件的装置包括: 地址识别模块 210和同 步控制模块 220, 具体说明如下:
所述地址识别模块 210, 用于扫描信息码得到第一终端播放的文件在服务 器中的文件地址, 打开所述文件地址对应的网页;
优选的,所述地址识别模块 210具体用于通过任意支持所述信息码扫描的 工具扫描所述信息码,识别出所述信息码对应的第一终端播放的文件在服务器 中的文件地址, 并启动浏览器打开所述文件地址对应的网页。
优选的, 所述地址识别模块 210具体可包括: 扫描识别单元和网页显示单 元; 其中, 扫描识别单元用于扫描信息码得到第一终端播放的文件在服务器中 对应的网页地址; 网页显示单元用于通过浏览器打开所述网页地址对应的网页。
优选的, 所述信息码为二维码。
所述同步控制模块 220, 用于获取所述服务器存储的播放页码, 根据所述 播放页码使所述网页中播放的文件跳转到相应页面;所述播放页码为所述第一 终端播放所述文件的当前播放页码。
优选的, 所述同步控制模块 220具体可包括:
页码获取单元,用于按照设定时间间隔通过所述网页向所述服务器查询播 放页码; 或者, 当检测到所述服务器存储的播放页码发生更新时, 接收所述服 务器发送的更新后的播放页码;
以及, 跳转控制单元, 用于确定所述播放页码与所述网页中播放的文件的 当前页码不相同, 通过修改网页脚本使网页中播放的文件跳转到相应页面。 进一步的, 本实施例的多端同步播放文件的装置还包括: 第二网络连接模 块 230, 用于建立所述装置与服务器的通信连接。
本发明还提供了一种多端同步播放文件的系统的实施例,所述多端同步播 放文件的系统包括第一终端、 第二终端, 所述第一终端包括: 文件上传模块和 页码上报模块, 所述第二终端包括地址识别模块和同步控制模块。各模块如上 述实施例所述, 不作赘述。
所述第一终端还包括第一网络连接模块,所述第二终端还包括第二网络连 接模块, 第一网络连接模块用于建立第一终端与服务器的通信连接, 第二网络 连接模块用于建立第二终端与服务器的通信连接。
可以理解的是, 所述第一终端可为手机、 电脑、 平板等智能终端, 所述第 二终端可为手机、 平板等可支持信息码扫描的智能终端。 并且所述第二终端的 需要说明的是, 上述示例的多端同步播放文件的系统的实施方式中, 各模 块 /单元之间的信息交互、 执行过程等内容, 由于与本发明前述方法实施例基 于同一构思, 其带来的技术效果与本发明前述方法实施例相同, 具体内容可参 见本发明方法实施例中的叙述, 此处不再赘述。
此外, 上述示例的多端同步播放文件的系统的实施方式中, 各功能模块的 逻辑划分仅是举例说明, 实际应用中可以根据需要, 例如出于相应硬件的配置 要求或者软件的实现的便利考虑, 将上述功能分配由不同的功能模块完成, 即 将所述多端同步播放文件的系统的内部结构划分成不同的功能模块, 以完成以 上描述的全部或者部分功能。
另外, 上述示例的多端同步播放文件的系统的实施方式中, 各功能模块可 以集成在一个处理模块中, 也可以是各个模块单独物理存在, 也可以两个或两 个以上模块集成在一个模块中。 上述集成的模块既可以采用硬件的形式实现, 也可以采用软件功能模块的形式实现。
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 本领域普通技术人员可 以理解本发明的任意实施例指定的方法的全部或部分步骤是可以通过程序来 指令相关的硬件 (个人计算机、 服务器、 或者网络设备等)来完成。 该程序可以 存储于一计算机可读存储介质中。 该程序在执行时, 可执行上述任意实施例指 定的方法的全部或部分步骤。前述存储介质可以包括任何可以存储程序代码的 介质,例如只读存储器 (Read-Only Memory, ROM),随机存取器 (Random Access Memory, RAM), 磁盘或光盘等。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有详 述的部分,可以参见其它实施例的相关描述。可以理解,其中所使用的术语"第 一"、 "第二 "等在本文中用于描述不同终端对象, 但这些终端对象不受这些术 语限制。 例如, 在不脱离本发明的范围的情况下, 可以将第一终端称为第二终 端, 将第二终端称为第一终端。
以上所述实施例仅表达了本发明的几种实施方式, 不能理解为对本发明专 利范围的限制。 应当指出的是, 对于本领域的普通技术人员来说, 在不脱离本 发明构思的前提下, 还可以做出若干变形和改进, 这些都属于本发明的保护范 围。 因此, 本发明专利的保护范围应以所附权利要求为准。

Claims

权利要求书
1、 一种多端同步播放文件的方法, 其特征在于, 包括:
将待播放的文件上传至服务器, 并生成文件地址对应的信息码, 以便第二 终端通过扫描所述信息码打开所述文件地址对应的网页;
播放所述文件的过程中, 获取当前播放页码并发送至所述服务器, 以便所 述第二终端根据所述服务器存储的播放页码使所述网页中播放的文件跳转到 相应页面。
2、 根据权利要求 1所述的多端同步播放文件的方法, 其特征在于, 所述 信息码包括二维码;
所述将待播放的文件上传至服务器之前还包括:建立与服务器的通信连接; 所述获取当前播放页码并发送至所述服务器包括:
按照设定时间周期获取当前播放页码,并将所述当前播放页码发送至所述 服务器, 以用所述当前播放页码更新所述服务器存储的播放页码;
或者, 当检测到文件播放翻页时, 获取翻页后的页码作为当前播放页码, 并将所述当前播放页码发送至所述服务器, 以用所述当前播放页码更新所述服 务器存储的播放页码;
所述将待播放的文件上传至服务器,并生成文件地址对应的信息码,包括: 将待播放的文件的每一页分别生成对应的图片,并为各图片分配一标号以 标识其对应的文件页码;
上传所述文件对应的全部图片及其标号至服务器的一目录地址下,将所述 目录地址下的图片按标号顺序组织生成对应的网页,并生成网页地址对应的信 息码。
3、 一种多端同步播放文件的方法, 其特征在于, 包括:
扫描信息码得到第一终端播放的文件在服务器中的文件地址,打开所述文 件地址对应的网页;
获取所述服务器存储的播放页码,根据所述播放页码使所述网页中播放的 文件跳转到相应页面;所述播放页码为所述第一终端播放所述文件的当前播放 页码。
4、 根据权利要求 3所述的多端同步播放文件的方法, 其特征在于, 所述 信息码包括二维码;
所述扫描信息码得到第一终端播放的文件在服务器中的文件地址之前还 包括: 建立与服务器的通信连接;
所述扫描信息码得到第一终端播放的文件在服务器中的文件地址,打开所 述文件地址对应的网页, 包括:
扫描信息码得到第一终端播放的文件在服务器中对应的网页地址,通过浏 览器打开所述网页地址对应的网页。
5、 根据权利要求 3所述的多端同步播放文件的方法, 其特征在于, 所述扫描信息码得到第一终端播放的文件在服务器中的文件地址,打开所 述文件地址对应的网页包括:
通过任意支持所述信息码扫描的工具扫描所述信息码,识别出所述信息码 对应的第一终端播放的文件在服务器中的文件地址,并启动浏览器打开所述文 件地址对应的网页;
所述获取所述服务器存储的播放页码包括:
按照设定时间间隔通过所述网页向所述服务器查询播放页码;
或者, 当检测到所述服务器存储的播放页码发生更新时, 接收所述服务器 发送的更新后的播放页码;
所述根据所述播放页码使所述网页中播放的文件跳转到相应页面包括: 确定所述播放页码与所述网页中播放的文件的当前页码不相同,通过修改 网页脚本使网页中播放的文件跳转到相应页面。
6、 一种多端同步播放文件的装置, 其特征在于, 包括:
文件上传模块, 用于将待播放的文件上传至服务器, 并生成文件地址对应 的信息码, 以便第二终端通过扫描所述信息码打开所述文件地址对应的网页; 页码上报模块, 用于在播放所述文件的过程中, 获取当前播放页码并发送 至所述服务器, 以便所述第二终端根据所述服务器存储的播放页码使所述网页 中播放的文件跳转到相应页面。
7、 根据权利要求 6所述的多端同步播放文件的装置, 其特征在于, 所述 信息码包括二维码;
所述多端同步播放文件的装置还包括: 第一网络连接模块, 用于建立与服 务器的通信连接;
所述获取当前播放页码并发送至所述服务器包括:
按照设定时间周期获取当前播放页码,并将所述当前播放页码发送至所述 服务器, 以用所述当前播放页码更新所述服务器存储的播放页码;
或者, 当检测到文件播放翻页时, 获取翻页后的页码作为当前播放页码, 并将所述当前播放页码发送至所述服务器, 以用所述当前播放页码更新所述服 务器存储的播放页码;
所述文件上传模块包括:
图片转换单元, 用于将待播放的文件的每一页分别生成对应的图片, 并为 各图片分配一标号以标识其对应的文件页码;
上传单元,用于上传所述文件对应的全部图片及其标号至服务器的一目录 地址下;
以及, 网页生成单元, 用于将所述目录地址下的图片按标号顺序组织生成 对应的网页, 并生成网页地址对应的信息码。
8、 一种多端同步播放文件的装置, 其特征在于, 包括:
地址识别模块,用于扫描信息码得到第一终端播放的文件在服务器中的文 件地址, 打开所述文件地址对应的网页;
同步控制模块, 用于获取所述服务器存储的播放页码, 根据所述播放页码 使所述网页中播放的文件跳转到相应页面;所述播放页码为所述第一终端播放 所述文件的当前播放页码。
9、 根据权利要求 8所述的多端同步播放文件的装置, 其特征在于, 所述 信息码包括二维码;
所述多端同步播放文件的装置还包括: 第二网络连接模块, 用于建立与服 务器的通信连接;
所述地址识别模块包括:
扫描识别单元,用于扫描信息码得到第一终端播放的文件在服务器中对应 的网页地址;
以及, 网页显示单元, 用于通过浏览器打开所述网页地址对应的网页。
10、 根据权利要求 8所述的多端同步播放文件的装置, 其特征在于, 所述地址识别模块,用于通过任意支持所述信息码扫描的工具扫描所述信 息码, 识别出所述信息码对应的第一终端播放的文件在服务器中的文件地址, 并启动浏览器打开所述文件地址对应的网页;
所述同步控制模块包括:
页码获取单元,用于按照设定时间间隔通过所述网页向所述服务器查询播 放页码; 或者, 当检测到所述服务器存储的播放页码发生更新时, 接收所述服 务器发送的更新后的播放页码;
跳转控制单元, 用于确定所述播放页码与所述网页中播放的文件的当前页 码不相同, 通过修改网页脚本使网页中播放的文件跳转到相应页面。
PCT/CN2016/090749 2015-12-21 2016-07-20 多端同步播放文件的方法和装置 WO2017107476A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510973930.XA CN105653597A (zh) 2015-12-21 2015-12-21 多端同步播放文件的方法和装置
CN201510973930.X 2015-12-21

Publications (1)

Publication Number Publication Date
WO2017107476A1 true WO2017107476A1 (zh) 2017-06-29

Family

ID=56477829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090749 WO2017107476A1 (zh) 2015-12-21 2016-07-20 多端同步播放文件的方法和装置

Country Status (2)

Country Link
CN (1) CN105653597A (zh)
WO (1) WO2017107476A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653597A (zh) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 多端同步播放文件的方法和装置
CN107153675B (zh) * 2017-04-07 2020-03-06 广州视源电子科技股份有限公司 网页的访问方法和系统以及网页信息的传输方法
CN107943440A (zh) * 2017-11-14 2018-04-20 北京易信掌中云科技有限公司 一种文档跟读方法及系统
CN108108139B (zh) * 2017-12-19 2021-12-21 广州敬信药草园信息科技有限公司 一种云会议的投屏接入方法
CN109933382B (zh) * 2019-03-11 2022-08-12 安徽志辉教育科技有限公司 基于owa服务的在线ppt文件预览工具
CN112506462B (zh) * 2021-01-29 2021-06-01 深圳乐播科技有限公司 文档投屏方法及系统
CN113157656A (zh) * 2021-04-09 2021-07-23 宋彦震 基于在线直播的多终端文档页码同步分发显示的控制方法
CN115079880A (zh) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 信息码展示方法、装置、终端设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177377A (zh) * 2012-10-22 2013-06-26 任明和 二维码应用的云端架构系统
CN104394200A (zh) * 2014-11-06 2015-03-04 北京安奇智联科技有限公司 用于在移动设备和web终端之间进行同步预览显示的方法
US20150269565A1 (en) * 2014-03-24 2015-09-24 Cellum Innovacios es Szolgaltato Zrt. Systems and methods for an issuer certified card
CN105653597A (zh) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 多端同步播放文件的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177377A (zh) * 2012-10-22 2013-06-26 任明和 二维码应用的云端架构系统
US20150269565A1 (en) * 2014-03-24 2015-09-24 Cellum Innovacios es Szolgaltato Zrt. Systems and methods for an issuer certified card
CN104394200A (zh) * 2014-11-06 2015-03-04 北京安奇智联科技有限公司 用于在移动设备和web终端之间进行同步预览显示的方法
CN105653597A (zh) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 多端同步播放文件的方法和装置

Also Published As

Publication number Publication date
CN105653597A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017107476A1 (zh) 多端同步播放文件的方法和装置
US9925465B2 (en) Game accessing method and processing method, server, terminal, and system
WO2019056610A1 (zh) 一种会议记录分享的方法、装置、会议终端和存储介质
US10083281B2 (en) Terminal device and information processing system for implementing screen sharing process based on user role
US20160379597A1 (en) Terminal apparatus, screen recording method, program, and information processing system
WO2018196733A1 (zh) 数据分享方法及装置、存储介质和电子装置
TW201030616A (en) Synchronizing presentation states between multiple applications
CN106909603A (zh) 搜索信息处理方法及装置
US10296514B2 (en) Information processing system, method for acquiring information, information processing apparatus and recording medium
CN104320417A (zh) 移动终端和web终端之间互连及流传输和流媒体播放的方法
WO2018095219A1 (zh) 媒体信息处理方法和装置
JP6485935B1 (ja) オンラインコミュニケーションのレビューシステム、方法、及びコンピュータプログラム
CN104320491A (zh) 用于在移动设备和web终端之间进行同步显示的方法
WO2012159315A1 (zh) 显示图片的方法、装置和系统
CN107734364B (zh) 投影仪控制方法、系统及计算机可读存储介质
CN112347401A (zh) 房屋同屏带看方法、系统、装置及计算机可读存储介质
JP2018032096A (ja) 情報処理装置、情報処理方法、プログラム、および、情報処理システム
CN112817671A (zh) 图像处理方法、装置、设备以及计算机可读存储介质
US20120182981A1 (en) Terminal and method for synchronization
US11237854B2 (en) Providing a virtual desktop within a computing environment
WO2024092008A1 (en) Interactions with objects within video layers of a video conference
US20150149586A1 (en) Information processing apparatus, information processing method, and information processing system
WO2023202721A1 (zh) 文件传输方法、装置、电子设备和存储介质
US10887551B2 (en) Information processing apparatus, information processing system and information processing method
US10904026B2 (en) Information processing apparatus, information processing system, and information processing method

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: 16877288

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: 16877288

Country of ref document: EP

Kind code of ref document: A1