WO2022166100A1 - Multi-person synchronous document sharing and viewing method, and processing terminal - Google Patents

Multi-person synchronous document sharing and viewing method, and processing terminal Download PDF

Info

Publication number
WO2022166100A1
WO2022166100A1 PCT/CN2021/104541 CN2021104541W WO2022166100A1 WO 2022166100 A1 WO2022166100 A1 WO 2022166100A1 CN 2021104541 W CN2021104541 W CN 2021104541W WO 2022166100 A1 WO2022166100 A1 WO 2022166100A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
client
browsing
sharing
local client
Prior art date
Application number
PCT/CN2021/104541
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 WO2022166100A1 publication Critical patent/WO2022166100A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Definitions

  • the invention relates to the technical field of synchronous sharing and browsing of electronic documents, in particular to a method and a processing terminal for synchronous sharing and browsing of documents for multiple people.
  • an electronic conference such as an online video conference
  • the presenter needs to share the document of the speech (such as a report document in PDF format) to the participants for simultaneous browsing, it is usually achieved by video streaming or live streaming.
  • the video stream data is formed after taking a video of the shared document and then distributed to all participants in each sub-venue, so as to achieve the purpose of synchronously sharing and browsing the document.
  • the video codec has high requirements on the performance of the server, network bandwidth, and terminal (such as a tablet).
  • the network it can simultaneously support the terminal (corresponding to the participants) synchronously share the number of browsing Limited, even in a local area network, the number of terminals that can be online at the same time has a certain limit.
  • one of the objects of the present invention provides a multi-person synchronous sharing browsing method for documents, which can solve the problem of efficiently loading documents to be shared for browsing;
  • the second object of the present invention is to provide a processing terminal, which can solve the problem of efficiently loading browsing documents to be shared.
  • a technical solution for realizing one of the objects of the present invention is: a method for synchronizing and sharing browsing of documents for multiple people, comprising the following steps:
  • Step 1 Receive a request for synchronous sharing and browsing of documents initiated by the first client. After receiving the request, if the local client has a document to be synchronously shared and browsed, step 2 is performed. If there is no document to be synchronously shared on the local client For a browsed document, download the document to be synchronously shared and browsed, wherein the request data package of the document to be synchronously shared and browsed includes at least the screen resolution of the first client;
  • Step 2 If the screen resolution of the local client is the same as the screen resolution of the first client, step 3 is directly executed; The document processed in this step can be adapted to the local client for display;
  • Step 3 Convert the document obtained in Step 2 into a bitmap file, abbreviate the bitmap file to obtain a thumbnail bitmap file, and divide the abbreviated bitmap file into several pieces according to pixels. It is distributed in an array, and each shard block distributed in an array displays the content of different positions of the document;
  • Step 4 According to the document content to be displayed on the first client, the local client reads out the document content at the same location, and displays the corresponding shards on the local client, so as to achieve the effect of synchronous shared browsing.
  • the local client downloads the document to be synchronously shared and browsed from the server, and the server delivers the document to be synchronously shared and browsed to the first client and all local clients.
  • the offset is processed according to formula 1:
  • width 0 represents the width of the first client display view
  • height 0 represents the height of the first client display view
  • width represents the width of the local client display view
  • Y represents the calculation result of the vertical offset of the local client document
  • Y 0 represents The vertical offset of the first client document.
  • the pixel of the thumbnail bitmap file is a times of the original bitmap file, 0 ⁇ a ⁇ 1.
  • a separate space storage queue is preset for the fragmented blocks, and all the fragmented blocks are stored in the space storage queue.
  • step 4 it also includes:
  • the sliding direction is determined, and the shard blocks rendered in the head and tail parts of the document in the sliding direction are recycled and not displayed, and the shard blocks not involved in the sliding are reused.
  • a processing terminal which includes:
  • the processor is configured to run the program instructions to execute the steps of the method for synchronously sharing and browsing the document by multiple people.
  • the beneficial effects of the present invention are: compared with traditional video streaming document browsing on the same screen, the present invention can effectively reduce the consumption of CPU and other hardware resources and network bandwidth requirements, and at the same time, can load and render document pictures more quickly, and improve the document sharing and browsing experience.
  • Fig. 1 is the document browsing interface that the first client is forwarding the lecture
  • Fig. 2 is the browsing interface of synchronously sharing browsing the same document as the first client;
  • Fig. 3 is the schematic flow chart of the preferred embodiment
  • FIG. 4 is a schematic diagram of a processing terminal.
  • a method for synchronously sharing and browsing a document for multiple people includes the following steps:
  • Step 1 Receive a request for synchronous shared browsing of documents initiated by the first client. After receiving the request, if there is a document to be synchronously shared and browsed on the local client, step 2 is performed and the response document synchronous shared browsing is started. If If there is no document to be shared and browsed by synchronization on the local client, the document to be shared and browsed by synchronization is downloaded from the server, and the server can deliver the document to all local clients.
  • the request data package for synchronous shared browsing of documents includes information such as the document identification number, current page number, page magnification, document offset, and annotation content of the document currently opened in the first client, and the first client end screen resolution.
  • Step 2 If the screen resolution of the local client is the same as the screen resolution of the first client, step 3 is directly executed;
  • the document processed in this step can be adapted to the local client for display.
  • the screen size ratio conversion includes the conversion of offset coordinate points, cursor, and brush size.
  • the brush refers to the virtual brush used for annotation and presentation in the document. The curves in Figures 1 and 2 were drawn with a brush.
  • the offset is processed according to formula 1:
  • width 0 represents the width of the display view of the first client
  • height 0 represents the height of the display view of the first client
  • width 0 *height 0 also represents the screen resolution of the local client.
  • width represents the width of the local client display view
  • Y represents the calculation result of the vertical offset of the local client document
  • Y 0 represents the vertical offset of the first client document.
  • the local client as the receiving end responds to different operations according to different received requests, so as to realize the effect of synchronous shared browsing between the local client and the first client, which is equivalent to realizing the effect of browsing on the same screen.
  • the data packets transmitted in this process are text data packets, which replace the data packets of streaming media (ie, video streams), reducing the dependence on network bandwidth, and in the entire data distribution and processing process, text data processing is compared to video data.
  • the processing of stream encoding and decoding greatly reduces the consumption of CPU and memory.
  • Step 3 Convert the above-processed document into a bitmap file, and abbreviate the bitmap to obtain a thumbnail bitmap file.
  • the pixels of the thumbnail bitmap file are preferably 20% of the original bitmap file, and the thumbnail
  • the thumbnail bitmap file is divided into several slice blocks according to pixels, each slice block is an array, and each slice block in the array displays the content of different positions of the document. For example, a 1000*1000 pixel thumbnail bitmap file is divided into a 5*5 array with a total of 25 slice blocks, and the pixels of each slice block are 200*200.
  • the local client will open up a separate space storage queue for these shard blocks, all shard blocks are stored in the space storage queue, and a maximum of 128 shard blocks can be stored. And mark each shard block. Assuming that there are 25 shard blocks in total, the lower marks are 0-24 in sequence.
  • the 0 shard block is rendered, the 0 shard block will be placed on the local client. For display, because there is no need to render and display all 25 shards, the rendering time only needs 1/25 of the original.
  • the shard block No. 1 is rendered, the shard block No. 1 is displayed on the local client, and so on until all the shard blocks are rendered, visible, and the displayed sequence is from left to right, from The temperature contents are clearly displayed in sequence from top to bottom.
  • Step 4 According to the document content to be displayed on the first client, the local client reads out the document content at the same location, and displays the corresponding shards on the local client, so as to achieve the effect of synchronous shared browsing.
  • Step 5 After performing Step 4, it also includes:
  • the sliding direction is determined, and the shard blocks rendered in the head and tail parts of the document in the sliding direction are recycled and not displayed, and the shard blocks that are not involved in the sliding are reused. For example, if the size of a shard block is not reached by sliding up, another storage space will be allocated, and 5 shard blocks will be rendered downward, and the 5 shard blocks will be stored in the newly allocated storage space and placed in the displayed on the local client. When sliding up to the size of a shard block, the top 5 shard blocks are removed from the storage queue, and the reverse slide (that is, sliding down) will recycle the last 5 shard blocks for rendering. And so on.
  • FIG. 1 is a document browsing interface where the first client is forwarding a lecture, and operations such as annotation can be performed.
  • Fig. 2 is a browsing interface for synchronously sharing and browsing the same document as the first client, and synchronously displays the content of the document currently opened by the first client, and synchronously displays the annotation content in real time, such as each curve drawn in the figure and the " ⁇ " annotation.
  • the present invention also relates to a processing terminal 100, which includes:
  • the processor 102 is configured to run the program instructions to execute the steps of the method for synchronously sharing and browsing a document for multiple people.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A multi-person synchronous document sharing and viewing method, and a processing terminal. The method comprises: receiving a synchronous document sharing and viewing request, and downloading a document if there is no document; determining whether the screen resolution of a local client is consistent with the screen resolution of a first client, and if not, processing the document such that the document processed in this step can be adapted to the local client for display; converting the document into a bitmap file and reducing the document to obtain a thumbnail bitmap file, and dividing the thumbnail bitmap file into a plurality of blocks by pixels; reading and displaying the document content on the corresponding blocks for synchronous sharing and viewing; and determining a sliding direction, recycling and not displaying the blocks rendered in the head and tail of the document in the sliding direction, and reusing the blocks which are not involved in the sliding operation. The method effectively reduces resource consumption of hardware such as CPU, and reduces network bandwidth requirements. The rendered document image can be loaded more quickly, and the document sharing and viewing experience is improved.

Description

一种文档多人同步共享浏览方法及处理终端A document multi-person synchronous sharing browsing method and processing terminal 技术领域technical field
本发明涉及电子文档同步共享浏览技术领域,具体涉及一种文档多人同步共享浏览方法及处理终端。The invention relates to the technical field of synchronous sharing and browsing of electronic documents, in particular to a method and a processing terminal for synchronous sharing and browsing of documents for multiple people.
背景技术Background technique
在电子会议(如线上视频会议)中,若主讲人需要将演讲的文档(例如PDF格式的报告文档)共享给与会人员同步浏览,通常是通过视频流或直播流的方式来达到同步共享浏览,也即通过对待分享文档拍视频后形成视频流数据后下发给各个分会场的所有与会人员,达到同步共享浏览文档的目的。但无论是直播流还是视频流,视频编解码对服务器、网络带宽、终端(例如平板)的性能都存在很高要求,对于网络而言,其能够同时支持终端(对应与会人员)同步共享浏览数量有限,即使是在局域网下,其同时在线的终端数量也有一定的限制。In an electronic conference (such as an online video conference), if the presenter needs to share the document of the speech (such as a report document in PDF format) to the participants for simultaneous browsing, it is usually achieved by video streaming or live streaming. , that is, the video stream data is formed after taking a video of the shared document and then distributed to all participants in each sub-venue, so as to achieve the purpose of synchronously sharing and browsing the document. However, whether it is a live stream or a video stream, the video codec has high requirements on the performance of the server, network bandwidth, and terminal (such as a tablet). For the network, it can simultaneously support the terminal (corresponding to the participants) synchronously share the number of browsing Limited, even in a local area network, the number of terminals that can be online at the same time has a certain limit.
另外,在使用手机或平板终端而言,以安卓系统的手机为例,当需要加载分辨率较大的图片时,图片从模糊到清晰的渲染整个过程的平均渲染时间大约需要0.5-2秒之间,当然会受手机硬件性能配置而上下浮动。对于用户而言,这样的渲染耗时其实较长,给用户体验感并不太好。In addition, when using a mobile phone or tablet terminal, taking an Android phone as an example, when a picture with a larger resolution needs to be loaded, the average rendering time of the entire process from blurring to clear rendering takes about 0.5-2 seconds. Of course, it will fluctuate up and down by the hardware performance configuration of the mobile phone. For users, such rendering actually takes a long time, and the user experience is not very good.
综上两方面考虑,希望能够具有不依赖于视频流且加载文档(图片)耗时较短的文档共享方法。In view of the above two aspects, it is desirable to have a document sharing method that does not depend on video streams and takes less time to load documents (pictures).
发明内容SUMMARY OF THE INVENTION
针对现有技术的不足,本发明的目的之一提供一种文档多人同步 共享浏览方法,其能够解决高效加载待共享浏览文档的问题;In view of the deficiencies of the prior art, one of the objects of the present invention provides a multi-person synchronous sharing browsing method for documents, which can solve the problem of efficiently loading documents to be shared for browsing;
本发明的目的之二提供一种处理终端,其能够解决高效加载待共享浏览文档的问题。The second object of the present invention is to provide a processing terminal, which can solve the problem of efficiently loading browsing documents to be shared.
实现本发明的目的之一的技术方案为:一种文档多人同步共享浏览方法,包括如下步骤:A technical solution for realizing one of the objects of the present invention is: a method for synchronizing and sharing browsing of documents for multiple people, comprising the following steps:
步骤1:接收由第一客户端发起的文档同步共享浏览的请求,接收到该请求后,若本地客户端存在待同步共享浏览的文档,则执行步骤2,若本地客户端不存在待同步共享浏览的文档,则下载待同步共享浏览的文档,其中,文档同步共享浏览的请求数据包至少包括第一客户端的屏幕分辨率;Step 1: Receive a request for synchronous sharing and browsing of documents initiated by the first client. After receiving the request, if the local client has a document to be synchronously shared and browsed, step 2 is performed. If there is no document to be synchronously shared on the local client For a browsed document, download the document to be synchronously shared and browsed, wherein the request data package of the document to be synchronously shared and browsed includes at least the screen resolution of the first client;
步骤2:若本地客户端的屏幕分辨率与第一客户端的屏幕分辨率一致,则直接执行步骤3,否则对所述文档进行偏移量处理和屏幕尺寸比例转换后再执行步骤3,以使得经本步骤处理后的文档能够适配本地客户端进行显示;Step 2: If the screen resolution of the local client is the same as the screen resolution of the first client, step 3 is directly executed; The document processed in this step can be adapted to the local client for display;
步骤3:将经过步骤2得到的文档转换成位图文件,对位图文件进行缩略,得到缩略位图文件,并将缩略位图文件按像素分成若干分片块,各个分片块呈阵列分布,呈阵列分布的各个分片块显示文档不同位置的内容;Step 3: Convert the document obtained in Step 2 into a bitmap file, abbreviate the bitmap file to obtain a thumbnail bitmap file, and divide the abbreviated bitmap file into several pieces according to pixels. It is distributed in an array, and each shard block distributed in an array displays the content of different positions of the document;
步骤4:根据在第一客户端所需显示的文档内容,在本地客户端读取出相同位置的文档内容,将对应的分片块显示在本地客户端,从而达到同步共享浏览的效果。Step 4: According to the document content to be displayed on the first client, the local client reads out the document content at the same location, and displays the corresponding shards on the local client, so as to achieve the effect of synchronous shared browsing.
进一步地,所述步骤1中,本地客户端从服务器下载待同步共享 浏览的文档,服务器将待同步共享浏览的文档下发给第一客户端和所有本地客户端。Further, in the step 1, the local client downloads the document to be synchronously shared and browsed from the server, and the server delivers the document to be synchronously shared and browsed to the first client and all local clients.
进一步地,所述步骤2中,按公式①进行偏移量处理:Further, in the step 2, the offset is processed according to formula ①:
Figure PCTCN2021104541-appb-000001
Figure PCTCN2021104541-appb-000001
式中,width 0表示第一客户端显示视图宽度,height 0表示第一客户端显示视图高度,width表示本地客户端显示视图宽度,Y表示本地客户端文档垂直偏移量计算结果,Y 0表示第一客户端文档垂直偏移量。 In the formula, width 0 represents the width of the first client display view, height 0 represents the height of the first client display view, width represents the width of the local client display view, Y represents the calculation result of the vertical offset of the local client document, and Y 0 represents The vertical offset of the first client document.
进一步地,所述步骤3中,缩略位图文件的像素为原先位图文件的a倍,0<a<1。Further, in the step 3, the pixel of the thumbnail bitmap file is a times of the original bitmap file, 0<a<1.
进一步地,所述步骤3中,为分片块预设一个单独的空间存储队列,所有分片块存储在空间存储队列中。Further, in the step 3, a separate space storage queue is preset for the fragmented blocks, and all the fragmented blocks are stored in the space storage queue.
进一步地,在执行完步骤4之后,还包括:Further, after performing step 4, it also includes:
当接收到对文档进行滑动操作指令时,判断滑动方向,并对滑动方向文档的头尾部分渲染的分片块回收不显示,而对于滑动未涉及到的分片块则进行复用。When receiving a sliding operation instruction on the document, the sliding direction is determined, and the shard blocks rendered in the head and tail parts of the document in the sliding direction are recycled and not displayed, and the shard blocks not involved in the sliding are reused.
实现本发明的目的之二的技术方案为:一种处理终端,其包括:The technical solution for realizing the second object of the present invention is: a processing terminal, which includes:
存储器,用于存储程序指令;memory for storing program instructions;
处理器,用于运行所述程序指令,以执行所述文档多人同步共享浏览方法的步骤。The processor is configured to run the program instructions to execute the steps of the method for synchronously sharing and browsing the document by multiple people.
本发明的有益效果为:本发明相比于传统视频流文档同屏浏览,可以有效降低对CPU等硬件资源消耗和网络带宽需求,同时能够更快速地加载渲染文档图片,提高文档共享浏览体验。The beneficial effects of the present invention are: compared with traditional video streaming document browsing on the same screen, the present invention can effectively reduce the consumption of CPU and other hardware resources and network bandwidth requirements, and at the same time, can load and render document pictures more quickly, and improve the document sharing and browsing experience.
附图说明Description of drawings
图1是第一客户端正转发起主讲的文档浏览界面;Fig. 1 is the document browsing interface that the first client is forwarding the lecture;
图2是同步共享浏览与第一客户端相同的文档的浏览界面;Fig. 2 is the browsing interface of synchronously sharing browsing the same document as the first client;
图3为较佳实施例的流程示意图;Fig. 3 is the schematic flow chart of the preferred embodiment;
图4为处理终端的示意图。FIG. 4 is a schematic diagram of a processing terminal.
具体实施方式Detailed ways
下面,结合附图以及具体实施方案,对本发明做进一步描述。Hereinafter, the present invention will be further described with reference to the accompanying drawings and specific embodiments.
如图1-图3所示,一种文档多人同步共享浏览方法,包括如下步骤:As shown in Figures 1-3, a method for synchronously sharing and browsing a document for multiple people includes the following steps:
步骤1:接收由第一客户端发起的文档同步共享浏览的请求,接收到该请求后,若本地客户端存在待同步共享浏览的文档,则执行步骤2并开始进入响应文档同步共享浏览,若本地客户端不存在待同步共享浏览的文档,则从服务器下载待同步共享浏览的文档,服务器可以向所有的本地客户端下发文档。其中,文档同步共享浏览的请求数据包中包含在第一客户端内当前打开所述文档的文档标识号、当前页码、页面放大倍率、文档偏移量和批注内容等信息,还包括第一客户端的屏幕分辨率。Step 1: Receive a request for synchronous shared browsing of documents initiated by the first client. After receiving the request, if there is a document to be synchronously shared and browsed on the local client, step 2 is performed and the response document synchronous shared browsing is started. If If there is no document to be shared and browsed by synchronization on the local client, the document to be shared and browsed by synchronization is downloaded from the server, and the server can deliver the document to all local clients. The request data package for synchronous shared browsing of documents includes information such as the document identification number, current page number, page magnification, document offset, and annotation content of the document currently opened in the first client, and the first client end screen resolution.
步骤2:若本地客户端的屏幕分辨率与第一客户端的屏幕分辨率一致,则直接执行步骤3,否则对所述文档进行偏移量处理和屏幕尺寸比例转换后再执行步骤3,以使得经本步骤处理后的文档能够适配本地客户端进行显示。屏幕尺寸比例转换包括偏移坐标点、光标、画笔大小的换算,画笔是指在文档中进行批注演示用的使用的虚拟画笔。 图1和图2中的曲线即是用画笔画出来的。Step 2: If the screen resolution of the local client is the same as the screen resolution of the first client, step 3 is directly executed; The document processed in this step can be adapted to the local client for display. The screen size ratio conversion includes the conversion of offset coordinate points, cursor, and brush size. The brush refers to the virtual brush used for annotation and presentation in the document. The curves in Figures 1 and 2 were drawn with a brush.
其中,按公式①进行偏移量处理:Among them, the offset is processed according to formula ①:
Figure PCTCN2021104541-appb-000002
Figure PCTCN2021104541-appb-000002
式中,width 0表示第一客户端显示视图宽度,height 0表示第一客户端显示视图高度,width 0*height 0也即表示本地客户的屏幕分辨率。width表示本地客户端显示视图宽度,Y表示本地客户端文档垂直偏移量计算结果,Y 0表示第一客户端文档垂直偏移量。 In the formula, width 0 represents the width of the display view of the first client, height 0 represents the height of the display view of the first client, and width 0 *height 0 also represents the screen resolution of the local client. width represents the width of the local client display view, Y represents the calculation result of the vertical offset of the local client document, and Y 0 represents the vertical offset of the first client document.
本步骤中,作为接收端的本地客户端根据接收到的不同请求响应不同的操作,实现本地客户端和第一客户端同步共享浏览的效果,相当于实现同屏浏览的效果。在此过程中所传输的数据包为文本数据包,替代流媒体(即视频流)的数据包,降低了网络带宽的依赖,并且在整个数据分发和处理过程中,文本数据处理相比于视频流编解码的处理,极大降低了对CPU、内存的消耗。In this step, the local client as the receiving end responds to different operations according to different received requests, so as to realize the effect of synchronous shared browsing between the local client and the first client, which is equivalent to realizing the effect of browsing on the same screen. The data packets transmitted in this process are text data packets, which replace the data packets of streaming media (ie, video streams), reducing the dependence on network bandwidth, and in the entire data distribution and processing process, text data processing is compared to video data. The processing of stream encoding and decoding greatly reduces the consumption of CPU and memory.
步骤3:对经过上述处理后的文档转换成位图文件,对位图进行缩略,得到缩略位图文件,缩略位图文件的像素优选为原先位图文件的20%,并将缩略位图文件按像素分成若干分片块,各个分片块呈阵列,呈阵列的各个分片块显示文档不同位置的内容。例如,将一个1000*1000像素的缩略位图文件分成5*5阵列共25个分片块,每个分片块的像素为200*200。Step 3: Convert the above-processed document into a bitmap file, and abbreviate the bitmap to obtain a thumbnail bitmap file. The pixels of the thumbnail bitmap file are preferably 20% of the original bitmap file, and the thumbnail The thumbnail bitmap file is divided into several slice blocks according to pixels, each slice block is an array, and each slice block in the array displays the content of different positions of the document. For example, a 1000*1000 pixel thumbnail bitmap file is divided into a 5*5 array with a total of 25 slice blocks, and the pixels of each slice block are 200*200.
其中,本地客户端将为这些分片块开辟一个单独的空间存储队列,所有分片块存储在空间存储队列中,最大可支持存储128个分片块。并对每个分片块进行标记,假设共有25个分片块,则下标记依次为 0-24号,当0号分片块渲染完成时,则将0号分片块在本地客户端上进行显示,因不需要将25个分片块均进行渲染显示,渲染时间只需要原来的1/25。同样的,当1号分片块被渲染完成时,1号分片块显示在本地客户端上,以此类推直至到将所有分片块渲染完成,可见,显示的序列从左到右、从上到下将温度内容依次清晰显示。Among them, the local client will open up a separate space storage queue for these shard blocks, all shard blocks are stored in the space storage queue, and a maximum of 128 shard blocks can be stored. And mark each shard block. Assuming that there are 25 shard blocks in total, the lower marks are 0-24 in sequence. When the 0 shard block is rendered, the 0 shard block will be placed on the local client. For display, because there is no need to render and display all 25 shards, the rendering time only needs 1/25 of the original. Similarly, when the shard block No. 1 is rendered, the shard block No. 1 is displayed on the local client, and so on until all the shard blocks are rendered, visible, and the displayed sequence is from left to right, from The temperature contents are clearly displayed in sequence from top to bottom.
步骤4:根据在第一客户端所需显示的文档内容,在本地客户读取出相同位置的文档内容,将对应的分片块显示在本地客户端,从而达到同步共享浏览的效果。Step 4: According to the document content to be displayed on the first client, the local client reads out the document content at the same location, and displays the corresponding shards on the local client, so as to achieve the effect of synchronous shared browsing.
步骤5:在执行完步骤4之后,还包括:Step 5: After performing Step 4, it also includes:
当接收到对文档进行滑动操作指令时,判断滑动方向,并对滑动方向文档的头尾部分渲染的分片块回收不显示,而对于没有滑动涉及到的分片块则进行复用。例如,向上滑动未达到一个分片块大小,则开始另外分配一个存储空间,并向下多渲染出5个分片块,将此5个分片块存入新分配出的存储空间内并在本地客户端上显示出来。而当向上滑达到一个分片块大小,则排在前5个的分片块移除出存储队列,反向滑动(即向下滑动)则回收排在最后5个的分片块进行渲染,依次类推。When receiving a sliding operation instruction on the document, the sliding direction is determined, and the shard blocks rendered in the head and tail parts of the document in the sliding direction are recycled and not displayed, and the shard blocks that are not involved in the sliding are reused. For example, if the size of a shard block is not reached by sliding up, another storage space will be allocated, and 5 shard blocks will be rendered downward, and the 5 shard blocks will be stored in the newly allocated storage space and placed in the displayed on the local client. When sliding up to the size of a shard block, the top 5 shard blocks are removed from the storage queue, and the reverse slide (that is, sliding down) will recycle the last 5 shard blocks for rendering. And so on.
图1是第一客户端正转发起主讲的文档浏览界面,可以进行批注等操作。图2是同步共享浏览与第一客户端相同的文档的浏览界面,并同步显示第一客户端当前打开的文档内容,并且实时同步显示批注内容,例如图中画的各个曲线和“√”的批注。FIG. 1 is a document browsing interface where the first client is forwarding a lecture, and operations such as annotation can be performed. Fig. 2 is a browsing interface for synchronously sharing and browsing the same document as the first client, and synchronously displays the content of the document currently opened by the first client, and synchronously displays the annotation content in real time, such as each curve drawn in the figure and the "√" annotation.
如图4所示,本发明还涉及一种处理终端100,其包括:As shown in FIG. 4 , the present invention also relates to a processing terminal 100, which includes:
存储器101,用于存储程序指令;a memory 101 for storing program instructions;
处理器102,用于运行所述程序指令,以执行所述文档多人同步共享浏览方法的步骤。The processor 102 is configured to run the program instructions to execute the steps of the method for synchronously sharing and browsing a document for multiple people.
本说明书所公开的实施例只是对本发明单方面特征的一个例证,本发明的保护范围不限于此实施例,其他任何功能等效的实施例均落入本发明的保护范围内。对于本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及变形,而所有的这些改变以及变形都应该属于本发明权利要求的保护范围之内。The embodiment disclosed in this specification is only an illustration of the unilateral feature of the present invention, and the protection scope of the present invention is not limited to this embodiment, and any other functionally equivalent embodiments fall within the protection scope of the present invention. For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all these changes and deformations should fall within the protection scope of the claims of the present invention.

Claims (7)

  1. 一种文档多人同步共享浏览方法,其特征在于,包括如下步骤:A method for synchronously sharing and browsing a document for multiple people, comprising the following steps:
    步骤1:接收由第一客户端发起的文档同步共享浏览的请求,接收到该请求后,若本地客户端存在待同步共享浏览的文档,则执行步骤2,若本地客户端不存在待同步共享浏览的文档,则下载待同步共享浏览的文档,其中,文档同步共享浏览的请求数据包至少包括第一客户端的屏幕分辨率;Step 1: Receive a request for synchronous sharing and browsing of documents initiated by the first client. After receiving the request, if the local client has a document to be synchronously shared and browsed, step 2 is performed. If there is no document to be synchronously shared on the local client For a browsed document, download the document to be synchronously shared and browsed, wherein the request data package of the document to be synchronously shared and browsed includes at least the screen resolution of the first client;
    步骤2:若本地客户端的屏幕分辨率与第一客户端的屏幕分辨率一致,则直接执行步骤3,否则对所述文档进行偏移量处理和屏幕尺寸比例转换后再执行步骤3,以使得经本步骤处理后的文档能够适配本地客户端进行显示;Step 2: If the screen resolution of the local client is the same as the screen resolution of the first client, step 3 is directly executed; The document processed in this step can be adapted to the local client for display;
    步骤3:将经过步骤2得到的文档转换成位图文件,对位图文件进行缩略,得到缩略位图文件,并将缩略位图文件按像素分成若干分片块,各个分片块呈阵列分布,呈阵列分布的各个分片块显示文档不同位置的内容;Step 3: Convert the document obtained in Step 2 into a bitmap file, abbreviate the bitmap file to obtain a thumbnail bitmap file, and divide the abbreviated bitmap file into several pieces according to pixels. It is distributed in an array, and each shard block distributed in an array displays the content of different positions of the document;
    步骤4:根据在第一客户端所需显示的文档内容,在本地客户端读取出相同位置的文档内容,将对应的分片块显示在本地客户端,从而达到同步共享浏览的效果。Step 4: According to the document content to be displayed on the first client, the local client reads out the document content at the same location, and displays the corresponding shards on the local client, so as to achieve the effect of synchronous shared browsing.
  2. 根据权利要求1所述的文档多人同步共享浏览方法,其特征在于,所述步骤1中,本地客户端从服务器下载待同步共享浏览的文档,服务器将待同步共享浏览的文档下发给第一客户端和所有本地客户端。The method according to claim 1, wherein in step 1, the local client downloads the document to be synchronously shared and browsed from the server, and the server delivers the document to be synchronously shared and browsed to the first One client and all local clients.
  3. 根据权利要求1所述的文档多人同步共享浏览方法,其特征在 于,所述步骤2中,按公式①进行偏移量处理:The document multi-person synchronous sharing browsing method according to claim 1, is characterized in that, in described step 2, carry out offset processing according to formula 1.:
    Figure PCTCN2021104541-appb-100001
    Figure PCTCN2021104541-appb-100001
    式中,width 0表示第一客户端显示视图宽度,height 0表示第一客户端显示视图高度,width表示本地客户端显示视图宽度,Y表示本地客户端文档垂直偏移量计算结果,Y 0表示第一客户端文档垂直偏移量。 In the formula, width 0 represents the width of the first client display view, height 0 represents the height of the first client display view, width represents the width of the local client display view, Y represents the calculation result of the vertical offset of the local client document, and Y 0 represents The vertical offset of the first client document.
  4. 根据权利要求1所述的文档多人同步共享浏览方法,其特征在于,所述步骤3中,缩略位图文件的像素为原先位图文件的a倍,0<a<1。The method according to claim 1, wherein in the step 3, the pixel of the thumbnail bitmap file is a times the original bitmap file, 0<a<1.
  5. 根据权利要求1所述的文档多人同步共享浏览方法,其特征在于,所述步骤3中,为分片块预设一个单独的空间存储队列,所有分片块存储在空间存储队列中。The method for multi-person synchronous sharing and browsing of documents according to claim 1, wherein in step 3, a separate space storage queue is preset for the fragmented blocks, and all the fragmented blocks are stored in the space storage queue.
  6. 根据权利要求1所述的文档多人同步共享浏览方法,其特征在于,在执行完步骤4之后,还包括:The multi-person synchronous sharing browsing method for documents according to claim 1, characterized in that, after performing step 4, the method further comprises:
    当接收到对文档进行滑动操作指令时,判断滑动方向,并对滑动方向文档的头尾部分渲染的分片块回收不显示,而对于滑动未涉及到的分片块则进行复用。When receiving a sliding operation instruction on the document, the sliding direction is determined, and the shard blocks rendered in the head and tail parts of the document in the sliding direction are recycled and not displayed, and the shard blocks not involved in the sliding are reused.
  7. 一种处理终端,其特征在于,其包括:A processing terminal, characterized in that it includes:
    存储器,用于存储程序指令;memory for storing program instructions;
    处理器,用于运行所述程序指令,以执行如权利要求1-6任一项所述文档多人同步共享浏览方法的步骤。The processor is configured to run the program instructions to execute the steps of the method for synchronously sharing and browsing a document according to any one of claims 1-6.
PCT/CN2021/104541 2021-02-03 2021-07-05 Multi-person synchronous document sharing and viewing method, and processing terminal WO2022166100A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110157741.0 2021-02-03
CN202110157741.0A CN112818635A (en) 2021-02-03 2021-02-03 Multi-person synchronous document sharing and browsing method and processing terminal

Publications (1)

Publication Number Publication Date
WO2022166100A1 true WO2022166100A1 (en) 2022-08-11

Family

ID=75861489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104541 WO2022166100A1 (en) 2021-02-03 2021-07-05 Multi-person synchronous document sharing and viewing method, and processing terminal

Country Status (2)

Country Link
CN (1) CN112818635A (en)
WO (1) WO2022166100A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818635A (en) * 2021-02-03 2021-05-18 广州市保伦电子有限公司 Multi-person synchronous document sharing and browsing method and processing terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130110941A1 (en) * 2011-10-28 2013-05-02 Microsoft Corporation Document sharing through browser
US20170235537A1 (en) * 2016-02-12 2017-08-17 Haworth, Inc. Collaborative electronic whiteboard publication process
CN110347649A (en) * 2019-07-15 2019-10-18 城云科技(中国)有限公司 A kind of method and system that Office document can be shared based on Web and marked in real time
CN111600963A (en) * 2020-06-03 2020-08-28 天津卓朗科技发展有限公司 Document data transmission method and device
CN112818635A (en) * 2021-02-03 2021-05-18 广州市保伦电子有限公司 Multi-person synchronous document sharing and browsing method and processing terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150537A (en) * 2007-10-10 2008-03-26 中国联合通信有限公司 A file sharing and control method and system for instant messaging conference
CN101872364A (en) * 2010-07-02 2010-10-27 苏州阔地网络科技有限公司 Method for converting document into picture on line
CN102903094B (en) * 2011-07-25 2015-09-02 株式会社理光 Electronic document gridding method and electronic document tiling device
CN102883134B (en) * 2012-11-01 2015-04-22 成都飞视美视频技术有限公司 Screen sharing and controlling method for video conference system
CN103914205B (en) * 2013-01-09 2015-11-25 腾讯科技(深圳)有限公司 A kind of file thumbnail methods of exhibiting of intelligent terminal and device
CN105426148A (en) * 2015-11-11 2016-03-23 江苏中威科技软件系统有限公司 Multi-terminal-screen synchronization method based on vectorgraph
CN108710480A (en) * 2018-04-18 2018-10-26 东莞职业技术学院 A kind of method and system of document sharing and document control
CN110737415A (en) * 2019-09-12 2020-01-31 北京真视通科技股份有限公司 Screen sharing method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130110941A1 (en) * 2011-10-28 2013-05-02 Microsoft Corporation Document sharing through browser
US20170235537A1 (en) * 2016-02-12 2017-08-17 Haworth, Inc. Collaborative electronic whiteboard publication process
CN110347649A (en) * 2019-07-15 2019-10-18 城云科技(中国)有限公司 A kind of method and system that Office document can be shared based on Web and marked in real time
CN111600963A (en) * 2020-06-03 2020-08-28 天津卓朗科技发展有限公司 Document data transmission method and device
CN112818635A (en) * 2021-02-03 2021-05-18 广州市保伦电子有限公司 Multi-person synchronous document sharing and browsing method and processing terminal

Also Published As

Publication number Publication date
CN112818635A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US20200258197A1 (en) Method for generating high-resolution picture, computer device, and storage medium
WO2020010997A1 (en) Video frame extraction method and apparatus, computer readable medium, and electronic device
US9860285B2 (en) System, apparatus, and method for sharing a screen having multiple visual components
US10142707B2 (en) Systems and methods for video streaming based on conversion of a target key frame
WO2015131787A1 (en) Screen adaptation method and apparatus
CN110392306B (en) Data processing method and equipment
US10652591B2 (en) System for cloud streaming service, method for same using still-image compression technique and apparatus therefor
AU2017317839B2 (en) Panoramic video compression method and device
US8538089B2 (en) Method of performing eyebrow shaping on an image and related computing device
WO2017084306A1 (en) Method and apparatus for playing key information of video in browser of mobile device
US20150052200A1 (en) Acquiring Regions of Remote Shared Content with High Resolution
US9478007B2 (en) Stable video super-resolution by edge strength optimization
CN104601534A (en) Method and system for processing CDN system images
WO2022166100A1 (en) Multi-person synchronous document sharing and viewing method, and processing terminal
WO2015096588A1 (en) Method and device for switching display pages
US20230281861A1 (en) Data processing method and apparatus, device, and readable storage medium
CN110740352B (en) SPICE protocol-based difference image display method in video card transparent transmission environment
WO2022227974A1 (en) Subtitle processing method, apparatus and device and storage medium
CN107564084B (en) Method and device for synthesizing motion picture and storage equipment
CN109710783B (en) Picture loading method and device, storage medium and server
CN107612881B (en) Method, device, terminal and storage medium for transmitting picture during file transmission
US20190349414A1 (en) Client side data stream processing
WO2018201993A1 (en) Image drawing method, terminal and storage medium
CN113810755B (en) Panoramic video preview method and device, electronic equipment and storage medium
CN107145319B (en) Data sharing method, device and system

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

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

Country of ref document: EP

Kind code of ref document: A1