CN110750197A - File sharing method, device and system, corresponding equipment and storage medium - Google Patents
File sharing method, device and system, corresponding equipment and storage medium Download PDFInfo
- Publication number
- CN110750197A CN110750197A CN201910989347.6A CN201910989347A CN110750197A CN 110750197 A CN110750197 A CN 110750197A CN 201910989347 A CN201910989347 A CN 201910989347A CN 110750197 A CN110750197 A CN 110750197A
- Authority
- CN
- China
- Prior art keywords
- shared
- file
- source device
- source
- sharing
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请实施例公开了文件共享方法、装置、系统、相应设备及存储介质。该方法包括:接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,第一共享触发区域与第二源端设备相关联,第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备。利用该方法,通过用户简单的在交互智能设备上将当前展示界面的拖动到对应的触发区域,就可以触发实现当前展示界面的文件内容到其他任一源端设备的共享,由此实现了与同一交互智能设备建立连接的各源端设备间文件的快速共享,从而简化在进行文件内容全屏展示时各源端设备间文件共享的实现流程。
The embodiments of the present application disclose a file sharing method, apparatus, system, corresponding device, and storage medium. The method includes: receiving a drag operation for dragging the current display interface to a first shared trigger area, the first shared trigger area is associated with a second source device, and the first source device and the second source The end devices are any two source end devices that establish a communication connection with the execution device; through the dragging operation, the to-be-shared file corresponding to the current display interface is shared to the second source end device. Using this method, by simply dragging the current display interface to the corresponding trigger area on the interactive smart device, the user can trigger the sharing of the file content of the current display interface to any other source device. Quickly share files between source devices connected to the same interactive smart device, thereby simplifying the implementation process of file sharing between source devices during full-screen display of file content.
Description
技术领域technical field
本申请涉及所述交互智能设备技术领域,尤其涉及文件共享方法、装置、系统、相应设备及存储介质。The present application relates to the technical field of the interactive intelligent device, and in particular, to a file sharing method, apparatus, system, corresponding device and storage medium.
背景技术Background technique
目前,基于无线传屏技术,能够实现多个源端设备到一个交互智能设备的无线网络连接,一般的,多个源端设备与交互智能设备上建立无线网络连接后,可以将多个源端设备的界面内容同时展示在交互智能设备上;也可以从已连接设备列表中选中任一个源端设备,在交互智能设备上展示所选中源端设备的界面内容(该种情况的界面内容多为待演示内容或待汇报内容等需要全屏展示的内容)。At present, based on the wireless screen sharing technology, it is possible to realize the wireless network connection between multiple source devices and one interactive smart device. Generally, after multiple source devices establish a wireless network connection with the interactive smart device, multiple source devices can The interface content of the device is displayed on the interactive smart device at the same time; you can also select any source device from the list of connected devices, and display the interface content of the selected source device on the interactive smart device (the interface content in this case is mostly Content that needs to be displayed in full screen, such as the content to be demonstrated or the content to be reported).
假设源端设备A和B均与一个交互智能设备建立无线网络连接,且源端设备A中的文件内容当前在交互智能设备上全屏展示,在实际应用中,若源端设备A想要将当前所展示的文件内容共享给其他源端设备(比如源端设备B),目前的实现方式是首先操作源端设备A,使之退出在交互智能设备上的全屏显示,然后找到该文件内容并将该文件内容通过优盘由源端设备A拷贝到源端设备B,或者,通过一些文件传输软件将文件内容从源端设备A传输至源端设备B。Assuming that both source devices A and B have established a wireless network connection with an interactive smart device, and the content of the file in source device A is currently displayed in full screen on the interactive smart device, in practical applications, if source device A wants to The displayed file content is shared with other source devices (such as source device B). The current implementation method is to first operate the source device A to exit the full-screen display on the interactive smart device, and then find the file content and put it The file content is copied from the source device A to the source device B through a USB flash drive, or the file content is transferred from the source device A to the source device B through some file transfer software.
上述文件共享实现中,整个实现过程操作繁琐,需要用户过多的参与,且打断了原有文件内容的展示,无法实现均与交互智能设备建立无线网络连接的源端设备间文件的有效共享。In the above file sharing implementation, the entire implementation process is cumbersome, requires excessive user participation, interrupts the display of the original file content, and cannot achieve effective file sharing between source devices that establish wireless network connections with interactive smart devices. .
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供了文件共享方法、装置、系统及设备,以实现与所述交互智能设备均建立无线网络连接的源端设备间文件的有效共享。In view of this, the embodiments of the present application provide a file sharing method, apparatus, system, and device, so as to realize the effective sharing of files between source devices that have established wireless network connections with the interactive smart devices.
第一方面,本申请实施例提供了一种文件共享方法,本执行设备与至少两个源端设备通过无线网络建立通信连接,且从各所述源端设备中任一选定的第一源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,所述方法包括:In a first aspect, an embodiment of the present application provides a file sharing method. The execution device establishes a communication connection with at least two source end devices through a wireless network, and selects a first source device from any of the source end devices. The current interface of the terminal device is displayed on the touch display screen of the execution device as the current display interface, and the method includes:
接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二源端设备相关联,所述第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;A drag operation for dragging the current display interface to a first shared trigger area is received, wherein the first shared trigger area is associated with a second source device, and the first source device is associated with the first source device. Two source devices are any two source devices that establish a communication connection with the execution device;
通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备。Through the dragging operation, the to-be-shared file corresponding to the current display interface is shared to the second source device.
进一步地,所述第一共享触发区域包含在所述触摸显示屏上的悬浮触发窗口中;Further, the first shared trigger area is included in a floating trigger window on the touch display screen;
所述悬浮触发窗口中包含至少一个具备不同触发标号的共享触发区域,各共享触发区域关联一个与所述本执行设备建立网络通信连接的源端设备。The floating trigger window includes at least one shared trigger area with different trigger labels, and each shared trigger area is associated with a source device that establishes a network communication connection with the current execution device.
进一步地,所述悬浮触发窗口以圆形区域呈现,各所述共享触发区域为均分所述圆形区域的扇形区域;或者,Further, the floating trigger window is presented in a circular area, and each of the shared trigger areas is a fan-shaped area that equally divides the circular area; or,
所述悬浮触发窗口以矩形区域呈现,各所述共享触发区域为均分所述矩形区域的子矩形区域。The floating trigger window is presented in a rectangular area, and each of the shared trigger areas is a sub-rectangular area that equally divides the rectangular area.
进一步地,通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,包括:Further, through the dragging operation, sharing the to-be-shared file corresponding to the current display interface to the second source device, including:
将所述拖拽操作的操作数据发送至所述第一源端设备;sending the operation data of the drag operation to the first source device;
接收到所述第一源端设备发送的文件共享信息,其中,所述文件共享信息由所述第一源端设备在接收到所述操作数据后生成;receiving file sharing information sent by the first source device, wherein the file sharing information is generated by the first source device after receiving the operation data;
通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件。Through the file sharing information, the second source device is enabled to obtain the to-be-shared file corresponding to the current display interface.
进一步地,所述接收到所述第一源端设备发送的文件共享信息,包括:Further, the receiving the file sharing information sent by the first source device includes:
接收所述第一源端设备发送的共享下载信息,所述共享下载信息中包含了所述当前展示界面对应的待共享文件以及所述第二源端设备的第一设备标识。Receive shared download information sent by the first source device, where the shared download information includes the file to be shared corresponding to the current display interface and the first device identifier of the second source device.
进一步地,所述通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件,包括:Further, enabling the second source device to obtain the to-be-shared file corresponding to the current display interface through the file sharing information, including:
根据所述第二源端设备的第一设备标识,确定所述第二源端设备对应的共享链接地址,其中,所述共享链接地址由所述第二源端设备在与本执行设备建立通信连接后反馈;Determine the shared link address corresponding to the second source end device according to the first device identifier of the second source end device, wherein the shared link address is established by the second source end device when establishing communication with the execution device feedback after connection;
基于所述共享链接地址,将所述当前展示界面对应的待共享文件上传至预先创建于所述第二源端设备中的文件服务器,以使所述第二源端设备获得所述当前展示界面对应的待共享文件。Based on the shared link address, upload the to-be-shared file corresponding to the current display interface to a file server pre-created in the second source device, so that the second source device obtains the current display interface The corresponding file to be shared.
进一步地,所述接收到所述第一源端设备发送的文件共享信息,包括:Further, the receiving the file sharing information sent by the first source device includes:
接收所述第一源端设备发送的共享连接信息,所述共享连接信息至少包括:所述第二源端设备的第一设备标识、所述第一源端设备的第二设备标识、以及所述当前展示界面所对应待共享文件的文件地址。Receive shared connection information sent by the first source device, where the shared connection information at least includes: a first device identifier of the second source device, a second device identifier of the first source device, and all The file address of the file to be shared corresponding to the current display interface.
进一步地,所述通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件,包括:Further, enabling the second source device to obtain the to-be-shared file corresponding to the current display interface through the file sharing information, including:
将所述共享连接信息转发给所述第二源端设备,使所述第二源端设备基于所述共享连接信息与所述第一源端设备建立通信连接,以从所述第一源端设备获得所述当前展示界面对应的待共享文件。forwarding the shared connection information to the second source device, so that the second source device establishes a communication connection with the first source device based on the shared connection The device obtains the to-be-shared file corresponding to the current display interface.
进一步地,所述通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,包括:Further, sharing the to-be-shared file corresponding to the current display interface to the second source device through the dragging operation includes:
将所述拖拽操作的操作数据以及预存的已连接设备信息表发送至所述第一源端设备,以使所述第一源端设备基于所述操作数据及已连接设备信息表将所述当前展示界面对应的待共享文件共享至所述第二源端设备。Send the operation data of the drag and drop operation and the pre-stored connected device information table to the first source device, so that the first source device sends the data based on the operation data and the connected device information table to the first source device. The to-be-shared file corresponding to the currently displayed interface is shared to the second source device.
进一步地,在所述本执行设备与至少两个源端设备通过无线网络建立通信连接之后,还包括:Further, after the present execution device establishes a communication connection with at least two source devices through a wireless network, the method further includes:
接收各所述源端设备反馈的设备信息,形成已连接设备信息表,所述设备信息包括:源端设备的设备标识以及预创建在相应源端设备上文件服务器的共享链接地址。The device information fed back by each source device is received to form a connected device information table, where the device information includes: the device identifier of the source device and the shared link address of the file server pre-created on the corresponding source device.
进一步地,在所述本执行设备与至少两个源端设备通过无线网络建立通信连接之后,还包括:Further, after the present execution device establishes a communication connection with at least two source devices through a wireless network, the method further includes:
确定各所述源端设备用于共享触发的触发标号,形成包含各所述触发标号及相应源端设备的设备标识的触发关联表,并发送给各所述源端设备;determining the trigger label used by each of the source devices for shared triggering, forming a trigger association table including each of the trigger labels and the device identifier of the corresponding source device, and sending it to each of the source devices;
基于所述触发关联表创建悬浮触发窗口,按照设定展示属性在所述触摸显示屏上展示所述悬浮触发窗口,并将所述悬浮触发窗口同步展示于各所述源端设备中,其中,所述悬浮触发窗口包含具备不同触发标号且与相应源端设备关联的共享触发区域。Create a suspension trigger window based on the trigger association table, display the suspension trigger window on the touch display screen according to the set display attribute, and display the suspension trigger window in each of the source devices synchronously, wherein, The floating trigger window includes a shared trigger area with different trigger labels and associated with the corresponding source device.
进一步地,所述确定各所述源端设备用于共享触发的触发标号,包括:Further, the determining of the trigger label used by each of the source devices for the shared trigger includes:
确定各所述源端设备与所述无线网络建立通信连接时的连接编号,将各所述连接编号作为相应源端设备的触发标号。A connection number when each source device establishes a communication connection with the wireless network is determined, and each connection number is used as a trigger label of the corresponding source device.
进一步地,所述操作数据至少包括所述拖拽操作中各拖拽点的位置比例信息。Further, the operation data includes at least position scale information of each drag point in the drag operation.
进一步地,所述源端设备为电脑、手机或平板。Further, the source device is a computer, a mobile phone or a tablet.
进一步地,所述无线网络包括WIFI。Further, the wireless network includes WIFI.
第二方面,本申请实施例提供了一种文件共享方法,包括:In a second aspect, an embodiment of the present application provides a file sharing method, including:
接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上;Receive shared interaction information sent by the interactive intelligent device, wherein the shared interactive information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the interactive intelligent On the current display interface in the device;
分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备;When analyzing that the operation data satisfies the sharing trigger condition, determine the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared, wherein the second source device and the current execution terminal Both are source devices that establish communication with the interactive smart device;
通过设定的共享规则使所述待共享文件共享至所述第二源端设备。The to-be-shared file is shared to the second source device through a set sharing rule.
进一步地,所述分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,包括:Further, when the analysis determines that the operation data meets the sharing trigger condition, determining the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared, including:
分析所述操作数据,确定所述拖拽操作在本执行终端上对应的拖拽对象及所述拖拽对象的拖拽结束位置;analyzing the operation data, and determining the dragging object corresponding to the dragging operation on this execution terminal and the dragging end position of the dragging object;
当所述拖拽对象为本执行终端的当前界面且所述拖拽结束位置处于本执行终端所展示的共享触发区域时,确定所述操作数据满足共享触发条件;When the drag object is the current interface of the execution terminal and the drag end position is in the shared trigger area displayed by the execution terminal, it is determined that the operation data satisfies the shared trigger condition;
将所述拖拽对象关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的第二源端设备;Taking the file associated with the dragging object as the file to be shared, and determining the second source device corresponding to the file to be shared according to the dragging end position and the pre-stored trigger association table;
其中,触发关联表由所述交互智能设备确定并发送至本执行终端;Wherein, the trigger association table is determined by the interactive intelligent device and sent to the execution terminal;
所述触发关联表由与所述交互智能设备建立通信连接的各源端设备的设备标识及相应确定的触发标号组成。The trigger association table is composed of device identifiers of each source device that establishes a communication connection with the interactive smart device and correspondingly determined trigger labels.
进一步地,分析所述操作数据,确定所述拖拽操作在本执行终端上对应的拖拽对象及所述拖拽对象的拖拽结束位置,包括:Further, analyzing the operation data to determine the dragging object corresponding to the dragging operation on the execution terminal and the dragging end position of the dragging object, including:
从所述操作数据中提取所述拖拽操作所对应拖拽起始点的起始位置比例信息以及拖拽结束点的结束位置比例信息;Extract the starting position scale information of the dragging start point corresponding to the dragging operation and the ending position scale information of the dragging end point from the operation data;
根据所述起始位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应拖拽起始位置;According to the starting position ratio information combined with the screen size information of the current execution terminal screen, it is determined that the dragging operation corresponds to the dragging start position on the current interface of the current execution terminal;
如果所述拖拽起始位置处于本执行终端当前界面的拖拽框内,则确定所述拖拽对象为本执行终端的当前界面;If the drag start position is in the drag frame of the current interface of the execution terminal, then determine that the drag object is the current interface of the execution terminal;
根据所述结束位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应的拖拽结束位置。According to the end position ratio information combined with the screen size information of the screen of the execution terminal, the drag end position corresponding to the drag operation on the current interface of the execution terminal is determined.
进一步地,所述通过设定的共享规则使所述待共享文件共享至所述第二源端设备,包括:Further, the sharing of the to-be-shared file to the second source device through the set sharing rule includes:
生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件。Generate file sharing information corresponding to the to-be-shared file and send it to the interactive intelligent device to forward it to the second source device through the interactive intelligent device, so that the second source device can share the file based on the information to obtain the file to be shared.
进一步地,所述生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件,包括:Further, the file sharing information corresponding to the file to be shared is generated and sent to the interactive intelligent device, so as to be forwarded to the second source device through the interactive intelligent device, so that the second source device Obtaining the to-be-shared file based on the file sharing information includes:
生成共享下载信息,其中,所述共享下载信息包含了所述待共享文件以及所述第二源端设备的设备标识;generating shared download information, wherein the shared download information includes the to-be-shared file and the device identifier of the second source device;
将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备获得包含在所述共享下载信息中的待共享文件。Send the shared download information to the interactive smart device to forward it to the second source device through the interactive smart device, so that the second source device can obtain the pending download included in the shared download information. shared documents.
进一步地,所述生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件,包括:Further, the file sharing information corresponding to the file to be shared is generated and sent to the interactive intelligent device, so as to be forwarded to the second source device through the interactive intelligent device, so that the second source device Obtaining the to-be-shared file based on the file sharing information includes:
获取所述第二源端设备的第一设备标识、作为第一源端设备的本执行终端的第二设备标识及所述待共享文件的文件地址;Acquiring the first device identifier of the second source device, the second device identifier of the execution terminal serving as the first source device, and the file address of the file to be shared;
基于所述第一设备标识、第二设备标识以及所述文件地址形成共享连接信息;forming shared connection information based on the first device identifier, the second device identifier and the file address;
将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,所述第二源端设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。Sending the shared connection information to the interactive intelligent device to be forwarded to the second source end device through the interactive intelligent device, and the second source end device establishes communication with the execution terminal based on the shared connection information connection to obtain the to-be-shared file from this execution terminal.
进一步地,在将所述共享连接信息发送所述交互智能设备之后,还包括:Further, after sending the shared connection information to the interactive smart device, the method further includes:
接收到所述第二源端设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述第二源端设备,其中,所述共享下载请求由所述第二源端设备根据接收的所述共享连接信息生成。Receive the shared download request sent by the second source device, and send the file to be shared corresponding to the shared download request to the second source device, where the shared download request is sent by the second source device The device generates according to the received shared connection information.
进一步地,所述共享交互信息中还包括:已连接设备信息表,所述已连接设备信息表中包含当前与所述交互智能设备建立通信连接的各源端设备的设备标识及预创建在相应源端设备上文件服务器的共享链接地址。Further, the shared interaction information also includes: a connected device information table, where the connected device information table includes the device identifiers of each source device currently establishing a communication connection with the interactive smart device and pre-created in the corresponding Shared link address of the file server on the source device.
进一步地,所述通过设定的共享规则使所述待共享文件共享至所述第二源端设备,包括:Further, the sharing of the to-be-shared file to the second source device through the set sharing rule includes:
结合所述第二源端设备的设备标识,从所述已连接设备信息表中查找所述第二源端设备的目标共享链接地址;In combination with the device identifier of the second source device, look up the target shared link address of the second source device from the connected device information table;
将所述待共享文件基于所述目标共享链接地址共享至所述第二源端设备的文件服务器中,以使所述第二源端设备获得所述待共享文件Sharing the file to be shared to the file server of the second source device based on the target sharing link address, so that the second source device obtains the file to be shared
第三方面,本申请实施例提供了一种文件共享方法,包括:In a third aspect, an embodiment of the present application provides a file sharing method, including:
从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,Obtain the file to be shared uploaded by the first source device or the interactive smart device from the file server created in the execution terminal, wherein the to-be-shared file is shared by the first source device or the interactive smart device based on the file server link address upload; or,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;Receive the file sharing information forwarded by the interactive intelligent device through the wireless network, and obtain the to-be-shared file in the first source device according to the file sharing information;
其中,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。The file sharing information is generated by the first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
第四方面,本申请实施例提供了一种文件共享装置,本执行设备与至少两个源端设备通过无线网络建立通信连接,且从各所述源端设备中任一选定的第一源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,所述装置包括:In a fourth aspect, an embodiment of the present application provides a file sharing apparatus. The execution device establishes a communication connection with at least two source end devices through a wireless network, and selects a first source device from any one of the source end devices. The current interface of the terminal device is displayed on the touch display screen of the execution device as the current display interface, and the device includes:
第一接收模块,用于接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二源端设备相关联,所述第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;The first receiving module is configured to receive a drag operation of dragging the current display interface to a first shared trigger area, wherein the first shared trigger area is associated with the second source device, and the first shared trigger area is associated with the second source device. The source device and the second source device are any two source devices that establish a communication connection with the execution device;
共享执行模块,用于通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备。The sharing execution module is configured to share the to-be-shared file corresponding to the current display interface to the second source device through the dragging operation.
第五方面,本申请实施例提供了一种文件共享装置,包括:In a fifth aspect, an embodiment of the present application provides a file sharing device, including:
信息接收模块,用于接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上;An information receiving module, configured to receive shared interaction information sent by the interactive intelligent device, wherein the shared interaction information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device displayed on the current display interface in the interactive smart device;
信息确定模块,用于分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备;an information determination module, configured to determine the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared when the operation data satisfies the sharing trigger condition, wherein the second source Both the end device and the execution terminal are source end devices that establish communication with the interactive intelligent device;
共享执行模块,用于通过设定的共享规则使所述待共享文件共享至所述第二源端设备。A sharing execution module, configured to share the to-be-shared file to the second source device through a set sharing rule.
第六方面,本申请实施例提供了一种文件共享装置,包括:In a sixth aspect, an embodiment of the present application provides a file sharing device, including:
文件获取模块,用于从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,The file acquisition module is used to acquire the file to be shared uploaded by the first source device or the interactive intelligent device from the file server created in the execution terminal, wherein the to-be-shared file is based on the first source device or the interactive intelligent device. The shared link address of the file server is uploaded; or,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;Receive the file sharing information forwarded by the interactive intelligent device through the wireless network, and obtain the to-be-shared file in the first source device according to the file sharing information;
其中,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。The file sharing information is generated by the first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
第七方面,本申请实施例提供了一种文件共享系统,包括:交互智能设备以及至少两个源端设备;In a seventh aspect, an embodiment of the present application provides a file sharing system, including: an interactive smart device and at least two source devices;
所述交互智能设备与各所述源端设备通过无线网络建立通信连接,且从各所述源端设备中任一选定的第一源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上;The interactive intelligent device establishes a communication connection with each of the source end devices through a wireless network, and the current interface of the first source end device selected from each of the source end devices is displayed as the current display interface on this execution device. on the touch screen;
所述交互智能设备接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,其中,所述第一共享触发区域与第二源端设备相关联,所述第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;The interactive intelligent device receives a drag operation of dragging the current display interface to the first sharing trigger area, and through the drag operation, the to-be-shared file corresponding to the current display interface is shared to the second sharing trigger area. A source device, wherein the first shared trigger area is associated with a second source device, and the first source device and the second source device are any two sources that establish a communication connection with the execution device terminal equipment;
所述源端设备作为第一源端设备时,接收交互智能设备发送的共享交互信息,分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备;When the source device is the first source device, it receives the sharing interaction information sent by the interactive intelligent device, and when it is analyzed that the operation data meets the sharing trigger condition, it determines the file to be shared corresponding to the current display interface and the to-be-shared file. The second source device corresponding to the shared file, wherein the shared interaction information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the interactive intelligence On the current display interface in the device, the second source device and the execution terminal are both source devices that establish communication with the interactive smart device;
所述源端设备作为第二源端设备时,从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;When the source device is used as the second source device, the to-be-shared file uploaded by the first source-end device or the interactive intelligent device is obtained from the file server created in the execution terminal, wherein the to-be-shared file is created by the first source device. The terminal device or the interactive intelligent device uploads based on the shared link address of the file server; or, receives the file sharing information forwarded by the interactive intelligent device through the wireless network, and obtains the file sharing information in the first source terminal device according to the file sharing information. file to be shared;
其中,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。The file sharing information is generated by the first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
第八方面,本申请实施例提供了一种交互智能设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如本申请实施例第一方面提供的文件共享方法。In an eighth aspect, an embodiment of the present application provides an interactive intelligent device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute as described in the present application The file sharing method provided by the first aspect of the embodiment.
第九方面,本申请实施例提供了一种源端设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如本申请实施例第二方面提供的文件共享方法。In a ninth aspect, an embodiment of the present application provides a source device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute as described in the present application The file sharing method provided by the second aspect of the embodiment.
第十方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如本申请实施例第一方面至第三方面中任意一方面提供的文件共享方法。In a tenth aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the first to third aspects of the embodiments of the present application The file sharing method provided in any aspect of .
本申请实施例提供了文件共享方法、装置、系统、设备及存储介质,本实施例上述技术方案,作为文件共享的技术实现前提的应用场景描述为:待进行文件共享的第一源端设备及获取共享文件的第二源端设备均为与交互智能设备建立通信连接的源端设备且第一源端设备的当前界面作为当前展示界面全屏展示在交互智能设备的触摸显示屏上,触摸显示屏上还呈现了用于文件共享的共享触发区域,在该应用场景下,交互智能设备首先接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,共享触发区域与第二源端设备相关联,第一源端设备与第二源端设备为与本执行设备建立通信连接的任意两个源端设备;然后通过拖拽操作,使当前展示界面对应的待共享文件共享至所述第二源端设备。上述技术方案,解决了多个源端设备与交互智能设备通信连接后,任意一个源端设备的当前界面作为当前展示界面在交互智能设备上全屏展示时,当前展示界面的文件内容共享传输至其他源端设备操作复杂的问题,本实施例的技术方案能够在交互智能设备上继续呈现当前展示界面的前提下,仅通过用户简单的在交互智能设备上将当前展示界面的拖动到对应的触发区域,就可以触发实现当前展示界面的文件内容到其他任一源端设备的共享,由此实现了与同一交互智能设备建立连接的各源端设备间文件的快速共享,从而简化在进行文件内容全屏展示时各源端设备间文件共享的实现流程。The embodiments of the present application provide a file sharing method, apparatus, system, device, and storage medium. The above technical solutions of this embodiment are described as an application scenario that is a prerequisite for technical realization of file sharing: the first source device to be shared and the The second source-end devices that acquire the shared files are all source-end devices that establish a communication connection with the interactive smart device, and the current interface of the first source-end device is displayed in full screen as the current display interface on the touch screen of the interactive smart device, and the touch screen The shared trigger area for file sharing is also presented above. In this application scenario, the interactive smart device first receives the drag operation of dragging the current display interface to the first shared trigger area, and the shared trigger area is connected to the second shared trigger area. The source end device is associated, the first source end device and the second source end device are any two source end devices that establish a communication connection with the execution device; then, through the drag and drop operation, the to-be-shared file corresponding to the current display interface is shared to the second source device. The above technical solution solves the problem that after a plurality of source devices are communicatively connected to the interactive smart device, when the current interface of any source device is displayed in full screen on the interactive smart device as the current display interface, the file content of the current display interface is shared and transmitted to other devices. Due to the complex operation of the source device, the technical solution of this embodiment can, on the premise of continuing to present the current display interface on the interactive smart device, simply drag the current display interface to the corresponding trigger on the interactive smart device by the user. area, you can trigger the sharing of the file content of the current display interface to any other source device, thus realizing the rapid sharing of files between the source devices connected with the same interactive smart device, thus simplifying the process of file content. The implementation process of file sharing between source devices during full-screen display.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例一提供的一种文件共享方法的流程示意图;1 is a schematic flowchart of a file sharing method provided in Embodiment 1 of the present application;
图2给出了本申请实施例一中当前展示界面的拖拽框所处位置的示例图;FIG. 2 provides an example diagram of the position of the drag frame of the current display interface in Embodiment 1 of the present application;
图3给出了本申请实施例一中进行当前展示界面拖拽的效果展示图;Fig. 3 provides the effect display diagram of dragging the current display interface in the first embodiment of the present application;
图4为本申请实施例二提供的一种文件共享方法的流程示意图;4 is a schematic flowchart of a file sharing method according to Embodiment 2 of the present application;
图5为本申请实施例三提供的一种文件共享方法的流程示意图;5 is a schematic flowchart of a file sharing method according to Embodiment 3 of the present application;
图6为本申请实施例四提供的一种文件共享方法的流程示意图;6 is a schematic flowchart of a file sharing method according to Embodiment 4 of the present application;
图7为本申请实施例五提供的一种文件共享方法的流程示意图FIG. 7 is a schematic flowchart of a file sharing method according to Embodiment 5 of the present application
图8给出了本申请实施例五中操作数据分析的实现流程图;Fig. 8 provides the realization flow chart of operation data analysis in the fifth embodiment of the present application;
图9给出了本申请实施例五中源端设备所显示当前界面中悬浮窗口的设置示例图;FIG. 9 shows an example diagram of setting a floating window in the current interface displayed by the source device in Embodiment 5 of the present application;
图10为本申请实施例六提供的一种文件共享方法的流程示意图;10 is a schematic flowchart of a file sharing method according to Embodiment 6 of the present application;
图11为本申请实施例七提供的一种文件共享方法的流程示意图;11 is a schematic flowchart of a file sharing method according to Embodiment 7 of the present application;
图12给出了本申请实施例七中获得待共享文件的一种示例流程图;FIG. 12 shows an exemplary flowchart of obtaining a file to be shared in Embodiment 7 of the present application;
图13为本申请实施例八提供的一种文件共享装置的结构框图;13 is a structural block diagram of a file sharing apparatus according to Embodiment 8 of the present application;
图14为本申请实施例九提供的一种文件共享装置的结构框图;14 is a structural block diagram of a file sharing apparatus according to Embodiment 9 of the present application;
图15为本申请实施例十提供的一种文件共享装置的结构框图;15 is a structural block diagram of a file sharing apparatus according to Embodiment 10 of the present application;
图16为本申请实施例十一提供的一种文件共享系统的系统架构图;16 is a system architecture diagram of a file sharing system according to Embodiment 11 of the present application;
图17为本申请实施例十二提供的一种交互智能设备的结构示意图;FIG. 17 is a schematic structural diagram of an interactive intelligent device according to Embodiment 12 of the present application;
图18为本申请实施例十三提供的一种源端设备的结构示意图。FIG. 18 is a schematic structural diagram of a source device according to Embodiment 13 of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。在本申请的描述中,需要理解的是,术语“第一”、“第二”、“第三”等仅用于用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application, as recited in the appended claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, Nor should it be construed to indicate or imply relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.
此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。Also, in the description of the present application, unless otherwise specified, "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
实施例一Example 1
图1为本申请实施例一提供的一种文件共享方法的流程示意图,该方法具体可由交互智能设备执行,该文件共享方法适用于与交互智能设备建立通信连接的源端设备中,一个源端设备将当前展示的文件内容共享至另一个源端设备的情况,该交互智能设备可以通过软件和/或硬件的方式实现,且该交互智能设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。1 is a schematic flowchart of a file sharing method provided in Embodiment 1 of the present application. The method can be specifically executed by an interactive intelligent device. The file sharing method is applicable to a source device that establishes a communication connection with an interactive intelligent device. In the case where the device shares the currently displayed file content to another source device, the interactive smart device can be implemented in software and/or hardware, and the interactive smart device can be composed of two or more physical entities, or is a physical entity.
其中,作为本申请实施例执行设备的交互智能设备可以是通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。Among them, the interactive intelligent device as the execution device of the embodiment of the present application may be an integrated device that controls the content displayed on the display panel and realizes human-computer interaction through touch technology, which integrates a projector, an electronic whiteboard, a screen , audio, TV and video conference terminal and other one or more functions.
一般而言,交互智能设备的显示屏是指触摸屏、触控屏、触控面板,是一种感应式液晶显示装置,当接触了屏幕上的图形按钮时,屏幕上的触觉反馈系统可根据预先编程的程式驱动各种连接装置,可用以取代机械式的按钮面板,并借由液晶显示画面制造出生动的影音效果。从技术原理来区别触摸屏,可以分为五个基本种类;矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏、表面声波技术触摸屏。按照触摸屏的工作原理和传输信息的介质,可以把触摸屏分为四个种类:电阻式、电容感应式、红外线式以及表面声波式。当用户用手指或笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。当用户用手指或笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。Generally speaking, the display screen of an interactive smart device refers to a touch screen, a touch screen, and a touch panel, which is an inductive liquid crystal display device. When the graphic button on the screen is touched, the haptic feedback system on the screen can The programmed program drives various connection devices, which can be used to replace the mechanical button panel, and create vivid audio and video effects through the liquid crystal display screen. To distinguish the touch screen from the technical principle, it can be divided into five basic categories: vector pressure sensing technology touch screen, resistive technology touch screen, capacitive technology touch screen, infrared technology touch screen, surface acoustic wave technology touch screen. According to the working principle of the touch screen and the medium for transmitting information, the touch screen can be divided into four types: resistive type, capacitive induction type, infrared type and surface acoustic wave type. When the user touches the screen with a finger or a pen, the coordinates of the point are positioned, so as to realize the control of the intelligent processing system, and then different functional applications can be implemented with the built-in software of the intelligent processing system. When the user touches the screen with a finger or a pen, the coordinates of the point are positioned, so as to realize the control of the intelligent processing system, and then different functional applications can be implemented with the built-in software of the intelligent processing system.
在本申请实施例中,显示屏具体可以是触摸显示屏,用户可以通过手指或者触控笔对交互智能设备进行触控操作。且本申请实施例中所提到的“屏幕”、“大屏”均指交互智能设备的触摸显示屏;交互智能设备显示某个界面是指交互智能设备的触摸显示屏显示该界面。In this embodiment of the present application, the display screen may specifically be a touch display screen, and a user may perform a touch operation on the interactive smart device through a finger or a stylus. Moreover, the "screen" and "large screen" mentioned in the embodiments of this application both refer to the touch display screen of the interactive smart device; the interactive smart device displaying a certain interface refers to the touch screen display of the interactive smart device displaying the interface.
需要说明的是,实现本申请实施例所提供文件共享方法的技术前提为:作为本实施例执行设备的交互智能设备与至少两个源端设备通过无线网络建立通信连接,且从各源端设备中任一选定的第一源端设备的当前界面作为当前展示界面展示交互智能设备的触摸显示屏上。在本实施例中,各源端设备可以为安装有 Windows操作系统或Mac操作系统的计算机、Chrome计算机、iOS智能设备或者Android智能设备等,可选的,各源端设备具体可以是手机、电脑以及平板等智能设备,且各源端设备可优选通过WIFI与交互智能设备建立通信连接。It should be noted that the technical premise for realizing the file sharing method provided by the embodiment of the present application is: the interactive intelligent device serving as the execution device of the present embodiment establishes a communication connection with at least two source devices through a wireless network, The current interface of any one of the selected first source-end devices is displayed on the touch display screen of the interactive smart device as the current display interface. In this embodiment, each source device may be a computer installed with a Windows operating system or a Mac operating system, a Chrome computer, an iOS smart device, or an Android smart device, etc. Optionally, each source device may specifically be a mobile phone, a computer and smart devices such as tablets, and each source device can preferably establish a communication connection with the interactive smart device through WIFI.
示例性的,参考图1,本申请实施例一提供的文件共享方法,具体包括如下步骤:Exemplarily, referring to FIG. 1 , the file sharing method provided in Embodiment 1 of the present application specifically includes the following steps:
S101、接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作。S101. Receive a drag operation of dragging the current display interface to a first shared trigger area.
在本实施例中,所述当前展示界面具体可理解为将与交互智能设备(本申请实施例的执行设备)建立通信连接的其中一个源端设备的当前界面整屏展示在所设置触摸显示屏上所形成的界面。In this embodiment, the current display interface can be specifically understood as displaying the current interface of one of the source devices that establish a communication connection with the interactive intelligent device (the execution device in this embodiment of the present application) on the set touch display screen. the interface formed on it.
可以知道的是,在交互智能设备与各源端设备建立通信连接后,各源端设备可以将自身所显示当前界面的界面数据作为当前界面信息发送给交互智能设备,交互智能设备基于所接收的各源端设备发送的当前界面信息,初始可以形成对应各源端设备的当前展示界面并展示在触摸显示屏上,在后续的应用中,如果用户想要在交互智能设备上全屏呈现某个源端设备的当前界面,以基于该源端设备当前界面展示的内容进行讲解或演示时,可以双击所选中源端设备对应的当前展示界面,进入单个源端设备进行当前展示界面呈现的模式,或者,以给定的形式触发进入单个源端设备进行当前展示界面呈现的模式。此时,所呈现的当前展示界面可认为是从各源端设备中用户选定的第一源端设备的当前界面。It can be known that after the interactive intelligent device establishes a communication connection with each source device, each source device can send the interface data of the current interface displayed by itself to the interactive intelligent device as the current interface information, and the interactive intelligent device is based on the received data. The current interface information sent by each source device can initially form the current display interface corresponding to each source device and display it on the touch screen. In subsequent applications, if the user wants to display a source in full screen on the interactive smart device When explaining or demonstrating based on the content displayed on the current interface of the source device, you can double-click the current display interface corresponding to the selected source device to enter the mode of presenting the current display interface for a single source device, or , which triggers the mode of entering a single source device to present the current display interface in a given form. At this time, the current display interface presented may be considered as the current interface of the first source end device selected by the user from among the source end devices.
可以理解的是,当触摸显示屏上全屏呈现一个源端设备的当前展示界面时,其他源端设备的将以设定形式进行隐藏(如已连接设备列表形式),并在需要展示时,可以通过设定的操作触发当前展示界面的切换,如触发已连接设备列表中待切换的源端设备来显示对应的当前展示界面等。It can be understood that when the current display interface of a source device is displayed in full screen on the touch screen, other source devices will be hidden in a set form (such as a list of connected devices), and can be displayed when needed. Trigger the switching of the current display interface through a set operation, such as triggering the source device to be switched in the connected device list to display the corresponding current display interface, etc.
基于上述描述,可知本步骤拖拽的当前展示界面为当前展示在触摸显示屏上的界面,本步骤中的中拖拽具体可以作用在当前展示界面的拖拽框内,图2给出了本申请实施例一中当前展示界面的拖拽框所处位置的示例图,如图2所示,交互智能设备1的触摸显示屏110上显示的当前展示界面111为一个演示文稿界面,拖拽框112设置于演示文稿界面的顶端区域,当需要对该演示文稿界面进行拖拽时,可通过触摸或鼠标等将光标移动至拖拽框112中,然后通过触摸或鼠标实现对该演示文稿界面的拖拽。Based on the above description, it can be seen that the current display interface dragged in this step is the interface currently displayed on the touch screen, and the middle dragging in this step can specifically act on the dragging frame of the current display interface. An example diagram of the location of the drag frame of the current display interface in Application Example 1, as shown in FIG. 2 , the
在本实施例中,共享触发区域具体可理解为存在于触摸显示屏上的进行文件到其他源端设备共享触发的触发区域,当用户将当前展示界面拖拽至共享触发区域内后,相当于触发了该当前展示界面所对应文件到共享触发区域所对应其他源端设备的文件共享操作。其中,所述共享触发区域可以以可触发窗口形式常驻在当前展示界面之上,或者,也可以是监听到界面拖拽事件时才可见,其它时间为不可见状态。In this embodiment, the shared trigger area can be specifically understood as the trigger area that exists on the touch display screen for sharing triggering of files to other source devices. When the user drags the current display interface into the shared trigger area, it is equivalent to The file sharing operation of the file corresponding to the current display interface to other source devices corresponding to the sharing trigger area is triggered. Wherein, the shared trigger area may reside on the current display interface in the form of a triggerable window, or may be visible only when the interface drag event is monitored, and is invisible at other times.
可以理解的是,本执行设备可以对应与之建立通信连接的每个源端设备在的触摸显示屏上分别设置一个共享触发区域,此外,可以补充的是,所设置的共享触发区域也可以看做用户切换不同源端设备进行当前界面展示的触发区域,可以在用户未进行拖拽操作,就直接对共享触发区域进行触发时,响应该触发操作并将该共享触发区域所对应源端设备的当前界面展示在触摸显示屏上。It can be understood that the execution device can set a shared trigger area on the touch screen corresponding to each source device with which a communication connection is established. In addition, it can be added that the set shared trigger area can also be viewed. As the trigger area for the user to switch between different source devices to display the current interface, when the user directly triggers the shared trigger area without dragging, the user can respond to the trigger operation and display the source device corresponding to the shared trigger area. The current interface is displayed on the touchscreen display.
具体的,所述第一共享触发区域具体可理解为与第二源端设备相关联的共享触发区域,该第二源端设备与第一源端设备为可看作与本执行设备建立通信连接的任意两个源端设备。可以说明的是,与各源端设备关联的共享触发区域可以集中处于触摸显示屏的一个窗口区域中,也可以分别作为单独的窗口区域展现在触摸显示屏上。Specifically, the first shared trigger area can be specifically understood as a shared trigger area associated with the second source device, and the second source device and the first source device can be regarded as establishing a communication connection with the execution device. of any two source devices. It can be noted that the shared trigger areas associated with each source device may be concentrated in one window area of the touch display screen, or may be displayed on the touch display screen as separate window areas.
在本实施例中,共享触发区域的位置不做限定,但优选所述第一共享触发区域包含在所述触摸显示屏上的悬浮触发窗口中;所述悬浮触发窗口中包含至少一个具备不同触发标号的共享触发区域,各共享触发区域关联一个与所述本执行设备建立网络通信连接的源端设备。In this embodiment, the location of the shared trigger area is not limited, but preferably the first shared trigger area is included in a floating trigger window on the touch display screen; the floating trigger window includes at least one trigger with different triggers Labeled shared trigger areas, each shared trigger area is associated with a source device that establishes a network communication connection with the current execution device.
在本实施例中,所述悬浮触发窗口中优选包含了每个源端设备关联的共享触发区域,且每个共享触发区域具备不同的触发标号,本实施例可通过对不同触发标号所对应共享触发区域的操作来触发相应的源端设备进行文件共享,所述悬浮触发窗口可以是触摸显示屏上的常驻窗口,也可以是状态可调窗口,如在监听到光标在窗口唤醒区的停放操作后进行展现。In this embodiment, the floating trigger window preferably includes a shared trigger area associated with each source device, and each shared trigger area has a different trigger label. The operation of the trigger area triggers the corresponding source device to perform file sharing. The floating trigger window can be a resident window on the touch display screen, or a window with adjustable status, such as monitoring the parking of the cursor in the wake-up area of the window. Display after operation.
进一步地,所述悬浮触发窗口以圆形区域呈现,各所述共享触发区域为均分所述圆形区域的扇形区域;或者,所述悬浮触发窗口以矩形区域呈现,各所述共享触发区域为均分所述矩形区域的子矩形区域。Further, the suspension trigger window is presented in a circular area, and each of the shared trigger areas is a fan-shaped area that equally divides the circular area; or, the suspension trigger window is presented in a rectangular area, and each of the shared trigger areas is is a sub-rectangular area that equally divides the rectangular area.
在本实施例中,悬浮触发窗口中包含了各源端设备关联的共享触发区域,悬浮触发窗口可设置为不同的呈现形态,示例性的,可以圆形区域呈现,也可以矩形区域呈现,所有共享触发区域可以均分该悬浮触发窗口,当以圆形区域呈现时,每个共享触发区域可以是一个扇形区域,以矩形区域呈现时,每个共享触发区域可以是一个子矩形区域。In this embodiment, the floating trigger window includes the shared trigger area associated with each source device, and the floating trigger window can be set to different presentation forms. Exemplarily, it can be presented in a circular area or a rectangular area. The shared trigger area can equally divide the floating trigger window. When presented as a circular area, each shared trigger area can be a fan-shaped area, and when presented as a rectangular area, each shared trigger area can be a sub-rectangular area.
需要说明的是,当用户将当前展示界面拖拽至第一共享触发区域时,相当于建立了该当前展示界面所对应第一源端设备与第一共享触发区域所关联第二源端设备的共享关联。It should be noted that when the user drags the current display interface to the first shared trigger area, it is equivalent to establishing a relationship between the first source device corresponding to the current display interface and the second source device associated with the first shared trigger area. Shared association.
示例性的,图3给出了本申请实施例一中进行当前展示界面拖拽的效果展示图,如图3所示,交互智能设备2的触摸显示屏110上展示了第一源端设备的当前展示界面111和当前展示界面关联的拖拽框112,当前展示界面111为一个课件演示界面,其中,触摸显示屏110上还包含了悬浮触发窗口130,该悬浮触发窗口130中包含了4个触发标号分别为A、B、C以及D的共享触发区域,且该悬浮触发窗口130以圆形区域呈现,由此各共享触发区域以均分的扇形区域呈现,其中,共享触发区域的数量与已连接源端设备的数量相同,且已连接源端设备的触发标号可以看做已连接各源端设备在本执行设备上对应的连接标号。图3中将共享触发区域A作为了拖拽当前展示界面所要达到的第一共享触发区域。可以知道的是,在对当前展示界面111进行文件共享拖拽的操作中,相当于将拖拽手势移动到拖拽框112内并进行拖拽,该过程中可控制当前展示界面111以缩小形态呈现(图3直接以文字表述来表示该当前展示界面的缩小形态) 并移动至悬浮触发窗口中用户期望的共享触发区域A内,同时,需要说明的是,为保证当前展示界面的所对应文件的共享不过多影响界面展示的进行,本实施例可以设置在完成当前展示界面的拖拽操作后,本执行设备控制该当前展示界面111以原有整屏形式呈现在触摸显示屏110上。此外,在后续处理中通过预先确定或预先存储的关联表,可以确定第一共享触发区域113与第二源端设备存在进行文件共享的触发关联。Exemplarily, FIG. 3 shows the effect display diagram of dragging the current display interface in Embodiment 1 of the present application. As shown in FIG. 3 , the
S102、通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备。S102. Share the to-be-shared file corresponding to the current display interface to the second source device through the dragging operation.
在本实施例中,所拖拽的当前展示界面其对应的待共享文件存在于该当前展示界面所关联的源端设备上,因此,本实施例可以将该当前展示界面关联的源端设备作为第一源端设备。同时,所拖拽的当前展示界面经过所述拖拽操作拖拽的结束位置是第一共享触发区域,与第一共享触发区域关联的源端设备可记为第二源端设备。In this embodiment, the file to be shared corresponding to the dragged current display interface exists on the source device associated with the current display interface. Therefore, in this embodiment, the source device associated with the current display interface may be used as the source device. The first source device. Meanwhile, the dragged end position of the dragged current display interface through the drag operation is the first shared trigger area, and the source device associated with the first shared trigger area may be recorded as the second source device.
由于所拖拽当前展示界面对应的待共享文件实际存在于第一源端设备上,对待共享文件的共享操作需要第一源端设备端来执行,为实现所拖拽当前展示界面所对应待共享文件由第一源端设备到第二源端设备的共享,本执行设备首先可以将共享触发所进行拖拽操作的相关信息反馈给第一源端设备,以使第一源端设备通过该拖拽操作的操作信息将所拖拽当前展示界面对应的待共享文件共享给第二源端设备。Since the file to be shared corresponding to the dragged current display interface actually exists on the first source device, the sharing operation of the to-be-shared file needs to be performed by the first source device. In order to realize the to-be-shared corresponding to the dragged current display interface The file is shared from the first source device to the second source device. The execution device can first feed back to the first source device the relevant information of the drag operation performed by the sharing trigger, so that the first source device can pass the drag operation. The operation information of the drag operation shares the to-be-shared file corresponding to the dragged current display interface to the second source device.
需要说明的是,第一源端设备和第二源端设备都是与本执行设备建立通信连接的源端设备,但是第一源端设备和第二源端设备间并没有直接建立通信连接,因此,本执行设备可以预先向第一源端设备提供第二源端设备上文件服务器的共享链接地址,以及拖拽操作的操作数据,从而使第一源端设备能够通过本执行设备发送的信息直接将当前展示界面对应的待共享文件共享至第二源端设备的文件服务器上。此外,本执行设备也可以仅向第一源端设备发送拖拽操作的操作数据,当第一源端设备基于操作数据确定当前展示界面对应的待共享文件和第二源端设备后,本执行设备再与第二源端设备进行信息交互,从而使第二源端设备获得第一源端设备上的待共享文件。It should be noted that the first source device and the second source device are both source devices that establish a communication connection with the execution device, but there is no direct communication connection established between the first source device and the second source device. Therefore, the execution device can provide the first source device with the shared link address of the file server on the second source device and the operation data of the drag and drop operation in advance, so that the first source device can use the information sent by the execution device. The to-be-shared file corresponding to the current display interface is directly shared to the file server of the second source device. In addition, the execution device can also only send the operation data of the drag operation to the first source device. After the first source device determines the file to be shared and the second source device corresponding to the current display interface based on the operation data, the execution The device then exchanges information with the second source device, so that the second source device obtains the file to be shared on the first source device.
本申请实施例一提供的文件共享方法,接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,共享触发区域与第二源端设备相关联,第一源端设备与第二源端设备为与本执行设备建立通信连接的任意两个源端设备;然后通过拖拽操作,使当前展示界面对应的待共享文件共享至所述第二源端设备。上述技术方案,解决了多个源端设备与交互智能设备通信连接后,任意一个源端设备的当前界面作为当前展示界面在交互智能设备上全屏展示时,当前展示界面的文件内容共享传输至其他源端设备操作复杂的问题,本实施例的技术方案能够在交互智能设备上继续呈现当前展示界面的前提下,仅通过用户简单的在交互智能设备上将当前展示界面的拖动到对应的触发区域,就可以触发实现当前展示界面的文件内容到其他任一源端设备的共享,由此实现了与同一交互智能设备建立连接的各源端设备间文件的快速共享,从而简化在进行文件内容全屏展示时各源端设备间文件共享的实现流程。In the file sharing method provided in Embodiment 1 of the present application, a drag operation of dragging the current display interface to a first sharing trigger area is received, the sharing trigger area is associated with the second source device, and the first source device is associated with The second source-end device is any two source-end devices that establish a communication connection with the execution device; then, through a drag and drop operation, the file to be shared corresponding to the current display interface is shared to the second source-end device. The above technical solution solves the problem that after a plurality of source devices are communicatively connected to the interactive smart device, when the current interface of any source device is displayed in full screen on the interactive smart device as the current display interface, the file content of the current display interface is shared and transmitted to other devices. Due to the complex operation of the source device, the technical solution of this embodiment can, on the premise of continuing to present the current display interface on the interactive smart device, simply drag the current display interface to the corresponding trigger on the interactive smart device by the user. area, you can trigger the sharing of the file content of the current display interface to any other source device, thus realizing the rapid sharing of files between the source devices connected with the same interactive smart device, thus simplifying the process of file content. The implementation process of file sharing between source devices during full-screen display.
实施例二Embodiment 2
图4为本申请实施例二提供的一种文件共享方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,进一步将通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,具体优化为:将所述拖拽操作的操作数据发送至所述第一源端设备;接收到所述第一源端设备发送的文件共享信息,其中,所述文件共享信息由所述第一源端设备在接收到所述操作数据后生成;通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件。FIG. 4 is a schematic flowchart of a file sharing method provided in Embodiment 2 of the present application. This embodiment is optimized on the basis of the above-mentioned embodiment. In this embodiment, the drag operation will further enable the current The to-be-shared file corresponding to the display interface is shared to the second source-end device, and the specific optimization is: sending the operation data of the drag operation to the first source-end device; receiving the transmission from the first source-end device The file sharing information, wherein the file sharing information is generated by the first source device after receiving the operation data; through the file sharing information, the second source device is enabled to obtain the current display The file to be shared corresponding to the interface.
如图4所示,本申请实施例二提供的一种文件共享方法,具体包括如下操作:As shown in FIG. 4 , a file sharing method provided in Embodiment 2 of the present application specifically includes the following operations:
S201、接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作。S201. Receive a drag operation of dragging the current display interface to a first shared trigger area.
本步骤具体实现了用户将当前展示界面到第一共享触发区域共享时,对所产生拖拽操作的接收。This step specifically implements the reception of the drag operation generated when the user shares the current display interface to the first sharing trigger area.
本实施例下述S202至S204给出了一种待共享文件到第二源端设备共享的实现方式。The following S202 to S204 in this embodiment provide an implementation manner of sharing the to-be-shared file to the second source device.
S202、将所述拖拽操作的操作数据发送至所述第一源端设备。S202. Send the operation data of the drag operation to the first source device.
在本实施例中,接收到上述用户拖拽产生的拖拽操作时,可以获得本执行设备在拖拽操作中生成的操作数据,所述操作数据可以包括对拖拽过程中所抓取各拖拽点的坐标位置信息,该坐标位置信息可以是以触摸显示屏为基准坐标系来表示的拖拽点的坐标值,但考虑到该拖拽操作具体作用在当前展示界面中,操作数据中各拖拽点的坐标位置信息也可以是在以当前展示界面的左上角为原点所构建坐标系下对应的坐标值。In this embodiment, when receiving the drag operation generated by dragging by the user, the operation data generated by the executing device during the drag operation can be obtained, and the operation data may include data on each drag operation captured during the dragging process. The coordinate position information of the drag point, the coordinate position information can be the coordinate value of the drag point represented by the touch screen as the reference coordinate system, but considering that the drag operation specifically acts on the current display interface, each operation data The coordinate position information of the drag point may also be the corresponding coordinate value in the coordinate system constructed with the upper left corner of the current display interface as the origin.
一般情况下,各源端设备在交互智能设备上建立通信连接后,用户可对展示在交互智能设备触摸显示屏上的当前展示界面进行触摸操作,而且该触摸操作的操作数据可以回传到该当前展示界面所属的源端设备(即第一源端设备)上,以使接收到所回传操作数据的源端设备能够响应该触摸操作。可选地,所述触摸操作的类型可以是通过对触摸点的按压、滑动以及抬起等行为形成的单击类型、双击类型、拖拽类型以及滑动类型等,本实施例基于上述步骤具体可实现对当前展示界面的拖拽操作,同样,基于本步骤可以实现拖拽操作的操作数据到当前展示界面所对应源端设备侧的回传,即,将拖拽操作的操作数据发送至当前展示界面所对应第一源端设备。In general, after each source device establishes a communication connection on the interactive smart device, the user can touch the current display interface displayed on the touch screen of the interactive smart device, and the operation data of the touch operation can be returned to the interactive smart device. The source end device (ie, the first source end device) to which the currently displayed interface belongs, so that the source end device that receives the returned operation data can respond to the touch operation. Optionally, the type of the touch operation may be a single-click type, a double-click type, a drag type, a sliding type, etc. formed by pressing, sliding, and lifting the touch point. Realize the drag operation of the current display interface. Similarly, based on this step, the operation data of the drag operation can be returned to the source device side corresponding to the current display interface, that is, the operation data of the drag operation is sent to the current display. The first source device corresponding to the interface.
需要说明的是,本步骤将当前展示界面所对应的源端设备记为第一源端设备,由此可将拖拽操作的操作数据发送至该第一源端设备,考虑到所述操作数据发送至第一源端设备后可以使第一源端设备基于操作数据进行后续操作,本实施例需要保证发送给第一源端设备的操作数据能够被第一源端设备识别并转化为该拖拽操作在第一源端设备上实际对应的坐标位置,因此,若操作数据中拖拽点的坐标位置信息为以触摸显示屏的屏幕坐标系来表示的坐标值,或者,以第一当前显示界面的左上角为原点所构建坐标系下表示的坐标值,发送到第一源端设备后,第一源端设备无法直接由操作数据确定拖拽点在第一源端设备屏幕中的坐标位置,需要结合本执行设备屏幕与第一源端设备屏幕的关联信息来间接确定。It should be noted that, in this step, the source device corresponding to the current display interface is recorded as the first source device, so that the operation data of the drag operation can be sent to the first source device. Considering the operation data After being sent to the first source device, the first source device can perform subsequent operations based on the operation data. In this embodiment, it is necessary to ensure that the operation data sent to the first source device can be recognized by the first source device and converted into the drag. The actual coordinate position of the drag operation on the first source device. Therefore, if the coordinate position information of the drag point in the operation data is the coordinate value represented by the screen coordinate system of the touch screen, or the first current display The upper left corner of the interface is the coordinate value represented in the coordinate system constructed by the origin. After sending to the first source device, the first source device cannot directly determine the coordinate position of the drag point on the screen of the first source device from the operation data. , it needs to be indirectly determined in combination with the association information between the screen of the execution device and the screen of the first source device.
由此,本实施例进一步优化所述操作数据至少包括所述拖拽操作中各拖拽点的位置比例信息。具体地,各拖拽点的位置比例信息相当于一个归一化后的位置信息,每个拖拽点的位置比例信息具体可以是:拖拽点在以当前展示界面左上角为原点构建的坐标系下对应的横纵坐标值分别与所述当前展示界面的实际宽高值的比值信息。Therefore, this embodiment further optimizes the operation data to include at least position ratio information of each drag point in the drag operation. Specifically, the position scale information of each drag point is equivalent to a normalized position information, and the position scale information of each drag point may specifically be: the drag point is in the coordinates constructed with the upper left corner of the current display interface as the origin The ratio information of the corresponding horizontal and vertical coordinate values under the system and the actual width and height values of the current display interface.
可以理解的是,当前展示界面在交互智能设备触摸显示屏幕上的尺寸与其在所对应第一源端设备上所显示当前界面的实际尺寸可能是不同的,但可以确定的是两设备界面的宽高比是相同的,因此,本实施例确定以拖拽点的位置比例信息作为操作数据后,第一源端设备侧可根据该操作数据中拖拽点的位置比例信息,结合第一源端设备的实际屏幕尺寸信息,来确定所述拖拽操作中各拖拽点在第一源端设备屏幕上实际对应的拖拽位置。由此,更好的保证了源端设备与交互智能设备数据交互时的精准性和实用性。It can be understood that the size of the current display interface on the touch display screen of the interactive smart device may be different from the actual size of the current interface displayed on the corresponding first source device, but it can be determined that the width of the interface of the two devices is different. The height ratios are the same. Therefore, in this embodiment, after determining that the position ratio information of the drag point is used as the operation data, the first source device side can combine the position ratio information of the drag point in the operation data with the first source terminal. The actual screen size information of the device is used to determine the drag position actually corresponding to each drag point in the drag operation on the screen of the first source device. As a result, the accuracy and practicability of the data interaction between the source device and the interactive smart device are better guaranteed.
S203、接收到所述第一源端设备发送的文件共享信息,其中,所述文件共享信息由所述第一源端设备在接收到所述操作数据后生成。S203. Receive the file sharing information sent by the first source device, where the file sharing information is generated by the first source device after receiving the operation data.
在本实施例中,基于上述步骤将拖拽操作的操作数据发送给第一源端设备后,第一源端设备可以对操作数据进行分析和处理,由此在操作数据满足文件共享的相关条件时,可以根据操作数据确定出待共享的待共享文件,之后第一源端设备可以生成共享所确定待共享文件所需的文件共享信息,并可将生成的文件共享信息发送给本执行设备,由此,本执行设备可以通过本步骤接收到第一源端设备发送的文件共享信息。In this embodiment, after the operation data of the drag operation is sent to the first source device based on the above steps, the first source device can analyze and process the operation data, so that when the operation data satisfies the relevant conditions of file sharing When the file is to be shared, the file to be shared can be determined according to the operation data, and then the first source device can generate the file sharing information required for sharing the determined file to be shared, and can send the generated file sharing information to the execution device, Thus, the execution device can receive the file sharing information sent by the first source device through this step.
具体的,所述文件共享信息可以是在第一源端设备根据接收的操作数据确定对当前展示界面的拖拽操作满足文件共享条件,且在确定出当前展示界面对应的待共享文件后,相应生成的用于共享该待共享文件所需的信息。本实施例将共享所述第一源端设备中待共享文件的目标设备记为第二源端设备,其中,所述第二源端设备与第一源端设备均为与本执行设备建立通信连接的源端设备,所述第二源端设备具体可以由第一源端设备基于上述发送的操作数据确定。Specifically, the file sharing information may be that after the first source device determines, according to the received operation data, that the drag operation on the current display interface satisfies the file sharing condition, and after determining the to-be-shared file corresponding to the current display interface, corresponding Generated information required for sharing the to-be-shared file. In this embodiment, the target device that shares the to-be-shared file in the first source device is recorded as the second source device, wherein the second source device and the first source device both establish communication with the execution device The connected source device, the second source device may be specifically determined by the first source device based on the operation data sent above.
需要说明的是,所述文件共享信息根据文件共享的具体实现不同,其具体包含的信息也存在不同,示例性地,第一源端设备可以考虑将第二源端设备的第一设备标识以及待共享文件直接包含在文件共享信息中,此时本执行设备接收到的文件共享信息中相当于包含了待共享的待共享文件以及待共享的第二源端设备的第一设备标识;此外,第一源端设备也可以考虑将待共享文件在其上对应的文件存储路径等信息包含在文件共享信息中,此时本执行设备接收到的文件共享信息中相当于包含了共享所需待共享文件的下载地址信息。It should be noted that, according to the specific implementation of file sharing, the file sharing information contains different information. Exemplarily, the first source device may consider the first device identifier of the second source device and the The file to be shared is directly included in the file sharing information, and the file sharing information received by this execution device is equivalent to including the to-be-shared file to be shared and the first device identifier of the second source device to be shared; in addition, The first source device may also consider including the file storage path and other information corresponding to the file to be shared in the file sharing information. At this time, the file sharing information received by the execution device is equivalent to including the to-be-shared required for sharing. The download address information of the file.
S204、通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件。S204. Through the file sharing information, enable the second source device to obtain the to-be-shared file corresponding to the current display interface.
理论情况下,在第一源端设备确定出待拖拽图标所对应的待共享文件及相关第二源端设备后,第一源端设备应该直接向第二源端设备发送已生成的文件共享信息,以进行待共享文件的文件共享,然而,在上述各源端设备均与交互智能设备建立通信连接且第一源端设备的当前界面作为当前展示界面展示在触摸显示屏上的技术背景下,虽然各源端设备处于同一局域网,具备互相访问的条件,但由于彼此不知道对方的设备标识,各源端设备间实质上没有真正实现通信连接,即,此时各源端设备间仍无法直接进行通信。In theory, after the first source device determines the file to be shared corresponding to the icon to be dragged and the related second source device, the first source device should directly send the generated file share to the second source device. information for file sharing of files to be shared, however, under the technical background that each of the above-mentioned source devices establishes a communication connection with the interactive intelligent device and the current interface of the first source device is displayed on the touch screen as the current display interface , although each source device is in the same local area network and has the conditions for mutual access, but because each other does not know each other's device identification, there is no real communication connection between the source devices, that is, the source devices still cannot communicate directly.
故而,第一源端设备需要将生成的文件共享信息先发送给本执行设备,在本实施例中,本执行设备基于S203接收到文件共享信息后,可以通过本步骤分析文件共享信息中包含的内容,并根据所包含内容的不同,采用不同的方式使第二源端设备获得到当前展示界面对应的待共享文件。示例性的,假设文件共享信息中包含了第一源端设备上确定的待共享文件,则本执行设备可以将该待共享文件上传至第二源端设备对应的文件服务器,从而使第二源端设备从文件服务器中获取到该待共享文件。Therefore, the first source device needs to send the generated file sharing information to the execution device first. In this embodiment, after receiving the file sharing information based on S203, the execution device can analyze the file sharing information through this step. content, and according to the difference of the included content, the second source device can obtain the to-be-shared file corresponding to the current display interface in different ways. Exemplarily, assuming that the file sharing information includes the file to be shared determined on the first source device, the execution device can upload the to-be-shared file to the file server corresponding to the second source device, so that the second source device can upload the file to be shared. The terminal device obtains the to-be-shared file from the file server.
在本实施例中,对于第一源端设备而言,第一源端设备可以基于操作数据确定当前展示界面最终被拖拽至第一共享触发区域中,由此满足了待共享文件的共享触发条件,同时,也可以确定出第一共享触发区域关联的源端设备,从而确定第一共享触发区域关联的源端设备为第二源端设备。In this embodiment, for the first source device, the first source device can determine, based on the operation data, that the current display interface is finally dragged into the first sharing trigger area, thereby satisfying the sharing trigger of the file to be shared. At the same time, the source device associated with the first shared trigger area can also be determined, thereby determining that the source device associated with the first shared trigger area is the second source device.
可以知道的是,第二源端设备可以根据文件共享信息具体所包含内容的不同采用不同的方式来获得第一源端设备中的待共享文件。示例性地,当文件共享信息中包含了共享连接信息时,第二源端设备可以通过该共享连接信息与第一源端设备建立通信,并向第一源端设备发送共享下载请求,最终接收第一源端设备基于该共享下载请求反馈的待共享文件。It can be known that the second source-end device may obtain the file to be shared in the first source-end device in different ways according to the difference in the specific content of the file sharing information. Exemplarily, when the shared connection information is included in the file sharing information, the second source device may establish communication with the first source device through the shared connection information, send a shared download request to the first source device, and finally receive The first source device feeds back the file to be shared based on the shared download request.
本申请实施例二提供的一种文件共享方法,首先接收到将当前展示界面拖拽至第一共享触发区域的拖拽操作,其中,第一共享触发区域与第二源端设备相关联,第一源端设备和第二源端设备均为与交互智能设备建立通信连接的任意两个源端设备;然后将拖拽操作的操作数据发送至第一源端设备,第一源端设备为当前展示界面所对应的源端设备,之后接收到第一源端设备发送的文件共享信息,其中,文件共享信息由第一源端设备在接收到操作数据后生成;最终通过上述文件共享信息,使第二源端设备获得所述当前展示界面对应的待共享文件。利用该方法,为用户提供了进行文件共享触发的操作捷径,保证了在不打断各源端设备与交互智能设备通信连接以及当前展示界面内容展示的前提下,仅通过用户在交互智能设备上简单的将当前展示界面拖动到第二源端设备对应的触发区域的拖拽操作,即可触发实现第一源端设备上待共享文件到第二源端设备的共享,解决了将一个源端设备当前所展示文件内容共享至其它源端设备操作复杂的问题,从而简化了各源端设备间文件共享的实现流程。In a file sharing method provided in Embodiment 2 of the present application, a drag operation of dragging a current display interface to a first sharing trigger area is first received, wherein the first sharing trigger area is associated with the second source device, and the first sharing trigger area is associated with the second source device. A source-end device and a second source-end device are any two source-end devices that establish a communication connection with the interactive smart device; then the operation data of the drag operation is sent to the first source-end device, and the first source-end device is the current The source device corresponding to the display interface then receives the file sharing information sent by the first source device, wherein the file sharing information is generated by the first source device after receiving the operation data; The second source device obtains the file to be shared corresponding to the current display interface. Using this method, the user is provided with an operation shortcut for triggering file sharing, which ensures that the communication connection between each source device and the interactive smart device and the display of the current display interface content are not interrupted. Simply drag the current display interface to the trigger area corresponding to the second source device to trigger the sharing of the file to be shared on the first source device to the second source device, which solves the problem of changing a source device. The problem that the file content currently displayed by the end device is shared to other source end devices is complicated to operate, thereby simplifying the implementation process of file sharing among various source end devices.
在本实施例二上述描述的基础上,形成了本申请实施例二的另一个可选实施例,在该可选实施例中,可以将通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,具体优化为:将所述拖拽操作的操作数据以及预存的已连接设备信息表发送至所述第一源端设备,以使所述第一源端设备基于所述操作数据及已连接设备信息表将所述当前展示界面对应的待共享文件共享至所述第二源端设备。可以理解的是,采用本可选实施例上述具体化的步骤,相当于替换了本实施例上述给定的S202至S204。On the basis of the above description of the second embodiment, another optional embodiment of the second embodiment of the present application is formed. In this optional embodiment, the current display interface can be made to correspond to the current display interface through the dragging operation. The file to be shared is shared to the second source device, and the specific optimization is: sending the operation data of the drag operation and the pre-stored connected device information table to the first source device, so that the first source device A source device shares the to-be-shared file corresponding to the current display interface to the second source device based on the operation data and the connected device information table. It can be understood that using the above-mentioned specific steps of this optional embodiment is equivalent to replacing S202 to S204 given above in this embodiment.
在本实施例中,所述已连接设备信息表具体可理解为一个包含了全部与本执行设备建立通信连接的各源端设备的设备标识以及相关文件服务器所对应共享链接地址等信息的信息表。在文件共享的具体实现中,本执行设备可以看做一个文件共享的信息提供终端,本执行设备可以提供第一源端设备共享触发所需的拖拽操作的操作数据,还可以向第一源端设备提供第一源端设备文件共享至第二源端设备时所需的已连接设备信息表,以使在第一源端设备确定第二源端设备后,直接通过查找已连接设备信息表确定第二源端设备上所创建文件服务器的共享链接地址,从而实现所确定的待共享文件到第二源端设备的直接共享。In this embodiment, the connected device information table can be specifically understood as an information table that includes the device identifiers of all source devices that establish communication connections with the execution device, and the shared link addresses corresponding to the relevant file servers. . In the specific implementation of file sharing, the execution device can be regarded as an information providing terminal for file sharing. The end device provides the connected device information table required when the first source device file is shared with the second source device, so that after the first source device determines the second source device, it can directly search for the connected device information table by searching the connected device information table. The shared link address of the file server created on the second source end device is determined, so as to realize direct sharing of the determined to-be-shared file to the second source end device.
本申请上述可选实施例,替换S202至S204新形成的文件共享方法,在基于拖拽操作实现第一源端设备与第二源端设备的文件共享时,能够直接向第一源端设备发送包含第二源端设备上文件服务器所对应共享链接地址的信息表,从而在不需要本执行设备作为中转设备的前提下,保证第一源端设备直接通过共享链接地址将待共享文件上传至第二源端设备上的文件服务器。由此即简化了文件共享实现步骤,还保证了在不打断各源端设备到交互智能设备上通信的前提下待共享文件到第二源端设备的共享。The above optional embodiment of the present application replaces the newly formed file sharing method from S202 to S204, and when the file sharing between the first source end device and the second source end device is realized based on the drag and drop operation, the file sharing method can be directly sent to the first source end device. The information table containing the shared link address corresponding to the file server on the second source device, so as to ensure that the first source device directly uploads the file to be shared to the second source device through the shared link address on the premise that the execution device is not required as a transit device. The file server on the second source device. This simplifies the implementation steps of file sharing, and also ensures the sharing of the to-be-shared file to the second source device without interrupting the communication between each source device and the interactive smart device.
实施例三Embodiment 3
图5为本申请实施例三提供的一种文件共享方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,在所述本执行设备与至少两个源端设备通过无线网络建立通信连接之后,还优化包括了:接收各所述源端设备反馈的设备信息,形成已连接设备信息表,所述设备信息包括:源端设备的设备标识以及预创建在相应源端设备上文件服务器的共享链接地址。FIG. 5 is a schematic flowchart of a file sharing method according to Embodiment 3 of the present application. This embodiment is optimized based on the foregoing embodiment. In this embodiment, the execution device and at least two source devices After the communication connection is established through the wireless network, the optimization also includes: receiving device information fed back by each source device to form a connected device information table, where the device information includes: the device identifier of the source device and the device identifiers pre-created in the corresponding source device. Shared link address of the file server on the end device.
同时,本实施例在所述本执行设备与至少两个源端设备通过无线网络建立通信连接之后,还优化包括了:确定各所述源端设备用于共享触发的触发标号,形成包含各所述触发标号及相应源端设备的设备标识的触发关联表,并发送给各所述源端设备;基于所述触发关联表创建悬浮触发窗口,按照设定展示属性在所述触摸显示屏上展示所述悬浮触发窗口,并将所述悬浮触发窗口同步展示于各所述源端设备中,其中,所述悬浮触发窗口包含具备不同触发标号且与相应源端设备关联的共享触发区域。At the same time, in this embodiment, after the current execution device and at least two source end devices establish a communication connection through a wireless network, optimization further includes: determining a trigger label used by each source end device to share a trigger, and forming a form that includes each source end device. The trigger association table of the trigger label and the device identification of the corresponding source device is sent to each of the source devices; a floating trigger window is created based on the trigger association table, and displayed on the touch screen according to the set display attributes The floating trigger window is displayed in each of the source devices synchronously, wherein the floating trigger window includes a shared trigger area with different trigger labels and associated with the corresponding source device.
此外,本实施例进一步将接收到所述第一源端设备发送的文件共享信息,具体化为:接收所述第一源端设备发送的共享下载信息,所述共享下载信息中包含了所述当前展示界面对应的待共享文件以及所述第二源端设备的第一设备标识。In addition, in this embodiment, the receiving of the file sharing information sent by the first source device is further embodied as: receiving the shared download information sent by the first source device, where the shared download information includes the The file to be shared corresponding to the current display interface and the first device identifier of the second source device.
相应的,在上述优化的基础上,所述通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件,具体可优化为:根据所述第二源端设备的第一设备标识,确定所述第二源端设备对应的共享链接地址,其中,所述共享链接地址由所述第二源端设备在与本执行设备建立通信连接后反馈;基于所述共享链接地址,将所述当前展示界面对应的待共享文件上传至预先创建于所述第二源端设备中的文件服务器,以使所述第二源端设备获得所述当前展示界面对应的待共享文件。Correspondingly, on the basis of the above optimization, the said second source device obtains the to-be-shared file corresponding to the current display interface through the file sharing information, which may be optimized as follows: according to the second source device. the first device identifier of the end device, and determine the shared link address corresponding to the second source end device, wherein the shared link address is fed back by the second source end device after establishing a communication connection with the execution device; the shared link address, and upload the file to be shared corresponding to the current display interface to the file server pre-created in the second source device, so that the second source device can obtain the file corresponding to the current display interface. file to be shared.
如图5所示,本实施例三提供的一种文件共享方法,具体包括如下操作:As shown in FIG. 5 , a file sharing method provided in Embodiment 3 specifically includes the following operations:
S301、接收各所述源端设备反馈的设备信息,形成已连接设备信息表。S301. Receive device information fed back by each source device, and form a connected device information table.
其中,所述设备信息包括:源端设备的设备标识以及预创建在相应源端设备上文件服务器的共享链接地址。The device information includes: the device identifier of the source device and the shared link address of the file server pre-created on the corresponding source device.
在本实施例中,各源端设备与本执行设备建立通信连接后,可以将相应的设备信息反馈至本执行设备,本执行设备可以基于本步骤接收各源端设备的设备信息,以汇总形成已连接设备信息表,所述设备标识可以理解为设备自身配置的用于设备识别的唯一标识。In this embodiment, after each source device establishes a communication connection with the execution device, the corresponding device information can be fed back to the execution device, and the execution device can receive the device information of each source device based on this step to form a summary In the connected device information table, the device identifier can be understood as a unique identifier configured by the device itself for device identification.
在本实施例中,所述文件服务器具体可看做设置于各源端设备上任一硬盘分区中的用于存储待共享文件的共享存储区,本实施例可以实现同一网络中的其他计算机设备对该文件服务器中文件的访问,且不用通过软磁盘或一些其它外部存储设备来物理地移动文件。In this embodiment, the file server can be specifically regarded as a shared storage area set in any hard disk partition on each source device for storing files to be shared. Access to files in the file server without physically moving the files through a floppy disk or some other external storage device.
具体地,所述文件服务器可以通过互联网信息服务(Internet Informationservices,IIS)管理器创建,也可以通过共享文件及共享文件管理系统创建。文件服务器的创建方式属于现有技术,此处不做具体限定,该创建操作可优选在与本执行设备建立通信连接前完成。可以理解的是,在文件服务器创建后,就确定了其在相应源端设备中存储路径,本实施例可将该存储路径记为共享链接地址由源端设备反馈至本执行设备。Specifically, the file server may be created through an Internet Information Services (Internet Information Services, IIS) manager, or through a shared file and a shared file management system. The creation method of the file server belongs to the prior art, which is not specifically limited here, and the creation operation may preferably be completed before establishing a communication connection with the execution device. It can be understood that, after the file server is created, its storage path in the corresponding source device is determined. In this embodiment, the storage path can be recorded as a shared link address and fed back to the execution device by the source device.
S302、确定各所述源端设备用于共享触发的触发标号,形成包含各所述触发标号及相应源端设备的设备标识的触发关联表,并发送给各所述源端设备。S302. Determine a trigger label used by each source device for a shared trigger, form a trigger association table including each trigger label and a device identifier of the corresponding source device, and send it to each source device.
基于上述实施例一的描述,第一源端设备在进行待共享的源端设备确定时主要在于确定共享触发区域关联的源端设备,而共享触发区域关联的源端设备则可通过查找触发关联表确定。具体的,所述触发关联表可由本执行设备根据各源端设备对应的触发标号对应形成,且为保证文件共享的正常进行,本步骤还将形成的触发关联表发送给各源端设备。Based on the description of the first embodiment, when the first source device determines the source device to be shared, it mainly determines the source device associated with the shared trigger area, and the source device associated with the shared trigger area can find the trigger association by searching for the source device. Table ok. Specifically, the trigger association table can be formed by the execution device according to the trigger labels corresponding to each source device, and in order to ensure normal file sharing, this step also sends the formed trigger association table to each source device.
具体的,本步骤形成触发关联表的过程可表述为:针对每个源端设备,首先确定其用于共享触发的触发标号,该触发标号可以是源端设备与本执行设备进行连接时对应的连接序号,也可以是与本执行设备连接时将连接顺序以设定字母顺序时对应的字母标号。进一步地,本实施例将确定各所述源端设备用于共享触发的触发标号,具体优化为:确定各所述源端设备与所述无线网络建立通信连接时的连接编号,将各所述连接编号作为相应源端设备的触发标号。所述连接编号可以为连接序号或字母标号。Specifically, the process of forming the trigger association table in this step can be expressed as: for each source device, first determine the trigger label used for the shared trigger, and the trigger label can be the corresponding value when the source device is connected to the execution device The connection serial number can also be an alphabetical number corresponding to the setting alphabetical order of the connection sequence when connecting to this execution device. Further, this embodiment will determine the trigger label used by each source device to share the trigger, and the specific optimization is as follows: determining the connection number when each source device establishes a communication connection with the wireless network, and assigning each source device to the wireless network. The connection number is used as the trigger label of the corresponding source device. The connection number may be a connection serial number or a letter label.
示例性的,假设设备标识为XX的源端设备第一个与本执行设备建立通信连接,则可确定该源端设备的连接序号为“1”,由此可将“1”作为该源端设备的触发标号;又如,可确定该源端设备的字母标号为“A”,由此可将“A”作为该源段设备的触发标号。本实施例不限定触发标号的具体表述形式,只需触发标号的形式统一即可。所述触发关联表中包含了触发标号及对应源端设备的设备标识。Exemplarily, assuming that the source device whose device identifier is XX is the first to establish a communication connection with the execution device, it can be determined that the connection sequence number of the source device is "1", so that "1" can be used as the source device. The trigger label of the device; for another example, it can be determined that the letter label of the source end device is "A", so that "A" can be used as the trigger label of the source segment device. This embodiment does not limit the specific expression form of the trigger label, and it only needs to be unified in the form of the trigger label. The trigger association table includes the trigger label and the device identifier of the corresponding source device.
S303、基于所述触发关联表创建悬浮触发窗口,按照设定展示属性在所述触摸显示屏上展示所述悬浮触发窗口,并将所述悬浮触发窗口同步展示于各所述源端设备中。S303. Create a floating trigger window based on the trigger association table, display the floating trigger window on the touch display screen according to a set display attribute, and display the floating trigger window in each of the source devices synchronously.
在本实施例中,形成触发关联表后,可将触发关联表以悬浮触发窗口的形态呈现在本执行设备的触摸显示屏上,所创建的悬浮触发窗口中可以以包含不同触发标号的共享触发区域进行区域划分,且每个共享触发区域关联了一个该触发标号对应的源端设备。本步骤对悬浮触发窗口的触发采用现有窗口创建技术实现,这里不再赘述,所创建的悬浮触发窗口预先设定了展示属性,所述展示属性包括窗口的展示状态,比如常驻展示或触发展示,还包括展示形态,比如以圆形或矩形等形态展示。同样的,为保证文件共享的正常进行,本步骤也需要将创建的悬浮触发窗口发送给各源端设备,并同步在源端设备的屏幕上以设定展示属性展示,所述同步可理解为在不同源端设备上与本执行设备呈现的位置比例信息相同,即相对不同屏幕其呈现位置相同。In this embodiment, after the trigger association table is formed, the trigger association table can be presented on the touch display screen of the execution device in the form of a floating trigger window, and the created floating trigger window can contain shared triggers with different trigger labels. The area is divided into areas, and each shared trigger area is associated with a source device corresponding to the trigger label. The triggering of the floating trigger window in this step is realized by using the existing window creation technology, which will not be repeated here. The created floating trigger window is preset with display attributes, and the display attributes include the display state of the window, such as resident display or trigger. Display also includes display form, such as display in the form of a circle or a rectangle. Similarly, in order to ensure the normal progress of file sharing, this step also needs to send the created floating trigger window to each source device, and synchronously display it on the screen of the source device with the set display attribute. The synchronization can be understood as The position scale information presented by the current execution device on different source devices is the same, that is, the presentation position is the same relative to different screens.
S304、接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作。S304. Receive a drag operation of dragging the current display interface to the first shared trigger area.
示例性的,本步骤可以接收到用户在触摸显示屏上对当前展示界面以光标处于所对应拖拽框的形式进行拖拽操作,且所述拖拽操作的拖拽接收区域为第一共享触发区域。Exemplarily, in this step, it may be received that the user performs a drag operation on the current display interface in the form of the cursor in the corresponding drag frame on the touch screen, and the drag reception area of the drag operation is the first shared trigger. area.
可以理解的是,站在用户角度来描述,用户清楚待共享的文件位于哪个源端设备中,由此可将该待共享的文件作为当前展示界面全屏呈现在触摸显示屏中,并将该源端设备记为第一源端设备。同时,站在本执行设备的角度,可以将当前展示界面所对应的源端设备记为第一源端设备,且可以确定该当前展示界面上的拖拽框位置,并呈现各用户,以使用户清楚当前展示界面的拖拽框具体处于哪个位置,该当前展示界面对应的文件内容可记为待共享文件。同时,站在用户角度,用户还清楚需要将待共享的文件共享至哪个源端设备,由此可通过预先的使用说明确定与该源端设备对应的共享触发区域,本执行设备可将该共享触发区域记为第一共享触发区域,将该源端设备记为第二源端设备。由此,用户可通过对当前展示界面所对应拖拽框的拖拽,将当前展示界面拖拽至与第二源端设备所关联的第一共享触发区域中,以此来实现待共享文件的共享触发。It can be understood that from the user's point of view, the user knows which source device the file to be shared is located in, so that the file to be shared can be presented on the touch screen as the current display interface in full screen, and the source device can be displayed on the touch screen. The end device is recorded as the first source end device. At the same time, from the perspective of this execution device, the source device corresponding to the current display interface can be recorded as the first source device, and the position of the drag box on the current display interface can be determined, and each user can be presented to make The user knows exactly where the drag box of the current display interface is located, and the content of the file corresponding to the current display interface may be recorded as the file to be shared. At the same time, from the user's point of view, the user is also clear to which source device the file to be shared needs to be shared to, so that the sharing trigger area corresponding to the source device can be determined through the pre-use instructions, and the execution device can share the shared trigger area. The trigger area is recorded as the first shared trigger area, and the source device is recorded as the second source device. Therefore, the user can drag the current display interface to the first sharing trigger area associated with the second source device by dragging the drag box corresponding to the current display interface, so as to realize the sharing of the file to be shared. Shared triggers.
S305、将所述拖拽操作的操作数据发送至所述第一源端设备。S305. Send the operation data of the drag operation to the first source device.
示例性地,所述操作数据中包含了拖拽点的位置比例信息,以用于第一源端设备确定各拖拽点在第一源端设备屏幕上的实际对应的坐标位置。Exemplarily, the operation data includes position scale information of the drag point, which is used by the first source device to determine the actual corresponding coordinate position of each drag point on the screen of the first source device.
S306、接收所述第一源端设备发送的共享下载信息。S306. Receive the shared download information sent by the first source device.
在本实施例中,可以将上述实施例中的文件共享信息具体优化为共享下载信息,即,第一源端设备根据所接收拖拽操作对应的操作数据,由此生成并发送至本执行设备的文件共享信息具体为共享下载信息,所述共享下载信息具体可理解为:用于在转发给第二源端设备后,使第二源端设备直接获得当前展示界面所对应待共享文件的下载信息。其中,所述共享下载信息中至少包含了所述当前展示界面对应的待共享文件以及所述第二源端设备的第一设备标识。In this embodiment, the file sharing information in the above-mentioned embodiments can be specifically optimized as shared download information, that is, the first source device generates and sends the operation data corresponding to the received drag operation to the execution device according to the received operation data. The file sharing information is specifically shared download information, and the shared download information can be specifically understood as: after being forwarded to the second source device, the second source device can directly obtain the download of the file to be shared corresponding to the current display interface information. Wherein, the shared download information at least includes the to-be-shared file corresponding to the current display interface and the first device identifier of the second source device.
S307、根据所述第二源端设备的第一设备标识,确定所述第二源端设备对应的共享链接地址。S307. Determine the shared link address corresponding to the second source device according to the first device identifier of the second source device.
在本实施例中,接收到第一源端设备发送的共享下载信息后,可以查找预先确定的已连接设备信息表,确定出第二源端设备上文件服务器的共享连接地址。其中,所述共享链接地址由所述第二源端设备在与本执行设备建立通信连接后反馈。In this embodiment, after receiving the shared download information sent by the first source device, a predetermined connected device information table can be searched to determine the shared connection address of the file server on the second source device. The shared link address is fed back by the second source device after establishing a communication connection with the execution device.
S308、基于所述共享链接地址,将所述当前展示界面对应的待共享文件上传至预先创建于所述第二源端设备中的文件服务器,以使所述第二源端设备获得所述当前展示界面对应的待共享文件。S308. Based on the shared link address, upload the to-be-shared file corresponding to the current display interface to a file server pre-created in the second source device, so that the second source device obtains the current Displays the file to be shared corresponding to the interface.
在本实施例中,确定第二源端设备对应的共享链接地址后,可以直接根据该共享链接地址将共享下载信息中包含的待共享文件上传至设置于第二源端设备上与该共享连接地址关联的文件服务器中,由此实现待共享文件到第二源端设备的共享。In this embodiment, after determining the shared link address corresponding to the second source device, the to-be-shared file included in the shared download information can be uploaded directly according to the shared link address to the shared link set on the second source device. In the file server associated with the address, the sharing of the to-be-shared file to the second source device is realized.
本申请实施例三提供的一种文件共享方法,具体包括了触发关联表的确定操作,同时也提供了用户进行文件共享的悬浮触发窗口的创建以及同步呈现,并实现了第一源端设备中待共享文件结合确定的共享链接地址到第二源端设备的共享,由此在保证文件共享准确性和有效性的前提下简化了文件共享的实现流程。本申请实施例中触发关联表的确定以及悬浮触发窗口的创建为后续文件共享触发以及第二源端设备确定提供了关键信息支持,保证了文件共享的有效实现。The file sharing method provided by the third embodiment of the present application specifically includes the determination operation of triggering the association table, and also provides the creation and synchronous presentation of the floating trigger window for the user to perform file sharing, and realizes the first source device in the The file to be shared is shared with the second source device in combination with the determined shared link address, thereby simplifying the implementation process of file sharing on the premise of ensuring the accuracy and validity of the file sharing. The determination of the trigger association table and the creation of the floating trigger window in the embodiments of the present application provide key information support for subsequent file sharing triggering and determination of the second source device, and ensure effective implementation of file sharing.
在上述实施例三的基础上,形成了本实施例三的另一个可选实施例,在可选实施例中,可以将接收到所述第一源端设备发送的文件共享信息,具体化为:接收所述第一源端设备发送的共享连接信息,所述共享连接信息至少包括:所述第二源端设备的第一设备标识、所述第一源端设备的第二设备标识、以及所述当前展示界面所对应待共享文件的文件地址。可以理解的是,采用本可选实施例上述具体化的步骤相当于替换了本实施例上述给出的S306。On the basis of the third embodiment above, another optional embodiment of the third embodiment is formed. In an optional embodiment, the file sharing information sent by the first source device may be received as : Receive the shared connection information sent by the first source device, where the shared connection information at least includes: the first device identifier of the second source device, the second device identifier of the first source device, and The file address of the file to be shared corresponding to the current display interface. It can be understood that, adopting the above-mentioned specific steps of this optional embodiment is equivalent to replacing S306 given above in this embodiment.
在本实施例中,相当于将上述实施例中的文件共享信息具体优化为共享连接信息,即,第一源端设备根据所接收拖拽操作对应的操作数据,由此生成并发送至本执行设备的文件共享信息具体为共享连接信息,所述共享连接信息具体可理解为:用于建立第一源端设备与第二源端设备通信连接所需的连接信息。In this embodiment, it is equivalent to specifically optimizing the file sharing information in the above-mentioned embodiment as sharing connection information, that is, the first source device generates and sends the operation data corresponding to the received drag operation to this execution device according to the received operation data. The file sharing information of the device is specifically shared connection information, and the shared connection information may be specifically understood as connection information required for establishing a communication connection between the first source device and the second source device.
具体地,所述共享连接信息中至少包括:第二源端设备的第一设备标识、所述第一源端设备的第二设备标识、以及所述当前展示界面所对应待共享文件的文件地址。即,所述共享连接信息中应该包括交互智能设备(本执行设备)确认请求转发对象所需的设备标识(第二源端设备的第一设备标识)、还包括用于第二源端设备与第一源端设备建立通信连接时所需的第一源端设备的第二设备标识,此外,共享连接信息中还包括有第二源端设备下载待共享文件所需的下载地址,所述下载地址具体可以是待共享文件在第一源端设备上存储时的文件地址信息。Specifically, the shared connection information at least includes: the first device identifier of the second source device, the second device identifier of the first source device, and the file address of the file to be shared corresponding to the current display interface . That is, the shared connection information should include the device identifier (the first device identifier of the second source device) required by the interactive intelligent device (this executing device) to confirm the request forwarding object, and the device identifier for the second source device to communicate with The second device identifier of the first source device required when the first source device establishes a communication connection, and the shared connection information also includes a download address required by the second source device to download the file to be shared, and the download Specifically, the address may be file address information when the file to be shared is stored on the first source device.
示例性地,本执行设备可以接收到第一源端设备在根据操作数据确定出待共享文件及第二源端设备后发送的共享连接信息,以便于本执行设备通过对共享连接信息的转发来实现第一源端设备与第二源端设备的通信连接。Exemplarily, the execution device can receive the shared connection information sent by the first source device after determining the file to be shared and the second source device according to the operation data, so that the execution device can forward the shared connection information to the shared connection information. The communication connection between the first source end device and the second source end device is realized.
相应的,在上述优化的基础上,本可选实施例还可以将“通过所述文件共享信息,使所述第二源端设备获得所述当前展示界面对应的待共享文件”进一步的优化为:将所述共享连接信息转发给所述第二源端设备,使所述第二源端设备基于所述共享连接信息与所述第一源端设备建立通信连接,以从所述第一源端设备获得所述当前展示界面对应的待共享文件。可以理解的是,采用本实施例上述具体化的步骤相当于替换了本实施例上述给出的S307和S308。Correspondingly, on the basis of the above optimization, this optional embodiment may further optimize "by the file sharing information, the second source device obtains the to-be-shared file corresponding to the current display interface" as: : forward the shared connection information to the second source device, so that the second source device establishes a communication connection with the first source device based on the shared connection The terminal device obtains the to-be-shared file corresponding to the current display interface. It can be understood that, adopting the above-mentioned concrete steps of this embodiment is equivalent to replacing S307 and S308 given above in this embodiment.
在本实施例中,本执行设备可以根据共享连接信息中第二源端设备的第一设备标识确定待转发的第二源端设备,从而保证在执行本步骤后可以使第二源端设备接收到该共享连接信息,进而使第二源端设备通过共享连接信息中的第二设备标识确定待建立连接的第一源端设备,并与之建立通信连接,由此可以实现第一源端设备与第二源端设备的文件共享,且所共享的文件即为当前展示界面对应的待共享文件。In this embodiment, the executing device may determine the second source-end device to be forwarded according to the first device identifier of the second source-end device in the shared connection information, so as to ensure that the second source-end device can receive the to the shared connection information, so that the second source device can determine the first source device to be connected by using the second device identifier in the shared connection information, and establish a communication connection with it, so that the first source device can be realized. The file is shared with the second source device, and the shared file is the to-be-shared file corresponding to the current display interface.
实施例四Embodiment 4
图6为本申请实施例四提供的一种文件共享方法的流程示意图,该方法的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的记为第一源端设备的源端设备。该方法适用于对该执行终端当前界面所对应的文件内容进行共享的情况。该第一源端设备可以通过软件和/或硬件实现,且该第一源端设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。6 is a schematic flowchart of a file sharing method according to Embodiment 4 of the present application. An execution terminal of the method may be connected to an interactive smart device, and the current interface is displayed on the touch display of the interactive smart device as a current display interface. The one on the screen is marked as the source device of the first source device. The method is suitable for sharing the file content corresponding to the current interface of the execution terminal. The first source device may be implemented by software and/or hardware, and the first source device may be composed of two or more physical entities, or may be composed of one physical entity.
根据上述实施例一至实施例三的描述可知,可通过判定源端设备的当前界面是否全屏展示在交互智能设备上形成当前展示界面来确定第一源端设备,示例性的,若当前界面全屏展示于交互智能设备,则将该源端设备确定为第一源端设备。According to the descriptions of the first to third embodiments, the first source device can be determined by determining whether the current interface of the source device is displayed in full screen on the interactive smart device to form the current display interface. Exemplarily, if the current interface is displayed in full screen For the interactive smart device, the source device is determined as the first source device.
可以理解的是,由于第一源端设备是与交互智能设备建立了通信连接的源端设备之一,因此,实现文件共享时用户进行的拖拽操作即可作用在作为本执行终端的第一源端设备上,又可作用第一源端设备在交互智能设备上全屏展示所形成的当前展示界面上;相应的,所述操作数据可以直接由第一源端设备产生,也可以由交互智能设备产生,然后由交互智能设备回传发送至作为本执行终端的第一源端设备。It can be understood that, since the first source device is one of the source devices that has established a communication connection with the interactive smart device, the drag operation performed by the user when file sharing is implemented can act on the first source device that is the execution terminal. On the source device, it can also act on the current display interface formed by the full-screen display of the first source device on the interactive smart device; correspondingly, the operation data can be directly generated by the first source device, or can be generated by the interactive smart device. The device is generated, and then sent back by the interactive intelligent device to the first source device that is the execution terminal.
本实施例进行文件共享的实现时,并不对用户进行拖拽操作的操作设备进行限定,但本实施例具体对用户在交互智能设备的当前展示界面进行拖拽操作,并由交互智能设备间所作用拖拽操作产生的操作数据发送给本执行终端为优选方式来具体进行描述。When the file sharing is implemented in this embodiment, the operating device for the user to perform the dragging operation is not limited, but this embodiment specifically performs the dragging operation on the current display interface of the interactive intelligent device, and the operation device is controlled by the interactive intelligent device. Sending the operation data generated by the dragging operation to the execution terminal is a preferred manner to describe in detail.
如图图6所示,本申请实施例四提供的一种文件共享,具体包括:As shown in FIG. 6 , a file sharing provided in Embodiment 4 of the present application specifically includes:
S401、接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上。S401. Receive shared interaction information sent by an interactive smart device, wherein the shared interaction information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the On the current display interface in the interactive smart device.
在本实施例中,所述共享交互信息具体可理解为由交互智能设备发送的文件共享所需的基准信息,该共享交互信息中可以仅包括拖拽操作的操作数据。可以知道的是,所述拖拽操作可以是指用户在交互智能设备的触摸显示屏中进行的触摸类型为拖拽类型的操作,该拖拽操作作用在本执行终端展示在触摸显示屏的当前展示界面中,且具体作用在该当前展示界面对应的拖拽框中。In this embodiment, the shared interaction information can be specifically understood as the reference information required for file sharing sent by the interactive intelligent device, and the shared interaction information may only include operation data of the drag and drop operation. It can be known that the drag operation may refer to an operation performed by the user on the touch display screen of the interactive smart device whose touch type is a drag type. In the display interface, and the specific role is in the drag box corresponding to the current display interface.
具体地,所述操作数据可理解为用户进行拖拽操作的过程中监听到的数据,可选地,所述操作数据至少包括该拖拽操作过程中所形成拖拽点在触摸显示屏当前展示界面中的位置比例信息。所述当前展示界面为本执行终端展示在所述交互智能设备上的当前界面,即本执行终端当前时刻所具备的当前界面在所述交互智能设备触摸显示屏上对应的展示界面。Specifically, the operation data can be understood as the data monitored by the user during the drag operation. Optionally, the operation data includes at least the drag points formed during the drag operation that are currently displayed on the touch screen. Position scale information in the interface. The current display interface is the current interface displayed by the execution terminal on the interactive intelligent device, that is, the display interface corresponding to the current interface of the execution terminal at the current moment on the touch screen of the interactive intelligent device.
具体地,在用户对本执行终端展示在交互智能设备上的当前展示界面对应的拖拽框内进行拖拽操作后,本执行终端可以接收到由所述交互智能设备回传的拖拽操作的操作数据,并可通过后续的步骤来分析该操作数据以实现对该拖拽操作的响应。Specifically, after the user performs a drag operation on the drag box corresponding to the current display interface displayed by the execution terminal on the interactive smart device, the execution terminal can receive the drag operation operation returned by the interactive smart device data, and the operation data can be analyzed through subsequent steps to realize the response to the dragging operation.
S402、分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备。S402. When analyzing that the operation data satisfies the sharing trigger condition, determine the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared.
根据上述各实施例的描述,可以确定本实施例中的第二源端设备及作为本执行终端的第一源端设备均为与交互智能设备建立通信的源端设备且各源端设备的当前界面同步展示在交互智能设备的触摸显示屏上,由此,本步骤要确定的第二源端设备可理解为其与交互智能设备建立通信连接的源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备。According to the descriptions of the above embodiments, it can be determined that the second source device in this embodiment and the first source device serving as the execution terminal are both the source devices that establish communication with the interactive smart device, and the current The interface is displayed on the touch screen of the interactive smart device synchronously. Therefore, the second source device to be determined in this step can be understood as the source device that establishes a communication connection with the interactive smart device, wherein the second source device Both the device and the execution terminal are source devices that establish communication with the interactive smart device.
可以理解的是,本实施例在接收到操作数据后,进行当前展示界面所对应待共享文件到第二源端设备的共享之前,需要从与本执行终端同时建立通信连接的源端设备中,确定哪一个源端设备为用户期望接收到待共享文件的目标源端设备,所述目标源端设备即为第二源端设备,在具体操作中,所述第二源端设备可预先由用户根据自身的共享期望来选定,之后用户可通过拖拽操作来实现第二源端设备的实际指定,之后本实施例通过对拖拽操作所对应操作数据的分析可以确定出用户选定的第二源端设备,且本执行终端可以通过交互智能设备或者交互智能设备反馈的已连接设备信息表实现待共享文件到该第二源端设备的文件共享。It can be understood that, after the operation data is received in this embodiment, before the sharing of the file to be shared corresponding to the current display interface to the second source device is performed, it is necessary to establish a communication connection with the execution terminal from the source device at the same time. Determine which source end device is the target source end device that the user expects to receive the file to be shared, and the target source end device is the second source end device. In the specific operation, the second source end device can be preset by the user It is selected according to its own sharing expectations, and then the user can realize the actual designation of the second source device through a drag operation, and then this embodiment can determine the first selected by the user through the analysis of the operation data corresponding to the drag operation. Two source devices, and the execution terminal can realize the file sharing of the to-be-shared file to the second source device through the interactive smart device or the connected device information table fed back by the interactive smart device.
在本实施例中,所述共享触发条件可以指用于进行第二源端设备确定的触发条件,该共享触发条件可以是上述拖拽操作的操作对象为当前界面且对该当前界面拖拽的拖拽结束位置处于所呈现的任一共享触发区域。在本实施例中,各共享触发区域包含在呈现于本执行终端的悬浮触发窗口中,本步骤通过分析所述拖拽操作的操作数据,能够判断所述拖拽操作的起始点位置是否处于当前展示界面的拖拽框,若是则认为拖拽对象为本执行终端的当前界面,且再判断所述拖拽操作的结束点位置是否进入包含在悬浮触发窗口的任一共享触发区域中,若进入,则视为对拖拽对象的拖拽落入了共享触发区域,由此满足了文件的共享触发,继而可根据拖拽对象确定待共享文件,以及确定该待共享文件对应的第二源端设备。In this embodiment, the shared trigger condition may refer to a trigger condition for determining the second source device, and the shared trigger condition may be that the operation object of the above drag operation is the current interface and the dragged object is dragged on the current interface. The drag end position is in any of the shared trigger areas presented. In this embodiment, each shared trigger area is included in the floating trigger window displayed on the execution terminal. In this step, by analyzing the operation data of the drag operation, it can be determined whether the starting point of the drag operation is in the current position. The drag frame of the display interface, if it is, it is considered that the drag object is the current interface of the execution terminal, and then it is judged whether the position of the end point of the drag operation enters any shared trigger area included in the floating trigger window, and if it enters , it is considered that the dragging of the dragged object falls into the sharing trigger area, thereby satisfying the sharing trigger of the file, and then the file to be shared can be determined according to the dragged object, and the second source corresponding to the file to be shared can be determined. equipment.
S403、通过设定的共享规则使所述待共享文件共享至所述第二源端设备。S403. Share the to-be-shared file to the second source device through a set sharing rule.
在本实施例中,本执行终端实现与第二源端设备文件共享的共享规则有多种,本步骤可以基于已获取的信息来选取不同的共享规则进行文件共享,示例性的,本执行终端可以在确定上述S401发送的共享交互信息中仅包含拖拽操作的操作数据时,选择基于交互智能设备作为中转设备进行文件共享的共享规则,即可以通过向交互智能设备发送文件共享信息,由交互智能设备作为中转来使第二源端设备获得待共享文件。上述情况中,因仅获得拖拽操作的操作数据,即使通过上述S402确定了待共享文件及第二源端设备,由于不知道第二源端设备上文件服务器的共享链接地址,也无法直接将待共享文件共享给第二源端设备。同时,该共享规则还可以进一步细分是直接通过交互智能设备中转待共享文件,还是中转包含待共享文件的文件地址等。In this embodiment, there are various sharing rules for the execution terminal to realize file sharing with the second source device. In this step, different sharing rules may be selected for file sharing based on the acquired information. Exemplarily, this execution terminal When it is determined that the shared interaction information sent in the above S401 only includes the operation data of the drag and drop operation, a sharing rule for file sharing based on the interactive intelligent device as a relay device can be selected, that is, the file sharing information can be sent to the interactive intelligent device, and the interactive The smart device acts as a relay to enable the second source device to obtain the file to be shared. In the above situation, because only the operation data of the drag operation is obtained, even if the file to be shared and the second source device are determined through the above S402, because the shared link address of the file server on the second source device is not known, it is impossible to directly The to-be-shared file is shared with the second source device. At the same time, the sharing rule can be further subdivided whether to transfer the file to be shared directly through the interactive smart device, or transfer the address of the file containing the file to be shared, etc.
又如,本终端可以在确定共享交互信息中还包括有其他信息如第二源端设备对应的共享链接地址等信息时,可以选择直接将待共享文件共享至第二源端设备所对应文件服务器的共享规则。该共享规则下,可以先根据所获得的第二源端设备对应的共享链接等信息将待共享文件上传至第二源端设备对应的文件服务器。For another example, the terminal may choose to directly share the file to be shared to the file server corresponding to the second source device when determining that the shared interaction information also includes other information such as the shared link address corresponding to the second source device. sharing rules. Under the sharing rule, the file to be shared may be uploaded to the file server corresponding to the second source device according to the obtained information such as the shared link corresponding to the second source device.
本申请实施例四提供的一种文件共享方法,应用于本申请实施例中进行文件共享的第一源端设备,接收交互智能设备发送的共享交互信息,并分析到共享交互信息中的操作数据满足共享触发条件时,确定待共享的共享文件以及待共享文件对应的第二源端设备;最终,通过设定的共享规则使所述待共享文件共享至所述第二源端设备。由此,解决了交互智能设备上存在多个源端设备建立通信连接时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备的当前界面到交互智能设备上进行信息展示的前提下,仅通过简单的将待分享文件拖动到共享的触发区域,即可触发将文件共享到触发区域关联的源端设备,实现了文件的快速共享,简化了文件共享的实现流程。The file sharing method provided in the fourth embodiment of the present application is applied to the first source device for file sharing in the embodiment of the present application, receives the shared interaction information sent by the interactive intelligent device, and analyzes the operation data in the shared interaction information When the sharing trigger condition is satisfied, the shared file to be shared and the second source device corresponding to the to-be-shared file are determined; finally, the to-be-shared file is shared to the second source device through the set sharing rule. Therefore, the problem of complicated file transfer operations when multiple source devices establish communication connections on the interactive smart device is solved. For the user, information can be performed on the interactive smart device without interrupting the current interface of the source device. Under the premise of display, simply drag the file to be shared to the shared trigger area, the file can be triggered to be shared to the source device associated with the trigger area, which realizes the rapid sharing of files and simplifies the realization process of file sharing. .
实施例五Embodiment 5
图7为本申请实施例五提供的一种文件共享方法的流程示意图,该实施例一上述实施例四为基础进行优化,在本实施例中,进一步将分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,具体化为:分析所述操作数据,确定所述拖拽操作在本执行终端上对应的拖拽对象及所述拖拽对象的拖拽结束位置;当所述拖拽对象为本执行终端的当前界面且所述拖拽结束位置处于本执行终端所展示的共享触发区域时,确定所述操作数据满足共享触发条件;将所述拖拽对象关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的第二源端设备。7 is a schematic flowchart of a file sharing method according to Embodiment 5 of the present application. This Embodiment 1 is optimized based on the above-mentioned Embodiment 4. In this embodiment, it is further analyzed that the operation data satisfies the sharing trigger condition , determining the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared, which is embodied as: analyzing the operation data, and determining the corresponding drag operation on the execution terminal. The dragging object and the dragging end position of the dragging object; when the dragging object is the current interface of the execution terminal and the dragging end position is in the shared trigger area displayed by the execution terminal, determine the The operation data satisfies the sharing trigger condition; the file associated with the dragged object is taken as the file to be shared, and the second source device corresponding to the to-be-shared file is determined according to the drag end position and the pre-stored trigger association table.
同时,本实施例还将通过设定的共享规则使所述待共享文件共享至所述第二源端设备,具体优化为:生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件。At the same time, this embodiment will also share the to-be-shared file to the second source device through the set sharing rules, which is specifically optimized as: generating file sharing information corresponding to the to-be-shared file and sending it to the interactive The smart device is forwarded to the second source-end device through the interactive smart device, so that the second source-end device obtains the to-be-shared file based on the file sharing information.
如图7所示,本申请实施例五提供的一种文件共享方法,具体包括如下操作:As shown in FIG. 7 , a file sharing method provided in Embodiment 5 of the present application specifically includes the following operations:
S501、接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上。S501. Receive shared interaction information sent by an interactive intelligent device, wherein the shared interaction information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the On the current display interface in the interactive smart device.
S502、分析所述操作数据,确定所述拖拽操作在本执行终端上对应的拖拽对象及所述拖拽对象的拖拽结束位置。S502. Analyze the operation data to determine a drag object corresponding to the drag operation on the current execution terminal and a drag end position of the drag object.
在本实施例中,所述拖拽结束位置可以指作用在交互智能设备上当前展示界面的拖拽操作的结束点位置在本执行终端屏幕上实际对应的结束点位置。具体地,本步骤可以通过分析操作数据中所包含拖拽操作各触摸点的位置比例信息来确定其在本执行终端屏幕上对应的拖拽结束位置。所述拖拽对象具体可指进行拖拽操作时在本执行终端屏幕上实际对应的操作对象,该拖拽对象具体可通过对所述操作数据的分析确定。In this embodiment, the drag end position may refer to the end point position actually corresponding to the end point position of the drag operation acting on the current display interface on the interactive smart device on the screen of the execution terminal. Specifically, in this step, the corresponding drag end position on the screen of the execution terminal can be determined by analyzing the position ratio information of each touch point of the drag operation contained in the operation data. The drag object may specifically refer to an operation object actually corresponding to the screen of the execution terminal when the drag operation is performed, and the drag object may be specifically determined by analyzing the operation data.
进一步地,图8给出了本申请实施例五中操作数据分析的实现流程图,如图8所示,本实施例具体将分析所述操作数据,确定所述拖拽操作在本执行终端上对应的拖拽对象及所述拖拽对象的拖拽结束位置,优化为下述步骤:Further, FIG. 8 shows a flowchart of the implementation of the operation data analysis in Embodiment 5 of the present application. As shown in FIG. 8 , this embodiment specifically analyzes the operation data to determine that the drag operation is performed on the execution terminal. The corresponding drag object and the drag end position of the drag object are optimized into the following steps:
S5021、从所述操作数据中提取所述拖拽操作所对应拖拽起始点的起始位置比例信息以及拖拽结束点的结束位置比例信息。S5021. Extract the starting position scale information of the drag start point and the end position scale information of the drag end point corresponding to the drag operation from the operation data.
其中,所述起始位置比例信息可以指:以本执行终端在交互智能设备所展示当前展示界面的左上角为坐标原点,拖拽操作的拖拽起始点(待拖拽对象所在起始位置)所对应坐标位置信息中横纵坐标分别与所述当前展示界面的宽高的比值信息。Wherein, the starting position ratio information may refer to: taking the upper left corner of the current display interface displayed by this execution terminal on the interactive smart device as the coordinate origin, the dragging starting point of the dragging operation (the starting position of the object to be dragged) The ratio information of the horizontal and vertical coordinates in the corresponding coordinate position information and the width and height of the current display interface respectively.
所述结束位置比例信息可以指:以本执行终端在交互智能设备所展示第一当前展示界面的左上角为坐标原点,拖拽操作的的拖拽结束点(拖拽待拖拽对象的结束位置)所对应坐标位置信息中横纵坐标分别与所述当前展示界面的宽高的比值信息。The end position ratio information may refer to: taking the upper left corner of the first current display interface displayed by this execution terminal on the interactive smart device as the coordinate origin, the drag end point of the drag operation (the end position of dragging the object to be dragged). ) in the coordinate position information corresponding to the horizontal and vertical coordinates respectively and the ratio information of the width and height of the current display interface.
S5022、根据所述起始位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应拖拽起始位置。S5022 , according to the starting position ratio information combined with the screen size information of the screen of the current execution terminal, determine the corresponding drag start position of the drag operation on the current interface of the current execution terminal.
可以理解的是,本执行终端在交互设备屏幕上对应的当前展示界面的尺寸与本执行终端屏幕的实际屏幕尺寸可能是不同的,但两者的宽高比是相同的,因此,在获取到交互智能设备中拖拽操作所对应拖拽起始点的起始位置比例信息后,可根据本执行终端屏幕的实际屏幕尺寸信息,确定所述拖拽操作在本执行终端屏幕上对应的拖拽起始位置。It can be understood that the size of the current display interface corresponding to the screen of the execution terminal on the interactive device may be different from the actual screen size of the screen of the execution terminal, but the aspect ratio of the two is the same. After the start position ratio information of the drag start point corresponding to the drag operation in the interactive smart device, the corresponding drag start point of the drag operation on the execution terminal screen can be determined according to the actual screen size information of the execution terminal screen. start position.
S5023、如果所述拖拽起始位置处于本执行终端当前界面的拖拽框内,则确定所述拖拽对象为本执行终端的当前界面。S5023. If the drag start position is within the drag frame of the current interface of the current execution terminal, determine that the dragged object is the current interface of the current execution terminal.
在本实施例中,本执行终端当前界面上对应交互智能设备上当前展示界面也同步设置了拖拽框,因此,根据当前展示界面与本执行终端当前界面的映射关系,可以确定作用在交互智能设备上的拖拽操作的起始点是否落入本执行终端当前界面所对应的拖拽框内,如果落入,则可认为该该拖拽操作的操作对象为本执行终端的当前界面。In this embodiment, a drag box is also set synchronously on the current interface of the execution terminal corresponding to the current display interface on the interactive smart device. Therefore, according to the mapping relationship between the current display interface and the current interface of the execution terminal, it can be determined that the interactive intelligence Whether the starting point of the drag operation on the device falls into the drag frame corresponding to the current interface of the execution terminal, if it falls, it can be considered that the operation object of the drag operation is the current interface of the execution terminal.
S5024、根据所述结束位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应的拖拽结束位置。S5024: Determine the drag end position corresponding to the drag operation on the current interface of the execution terminal according to the end position ratio information combined with the screen size information of the screen of the execution terminal.
同样,根据上述描述,可知在获取到交互智能设备中拖拽操作所对应拖拽结束点的结束位置比例信息后,可根据本执行终端屏幕的实际屏幕尺寸信息,确定所述拖拽操作在本执行终端屏幕上对应的拖拽结束位置。Similarly, according to the above description, it can be known that after obtaining the end position ratio information of the drag end point corresponding to the drag operation in the interactive smart device, it can be determined that the drag operation is in this execution terminal according to the actual screen size information of the screen of the execution terminal. Execute the corresponding drag end position on the terminal screen.
S503、当所述拖拽对象为本执行终端的当前界面且所述拖拽结束位置处于本执行终端所展示的共享触发区域时,确定所述操作数据满足共享触发条件。S503. When the drag object is the current interface of the execution terminal and the drag end position is in the sharing trigger area displayed by the execution terminal, determine that the operation data satisfies the sharing trigger condition.
在本实施例中,当检测到拖拽对象为本执行终端的当前界面且该拖拽对象最终落入本执行终端屏幕的任一共享触发区域时,就可以认为该操作数据满足了共享触发条件。In this embodiment, when it is detected that the dragged object is the current interface of the execution terminal and the dragged object finally falls into any shared trigger area on the screen of the execution terminal, it can be considered that the operation data satisfies the shared trigger condition .
在本实施例中,所述共享触发区域可理解为包含在呈现于本执行终端当前界面上的悬浮触发窗口中,所述悬浮触发窗口预先由所述交互智能设备发送并同步呈现;所述悬浮触发窗口中包含至少一个具备不同触发标号的共享触发区域,各共享触发区域关联一个与所述交互智能设备建立网络通信连接的源端设备。In this embodiment, the shared trigger area can be understood as being included in the suspension trigger window presented on the current interface of the execution terminal, and the suspension trigger window is sent in advance by the interactive intelligent device and presented synchronously; The trigger window includes at least one shared trigger area with different trigger labels, and each shared trigger area is associated with a source device that establishes a network communication connection with the interactive smart device.
优选地,所述悬浮触发窗口以圆形区域呈现,各所述共享触发区域为均分所述圆形区域的扇形区域;或者,所述悬浮触发窗口以矩形区域呈现,各所述共享触发区域为均分所述矩形区域的子矩形区域。Preferably, the floating trigger window is presented as a circular area, and each of the shared trigger areas is a fan-shaped area that equally divides the circular area; or, the floating trigger window is presented as a rectangular area, and each of the shared trigger areas is a sub-rectangular area that equally divides the rectangular area.
示例性的,图9给出了本申请实施例五中源端设备所显示当前界面中悬浮窗口的设置示例图,如图9 可知,本执行终端3所显示当前界面50中同步展示了由交互智能设备确定并发送以同步显示的悬浮触发窗口51,该悬浮触发窗口51呈现为圆形区域,悬浮在当前界面50,上该悬浮触发窗口中包含了4个触发标号分别为A、B、C和D共享触发区域。Exemplarily, FIG. 9 shows an example diagram of the setting of the floating window in the current interface displayed by the source device in Embodiment 5 of the present application. As can be seen from FIG. 9 , the current interface 50 displayed by the execution terminal 3 synchronously displays an interactive display. The smart device determines and sends a synchronously displayed suspension trigger window 51. The suspension trigger window 51 is presented as a circular area and is suspended on the current interface 50. The suspension trigger window contains 4 trigger labels A, B, and C respectively. Shared trigger area with D.
S504、将所述拖拽对象关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的第二源端设备。S504. Use the file associated with the dragging object as the file to be shared, and determine the second source device corresponding to the file to be shared according to the dragging end position and the pre-stored trigger association table.
在本实施例中,拖拽对象可以理解为本执行终端上进行拖拽操作的对象,本步骤的拖拽对象具体可指本执行终端的当前界面,本执行终端中还存储了该拖拽对象实际关联的文件信息,本步骤可以将拖拽对象关联的文件作为待共享文件。In this embodiment, the dragging object can be understood as the object that performs the dragging operation on the execution terminal. The dragging object in this step may specifically refer to the current interface of the execution terminal, and the dragging object is also stored in the execution terminal. The actual associated file information. In this step, the file associated with the dragged object can be used as the file to be shared.
在本实施例中,所述触发关联表可理解为,交互智能设备创建与存在通信连接的各源端设备所关联共享触发区域时所需的映射关系表,由所述交互智能设备确定并发送至本执行终端;且所述触发关联表可以由与所述交互智能设备建立通信连接的各源端设备的设备标识及相应确定的触发标号组成。In this embodiment, the trigger association table can be understood as the mapping relationship table required when the interactive smart device creates a shared trigger area associated with each source device that has a communication connection, which is determined and sent by the interactive smart device to this execution terminal; and the trigger association table may be composed of device identifiers of each source device that establishes a communication connection with the interactive smart device and correspondingly determined trigger labels.
具体地,当所述拖拽结束位置处于本执行终端屏幕中的任一共享触发区域,即所述拖拽操作满足共享触发条件时,通过查找预存在本执行终端的触发关联表,可确定与拖拽结束位置所处共享触发区域关联的设备标识,该设备标识对应的源端设备则可作为待共享文件的第二源端设备。根据上述描述,可以知道所确定的第二源端设备同样与交互智能设备建立通信。Specifically, when the drag end position is in any shared trigger area on the screen of the current execution terminal, that is, when the drag operation satisfies the shared trigger condition, by searching the trigger association table pre-existing in the current execution terminal, it can be determined that the The device identifier associated with the sharing trigger area where the dragging end position is located, and the source device corresponding to the device identifier can be used as the second source device of the file to be shared. According to the above description, it can be known that the determined second source device also establishes communication with the interactive smart device.
进一步地,本实施例将根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的第二源端设备,具体化为下述步骤:Further, this embodiment will determine the second source device corresponding to the to-be-shared file according to the drag end position and the pre-stored trigger association table, which is embodied in the following steps:
a)确定所述拖拽结束位置所处共享触发区域的触发标号。a) Determine the trigger label of the shared trigger area where the drag end position is located.
根据上述描述,可以知道本执行终端的共享触发区域可以有多个并包含在悬浮触发窗口中,且悬浮触发窗口中每个共享触发区域均具备相应的触发标号,本步骤可以确定该拖拽结束位置所处共享触发区域的触发标号。According to the above description, it can be known that there can be multiple shared trigger areas of the execution terminal and are included in the floating trigger window, and each shared trigger area in the floating trigger window has a corresponding trigger label, and this step can determine that the dragging ends. The trigger label of the shared trigger area where the location is located.
b)查找所述触发关联表,确定与所述触发标号关联的设备标识。b) Searching the trigger association table to determine the device identification associated with the trigger label.
可以理解的是,所述触摸关联表中包含对于本执行终端各共享触发区域关联的源端设备的设备标识,由于每个源端设备都具有唯一的设备标识,在确定出共享触发区域的触发标号后,就可以查找到与该触发标号所标识的共享触发区域关联的设备标识。It can be understood that the touch association table contains the device identifiers of the source devices associated with each shared trigger area of the execution terminal. Since each source device has a unique device identifier, the trigger of the shared trigger area is determined. After labeling, the device identification associated with the shared trigger area identified by the trigger label can be found.
c)将所述设备标识对应的源端设备作为所述待共享文件对应的第二源端设备。c) Using the source device corresponding to the device identifier as the second source device corresponding to the file to be shared.
可以理解的是,上述设备标识对应的源端设备相当于通过上述拖拽操作确定的源端设备,该源端设备即为本执行终端对待共享文件进行文件共享所需的第二源端设备,并实施例将第二源端设备对应的设备标识记为第一设备标识。It can be understood that the source device corresponding to the above device identifier is equivalent to the source device determined through the above drag and drop operation, and the source device is the second source device required for the execution terminal to share the file to be shared, In the embodiment, the device identifier corresponding to the second source device is marked as the first device identifier.
S505、生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件。S505. Generate file sharing information corresponding to the to-be-shared file and send it to the interactive intelligent device, so as to be forwarded to the second source device through the interactive intelligent device, so that the second source device is based on the The file sharing information obtains the to-be-shared file.
具体地,所述文件共享信息可以是由本执行终端生成并发送的用于将所述待共享文件共享至第二源端设备的共享触发消息。具体地,在本执行终端根据接收的操作数据确定对当前界面的拖拽操作满足文件共享条件,即操作数据满足上述S503给定的共享触发条件时,可根据文件共享的实现策略不同,来生成包含不同信息内容的文件共享信息。Specifically, the file sharing information may be a sharing trigger message generated and sent by this execution terminal for sharing the to-be-shared file to the second source device. Specifically, when the execution terminal determines, according to the received operation data, that the drag operation on the current interface satisfies the file sharing condition, that is, when the operation data satisfies the sharing trigger condition given in S503 above, it can generate the file sharing according to different implementation strategies of the file. File sharing information containing different information content.
示例性地,本执行终端可以考虑待共享文件直接包含在文件共享信息中,此时本步骤发送给交互智能设备的文件共享信息中相当于包含了待共享的待共享文件;此外,本执行终端也可以考虑将待共享文件在其上对应的文件地址包含在文件共享信息中,此时本步骤发送给交互智能设备的文件共享信息中相当于包含了待共享文件共享所需待共享文件的地址信息。Exemplarily, the execution terminal may consider that the file to be shared is directly included in the file sharing information, and the file sharing information sent to the interactive smart device in this step is equivalent to including the to-be-shared file to be shared; It can also be considered that the file address corresponding to the file to be shared is included in the file sharing information. At this time, the file sharing information sent to the interactive smart device in this step is equivalent to including the address of the file to be shared required for sharing the file to be shared. information.
本申请实施例五提供的一种文件共享方法,应用于本申请实施例中将当前界面作为当前展示界面全屏展示在交互智能设备上的第一源端设备,通过在交互智能设备上完成的拖拽操作,并将操作数据回传至本执行终端(第一源端设备),以完成对本执行终端的触摸回传;通过设置的共享触发区域及对应的触发关联表,使得当拖拽对象为本执行终端的当前界面且拖拽结束位置处于本执行终端屏幕中的任一共享触发区域时,即可认定触摸回传的拖拽操作满足共享触发条件,并根据拖拽结束位置所处共享触发区域的触发标号,通过查找触发关联表,确定关联的源端设备即为待共享文件的第二源端设备;之后,生成待共享文件的文件共享信息并发送至交互智能设备,以通过交互智能设备转发至第二源端设备,使第二源端设备基于文件共享信息获得待共享文件。由此,利用上述方法,解决了交互智能设备上存在多个源端设备建立通信连接时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备的当前界面到交互智能设备上进行信息展示的前提下,仅通过简单的将待分享文件拖动到共享的触发区域,即可触发将文件共享到触发区域关联的源端设备,实现了文件的快速共享,简化了文件共享的实现流程。The file sharing method provided in the fifth embodiment of the present application is applied to the first source-end device that displays the current interface as the current display interface on the interactive intelligent device in full screen in the embodiment of the present application. drag operation, and return the operation data to the execution terminal (the first source device) to complete the touch return to the execution terminal; through the shared trigger area and the corresponding trigger association table, the drag object is When the current interface of this execution terminal and the drag end position is in any shared trigger area on the screen of this execution terminal, it can be determined that the drag operation returned by touch satisfies the shared trigger condition, and the shared trigger is triggered according to the position of the drag end position. The trigger label of the area, by looking up the trigger association table, it is determined that the associated source device is the second source device of the file to be shared; after that, the file sharing information of the file to be shared is generated and sent to the interactive intelligent device, so as to pass the interactive intelligent The device forwards to the second source device, so that the second source device obtains the file to be shared based on the file sharing information. Therefore, by using the above method, the problem of complicated file transfer operations when multiple source devices establish communication connections on the interactive smart device is solved. On the premise of displaying information on the device, simply dragging the file to be shared to the shared trigger area can trigger the sharing of the file to the source device associated with the trigger area, which realizes the rapid sharing of files and simplifies the file sharing. Shared implementation process.
在实施例五上述描述的基础上,形成了本申请实施例五的另一个可选实施例,该可选实施例中,进一步优化共享交互信息中还包括:已连接设备信息表,其中,所述已连接设备信息表中包含当前与所述交互智能设备建立通信连接的各源端设备的设备标识及预创建在相应源端设备上文件服务器的共享链接地址。On the basis of the above description of the fifth embodiment, another optional embodiment of the fifth embodiment of the present application is formed. In this optional embodiment, the further optimized shared interaction information further includes: a connected device information table, in which all the The connected device information table includes the device identifiers of each source device currently establishing a communication connection with the interactive smart device and the shared link address of the file server pre-created on the corresponding source device.
在上述优化的基础上,本可选实施例可以将通过设定的共享规则使所述待共享文件共享至所述第二源端设备,进一步优化为:结合所述第二源端设备的设备标识,从所述已连接设备信息表中查找所述第二源端设备的目标共享链接地址;将所述待共享文件基于所述目标共享链接地址共享至所述第二源端设备的文件服务器中,以使所述第二源端设备获得所述待共享文件。On the basis of the above optimization, in this optional embodiment, the to-be-shared file can be shared to the second source-end device through the set sharing rule, and further optimized as: combining with the device of the second source-end device identifier, look up the target shared link address of the second source device from the connected device information table; share the to-be-shared file to the file server of the second source device based on the target shared link address , so that the second source device obtains the to-be-shared file.
在本可选实施例中,当确定上共享交互信息中包含了已连接设备信息表时,可以选取的共享规则为直接根据已连接设备信息表中第二源端设备的目标共享链接地址,将待共享文件上传至目标共享链接地址对应的文件服务器上,其中,所述文件服务器为预先创建在第二源端设备上。由此实现第一源端设备上待共享文件到第二源端设备的直接共享。本可选实施例的上述步骤相当于替换了上述实施例中的S505。In this optional embodiment, when it is determined that the connected device information table is included in the shared interaction information, the sharing rule that can be selected is to directly use the target sharing link address of the second source device in the connected device information table to The file to be shared is uploaded to the file server corresponding to the target sharing link address, wherein the file server is pre-created on the second source device. In this way, the file to be shared on the first source device is directly shared to the second source device. The foregoing steps in this optional embodiment are equivalent to replacing S505 in the foregoing embodiment.
本申请上述可选实施例,能够在不需要交互智能设备作为中转设备的前提下,保证本执行终端上待共享文件到第二源端设备的直接共享,由此简化了文件共享的实现步骤,还保证了在不打断各源端设备到交互智能设备上通信以及本执行终端在交互智能设备上持续显示当前展示界面的前提下实现待共享文件袋第二源端设备的共享。The above-mentioned optional embodiments of the present application can ensure the direct sharing of the file to be shared on the execution terminal to the second source device without the need for an interactive smart device as a transit device, thereby simplifying the implementation steps of file sharing. It also ensures the sharing of the to-be-shared file bag to the second source device without interrupting the communication between each source device and the interactive smart device and the execution terminal continuously displays the current display interface on the interactive smart device.
实施例六Embodiment 6
图10为本申请实施例六提供的一种文件共享方法的流程示意图,本实施例以上述实施例四或实施例五为基础进行优化,在本实施例中,进一步将“生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件”具体优化为:获取所述第二源端设备的第一设备标识、作为第一源端设备的本执行终端的第二设备标识及所述待共享文件的文件地址;基于所述第一设备标识、第二设备标识以及所述文件地址形成共享连接信息;将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,所述第二源端设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。10 is a schematic flowchart of a file sharing method provided in Embodiment 6 of the present application. This embodiment is optimized based on Embodiment 4 or Embodiment 5 above. The file sharing information of the shared file is sent to the interactive intelligent device, so as to be forwarded to the second source device through the interactive intelligent device, so that the second source device can obtain the to-be-to-be based on the file sharing information. "Shared file" is specifically optimized as follows: obtaining the first device identifier of the second source device, the second device identifier of the execution terminal serving as the first source device, and the file address of the file to be shared; A device identifier, a second device identifier, and the file address form shared connection information; the shared connection information is sent to the interactive intelligent device to be forwarded to the second source device through the interactive intelligent device, so The second source device establishes a communication connection with the execution terminal based on the shared connection information, so as to obtain the to-be-shared file from the execution terminal.
相应的,在将所述共享连接信息发送所述交互智能设备之后,本实施例还优化增加了:接收到所述第二源端设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述第二源端设备,其中,所述共享下载请求由所述第二源端设备根据接收的所述共享连接信息生成。Correspondingly, after the shared connection information is sent to the interactive smart device, this embodiment further optimizes and adds: after receiving the shared download request sent by the second source device, send the shared download request corresponding to the pending download request. The shared file is sent to the second source end device, wherein the shared download request is generated by the second source end device according to the received shared connection information.
如图10所示,本申请实施例六提供的一种文件共享方法,具体包括如下操作:As shown in FIG. 10 , a file sharing method provided in Embodiment 6 of the present application specifically includes the following operations:
S601、接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上。S601. Receive shared interaction information sent by an interactive intelligent device, wherein the shared interaction information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the On the current display interface in the interactive smart device.
S602、分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备。S602. When analyzing that the operation data satisfies the sharing trigger condition, determine the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared, wherein the second source device and the local device are The execution terminals are all source end devices that establish communication with the interactive smart device.
需要说明的是,本实施例下述S603和S604具体给出了文件共享信息为共享连接信息时,生成共享连接信息的具体操作。本实施例可以理解为在文件共享的实现策略为向交互智能设备转发一个连接信息,并采用连接信息来建立本执行终端与第二源端设备的通信连接,由此实现本执行终端与第二源端设备的共享时,可以考虑生成共享连接信息来作为文件共享信息。It should be noted that the following S603 and S604 in this embodiment specifically provide specific operations for generating shared connection information when the file sharing information is shared connection information. In this embodiment, it can be understood that the implementation strategy of file sharing is to forward a connection information to the interactive intelligent device, and use the connection information to establish a communication connection between the execution terminal and the second source device, thereby realizing the execution terminal and the second source device. When the source device is shared, it can be considered to generate the shared connection information as the file sharing information.
S603、获取所述第二源端设备的第一设备标识、作为第一源端设备的本执行终端的第二设备标识及所述待共享文件的文件地址。S603. Obtain the first device identifier of the second source device, the second device identifier of the current execution terminal serving as the first source device, and the file address of the file to be shared.
需要说明的是,所述文件地址具体可理解为所述待共享文件在文件服务器中的统一资源定位符URL,该文件服务器可理解为预先创建在本执行终端上用于存储待共享的文件。可以理解的是,本实施例可以将所述待共享文件加载至本执行终端预先创建的文件服务器中,并获得所述待共享文件在所述文件服务器中的加载路径,根据该加载路径确定所述待共享文件在所述文件服务器中的统一资源定位符,由此可以考虑将文件服务器中的统一资源定位符作为文件地址封装在文件共享所需的文件共享信息中。It should be noted that the file address can be specifically understood as the Uniform Resource Locator URL of the to-be-shared file in the file server, and the file server can be understood as pre-created on the execution terminal for storing the to-be-shared file. It can be understood that, in this embodiment, the to-be-shared file can be loaded into a file server pre-created by the execution terminal, and the loading path of the to-be-shared file in the file server can be obtained, and the The uniform resource locator of the file to be shared in the file server can be considered to be encapsulated in the file sharing information required for file sharing as the file address.
根据上述描述,本步骤首先需要获取第二源端设备的第一设备标识、本执行终端的第二设备标识及所述待共享文件的文件地址,其中,所述第一设备标识以及第二设备标识均相当于计算机设备的唯一识别码,可以标识不同计算机设备,可用于设备间建立连接以及进行通信时的识别认证,本实施例在上述确定第二源端设备后,可以获取到该第二源端设备的第一设备标识,同时也能获取到本执行终端的第二设备标识。According to the above description, in this step, the first device identifier of the second source device, the second device identifier of the execution terminal, and the file address of the file to be shared need to be acquired first, wherein the first device identifier and the second device identifier The identifiers are equivalent to the unique identification codes of computer devices, which can identify different computer devices, and can be used for identification and authentication when establishing connections between devices and communicating. In this embodiment, after the second source device is determined above, the second source device can be obtained. The first device identifier of the source device can also be obtained at the same time as the second device identifier of the execution terminal.
可以理解的是,第二源端设备获得本执行终端文件服务器中的待共享文件时,首先需要获知该待共享文件的文件地址,本实施例中将文件地址优选为待共享文件在本执行终端所对应文件服务器上的统一资源定位符,因此,本步骤除获取第一设备标识及第二设备标识外,还需要获取待共享文件加载至本执行终端上文件服务器后对应的统一资源定位符。It can be understood that, when the second source device obtains the file to be shared in the file server of the execution terminal, it first needs to know the file address of the file to be shared. In this embodiment, the file address is preferably the file to be shared in the execution terminal. Therefore, in this step, in addition to acquiring the first device identifier and the second device identifier, it is also necessary to acquire the corresponding uniform resource locator after the file to be shared is loaded into the file server on the execution terminal.
其中,所述统一资源定位符可理解为从互联网上得到的资源位置和访问方法的一种简洁的表示,相当于资源(文本、视频以及图像等文件)所存储地址的一种通用表示。本实施例中的统一资源定位符相当于待共享文件在所述文件服务器中的加载路径,该加载路径具有统一资源定位符的标准格式。The Uniform Resource Locator can be understood as a concise representation of the resource location and access method obtained from the Internet, and is equivalent to a general representation of the storage address of resources (text, video, and image files). The uniform resource locator in this embodiment is equivalent to the loading path of the file to be shared in the file server, and the loading path has the standard format of the uniform resource locator.
S604、基于所述第一设备标识、第二设备标识以及所述文件地址形成共享连接信息。S604. Form shared connection information based on the first device identifier, the second device identifier, and the file address.
本执行终端生成的共享连接信息,包含上述第一设备标识、第二设备标识以及统一资源定位符,该共享连接信息在后续的操作中可以让交互智能设备基于第一设备标识来确定第二源端设备,也可以让第二源端设备基于第二设备标识来确定需要与哪个第一源端设备建立连接,同时还可以告知第二源端设备应该基于哪个加载路径从第一源端设备中获得待共享文件。The shared connection information generated by this execution terminal includes the above-mentioned first device identifier, second device identifier, and uniform resource locator. The shared connection information allows the interactive intelligent device to determine the second source based on the first device identifier in subsequent operations. The second source device can also be used to determine which first source device needs to establish a connection with based on the second device identifier, and can also tell the second source device which loading path should be based on which load path to download from the first source device. Get files to share.
S605、将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,所述第二源端设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。S605. Send the shared connection information to the interactive intelligent device to be forwarded to the second source-end device through the interactive intelligent device, and the second source-end device communicates with the execution terminal based on the shared connection information A communication connection is established to obtain the to-be-shared file from the execution terminal.
本实施例中为实现第一源端设备与第二源端设备间的文件共享,考虑到所述第一源端设备与所述第二源端设备均已与交互智能设备建立了通信连接,但二者之间不具备通信连接,由此可以通过本步骤先向交互智能设备发送共享连接信息,以使交互智能设备根据共享连接信息中的第一设备标识确定出第二源端设备,并将该共享连接信息发送给确定出的第二源端设备,从而使第二源端设备能够与本执行终端建立通信连接,进而以从本执行终端获得待共享文件。In this embodiment, in order to realize file sharing between the first source end device and the second source end device, considering that both the first source end device and the second source end device have established a communication connection with the interactive smart device, However, there is no communication connection between the two, so the shared connection information can be sent to the interactive smart device through this step, so that the interactive smart device can determine the second source device according to the first device identifier in the shared connection information, and The shared connection information is sent to the determined second source device, so that the second source device can establish a communication connection with the current execution terminal, thereby obtaining the file to be shared from the current execution terminal.
S606、接收到所述第二源端设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述第二源端设备,其中,所述共享下载请求由所述第二源端设备根据接收的所述共享连接信息生成。S606. Receive the shared download request sent by the second source device, and send the file to be shared corresponding to the shared download request to the second source device, where the shared download request is sent by the second source device. The source device generates according to the received shared connection information.
在本实施例中,交互智能设备将本执行终端的共享连接信息转发给第二源端设备后,相当于第二源端设备清楚了本执行终端中存在待共享的待共享文件,由此可以在基于共享连接信息与本执行终端建立连接后,向本执行终端发送共享下载请求。本执行终端可以基于本步骤接收并响应该共享下载请求,从而发送共享下载请求对应的待共享文件到第二源端设备。In this embodiment, after the interactive intelligent device forwards the shared connection information of the execution terminal to the second source device, it is equivalent to that the second source device knows that there are files to be shared in the execution terminal. After establishing a connection with the execution terminal based on the shared connection information, a shared download request is sent to the execution terminal. The execution terminal may receive and respond to the shared download request based on this step, so as to send the to-be-shared file corresponding to the shared download request to the second source device.
其中,所述共享下载请求可以是由第二源端设备生成并发送的用于请求从本执行终端用于获取待共享文件的请求消息,可选地,所述共享下载请求包括待共享文件的文件标识、所述第二源端设备的第一设备标识以及下载到所述第二源端设备的路径信息。Wherein, the shared download request may be a request message generated and sent by the second source device for requesting to obtain the file to be shared from the execution terminal, optionally, the shared download request includes the request message of the file to be shared. The file identifier, the first device identifier of the second source device, and the path information downloaded to the second source device.
本申请实施例六提供的一种文件共享方法,具体给出了将文件共享信息优化为共享连接信息后进行文件共享的实现过程。利用该方法,能够在第一源端设备存在待共享文件时,通过向交互智能设备发送包含第二源端设备的设备标识、自身设备的设备标识以及待共享文件文件地址的共享下载信息,以实现第二源端设备与第一源端设备通信,并由此获得第一源端设备中的待共享文件。该方法能够在不打断第一源端设备到交互智能设备信息展示的前提下,仅通过简单的将待分享文件拖动到第一源端设备对应的触发区域就能建立与第二源端设备的交互,进而实现了文件的快速共享,简化了文件共享的实现流程。A file sharing method provided in Embodiment 6 of the present application specifically provides an implementation process of file sharing after optimizing file sharing information into shared connection information. Using this method, when a file to be shared exists in the first source device, by sending the shared download information including the device identification of the second source device, the device identification of the own device and the file address of the file to be shared to the interactive intelligent device, The communication between the second source end device and the first source end device is implemented, and thereby the to-be-shared file in the first source end device is obtained. By simply dragging the file to be shared to the trigger area corresponding to the first source device, the method can establish a connection with the second source device without interrupting the display of information from the first source device to the interactive smart device. The interaction of the device realizes the rapid sharing of files and simplifies the realization process of file sharing.
作为本实施例六的一个可选实施例,本可选实施例提供了文件共享方法的另一种实现方式,该实现方式中,进一步将“生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备基于所述文件共享信息获得所述待共享文件”具体化为:生成共享下载信息,其中,所述共享下载信息包含了所述待共享文件以及所述第二源端设备的设备标识;将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备获得包含在所述共享下载信息中的待共享文件。As an optional embodiment of the sixth embodiment, this optional embodiment provides another implementation manner of the file sharing method. In this implementation manner, "generate the file sharing information corresponding to the to-be-shared file and send the to the interactive intelligent device, so as to be forwarded to the second source-end device through the interactive intelligent device, so that the second source-end device obtains the file to be shared based on the file sharing information" is embodied as: generating shared download information, wherein the shared download information includes the to-be-shared file and the device identifier of the second source device; the shared download information is sent to the interactive intelligent device, so that the interactive intelligent The device forwards to the second source device, so that the second source device obtains the to-be-shared file contained in the shared download information.
由此相当于采用上述“生成共享下载信息,其中,所述共享下载信息包含了所述待共享文件以及所述第二源端设备的设备标识;将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述第二源端设备,使所述第二源端设备获得包含在所述共享下载信息中的待共享文件”来替换了本实施例上述S603至S606的操作。This is equivalent to adopting the above-mentioned "generating shared download information, wherein the shared download information includes the to-be-shared file and the device identifier of the second source device; sending the shared download information to the interactive intelligence device to forward to the second source end device through the interactive smart device, so that the second source end device obtains the file to be shared contained in the shared download information” to replace the above S603 to Operation of S606.
在本可选实施例中,还给出了将文件共享信息具体化为共享下载信息时的具体操作,本可选实施例可理解为在文件共享的实现策略为向交互智能设备转发一个包含待共享文件的下载信息,并通过交互智能设备向第二源端设备的文件服务器上传待共享文件后,第二源端设备就能会的该待共享文件,由此,在源端设备间文件共享时可考虑采用生成文件下载信息作为文件共享信息的方式来实现。In this optional embodiment, the specific operation when the file sharing information is embodied as shared download information is also given. This optional embodiment can be understood as the implementation strategy of file sharing is to forward a file containing a pending file to the interactive smart device. After sharing the download information of the file, and uploading the file to be shared to the file server of the second source device through the interactive smart device, the second source device can access the to-be-shared file, thereby sharing files between source devices. In this case, the method of generating file download information as file sharing information can be considered.
具体地,本执行终端生成的共享下载信息,直接包含了本执行终端中的待共享文件,同时也包含了所确定第二源端设备的设备标识。基于该共享下载信息,本可选实施例为实现第一源端设备与第二源端设备的文件共享,考虑到所述第一源端设备与所述第二源端设备均已与交互智能设备建立了通信连接,但二者之间不具备通信连接,由此可以通过本步骤先向交互智能设备发送共享下载信息,以使交互智能设备根据共享下载信息中的第一设备标识确定出第二源端设备及其对应的共享链接地址,从而将该共享下载信息中的待共享文件通过共享链接地址上传给第二源端设备的文件服务器,从而使第二源端设备获得所上传的待共享文件,以此实现第二源端设备与本执行终端的文件共享。Specifically, the shared download information generated by the execution terminal directly includes the file to be shared in the execution terminal, and also includes the device identifier of the determined second source device. Based on the shared download information, this optional embodiment implements file sharing between the first source end device and the second source end device, considering that both the first source end device and the second source end device have already communicated with the interactive intelligence The device has established a communication connection, but there is no communication connection between the two. Therefore, the shared download information can be sent to the interactive intelligent device through this step, so that the interactive intelligent device can determine the first device according to the first device identifier in the shared download information. Two source devices and their corresponding shared link addresses, so that the files to be shared in the shared download information are uploaded to the file server of the second source device through the shared link address, so that the second source device can obtain the uploaded files to be shared. Share files, so as to realize file sharing between the second source device and the current execution terminal.
本可选实施例替换上述S603至S606新形成的文件共享方法,可以保证第二源端设备直接获取到共享下载信息中所包含待拖拽图标对应的待共享文件,无需第二源端设备再与第一源端设备建立通信连接以及连接后进行下载交互,就能快速有效的实现待共享文件从第一源端设备到第二源端设备的共享。This optional embodiment replaces the newly formed file sharing method from S603 to S606, and can ensure that the second source device can directly obtain the to-be-shared file corresponding to the to-be-drag icon included in the shared download information, without requiring the second source device to Establishing a communication connection with the first source end device and performing download interaction after the connection can quickly and effectively realize the sharing of files to be shared from the first source end device to the second source end device.
实施例七Embodiment 7
图11为本申请实施例七提供的一种文件共享方法的流程示意图,该方法的执行终端可以是与交互智能设备建立通信连接的,且通过用户到共享触发区域的拖拽操作触发的进行文件共享的源端设备。该方法适用于从其他包含了待共享文件的源端设备中进行待共享文件共享的情况。该第二源端设备可以通过软件和/或硬件的方式实现,且该第二源端设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。11 is a schematic flowchart of a file sharing method provided in Embodiment 7 of the present application. The execution terminal of the method may establish a communication connection with an interactive intelligent device, and the file is triggered by a user dragging operation to the sharing trigger area. Shared source device. The method is applicable to the case of sharing the to-be-shared file from other source-end devices containing the to-be-shared file. The second source device may be implemented in software and/or hardware, and the second source device may be composed of two or more physical entities, or may be composed of one physical entity.
本实施例中作为执行终端的第二源端设备可认为是将交互智能设备中的当前展示界面拖拽至第一共享触发区域后,与第一共享触发区域关联的源端设备。In this embodiment, the second source device serving as the execution terminal may be regarded as a source device associated with the first shared trigger area after dragging the current display interface in the interactive smart device to the first shared trigger area.
如图11所示,本实施例七提供的一种文件共享方法,其中的一种实现过程具体包括如下操作:As shown in FIG. 11 , in a file sharing method provided in Embodiment 7, an implementation process specifically includes the following operations:
S701、接收交互智能设备通过无线网络转发的文件共享信息,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。S701. Receive file sharing information forwarded by an interactive intelligent device through a wireless network, the file sharing information is generated by a first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
在本实施例中,所述文件共享信息可以由第一源端设备先发送给交互智能设备,所述文件共享信息中至少包括本执行终端的设备标识,从而使交互智能设备能够确定文件共享信息的接收对象为本执行终端。所述文件共享信息具体由作为第一源端设备的源端设备生成,且第一源端设备可以根据文件共享所具备实现策略的不同来确定具体生成共享连接信息还是共享下载信息,以作为发送给交互智能设备的文件共享信息。In this embodiment, the file sharing information may be first sent by the first source device to the interactive intelligent device, and the file sharing information at least includes the device identifier of the execution terminal, so that the interactive intelligent device can determine the file sharing information The receiving object of this is the execution terminal. The file sharing information is specifically generated by the source device serving as the first source device, and the first source device can determine whether to generate the shared connection information or the shared download information according to the different implementation policies of the file sharing, as the transmission information. File sharing information for interactive smart devices.
需要说明的是,交互智能设备接收到第一源端设备发送的文件共享信息后,首先对文件共享信息进行分析,只有将所述文件共享信息为包含了待共享文件的文件地址的共享连接信息时,将该文件共享信息发送给本执行终端。It should be noted that after receiving the file sharing information sent by the first source device, the interactive intelligent device first analyzes the file sharing information, and only the file sharing information is the sharing connection information that includes the file address of the file to be shared. , send the file sharing information to this execution terminal.
S702、根据所述文件共享信息,获得所述第一源端设备中的待共享文件。S702. Obtain the file to be shared in the first source device according to the file sharing information.
在本实施例中,当确定文件共享信息中只包含了待共享文件的文件地址、第一设备标识以及第二设备标识时,可认为该文件共享信息为共享连接信息,该情况可通过执行下述操作来实现待共享文件的获得。In this embodiment, when it is determined that the file sharing information only includes the file address, the first device identification and the second device identification of the file to be shared, the file sharing information can be considered as the shared connection information, and in this case, the following can be performed: The above operation is performed to achieve the acquisition of the file to be shared.
具体的,图12给出了本申请实施例七中获得待共享文件的一种示例流程图,本实施例对根据所述文件共享信息,获得所述第一源端设备中的待共享文件进行另一种形式的优化,如图12所示,待共享文件的获得方法具体包括如下操作:Specifically, FIG. 12 shows an example flowchart of obtaining a file to be shared in Embodiment 7 of the present application. In this embodiment, the file to be shared is obtained from the first source device according to the file sharing information. Another form of optimization, as shown in Figure 12, the method for obtaining the file to be shared specifically includes the following operations:
S7021、解析作为文件共享信息的共享连接信息,获得所包含本执行终端的第一设备标识、所述第一源端设备的第二设备标识、以及所述第一源端设备中待共享文件的文件地址。S7021. Parse the shared connection information as file sharing information, and obtain the first device identifier of the execution terminal, the second device identifier of the first source device, and the file to be shared in the first source device. file address.
在本实施例中,根据上述各实施例的描述,可知文件共享信息即为共享连接信息,所述共享连接信息可由第一源端设备通过用户在交互智能设备的第一当前展示界面上,将待拖拽图标拖拽到预设的第一共享触发区域的拖拽操作生成。在第一源端设备已将所述共享连接信息生成并发送至所述交互智能设备的前提下,本执行终端(第二源端设备)可接收交互智能设备通过无线网络转发的共享连接信息。In this embodiment, according to the descriptions of the above-mentioned embodiments, it can be known that the file sharing information is the shared connection information, and the shared connection information can be displayed by the first source device through the user on the first current display interface of the interactive smart device. The drag operation of dragging the icon to be dragged to the preset first shared trigger area is generated. On the premise that the first source device has generated and sent the shared connection information to the interactive smart device, the execution terminal (the second source device) can receive the shared connection information forwarded by the interactive smart device through the wireless network.
具体地,所述第一源端设备的第二设备标识,可用于使本执行终端确定发送共享连接信息的具体设备是哪一个源端设备,从而与将该源端设备认作第一源端设备并与该第一源端设备建立通信连接;所述第二源端设备(即本执行终端)的第一设备标识,可用于使交互智能设备明确共享连接信息的转发对象具体是哪一个,从而将共享连接信息准确转发至作为第二源端设备的源端设备(即本执行终端);所述待共享文件在第一源端设备中的文件地址,可认为是待共享文件在第一源端设备所对应文件服务器中具备的统一资源定位符,该文件服务器创建在第一源端设备中,该统一资源定位符具体可用于为本执行终端(第二源端设备)提供待共享文件在第一源端设备中的加载路径信息,以使本执行终端在建立与第一源端设备的通信连接后,通过所述加载路径信息获取待共享文件。其中,所述加载路径为所述待共享文件在所述文件服务器中的加载路径,通过该加载路径可以形成待共享文件在第一源端设备文件服务器中的URL。Specifically, the second device identifier of the first source device can be used to enable the executing terminal to determine which source device is the specific device that sends the shared connection information, so as to be different from identifying the source device as the first source device. device and establish a communication connection with the first source device; the first device identifier of the second source device (that is, the execution terminal) can be used to make the interactive intelligent device specify which forwarding object is to share the connection information, Thus, the shared connection information is accurately forwarded to the source device (that is, the execution terminal) that is the second source device; the file address of the file to be shared in the first source device can be considered to be the file to be shared in the first source device. The uniform resource locator provided in the file server corresponding to the source device, the file server is created in the first source device, and the uniform resource locator can be specifically used to provide the file to be shared for the execution terminal (second source device) Loading path information in the first source device, so that the execution terminal obtains the file to be shared through the loading path information after establishing a communication connection with the first source device. The loading path is the loading path of the file to be shared in the file server, and the URL of the file to be shared in the file server of the first source device can be formed through the loading path.
S7022、根据所述第二设备标识,建立与所述第二设备标识所对应第一源端设备的通信连接。S7022. Establish a communication connection with the first source device corresponding to the second device identifier according to the second device identifier.
具体地,通过共享连接信息中包含的第一源端设备的第二设备标识,能够确认发起共享连接信息的设备(即第一源端设备)的身份,从而建立本执行终端(第二源端设备)与所述第一源端设备的通信连接,其中,所述第一源端设备包含在与第二源端设备投屏在同一交互智能设备上的其他源端设备中。Specifically, by sharing the second device identifier of the first source device included in the connection information, the identity of the device that initiates the shared connection information (ie, the first source device) can be confirmed, thereby establishing the execution terminal (the second source device). device) is a communication connection with the first source-end device, wherein the first source-end device is included in other source-end devices that are projected on the same interactive smart device as the second source-end device.
本步骤可对接收的共享连接信息进行解析,以获得共享连接信息中包含的所述第一源端设备的第二设备标识,由此确定哪一个源端设备作为第一源端设备。In this step, the received shared connection information may be parsed to obtain the second device identifier of the first source end device included in the shared connection information, thereby determining which source end device is the first source end device.
S7023、根据所述文件地址向所述第一源端设备发送共享下载请求。S7023. Send a sharing download request to the first source device according to the file address.
在本实施例中,所述共享下载请求可以指由第二源端设备生成并发送的用于从第一源端设备下载所述待共享文件所需的请求消息,可选地,所述共享下载请求包括待共享文件的文件标识、所述第二源端设备的设备标识以及下载到所述第二源端设备的路径信息。In this embodiment, the sharing download request may refer to a request message generated and sent by the second source device for downloading the to-be-shared file from the first source device. Optionally, the sharing The download request includes the file identifier of the file to be shared, the device identifier of the second source device, and the path information downloaded to the second source device.
具体地,本步骤可以根据共享连接信息中包含的待共享文件在第一源端设备中的文件地址,获取从第一源端设备下载待共享文件所需的加载路径信息,由此可以根据所述加载路径向第一源端设备发送共享下载请求。Specifically, in this step, according to the file address of the to-be-shared file contained in the shared connection information in the first source-end device, the loading path information required for downloading the to-be-shared file from the first source-end device can be obtained, so that the information of the loading path required for downloading the to-be-shared file from the first source end device can be obtained according to the The loading path sends a shared download request to the first source device.
S7024、接收所述第一源端设备基于所述共享下载请求发送的待共享文件。S7024: Receive the file to be shared sent by the first source device based on the sharing download request.
具体地,在第一源端设备响应本执行终端发送的共享下载请求后,可以接收由第一源端设备发送的待共享文件,以完成对待共享文件由第一源端设备到第二源端设备的共享。Specifically, after the first source device responds to the sharing download request sent by the execution terminal, it can receive the file to be shared sent by the first source device, so as to complete the transfer of the file to be shared from the first source device to the second source. device sharing.
本申请实施例七提供的一种文件共享方法,应用于本申请实施例中用户选中待共享第一源端设备中待共享文件的源端设备,在用户通过交互智能设备将当前展示界面拖动到第一共享触发区域,以使第一源端设备生成当前展示界面对应的文件共享信息并发送至交互智能设备后,本执行终端可以接收到交互智能设备发送的文件共享信息,并在分析出文件共享信息中包含了待共享文件的文件地址时,根据共享连接信息中包含的第一源端设备的设备标识以及文件地址与第一源端设备建立通信连接,继而根据共享连接信息中包含的文件地址向第一源端设备发送共享下载请求,等待第一源端设备响应共享下载请求,并接收到第一源端设备发送的对应当前展示界面的待共享文件,从而完成了第一源端设备中待共享文件到本执行终端的共享。由此,解决了交互智能设备上存在多个源端设备建立通信连接时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备的当前界面到交互智能设备上进行信息展示的前提下,仅通过简单的将待分享文件拖动到共享的触发区域,即可触发将文件共享到触发区域关联的源端设备,实现了文件的快速共享,简化了文件共享的实现流程。The file sharing method provided in the seventh embodiment of the present application is applied to the source device that the user selects the first source device to share the file to be shared in the embodiment of the present application, and the user drags the current display interface through the interactive smart device After reaching the first sharing trigger area, so that the first source device generates the file sharing information corresponding to the current display interface and sends it to the interactive intelligent device, the execution terminal can receive the file sharing information sent by the interactive intelligent device, and analyzes the file sharing information sent by the intelligent interactive device. When the file sharing information includes the file address of the file to be shared, a communication connection is established with the first source device according to the device identification and file address of the first source device included in the shared connection information, and then according to the shared connection information. The file address sends a shared download request to the first source device, waits for the first source device to respond to the shared download request, and receives the file to be shared corresponding to the current display interface sent by the first source device, thereby completing the first source device. The sharing of files to be shared in the device to this execution terminal. Therefore, the problem of complicated file transfer operations when multiple source devices establish communication connections on the interactive smart device is solved. For the user, information can be performed on the interactive smart device without interrupting the current interface of the source device. Under the premise of display, simply drag the file to be shared to the shared trigger area, the file can be triggered to be shared to the source device associated with the trigger area, which realizes the rapid sharing of files and simplifies the realization process of file sharing. .
在本实施例七上述描述的基础上,形成了本申请实施例七的另一个可选实施例,在该可选实施例中,获得待共享文件件的实现方式可具体为:On the basis of the above description of the seventh embodiment of the present application, another optional embodiment of the seventh embodiment of the present application is formed. In this optional embodiment, the implementation manner of obtaining the file to be shared may be specifically:
从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传。Obtain the file to be shared uploaded by the first source device or the interactive smart device from the file server created in the execution terminal, wherein the to-be-shared file is shared by the first source device or the interactive smart device based on the file server Link to upload.
在本可选步骤中,作为本执行终端的第二源端设备上预先创建了文件服务器,所述文件服务器具备相应的共享链接地址,该文件服务器可以存储其他设备(如第一源端设备或交互智能设备)上传的文件。其上传时机可由其他设备确定,示例性的,第一源端设备可以在接收到交互智能设备同步的已连接设备信息表后,确定第二源端设备上文件服务器的共享链接地址后,直接将待共享文件上传至该文件服务器,又如,交互智能设备可以在接收到第一源端设备发送的作为文件共享信息的共享下载信息后,基于共享下载信息中的第一设备标识可以确定出第二源端设备的共享链接地址,并可将共享下载信息中的待共享文件按照该共享链接地址上传至文件服务器。本可选步骤的仅需从文件服务器中获取已上传的待共享文件,无需其他操作,由此大大减少了本执行终端的执行步骤,实现了简便快速的文件共享。In this optional step, a file server is pre-created on the second source device as the execution terminal, the file server has a corresponding shared link address, and the file server can store other devices (such as the first source device or interactive smart device) files. The upload timing can be determined by other devices. Exemplarily, after receiving the connected device information table synchronized by the interactive smart device, the first source device can determine the shared link address of the file server on the second source device, and directly The file to be shared is uploaded to the file server. For another example, after receiving the shared download information sent by the first source device as the file sharing information, the interactive intelligent device can determine the first device identifier based on the first device identifier in the shared download information. The shared link address of the second source device, and the files to be shared in the shared download information can be uploaded to the file server according to the shared link address. In this optional step, only the uploaded files to be shared are obtained from the file server, and no other operations are required, thereby greatly reducing the execution steps of the execution terminal and realizing simple and fast file sharing.
实施例八Embodiment 8
图13为本申请实施例八提供的一种文件共享装置的结构框图,该装置适用于一个源端设备向另一个源端设备进行文件共享的情况,该装置集成在交互智能设备中。FIG. 13 is a structural block diagram of a file sharing apparatus provided in Embodiment 8 of the present application. The apparatus is suitable for a situation where one source device shares files with another source device, and the device is integrated in an interactive intelligent device.
在本实施例中,集成该装置的交互智能设备与至少两个源端设备通过无线网络建立通信连接,且从各所述源端设备中任一选定的第一源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,如图13所示,该装置包括:第一接收模块81和共享执行模块82。In this embodiment, the interactive intelligent device integrating the device establishes a communication connection with at least two source end devices through a wireless network, and selects any one of the source end devices from the current interface of the first source end device as the The current display interface is displayed on the touch screen of the execution device. As shown in FIG. 13 , the apparatus includes: a
其中,第一接收模块81,用于接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二源端设备相关联,所述第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;The
共享执行模块82,用于通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备。The sharing execution module 82 is configured to share the to-be-shared file corresponding to the current display interface to the second source device through the dragging operation.
本申请实施例八提供的一种文件共享装置可以用于执行上述实施例一至实施例三中任一提供的文件共享方法,且具备相应的功能和有益效果。The file sharing apparatus provided in the eighth embodiment of the present application can be used to execute the file sharing method provided in any one of the above-mentioned embodiments 1 to 3, and has corresponding functions and beneficial effects.
实施例九Embodiment 9
图14为本申请实施例九提供的一种文件共享装置的结构框图,该装置所集成的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的第一源端设备。该装置适用于对包含在该执行终端中的待共享文件进行文件共享的情况,如图14所示,该装置包括:信息接收模块91、信息确定模块92以及共享执行模块93。14 is a structural block diagram of a file sharing apparatus provided in Embodiment 9 of the present application. The execution terminal integrated in the apparatus may establish a communication connection with the interactive intelligent device, and the current interface is displayed on the interactive intelligent device as the current display interface. Touch the first source device on the display. The device is suitable for file sharing of files to be shared contained in the execution terminal. As shown in FIG. 14 , the device includes an
其中,信息接收模块91,用于接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上;The
信息确定模块92,用于分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备;The
共享执行模块93,用于通过设定的共享规则使所述待共享文件共享至所述第二源端设备。The sharing
需要说明的是,上述实施例提供的文件共享装置在执行文件共享方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例九提供的文件共享装置与实施例四至实施例六所提供文件共享方法属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。另外,上述本实施例序号仅仅为了描述,不代表实施例的优劣。It should be noted that, when the file sharing apparatus provided in the above embodiments executes the file sharing method, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions may be allocated to different functional modules as required , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the file sharing device provided in the ninth embodiment above and the file sharing method provided in the fourth to sixth embodiments belong to the same concept, and the detailed implementation process of the file sharing apparatus is described in the method embodiments, which will not be repeated here. In addition, the above-mentioned serial numbers in this embodiment are only for description, and do not represent the advantages or disadvantages of the embodiments.
本申请实施例九提供的一种文件共享装置可以用于执行上述实施例四、实施例五或实施例六提供的文件共享方法,且具备相应的功能和有益效果。The file sharing device provided in Embodiment 9 of the present application can be used to execute the file sharing method provided in Embodiment 4, Embodiment 5 or Embodiment 6 above, and has corresponding functions and beneficial effects.
实施例十Embodiment ten
图15为本申请实施例十提供的一种文件共享装置的结构框图,该装置所集成的执行终端可以是与交互智能设备建立通信连接的,且且通过用户到共享触发区域的拖拽操作触发的进行文件共享的源端设备。该装置适用于从其他包含了待共享文件的源端设备中进行待共享文件共享的情况,如图15所示,该装置包括:文件获取模块101。15 is a structural block diagram of a file sharing apparatus provided in Embodiment 10 of the present application. An execution terminal integrated in the apparatus may establish a communication connection with an interactive smart device, and is triggered by a user dragging operation to the sharing trigger area. The source device for file sharing. The apparatus is suitable for sharing files to be shared from other source devices that include files to be shared. As shown in FIG. 15 , the apparatus includes: a
其中,文件获取模块101,用于从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,The
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;Receive the file sharing information forwarded by the interactive intelligent device through the wireless network, and obtain the to-be-shared file in the first source device according to the file sharing information;
其中,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。The file sharing information is generated by the first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
进一步地,文件获取模块101具体可包括:文件共享单元;Further, the
文件共享单元,用于解析作为文件共享信息的共享连接信息,获得所包含本执行终端的第一设备标识、所述第一源端设备的第二设备标识、以及所述第一源端设备中待共享文件的文件地址;根据所述第二设备标识,建立与所述第二设备标识所对应第一源端设备的通信连接;根据所述文件地址向所述第一源端设备发送共享下载请求;接收所述第一源端设备基于所述共享下载请求发送的待共享文件。The file sharing unit is configured to parse the shared connection information as the file sharing information, and obtain the first device identifier of the execution terminal, the second device identifier of the first source device, and the first device identifier of the first source device. The file address of the file to be shared; according to the second device identification, establish a communication connection with the first source device corresponding to the second device identification; send a shared download to the first source device according to the file address request; receiving the file to be shared sent by the first source device based on the sharing download request.
需要说明的是,上述实施例提供的文件共享装置在执行文件共享方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的文件共享装置与文件共享方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。另外,上述本实施例序号仅仅为了描述,不代表实施例的优劣。It should be noted that, when the file sharing apparatus provided in the above embodiments executes the file sharing method, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions may be allocated to different functional modules as required , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the file sharing apparatus and the file sharing method embodiments provided by the above embodiments belong to the same concept, and the embodiment and implementation process thereof are detailed in the method embodiments, which will not be repeated here. In addition, the above-mentioned serial numbers in this embodiment are only for description, and do not represent the advantages or disadvantages of the embodiments.
本申请实施例十提供的一种文件共享装置可以用于执行上述实施例七提供的文件共享方法,且具备相应的功能和有益效果。The file sharing apparatus provided in the tenth embodiment of the present application can be used to execute the file sharing method provided in the seventh embodiment, and has corresponding functions and beneficial effects.
实施例十一Embodiment 11
图16为本申请实施例十一提供的一种文件共享系统的系统架构图,如图16所示,该系统包括:交互智能设备1101以及至少两个源端设备1102。FIG. 16 is a system architecture diagram of a file sharing system according to Embodiment 11 of the present application. As shown in FIG. 16 , the system includes: an interactive
交互智能设备1101与各源端设备1102通过无线网络建立通信连接,且从各源端设备1102中任一选定的第一源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上;The interactive
交互智能设备1101接收到将所述当前展示界面拖拽至第一共享触发区域的拖拽操作,通过所述拖拽操作,使所述当前展示界面对应的待共享文件共享至所述第二源端设备,其中,所述第一共享触发区域与第二源端设备相关联,所述第一源端设备与所述第二源端设备为与本执行设备建立通信连接的任意两个源端设备;The interactive
源端设备1102作为第一源端设备时,接收交互智能设备发送的共享交互信息,分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于交互智能设备1101中的当前展示界面上,所述第二源端设备及本执行终端均为与交互智能设备1101建立通信的源端设备;When the
源端设备1102作为第二源端设备时,从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;When the
其中,所述文件共享信息由第一源端设备生成并发送至交互智能设备1101,所述文件共享信息为共享下载信息或共享连接信息。The file sharing information is generated by the first source device and sent to the interactive
本申请实施例十一提供的一种文件共享系统,包含了执行上述实施例一、实施例二以及实施例三的交互智能设备,还包括了执行上述实施例四至实施例七任一实施例至少两个源端设备,且交互智能设备与至少两个源端设备通过上述实施例提供的文件共享方法进行文件共享的相互配合,由此为用户提供了进行文件共享触发的操作捷径,保证了在不打断文件共享系统中各源端设备与交互智能设备通信连接的前提下,仅通过用户在交互智能设备上简单的将作为待共享文件的当前展示界面拖动到第二源端设备对应的触发区域的拖拽操作,即可触发实现第一源端设备上的待共享文件到第二源端设备的共享,解决了交互智能设备上存在多个源端设备建立通信连接时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备的当前界面到交互智能设备上进行信息展示的前提下,仅通过简单的将待分享文件拖动到共享的触发区域,即可触发将文件共享到触发区域关联的源端设备,实现了文件的快速共享,简化了文件共享的实现流程。A file sharing system provided in Embodiment 11 of the present application includes an interactive intelligent device that implements the first embodiment, the second embodiment, and the third embodiment, and also includes the implementation of at least any one of the fourth embodiment to the seventh embodiment. Two source end devices, and the interactive intelligent device and at least two source end devices cooperate with each other for file sharing through the file sharing method provided in the above-mentioned embodiment, thereby providing users with an operation shortcut for triggering file sharing, ensuring that Under the premise of not interrupting the communication connection between each source device and the interactive smart device in the file sharing system, the user simply drags the current display interface as the file to be shared on the interactive smart device to the corresponding interface of the second source device. The drag operation in the trigger area can trigger the sharing of the file to be shared on the first source device to the second source device, which solves the file transfer operation when there are multiple source devices on the interactive smart device to establish a communication connection For complex problems, for users, they can simply drag the file to be shared to the shared trigger area without interrupting the current interface of the source device to display information on the interactive smart device. Trigger to share the file to the source device associated with the trigger area, which realizes the rapid file sharing and simplifies the realization process of file sharing.
实施例十二Embodiment 12
图17为本申请实施例十二提供的一种交互智能设备的结构示意图。如图17所示,所述交互智能设备 1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。FIG. 17 is a schematic structural diagram of an interactive smart device according to Embodiment 12 of the present application. As shown in FIG. 17 , the interactive
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Wherein, the
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种接口和线路连接整个所述交互智能设备1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行所述交互智能设备1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(DigitalSignal Processing,DSP)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器 (GraphicsProcessing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The
其中,存储器1005可以包括随机存储器(RandomAccess Memory,RAM),也可以包括只读存储器 (Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图17所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及所述交互智能设备的操作应用程序。在图17所示的所述交互智能设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的所述交互智能设备的操作应用程序,并具体执行以下操作:The
接收到将当前展示界面中当前展示界面拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述当前展示界面与所述第二展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;通过所述拖拽操作,使所述当前展示界面在第一源端设备中对应的待共享文件共享至第二源端设备,其中,所述第一源端设备为所述当前展示界面对应的源端设备,所述第二源端设备为所述第二当前展示界面对应的源端设备。A drag operation of dragging the current display interface in the current display interface to the first shared trigger area is received, wherein the first shared trigger area is associated with the second current display interface, and the current display interface is associated with the first shared trigger area. The second display interface is any two of the current display interfaces displayed on the touch screen; through the drag and drop operation, the files to be shared corresponding to the current display interfaces in the first source device are shared to the first source device. Two source end devices, wherein the first source end device is the source end device corresponding to the current display interface, and the second source end device is the source end device corresponding to the second current display interface.
进一步地,在所述交互智能设备与所述至少两个源端设备通过无线网络建立通信连接后,该所述交互智能设备还可以执行:接收各所述源端设备反馈的设备信息,形成已连接设备信息表,所述设备信息包括:源端设备的设备标识以及预创建在相应源端设备上文件服务器的共享链接地址。同时也可以执行:确定各所述源端设备用于共享触发的触发标号,形成包含各所述触发标号及相应源端设备的设备标识的触发关联表,并发送给各所述源端设备;基于所述触发关联表创建悬浮触发窗口,按照设定展示属性在所述触摸显示屏上展示所述悬浮触发窗口,并将所述悬浮触发窗口同步展示于各所述源端设备中,其中,所述悬浮触发窗口包含具备不同触发标号且与相应源端设备关联的共享触发区域。Further, after the interactive intelligent device establishes a communication connection with the at least two source-end devices through a wireless network, the interactive intelligent device may also perform: receiving device information fed back by each of the source-end devices to form a A connection device information table, where the device information includes: the device identifier of the source device and the shared link address of the file server pre-created on the corresponding source device. At the same time, it can also be performed: determine the trigger label used by each of the source devices to share the trigger, form a trigger association table including each of the trigger labels and the device identifier of the corresponding source device, and send it to each of the source devices; Create a suspension trigger window based on the trigger association table, display the suspension trigger window on the touch display screen according to the set display attribute, and display the suspension trigger window in each of the source devices synchronously, wherein, The floating trigger window includes a shared trigger area with different trigger labels and associated with the corresponding source device.
本申请实施例十二提供的一种所述交互智能设备执行上述实施例一至实施例三种任意实施例提供的文件共享方法时,具备与该文件共享方法相应的功能和有益效果。When the interactive intelligent device provided in the twelfth embodiment of the present application executes the file sharing method provided by any of the above-mentioned first embodiment to the three embodiments, it has functions and beneficial effects corresponding to the file sharing method.
实施例十三Embodiment thirteen
图18为本申请实施例十三提供的一种源端设备的结构示意图。如图18所示,所述源端设备1110可以包括:至少一个处理器1111,至少一个网络接口1114,用户接口1113,存储器1115,至少一个通信总线1112。FIG. 18 is a schematic structural diagram of a source device according to Embodiment 13 of the present application. As shown in FIG. 18 , the
其中,通信总线1112用于实现这些组件之间的连接通信。Among them, the
其中,用户接口1113可以包括显示屏(Display)、摄像头(Camera),可选用户接口1113还可以包括标准的有线接口、无线接口。The
其中,网络接口1114可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Wherein, the
其中,处理器1111可以包括一个或者多个处理核心。处理器1111利用各种接口和线路连接整个源端设备1110内的各个部分,通过运行或执行存储在存储器1115内的指令、程序、代码集或指令集,以及调用存储在存储器1115内的数据,执行源端设备1110的各种功能和处理数据。可选的,处理器1111可以采用DSP、FPGA、PLA中的至少一种硬件形式来实现。处理器1111可集成CPU、GPU和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1111中,单独通过一块芯片进行实现。The processor 1111 may include one or more processing cores. The processor 1111 uses various interfaces and lines to connect various parts of the
其中,存储器1115可以包括RAM,也可以包括只读存储器。可选的,该存储器1115包括非瞬时性计算机可读介质。存储器1115可用于存储指令、程序、代码、代码集或指令集。存储器1115可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1115可选的还可以是至少一个位于远离前述处理器 1111的存储装置。如图18所示,作为一种计算机存储介质的存储器1115中可以包括操作系统、网络通信模块、用户接口模块以及所述交互智能设备的操作应用程序。在图18所示的源端设备1110中,用户接口1113主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1111可以用于调用存储器1115 中存储的所述交互智能设备的操作应用程序,并在源端设备作为第一源端设备时具体执行以下操作:The
接收交互智能设备发送的共享交互信息,其中,所述共享交互信息中至少包括拖拽操作的操作数据,所述拖拽操作作用在作为第一源端设备的本执行终端展示于所述交互智能设备中的当前展示界面上;Receive shared interaction information sent by the interactive intelligent device, wherein the shared interactive information at least includes operation data of a drag operation, and the drag operation acts on the execution terminal as the first source device and is displayed on the interactive intelligent On the current display interface in the device;
分析到所述操作数据满足共享触发条件时,确定所述当前展示界面对应的待共享文件以及所述待共享文件对应的第二源端设备,其中,所述第二源端设备及本执行终端均为与所述交互智能设备建立通信的源端设备;When analyzing that the operation data satisfies the sharing trigger condition, determine the file to be shared corresponding to the current display interface and the second source device corresponding to the file to be shared, wherein the second source device and the current execution terminal Both are source devices that establish communication with the interactive smart device;
通过设定的共享规则使所述待共享文件共享至所述第二源端设备。The to-be-shared file is shared to the second source device through a set sharing rule.
此外,在源端设备作为第二源端设备时,具体还可以执行以下操作:In addition, when the source device is used as the second source device, the following operations can be specifically performed:
从创建于本执行终端的文件服务器中获取第一源端设备或交互智能设备上传的待共享文件,其中,所述待共享文件由第一源端设备或交互智能设备基于所述文件服务器的共享链接地址上传;或者,Obtain the file to be shared uploaded by the first source device or the interactive smart device from the file server created in the execution terminal, wherein the to-be-shared file is shared by the first source device or the interactive smart device based on the file server link address upload; or,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述第一源端设备中的待共享文件;Receive the file sharing information forwarded by the interactive intelligent device through the wireless network, and obtain the to-be-shared file in the first source device according to the file sharing information;
其中,所述文件共享信息由第一源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享连接信息。The file sharing information is generated by the first source device and sent to the interactive intelligent device, and the file sharing information is sharing connection information.
本申请实施例十三提供的一种所述交互智能设备执行上述实施例四至实施例七任一实施例提供的文件共享方法时,具备与该文件共享方法相应的功能和有益效果。When the interactive intelligent device provided in the thirteenth embodiment of the present application executes the file sharing method provided by any one of the fourth embodiment to the seventh embodiment, it has functions and beneficial effects corresponding to the file sharing method.
实施例十四Embodiment 14
本申请实施例十四还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,The fourteenth embodiment of the present application further provides a computer storage medium, where the computer storage medium can store multiple instructions,
所述指令适于由处理器加载并执行如上述图2-图18所示实施例的方法步骤,具体执行过程可以参见图2-图18所示实施例的具体说明,在此不进行赘述。The instructions are suitable for being loaded by the processor and executing the method steps of the embodiments shown in FIG. 2-FIG. 18. For the specific execution process, refer to the specific description of the embodiments shown in FIG. 2-FIG. 18, which will not be repeated here.
存储介质所在设备可以是所述交互智能设备或源端设备。The device where the storage medium is located may be the interactive smart device or the source device.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product.
因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves. It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also no Other elements expressly listed, or which are also inherent to such a process, method, article of manufacture or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present application and applied technical principles. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application. The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910989347.6A CN110750197B (en) | 2019-10-17 | 2019-10-17 | File sharing method, device, system, corresponding device and storage medium |
| PCT/CN2019/121684 WO2021072926A1 (en) | 2019-10-17 | 2019-11-28 | File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910989347.6A CN110750197B (en) | 2019-10-17 | 2019-10-17 | File sharing method, device, system, corresponding device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110750197A true CN110750197A (en) | 2020-02-04 |
| CN110750197B CN110750197B (en) | 2021-07-23 |
Family
ID=69278685
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910989347.6A Active CN110750197B (en) | 2019-10-17 | 2019-10-17 | File sharing method, device, system, corresponding device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110750197B (en) |
| WO (1) | WO2021072926A1 (en) |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111506231A (en) * | 2020-04-14 | 2020-08-07 | 维沃移动通信有限公司 | Display method and electronic equipment |
| CN111913614A (en) * | 2020-06-01 | 2020-11-10 | 广州视源电子科技股份有限公司 | Multi-picture display control method and device, storage medium and display |
| CN113535662A (en) * | 2020-07-09 | 2021-10-22 | 北京字节跳动网络技术有限公司 | Method, device, electronic device and storage medium for indicating information location |
| CN113542337A (en) * | 2020-04-30 | 2021-10-22 | 北京字节跳动网络技术有限公司 | Information sharing method, device, electronic device and storage medium |
| CN114077373A (en) * | 2021-04-29 | 2022-02-22 | 华为技术有限公司 | Interaction method between electronic devices and electronic devices |
| CN114089901A (en) * | 2020-07-29 | 2022-02-25 | 华为技术有限公司 | Cross-device object dragging method and device |
| CN114237408A (en) * | 2020-09-08 | 2022-03-25 | 华为技术有限公司 | File transmission method, equipment and system |
| CN114610193A (en) * | 2020-12-04 | 2022-06-10 | 华为技术有限公司 | Content sharing method, electronic device, and storage medium |
| CN114979730A (en) * | 2021-02-25 | 2022-08-30 | 广州视源电子科技股份有限公司 | Screen sharing interaction method, device, computer equipment and storage medium |
| CN116700555A (en) * | 2022-10-25 | 2023-09-05 | 荣耀终端有限公司 | Dynamic effect processing method and electronic device |
| CN117130507A (en) * | 2022-05-18 | 2023-11-28 | 华为技术有限公司 | An information transfer method and electronic device |
| WO2024082851A1 (en) * | 2022-10-17 | 2024-04-25 | Oppo广东移动通信有限公司 | Resource integration method and apparatus, electronic device, and storage medium |
| US12073071B2 (en) | 2020-07-29 | 2024-08-27 | Huawei Technologies Co., Ltd. | Cross-device object drag method and device |
| US12197693B2 (en) | 2020-08-26 | 2025-01-14 | Huawei Technologies Co., Ltd. | Method and device for displaying a projection interface |
| CN121614070A (en) * | 2026-02-03 | 2026-03-06 | 匠岭科技(上海)有限公司 | Process formulation update methods, apparatus, and computer equipment |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115686279A (en) * | 2021-07-23 | 2023-02-03 | 华为技术有限公司 | A method for displaying content, electronic device and system |
| CN116301484A (en) | 2021-12-21 | 2023-06-23 | 北京小米移动软件有限公司 | Data sharing method and device, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120278731A1 (en) * | 2008-07-10 | 2012-11-01 | Apple Inc. | Collaborative media production |
| CN103873578A (en) * | 2014-03-21 | 2014-06-18 | 深圳市东方拓宇科技有限公司 | Method for sending and sharing contents between terminals and corresponding terminals |
| CN104506907A (en) * | 2014-11-25 | 2015-04-08 | 上海众应信息科技有限公司 | A method and a system for interactive operation between a controlling end and multiple remote controlled terminals |
| CN105302285A (en) * | 2014-08-01 | 2016-02-03 | 福州瑞芯微电子股份有限公司 | Multi-screen display method, equipment and system |
| CN107632895A (en) * | 2017-08-31 | 2018-01-26 | 维沃移动通信有限公司 | A kind of information sharing method and mobile terminal |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104317508A (en) * | 2014-09-28 | 2015-01-28 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and terminal for information sharing |
| CN105224185B (en) * | 2014-11-03 | 2019-04-12 | 维沃移动通信有限公司 | Data sharing method and mobile terminal |
| CN106656673A (en) * | 2016-12-28 | 2017-05-10 | 诺仪器(中国)有限公司 | OTDR data sharing system and method |
| CN107247746B (en) * | 2017-05-23 | 2020-11-13 | 努比亚技术有限公司 | Data sharing method and terminal |
| CN110703966B (en) * | 2019-10-17 | 2021-06-11 | 广州视源电子科技股份有限公司 | File sharing method, device and system, corresponding equipment and storage medium |
-
2019
- 2019-10-17 CN CN201910989347.6A patent/CN110750197B/en active Active
- 2019-11-28 WO PCT/CN2019/121684 patent/WO2021072926A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120278731A1 (en) * | 2008-07-10 | 2012-11-01 | Apple Inc. | Collaborative media production |
| CN103873578A (en) * | 2014-03-21 | 2014-06-18 | 深圳市东方拓宇科技有限公司 | Method for sending and sharing contents between terminals and corresponding terminals |
| CN105302285A (en) * | 2014-08-01 | 2016-02-03 | 福州瑞芯微电子股份有限公司 | Multi-screen display method, equipment and system |
| CN104506907A (en) * | 2014-11-25 | 2015-04-08 | 上海众应信息科技有限公司 | A method and a system for interactive operation between a controlling end and multiple remote controlled terminals |
| CN107632895A (en) * | 2017-08-31 | 2018-01-26 | 维沃移动通信有限公司 | A kind of information sharing method and mobile terminal |
Cited By (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111506231A (en) * | 2020-04-14 | 2020-08-07 | 维沃移动通信有限公司 | Display method and electronic equipment |
| CN111506231B (en) * | 2020-04-14 | 2022-04-22 | 维沃移动通信有限公司 | A display method and electronic device |
| CN113542337A (en) * | 2020-04-30 | 2021-10-22 | 北京字节跳动网络技术有限公司 | Information sharing method, device, electronic device and storage medium |
| US11809380B2 (en) | 2020-04-30 | 2023-11-07 | Beijing Bytedance Network Technology Co., Ltd. | Information sharing method, apparatus, electronic device, and storage medium |
| CN111913614A (en) * | 2020-06-01 | 2020-11-10 | 广州视源电子科技股份有限公司 | Multi-picture display control method and device, storage medium and display |
| CN113535662B (en) * | 2020-07-09 | 2023-04-07 | 抖音视界有限公司 | Information position indicating method and device, electronic equipment and storage medium |
| CN113535662A (en) * | 2020-07-09 | 2021-10-22 | 北京字节跳动网络技术有限公司 | Method, device, electronic device and storage medium for indicating information location |
| US12063264B2 (en) | 2020-07-09 | 2024-08-13 | Beijing Bytedance Network Technology Co., Ltd. | Information indicating method and apparatus, electronic device and storage medium |
| US12073071B2 (en) | 2020-07-29 | 2024-08-27 | Huawei Technologies Co., Ltd. | Cross-device object drag method and device |
| CN114089901A (en) * | 2020-07-29 | 2022-02-25 | 华为技术有限公司 | Cross-device object dragging method and device |
| US12455682B2 (en) | 2020-07-29 | 2025-10-28 | Huawei Technologies Co., Ltd. | Cross-device object drag method and device |
| US12393328B2 (en) | 2020-07-29 | 2025-08-19 | Huawei Technologies Co., Ltd. | Cross-device object drag method and device |
| CN114089901B (en) * | 2020-07-29 | 2023-11-24 | 华为技术有限公司 | Cross-device object dragging method and device |
| US12197693B2 (en) | 2020-08-26 | 2025-01-14 | Huawei Technologies Co., Ltd. | Method and device for displaying a projection interface |
| CN114237408A (en) * | 2020-09-08 | 2022-03-25 | 华为技术有限公司 | File transmission method, equipment and system |
| CN114610193B (en) * | 2020-12-04 | 2024-10-11 | 华为技术有限公司 | Content sharing method, electronic device and storage medium |
| US12309219B2 (en) | 2020-12-04 | 2025-05-20 | Huawei Technologies Co., Ltd. | Content sharing method, electronic device, and storage medium |
| CN114610193A (en) * | 2020-12-04 | 2022-06-10 | 华为技术有限公司 | Content sharing method, electronic device, and storage medium |
| CN114979730A (en) * | 2021-02-25 | 2022-08-30 | 广州视源电子科技股份有限公司 | Screen sharing interaction method, device, computer equipment and storage medium |
| CN114077373A (en) * | 2021-04-29 | 2022-02-22 | 华为技术有限公司 | Interaction method between electronic devices and electronic devices |
| CN117130507A (en) * | 2022-05-18 | 2023-11-28 | 华为技术有限公司 | An information transfer method and electronic device |
| WO2024082851A1 (en) * | 2022-10-17 | 2024-04-25 | Oppo广东移动通信有限公司 | Resource integration method and apparatus, electronic device, and storage medium |
| CN116700555B (en) * | 2022-10-25 | 2023-12-05 | 荣耀终端有限公司 | Dynamic effect processing method and electronic equipment |
| CN116700555A (en) * | 2022-10-25 | 2023-09-05 | 荣耀终端有限公司 | Dynamic effect processing method and electronic device |
| CN121614070A (en) * | 2026-02-03 | 2026-03-06 | 匠岭科技(上海)有限公司 | Process formulation update methods, apparatus, and computer equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021072926A1 (en) | 2021-04-22 |
| CN110750197B (en) | 2021-07-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110750197B (en) | File sharing method, device, system, corresponding device and storage medium | |
| CN110703966B (en) | File sharing method, device and system, corresponding equipment and storage medium | |
| WO2020147665A1 (en) | File processing method and device, terminal, and storage medium | |
| US10635296B2 (en) | Partitioned application presentation across devices | |
| US11106420B2 (en) | Method, device, system and storage medium for information transmission and data processing | |
| US9830056B1 (en) | Indicating relationships between windows on a computing device | |
| KR102401947B1 (en) | System and method providing collaborative interaction | |
| CN103595756B (en) | The method and apparatus for generating and utilizing the content shortcut object based on cloud service | |
| CN110221759A (en) | Element dragging method and device, storage medium and interactive intelligent panel | |
| CN114793485A (en) | Screen projection interaction method, screen projection system and terminal equipment | |
| US20160124599A1 (en) | Method for controlling multi display and electronic device thereof | |
| WO2022242628A1 (en) | Screen casting method, apparatus, and device, and storage medium | |
| WO2024193301A1 (en) | Multi-screen collaborative control method, electronic device, and system | |
| WO2017177820A1 (en) | File sending method and device in instant communication | |
| CN110908552B (en) | Multi-window operation control method, device, equipment and storage medium | |
| US10779148B2 (en) | Data transmission method and first electronic device | |
| JP6293903B2 (en) | Electronic device and method for displaying information | |
| WO2026001352A1 (en) | Content filling interaction method, commodity information publishing method, and electronic device | |
| KR20140024492A (en) | System, method and computer readable recording medium for making a personalized shopping mall application for a smart phone | |
| CN111324398A (en) | Method, device, terminal and storage medium for processing latest content | |
| CN110413192A (en) | Shortcut key response method, device, equipment and storage medium | |
| KR20240155341A (en) | Sharing captured content | |
| EP3612921A1 (en) | Enhanced inking capabilities for content creation applications | |
| WO2023115316A1 (en) | Screen mirroring method and apparatus, and storage medium and electronic device | |
| CN111831610A (en) | File and database record acquisition method, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |