[go: up one dir, main page]

CN114816293A - File sharing method and file sharing equipment - Google Patents

File sharing method and file sharing equipment Download PDF

Info

Publication number
CN114816293A
CN114816293A CN202210267150.3A CN202210267150A CN114816293A CN 114816293 A CN114816293 A CN 114816293A CN 202210267150 A CN202210267150 A CN 202210267150A CN 114816293 A CN114816293 A CN 114816293A
Authority
CN
China
Prior art keywords
file
shared
display area
files
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210267150.3A
Other languages
Chinese (zh)
Inventor
邓袁圆
李金星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210267150.3A priority Critical patent/CN114816293A/en
Publication of CN114816293A publication Critical patent/CN114816293A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Landscapes

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

Abstract

本申请实施例公开了一种文件共享方法和文件共享设备,该方法包括:响应于加入线上会议的触发操作,呈现会议展示界面,会议展示界面中包括共享文件显示区域;获取待共享文件,待共享文件包括至少一个,待共享文件是由不同终端上传的;确定各个待共享文件在共享文件显示区域的显示位置信息;基于各个待共享文件的显示位置信息,显示各个待共享文件。

Figure 202210267150

The embodiment of the present application discloses a file sharing method and a file sharing device. The method includes: in response to a trigger operation of joining an online conference, presenting a conference display interface, where the conference display interface includes a shared file display area; acquiring a file to be shared, The to-be-shared file includes at least one, and the to-be-shared file is uploaded by different terminals; the display position information of each to-be-shared file in the shared file display area is determined; and each to-be-shared file is displayed based on the display position information of each to-be-shared file.

Figure 202210267150

Description

一种文件共享方法和文件共享设备A file sharing method and file sharing device

技术领域technical field

本申请涉及信息技术领域,尤其涉及一种文件共享方法和文件共享设备。The present application relates to the field of information technology, and in particular, to a file sharing method and a file sharing device.

背景技术Background technique

随着互联网技术的不断发展,线上会议、线上教学等线上沟通方式因实时性好、互动性强、成本低等特点为人们的学习和工作带来了诸多便利,也因此成为了社会发展的必然选择。With the continuous development of Internet technology, online communication methods such as online meetings and online teaching have brought a lot of convenience to people's study and work due to their characteristics of good real-time, strong interaction and low cost. inevitable choice for development.

相关技术中,处于线上会议平台不同终端的用户由于处在不同空间、使用不同设备,会导致信息交换的不对等,共享内容讨论不便,致使用户参与感低,会议整体沟通效率低下。In the related art, users on different terminals of the online conference platform are located in different spaces and use different devices, resulting in unequal information exchange, inconvenient discussion of shared content, low user participation, and low overall conference communication efficiency.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请实施例提供一种文件共享方法和文件共享设备。In view of this, embodiments of the present application provide a file sharing method and a file sharing device.

本申请技术方案是这样实现的:The technical solution of the present application is realized as follows:

本申请实施例提供一种文件共享方法,包括:The embodiment of the present application provides a file sharing method, including:

响应于加入线上会议的触发操作,呈现会议展示界面,所述会议展示界面中包括共享文件显示区域;In response to a trigger operation of joining an online conference, a conference presentation interface is presented, and the conference presentation interface includes a shared file display area;

获取待共享文件,所述待共享文件包括至少一个,所述待共享文件是由不同终端上传的;Obtaining a file to be shared, the file to be shared includes at least one file to be shared, and the file to be shared is uploaded by different terminals;

确定各个待共享文件在所述共享文件显示区域的显示位置信息;determining the display position information of each to-be-shared file in the shared file display area;

基于所述各个待共享文件的显示位置信息,显示所述各个待共享文件。The respective files to be shared are displayed based on the display position information of the respective files to be shared.

本申请实施例还提供了一种文件共享设备,包括:The embodiment of the present application also provides a file sharing device, including:

存储器,用于存储可执行文件共享指令;memory for storing executable file sharing instructions;

处理器,用于执行所述存储器中存储的可执行文件共享指令时,实现本申请实施例提供的文件共享方法。The processor is configured to implement the file sharing method provided by the embodiment of the present application when executing the executable file sharing instruction stored in the memory.

本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行上述文件共享方法的步骤。An embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are configured to execute the steps of the above-mentioned file sharing method.

本申请实施例提供了一种文件共享方法和信息处理设备,采用本技术方案,首先,响应于加入线上会议的触发操作,呈现会议展示界面,会议展示界面中包括共享文件显示区域;然后,获取待共享文件,待共享文件包括至少一个,待共享文件是由不同终端上传的;确定各个待共享文件在共享文件显示区域的显示位置信息;最后,基于各个待共享文件的显示位置信息,显示各个待共享文件。如此,通过将由不同终端上传的待共享文件在共享文件显示区域进行显示,可以使得参与线上会议的用户均可以看到所有的共享文件,以便于用户进行共享文件内容的讨论,提高用户的参与感和线上会议的沟通效率。The embodiments of the present application provide a file sharing method and an information processing device. By adopting the technical solution, first, in response to a trigger operation of joining an online conference, a conference display interface is presented, and the conference display interface includes a shared file display area; then, Obtaining files to be shared, including at least one file to be shared, and the files to be shared are uploaded by different terminals; determining the display position information of each file to be shared in the shared file display area; finally, based on the display position information of each file to be shared, displaying each file to be shared. In this way, by displaying the files to be shared uploaded by different terminals in the shared file display area, all the shared files can be viewed by the users participating in the online conference, so as to facilitate the users to discuss the content of the shared files and improve the participation of the users. Sense and communication efficiency of online meetings.

附图说明Description of drawings

图1为本申请实施例提供的一种文件共享方法的流程示意图;1 is a schematic flowchart of a file sharing method according to an embodiment of the present application;

图2为本申请实施例提供的一种更新文件共享方法的流程示意图;2 is a schematic flowchart of a method for updating file sharing provided by an embodiment of the present application;

图3为本申请实施例提供的一种待共享文件的位置信息示意图;3 is a schematic diagram of location information of a file to be shared according to an embodiment of the present application;

图4为本申请实施例提供的一种待共享文件的显示界面示意图;4 is a schematic diagram of a display interface of a file to be shared according to an embodiment of the present application;

图5为本申请实施例提供的一种待共享文件的显示效果示意图;5 is a schematic diagram of a display effect of a file to be shared according to an embodiment of the present application;

图6为本申请实施例提供的一种视频会议的文件共享方法的流程示意图;6 is a schematic flowchart of a file sharing method for a video conference provided by an embodiment of the present application;

图7为本申请实施例提供的一种文件共享装置的组成结构示意图;FIG. 7 is a schematic structural diagram of a file sharing apparatus according to an embodiment of the present application;

图8为本申请实施例提供的一种文件共享设备的组成结构示意图。FIG. 8 is a schematic structural diagram of the composition of a file sharing device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail below with reference to the accompanying drawings. All other embodiments obtained under the premise of creative work fall within the scope of protection of the present application.

在以下的描述中,涉及到“一些实施例\另一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例\另一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments\other embodiments", which describes a subset of all possible embodiments, but it is understood that "some embodiments\other embodiments" can be all possible embodiments of the same or different subsets, and can be combined with each other without conflict.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.

基于相关技术存在的问题,本申请实施例提供一种文件共享方法,能够提高用户的参与感和线上会议的沟通效率。Based on the problems existing in the related art, the embodiments of the present application provide a file sharing method, which can improve the user's sense of participation and the communication efficiency of the online conference.

本申请实施例提供的信息处理方法应用于文件共享设备。本申请实施例提供的方法可以通过计算机程序来实现,该计算机程序在执行的时候,完成本申请实施例提供的文件共享方法中各个步骤。在一些实施例中,该计算机程序可以文件共享设备中的处理器执行。The information processing method provided by the embodiment of the present application is applied to a file sharing device. The methods provided by the embodiments of the present application may be implemented by a computer program, and when the computer programs are executed, each step in the file sharing method provided by the embodiments of the present application is completed. In some embodiments, the computer program may be executed by a processor in a file sharing device.

下面,将说明本申请实施例提供的文件共享方法,如图1所示,为本申请实施例提供的一种文件共享方法的流程示意图,该方法包括以下步骤:Below, the file sharing method provided by the embodiment of the present application will be described. As shown in FIG. 1, a schematic flowchart of a file sharing method provided by the embodiment of the present application, the method includes the following steps:

S101、响应于加入线上会议的触发操作,呈现会议展示界面。S101. In response to a trigger operation of joining an online conference, present a conference presentation interface.

在一些实施例中,响应于加入线上会议的触发操作可以是在线上会议开启时,也可以是在线上会议进行过程中,用户通过点击加入会议控件、输入会议号等触发操作加入线上会议,线上会议可以是各种类型的线上会议应用程序,例如腾讯会议应用程序、钉钉会议应用程序等。当用户加入到线上会议,则会将会议展示界面呈现给用户,会议展示界面可以是用户加入到线上会议后首先看到的第一个界面。In some embodiments, the triggering operation for joining the online meeting may be when the online meeting is started, or during the online meeting, the user joins the online meeting by clicking the join meeting control, inputting the meeting number, etc. , the online meeting can be various types of online meeting applications, such as Tencent meeting application, Dingding meeting application, etc. When the user joins the online conference, the conference display interface will be presented to the user, and the conference display interface may be the first interface that the user sees after joining the online conference.

在一些实施例中,会议展示界面中包括共享文件显示区域。文件共享显示区域可以是用于显示待共享文件的区域,位于共享文件显示区域的所有待共享文件均可以被加入线上会议的用户看到。In some embodiments, the conference presentation interface includes a shared file display area. The file sharing display area may be an area for displaying files to be shared, and all files to be shared located in the shared file display area can be viewed by users who join the online conference.

S102、获取待共享文件。S102. Obtain the file to be shared.

需要说明的是,待共享文件包括至少一个,待共享文件是由不同终端上传的。在一些实施例中,待共享文件可以是一个,也可以是多个,若待共享文件包括多个,多个待共享文件可以是多个与会用户上传的,在实际中,一个与会用户可以不上传待共享文件,也可以上传一个待共享文件,也可以上传多个待共享文件。It should be noted that the to-be-shared file includes at least one file to be shared, and the to-be-shared file is uploaded by different terminals. In some embodiments, there may be one or multiple files to be shared. If there are multiple files to be shared, the multiple files to be shared may be uploaded by multiple participating users. In practice, one participating user may not To upload a file to be shared, you can also upload one file to be shared, or you can upload multiple files to be shared.

在一些实施例中,由于不同的用户使用不同的终端加入线上会议,所以多个待共享文件可以是由用户通过不同的终端上传的,待共享文件可以是用户从终端的本地文件中选择的文件,待共享文件被上传至线上会议后,可以在共享文件显示区域进行显示。需要说明的是,待共享文件可以是线上会议应用程序支持的多种类型的文件,例如,待共享文件可以是Word文件,可以是PPT文件,可以是PDF文件等。In some embodiments, since different users use different terminals to join the online conference, multiple files to be shared may be uploaded by the users through different terminals, and the files to be shared may be selected by the user from local files of the terminals After the shared file is uploaded to the online meeting, it can be displayed in the shared file display area. It should be noted that the file to be shared may be various types of files supported by the online meeting application. For example, the file to be shared may be a Word file, a PPT file, or a PDF file.

在一些实施例中,当前用户上传的待共享文件在上传至线上会议后,还可以发送至服务器,服务器接收到该待共享文件之后,转发给加入线上会议的其他用户,其他用户点击该待共享文件之后,便可以在其他用户对应的文件共享显示区域显示该待共享文件。In some embodiments, after the file to be shared uploaded by the current user is uploaded to the online conference, it can also be sent to the server. After the server receives the file to be shared, it forwards it to other users who have joined the online conference. Other users click on the file to be shared. After the file to be shared, the file to be shared can be displayed in the file sharing display area corresponding to other users.

S103、确定各个待共享文件在共享文件显示区域的显示位置信息。S103: Determine the display position information of each to-be-shared file in the shared file display area.

在一些实施例中,不同的待共享文件可以是由当前用户终端上传的,也可以是接收服务器分发的,由服务器分发的待共享文件可以是其他用户终端上传的。在获取到不同用户上传的待共享文件之后,便可以对各个待共享文件在共享文件显示区域的展示位置进行确定,即确定各个待共享文件的显示位置信息。In some embodiments, different files to be shared may be uploaded by the current user terminal or distributed by the receiving server, and the files to be shared distributed by the server may be uploaded by other user terminals. After acquiring the files to be shared uploaded by different users, the display position of each file to be shared in the shared file display area can be determined, that is, the display position information of each file to be shared can be determined.

在一些实施例中,待共享文件在共享文件显示区域的显示位置信息可以包括待共享文件在共享文件显示区域显示时对应的尺寸大小,例如待共享文件的长、宽等;也可以包括待共享文件在共享文件显示区域显示时所处的方位,例如位于共享文件显示区域的左上角、右下角等。In some embodiments, the display position information of the file to be shared in the shared file display area may include the size corresponding to the file to be shared when displayed in the shared file display area, such as the length and width of the file to be shared; it may also include the size of the file to be shared. The orientation of the file when it is displayed in the shared file display area, such as the upper left corner and the lower right corner of the shared file display area.

S104、基于各个待共享文件的显示位置信息,显示各个待共享文件。S104. Display each to-be-shared file based on the display position information of each to-be-shared file.

在一些实施例中,在获取了各个待共享文件的显示位置信息之后,就可以基于各个待共享文件各自对应的显示位置信息,对各个待共享文件进行显示,以呈现给与会用户。In some embodiments, after the display position information of each file to be shared is acquired, each file to be shared may be displayed based on the corresponding display position information of each file to be shared, so as to be presented to participating users.

本申请实施例中,首先,响应于加入线上会议的触发操作,呈现会议展示界面,会议展示界面中包括共享文件显示区域;然后,获取待共享文件,待共享文件包括至少一个,待共享文件是由不同终端上传的;确定各个待共享文件在共享文件显示区域的显示位置信息;最后,基于各个待共享文件的显示位置信息,显示各个待共享文件。如此,通过将由不同终端上传的待共享文件在共享文件显示区域进行显示,可以使得参与线上会议的用户均可以看到所有的共享文件,以便于用户进行共享文件内容的讨论,提高用户的参与感和线上会议的沟通效率。In the embodiment of the present application, first, in response to a trigger operation of joining an online conference, a conference presentation interface is presented, and the conference presentation interface includes a shared file display area; then, a to-be-shared file is acquired, the to-be-shared file includes at least one, and the to-be-shared file are uploaded by different terminals; determine the display position information of each to-be-shared file in the shared file display area; finally, display each to-be-shared file based on the display position information of each to-be-shared file. In this way, by displaying the files to be shared uploaded by different terminals in the shared file display area, all the shared files can be viewed by the users participating in the online conference, so as to facilitate the users to discuss the content of the shared files and improve the participation of the users. Sense and communication efficiency of online meetings.

在本申请的一些实施例中,在获取待共享文件,即步骤S102之前,还可以执行下述步骤S201至步骤S204,以下对各个步骤进行详细说明。In some embodiments of the present application, before acquiring the file to be shared, that is, step S102, the following steps S201 to S204 may also be performed, and each step will be described in detail below.

S201、响应于针对文件的选择操作,确定从终端的本地存储空间中选中的文件。S201. In response to the file selection operation, determine the file selected from the local storage space of the terminal.

在一些实施例中,终端的本地存储空间可以是终端设备对应的存储区域,例如硬盘、移动硬盘等的存储区域。针对文件的选择操作可以是点击存储于终端的本地存储空间中的文件,可以是对存储于终端中的本地存储空间中的文件进行拖拽。当用户进行了针对终端的本地存储空间中的文件选择操作,终端响应于该用户的选择操作,便可以确定被用户选中的文件。In some embodiments, the local storage space of the terminal may be a storage area corresponding to the terminal device, such as a storage area of a hard disk, a mobile hard disk, and the like. The file selection operation may be clicking on the file stored in the local storage space of the terminal, or may be dragging and dropping the file stored in the local storage space in the terminal. When the user performs a file selection operation in the local storage space of the terminal, the terminal can determine the file selected by the user in response to the user's selection operation.

S202、获取选中的文件的文件类型。S202. Obtain the file type of the selected file.

需要说明的是,被用户选中的文件的文件类型可以是各种类型的文件,文件类型可以包括Word、PPT、PDF等。在确定了被选中的文件后,便可以对该文件的文件类型进行分析,例如,可以根据文件的扩展名来确定文件的类型,若被选中文件的文件的扩展名为.doc,.docx,则可以确定被选中文件的类型为Word文件,若被选中文件的文件的扩展名为.pdf,则可以确定被选中文件的类型为PDF文件;若被选中文件的文件的扩展名为.png,则可以确定被选中文件的类型为PNG图像文件。It should be noted that the file type of the file selected by the user may be various types of files, and the file type may include Word, PPT, PDF, and the like. After the selected file is determined, the file type of the file can be analyzed. For example, the file type can be determined according to the file extension. If the file extension of the selected file is .doc, .docx, Then it can be determined that the type of the selected file is a Word file. If the file extension of the selected file is .pdf, it can be determined that the type of the selected file is a PDF file; if the file extension of the selected file is .png, Then it can be determined that the type of the selected file is a PNG image file.

S203、基于文件类型对选中的文件进行校验,得到校验结果。S203 , verifying the selected file based on the file type to obtain a verification result.

在一些实施例中,校验结果可以包括校验通过和校验未通过,对被选中的文件进行检验可以是确定被选中的文件的类型是否是线上会议应用程序支持的文件类型,若被选中的文件的类型为线上会议程序支持的文件类型,则可以确定检验结果为检验通过,若被选中的文件的类型为线上回应应用程序不支持的文件类型,则可以确定检验结果为检验为通过。In some embodiments, the verification result may include verification pass and verification failure, and the verification of the selected file may be to determine whether the type of the selected file is a file type supported by the online meeting application. If the type of the selected file is a file type supported by the online meeting program, it can be determined that the inspection result is passed. If the type of the selected file is a file type that is not supported by the online response application, it can be determined that the inspection result is an inspection result. to pass.

S204、确定检验结果为检验通过,将选中的文件存储至用于存储待共享文件的本地存储空间。S204. Determine that the inspection result is that the inspection passes, and store the selected file in the local storage space for storing the file to be shared.

在一些实施例中,在对被选中的文件的类型进行校验后,若校验结果指示为校验通过,则可以确定该被选中的文件的类型为线上会议应用程序支持的文件类型,此时便可以将该被选中的文件存储至用于存储待共享文件的本地存储空间。In some embodiments, after the type of the selected file is verified, if the verification result indicates that the verification is passed, it can be determined that the type of the selected file is a file type supported by the online meeting application, At this point, the selected file can be stored in the local storage space for storing the file to be shared.

在一些实施例中,当用户使用的是客户端版的线上会议应用程序时,用于存储待共享文件的本地存储空间可以是专门用于存储该线上会议应用程序的共享文件的内存区域,当退出该线上会议应用程序后,该存储区域中的文件被销毁;当用户使用的是基于网页版的线上会议时,用于存储待共享文件的本地存储空间可以是浏览器缓存SessionStorage,当用户关闭网页后,浏览器缓存Session Storage中的文件均会被清理。In some embodiments, when the user is using the client-side version of the online meeting application, the local storage space for storing the files to be shared may be a memory area dedicated to storing the shared files of the online meeting application , after exiting the online meeting application, the files in the storage area are destroyed; when the user is using the web-based online meeting, the local storage space used to store the files to be shared can be the browser cache SessionStorage , when the user closes the web page, the files in the browser cache Session Storage will be cleared.

S205、将选中的文件发送至服务器。S205. Send the selected file to the server.

在一些实施例中,在将被选中的文件存储至用于存储待共享文件的本地存储空间后,还可以将该被选中的文件发送至服务器,以使得服务器接收该文件后,将该文件发送给其他用户,让其他用户也可以看到。In some embodiments, after the selected file is stored in the local storage space for storing the file to be shared, the selected file may also be sent to the server, so that the server sends the file after receiving the file To other users, so other users can also see.

示例性地,用户A将自身被选中的文件a存储至自身用于存储待共享文件的本地存储空间Ⅰ后,可以将文件a发送给服务器,服务器将文件a发送给用户B,用户B接受该文件a后,将该文件a存储于自身用于存储待共享文件的本地存储空间Ⅱ,同理,用户B将自身选中的文件b存储至自身用于存储待共享文件的本地存储空间Ⅱ后,也可以将文件b发送给服务器,服务器将文件b发送给用户A,用户A接收该文件后,将该文件b存储于自身用于存储待共享文件的本地存储空间Ⅰ。Exemplarily, after user A stores the selected file a in its own local storage space I used to store the file to be shared, it can send the file a to the server, and the server sends the file a to user B, and user B accepts the file a. After file a, the file a is stored in its own local storage space II for storing files to be shared. Similarly, after user B stores the selected file b in its own local storage space II for storing files to be shared, The file b can also be sent to the server, and the server sends the file b to the user A. After receiving the file, the user A stores the file b in its own local storage space I for storing the file to be shared.

可以理解的是,通过对被选中的文件的类型进行校验,将校验通过的文件存储至用于存储共享文件的本地存储空间,并将被选中的文件发送至服务器,由服务器分发给其他用户,其他用户在接收服务器发送的文件后,也可以将该文件存储在自身用于存储待共享文件的本地存储空间,由此实现对不同用户上传的文件的共享。It can be understood that by verifying the type of the selected file, the file that has passed the verification is stored in the local storage space for storing shared files, and the selected file is sent to the server, and the server distributes it to others. After receiving the file sent by the server, the user and other users can also store the file in their own local storage space for storing the file to be shared, thereby realizing the sharing of files uploaded by different users.

在本申请的一些实施例中,待共享文件还可以进行动态更新,基于此,本申请实施例提供一种更新文件的共享方法,如图2所示,为本申请实施例提供的一种更新文件共享方法的流程示意图,该方法可以通过下述的步骤S301和步骤S303来实现,以下对各步骤进行说明。In some embodiments of the present application, the file to be shared may also be dynamically updated. Based on this, an embodiment of the present application provides a sharing method for updating a file. As shown in FIG. 2 , an update method provided by an embodiment of the present application is provided. A schematic flowchart of a file sharing method, the method can be implemented through the following steps S301 and S303, and each step will be described below.

S301、对用于存储待共享文件的本地存储空间的缓存状态进行监听,确定缓存状态发生变化时,获得新增待共享文件。S301. Monitor the cache state of the local storage space used to store the file to be shared, and obtain the newly added file to be shared when it is determined that the cache state changes.

需要说明的是,新增待共享文件可以是由不同于当前用户的其他用户的终端上传的,在当前用户将被选中的文件上传至自身用于存储待共享文件的本地存储存储空间后,当前用户的终端可以监听自身用于存储待共享文件的本地存储空间的状态,当本地存储空间的状态发生变化,即本地存储空间中的待共享文件发生更新,确定有其他用户的终端上传的文件,其他用户上传的文件便为新增待共享文件。It should be noted that the newly added file to be shared may be uploaded by a terminal of a user other than the current user. After the current user uploads the selected file to its own local storage space for storing the file to be shared, the current The user's terminal can monitor the state of its own local storage space for storing files to be shared. When the state of the local storage space changes, that is, the files to be shared in the local storage space are updated, and it is determined that there are files uploaded by other users' terminals. The files uploaded by other users are the newly added files to be shared.

在一些实施例中,新增待共享文件可以是由用户的终端在线上会议应用程序开启后的任何时间上传的,例如可以是线上会议应用程序进行过程中,由新加入的用户的终端上传的,可以是线上会议应用程序开启后便加入的用户,在会议进行一段时间之后,通过该用户的终端上传的,当然,此处对新增待共享文件的加入时机只是示例性说明,本申请对此不作限定。In some embodiments, the newly added file to be shared may be uploaded at any time after the online meeting application is opened by the user's terminal, for example, it may be uploaded by the terminal of the newly joined user during the online meeting application. It can be a user who joins after the online meeting application is started, and uploads it through the user's terminal after a period of time in the meeting. The application is not limited in this regard.

在一些实施例中,对用于存储待共享文件的本地存储空间的缓存状态进行监听,可以在步骤S204之后执行,在另一些实施例中,对用于存储待共享文件的本地存储空间的缓存状态进行监听,也可以在步骤S205之后执行。In some embodiments, monitoring the cache state of the local storage space used for storing the files to be shared may be performed after step S204. In other embodiments, the caching of the local storage space used for storing the files to be shared Status monitoring can also be performed after step S205.

S302、确定各个新增待共享文件在共享文件显示区域的显示位置信息。S302: Determine the display position information of each newly added file to be shared in the shared file display area.

在一些实施例中,在获取新增待共享文件之前,共享文件显示区域中可能已经存储待共享文件,在此情况下,可以在已经存在的待共享文件的显示位置信息基础上,确定新增待共享文件的显示位置信息,即已经存在的待共享文件的显示位置信息不变,确定待共享文件的显示位置信息。在一些实施例中,若新增待共享文件包括多个,则可以根据新增待共享文件的上传顺序,依次确定各个新增待共享文件的显示位置信息。In some embodiments, before acquiring the newly added file to be shared, the file to be shared may already be stored in the shared file display area. In this case, the newly added file may be determined based on the display position information of the existing file to be shared The display position information of the file to be shared, that is, the display position information of the existing file to be shared remains unchanged, and the display position information of the file to be shared is determined. In some embodiments, if there are multiple newly added files to be shared, the display position information of each newly added files to be shared may be sequentially determined according to the upload sequence of the newly added files to be shared.

S303、基于各个新增待共享文件的显示位置信息,显示各个更新待共享文件。S303. Display each updated to-be-shared file based on the display position information of each newly-added to-be-shared file.

在一些实施例中,步骤S303和步骤S104类似,在确定了各个新增待共享文件的显示位置信息之后,就可以对各个新增待共享文件进行显示,此时在文件共享区域显示的待共享文件为更新后的待共享文件。In some embodiments, step S303 is similar to step S104. After the display location information of each newly added file to be shared is determined, each newly added file to be shared can be displayed. At this time, the to-be-shared file displayed in the file sharing area The file is the updated file to be shared.

可以理解的是,通过对用于存储待共享文件的本地存储空间的缓存状态进行监听,可以获得新增待共享文件,实现待共享文件的实时更新,使得位于文件共享显示区域的待共享文件均可以被与会用户共享,避免了不同用户共享信息的不对等的问题。It can be understood that, by monitoring the cache status of the local storage space used to store the files to be shared, newly added files to be shared can be obtained, and real-time update of the files to be shared can be realized, so that the files to be shared located in the file sharing display area are all It can be shared by participating users, avoiding the problem of unequal sharing of information by different users.

在本申请的一些实施例中,确定各个待共享文件在所述共享文件显示区域的显示位置信息,即步骤S103还可以通过步骤S1031至步骤S1035来实现。In some embodiments of the present application, the display position information of each to-be-shared file in the shared file display area is determined, that is, step S103 may also be implemented through steps S1031 to S1035.

S1031、获取共享文件显示区域的位置信息、各个待共享文件的上传时间和各个待共享文件的预设尺寸信息。S1031. Acquire position information of the shared file display area, upload time of each to-be-shared file, and preset size information of each to-be-shared file.

在一些实施例中,共享文件显示区域可以包括画板,在实际中,可以预先设定画板预设横纵坐标标尺,共享文件显示区域的位置信息可以包括画板的横纵坐标,以及坐标原点,各个待共享文件的预设尺寸信息可以是各个待共享文件按照100%显示比例时对应的文件显示尺寸,根据各个待共享文件的上传时间可以确定待共享文件的先后顺序。In some embodiments, the shared file display area may include a drawing board. In practice, a preset horizontal and vertical coordinate scale of the drawing board may be preset, and the location information of the shared file display area may include the horizontal and vertical coordinates of the drawing board and the coordinate origin. The preset size information of the files to be shared may be the corresponding file display sizes of the files to be shared according to the 100% display ratio, and the sequence of the files to be shared can be determined according to the upload time of the files to be shared.

S1032、判断在第一待共享文件的上传时间之前是否存在已确定出显示位置信息的其他待共享文件。S1032: Determine whether there are other files to be shared whose location information has been determined to be displayed before the upload time of the first file to be shared.

在一些实施例中,第一待共享文件可能是上传顺序为第一的待共享文件,也可能是上传顺序并非为第一的待共享文件。判断在第一待共享文件的上传时间之前是否已确定出显示位置信息的其他待共享文件,可以便于后续对该第一待共享文件的显示位置信息进行确定。若在第一待共享文件的上传时间之前不存在已确定出显示位置信息的其他待共享文件,则进入步骤S1034;若在第一待共享文件的上传时间之前存在已确定出显示位置信息的其他待共享文件,则进入步骤S1035。In some embodiments, the first to-be-shared file may be a to-be-shared file whose upload order is first, or may be a to-be-shared file whose upload order is not first. Determining whether other to-be-shared files displaying location information have been determined before the upload time of the first to-be-shared file can facilitate subsequent determination of the display location information of the first to-be-shared file. If there are no other files to be shared whose location information has been determined to be displayed before the upload time of the first file to be shared, then go to step S1034; if there are other files whose location information has been determined to be displayed before the upload time of the first file to be shared For the file to be shared, go to step S1035.

S1034、基于共享文件显示区域的位置信息和第一待共享文件的预设尺寸信息,确定第一待共享文件的位置信息。S1034. Determine the location information of the first file to be shared based on the location information of the shared file display area and the preset size information of the first file to be shared.

在一些实施例中,若在第一待共享文件的上传时间之前不存在已确定出显示位置信息的其他待共享文件,则表示第一待共享文件为第一个上传的待共享文件,示例性地,假设第一待共享文件为文件A,长和宽分别为Xa,Ya,则文件A的左上角可以位于共享文件显示区域的坐标(0,0)处。In some embodiments, if there is no other file to be shared whose location information has been determined to be displayed before the upload time of the first file to be shared, it means that the first file to be shared is the first uploaded file to be shared, an exemplary Assuming that the first file to be shared is file A, the length and width are Xa, Ya respectively, then the upper left corner of file A may be located at the coordinates (0, 0) of the shared file display area.

S1035、基于共享文件显示区域的位置信息、已确定出显示位置信息的其他待共享文件的显示位置信息和第一待共享文件的预设尺寸信息,确定第一待共享文件的位置信息。S1035. Determine the location information of the first file to be shared based on the location information of the shared file display area, the display location information of other files to be shared whose display location information has been determined, and the preset size information of the first file to be shared.

在一些实施例中,若在第一待共享文件的上传时间之前存在已确定出显示位置信息的其他待共享文件,则说明第一待共享文件可能是第二个、第三个……第N个上传的待共享文件,其中N为为大于3的整数,表示待共享文件的个数。示例性地,图3为本申请实施例提供的一种待共享文件的位置信息示意图,如图3所示,若第一待共享文件B的长宽分别为Xb,Yb,在第一待共享文件上传时间之前仅存在一个确定出显示位置信息的其他待共享文件A,即第一待共享文件B为第二个上传的待共享文件,在确定第一个上传的待共享文件A的左上角位于共享文件显示区域的坐标(0,0)处的情况下,待共享文件B左上角位于坐标(Xa+m,0)处,其中m为待共享文件之间横轴(X)方向上的固定间距。In some embodiments, if there are other to-be-shared files whose location information is determined to be displayed before the upload time of the first to-be-shared file, it means that the first to-be-shared file may be the second, third, ... Nth file upload files to be shared, where N is an integer greater than 3, indicating the number of files to be shared. Exemplarily, FIG. 3 is a schematic diagram of location information of a file to be shared provided by an embodiment of the present application. As shown in FIG. 3 , if the length and width of the first file B to be shared are Xb and Yb respectively, the first file to be shared is Xb and Yb respectively. Before the file upload time, there is only one other to-be-shared file A whose display location information is determined, that is, the first to-be-shared file B is the second to-be-shared file to be uploaded. If it is located at the coordinates (0, 0) of the shared file display area, the upper left corner of the file B to be shared is located at the coordinates (Xa+m, 0), where m is the horizontal axis (X) between the files to be shared. Fixed spacing.

在一些实施例中,若第一待共享文件C的长宽分别为Xc,Yc,在第一待共享文件C上传时间之前存在两个确定出显示位置信息的其他待共享文件A和B,即第一待共享文件C为第三个上传的待共享文件,在确定出待共享文件A的左上角位于共享文件显示区域的坐标(0,0)处,待共享文件B左上角位于共享文件显示区域的坐标(Xa+m,0)处的情况下:In some embodiments, if the length and width of the first to-be-shared file C are Xc and Yc, respectively, before the upload time of the first to-be-shared file C, there are two other to-be-shared files A and B whose display location information is determined, that is, The first to-be-shared file C is the third uploaded to-be-shared file. It is determined that the upper left corner of the to-be-shared file A is located at the coordinates (0, 0) of the shared file display area, and the upper-left corner of the to-be-shared file B is located at the shared file display area. In the case of the region's coordinates (Xa+m, 0):

A.若Yb>=Ya或Xc>Xb,则待共享文件C左上角位于共享文件显示区域的坐标(Xa+m+Xb+m,0)处;A. If Yb>=Ya or Xc>Xb, the upper left corner of the file C to be shared is located at the coordinates (Xa+m+Xb+m, 0) of the shared file display area;

B.若Yb<Ya,且Xc<=Xb,则待共享文件C左上角位于共享文件显示区域的坐标(Xa+m,Yb+n)处;其中n为待共享文件之间纵轴(Y)方向上的固定间距。B. If Yb<Ya, and Xc<=Xb, then the upper left corner of the file C to be shared is located at the coordinates (Xa+m, Yb+n) of the shared file display area; where n is the vertical axis (Y) between the files to be shared ) in the direction of the fixed spacing.

在另一些实施例中,若第一待共享文件D为第四个上传的待共享文件,第一待共享文件D的长宽分别为Xd,Yd,则可以按照前述A、B两种情况以类似的方式分开处理,若满足A情况,则对比C文件和B文件的高度;若满足B情况,则对比B+C文件的高度+n与A文件的高度,从而确定第一待共享文件D的位置信息。In other embodiments, if the first to-be-shared file D is the fourth uploaded to-be-shared file, and the length and width of the first to-be-shared file D are Xd and Yd, respectively, then according to the foregoing two cases A and B, the Separate processing in a similar way. If the A condition is satisfied, the heights of the C file and B file are compared; if the B condition is satisfied, the height of the B+C file + n and the height of the A file are compared to determine the first to-be-shared file D. location information.

在本申请的一些实施例中,基于所述各个待共享文件的显示位置信息,显示所述各个待共享文件,即步骤S104,可以通过步骤S1041和步骤S1043来实现,以下对各个步骤进行详细说明。In some embodiments of the present application, displaying the respective files to be shared based on the display position information of the respective files to be shared, that is, step S104, can be implemented through steps S1041 and S1043, and each step is described in detail below. .

S1041、基于各个待共享文件的显示位置信息,确定各个待共享文件的显示区域。S1041. Determine the display area of each file to be shared based on the display position information of each file to be shared.

在一些实施例中,待共享文件的显示区域可以是待共享文件在文件共享显示区域占据的区域,在获得了各个待共享文件的位置信息,基于各个待共享文件的预设尺寸信息便可以确定各个待共享文件的显示区域。In some embodiments, the display area of the to-be-shared file may be the area occupied by the to-be-shared file in the file-sharing display area, and after the location information of each to-be-shared file is obtained, it can be determined based on the preset size information of each to-be-shared file Display area for each file to be shared.

S1042、获取各个待共享文件中各个待显示页面对应的文件预览图。S1042: Acquire a file preview image corresponding to each to-be-displayed page in each to-be-shared file.

需要说明的是,每个待共享文件包括一个或多个待显示页面,每个待显示页面上显示有待共享文件的内容,一个待共享文件的一个或多个待显示页面构成该待共享文件的文件预览图。在一些实施例中,待显示页面对应的文件预览图可以以待显示页面的任意比例显示,例如以待显示页面的100%、80%、30%等比例进行显示。It should be noted that each to-be-shared file includes one or more to-be-displayed pages, each to-be-displayed page displays the content of the to-be-shared file, and one or more to-be-displayed pages of a to-be-shared file constitute the File preview. In some embodiments, the file preview image corresponding to the page to be displayed may be displayed in any proportion of the page to be displayed, such as 100%, 80%, and 30% of the page to be displayed.

S1043、在各个待共享文件的显示区域显示各个待共享文件中预设页面对应的文件预览图。S1043 , displaying a file preview image corresponding to a preset page in each to-be-shared file in the display area of each to-be-shared file.

在一些实施例中,在获取了各个待共享文件中各个待显示页面对应的文件预览图之后,可以在共享文件显示区域显示各个待共享文件中预设页面对应的文件预览图。需要说明的是,预设页面可以是待共享文件中待显示页面的任意一页,当待共享文件仅包括一个待显示页面,则预设页面可以是该待显示页面;当待共享文件包括至少两个待显示页面,例如待共享文件包括M个待显示页面,则预设页面可以是待共享文件中的第二个待显示页面、第三个待显示页面……、第M个待显示页面中的任意一个,其中M为大于3的整数。In some embodiments, after acquiring the file preview images corresponding to each page to be displayed in each to-be-shared file, the file preview image corresponding to each preset page in each to-be-shared file may be displayed in the shared file display area. It should be noted that the preset page can be any page of the pages to be displayed in the file to be shared. When the file to be shared only includes one page to be displayed, the preset page can be the page to be displayed; when the file to be shared includes at least one page to be displayed, the preset page can be the page to be displayed. Two pages to be displayed, for example, the file to be shared includes M pages to be displayed, the preset page may be the second page to be displayed, the third page to be displayed..., the Mth page to be displayed in the file to be shared Any of , where M is an integer greater than 3.

在一些实施例中,预设页面对应的文件预览图可以以预设页面的任意比例显示,例如以预设页面对应的待显示页面,可以以预设页面的100%比例进行显示,可以以预设页面的60%比例进行显示,也可以以预设页面的30%比例进行显示等,此处对预设页面对应的文件预览图的显示比例只是示例性说明,本申请对此不作限定。In some embodiments, the file preview image corresponding to the preset page can be displayed in any proportion of the preset page. For example, the page to be displayed corresponding to the preset page can be displayed in a proportion of 100% of the preset page, or can be displayed in a preset proportion. It is assumed that 60% of the page is displayed, or 30% of the preset page is displayed. Here, the display ratio of the file preview image corresponding to the preset page is only an exemplary description, which is not limited in this application.

在本申请的一些实施例中,共享文件显示区域中呈现有各个待共享文件对应的页码更新控件,页码更新控件可以实现对在各个待共享文件的显示区域显示的预设页面对应的文件预览图的更新。基于此,在各个待共享文件的显示区域显示各个待共享文件中预设页面对应的文件预览图,即步骤S1043之后,还可以执行下述步骤S1044至步骤S1047。In some embodiments of the present application, a page number update control corresponding to each to-be-shared file is presented in the shared file display area, and the page number update control can implement a file preview image corresponding to a preset page displayed in the display area of each to-be-shared file update. Based on this, the file preview images corresponding to the preset pages in each to-be-shared file are displayed in the display area of each to-be-shared file, that is, after step S1043 , the following steps S1044 to S1047 may also be performed.

S1044、接收针对目标页码更新控件的第一点击操作。S1044. Receive a first click operation for the target page number update control.

需要说明的是,在文件共享显示区域呈现的页码更新控件可以包括一个或多个,页码更新控件的数量与文件共享显示区域中的待共享文件的数量相同,每个待共享文件对应一个页码更新控件。第一点击操作可以是用户通过鼠标、手指或其他触控方式对页码更新控件触发。It should be noted that the page number update controls presented in the file sharing display area may include one or more page number update controls, the number of page number update controls is the same as the number of files to be shared in the file sharing display area, and each to-be-shared file corresponds to a page number update. controls. The first click operation may be triggered by the user on the page number update control through a mouse, a finger or other touch methods.

在一些实施例中,目标页码更新控件可以是目标待共享文件对应的页码更新控件,目标待共享文件可以是文件共享显示区域中的多个待共享文件中的任意一个,在实际中可以基于用户针对页码更新控件的第一点击操作,确定被用户点击的页码更新控件为目标页码更新控件。In some embodiments, the target page number update control may be a page number update control corresponding to the target file to be shared, and the target file to be shared may be any one of multiple files to be shared in the file sharing display area. For the first click operation of the page number update control, it is determined that the page number update control clicked by the user is the target page number update control.

S1045、响应于第一点击操作,获取目标页码更新控件对应的目标待共享文件的当前显示页面。S1045 , in response to the first click operation, obtain the currently displayed page of the target file to be shared corresponding to the target page number update control.

在一些实施例中,目标页码更新控件对应的待共享文件为目标待共享文件,在获取了针对目标页码更新控件的第一点击操作之后,响应于该第一点击操作,便可以获取目标页码更新控件对应的目标待共享文件,以及目标待共享文件的当前显示页面。在一些实施例中,目标待共享文件的当前显示页面可以是目标待共享文件中预设页面对应的文件预览图。In some embodiments, the to-be-shared file corresponding to the target page number update control is the target to-be-shared file, and after the first click operation on the target page number update control is obtained, the target page number update can be obtained in response to the first click operation The target file to be shared corresponding to the control, and the current display page of the target file to be shared. In some embodiments, the currently displayed page of the target file to be shared may be a file preview image corresponding to a preset page in the target file to be shared.

S1046、基于第一点击操作和当前显示页面,确定目标显示页面。S1046. Determine the target display page based on the first click operation and the currently displayed page.

需要说明的是,页码更新控件可以包括前一页控件、后一页控件等,示例性地,若接收到的针对页码更新控件的点击操作仅包括一次,在获取到的目标待共享文件的当前显示页面后,响应于针对前一页控件的第一点击操作,可以获取当前待显示页面的前一页,此时,当前待显示页面的前一页为目标显示页面;响应于针对后一页控件的第一点击操作,可以获取当前待显示页面的后一页,此时,当前待显示页面的后一页为目标显示页面。It should be noted that the page number update control may include a previous page control, a next page control, etc. Exemplarily, if the received click operation for the page number update control only includes After the page is displayed, in response to the first click operation on the previous page control, the previous page of the currently to-be-displayed page can be obtained. At this time, the previous page of the current to-be-displayed page is the target display page; The first click operation of the control can obtain the next page of the currently to-be-displayed page, and at this time, the next page of the current to-be-displayed page is the target display page.

S1046、在目标待共享文件的显示区域显示目标显示页面对应的文件预览图。S1046. Display a preview image of the file corresponding to the target display page in the display area of the target file to be shared.

在一些实施例中,确定了目标待共享文件对应的目标显示页面之后,便可以在目标待共享文件的显示区域显示该目标页面对应的文件预览图,此时,目标待共享文件对应的显示区域不变。In some embodiments, after the target display page corresponding to the target file to be shared is determined, the file preview image corresponding to the target page can be displayed in the display area of the target file to be shared. At this time, the display area corresponding to the target file to be shared constant.

可以理解的是,通过接收针对待共享文件对应的页码更新控件的第一点击操作,可以实现待共享文件在文件共享显示区域中显示的待显示页面的文件预览图的更新,从而可以使得用户可以根据自身需求选择自己想关注的待共享文件,以及待共享文件的文件内容,提高用户的体验。It can be understood that, by receiving the first click operation of the page number update control corresponding to the file to be shared, the file preview image of the page to be displayed displayed in the file sharing display area of the file to be shared can be updated, so that the user can According to your own needs, you can select the files to be shared that you want to pay attention to, and the file content of the files to be shared, so as to improve the user experience.

在本申请的一些实施例中,在各个待共享文件的显示区域显示各个待共享文件中预设页面对应的文件预览图,即步骤S1043之后,还可以执行下述步骤S401至步骤S403。In some embodiments of the present application, the file preview images corresponding to the preset pages in each to-be-shared file are displayed in the display area of each to-be-shared file, that is, after step S1043 , the following steps S401 to S403 may also be performed.

S401、接收针对目标文件预览图的批注操作,响应于批注操作展示信息输入控件。S401. Receive an annotation operation for the preview image of the target file, and display an information input control in response to the annotation operation.

在一些实施例中,目标文件预览图可以是待共享文件中预设页面对应的文件预览图,也可以是根据第一点击操作和待共享文件的当前显示页面,确定的目标显示页面对应的文件预览图。批注操作可以是用户针对目标文件预览图的点击操作,信息输入控件可以是用于输入批注内容的控件,例如,在实际应用中,用户可以在目标待共享文件中的目标文件预览图右键点击,终端响应于该点击操作,提供一个输入框,允许用户输入批注内容。In some embodiments, the preview image of the target file may be a preview image of a file corresponding to a preset page in the file to be shared, or may be a file corresponding to the target display page determined according to the first click operation and the currently displayed page of the file to be shared. preview. The annotation operation can be a user's click operation on the preview image of the target file, and the information input control can be a control used to input annotation content. For example, in practical applications, the user can right-click on the preview image of the target file in the target file to be shared, In response to the click operation, the terminal provides an input box to allow the user to input annotation content.

S402、基于针对信息输入控件的输入操作,获取输入的批注信息。S402 , based on the input operation on the information input control, obtain the input annotation information.

需要说明的是,批注信息可以是字符,数字、表情等,当终端向用户展示信息输入控件后,用户可以基于该信息输入控件输入需要批注的信息,之后,终端便可以获取用户输入的批注信息。It should be noted that the annotation information can be characters, numbers, expressions, etc. After the terminal displays the information input control to the user, the user can input the information to be annotated based on the information input control, and then the terminal can obtain the annotation information input by the user. .

S403、将目标文件预览图对应的待共享文件、批注信息和触发批注操作的用户标识发送给服务器。S403: Send the file to be shared corresponding to the preview image of the target file, the annotation information, and the user identifier that triggers the annotation operation to the server.

在一些实施例中,用户标识可以是用户的姓名、头像等用于表明用户身份的信息,当终端获取到用户输入的批注信息之后,可以将被批注的目标文件预览图对应的待共享文件、批注信息和触发批注操作的用户标识等信息发送给服务器,服务器接收到这些信息后,转发给与会的其他用户。In some embodiments, the user identifier may be the user's name, avatar, or other information used to indicate the user's identity. After the terminal obtains the annotation information input by the user, it can display the to-be-shared file corresponding to the annotated target file preview image, The annotation information and the user ID triggering the annotation operation are sent to the server, and after receiving the information, the server forwards it to other users participating in the conference.

可以理解的是,基于对待共享文件对应的文件预览图的批注操作,可以获取用户对待共享文件的批注信息,并将该批注信息呈现于文件共享显示区域,从而使得与会的其他用户可以看到,提高了用户的参与感。It can be understood that, based on the annotation operation of the file preview image corresponding to the file to be shared, the user's annotation information of the file to be shared can be obtained, and the annotation information can be presented in the file sharing display area, so that other users in the meeting can see it. Increased user engagement.

在本申请的一些实施例中,在基于各个待共享文件的显示位置信息,显示各个待共享文件,即步骤S104之后,还可以执行下述步骤S501至步骤S503。In some embodiments of the present application, after each to-be-shared file is displayed based on the display position information of each to-be-shared file, that is, after step S104, the following steps S501 to S503 may also be performed.

S501、确定显示于共享文件显示区域中待讲解的第二待共享文件。S501. Determine the second to-be-shared file displayed in the shared file display area to be explained.

需要说明的是,第二待共享文件可以是主讲文件,例如由主讲人上传的待共享文件,通过确定显示于共享文件显示区域中待讲解的第二待共享文件,可以便于用户对该第二待共享文件进行关注。It should be noted that the second to-be-shared file may be a lecture file, for example, a to-be-shared file uploaded by the lecturer. Follow the files to be shared.

S502、将第二待共享文件的显示区域突出显示。S502. Highlight the display area of the second file to be shared.

在一些实施例中,如图4所示,为本申请实施例提供的一种待共享文件的显示界面示意图,在确定了共享文件显示区域中的第二待共享文件之后,便可以对第二待共享文件对应的显示区域突出显示,突出显示的方式可以是将第二待共享文件的显示区域高亮显示,如图4中所示的第一个待共享文件便为被高亮显示的第二待共享文件,如此,用户便可以获知共享文件显示区域中的第二待共享文件。In some embodiments, as shown in FIG. 4 , which is a schematic diagram of a display interface of a file to be shared provided by an embodiment of the present application, after the second file to be shared in the shared file display area is determined, the second file to be shared can be displayed. The display area corresponding to the file to be shared is highlighted, and the way of highlighting can be to highlight the display area of the second file to be shared. As shown in FIG. 4, the first file to be shared is the highlighted first file. The second file to be shared, in this way, the user can know the second file to be shared in the shared file display area.

S503、对共享文件显示区域进行缩放和移动,使得第二待共享文件在共享文件显示区域的中间位置显示。S503. Zoom and move the shared file display area, so that the second to-be-shared file is displayed in the middle of the shared file display area.

在一些实施例中,如图5所示,为本申请实施例提供的一种待共享文件的显示效果示意图,对共享文件显示区域的缩放可以包括对整个共享文件显示区域的放大或缩小,对共享文件显示区域的移动可以包括对整个共享文件显示区域的左移、右移,上移、下移等。通过对共享文件显示区域的缩放和移动,可以使得第二共享文件在共享文件显示区域的居中位置显示,例如图5中所示的位置,以便于用户关注该第二待共享文件,在此过程中,共享文件显示区域中除第二待共享文件之外的其他待共享文件与第二待共享文件的相对位置不变。In some embodiments, as shown in FIG. 5 , which is a schematic diagram of a display effect of a file to be shared provided by an embodiment of the present application, the zooming in and out of the display area of the shared file may include zooming in or out of the entire display area of the shared file. The movement of the shared file display area may include left movement, right movement, upward movement, downward movement, and the like of the entire shared file display area. By zooming and moving the shared file display area, the second shared file can be displayed in the center of the shared file display area, such as the position shown in FIG. 5 , so that the user can pay attention to the second to-be-shared file. During this process , the relative positions of other to-be-shared files and the second to-be-shared file in the shared file display area remain unchanged except for the second to-be-shared file.

在一些实施例中,在确定显示于共享文件显示区域中待讲解的第二待共享文件之后,可以接收针对文件共享显示区域的点击操作,响应于该点击操作,在文件共享显示区域加载显示浮层,通过该浮层显示第二待共享文件。In some embodiments, after determining the second to-be-shared file displayed in the shared-file display area to be explained, a click operation on the file-sharing display area may be received, and in response to the click operation, a floating display is loaded in the file-sharing display area. layer, through which the second file to be shared is displayed.

在另一些实施例中,会议展示界面中还可以包括用户标识显示区域,用户标识显示区域显示有至少一个用户标识,基于此,当前用户对应的终端还可以接收针对用户标识显示区域中任意一个非目标用户标识的点击操作,若确定当前用户对应的终端用于存储待共享文件的本地存储空间中不存在被点击的非目标用户标识对应的待共享文件时,响应于该点击操作,向服务器发送文件获取请求,服务器接收到该文件获取请求之后,可以向当前用户对应的终端发送被点击的非目标用户标识对应的待共享文件,当前用户对应的终端接收到该待共享文件之后,可以确定该待共享文件在共享文件显示区域的显示位置信息,并基于该待共享文件的显示位置信息对其进行突出显示。In other embodiments, the conference presentation interface may further include a user identification display area, and at least one user identification is displayed in the user identification display area. Based on this, the terminal corresponding to the current user may also receive any non-identity messages in the user identification display area. The click operation of the target user ID, if it is determined that there is no file to be shared corresponding to the clicked non-target user ID in the local storage space used by the terminal corresponding to the current user to store the file to be shared, send a message to the server in response to the click operation A file acquisition request. After receiving the file acquisition request, the server can send the file to be shared corresponding to the clicked non-target user ID to the terminal corresponding to the current user. After receiving the to-be-shared file, the terminal corresponding to the current user can determine the file to be shared. Display position information of the file to be shared in the shared file display area, and highlight it based on the display position information of the file to be shared.

在本申请的一些实施例中,确定显示于共享文件显示区域中待讲解的第二待共享文件,即步骤S501可以通过下述步骤S5011至步骤S5013来实现,以下对各个步骤进行详细说明。In some embodiments of the present application, determining the second to-be-shared file displayed in the shared file display area to be explained, that is, step S501 can be implemented through the following steps S5011 to S5013, and each step will be described in detail below.

S5011、获取显示于共享文件显示区域的各个待共享文件的用户标识。S5011. Obtain the user identifiers of each file to be shared displayed in the shared file display area.

在一些实施例中,各个待共享文件的用户标识可以在待共享文件的显示区域的上方显示,也可以在在待共享文件的显示区域的下方显示。在另一些实施例中,待共享文件的文件名称也可以对应显示于待共享文件的显示区域的上方、下方等位置,在此情况下,在确定各个待共享文件在共享文件显示区域中的显示位置信息,及执行步骤S103时,可以为待共享文件的用户标识,以及待共享文件的文件名称等信息预留位置。基于此,在一些实施例中,对于显示于文件共享显示区域的待共享文件,可以获取各个待共享文件各自对应的用户标识。In some embodiments, the user identifiers of each file to be shared may be displayed above the display area of the file to be shared, or may be displayed below the display area of the file to be shared. In some other embodiments, the file names of the files to be shared may also be displayed at positions above or below the display area of the files to be shared. In this case, after determining the display of each file to be shared in the shared file display area location information, and when step S103 is performed, a location may be reserved for information such as the user identifier of the file to be shared, the file name of the file to be shared, and the like. Based on this, in some embodiments, for the files to be shared displayed in the file sharing display area, respective user identifiers corresponding to the files to be shared may be obtained.

S5012、获取预设的目标用户标识。S5012. Acquire a preset target user identifier.

需要说明的是,目标用户标识的会议身份为主讲人身份。在一些实施例中,可以在从终端上传待共享文件时,获取针对主讲人控件(主讲人控件可以用于判断当前用户是否是主讲人)的点击操作,并响应于该点击操作,将从该终端上传的待共享文件对应的用户标识作为预设的目标用户标识,同时可以将该预设的目标用户标识发送给服务器进行存储,并转发给其他用户对应的终端,使得不同用户对应的终端都有可以获取到预设的目标用户标识。It should be noted that the conference identity identified by the target user is the speaker identity. In some embodiments, when the file to be shared is uploaded from the terminal, a click operation for the presenter control (the presenter control can be used to determine whether the current user is the presenter) may be obtained, and in response to the click operation, the presenter control will be The user ID corresponding to the file to be shared uploaded by the terminal is used as the preset target user ID. At the same time, the preset target user ID can be sent to the server for storage, and forwarded to the terminals corresponding to other users, so that the terminals corresponding to different users are all different. There is a preset target user ID that can be obtained.

S5013、将目标用户标识对应的待共享文件确定为待讲解的第二待共享文件。S5013: Determine the file to be shared corresponding to the target user identifier as the second file to be shared to be explained.

在一些实施例中,在确定了预设的目标用户标识后,便可以确定该目标用户标识对应的待共享文件,由于目标用户标识可以表明用户的会议身份是主讲人,且主讲人上传的文件为主讲文件,因此基于目标用户标识便可以确定目标用户标识对应的待共享文件为待讲解的第二待共享文件,即主讲文件。In some embodiments, after the preset target user ID is determined, the file to be shared corresponding to the target user ID can be determined, because the target user ID can indicate that the user's conference identity is the presenter, and the file uploaded by the presenter It is the main lecture file, so based on the target user identification, it can be determined that the to-be-shared file corresponding to the target user identification is the second to-be-shared file to be explained, that is, the main lecture file.

在本申请实施例中,通过响应于加入线上会议的触发操作,呈现会议展示界面,会议展示界面中包括共享文件显示区域;获取待共享文件,待共享文件包括至少一个,待共享文件是由不同终端上传的;确定各个待共享文件在共享文件显示区域的显示位置信息;基于各个待共享文件的显示位置信息,显示各个待共享文件。如此,通过将由不同终端上传的待共享文件在共享文件显示区域进行显示,可以使得参与线上会议的用户均可以看到所有的共享文件,以便于用户进行共享文件内容的讨论,提高用户的参与感和线上会议的沟通效率。In the embodiment of the present application, a conference presentation interface is presented in response to a trigger operation of joining an online conference, and the conference presentation interface includes a shared file display area; the to-be-shared file is acquired, the to-be-shared file includes at least one, and the to-be-shared file is created by It is uploaded from different terminals; the display position information of each to-be-shared file in the shared file display area is determined; and each to-be-shared file is displayed based on the display position information of each to-be-shared file. In this way, by displaying the files to be shared uploaded by different terminals in the shared file display area, all the shared files can be viewed by users participating in the online conference, so as to facilitate the users to discuss the content of the shared files and improve the user's participation Sense and communication efficiency of online meetings.

下面,对申请实施例在实际应用场景中的实现过程进行介绍。In the following, the implementation process of the application embodiment in an actual application scenario is introduced.

在一些实施例中,如图6所示,为本申请实施例提供的一种视频会议的文件共享方法的流程示意图,本申请实施例提供的视频会议的文件共享方法可以通过下述的步骤S601至步骤S603来实现,以下对各个步骤进行详细说明。In some embodiments, as shown in FIG. 6 , which is a schematic flowchart of a file sharing method for a video conference provided by an embodiment of the present application, the file sharing method for a video conference provided by the embodiment of the present application can go through the following step S601 It is implemented in step S603, and each step will be described in detail below.

S601、获取用户上传的共享文件(待共享文件),对共享文件进行校验和转发。S601. Acquire a shared file (file to be shared) uploaded by a user, and check and forward the shared file.

在一些实施例中,本申请实施例提供的视频会议的文件共享方法涉及终端端和服务器之间的交互,当一个或多个用户登入或加入视频会议应用程序中时,终端显示所有会议用户、空白的文件共享区域(共享文件显示区域),同时,服务器会新建Session表,用以记录维护当前会议的实时状态。In some embodiments, the video conference file sharing method provided by the embodiments of the present application involves interaction between a terminal and a server. When one or more users log in or join a video conference application, the terminal displays all conference users, Blank file sharing area (shared file display area), at the same time, the server will create a new session table to record and maintain the real-time status of the current conference.

当用户登录或加入会议后,每个用户均可以拖拽任一文件至文件共享区域,该操作会触发终端会对文件共享显示区域中的共享文件进行校验。在进行校验时,可以判断文件类型,若共享文件为该视频会议应用程序可接受的类型的文件,则可以继续进行对共享文件的转发;若为其他类型的文件,则提醒用户“视频会议应用程序不支持当前文件类型”,并结束文件的拖拽操作。After a user logs in or joins a meeting, each user can drag and drop any file to the file sharing area, and this operation will trigger the terminal to verify the shared files in the file sharing display area. When verifying, the file type can be judged. If the shared file is a file of a type acceptable to the video conferencing application, the shared file can be forwarded; The application does not support the current file type" and ends the dragging operation of the file.

在进行文件转发时,终端读取共享文件的内容,并同时存储共享文件至本地缓存(例如浏览器缓存)中,服务器接收到共享文件后,将共享文件于数据库中持久化存储;同时,由服务器发送该共享文件至当前会议中的其他用户,其他用户接收后,也存储该文件至本地缓存中。When the file is forwarded, the terminal reads the content of the shared file and simultaneously stores the shared file in the local cache (such as the browser cache). After receiving the shared file, the server stores the shared file persistently in the database; The server sends the shared file to other users in the current conference, and other users also store the file in the local cache after receiving it.

S602、将校验通过的共享文件存储至本地存储空间,并对校验通过的共享文件进行布局以在文件共享区域进行显示。S602. Store the shared files that have passed the verification in the local storage space, and lay out the shared files that have passed the verification to be displayed in the file sharing area.

在对共享文件进行校验之后,当前会议中的用户均可以获取校验通过的共享文件,包括当前用户自身对应的终端上传的共享文件和服务器分发的共享文件。在这之后,可以将校验通过的共享文件存储至本地存储空间,并确定各个当共享文件在文件共享区域的位置,对各个共享文件进行布局,在实际中,例如对于web页面,可以使用瀑布流的布局方式对文件共享区域种的各个共享文件进行布局,对各个共享文件布局之后,便可以将各个共享文件呈现在文件共享区域内。After the shared file is verified, all users in the current conference can obtain the verified shared file, including the shared file uploaded by the terminal corresponding to the current user and the shared file distributed by the server. After that, the shared files that pass the verification can be stored in the local storage space, and the position of each shared file in the file sharing area can be determined, and each shared file can be laid out. In practice, for example, for web pages, waterfalls can be used. The flow layout method lays out each shared file in the file sharing area, and after each shared file is laid out, each shared file can be presented in the file sharing area.

在一些实施例中,可以对文件共享区域进行整体的放缩、挪动,文件共享区域由若干文件模块组成,每个模块包含三大部分:文件相关描述、文件预览图、翻页控件。文件相关描述包含上传作者、文件名称等内容;文件预览图可以对共享文件内容的进行展示,在终端读取共享文件后,可视化的呈现文件预览图内;翻页控件可以是提供页面总数、前后翻页的控件,供用户逐页浏览共享文件,当用户点击翻页按钮时,终端将共享文件对应页面的预览图展示在文件共享区域中。In some embodiments, the file sharing area can be scaled and moved as a whole. The file sharing area is composed of several file modules, and each module includes three parts: a file related description, a file preview, and a page turning control. The file-related description includes the upload author, file name, etc.; the file preview image can display the content of the shared file, and after the terminal reads the shared file, the file preview image is visualized; the page-turning control can provide the total number of pages, before and after The page turning control allows users to browse the shared files page by page. When the user clicks the page turning button, the terminal displays the preview image of the page corresponding to the shared file in the file sharing area.

在一些实施例中,视频会议界面可以包括用于呈现用户头像的区域,通过点击用户头像,可以查看其他用户的共享文件。在实际应用中,用户可通过点击其他用户头像的操作查看,例如,若用户点击主讲人对应的用户头像时,终端发送一个携带有被点击用户的id请求至服务器,服务器返回该被点击用户正在关注的主讲文件的文档及页码;若用户点击非主讲人头像时,终端发送一个携带有被点击用户的id请求至服务器,服务器返回该被点击用户正在关注的由其他用户上传的文档。前端接收返回的结果后,更改当前用户的视图,将被点击用户所读文档的预览图居中显示在共享文件显示区域内。In some embodiments, the video conferencing interface may include an area for presenting user avatars, and by clicking on the user avatars, shared files of other users can be viewed. In practical applications, the user can view it by clicking on the avatar of other users. For example, if the user clicks on the user avatar corresponding to the presenter, the terminal sends a request with the id of the clicked user to the server, and the server returns the clicked user's id request to the server. The document and page number of the lecturer file of interest; if the user clicks on the avatar of a non-speaker, the terminal sends a request carrying the id of the clicked user to the server, and the server returns the document uploaded by other users that the clicked user is following. After the front end receives the returned result, it changes the view of the current user, and the preview image of the document read by the clicked user is displayed in the center in the shared file display area.

S603、监听本地存储空间的缓存状态,当本地存储空间的缓存状态发生变化时,重新对共享文件进行布局并显示。S603. Monitor the cache state of the local storage space, and re-layout and display the shared file when the cache state of the local storage space changes.

在一些实施例中,当前用户对应的终端上传的共享文件和由其他用户对应的终端上传的共享文件均会存储于本地存储空间,当本地存储空间的缓存状态发生变化,表示当前视频会议的共享文件集合发生变化,触发终端对各文件进行布局,并将重新布局后的共享文件在文件共享区域显示。In some embodiments, the shared files uploaded by the terminal corresponding to the current user and the shared files uploaded by the terminals corresponding to other users will be stored in the local storage space. When the cache status of the local storage space changes, it indicates that the current video conference is shared When the file set changes, the terminal is triggered to layout each file, and the rearranged shared files are displayed in the file sharing area.

可以理解的是,在本申请实施例中,通过获取不同用户对应终端上传的共享文件,并将各个共享文件在文件共享显示区域显示,使得每个加入视频会议中的用户均可以一次性看到所有用户的共享文件,也可以快速定位到任一用户的文件,避免了对共享文件的多次操作,提升了用户的体验。同时,通过监听本地存储空间的缓存状态,并在缓存状态发生变化时,及时更新共享文件集合,将更新后的共享文件显示于文件共享区域,使得用户可以实时获取全面的共享文件,促进沟通效率。It can be understood that, in the embodiment of the present application, by acquiring the shared files uploaded by the corresponding terminals of different users, and displaying each shared file in the file sharing display area, each user who joins the video conference can see it at one time. The shared files of all users can also be quickly located to the files of any user, avoiding multiple operations on the shared files and improving the user experience. At the same time, by monitoring the cache status of the local storage space, and when the cache status changes, the shared file collection is updated in time, and the updated shared files are displayed in the file sharing area, so that users can obtain comprehensive shared files in real time and promote communication efficiency. .

本申请还提供一种文件共享装置,图7为本申请实施例提供的一种文件共享装置的组成结构示意图,如图7所示,所述文件共享装置700包括:The present application further provides a file sharing apparatus. FIG. 7 is a schematic diagram of the composition structure of a file sharing apparatus provided by an embodiment of the present application. As shown in FIG. 7 , the file sharing apparatus 700 includes:

触发模块701,用于响应于加入线上会议的触发操作,呈现会议展示界面,所述会议展示界面中包括共享文件显示区域;a triggering module 701, configured to present a conference presentation interface in response to a trigger operation of joining an online conference, where the conference presentation interface includes a shared file display area;

获取模块702,用于获取待共享文件,所述待共享文件包括至少一个,所述待共享文件是由不同终端上传的;an obtaining module 702, configured to obtain a file to be shared, the file to be shared includes at least one file to be shared, and the file to be shared is uploaded by different terminals;

确定模块703,用于确定各个待共享文件在所述共享文件显示区域的显示位置信息;A determination module 703, configured to determine the display position information of each to-be-shared file in the shared file display area;

显示模块704,用于基于所述各个待共享文件的显示位置信息,显示所述各个待共享文件。The display module 704 is configured to display the respective files to be shared based on the display position information of the respective files to be shared.

需要说明的是,本申请实施例文件共享装置的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be noted that, the description of the file sharing apparatus in this embodiment of the present application is similar to the description of the foregoing method embodiment, and has similar beneficial effects as the method embodiment, so it will not be repeated. For technical details not disclosed in the embodiments of the apparatus, please refer to the description of the method embodiments of the present application to understand.

需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的控制方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OnlyMemory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiments of the present application, if the above control method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that make contributions to related technologies. The computer software products are stored in a storage medium and include several instructions to make A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other mediums that can store program codes. As such, the embodiments of the present application are not limited to any specific combination of hardware and software.

相应地,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的文件共享方法。Correspondingly, the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the file sharing method provided in the foregoing embodiments.

本申请实施例还提供一种文件共享设备。图8为本申请实施例提供的一种文件共享设备的组成结构示意图,如图8所示,所述文件共享设备800包括:存储器801、处理器802、通信接口803和通信总线804。其中,存储器801,用于存储可执行文件共享指令;处理器802,用于执行存储器中存储的可执行文件共享指令时,以实现以上述实施例提供的文件共享方法。The embodiments of the present application also provide a file sharing device. FIG. 8 is a schematic structural diagram of a file sharing device according to an embodiment of the present application. As shown in FIG. 8 , the file sharing device 800 includes: a memory 801 , a processor 802 , a communication interface 803 and a communication bus 804 . The memory 801 is used for storing executable file sharing instructions; the processor 802 is used for implementing the file sharing method provided by the above embodiments when executing the executable file sharing instructions stored in the memory.

以上文件共享设备和存储介质实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请文件共享设备和存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The above descriptions of the file sharing device and storage medium embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the file sharing device and storage medium of the present application, please refer to the description of the method embodiments of the present application for understanding.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit; it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware, the aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, the execution includes: The steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic disk or an optical disk and other media that can store program codes.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一个产品执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence or in the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for A product is made to perform all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.

以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (10)

1. A method of file sharing, comprising:
responding to a trigger operation of joining an online conference, and presenting a conference display interface, wherein the conference display interface comprises a shared file display area;
acquiring files to be shared, wherein the files to be shared comprise at least one file, and the files to be shared are uploaded by different terminals;
determining display position information of each file to be shared in the shared file display area;
and displaying the files to be shared based on the display position information of the files to be shared.
2. The method of claim 1, further comprising:
monitoring a cache state of a local storage space for storing files to be shared, and acquiring newly-added files to be shared when the cache state is determined to be changed;
determining display position information of each newly-added file to be shared in a shared file display area;
and displaying the updated files to be shared based on the display position information of the newly added files to be shared.
3. The method of claim 1, further comprising:
in response to the selection operation for the file, determining the selected file in the local storage space of the terminal;
acquiring the file type of the selected file;
verifying the selected file based on the file type to obtain a verification result;
determining that the inspection result is that the inspection is passed, and storing the selected file into a local storage space for storing files to be shared;
and sending the selected file to a server.
4. The method of claim 1, wherein the determining of the display position information of each file to be shared in the shared file display area comprises:
acquiring position information of the shared file display area, uploading time of each file to be shared and preset size information of each file to be shared;
if no other file to be shared with the determined display position information exists before the uploading time of the first file to be shared, determining the position information of the first file to be shared based on the position information of the shared file display area and the preset size information of the first file to be shared.
5. The method according to claim 1, wherein the displaying the files to be shared based on the display position information of the files to be shared comprises:
determining a display area of each file to be shared based on the display position information of each file to be shared;
acquiring a file preview corresponding to each page to be displayed in each file to be shared;
and displaying a file preview image corresponding to a preset page in each file to be shared in a display area of each file to be shared.
6. The method of claim 5, further comprising:
receiving annotation operation aiming at a target file preview image, and responding to the annotation operation to display an information input control;
acquiring input annotation information based on input operation aiming at the information input control;
and sending the file to be shared, the annotation information and the user identification triggering the annotation operation, which correspond to the target file preview image, to a server.
7. The method of claim 5, wherein a page number update control corresponding to each file to be shared is presented in the shared file display area, the method further comprising:
receiving a first click operation aiming at a target page number updating control;
responding to the first click operation, and acquiring a current display page of a target file to be shared corresponding to the target page number updating control;
determining a target display page based on the first click operation and the current display page;
and displaying a file preview image corresponding to the target display page in the display area of the target file to be shared.
8. The method of claim 1, further comprising:
determining a second file to be shared displayed in the shared file display area and to be explained;
highlighting the display area of the second file to be shared;
zooming and moving the shared file display area to enable the second file to be shared to be displayed in the middle of the shared file display area, wherein the relative positions of other files to be shared except the second file to be shared in the shared file display area and the second file to be shared are unchanged.
9. The method of claim 8, the determining a second file to be shared that is displayed in the shared file display area for explanation comprising:
acquiring user identifications of all files to be shared displayed in the shared file display area;
acquiring a preset target user identification, wherein the conference identity of the target user identification is a speaker identity;
and determining the file to be shared corresponding to the target user identification as a second file to be shared to be explained.
10. A file sharing apparatus comprising:
a memory to store executable file sharing instructions;
a processor for implementing the method of any one of claims 1 to 9 when executing executable file sharing instructions stored in the memory.
CN202210267150.3A 2022-03-17 2022-03-17 File sharing method and file sharing equipment Pending CN114816293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210267150.3A CN114816293A (en) 2022-03-17 2022-03-17 File sharing method and file sharing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210267150.3A CN114816293A (en) 2022-03-17 2022-03-17 File sharing method and file sharing equipment

Publications (1)

Publication Number Publication Date
CN114816293A true CN114816293A (en) 2022-07-29

Family

ID=82528727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210267150.3A Pending CN114816293A (en) 2022-03-17 2022-03-17 File sharing method and file sharing equipment

Country Status (1)

Country Link
CN (1) CN114816293A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328363A (en) * 2022-08-12 2022-11-11 深圳乐播科技有限公司 File processing method, electronic equipment and related product
US20240098123A1 (en) * 2022-09-16 2024-03-21 Google Llc Presentation of Remotely Accessible Content for Optimizing Teleconference Resource Utilization
WO2024178962A1 (en) * 2023-02-28 2024-09-06 华为技术有限公司 Method for sharing file, electronic device, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820430A (en) * 2010-05-12 2010-09-01 中兴通讯股份有限公司 Method and device for realizing file sharing in IMS WEB meeting
CN104750450A (en) * 2015-04-03 2015-07-01 魅族科技(中国)有限公司 File sharing method in IM (Instant Messaging) and terminal
CN107423370A (en) * 2017-07-01 2017-12-01 珠海格力电器股份有限公司 Method and device for displaying shared file and electronic equipment
CN108228644A (en) * 2016-12-21 2018-06-29 北京京东尚科信息技术有限公司 For method and device derived from report
CN108322522A (en) * 2018-01-18 2018-07-24 努比亚技术有限公司 File sharing method, mobile terminal based on mobile terminal and storage medium
CN110737415A (en) * 2019-09-12 2020-01-31 北京真视通科技股份有限公司 Screen sharing method and device, computer equipment and storage medium
CN111049790A (en) * 2018-10-15 2020-04-21 北京仁光科技有限公司 Data interaction system and data interaction method
CN111679881A (en) * 2020-06-09 2020-09-18 腾讯科技(深圳)有限公司 File processing method and device, computer equipment and storage medium
CN112311754A (en) * 2020-06-02 2021-02-02 北京字节跳动网络技术有限公司 Interactive method, apparatus and electronic device
CN113535645A (en) * 2021-03-11 2021-10-22 北京字跳网络技术有限公司 Display method, device, electronic device and storage medium for shared documents

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820430A (en) * 2010-05-12 2010-09-01 中兴通讯股份有限公司 Method and device for realizing file sharing in IMS WEB meeting
CN104750450A (en) * 2015-04-03 2015-07-01 魅族科技(中国)有限公司 File sharing method in IM (Instant Messaging) and terminal
CN108228644A (en) * 2016-12-21 2018-06-29 北京京东尚科信息技术有限公司 For method and device derived from report
CN107423370A (en) * 2017-07-01 2017-12-01 珠海格力电器股份有限公司 Method and device for displaying shared file and electronic equipment
CN108322522A (en) * 2018-01-18 2018-07-24 努比亚技术有限公司 File sharing method, mobile terminal based on mobile terminal and storage medium
CN111049790A (en) * 2018-10-15 2020-04-21 北京仁光科技有限公司 Data interaction system and data interaction method
CN110737415A (en) * 2019-09-12 2020-01-31 北京真视通科技股份有限公司 Screen sharing method and device, computer equipment and storage medium
CN112311754A (en) * 2020-06-02 2021-02-02 北京字节跳动网络技术有限公司 Interactive method, apparatus and electronic device
CN111679881A (en) * 2020-06-09 2020-09-18 腾讯科技(深圳)有限公司 File processing method and device, computer equipment and storage medium
CN113535645A (en) * 2021-03-11 2021-10-22 北京字跳网络技术有限公司 Display method, device, electronic device and storage medium for shared documents

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328363A (en) * 2022-08-12 2022-11-11 深圳乐播科技有限公司 File processing method, electronic equipment and related product
CN115328363B (en) * 2022-08-12 2023-11-03 深圳乐播科技有限公司 File processing method, electronic equipment and related products
US20240098123A1 (en) * 2022-09-16 2024-03-21 Google Llc Presentation of Remotely Accessible Content for Optimizing Teleconference Resource Utilization
US12088648B2 (en) * 2022-09-16 2024-09-10 Google Llc Presentation of remotely accessible content for optimizing teleconference resource utilization
WO2024178962A1 (en) * 2023-02-28 2024-09-06 华为技术有限公司 Method for sharing file, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US11172006B1 (en) Customizable remote interactive platform
US11470127B2 (en) Method, system, and non-transitory computer-readable record medium for displaying reaction during VoIP-based call
US8464164B2 (en) System and method to create a collaborative web-based multimedia contextual dialogue
US8010901B1 (en) System and method for automated synchronized co-browsing
CN110399562B (en) Information display device, method, display terminal and medium for social application
US11418551B2 (en) Method and system for providing virtual whiteboard based collaboration service
CN114816293A (en) File sharing method and file sharing equipment
US20170115855A1 (en) Interactive whiteboard sharing
US11288031B2 (en) Information processing apparatus, information processing method, and information processing system
US20120324355A1 (en) Synchronized reading in a web-based reading system
US10887551B2 (en) Information processing apparatus, information processing system and information processing method
US10341397B2 (en) Non-transitory computer readable medium, information processing apparatus, and information processing system for recording minutes information
US10990749B2 (en) Messaging application with presentation service
WO2013149320A1 (en) System and method for generating digital content
US9092533B1 (en) Live, real time bookmarking and sharing of presentation slides
US20160028789A1 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium
JP6497184B2 (en) Terminal device, program, content sharing method, and information processing system
US12182763B2 (en) Systems and methods for multi-party distributed active co-browsing
US20230353802A1 (en) Systems and methods for multi-party distributed active co-browsing of video-based content
US20230385768A1 (en) Workspace Video Collaboration
US20240427546A1 (en) Systems and methods for screen sharing
WO2023214911A1 (en) A collaborative content system
JP7168238B2 (en) meeting support system
US20200210136A1 (en) Content server, information sharing system, communication control method, and non-transitory computer-readable medium
US20210048971A1 (en) Information processing apparatus, information processing system, and information processing method

Legal Events

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