WO2021072912A1 - 文件共享方法、装置、系统、交互智能设备、源端设备及存储介质 - Google Patents

文件共享方法、装置、系统、交互智能设备、源端设备及存储介质 Download PDF

Info

Publication number
WO2021072912A1
WO2021072912A1 PCT/CN2019/120294 CN2019120294W WO2021072912A1 WO 2021072912 A1 WO2021072912 A1 WO 2021072912A1 CN 2019120294 W CN2019120294 W CN 2019120294W WO 2021072912 A1 WO2021072912 A1 WO 2021072912A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared
sharing
file
information
source
Prior art date
Application number
PCT/CN2019/120294
Other languages
English (en)
French (fr)
Inventor
吴佳宝
Original Assignee
广州视源电子科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2021072912A1 publication Critical patent/WO2021072912A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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

Definitions

  • This application relates to the technical field of interactive smart devices, such as file sharing methods, devices, systems, interactive smart devices, source devices, and storage media.
  • multiple source devices can be screened and displayed on an interactive smart device at the same time.
  • the interactive smart device 11 currently displays four source-end devices on the screen, that is, the interface content of the four source-end devices can be displayed.
  • the source device A shown in Figure 1 contains the associated files required by the source device B to display
  • the source device A and the source device B are simultaneously casting their screens
  • the associated files can be directly displayed on the source device A, but after the source device A exits the screencast, the source device B will not be able to display the associated files required for display.
  • the source device A needs to copy the associated files to the source device B so that The associated file is directly displayed on the source device B.
  • files from source device A can be copied to source device B through a USB flash drive, or files can be transferred from source device A to source device B through some file transfer software.
  • the implementation of these methods requires user experience. With more participation, it is impossible to achieve effective file sharing between source devices that simultaneously cast screens.
  • the embodiments of the present application provide file sharing methods, devices, systems, interactive smart devices, source devices, and storage media to realize effective sharing of files between source devices that are simultaneously screened on interactive smart devices.
  • an embodiment of the present application provides a file sharing method.
  • the execution device establishes a communication connection with at least two source devices through a wireless network, and the current interface of the source device is displayed as the current display interface in this execution.
  • the method includes:
  • a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area is received, wherein the first sharing trigger area is associated with the second current display interface, and the first current display
  • the interface and the second current display interface are any two of the current display interfaces displayed on the touch display screen;
  • the file to be shared corresponding to the icon to be dragged in the sharing device is shared to the device to be shared, wherein the sharing device is the source device corresponding to the first current display interface, and The device to be shared is the source device corresponding to the second current display interface.
  • the touch display screen includes at least the same number of sub-display areas as the source device; the current interface of each source device is displayed as the current display interface on a sub-display area of the touch display screen.
  • the current display interface corresponding to each source device includes at least one shared trigger area.
  • the sharing the file to be shared corresponding to the icon to be dragged in the sharing device to the device to be shared through the dragging operation includes:
  • the file sharing information is forwarded to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information.
  • the receiving file sharing information sent by the sharing device includes:
  • the forwarding the file sharing information to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information includes:
  • the shared download information is forwarded to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged included in the shared download information.
  • the receiving file sharing information sent by the sharing device includes:
  • the shared connection information includes at least: the first device identifier of the source device as the device to be shared, the second device identifier of the source device as the shared device, and the Drag and drop the download address of the file to be shared corresponding to the icon.
  • the forwarding the file sharing information to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information includes:
  • the sharing the file to be shared corresponding to the icon to be dragged in the sharing device to the device to be shared through the dragging operation includes:
  • the operation data of the drag operation and the pre-stored on-screen source device information table are sent to the sharing device, so that the sharing device can drag the to-be dragged based on the operation data and the on-screen source device information table.
  • the file to be shared corresponding to the drag icon is shared to the device to be shared.
  • the method further includes:
  • each source device determines the trigger association table of each source device and send it to the corresponding source device, where each source device The device to be shared is determined through the received trigger association table.
  • the determining the trigger association table of each source device according to the current display interface of each source device on the touch display screen includes:
  • the determining the trigger association table of each source device according to each of the display position information and the trigger position of each of the shared trigger areas included in each of the current display interfaces includes :
  • each source device determine the adjacent source device of the source device according to each of the display position information, wherein the display position of the current display interface corresponding to the adjacent source device is the same as that of the source device The corresponding display positions of the current display interface are adjacent;
  • the trigger association table includes at least one binary relationship group, and each binary relationship group is composed of a device identifier of the adjacent source device corresponding to a display position and a trigger label of a shared trigger area corresponding to a corresponding target trigger position.
  • the edge area of the current display interface corresponding to each source device includes 8 shared trigger areas with different trigger labels;
  • the trigger orientations corresponding to each shared trigger area included are: top, top right, right, bottom right , Bottom, bottom left, left and top left;
  • the display orientation of the adjacent source device relative to the source device is one of the following: top, top right, right, bottom right, bottom, bottom left, left, and Upper left.
  • the operation data includes at least position ratio information of each drag point in the drag operation.
  • the source device is a computer, a mobile phone or a tablet.
  • the wireless network includes WIFI.
  • an embodiment of the present application provides a file sharing method, including:
  • the file to be shared to be shared and the device to be shared corresponding to the file to be shared are determined, wherein the device to be shared and the execution terminal are both interactive smart devices Establish the source device of the communication;
  • the file to be shared is shared to the device to be shared through the set sharing rule.
  • determining the file to be shared to be shared and the device to be shared corresponding to the file to be shared includes:
  • the file associated with the drag icon is used as the file to be shared, and the device to be shared corresponding to the file to be shared is determined according to the drag end position and a pre-stored trigger association table.
  • the analyzing the operation data to determine the drag icon and the drag end position corresponding to the drag operation on the screen of the execution terminal includes:
  • the drag end position corresponding to the drag operation on the current interface of the execution terminal is determined.
  • the determining the device to be shared corresponding to the file to be shared according to the drag end position and a pre-stored trigger association table includes:
  • the source device corresponding to the device identifier is used as the device to be shared corresponding to the file to be shared.
  • the sharing of the file to be shared to the device to be shared through the set sharing rule includes:
  • Generate file sharing information corresponding to the file to be shared and send it to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared can obtain the file based on the file sharing information Files to be shared.
  • the file sharing information corresponding to the file to be shared is generated and sent to the interactive smart device, so as to be forwarded to the device to be shared through the interactive smart device, so that the device to be shared is based on the
  • the file sharing information obtains the file to be shared, including:
  • Generate shared download information containing the file to be shared and send the shared download information to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared can obtain The file to be shared included in the shared download information.
  • the file sharing information corresponding to the file to be shared is generated and sent to the interactive smart device, so as to be forwarded to the device to be shared through the interactive smart device, so that the device to be shared is based on the
  • the file sharing information obtains the file to be shared, including:
  • the file server is preset on the execution terminal;
  • the shared connection information is sent to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared establishes a communication connection with the execution terminal based on the shared connection information, to Obtain the file to be shared from the execution terminal.
  • the method further includes:
  • the same-screen interactive information further includes: a table of information of source-end devices on the same screen;
  • the sharing the file to be shared to the device to be shared through the set sharing rule includes: searching the connection address of the device to be shared from the same-screen source device information table; The connection address establishes a connection with the device to be shared, and sends the file to be shared to the device to be shared.
  • the trigger association table is determined by the interactive smart device in advance according to the current display interface displayed by each source device and sent to the execution terminal;
  • the trigger association table includes at least one binary relationship group, wherein each binary relationship group is composed of a trigger label of a shared trigger area in the current interface of the execution terminal and the device identification of the associated source device.
  • the edge area in the current interface of the execution terminal includes 8 shared trigger areas with different trigger labels.
  • an embodiment of the present application provides a file sharing method, including:
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • obtaining the file to be shared in the sharing device according to the file sharing information includes:
  • the file to be shared contained in the shared download information is extracted and obtained.
  • the obtaining the file to be shared in the sharing device according to the file sharing information includes:
  • the shared connection information is parsed to obtain the first device identifier of the execution terminal as the device to be shared, the second device identifier of the source device as the shared device, and the The uniform resource locator URL of the file to be shared in the shared device;
  • an embodiment of the present application provides a file sharing device.
  • the execution device establishes a communication connection with at least two source-end devices through a wireless network, and the current interface of the source-end device is displayed as the current display interface in this execution
  • the touch screen of the device includes:
  • the first receiving module is configured to receive a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area, wherein the first sharing trigger area is related to the second current display interface
  • the first current display interface and the second current display interface are any two of the current display interfaces displayed on the touch display screen;
  • the sharing execution module is configured to share the file to be shared corresponding to the icon to be dragged in the sharing device to the device to be shared through the dragging operation, wherein the sharing device is the first current display interface
  • the device to be shared is the source device corresponding to the second current display interface.
  • an embodiment of the present application provides a file sharing device, including:
  • the data receiving module is configured to receive the same-screen interaction information sent by the interactive smart device, wherein the same-screen interaction information includes operation data of a drag operation, and the drag operation acts on the execution terminal to be displayed on the interaction On the first current display interface in the smart device;
  • the information determining module is configured to determine the file to be shared and the device to be shared corresponding to the file to be shared when the operation data meets the sharing trigger condition, wherein the device to be shared and the execution terminal are both A source device that establishes communication with the interactive smart device;
  • the sharing execution module is configured to share the file to be shared to the device to be shared through a set sharing rule.
  • an embodiment of the present application provides a file sharing device, including:
  • the information receiving module is configured to receive the file to be shared sent by the sharing device after establishing a connection with the source end device as the sharing device, wherein the connection is established in advance through a connection request sent by the sharing device; or,
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • an embodiment of the present application provides a file sharing system, including: an interactive smart device and at least two source-end devices;
  • the interactive smart device establishes a communication connection with each of the source-end devices through a wireless network, and the current interface of the source-end device is displayed as the current display interface on the touch display screen of the interactive smart device;
  • the interactive smart device receives a drag operation for dragging the icon to be dragged in the first current display interface to the first sharing trigger area, and through the drag operation, the icon to be dragged corresponds to the shared device
  • the file to be shared is shared to the device to be shared, wherein the first sharing trigger area is associated with a second current display interface, and the first current display interface and the second current display interface are displayed on the touch display
  • the sharing device is the source device corresponding to the first current display interface
  • the device to be shared is the source device corresponding to the second current display interface
  • the source device as the sharing device receives the on-screen interaction information sent by the interactive smart device, and when it analyzes that the operation data meets the sharing trigger condition, determines the file to be shared to be shared and the device to be shared corresponding to the file to be shared , And share the file to be shared to the device to be shared through the set sharing rules, wherein the on-screen interaction information includes the operation data of the drag operation, and the drag operation acts on the execution terminal to display On the first current display interface in the interactive smart device, both the device to be shared and the execution terminal are source devices that establish communication with the interactive smart device;
  • the source device as the device to be shared receives the file to be shared sent by the sharing device after establishing a connection with the source device as the sharing device, wherein the connection is established in advance through a connection request sent by the sharing device Or, receiving file sharing information forwarded by an interactive smart device through a wireless network, and obtaining files to be shared in the sharing device according to the file sharing information;
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • an embodiment of the present application provides an interactive smart 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 the first On the one hand, the method steps provided in the application embodiments are applied.
  • 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 the second Aspect and/or method steps provided in the application embodiment of the third aspect.
  • an embodiment of the present application provides a computer storage medium storing a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps provided in the foregoing application embodiments.
  • the embodiments of this application provide file sharing methods, devices, systems, equipment, and storage media.
  • the above-mentioned technical solutions of this embodiment are described as a prerequisite application scenario for file sharing technology: the device to be shared and the shared device are both interactive and intelligent.
  • the source device that the device establishes communication and the current interface of each source device is displayed on the touch display screen of the interactive smart device as the current display interface.
  • the interactive smart device first receives the first current display interface The drag operation of dragging the icon to be dragged to the first sharing trigger area.
  • the first sharing trigger area is associated with the second current display interface, and the first current display interface and the second current display interface are any two current displays displayed Interface; then through the dragging operation, the file to be shared corresponding to the icon to be dragged in the sharing device is shared to the device to be shared, where the sharing device is the source device of the first current display interface, and the device to be shared is the second current The source device of the display interface.
  • the technical solution of this embodiment can not interrupt each source device and Under the premise that the interactive smart device communicates and displays the interface, the file to be shared can be triggered by simply dragging the icon of the file to be shared on the interactive smart device to the trigger area corresponding to the device to be shared. Share to the device to be shared, thereby realizing the rapid sharing of files between source devices that simultaneously cast screens, thereby simplifying the implementation process of file sharing between each source device.
  • Figure 1 shows an example scene diagram in which multiple source devices in related technologies are projected and displayed on the same interactive smart device
  • FIG. 2 is a schematic flowchart of a file sharing method provided in Embodiment 1 of this application;
  • FIG. 3 shows a diagram showing the effect of icon dragging in the first embodiment of the present application
  • FIG. 4 shows the effect display diagram of each source device after communication and connection with the interactive smart device in the first embodiment of the present application
  • FIG. 5 is a schematic flowchart of a file sharing method provided in Embodiment 2 of this application.
  • FIG. 6 is a schematic flowchart of a file sharing method provided in Embodiment 3 of this application.
  • FIG. 7 is a schematic flowchart of a file sharing method provided in Embodiment 4 of this application.
  • FIG. 8 is a schematic flowchart of a file sharing method provided in Embodiment 5 of this application.
  • FIG. 9 shows a flowchart of the implementation of operation data analysis in the fifth embodiment of the present application.
  • FIG. 10 shows an example diagram of setting the shared trigger area in the current interface displayed by the source device in the fifth embodiment of the present application
  • FIG. 11 is a schematic flowchart of a file sharing method provided by Embodiment 6 of this application.
  • FIG. 12 is a schematic flowchart of a file sharing method provided in Embodiment 7 of this application.
  • FIG. 13 shows an example flow chart of obtaining a file to be shared in the seventh embodiment of the present application.
  • FIG. 14 is a structural block diagram of a file sharing device provided by Embodiment 8 of this application.
  • FIG. 15 is a structural block diagram of a file sharing device provided by Embodiment 9 of this application.
  • FIG. 16 is a structural block diagram of a file sharing device provided in the tenth embodiment of this application.
  • FIG. 17 is a system architecture diagram of a file sharing system provided by Embodiment 11 of this application.
  • FIG. 18 is a schematic structural diagram of an interactive smart device provided in Embodiment 12 of this application.
  • FIG. 19 is a schematic structural diagram of a source device according to Embodiment 13 of this application.
  • plural means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • FIG. 2 is a schematic flowchart of a file sharing method provided in Embodiment 1 of this application.
  • the file sharing method is applicable to a situation where one source device performs file sharing with another source device.
  • the method may be executed by an interactive smart device, which may be implemented by software and/or hardware, and the interactive smart device may be composed of two or more physical entities, or may be composed of one physical entity.
  • the interactive smart 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 tablet through touch technology and realizes human-computer interaction. It integrates a projector, an electronic whiteboard, and a screen. One or more functions such as, stereo, TV and video conference terminal.
  • the display screen of an interactive smart device refers to a touch screen, a touch screen, and a touch panel. It is an inductive liquid crystal display device.
  • the tactile feedback system on the screen can be The programmed program drives various connecting devices, which can be used to replace the mechanical button panel, and use the liquid crystal display screen to create dynamic audio-visual effects.
  • touch screens can be divided into five basic categories; vector pressure sensing technology touch screens, resistive technology touch screens, capacitive technology touch screens, infrared technology touch screens, and surface acoustic wave technology touch screens.
  • the touch screen can be divided into four types: resistive type, capacitive sensing type, infrared type and surface acoustic wave type.
  • resistive type When the user touches the screen with a finger or a pen, the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the software built into the intelligent processing system.
  • the coordinates of the point When the user touches the screen with a finger or a pen, the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the software built into the intelligent processing system.
  • the display screen may be a touch display screen, and the user may perform touch operations on the interactive smart device with a finger or a stylus.
  • the “screen” and “large screen” mentioned in the embodiments of this application all refer to the touch display screen of the interactive smart device; the interactive smart device displaying an interface means that the touch display screen of the interactive smart device displays the interface.
  • each source device can 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.
  • each source device can be a smart device such as a mobile phone, a computer, or a tablet, and each source device can optionally establish a communication connection with an interactive smart device through WIFI.
  • the file sharing method provided in Embodiment 1 of the present application may include the following steps:
  • the first current display interface can be understood as one of the source devices that establishes a communication connection with the interactive smart device (executing device in this embodiment of the application), displaying the current display on the touch display screen of the interactive smart device. Display interface.
  • each source device can send the interface data of the current interface displayed by itself as the current interface information to the interactive smart device, and the interactive smart device is based on the received
  • the current interface information sent by each source device may form a current display interface corresponding to each source device and be displayed on the touch display screen.
  • the icon to be dragged displayed in the first current display interface is actually a file icon displayed in the current interface of the source device to which it belongs, and the file actually associated with the icon to be dragged is stored in the first The current display interface belongs to the source device.
  • the drag operation of the icon to be dragged to the first sharing trigger area may refer to the user's drag operation of the icon to be dragged on the touch display screen.
  • the drag operation may be the user via An external device such as a mouse clicks and drags the icon to be dragged on the touch display screen, or the user touches and drags the icon to be dragged with a finger on a screen with touch function.
  • the sharing trigger area can be understood as the trigger area for file sharing trigger that exists in the current display interface.
  • the user drags the icon to be dragged corresponding to the file to be shared into the sharing trigger area it is equivalent to The file sharing operation of the file to be shared is triggered.
  • the first shared trigger area may be understood as a shared trigger area associated with a second current display interface, and the second current display interface and the first current display interface may be displayed on the touch display screen. Any two of the current display interfaces above, and the second current display interface may be the current interface displayed on the touch display screen of another source device that establishes a communication connection with the interactive smart device.
  • the first sharing trigger area may exist in the first current display interface.
  • the first sharing trigger area When the user drags the icon to be dragged to the first sharing trigger area, it is equivalent to establishing the source end to which the first current display interface belongs.
  • the sharing association between the device and the source device to which the second current display interface belongs; or, the first sharing trigger area may also exist in the second current display interface, when the user drags the icon to be dragged to the second current display interface
  • the first sharing trigger area of it is also equivalent to establishing a sharing association between the source device to which the first current display interface belongs and the source device to which the second current display interface belongs.
  • the first shared trigger area exists in the first current display interface, and the association relationship between the first shared trigger area and the second current display interface may be recorded in an association table.
  • FIG. 3 shows the effect display diagram of icon dragging in the first embodiment of the present application.
  • the first current display interface 111 and the first current display interface 111 and the first current display interface 111 are displayed adjacently on the touch display screen 110 of the interactive smart device. 2.
  • One of the file icons on the interface 111 is selected as the icon 114 to be dragged, and the icon to be dragged is dragged to the first sharing trigger area 113.
  • the file to be shared corresponding to the icon to be dragged in the sharing device is shared to the device to be shared, wherein the sharing device is the source device corresponding to the first current display interface ,
  • the device to be shared is the source device corresponding to the second current display interface.
  • the icon to be dragged is displayed in the first current display interface, and the file to be shared corresponding to the icon to be dragged exists on the source device corresponding to the first current display interface. Therefore, in this embodiment, the A source device corresponding to the current display interface is used as a shared device. At the same time, the end position of the icon to be dragged after the drag operation is the first shared trigger area. The first shared trigger area is associated with the second current display interface. Therefore, the source device corresponding to the second current display interface can be The device to be shared is considered to be the file to be shared corresponding to the icon to be dragged.
  • the execution device may first feed back information related to the drag operation performed by the sharing trigger to the sharing device, so that the sharing device shares the file to be shared corresponding to the icon to be dragged to the device to be shared through the operation information of the drag operation.
  • both the shared device and the device to be shared are source devices that establish a communication connection with the execution device, but there is no direct communication connection between the shared device and the device to be shared. Therefore, the execution device can communicate with the shared device in advance. Provide the device identification of the device to be shared and the operation data of the drag operation, so that the sharing device and the terminal to be shared can establish a connection with the device to be shared through the information sent by the execution device and send the icon to be dragged to the device to be shared. Files to be shared. In addition, the execution device can also only send the operation data of the drag operation to the sharing device.
  • the sharing device determines the file to be shared corresponding to the icon to be dragged and the device to be shared based on the operation data
  • the execution device then performs the operation with the device to be shared. Information interaction, so that the device to be shared obtains the file to be shared on the shared device.
  • the file sharing method provided in the first embodiment of the present application receives a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area, and the first sharing trigger area is associated with the second current display interface ,
  • the first current display interface and the second current display interface are any two current display interfaces displayed; through the drag operation, the file to be shared corresponding to the icon to be dragged in the sharing device is shared to the device to be shared, where sharing The device is the source device of the first current display interface, and the device to be shared is the source device of the second current display interface.
  • the file to be shared can be realized by simply dragging the icon to be dragged to the trigger area corresponding to the device to be shared
  • the sharing of equipment realizes rapid file sharing and simplifies the realization process of file sharing.
  • the touch screen of the interactive smart device is modified to include at least the same number of sub-display areas as the source device;
  • the current interface of each source device is respectively displayed as a current display interface in a sub-display area of the touch display screen;
  • the current display interface corresponding to each source device includes at least one shared trigger area.
  • the sub-display area can be understood as a segmented display area set in advance on the touch display screen for displaying the current interface of each source device.
  • the interactive smart device can be pre-set to display the current interface of each source device. Divide the display area on the touch screen according to the division rules to form multiple sub-display areas. The division rules can be determined according to the number of source devices that actually establish a communication connection with the interactive smart device. For example, there are two sources for establishing a connection. In the case of the end device, the touch screen can be divided into two sub-display areas. When there are three connected source devices, the touch screen can be divided into four sub-display areas, or it can be divided into nine sub-display areas. The touch screen forms nine sub-display areas. After that, in actual applications, the interactive smart device displays the current interface of each source device as the current display interface in the sub-display areas.
  • setting at least one shared trigger area in the current interface of each source device is a key premise of this embodiment, and the current interface of each source device is displayed on the touch screen.
  • the current display interface displayed in each sub-display area of the touch display screen also includes at least one shared trigger area.
  • FIG. 4 shows an effect display diagram of each source device after communication and connection with the interactive smart device in Embodiment 1 of the present application.
  • there are four source devices (source device A, source device B, source device C, and source device D) respectively to establish a communication connection with the interactive smart device 101, and four source devices
  • the current interface of is respectively displayed as the current display interface in the first sub-display area 1011, the second sub-display area 1012, the third sub-display area 1013, and the fourth sub-display area 1014 of the interactive smart device 101.
  • the current interfaces of the four source devices respectively include at least one shared trigger area 100. Therefore, the current display interface displayed in each sub-display area also includes at least one shared trigger area 200 correspondingly.
  • the current interface of each source device is displayed in each sub-display area on the touch display screen, which ensures the synchronous display of the current interface of each source device, and also realizes the adjacency relationship between the current display interfaces. Effectively determine, in addition, the sharing trigger area in each current display interface provides a trigger prerequisite for subsequent file sharing, so as to ensure that the subsequent rapid file sharing between source devices can be achieved simply and effectively.
  • FIG. 5 is a schematic flow chart of a file sharing method provided in the second embodiment of the application. This embodiment is modified based on the above-mentioned embodiment.
  • the drag operation is used to make the to-be dragged Sharing the file to be shared corresponding to the icon in the sharing device to the device to be shared may be: sending the operation data of the drag operation to the sharing device; receiving the file sharing information sent by the sharing device, where all The file sharing information is generated by the sharing device after receiving the operation data; the file sharing information is forwarded to the device to be shared, so that the device to be shared obtains the to-be dragged based on the file sharing information The file to be shared corresponding to the icon.
  • the file sharing method provided in the second embodiment may include the following operations:
  • S2101 Receive a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area.
  • S2102 to S2104 provide an implementation manner for sharing the file to be shared with the device to be shared.
  • S2102 Send the operation data of the drag operation to a sharing device, where the sharing device is the source device corresponding to the first current display interface.
  • the operation data generated by the user in the drag operation can be obtained, and the operation data may include the dragging points captured during the dragging process.
  • 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 acts on the first current display interface, each drag in the 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 first current display interface as the origin.
  • the user can touch the current display interface of each source device on the touch screen of the interactive smart device, and the operation data of the touch operation can be Return to the source device to which the current display interface belongs, so that the source device that receives the returned operation data can respond to the touch operation.
  • the type of the touch operation may be a click type, a double-click type, a drag type, a sliding type, etc., formed by pressing, sliding, and lifting a touch point, etc. This embodiment can be implemented based on the above steps.
  • the operation data of the drag operation can be returned to the source device side corresponding to the first current display interface, that is, the operation data of the drag operation Send to the source device corresponding to the first current display interface.
  • the source device corresponding to the first current display interface is recorded as a shared device, so that the operation data of the drag operation can be sent to the sharing device, considering that the operation data is sent to the sharing device Later, the shared device can perform subsequent operations based on the operating data.
  • This embodiment needs to ensure that the operating data sent to the shared device can be recognized by the shared device and converted into the actual coordinate position of the drag operation on the shared device.
  • the coordinate position information of the drag point in the data is the coordinate value expressed in the screen coordinate system of the touch screen, or the coordinate value expressed in the coordinate system constructed with the upper left corner of the first current display interface as the origin, and sent to the share After the device, the shared device cannot determine the coordinate position of the drag point on the screen of the shared device based on the operation data.
  • the modification of the operation data in this embodiment at least includes the position ratio information of each drag point in the drag operation.
  • the position ratio information of each drag point is equivalent to a piece of normalized position information, and the position ratio information of each drag point may be: the position of the drag point in the upper left corner of the first current display interface is The ratio information of the corresponding horizontal and vertical coordinate values in the coordinate system constructed by the origin and the actual width and height values of the first current display interface respectively.
  • the size of the first 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 shared device, but what can be determined is the aspect ratio of the two interfaces. Is the same. Therefore, after the present embodiment determines that the position ratio information of the drag point is used as the operation data, the shared device side can combine the position ratio information of the drag point in the operation data with the actual screen size information of the shared device, and then The actual corresponding drag position of each drag point on the screen of the shared device in the drag operation can be determined. As a result, the accuracy and practicability of data interaction between the source device and the interactive smart device are better guaranteed.
  • the sharing device can analyze and process the operation data, so that when the operation data meets the relevant conditions of file sharing, it can be based on the operation data
  • the sharing device can generate the file sharing information required to share the determined file to be shared, and can send the generated file sharing information to the execution device, so that the execution device can use the The step of receiving the file sharing information sent by the sharing device.
  • the file sharing information may be when the sharing device determines that the drag operation of the icon to be dragged meets the file sharing conditions according to the received operation data, and determines the file to be shared corresponding to the icon to be dragged. Information generated for sharing the file to be shared.
  • the target device that shares the file to be shared in the shared device is recorded as the device to be shared, where both the device to be shared and the sharing device are source devices that establish a communication connection with the execution device, and the device to be shared The device can be determined by the shared device based on the operating data.
  • the file sharing information is different according to the specific implementation of file sharing, and the information it contains is also different.
  • the sharing device may consider directly including the file to be shared in the file sharing information.
  • the file sharing information received by the device is equivalent to containing the file to be shared; in addition, the sharing device may also consider including the file storage path and other information corresponding to the file to be shared in the file sharing information.
  • the file sharing information received by the execution device is equivalent to containing the address information of the file to be shared required for sharing the file to be shared.
  • the sharing device determines the file to be shared corresponding to the icon to be dragged and the related device to be shared, the sharing device should directly send the generated file sharing information to the device to be shared for file sharing of the file to be shared.
  • each source device above establishes a communication connection with an interactive smart device and the current interface of each source device is displayed on the touch screen as the current display interface, although each source device is in the same local area network, it has Conditions for mutual access, but because each other's device IDs are not known to each other, there is no real communication connection between the source-end devices, that is, the source-end devices still cannot communicate directly at this time.
  • the sharing device needs to send the generated file sharing information to the execution device first.
  • the execution device receives the file sharing information based on S2103, it can use this step according to the device to be shared contained in the file sharing information.
  • the device identification of the file sharing information is forwarded to the device to be shared, so that the device to be shared can receive the file sharing information through the execution device, so that the device to be shared can obtain the file sharing information to be dragged based on the received file sharing information
  • the file to be shared corresponding to the icon is mapped to the file sharing information based on S2103
  • the sharing device can determine based on the operation data that the icon to be dragged is finally dragged into the first sharing trigger area, thereby satisfying the sharing trigger condition of the file to be shared, and at the same time, It can be determined that the first sharing trigger area is associated with the second current display interface, thereby determining that the source device corresponding to the second current display interface is the device to be shared.
  • the device to be shared can use different methods to obtain the file to be shared in the sharing device according to the content contained in the file sharing information.
  • the device to be shared may directly extract the file to be shared from the file sharing information.
  • a drag operation of dragging an icon to be dragged in a first current display interface to a first sharing trigger area is first received, wherein the first sharing trigger area is The second current display interface is associated, and the first current display interface and the second current display interface are any two of the current display interfaces displayed on the touch display screen;
  • the operation data is sent to a sharing device, which is the source device corresponding to the first current display interface; afterwards, the file sharing information sent by the sharing device is received, wherein the file sharing information is shared by the sharing device.
  • the device generates after receiving the operation data; finally forwards the file sharing information to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information.
  • users are provided with shortcuts for file sharing triggers, ensuring that the file to be shared can be simply shared by the user on the interactive smart device without interrupting the communication connection between each source device and the interactive smart device.
  • the file sharing and transmission operation of each source device is complicated, which simplifies the implementation process of file sharing between each source device.
  • the drag operation can be used to make the icon to be dragged
  • the corresponding file to be shared is shared to the device to be shared.
  • the modification is: the operation data of the drag operation and the pre-stored source device information table on the same screen are sent to the sharing device, so that the sharing device Sharing the file to be shared corresponding to the icon to be dragged to the device to be shared based on the operation data and the same-screen source device information table.
  • the same-screen source device information table can be understood as an information table containing the device identification and related connection address of each source device displayed on the screen of the execution terminal.
  • the execution device can be regarded as an information providing terminal for file sharing.
  • the execution device can provide the operation data of the drag operation required by the sharing device to trigger the sharing, and it can also provide the shared device and the device to be shared.
  • the same-screen source device information table required for communication connection establishment is given to the shared device, so that after the shared device determines the device to be shared, it directly establishes a communication connection with the device to be shared by looking up the same-screen source device information table, thereby realizing the determination Direct sharing of files to be shared to the device to be shared.
  • the above-mentioned optional embodiment of this application replaces the newly formed file sharing method from S2102 to S2104.
  • file sharing between the shared device and the device to be shared is realized based on the drag operation, the information containing the connection address of the device to be shared can be directly sent to the sharing device In this way, the normal connection and communication between the shared device and the device to be shared can be ensured on the premise that the execution device is not required as a transit device.
  • FIG. 6 is a schematic flowchart of a file sharing method provided in Embodiment 3 of this application. This embodiment is modified on the basis of the above-mentioned embodiment.
  • the execution device and the at least two sources After the end device establishes a communication connection through the wireless network, it may include: determining the trigger association table of each source device according to the current display interface of each source device on the touch display screen and sending it to the corresponding source device Device, wherein each source device determines the device to be shared through the received trigger association table.
  • receiving the file sharing information sent by the sharing device may be: receiving the sharing connection information sent by the sharing device, and the sharing connection information includes at least: the source device as the device to be shared The first device identifier of the shared device, the second device identifier of the source device as the shared device, and the download address of the file to be shared corresponding to the icon to be dragged.
  • said forwarding the file sharing information to the device to be shared so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information, It may be: forwarding the shared connection information to the device to be shared, so that the device to be shared establishes a communication connection with the sharing device based on the shared connection information, so as to obtain the to-be dragged from the sharing device The file to be shared corresponding to the icon.
  • the file sharing method provided in the third embodiment may include the following operations:
  • each source device determines the trigger association table of each source device and send it to the corresponding source device, wherein each source device passes The received trigger association table determines the device to be shared.
  • the current interface of each source device is displayed in the sub-display area on the touch display screen of the execution terminal, which is equivalent to forming the current display interface of each source device.
  • the display position of each current display interface on the touch display screen of the execution device can be determined.
  • the process of determining the trigger association table corresponding to each source device in this step can be expressed as: For each source device, based on the above-determined display positions, it can be determined that the touch display screen is related to the source device. The current display interface of the device is adjacent to the adjacent source device displayed, and according to at least one shared trigger area contained in the current display interface of the source device, it can be determined which adjacent source device each shared trigger area is associated with, thereby forming A trigger association table containing a one-to-one correspondence between each shared trigger area and each adjacent source device. After determining each trigger association table, the execution device can also send the determined trigger association table to the corresponding source device respectively.
  • the above-mentioned S201 in this embodiment is equivalent to a preprocessing step. After the execution device establishes a communication connection with each source device, the trigger association table of each source device can be determined to facilitate the subsequent file sharing of each source device. determine. Therefore, the implementation sequence of the foregoing S201 is not limited. As long as the execution device and the at least two source devices establish a communication connection through a wireless network, the foregoing S201 operation can be performed. This embodiment can optionally be placed in the first step. carried out.
  • S202 Receive a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area.
  • this step may receive a drag operation in which the user drags the icon to be dragged in the first current display interface on the touch display screen, and the target area of the drag operation is the first shared trigger area.
  • the user knows which sharing device the file to be shared is located in, so that the current display interface corresponding to the sharing device can be found in the touch display screen and recorded as the first current display interface. It is also clear which file icon corresponds to the file to be shared in the first current display interface. This file icon can be recorded as the icon to be dragged.
  • the user also knows which device to be shared the file to be shared to, so that The shared trigger area corresponding to the device to be shared is determined through the pre-instructions.
  • the shared trigger area can be recorded as the first shared trigger area, and the current interface of the device to be shared on the touch display screen can be recorded as the second current display interface.
  • the user can drag the icon to be dragged in the first current display interface to the second sharing trigger area associated with the second current display interface, so as to realize the sharing trigger of the file to be shared.
  • the operation data includes the position ratio information of the dragging point, which is used for the sharing device to determine the actual corresponding coordinate position of each dragging point on the screen of the sharing device.
  • the file sharing information may be shared connection information, that is, the file sharing information generated and sent to the execution device by the sharing device according to the operation data corresponding to the received drag operation may be shared connection information, so
  • the shared connection information can be understood as: connection information required to establish a communication connection between the shared device and the device to be shared.
  • the shared connection information includes at least: the first device identifier of the source device as the device to be shared, the second device identifier of the source device as the shared device, and the icon corresponding to the icon to be dragged.
  • the download address of the file to be shared should include the device identifier (the first device identifier of the device to be shared) required by the interactive smart device (this execution device) to confirm the forwarding object of the request, and also include the device to be shared and the shared device to establish communication
  • the shared connection information also includes the download address required by the device to be shared to download the file to be shared. The download address may be the one when the file to be shared is stored on the shared device. File address information.
  • the execution device may receive the sharing connection information sent by the sharing device after the file to be shared and the device to be shared are determined according to the operation data, so that the execution device can forward the shared connection information to realize the sharing device and the waiting device.
  • the communication connection of the shared device may be
  • the execution device can determine the device to be shared to be forwarded according to the first device identification of the device to be shared in the shared connection information, so as to ensure that the device to be shared can receive the shared connection information after performing this step. Furthermore, the device to be shared determines the shared device to be connected to by the second device identifier in the shared connection information, and establishes a communication connection with it, so that file sharing between the shared device and the device to be shared can be realized, and the shared file is The file to be shared corresponding to the icon to be dragged.
  • the file sharing method provided in the third embodiment of the present application may include triggering the determination operation of the association table, and also provides a trigger window for the user to perform file sharing, and realizes the connection between the source device as the sharing device and the device to be shared.
  • the establishment of the communication connection which simplifies the realization process of file sharing under the premise of ensuring the accuracy and effectiveness of file sharing.
  • the determination of the trigger association table in the embodiment of the present application provides key information support for subsequent file sharing triggers and determination of the device to be shared, and ensures the effective realization of file sharing.
  • the trigger association table of each source device determined according to the current display interface of each source device on the touch display screen has been modified, and this embodiment The determination of the trigger association table is changed to be implemented through the following steps S11 to S13:
  • the premise of this step may be that each source device establishes communication with the interactive smart device through a wireless network, and the content of the display interface of each source device can be simultaneously displayed on the touch display screen of the interactive smart device.
  • the interactive smart device can decide to display the sub-display area to be displayed in the current interface of each source device according to the sending time of the current interface information sent by each source device.
  • the execution device can control the first sending interface
  • the source device that displays the request displays the interface content of the current interface in the sub-display area with area number 1, and controls the other source devices to determine their respective area numbers according to the request time of sending the interface display request, and assign each source The interface content of the end device is displayed in their respective sub-display areas. Therefore, in this step, after the current interface of each source device is respectively displayed in the corresponding sub display area, it is equivalent to determining the area number of the sub display area where the current interface of each source device is located and the display position information corresponding to each area number.
  • the current display interface of the source device contains at least one shared trigger area, and each shared trigger area has a corresponding trigger number. Therefore, for a current display interface, through each shared trigger The trigger number corresponding to the area can determine the location of each shared trigger area contained in the current display interface, and on the premise that the location of each shared trigger area is known, the execution device can determine that each shared trigger area is relatively current Display the trigger position of the interface.
  • the edge area of the current display interface corresponding to each source device may include 8 shared trigger areas with different trigger labels, and for each source device, Based on the top of the current display interface corresponding to the source device, in a clockwise direction, the trigger orientations corresponding to each shared trigger area included are: top, top right, right, bottom right, bottom, bottom left, bottom left, and top left .
  • each source device includes 8 shared trigger areas, and each shared trigger area has a trigger number (1-8) determined in advance in a certain order. It can also be seen that the shared trigger area corresponding to each trigger label is based on the top of the current interface where it is located, and in a clockwise direction, the trigger orientations corresponding to each shared trigger area included are: top, top right, right, bottom right, Bottom, bottom left, left, and top left.
  • the adjacent source device adjacent to each source device can be determined in this step, and the relative value of each adjacent source device can be obtained.
  • the display position of the adjacent source device Therefore, for each source device, based on the trigger position of the shared trigger area on the current display interface of the source device, combined with the display position of each adjacent source device relative to the source device , The corresponding relationship between the shared trigger area and each adjacent source device adjacent to it can be established, thereby forming a trigger association table containing the mapping relationship between the shared trigger area and the associated adjacent source device.
  • the source device A is in the sub-display area with area number 1. Therefore, the display position information of the source device A on the touch screen is attached
  • the icon number 1001 indicates the sub-display area.
  • the trigger association table of each source device is determined according to the trigger position of the shared trigger area in each current display interface and the display position information, and in this embodiment, The determination of the trigger association table can optionally be implemented through the following steps S21 to S24:
  • each source device determine the adjacent source device of the source device according to each of the display position information, wherein the display position of the adjacent source device is the same as the display position of the source device. adjacent.
  • S21 to S24 in this embodiment is for each source device, that is, the operations of S21 to S24 can be performed on each source device.
  • the display position information corresponding to each source device on the touch display screen indicates the corresponding sub-display area of each source device on the interactive smart device. Therefore, according to the sub-display area corresponding to each source device, other sub-display areas adjacent to the sub-display area can be determined, and each adjacent other sub-display area may have an adjacent source adjacent to the source device. Therefore, in this step, the adjacent source device corresponding to each source device can be determined according to the corresponding sub-display area of each source device on the interactive smart device in this step.
  • the current display interface of a source device has at most 8 current display interfaces of other source devices adjacent to it, that is, a source device can correspond to a maximum of 8 adjacent source devices.
  • a source device can correspond to a maximum of 8 adjacent source devices.
  • the source device A has three adjacent source devices on the touch screen, namely: source device B, source device C, and source device D.
  • the display orientation may indicate the adjacent orientation information of each source device and its adjacent source device. Taking any source device as an example, this step can determine the relative position of each adjacent source device relative to the source device according to the current display interface of each adjacent source device relative to the current display interface of the source device. Display orientation.
  • the display orientation of the adjacent source device relative to the source device is one of the following: top, top right, right, bottom right, Bottom, bottom left, left, and top left.
  • a source device under the premise that a source device can correspond to a maximum of 8 adjacent source devices, it can be known that when the top of the source device's current display interface is used as a reference, the 8 adjacent source devices are relative to the source device.
  • the display orientation of the end device in the clockwise direction can be expressed as 8 display orientations: top, top right, right, bottom right, bottom, bottom left, left, and top left.
  • the source device B is adjacent to the source device A on the right
  • the source device D is adjacent to the source device A in the lower right
  • the source device C is adjacent to the source device A in the bottom.
  • right, bottom right, and bottom are equivalent to the display orientation of each adjacent source device relative to the source device A.
  • S23 Search for a target trigger orientation corresponding to each display orientation from the trigger orientations of each shared trigger area included in the source device.
  • the source device may correspond to all adjacent source devices To determine the target trigger position corresponding to each display position one-to-one with the display position of the display position and the trigger position of the shared trigger area it possesses.
  • the corresponding trigger orientation is “up”
  • the trigger orientation that can be determined as “up” is equivalent to the target trigger orientation of the “up” display orientation.
  • S24 Form a trigger association table of the source device according to each display position and the associated target trigger position; wherein the trigger association table includes at least one binary relationship group, and each binary relationship group is determined by one display position. It is composed of the device identification of the adjacent source device and the target trigger label of the shared trigger area corresponding to the corresponding target trigger position.
  • each display position corresponds to an adjacent source device, and the device identification of the adjacent source device can be obtained; the target trigger position associated with the display position corresponds to a shared trigger area, and the shared trigger can be obtained The trigger label of the area.
  • a binary relationship group can be formed with the trigger label based on the device ID, and it can be known how many corresponding groups of display orientations and target trigger orientations exist in a source device. How many corresponding binary relationship groups, and finally the formed trigger association table contains all the binary relationship groups related to the source device.
  • the interactive smart device needs to re-execute the above S201 in this embodiment, so as to determine a new trigger association table for each source device currently establishing a communication connection with the execution device.
  • the above-mentioned optional embodiment provided by the embodiment of the application changes the determination process of the trigger association table corresponding to each source device.
  • This embodiment is based on the positional relationship between the current display interfaces on the touch display screen and the current display interfaces.
  • the shared trigger area in, to effectively determine the corresponding trigger association table for each source device, to ensure the validity and accuracy of the prerequisite information required for file sharing, thereby providing a technical basis for the simplified realization of file sharing.
  • receiving the file sharing information sent by the sharing device may be: receiving the sharing device The sent shared download information, where the shared download information includes the file to be shared corresponding to the icon to be dragged. It can be understood that adopting the above-mentioned modified steps of this optional embodiment is equivalent to replacing S204 given above in this embodiment.
  • this optional embodiment may also forward "the file sharing information to the device to be shared, so that the device to be shared obtains the to-be-dragging information based on the file sharing information
  • the “file to be shared corresponding to the icon” is changed to: forward the shared download information to the device to be shared, so that the device to be shared obtains the file to be dragged corresponding to the icon to be dragged contained in the shared download information. shared documents.
  • the file sharing information may be shared download information, that is, the file sharing information generated by the sharing device according to the operation data corresponding to the received drag operation and sent to the execution device may be shared download information
  • the shared download information can be understood as: after being forwarded to the device to be shared, the device to be shared directly obtains the download information of the file to be shared corresponding to the icon to be dragged.
  • the shared download information includes at least the file to be shared corresponding to the icon to be dragged and the first device identifier corresponding to the determined device to be shared.
  • this optional embodiment replaces S204 with the above-mentioned shared download information sent by the shared device, the operation of the associated S205 will also be replaced by this optional embodiment. Forward to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged included in the shared download information" instead.
  • the execution device may determine the device to be shared to be forwarded by the device identification of the device to be shared contained in the shared download information, and forward the shared download information to the device to be shared, thereby executing
  • the operation of forwarding the shared download information to the device to be shared can ensure that the device to be shared directly obtains the file to be shared corresponding to the icon to be dragged contained in the shared download information, without the need to establish a communication connection with the shared device and after the connection is made.
  • the download interaction can quickly and effectively realize the sharing of the files to be shared from the sharing device to the device to be shared.
  • FIG. 7 is a schematic flow chart of a file sharing method provided in the fourth embodiment of the application.
  • the execution terminal of the method may establish a communication connection with the interactive smart device, and the current interface is displayed as the current display interface on the touch display of the interactive smart device
  • the on-screen is the source device of the shared device.
  • This method is suitable for file sharing of files to be shared contained in the execution terminal.
  • the shared device may be implemented by software and/or hardware, and the shared device may be composed of two or more physical entities, or may be composed of one physical entity.
  • the source device as the shared device can be determined by the interactive smart device according to the current display interface of the user's drag operation.
  • the shared device as the execution terminal can be considered as For the source device corresponding to the first current display interface displayed in the interactive smart device.
  • the shared device is one of the source devices that display the current interface on the touch screen of the interactive smart device
  • a communication connection is established between the shared device and the interactive smart device. Therefore, the user performs file sharing.
  • the drag operation can be applied to the screen of the shared device as the execution terminal, and can also be applied to the first current display interface displayed on the interactive smart device by the shared device; accordingly, the operation data can be directly generated in the shared device.
  • the device side can also be generated on the interactive smart device side, and then sent back by the interactive smart device to the shared device as the execution terminal.
  • the user acts on the drag operation on the first current display interface of the interactive smart device, and then the interactive smart device sends the operation data generated by the drag operation to This execution terminal is an optional method for description.
  • the file sharing method provided in the fourth embodiment of the present application may include:
  • S301 Receive the same-screen interaction information sent by the interactive smart device, where the same-screen interaction information includes operation data of a drag operation, and the drag operation acts on the first terminal displayed on the interactive smart device by the execution terminal. 1. On the current display interface.
  • the on-screen interaction information may be understood as reference information required for file sharing sent by the interactive smart device, and the on-screen interaction information may only include operation data of a drag operation.
  • the drag operation may refer to a drag operation performed by the user on the touch display screen of the interactive smart device, and the drag operation acts on the first display of the execution terminal on the touch display screen. A current display interface, and acts on the icon to be dragged in the first current display interface.
  • the operation data can be understood as the data monitored during the drag operation by the user.
  • the operation data includes at least the drag point formed during the drag operation and the touch display
  • the first screen currently displays the position ratio information in the interface.
  • the first current display interface is the current interface displayed on the interactive smart device by the execution terminal, that is, the current display interface corresponding to the current interface provided by the execution terminal at the current moment on the touch display screen of the interactive smart device.
  • the execution terminal may receive the return from the interactive smart device
  • the operation data of the drag operation can be analyzed through subsequent steps to achieve a response to the drag operation.
  • the device to be shared in this embodiment and the shared device as the execution terminal are source devices that establish communication with the interactive smart device, and the current interface of each source device is synchronously displayed in the interactive On the touch display screen of the smart device, therefore, the device to be shared to be determined in this step can be understood as the source device whose display position of the current display interface on the touch display screen of the interactive smart device is adjacent to the display position of the first current interface .
  • the adjacent current display interface determine which source device adjacent to the current display interface is the target source device that the user expects to receive the file to be shared.
  • the target source device is the device to be shared.
  • the device to be shared can be pre-selected by the user according to their own sharing expectations, and then the user can realize the actual designation of the device to be shared by dragging and dropping, and then this embodiment can determine by analyzing the operation data corresponding to the dragging operation
  • the execution terminal can establish a communication connection with the device to be shared through the interactive smart device, thereby realizing file sharing of the file to be shared to the device to be shared.
  • the sharing trigger condition may refer to a trigger condition for determining the device to be shared, and the sharing trigger condition may be that the operation object of the aforementioned drag operation is the icon to be dragged and the operation of the icon to be dragged ends.
  • the position is any shared trigger area set.
  • the shared trigger area is set at the edge area of the current interface of the execution terminal.
  • the execution terminal implements multiple sharing rules for file sharing with the device to be shared.
  • different sharing rules can be selected for file sharing based on the acquired information.
  • the execution terminal can be in When it is determined that the same-screen interactive information sent in S301 only contains the operation data of the drag operation, select the sharing rule based on the interactive smart device as the transit device for file sharing, that is, the file sharing information can be sent to the interactive smart device by the interactive smart device.
  • the device acts as a relay to enable the device to be shared to obtain the file to be shared.
  • the sharing rule can also be subdivided into whether to transfer the file to be shared directly through the interactive smart device, or transfer the download address containing the file to be shared, etc.
  • the terminal may choose to directly establish a connection with the device to be shared for file sharing.
  • a file sharing method provided in the fourth embodiment of the present application is applied to the source device as the shared device in the embodiment of the present application, by receiving the same-screen interaction information sent by the interactive smart device, and analyzing the same-screen interaction information
  • the file to be shared to be shared and the device to be shared corresponding to the file to be shared are determined; then, the file to be shared is shared to the device to be shared through the set sharing rules.
  • FIG. 8 is a schematic flow chart of a file sharing method provided by Embodiment 5 of this application. This embodiment is modified on the basis of Embodiment 4 above. In this embodiment, it will be analyzed that when the operation data meets the sharing trigger condition , Determine the file to be shared to be shared and the device to be shared corresponding to the file to be shared, modified to: analyze the operation data, determine the drag icon and drag corresponding to the drag operation on the current interface of the execution terminal End position; when the drag end position is in the sharing trigger area in the current interface of the execution terminal, determine that the operation data meets the sharing trigger condition; use the file associated with the drag icon as the file to be shared, and The drag end position and the pre-stored trigger association table determine the device to be shared corresponding to the file to be shared.
  • this embodiment will also share the file to be shared to the device to be shared through the set sharing rules, which is modified to: generate file sharing information corresponding to the file to be shared and send it to the interactive smart device, It is forwarded to the device to be shared through the interactive smart device, so that the device to be shared obtains the file to be shared based on the file sharing information.
  • the file sharing method provided in the fifth embodiment of the present application may include the following operations:
  • S401 Receive the same-screen interaction information sent by the interactive smart device, where the same-screen interaction information includes operation data of a drag operation, and the drag operation acts on the first terminal displayed on the interactive smart device by the execution terminal. 1. On the current display interface.
  • S402 Analyze the operation data, and determine the drag icon and the drag end position corresponding to the drag operation on the current interface of the execution terminal.
  • the drag end position may refer to the end point position of the drag operation acting on the first current display interface on the interactive smart device that actually corresponds to the end point position on the screen of the execution terminal.
  • this step can determine the corresponding drag end position on the screen of the execution terminal by analyzing the position ratio information of each touch point of the drag operation contained in the operation data.
  • the drag icon may refer to the file icon that actually corresponds to the icon to be dragged on the screen of the execution terminal when the drag operation is performed, and the drag icon may be determined by analyzing the operation data.
  • Figure 9 shows the implementation flow chart of the operation data analysis in the fifth embodiment of this application.
  • the operation data is analyzed to determine that the drag operation corresponds to the current interface of the execution terminal.
  • the drag icon and the end position of the drag can be the following steps:
  • the start position ratio information may refer to: taking the upper left corner of the first current display interface displayed by the execution terminal on the interactive smart device as the coordinate origin, the drag start point of the drag operation (the start point of the icon to be dragged) The ratio information of the horizontal and vertical coordinates in the coordinate position information corresponding to the position) and the width and height of the first 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 the execution terminal on the interactive smart device as the coordinate origin, the drag end point of the drag operation (the end position of the icon to be dragged) ) The ratio information of the horizontal and vertical coordinates in the corresponding coordinate position information to the width and height of the current display interface.
  • the size of the current display interface corresponding to the interactive device screen of the execution terminal may be different from the actual screen size of the execution terminal screen, but the aspect ratio of the two is the same.
  • the actual screen size information of the execution terminal screen can be used to determine the drag operation corresponding to the drag operation on the execution terminal screen. Start position.
  • each interface element is equivalent to a file icon displayed on the screen. Therefore, according to the mapping relationship between the first current display interface and the current interface of the execution terminal , the drag start position may correspond to an interface element on the screen of the execution terminal, so that the interface element can be used as a drag icon.
  • the actual screen size information of the execution terminal screen can be used to determine that the drag operation is in this location. Execute the corresponding drag end position on the terminal screen.
  • the sharing trigger area may refer to a trigger area set at the edge of the current interface of the execution terminal for file sharing.
  • any sharing trigger In the area it can be considered that the operation data meets the sharing trigger condition.
  • the edge area in the current interface of the execution terminal includes 8 shared trigger areas with different trigger labels.
  • different shared trigger areas on the execution terminal are associated with different devices to be shared.
  • the association with the device to be shared is mainly reflected in the trigger label and trigger position of each shared trigger area.
  • the trigger label is used for Identifies the shared trigger area, and the trigger position is used to determine the device to be shared associated with the shared trigger area.
  • FIG. 10 shows an example of the setting of the shared trigger area in the current interface displayed by the source device in the fifth embodiment of the application.
  • the edge box of the current interface displayed by the execution terminal contains 8 Shared trigger areas with different trigger labels; for example, the shared trigger area with trigger label 1 is located at the top of the current interface of the execution terminal, the shared trigger area with trigger label 2 is located at the upper right of the current interface of the execution terminal, and so on.
  • the shared trigger area with trigger label 8 is located at the upper left of the current interface of the execution terminal.
  • the trigger orientation of the shared trigger area with trigger label 1 is "up"
  • the trigger orientation of the shared trigger area with trigger label 2 is "upper right
  • the shared trigger area with trigger label 8 The trigger position is "upper left”.
  • S404 Use the file associated with the drag icon as the file to be shared, and determine the device to be shared corresponding to the file to be shared according to the drag end position and a pre-stored trigger association table.
  • the drag icon can only be understood as the display icon when the file contained in the execution terminal is displayed in the current interface.
  • the execution terminal also stores the file actually associated with the drag icon.
  • the drag icon can be dragged.
  • the file associated with the icon is used as the file to be shared.
  • the trigger association table can be understood as a one-to-one correspondence between the current display interface of each source device on the touch screen of the interactive smart device and each shared trigger area of each source device. And the generated mapping table.
  • each source device has a trigger association table, and the trigger association table can be generated by the interactive smart device and sent to each source device after each source device establishes a communication connection with the interactive smart device.
  • the drag end position when the drag end position is in any shared trigger area on the screen of the execution terminal, that is, when the drag operation satisfies the sharing trigger condition, by searching the trigger association table pre-stored in the execution terminal,
  • the device identifier associated with the sharing trigger area where the dragging end position is located can be determined, and the source device corresponding to the device identifier can be used as the device to be shared for the file to be shared.
  • the determined device to be shared also establishes communication with the interactive smart device, its current interface is also displayed on the touch screen of the interactive smart device, and its display position is connected to the display position of the current display interface of the execution terminal .
  • the device to be shared corresponding to the file to be shared is determined according to the drag end position and the pre-stored trigger association table, and is modified to implement the following S31 to S33:
  • the execution terminal can have multiple shared trigger areas, and each shared trigger area has a corresponding trigger label. This step can determine the trigger label of the shared trigger area where the drag end position is located.
  • the touch association table contains the device identification of the source device associated with each shared trigger area of the execution terminal. Since each source device has a unique device identification, the trigger of the shared trigger area is determined After the label, the device identification associated with the shared trigger area identified by the trigger label can be found.
  • the trigger association table is determined by the interactive smart device in advance according to the current display interface displayed by each source device and sent to the execution terminal;
  • the trigger association table includes at least one binary relationship group, wherein each binary relationship group is composed of a trigger label of a shared trigger area in the current interface of the execution terminal and the device identification of the associated source device.
  • the current interface corresponding to each source device is displayed on the touch screen display of the interactive smart device, forming a corresponding current display interface.
  • the interactive smart device is based on the display position between the current display interfaces corresponding to each source device, and correspondingly set a shared trigger area with a trigger label on the current interface of each source device.
  • the adjacent source device corresponding to each shared trigger area in the source device can be determined, and the trigger label of the shared trigger area and the associated device identification of the adjacent source device can be used to form a binary relationship group, combined with the same screen
  • the number of source devices displayed on the interactive smart device can form a trigger association table containing at least one binary relationship group for each source device, and send it to the corresponding source device.
  • the source device corresponding to the aforementioned device identifier is equivalent to the source device determined by the aforementioned drag and drop operation, and the source device is the device to be shared required by the execution terminal for file sharing of the file to be shared, and implements
  • the device identifier corresponding to the device to be shared is recorded as the first device identifier.
  • the current execution terminal and the device to be shared as the shared device can establish a communication connection with the interactive smart device through the wireless network, and each source device after the communication connection is established can realize the synchronization of the current interface to the interactive smart device.
  • Screen display
  • the communication connection between each source device and the interactive smart device is a Transmission Control Protocol (TCP) link.
  • TCP Transmission Control Protocol
  • this step can be used to send file sharing information to the interactive smart device first, so as to forward the file sharing information to the device to be shared through the interactive smart device to achieve this execution File sharing between the terminal and the device to be shared.
  • the file sharing information may be a sharing trigger message generated and sent by the execution terminal for sharing the file to be shared to the device to be shared.
  • the file sharing implementation strategy can be used Different, to generate file sharing information containing different information content.
  • the execution terminal may consider that the file to be shared is directly included in the file sharing information.
  • the file sharing information sent to the interactive smart device in this step is equivalent to containing the file to be shared; in addition, the execution terminal You can also consider including the file address information corresponding to the file to be shared in the file sharing information.
  • the file sharing information sent to the interactive smart device in this step is equivalent to containing the file to be shared required for sharing the file to be shared. Address information.
  • the device to be shared determined by performing a drag operation on the icon to be dragged on the first current display interface is the second current device displayed adjacent to the execution terminal containing the file to be shared on the interactive smart device.
  • the source device of the display interface In actual operation, the user may want to share the file to be shared to the source device corresponding to the current display interface that is displayed non-adjacently on the interactive smart device. In this case, you can execute S401 to S401 to this embodiment multiple times.
  • the step of S405 realizes the sharing of the file to be shared from the executing terminal to the source device finally selected by the user.
  • a file sharing method provided in the fifth embodiment of this application is applied to the source device as the shared device in the embodiment of this application, and the operation data is returned to the execution terminal through the drag operation completed on the interactive smart device (Shared device) to complete the drag operation on the execution terminal; through the set shared trigger area and the corresponding trigger association table, when the drag end position is in any shared trigger area on the screen of the execution terminal , It can be determined that the drag operation meets the sharing trigger condition, and according to the trigger label of the shared trigger area where the drag end position is located, the associated source device is determined to be the file to be shared by searching the trigger association table.
  • Sharing equipment afterwards, generate file sharing information of the file to be shared and send it to an interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared obtains information based on the file sharing information The file to be shared.
  • the above method solves the problem of complicated file transfer operations when multiple source devices on the interactive smart device are on the same screen. For users, it is possible for the user to not interrupt the information display from the source device to the interactive smart device. Next, simply drag the file to be shared to the trigger area corresponding to the sharing device to trigger the file sharing to the device to be shared, which achieves rapid file sharing and simplifies the implementation process of file sharing.
  • the on-screen interaction information may further include: a same-screen source device information table;
  • the shared file to be shared can be shared to the device to be shared through the set sharing rules, which may be changed to: look up the connection address of the device to be shared from the same-screen source device information table Establish a connection with the device to be shared according to the connection address, and send the file to be shared to the device to be shared.
  • the same-screen source device information table can be understood as an information table sent by the interactive smart device, and includes the device identification and connection information of each source device displayed on the interactive smart device on the same screen. . It can be known that when it is determined that the same-screen source information table is included in the above-mentioned on-screen interaction information, the sharing rule that can be selected is directly based on the connection address of the to-be-shared device in the same-screen source-end information table. The connection is established, thereby directly sending the file to be shared to the device to be shared.
  • the above-mentioned optional embodiments of this application can ensure the normal connection and communication between the execution terminal and the device to be shared without requiring an interactive smart device as a transit device, thereby simplifying the implementation steps of file sharing and ensuring that The sharing of files to be shared to the device to be shared is realized without interrupting the communication between each source device and the interactive smart device.
  • FIG. 11 is a schematic flowchart of a file sharing method provided by Embodiment 6 of this application. This embodiment is modified on the basis of Embodiment 4 or Embodiment 5 above.
  • "generate corresponding file to be shared” The file sharing information is sent to the interactive smart device to be forwarded to the device to be shared through the interactive smart device, so that the device to be shared obtains the file to be shared based on the file sharing information" is changed to: Obtain the first device identifier of the device to be shared, the second device identifier of the execution terminal as the shared device, and the file address of the file to be shared, where the file address is that the file to be shared is in the file server
  • the file server is preset on the execution terminal; forms shared connection information based on the first device identifier, the second device identifier, and the URL; and sends the shared connection information to the An interactive smart device to forward to the device to be shared through the interactive smart device, so that the device to be shared establishes a communication connection with the execution terminal
  • this embodiment may optionally add: receiving a shared download request sent by the device to be shared, and assigning the shared download request corresponding to the to-be-shared download request The file is sent to the device to be shared, wherein the sharing download request is generated by the device to be shared according to the received sharing connection information.
  • a file sharing method provided by Embodiment 6 of the present application may include the following operations:
  • S410 Receive the same-screen interaction information sent by the interactive smart device, where the same-screen interaction information includes operation data of a drag operation, and the drag operation acts on the first terminal displayed on the interactive smart device by the execution terminal. 1. On the current display interface.
  • the file to be shared to be shared and the device to be shared corresponding to the file to be shared are determined, wherein the device to be shared and the execution terminal are both interacting with the file to be shared.
  • S412 and S413 of this embodiment provide operations for generating shared connection information when the file sharing information is shared connection information.
  • This implementation can be understood as when the implementation strategy of file sharing is to forward a connection information to an interactive smart device, and use the connection information to establish a communication connection between the shared device and the device to be shared, thereby realizing sharing between the shared device and the device to be shared, Consider generating shared connection information as file sharing information.
  • the file server can be regarded as a shared storage area set in any hard disk partition of the execution terminal for storing files to be shared, and this embodiment can realize that other computer devices in the same network can access the files. Access to files in the server without physically moving files through a floppy disk or some other external storage device.
  • the file server may be created through an Internet Information Services (IIS) manager, or may be created through a shared file and shared file management system.
  • IIS Internet Information Services
  • the creation method of the file server belongs to related technology.
  • the file to be shared can be loaded into the file server pre-created by the execution terminal, and the loading path of the file to be shared in the file server can be obtained, and the loading path of the file to be shared can be determined according to the loading path.
  • the URL in the file server can be considered as the file download address encapsulated in the file sharing information required for file sharing.
  • this step first needs to obtain the first device identification of the device to be shared, the second device identification of the execution terminal as the shared device, and the URL of the file to be shared, where the first device identification and the second
  • the device identification is equivalent to the unique identification code of the computer device, which can identify different computer devices, and can be used for identification and authentication when establishing a connection between devices and communicating.
  • the device to be shared can be obtained after the device to be shared is determined above.
  • the first device identifier of the shared device can also be obtained as the second device identifier of the execution terminal of the shared device.
  • the device to be shared obtains the file to be shared in the file server of the execution terminal, it first needs to know the URL of the file to be shared. Therefore, in addition to obtaining the first device identification and the second device identification, this step also requires The URL corresponding to the file to be shared determined after the above-mentioned operation of S412 is loaded into the file server is obtained.
  • the URL can be understood as a concise representation of the resource location and access method obtained from the Internet, which is equivalent to a general representation of the storage address of the resource (files such as text, video, image, etc.).
  • the URL in this embodiment is equivalent to the loading path of the file to be shared in the file server, and the loading path has a standard uniform resource locator format.
  • S413 Form shared connection information based on the first device identifier, the second device identifier, and the URL.
  • the shared connection information generated by the execution terminal includes the above-mentioned first device ID, second device ID, and URL.
  • the shared connection information allows the interactive smart device to determine the device to be shared based on the first device ID, or Let the device to be shared determine which shared device needs to establish a connection with based on the second device identifier, and at the same time, it can also inform the device to be shared based on which loading path to obtain the file to be shared from the shared device.
  • the shared connection information can be sent to the interactive smart device first, so that the interactive smart device determines the device to be shared according to the first device identifier in the shared connection information, and sends the shared connection information to the determined to be shared Device, so that the device to be shared can establish a communication connection with the execution terminal, so as to obtain the file to be shared from the execution terminal.
  • the interactive smart device forwards the sharing connection information of the execution terminal to the device to be shared, it is equivalent to that the device to be shared knows that there is a file to be shared in the execution terminal.
  • the information After the information has established a connection with the execution terminal, it sends a sharing download request to the execution terminal.
  • the execution terminal may receive and respond to the sharing download request based on this step, thereby sending the file to be shared corresponding to the sharing download request to the device to be shared.
  • the shared download request may be a request message generated and sent by the device to be shared to request the execution terminal to obtain the file to be shared.
  • the shared download request includes the file identifier of the file to be shared. , The first device identifier of the device to be shared and the path information downloaded to the device to be shared.
  • a file sharing method provided in the sixth embodiment of the present application provides a realization process of file sharing after changing the file sharing information to the shared connection information.
  • the shared download information including the device identifier of the device to be shared, the device identifier of the shared device, and the download address of the file to be shared can be sent to the interactive smart device to realize the device to be shared and the shared device To obtain the file to be shared in the shared device.
  • This method can establish interaction with the device to be shared by simply dragging the file to be shared to the trigger area corresponding to the sharing device without interrupting the display of information from the source device to the interactive smart device, thereby realizing Fast file sharing simplifies the realization process of file sharing.
  • this optional embodiment provides another implementation of the file sharing method.
  • "generate file sharing information corresponding to the file to be shared and send it to all The interactive smart device is forwarded to the device to be shared through the interactive smart device, so that the device to be shared obtains the file to be shared based on the file sharing information” may be: generating a file containing the file to be shared And send the shared download information to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared is included in the shared download information Files to be shared.
  • the operation when the file sharing information is changed to the 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 the file to be shared to the interactive smart device.
  • the file to be shared can be obtained by the device to be shared after receiving the download information.
  • the file download information can be generated as file sharing information.
  • 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 identification of the determined device to be shared.
  • this optional embodiment is to realize file sharing between the shared device and the device to be shared, considering that both the sharing device and the device to be shared have established a communication connection with the interactive smart device, but either There is no communication connection between the two, so this step can be used to first send the shared download information to the interactive smart device, so that the interactive smart device determines the device to be shared according to the first device identifier in the shared download information, and sends the shared download information Give the determined device to be shared, so that the device to be shared can directly obtain the file to be shared contained in the shared download information, so as to realize file sharing between the device to be shared and the execution terminal.
  • This optional embodiment replaces the newly formed file sharing method from S412 to S415 above, and can ensure that the device to be shared directly obtains the file to be shared corresponding to the icon to be dragged contained in the shared download information, and there is no need for the device to be shared to establish with the sharing device again Communication connection and downloading interaction after connection can quickly and effectively realize the sharing of files to be shared from the sharing device to the device to be shared.
  • Embodiment 12 is a schematic flow chart of a file sharing method provided by Embodiment 7 of the application.
  • the execution terminal of the method may establish a communication connection with the interactive smart device, and the current interface is displayed as the current display interface on the touch display of the interactive smart device
  • the on-screen is the source device of the device to be shared. This method is suitable for sharing files to be shared from other source devices that contain files to be shared.
  • the device to be shared may be implemented by software and/or hardware, and the device to be shared may be composed of two or more physical entities, or may be composed of one physical entity.
  • the device to be shared as the execution terminal in this embodiment can be considered to be associated with the first sharing trigger area after dragging the icon to be dragged in the first current display interface in the interactive smart device to the first sharing trigger area
  • the source device corresponding to the second current display interface.
  • one of the implementation processes may include the following operations:
  • S501 Receive file sharing information forwarded by an interactive smart device via a wireless network, where the file sharing information is generated by a source device as the sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • the file sharing information may be first sent by the sharing device to the interactive smart device, and the file sharing information includes at least the device identification of the execution terminal as the device to be shared, so that the interactive smart device can determine The recipient of file sharing information is the execution terminal.
  • the file sharing information can be generated by the source device as the sharing device, and the sharing device can determine whether to generate the shared connection information or the shared download information according to the different implementation strategies of the file sharing, as the file sharing sent to the interactive smart device information.
  • S502 Obtain a file to be shared in the sharing device according to the file sharing information.
  • this embodiment can analyze the content contained in the file sharing information, and then determine how to obtain the file to be shared in the sharing device according to the contained content.
  • obtaining the file to be shared in the sharing device according to the file sharing information may be: determining that the file sharing information is shared download information, then extracting and obtaining the file to be shared Download the file to be shared in the information.
  • the file sharing information when it is determined that only the file to be shared and the device identification of the execution terminal are included in the file sharing information, the file sharing information can be considered to be shared download information. In this case, the information contained in the shared download information can be directly obtained. The file to be shared is obtained, and the file to be shared of the shared device is obtained, and file sharing between the execution terminal and the shared device is realized.
  • the file sharing information when it is determined that the file sharing information only contains the URL, the first device identification, and the second device identification of the file to be shared, the file sharing information can be considered to be shared connection information. In this case, it is necessary to perform The following operations are performed to obtain the files to be shared.
  • FIG. 13 shows an example flow chart of obtaining the file to be shared in the seventh embodiment of the present application.
  • another form of modification is made to obtain the file to be shared in the sharing device according to the file sharing information.
  • the method for obtaining the file to be shared may include the following operations:
  • the file sharing information is shared connection information
  • the shared connection information is parsed to obtain the first device identifier of the execution terminal as the device to be shared, the second device identifier of the source device as the shared device, and The URL of the file to be shared in the sharing device.
  • the shared connection information can be shared by the sharing device through the user on the first current display interface of the interactive smart device, drag the icon to be dragged to the preset first share The drag operation of the trigger area is generated.
  • the execution terminal (device to be shared) can receive the shared connection information forwarded by the interactive smart device through the wireless network.
  • the second device identifier of the shared device can be used to enable the execution terminal to determine which source device is the device sending the shared connection information, so as to recognize the source device as a shared device and communicate with the source device.
  • the shared device establishes a communication connection; the first device identifier of the device to be shared (that is, the execution terminal) can be used to make the interactive smart device clarify the forwarding object of the shared connection information, so as to accurately forward the shared connection information to the The source device of the shared device (that is, the execution terminal); the URL of the file to be shared in the sharing device can be used to provide the loading path information of the file to be shared in the sharing device for the execution terminal (the device to be shared) to After establishing a communication connection with the sharing device, the execution terminal obtains the file to be shared through the loading path information.
  • the file to be shared is loaded into a file server pre-created by the sharing device on the sharing device, and the loading path is the loading path of the file to be shared in the file server, and the file to be shared can be formed by the loading path.
  • the URL of the shared file in the file server of the shared device is the URL of the shared file in the file server of the shared device.
  • the identity of the device that initiated the sharing of connection information can be confirmed through the second device identification of the shared device contained in the shared connection information, thereby establishing the execution terminal (device to be shared) and the A communication connection of a shared device, wherein the shared device is included in other source-end devices that are projected on the same interactive smart device as the device to be shared.
  • the received shared connection information can be parsed to obtain the second device identification of the shared device contained in the shared connection information, thereby determining which source device is the shared device.
  • the sharing download request may refer to a request message that is generated and sent by the device to be shared and used to download the file to be shared from the sharing device.
  • the sharing download request includes the file to be shared.
  • this step can obtain the loading path information required for downloading the file to be shared from the sharing device according to the URL information of the file to be shared in the sharing device contained in the sharing connection information, so that the loading path information can be obtained according to the loading path.
  • the sharing device may receive the file to be shared sent by the sharing device to complete the sharing of the file to be shared from the sharing device to the device to be shared.
  • a file sharing method provided in the seventh embodiment of this application is applied to the source device as the device to be shared in the embodiment of this application.
  • the user drags the file to be shared to the trigger area corresponding to the sharing device to generate the file to be shared
  • the file sharing information can be shared in the file
  • downloading information is shared
  • the file to be shared is directly obtained from the shared download information, or when the file sharing information is shared connection information, a communication connection with the shared device is established according to the device identification of the shared device contained in the shared connection information; and then Send a sharing download request to the sharing device according to the URL information of the file to be shared contained in the sharing connection information, and wait for the sharing device to respond to the sharing download request; after the sharing device responds to the sharing download request sent by the execution terminal, the receiving device is sent by the sharing device Files to be shared to complete the sharing of
  • the implementation manner of obtaining the file to be shared may be:
  • the device to be shared as the execution terminal can directly establish a communication connection with the sharing device through a connection request sent by the sharing device, or can establish a communication connection with the sharing device through a sharing request relayed by the interactive smart device.
  • follow-up operations are performed on the premise of establishing a communication connection with the shared device directly through the connection request sent by the shared device.
  • the file to be shared sent by the sharing device can be directly received, so that the execution terminal of this execution terminal can easily and quickly realize the sharing of the file to be shared in the sharing device.
  • FIG. 14 is a structural block diagram of a file sharing device provided in the eighth embodiment of the application.
  • the device is suitable for a case where one source device performs file sharing with another source device, and the device is integrated in an interactive smart device.
  • the interactive smart device integrating the device establishes a communication connection with at least two source-end devices via a wireless network, and the current interface of the source-end device is displayed as the current display interface on the touch display screen of the execution device
  • the device includes: a first receiving module 61 and a sharing execution module 62.
  • the first receiving module 61 is configured to receive a drag operation of dragging the icon to be dragged in the first current display interface to the first shared trigger area, wherein the first shared trigger area and the second current display Interfaces are associated, and the first current display interface and the second current display interface are any two of the current display interfaces displayed on the touch display screen;
  • the sharing execution module 62 is configured to share the file to be shared corresponding to the icon to be dragged in the sharing device to the device to be shared through the dragging operation, wherein the sharing device is the first current display interface
  • the device to be shared is the source device corresponding to the second current display interface.
  • the touch display screen includes at least the same number of sub-display areas as the source device; the current interface of each source device is displayed as the current display interface on one of the touch display screens. In the sub-display area; the current display interface corresponding to each source device includes at least one shared trigger area.
  • the shared execution module 62 may include:
  • the first sending unit is configured to send the operation data of the drag operation to the sharing device
  • the second receiving unit is configured to receive file sharing information sent by the sharing device, where the file sharing information is generated by the sharing device after receiving the operation data;
  • the second sending unit is configured to forward the file sharing information to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged based on the file sharing information, wherein the file to be shared
  • the shared device is the source device corresponding to the second current display interface.
  • the second receiving unit may be used to:
  • the second sending unit can be used to:
  • the shared download information is forwarded to the device to be shared, so that the device to be shared obtains the file to be shared corresponding to the icon to be dragged included in the shared download information.
  • the second receiving unit may also be used to:
  • the shared connection information includes at least: the first device identifier of the source device as the device to be shared, the second device identifier of the source device as the shared device, and the Drag and drop the download address of the file to be shared corresponding to the icon.
  • the second sending unit can also be used for:
  • the sharing execution module 62 may also be used to send the operation data of the drag operation and the pre-stored on-screen source device information table to the sharing device, so that the sharing device can be based on the operation
  • the data and the same-screen source device information table shares the file to be shared corresponding to the icon to be dragged to the device to be shared.
  • the device further includes:
  • the first determining module 63 is configured to, after the present execution device and the at least two source devices establish a communication connection via a wireless network, according to the current display interface of each source device on the touch display screen, Determining the trigger association table of each source device;
  • the third sending module 64 is configured to send each determined trigger association table to a corresponding source-end device, wherein each of the source-end devices determines the device to be shared through the received trigger association table.
  • first determining module 63 and the third sending module 64 in this embodiment can be used to trigger the preprocessing determination in the association table. Therefore, the first determining module 63 and the third sending module 64 are the same as those described above.
  • the first receiving module 61 and the sharing execution module 62 may not be substantially connected.
  • the first determining module 63 includes:
  • the first acquiring unit is configured to acquire display position information corresponding to the current display interface of each source device on the touch display screen;
  • the second acquiring unit is used to determine the trigger position of each shared trigger area included in each of the current display interfaces
  • the first determining unit is configured to determine the trigger association table of each source device according to each of the display position information and the trigger position of each of the shared trigger areas included in each of the current display interfaces.
  • the first determining unit may be used for:
  • each source device determine the adjacent source device of the source device according to each of the display position information, wherein the display position of the current display interface corresponding to the adjacent source device is the same as that of the source device.
  • the display positions corresponding to the current display interface are adjacent; obtain the display position of each adjacent source device relative to the source device; search for each display position from the trigger positions of each shared trigger area included in the source device.
  • the matched target trigger position; the trigger association table of the source device is formed according to each display position and the matched target trigger position; wherein, the trigger association table includes at least one binary relationship group, and each binary relationship group is composed of A display position corresponding to the device identification of the adjacent source device and the trigger label of the shared trigger area corresponding to the corresponding target trigger position.
  • the edge area of the current display interface corresponding to each source device includes 8 shared trigger areas with different trigger labels; for each source device, the top of the current display interface corresponding to the source device As a reference, in a clockwise direction, the trigger orientations corresponding to each shared trigger area included are: top, top right, right, bottom right, bottom, bottom left, left, and top left; for each adjacent source device of the source device, The display orientation of the adjacent source device relative to the source device is one of the following: top, top right, right, bottom right, bottom, bottom left, left, and top left.
  • the operation data includes at least position ratio information of each drag point in the drag operation.
  • the source device is a computer, a mobile phone, or a tablet.
  • the wireless network includes WIFI.
  • the file sharing device provided in the above embodiment executes the file sharing method
  • only the division of the above functional modules is used as an example.
  • the above functions can be allocated by different functional modules as needed.
  • the file sharing device provided in the foregoing embodiment and the file sharing method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the serial numbers of this embodiment described above are only for description, and do not represent the superiority or inferiority of the embodiment.
  • the file sharing device 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 first to third embodiments, and has corresponding functions and beneficial effects.
  • the execution terminal integrated in the device may establish a communication connection with the interactive smart device, and the current interface is displayed as the current display interface on the interactive smart device. Touch the source device on the display screen as the shared device.
  • the device is suitable for file sharing of files to be shared contained in the execution terminal. As shown in FIG. 15, the device includes: a data receiving module 71, an information determining module 72, and a sharing execution module 73.
  • the data receiving module 71 is configured to receive the same-screen interaction information sent by the interactive smart device, wherein the same-screen interaction information includes operation data of a drag operation, and the drag operation acts on the execution terminal to be displayed in all On the first current display interface in the interactive smart device;
  • the information determining module 72 is configured to determine the file to be shared to be shared and the device to be shared corresponding to the file to be shared when the operation data meets the sharing trigger condition, wherein the device to be shared and the execution terminal are both A source device that establishes communication with the interactive smart device;
  • the sharing execution module 73 is configured to share the file to be shared to the device to be shared through a set sharing rule.
  • the information determining module 72 includes:
  • the first analysis unit is configured to analyze the operation data and determine the drag icon and the drag end position corresponding to the drag operation on the current interface of the execution terminal;
  • the first determining unit is configured to determine that the operation data meets the sharing trigger condition when the drag end position is in the sharing trigger area in the current interface of the execution terminal;
  • the second determining unit is configured to use the file associated with the drag icon as the file to be shared, and determine the device to be shared corresponding to the file to be shared according to the drag end position and a pre-stored trigger association table.
  • the first analysis unit can be used for:
  • the drag end position corresponding to the drag operation on the current interface of the execution terminal is determined.
  • the second determining unit may be used for:
  • the source device corresponding to the device identifier is used as the device to be shared corresponding to the file to be shared.
  • the sharing execution module 73 includes: an information sending unit;
  • the information sending unit is configured to generate file sharing information corresponding to the file to be shared and send it to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared is based on the The file sharing information obtains the file to be shared.
  • the information sending unit can be used to:
  • Generate shared download information containing the file to be shared and send the shared download information to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared can obtain The file to be shared included in the shared download information.
  • the information sending unit can also be used to:
  • the uniform resource locator URL of the file server is preset on the execution terminal;
  • the shared connection information is sent to the interactive smart device to forward it to the device to be shared through the interactive smart device, so that the device to be shared establishes a communication connection with the execution terminal based on the shared connection information, to Obtain the file to be shared from the execution terminal.
  • the device also includes a file sharing module
  • the file sharing module is configured to receive the shared download request sent by the device to be shared after sending the shared connection information to the interactive smart device, and send the file to be shared corresponding to the shared download request to the to-be-shared device A sharing device, wherein the sharing download request is generated by the device to be shared according to the received sharing connection information.
  • the on-screen interaction information further includes: a table of on-screen source device information
  • the sharing execution module 73 can also be used to find the connection address of the device to be shared from the same-screen source device information table; establish a connection with the device to be shared according to the connection address, and connect the device to be shared.
  • the shared file is sent to the device to be shared.
  • the trigger association table is determined by the interactive smart device in advance according to the current display interface displayed by each source device and sent to the execution terminal;
  • the trigger association table includes at least one binary relationship group, wherein each binary relationship group is composed of a trigger label of a shared trigger area in the current interface of the execution terminal and the device identification of the associated source device.
  • the edge area of the current interface of the execution terminal where the device is located includes 8 shared trigger areas with different trigger labels.
  • the file sharing device provided in the above embodiment executes the file sharing method
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules according to needs.
  • the file sharing device provided in the ninth embodiment above and the file sharing method provided in the fourth to the sixth embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the serial numbers of this embodiment described above are only for description, and do not represent the superiority or inferiority of the embodiment.
  • the file sharing device provided in the ninth embodiment of the present application can be used to execute the file sharing method provided in the fourth, fifth, or sixth embodiment above, and has corresponding functions and beneficial effects.
  • Figure 16 is a structural block diagram of a file sharing device provided in the tenth embodiment of the application.
  • the execution terminal integrated by the device may establish a communication connection with the interactive smart device, and the current interface is displayed as the current display interface on the interactive smart device. Touch the source device on the display as the device to be shared.
  • the device is suitable for sharing files to be shared from other source devices that contain files to be shared.
  • the device includes: an information receiving module 81.
  • the information receiving module 81 is configured to receive the file to be shared sent by the sharing device after establishing a connection with the source end device as the sharing device, wherein the connection is established in advance through a connection request sent by the sharing device; or,
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • the information receiving module 81 may include: a file sharing unit;
  • the file sharing unit is configured to determine that the file sharing information is shared download information, and then extract and obtain the to-be-shared file included in the shared download information;
  • the shared connection information is parsed to obtain the first device identifier of the execution terminal as the device to be shared, and the second device identifier of the source device as the shared device , And the uniform resource locator URL of the file to be shared in the shared device; establish a communication connection with the shared device corresponding to the second device ID according to the second device ID; and send the shared device to the shared device according to the URL Sending a sharing download request; receiving the file to be shared sent by the sharing device based on the sharing download request.
  • the file sharing device provided in the above embodiment executes the file sharing method
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules according to needs.
  • the file sharing device provided in the foregoing embodiment and the file sharing method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the serial numbers of this embodiment described above are only for description, and do not represent the superiority or inferiority of the embodiment.
  • the file sharing device 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.
  • FIG. 17 is a system architecture diagram of a file sharing system provided by Embodiment 11 of this application. As shown in FIG. 17, the system includes: an interactive smart device 91 and at least two source-end devices 92.
  • the interactive smart device 91 establishes a communication connection with each source device 92 through a wireless network, and the current interface of each source device 92 is displayed on the touch display screen of the interactive smart device 91 as a current display interface.
  • the interactive smart device 91 receives a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area, and the drag operation causes the icon to be dragged to be in the sharing device.
  • the corresponding file to be shared is shared to the device to be shared, wherein the first sharing trigger area is associated with a second current display interface, and the first current display interface and the second current display interface are displayed on the touch screen.
  • the sharing device is the source device corresponding to the first current display interface
  • the device to be shared is the source device corresponding to the second current display interface;
  • the source device 92 as the sharing device receives the on-screen interaction information sent by the interactive smart device 91, and when it analyzes that the operation data meets the sharing trigger condition, it determines the file to be shared to be shared and the file to be shared corresponding to the file to be shared. Share the device, and share the file to be shared to the device to be shared through the set sharing rules, wherein the on-screen interaction information includes the operation data of the drag operation, and the drag operation acts on the current execution
  • the terminal is displayed on the first current display interface in the interactive smart device, and the device to be shared and the execution terminal are both source-end devices that establish communication with the interactive smart device;
  • the source device 92 as the device to be shared receives the file to be shared sent by the sharing device after establishing a connection with the source device as the sharing device, wherein the connection is made through a connection request sent by the sharing device in advance Establish; or, receive file sharing information forwarded by an interactive smart device through a wireless network, and obtain files to be shared in the sharing device according to the file sharing information;
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • Figure 4 also shows the connection diagram of the interactive smart device and each source device in the file sharing system, and also shows the current interface of each source device correspondingly displayed on the touch screen. .
  • the file sharing system provided by the eleventh embodiment of the present application includes the interactive smart device that executes the foregoing embodiment 1, the second embodiment, and the third embodiment, and also includes the implementation of at least any one of the foregoing embodiment four to embodiment seven.
  • Two source-end devices, and the interactive smart 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 embodiments, thereby providing users with shortcuts for triggering file sharing operations, ensuring that Without interrupting the communication connection between each source device in the file sharing system and the interactive smart device, the user simply drags the icon of the file to be shared on the interactive smart device to the corresponding trigger area of the device to be shared.
  • FIG. 18 is a schematic structural diagram of an interactive smart device provided in Embodiment 12 of this application.
  • the interactive smart device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the processor 1001 may include one or more processing cores.
  • the processor 1001 uses various interfaces and lines to connect various parts of the entire interactive smart device 1000, by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005, Perform various functions of the interactive smart device 1000 and process data.
  • the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA) Realize in the form of hardware.
  • the processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
  • the memory 1005 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory).
  • the memory 1005 includes a non-transitory computer-readable storage medium.
  • the memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 1005 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store data and the like involved in the foregoing method embodiments.
  • the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of an interactive smart device.
  • the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call the operating application of the interactive smart device stored in the memory 1005 Program and do the following:
  • a drag operation of dragging the icon to be dragged in the first current display interface to the first sharing trigger area is received, wherein the first sharing trigger area is associated with the second current display interface, and the first current display
  • the interface and the second current display interface are any two of the current display interfaces displayed on the touch display screen; through the drag operation, the icon to be dragged corresponds to the icon to be shared in the sharing device
  • the file is shared to the device to be shared, wherein the sharing device is the source device corresponding to the first current display interface, and the device to be shared is the source device corresponding to the second current display interface.
  • the interactive smart device may also perform: In the current display interface, the trigger association table of each source device is determined and sent to the corresponding source device, where each source device determines the device to be shared through the received trigger association table.
  • FIG. 19 is a schematic structural diagram of a source device according to Embodiment 13 of this application.
  • the source device 1100 may include: at least one processor 1101, at least one network interface 1104, a user interface 1103, a memory 1105, and at least one communication bus 1102.
  • the communication bus 1102 is used to implement connection and communication between these components.
  • the user interface 1103 may include a display screen (Display) and a camera (Camera), and the optional user interface 1103 may also include a standard wired interface and a wireless interface.
  • Display display screen
  • Camera Camera
  • the optional user interface 1103 may also include a standard wired interface and a wireless interface.
  • the network interface 1104 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the processor 1101 may include one or more processing cores.
  • the processor 1101 uses various interfaces and lines to connect various parts of the entire source device 1100, by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1105, and calling data stored in the memory 1105, Perform various functions of the interactive smart device 1100 and process data.
  • the processor 1101 may be implemented in a hardware form of at least one of DSP, FPGA, and PLA.
  • the processor 1101 may integrate one or a combination of a CPU, a GPU, a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1101, but may be implemented by a chip alone.
  • the memory 1105 may include RAM or read-only memory.
  • the memory 1105 includes a non-transitory computer readable medium.
  • the memory 1105 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 1105 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store the data involved in the foregoing method embodiments, etc.
  • the memory 1105 may also be at least one storage device located far away from the foregoing processor 1101. As shown in FIG.
  • the memory 1105 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of an interactive smart device.
  • the user interface 1103 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1101 can be used to call the operating application of the interactive smart device stored in the memory 1105 Program, and perform the following operations when the source device is used as a shared device:
  • the file to be shared to be shared and the device to be shared corresponding to the file to be shared are determined, wherein the device to be shared and the execution terminal are both interactive smart devices Establish the source device of the communication;
  • the file to be shared is shared to the device to be shared through the set sharing rule.
  • the file sharing information is generated by a source device as a sharing device and sent to the interactive smart device, and the file sharing information is shared download information or shared connection information.
  • the interactive smart device provided in the thirteenth embodiment of the present application executes the file sharing method provided in any one of the foregoing embodiments four to seven, it has functions and beneficial effects corresponding to the file sharing method.
  • the fourteenth embodiment of the present application also provides a computer storage medium, and the computer storage medium may store multiple instructions
  • the instructions are suitable for being loaded by a processor and executed by the method steps of the embodiments shown in FIG. 2 to FIG. 19.
  • For the execution process please refer to the description of the embodiments shown in FIG. 2 to FIG. 19, which will not be repeated here.
  • the device where the storage medium is located can be an interactive smart device or a source device.
  • this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • the memory is an example of a computer-readable medium.
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include 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 technologies, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic cartridge type Magnetic tape, magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM Electrically erasable programmable read-only memory
  • flash memory or other memory technologies
  • CD-ROM compact disc
  • DVD digital versatile disc
  • magnetic cartridge type Magnetic tape magnetic tape storage or other magnetic storage devices or any other non-transmission media
  • magnetic cartridge type Magnetic tape magnetic tape storage or other magnetic storage devices or any other non-transmission media

Abstract

一种文件共享方法、装置、系统、交互智能设备(100,91,1000)、源端设备(92,1100)及存储介质。该方法包括:接收到将第一当前展示界面(111)中待拖拽图标拖拽至第一共享触发区域(113)的拖拽操作(S101),第一共享触发区域(113)与第二当前展示界面(112)相关联,第一当前展示界面(111)与第二当前展示界面(112)为展示的任意两个当前展示界面;通过拖拽操作,使待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,共享设备为第一当前展示界面(111)的源端设备(92,1100),待共享设备为第二当前展示界面(112)的源端设备(92,1100)(S102)。

Description

文件共享方法、装置、系统、交互智能设备、源端设备及存储介质
本公开要求在2019年10月17日提交中国专利局、申请号为201910990196.6的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。
技术领域
本申请涉及交互智能设备技术领域,例如涉及文件共享方法、装置、系统、交互智能设备、源端设备及存储介质。
背景技术
相关技术中,基于无线传屏技术,能够实现多个源端设备到一个交互智能设备的同时投屏展示,对于多源端设备在交互智能设备上的投屏展示,其中一种场景可以如图1所示,交互智能设备11上当前对四个源端设备进行了投屏展示,即可以显示四个源端设备的界面内容。
假设图1所示的源端设备A中包含了源端设备B展示所需的关联文件,则当源端设备A和源端设备B同时投屏时,可直接将关联文件展示在源端设备A上,但是在源端设备A退出投屏后,源端设备B展示所需的关联文件将无法继续展示,此时,源端设备A需要将该关联文件拷贝到源端设备B,以使该关联文件直接在源端设备B上显示。
相关技术中,可以通过优盘将源端设备A的文件拷贝到源端设备B中,或者通过一些文件传输软件将文件从源端设备A传输至源端设备B,这些方法的实现均需要用户过多的参与,无法实现同时投屏的源端设备间文件的有效共享。
发明内容
本申请实施例提供了文件共享方法、装置、系统、交互智能设备、源端设备及存储介质,以实现同时投屏在交互智能设备上的源端设备间文件的有效共享。
第一方面,本申请实施例提供了一种文件共享方法,本执行设备与至少两个源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,该方法包括:
接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;
通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
可选地,所述触摸显示屏中至少包括与所述源端设备数量相同的子显示区域;每个所述源端设备的当前界面作为当前展示界面分别展示在所述触摸显示屏的一个子显示区域中;每个所述源端设备对应的当前展示界面中至少包括一个共享触发区域。
可选地,所述通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,包括:
将所述拖拽操作的操作数据发送至所述共享设备;
接收到所述共享设备发送的文件共享信息,其中,所述文件共享信息由所述共享设备在接收到所述操作数据后生成;
将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件。
可选地,所述接收所述共享设备发送的文件共享信息,包括:
接收所述共享设备发送的共享下载信息,所述共享下载信息中包含了所述待拖拽图标对应的待共享文件。
可选地,所述将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件,包括:
将所述共享下载信息转发给所述待共享设备,以使所述待共享设备获得包含在所述共享下载信息中的所述待拖拽图标对应的待共享文件。
可选地,所述接收所述共享设备发送的文件共享信息,包括:
接收所述共享设备发送的共享连接信息,所述共享连接信息中至少包括:作为待共享设备的源端设备的第一设备标识、作为共享设备的源端设备的第二设备标识以及所述待拖拽图标所对应待共享文件的下载地址。
可选地,所述将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件,包括:
将所述共享连接信息转发给所述待共享设备,使所述待共享设备基于所述共享连接信息与所述共享设备建立通信连接,以从所述共享设备获得所述待拖拽图标对应的待共享文件。
可选地,所述通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,包括:
将所述拖拽操作的操作数据以及预存的同屏源端设备信息表发送至所述共享设备,以使所述共享设备基于所述操作数据及同屏源端设备信息表将所述待拖拽图标对应的待共享文件共享至所述待共享设备。
可选地,在所述本执行设备与所述至少两个源端设备通过无线网络建立通信连接后,还包括:
根据每个所述源端设备在所述触摸显示屏上的当前展示界面,确定每个所述源端设备的触发关联表并发送至相应的源端设备,其中,每个所述源端设备通过接收的触发关联表进行待共享设备的确定。
可选地,所述根据每个所述源端设备在所述触摸显示屏上的当前展示界面,确定每个所述源端设备的触发关联表,包括:
获取每个所述源端设备的当前展示界面在所述触摸显示屏上对应的展示位置信息;
确定每个所述当前展示界面中所包含每个共享触发区域的触发方位;
根据每个所述展示位置信息以及每个所述当前展示界面中所包含每个所述共享触发区域的触发方位,确定每个所述源端设备的触发关联表。
可选地,所述根据每个所述展示位置信息以及每个所述当前展示界面中所包含每个所述共享触发区域的触发方位,确定每个所述源端设备的触发关联表,包括:
针对每个源端设备,根据每个所述展示位置信息,确定所述源端设备的邻接源端设备,其中,所述邻接源端设备所对应当前展示界面的展示位置与所述源端设备所对应当前展示界面的展示位置相邻;
获取每个所述邻接源端设备相对所述源端设备的展示方位;
从所述源端设备所包含每个共享触发区域的触发方位中分别查找与每个展示方位匹配的目标触发方位;
根据每个展示方位及匹配的目标触发方位,形成所述源端设备的触发关联表;
其中,所述触发关联表包含至少一个二元关系组,每个二元关系组由一个展示方位所对应邻接源端设备的设备标识及相应目标触发方位所对应共享触发区域的触发标号组成。
可选地,每个源端设备所对应当前展示界面中边缘区域包含8个具备不同触发标号的共享触发区域;
针对每个源端设备,以所述源端设备所对应当前展示界面的顶部为基准,按照顺时针方 向,所包含每个共享触发区域对应的触发方位分别为:上、右上、右、右下、下、左下、左以及左上;
针对源端设备的每个邻接源端设备,所述邻接源端设备相对所述源端设备的展示方位为下述中的一种:上、右上、右、右下、下、左下、左以及左上。
可选地,所述操作数据至少包括所述拖拽操作中每个拖拽点的位置比例信息。
可选地,所述源端设备为电脑、手机或平板。
可选地,所述无线网络包括WIFI。
第二方面,本申请实施例提供了一种文件共享方法,包括:
接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
通过设定的共享规则使所述待共享文件共享至所述待共享设备。
可选地,分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,包括:
分析所述操作数据,确定所述拖拽操作在本执行终端当前界面上对应的拖拽图标及拖拽结束位置;
当所述拖拽结束位置处于本执行终端当前界面中的共享触发区域时,确定所述操作数据满足共享触发条件;
将所述拖拽图标关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备。
可选地,所述分析所述操作数据,确定所述拖拽操作在本执行终端屏幕上对应的拖拽图标及拖拽结束位置,包括:
从所述操作数据中提取所述拖拽操作所对应拖拽起始点的起始位置比例信息以及拖拽结束点的结束位置比例信息;
根据所述起始位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应拖拽起始位置;
将处于所述拖拽起始位置的界面元素作为拖拽图标;
根据所述结束位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应的拖拽结束位置。
可选地,所述根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备,包括:
确定所述拖拽结束位置所处共享触发区域的触发标号;
查找所述触发关联表,确定与所述触发标号关联的设备标识;
将所述设备标识对应的源端设备作为所述待共享文件对应的待共享设备。
可选地,所述通过设定的共享规则使所述待共享文件共享至所述待共享设备,包括:
生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件。
可选地,所述生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获 得所述待共享文件,包括:
生成包含有所述待共享文件的共享下载信息,并将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备获得包含在所述共享下载信息中的待共享文件。
可选地,所述生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件,包括:
获取所述待共享设备的第一设备标识、作为共享设备的本执行终端的第二设备标识及所述待共享文件的文件地址,其中,所述文件地址为所述待共享文件在文件服务器中的统一资源定位符(Uniform Resource Locator,URL),所述文件服务器预先设置在本执行终端上;
基于所述第一设备标识、第二设备标识以及所述URL形成共享连接信息;
将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。
可选地,在将所述共享连接信息发送给所述交互智能设备之后,还包括:
接收所述待共享设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述待共享设备,其中,所述共享下载请求由所述待共享设备根据接收的所述共享连接信息生成。
可选地,同屏交互信息中还包括:同屏源端设备信息表;
相应的,所述通过设定的共享规则使所述待共享文件共享至所述待共享设备,包括:从所述同屏源端设备信息表中查找所述待共享设备的连接地址;根据所述连接地址与所述待共享设备建立连接,并将所述待共享文件发送至所述待共享设备。
可选地,所述触发关联表由交互智能设备预先根据每个源端设备展示的当前展示界面确定并发送至本执行终端;
所述触发关联表包括至少一个二元关系组,其中,每个二元关系组由本执行终端当前界面中一个共享触发区域的触发标号及所关联源端设备的设备标识组成。
可选地,本执行终端当前界面中的边缘区域包含8个具备不同触发标号的共享触发区域。
第三方面,本申请实施例提供了一种文件共享方法,包括:
在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
可选地,根据所述文件共享信息,获得所述共享设备中的待共享文件,包括:
确定所述文件共享信息为共享下载信息,则提取并获得包含在所述共享下载信息中的待共享文件。
可选地,所述根据所述文件共享信息,获得所述共享设备中的待共享文件,包括:
确定所述文件共享信息为共享连接信息,则解析所述共享连接信息,获得作为待共享设备的本执行终端的第一设备标识、作为共享设备的源端设备的第二设备标识、以及所述共享设备中待共享文件的统一资源定位符URL;
根据所述第二设备标识,建立与所述第二设备标识所对应共享设备的通信连接;
根据所述URL向所述共享设备发送共享下载请求;
接收所述共享设备基于所述共享下载请求发送的待共享文件。
第四方面,本申请实施例提供了一种文件共享装置,本执行设备与至少两个源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,包括:
第一接收模块,被配置为接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;
共享执行模块,被配置为通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
第五方面,本申请实施例提供了一种文件共享装置,包括:
数据接收模块,被配置为接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
信息确定模块,被配置为分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
共享执行模块,被配置为通过设定的共享规则使所述待共享文件共享至所述待共享设备。
第六方面,本申请实施例提供了一种文件共享装置,包括:
信息接收模块,被配置为在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
第七方面,本申请实施例提供了一种文件共享系统,包括:交互智能设备以及至少两个源端设备;
所述交互智能设备与每个所述源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在所述交互智能设备的触摸显示屏上;
所述交互智能设备接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备;
作为所述共享设备的源端设备接收交互智能设备发送的同屏交互信息,分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,并通过设定的共享规则使所述待共享文件共享至所述待共享设备,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
作为所述待共享设备的源端设备在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
第八方面,本申请实施例提供了一种交互智能设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述第一方面申请实施例提供的方法步骤。
第九方面,本申请实施例提供了一种源端设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述第二方面和/或第三方面的申请实施例提供的方法步骤。
第十方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述申请实施例提供的方法步骤。
本申请实施例提供了文件共享方法、装置、系统、设备及存储介质,本实施例上述技术方案,作为文件共享的技术实现前提的应用场景描述为:待共享设备及共享设备均为与交互智能设备建立通信的源端设备且每个源端设备的当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上,在该应用场景下,交互智能设备首先接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,第一共享触发区域与第二当前展示界面相关联,第一当前展示界面与第二当前展示界面为展示的任意两个当前展示界面;然后通过拖拽操作,使待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,共享设备为第一当前展示界面的源端设备,待共享设备为第二当前展示界面的源端设备。上述技术方案,解决了多个源端设备在交互智能设备上同屏时每个源端设备进行文件共享传输操作复杂的问题,本实施例的技术方案能够在不打断每个源端设备与交互智能设备通信连接并展示界面的前提下,仅通过用户在交互智能设备上简单的将待共享文件的图标拖动到待共享设备对应的触发区域的拖拽操作,即可触发实现待共享文件共享到待共享设备,由此实现了同时投屏的源端设备间文件的快速共享,从而简化了每个源端设备间文件共享的实现流程。
附图说明
下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1给出了相关技术中的多个源端设备在同一交互智能设备上进行投屏显示的示例场景图;
图2为本申请实施例一提供的一种文件共享方法的流程示意图;
图3给出了本申请实施例一中进行图标拖拽的效果展示图;
图4给出了本申请实施例一中各源端设备与交互智能设备通信连接后的效果展示图;
图5为本申请实施例二提供的一种文件共享方法的流程示意图;
图6为本申请实施例三提供的一种文件共享方法的流程示意图;
图7为本申请实施例四提供的一种文件共享方法的流程示意图;
图8为本申请实施例五提供的一种文件共享方法的流程示意图;
图9给出了本申请实施例五中操作数据分析的实现流程图;
图10给出了本申请实施例五中源端设备所显示当前界面中共享触发区域的设置示例图;
图11为本申请实施例六提供的一种文件共享方法的流程示意图;
图12为本申请实施例七提供的一种文件共享方法的流程示意图;
图13给出了本申请实施例七中获得待共享文件的一种示例流程图;
图14为本申请实施例八提供的一种文件共享装置的结构框图;
图15为本申请实施例九提供的一种文件共享装置的结构框图;
图16为本申请实施例十提供的一种文件共享装置的结构框图;
图17为本申请实施例十一提供的一种文件共享系统的系统架构图;
图18为本申请实施例十二提供的一种交互智能设备的结构示意图;
图19为本申请实施例十三提供的一种源端设备的结构示意图。
具体实施方式
下面将结合附图对本申请实施例方式作进一步地详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。在本申请的描述中,需要理解的是,术语“第一”、“第二”、“第三”等仅用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
实施例一
图2为本申请实施例一提供的一种文件共享方法的流程示意图,该文件共享方法适用于一个源端设备向另一个源端设备进行文件共享的情况。该方法可由交互智能设备执行,该交互智能设备可以通过软件和/或硬件的方式实现,且该交互智能设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。
其中,作为本申请实施例执行设备的交互智能设备可以是通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。
一般而言,交互智能设备的显示屏是指触摸屏、触控屏、触控面板,是一种感应式液晶显示装置,当接触了屏幕上的图形按钮时,屏幕上的触觉反馈系统可根据预先编程的程式驱动各种连接装置,可用以取代机械式的按钮面板,并借由液晶显示画面制造出生动的影音效果。从技术原理来区别触摸屏,可以分为五个基本种类;矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏、表面声波技术触摸屏。按照触摸屏的工作原理和传输信息的介质,可以把触摸屏分为四个种类:电阻式、电容感应式、红外线式以及表面声波式。当用户用手指或笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。当用户用手指或笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。
在本申请实施例中,显示屏可以是触摸显示屏,用户可以通过手指或者触控笔对交互智 能设备进行触控操作。且本申请实施例中所提到的“屏幕”、“大屏”均指交互智能设备的触摸显示屏;交互智能设备显示某个界面是指交互智能设备的触摸显示屏显示该界面。
实现本申请实施例所提供文件共享方法的技术前提为:作为本实施例执行设备的交互智能设备与至少两个源端设备通过无线网络建立通信,且各所述源端设备的当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上,在本实施例中,各源端设备可以为安装有Windows操作系统或Mac操作系统的计算机、Chrome计算机、iOS智能设备或者Android智能设备等,可选的,各源端设备可以是手机、电脑以及平板等智能设备,且各源端设备可选通过WIFI与交互智能设备建立通信连接。
示例性的,参考图2,本申请实施例一提供的文件共享方法,可以包括如下步骤:
S101、接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作。
在本实施例中,所述第一当前展示界面可理解为与交互智能设备(本申请实施例的执行设备)建立通信连接的其中一个源端设备展示在该交互智能设备触摸显示屏上的当前展示界面。
可以知道的是,在交互智能设备与各源端设备建立通信连接后,各源端设备可以将自身所显示当前界面的界面数据作为当前界面信息发送给交互智能设备,交互智能设备基于所接收的各源端设备发送的当前界面信息,可以形成对应各源端设备的当前展示界面并展示在触摸显示屏上。
基于上述描述,可知所述第一当前展示界面中显示的所述待拖拽图标实际为在所属源端设备的当前界面中展示的文件图标,该待拖拽图标实际关联的文件存储在第一当前展示界面的所属源端设备中。此外,对所述待拖拽图标到第一共享触发区域的拖拽操作可指用户通过在触摸显示屏对待拖拽图标进行拖拽的操作,可选地,所述拖拽操作可以是用户通过鼠标等外接设备在触摸显示屏上对待拖拽图标进行点击并拖拽的操作,也可以是用户在具有触摸功能的屏幕上通过手指对待拖拽图标进行触摸并拖拽的操作。
在本实施例中,共享触发区域可理解为存在于当前展示界面中的进行文件共享触发的触发区域,当用户将待共享文件对应的待拖拽图标拖拽至共享触发区域内后,相当于触发了该待共享文件的文件共享操作。
在一些实施例中,所述第一共享触发区域可理解为与第二当前展示界面相关联的共享触发区域,该第二当前展示界面与第一当前展示界面可以为展示在所述触摸显示屏上的任意两个所述当前展示界面,且第二当前展示界面可以为另一个与交互智能设备建立通信连接的源端设备在触摸显示屏上展示的当前界面。
需要说明的是,第一共享触发区域可以存在于第一当前展示界面中,当用户将待拖拽图标拖拽至该第一共享触发区域时,相当于建立了第一当前展示界面所属源端设备与第二当前展示界面所属源端设备的共享关联;或者,第一共享触发区域也可以存在于第二当前展示界面中,当用户将待拖拽图标拖拽至该第二当前展示界面中的第一共享触发区域时,同样相当于建立了第一当前展示界面所属源端设备与第二当前展示界面所属源端设备的共享关联。可选地,设定所述第一共享触发区域存在于第一当前展示界面中,且该第一共享触发区域与第二当前展示界面的关联关系可通过一个关联表记载。
示例性地,图3给出了本申请实施例一中进行图标拖拽的效果展示图,如图3所示,交互智能设备的触摸显示屏110上邻接展示了第一当前展示界面111和第二当前展示界面112,其中,第一当前展示界面111中还包含了多个文件图标(如,图标1、图标2以及图标3等)和第一共享触发区域113,用户可以在第一当前展示界面111的各文件图标中选中一个作为待拖拽图标114,并将该待拖拽图标拖拽至第一共享触发区域113中。可以理解的是,在后续 处理中通过预先确定或预先存储的关联表,可以知道第一共享触发区域113与第二当前展示界面112存在进行文件共享的触发关联。
S102、通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
在本实施例中,待拖动图标显示在第一当前展示界面中,待拖动图标对应的待共享文件存在于第一当前展示界面对应的源端设备上,因此,本实施例可以将第一当前展示界面对应的源端设备作为共享设备。同时,待拖拽图标经过所述拖拽操作拖拽的结束位置是第一共享触发区域,第一共享触发区域与第二当前展示界面关联,所以,第二当前展示界面对应的源端设备可认为是待拖拽图标所对应待共享文件的待共享设备。
由于待拖拽图标对应的待共享文件实际存在于共享设备上,对待共享文件的共享操作需要共享设备端来执行,为实现待拖拽图标所对应待共享文件由共享设备到待共享设备的共享,本执行设备首先可以将共享触发所进行拖拽操作的相关信息反馈给共享设备,以使共享设备通过该拖拽操作的操作信息将待拖拽图标对应的待共享文件共享给待共享设备。
需要说明的是,共享设备和待共享设备都是与本执行设备建立通信连接的源端设备,但是共享设备和待共享设备间并没有直接建立通信连接,因此,本执行设备可以预先向共享设备提供的待共享设备的设备标识,以及拖拽操作的操作数据,从而使共享设备能够与待共享终端通过本执行设备发送的信息与待共享设备建立连接以及向待共享设备发送待拖拽图标对应的待共享文件。此外,本执行设备也可以仅向共享设备发送拖拽操作的操作数据,当共享设备基于操作数据确定待拖拽图标对应的待共享文件和待共享设备后,本执行设备再与待共享设备进行信息交互,从而使待共享设备获得共享设备上的待共享文件。
本申请实施例一提供的文件共享方法,接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,第一共享触发区域与第二当前展示界面相关联,第一当前展示界面与第二当前展示界面为展示的任意两个当前展示界面;通过拖拽操作,使待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,共享设备为第一当前展示界面的源端设备,待共享设备为第二当前展示界面的源端设备。利用该方法,能够在不打断各源端设备到交互智能设备上通信的前提下,仅通过简单的将待拖拽图标拖动到待分享设备对应的触发区域,就可实现文件到待共享设备的共享,实现文件快速共享,简化文件共享的实现流程。
此外,在本申请实施例上述提供的文件共享方法的基础上,对于作为本执行设备的交互智能设备,改动交互智能设备触摸显示屏中至少包括与所述源端设备数量相同的子显示区域;各所述源端设备的当前界面作为当前展示界面分别展示在所述触摸显示屏的一个子显示区域中;各所述源端设备对应的当前展示界面中至少包括一个共享触发区域。
在本可选实施例中,所述子显示区域可理解为预先在触摸显示屏幕上设置的用于对各源端设备的当前界面进行展示的分块显示区域,一般地,交互智能设备可以预先根据划分规则来划分触摸显示屏上的显示区域,形成多个子显示区域,其划分规则可根据实际与交互智能设备建立通信连接的源端设备的数量来定,如,存在两个建立连接的源端设备时,可以是二等分触摸显示屏形成两个子显示区域,存在三个建立连接的源端设备时,可以是四等分触摸显示屏形成四个子显示区域,以及也可以是九等分触摸显示屏形成九个子显示区域。之后,在实际应用中交互智能设备将各源端设备的当前界面作为当前展示界面分别展示在子显示区域内。
此外,为实现各源端设备间的文件的快速共享,在各源端设备的当前界面中设置至少一 个共享触发区域为本实施例的一个关键前提,且各源端设备的当前界面展示在触摸显示屏中,因此,触摸显示屏各子显示区域展示的当前展示界面中同样包含了至少一个共享触发区域。
示例性地,图4给出了本申请实施例一中各源端设备与交互智能设备通信连接后的效果展示图。如图4所示,存在4个源端设备(为源端设备A、源端设备B、源端设备C以及源端设备D)分别与交互智能设备101建立通信连接,且4个源端设备的当前界面分别作为当前展示界面分别展示在交互智能设备101的第一子显示区域1011、第二子显示区域1012、第三子显示区域1013以及第四子显示区域1014中,还可以看出,4个源端设备的当前界面中分别包含了至少一个共享触发区域100,由此,展示在各子显示区域中的当前展示界面也相应包含了至少一个共享触发区域200。
本申请实施例一通过将各源端设备的当前界面展示在触摸显示屏上的各子显示区域,保证了各源端设备的当前界面的同步展示,同时也实现了各当前展示界面邻接关系的有效确定,此外,各当前展示界面中的共享触发区域为后续文件共享的进行提供了触发前提,从而保证后续能够简单有效的实现源端设备间文件的快速共享。
实施例二
图5为本申请实施例二提供的一种文件共享方法的流程示意图,本实施例以上述实施例为基础进行改动,在本实施例中,通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,可以为:将所述拖拽操作的操作数据发送至所述共享设备;接收到所述共享设备发送的文件共享信息,其中,所述文件共享信息由所述共享设备在接收到所述操作数据后生成;将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件。
如图5所示,本实施例二提供的一种文件共享方法,可以包括如下操作:
S2101、接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作。
本实施例下述S2102至S2104给出了一种待共享文件到待共享设备共享的实现方式。
S2102、将所述拖拽操作的操作数据发送至共享设备,所述共享设备为所述第一当前展示界面所对应的源端设备。
在本实施例中,接收到上述用户拖拽产生的拖拽操作时,可以获得用户在拖拽操作中生成的操作数据,所述操作数据可以包括对拖拽过程中所抓取各拖拽点的坐标位置信息,该坐标位置信息可以是以触摸显示屏为基准坐标系来表示的拖拽点的坐标值,但考虑到该拖拽操作作用在第一当前展示界面中,操作数据中各拖拽点的坐标位置信息也可以是在以第一当前展示界面的左上角为原点所构建坐标系下对应的坐标值。
一般情况下,各源端设备在交互智能设备上建立通信连接后,用户可在交互智能设备的触摸显示屏上对各源端设备的当前展示界面进行触摸操作,而且该触摸操作的操作数据可以回传到当前展示界面所属的源端设备上,以使接收到所回传操作数据的源端设备能够响应该触摸操作。可选地,所述触摸操作的类型可以是通过对触摸点的按压、滑动以及抬起等行为形成的单击类型、双击类型、拖拽类型以及滑动类型等,本实施例基于上述步骤可实现在第一当前展示界面上的拖拽操作,同样,基于本步骤可以实现拖拽操作的操作数据到第一当前展示界面所对应源端设备侧的回传,即,将拖拽操作的操作数据发送至第一当前展示界面所对应源端设备。
需要说明的是,本步骤将第一当前展示界面所对应的源端设备记为共享设备,由此可将拖拽操作的操作数据发送至该共享设备,考虑到所述操作数据发送至共享设备后可以使共享设备基于操作数据进行后续操作,本实施例需要保证发送给共享设备的操作数据能够被共享设备识别并转化为该拖拽操作在共享设备上实际对应的坐标位置,因此,若操作数据中拖拽 点的坐标位置信息为以触摸显示屏的屏幕坐标系来表示的坐标值,或者,以第一当前显示界面的左上角为原点所构建坐标系下表示的坐标值,发送到共享设备后,共享设备无法基于操作数据确定拖拽点在共享设备屏幕中的坐标位置。
由此,本实施例改动所述操作数据至少包括所述拖拽操作中各拖拽点的位置比例信息。在一些实施例中,各拖拽点的位置比例信息相当于一个归一化后的位置信息,每个拖拽点的位置比例信息可以是:拖拽点在以第一当前展示界面左上角为原点构建的坐标系下对应的横纵坐标值分别与所述第一当前展示界面的实际宽高值的比值信息。
可以理解的是,第一当前展示界面在交互智能设备触摸显示屏幕上的尺寸与其在所对应共享设备上所显示当前界面的实际尺寸可能是不同的,但可以确定的是两界面的宽高比是相同的,因此,本实施例确定以拖拽点的位置比例信息作为操作数据后,共享设备侧可根据该操作数据中拖拽点的位置比例信息,结合共享设备的实际屏幕尺寸信息,就可确定所述拖拽操作中各拖拽点在共享设备屏幕上实际对应的拖拽位置。由此,更好的保证了源端设备与交互智能设备数据交互时的精准性和实用性。
S2103、接收到所述共享设备发送的文件共享信息,其中,所述文件共享信息由所述共享设备在接收到所述操作数据后生成。
在本实施例中,基于上述步骤将拖拽操作的操作数据发送给共享设备后,共享设备可以对操作数据进行分析和处理,由此在操作数据满足文件共享的相关条件时,可以根据操作数据确定出待共享的待共享文件,之后共享设备可以生成共享所确定待共享文件所需的文件共享信息,并可将生成的文件共享信息发送给本执行设备,由此,本执行设备可以通过本步骤接收到共享设备发送的文件共享信息。
在一些实施例中,所述文件共享信息可以是在共享设备根据接收的操作数据确定对待拖拽图标的拖拽操作满足文件共享条件时,并确定出待拖拽图标对应的待共享文件后相应生成的用于共享该待共享文件所需的信息。本实施例将共享所述共享设备中待共享文件的目标设备记为待共享设备,其中,所述待共享设备与共享设备均为与本执行设备建立通信连接的源端设备,所述待共享设备可以由共享设备基于操作数据确定。
需要说明的是,所述文件共享信息根据文件共享的具体实现不同,其包含的信息也存在不同,示例性地,共享设备可以考虑将待共享文件直接包含在文件共享信息中,此时本执行设备接收到的文件共享信息中相当于包含了待共享的待共享文件;此外,共享设备也可以考虑将待共享文件在其上对应的文件存储路径等信息包含在文件共享信息中,此时本执行设备接收到的文件共享信息中相当于包含了待共享文件共享所需待共享文件的地址信息。
S2104、将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件。
理论情况下,在共享设备确定出待拖拽图标所对应的待共享文件及相关待共享设备后,共享设备应该直接向待共享设备发送已生成的文件共享信息,以进行待共享文件的文件共享,然而,在上述各源端设备均与交互智能设备建立通信连接且各源端设备的当前界面作为当前展示界面展示在触摸显示屏上的技术背景下,虽然各源端设备处于同一局域网,具备互相访问的条件,但由于彼此不知道对方的设备标识,各源端设备间实质上没有真正实现通信连接,即,此时各源端设备间仍无法直接进行通信。
故而,共享设备需要将生成的文件共享信息先发送给本执行设备,在本实施例中,本执行设备基于S2103接收到文件共享信息后,可以通过本步骤根据文件共享信息中包含的待共享设备的设备标识,将该文件共享信息转发给待共享设备,由此以通过本执行设备来使待共享设备接收到文件共享信息,从而使待共享设备能够基于接收的文件共享信息获得到待拖拽 图标对应的待共享文件。
在本实施例中,对于共享设备而言,共享设备可以基于操作数据确定待拖拽图标最终被拖拽至第一共享触发区域中,由此满足了待共享文件的共享触发条件,同时,也可以确定出第一共享触发区域与第二当前展示界面关联,从而确定第二当前展示界面对应的源端设备为待共享设备。
可以知道的是,本执行设备基于本步骤将文件共享信息发送给待共享设备后,待共享设备可以根据文件共享信息所包含内容的不同采用不同的方式来获得共享设备中的待共享文件。示例性地,当文件共享信息中直接包含了待共享文件时,待共享设备可以直接从文件共享信息中提取出该待共享文件。
本申请实施例二提供的一种文件共享方法,首先接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;然后将所述拖拽操作的操作数据发送至共享设备,所述共享设备为所述第一当前展示界面所对应的源端设备;之后接收到所述共享设备发送的文件共享信息,其中,所述文件共享信息由所述共享设备在接收到所述操作数据后生成;最终将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件。利用该方法,为用户提供了进行文件共享触发的操作捷径,保证了在不打断各源端设备与交互智能设备通信连接的前提下,仅通过用户在交互智能设备上简单的将待共享文件的图标拖动到待共享设备对应的触发区域的拖拽操作,即可触发实现共享设备上的待共享文件到待共享设备的共享,解决了多个源端设备在交互智能设备上同屏时各源端设备进行文件共享传输操作复杂的问题,从而简化了各源端设备间文件共享的实现流程。
在本实施例二上述描述的基础上,形成了本申请实施例二的另一个可选实施例,在该可选实施例中,可以将通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,改动为:将所述拖拽操作的操作数据以及预存的同屏源端设备信息表发送至所述共享设备,以使所述共享设备基于所述操作数据及同屏源端设备信息表将所述待拖拽图标对应的待共享文件共享至所述待共享设备。可以理解的是,采用本可选实施例上述可选的步骤,相当于替换了本实施例上述给出的S2102至S2104。
在本实施例中,所述同屏源端设备信息表可理解为一个包含了本执行终端屏幕上所展示各源端设备的设备标识以及相关的连接地址等信息的信息表。在文件共享的具体实现中,本执行设备可以看做一个文件共享的信息提供终端,本执行设备可以提供共享设备共享触发所需的拖拽操作的操作数据,还可以提供共享设备与待共享设备通信连接建立所需的同屏源端设备信息表给共享设备,以使在共享设备确定待共享设备后,直接通过查找同屏源端设备信息表与待共享设备建立通信连接,从而实现所确定的待共享文件到待共享设备的直接共享。
本申请上述可选实施例,替换S2102至S2104新形成的文件共享方法,在基于拖拽操作实现共享设备与待共享设备的文件共享时,能够直接向共享设备发送包含待共享设备连接地址的信息表,从而在不需要本执行设备作为中转设备的前提下,保证共享设备与待共享设备的正常连接通信。由此即简化了文件共享实现步骤,还保证了在不打断各源端设备到交互智能设备上通信的前提下待共享文件到待共享设备的共享。
实施例三
图6为本申请实施例三提供的一种文件共享方法的流程示意图,本实施例以上述实施例为基础进行改动,在本实施例中,在所述本执行设备与所述至少两个源端设备通过无线网络建立通信连接后,可以包括:根据各所述源端设备在所述触摸显示屏上的当前展示界面,确 定各所述源端设备的触发关联表并发送至相应的源端设备,其中,各所述源端设备通过接收的触发关联表进行待共享设备的确定。
同时,本实施例中,接收到所述共享设备发送的文件共享信息,可以为:接收所述共享设备发送的共享连接信息,所述共享连接信息中至少包括:作为待共享设备的源端设备的第一设备标识、作为共享设备的源端设备的第二设备标识以及所述待拖拽图标所对应待共享文件的下载地址。
相应的,在上述改动的基础上,所述将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件,可以为:将所述共享连接信息转发给所述待共享设备,使所述待共享设备基于所述共享连接信息与所述共享设备建立通信连接,以从所述共享设备获得所述待拖拽图标对应的待共享文件。
如图6所示,本实施例三提供的一种文件共享方法,可以包括如下操作:
S201、根据各所述源端设备在所述触摸显示屏上的当前展示界面,确定各所述源端设备的触发关联表并发送至相应的源端设备,其中,各所述源端设备通过接收的触发关联表进行待共享设备的确定。
基于上述实施例一的描述,可知每个源端设备的当前界面分别展示在本执行终端触摸显示屏上的子显示区域中,相当于形成了各源端设备的当前展示界面,根据所形成的各当前展示界面,可以确定各当前展示界面在本执行设备触摸显示屏上的展示位置。
在一些实施例中,本步骤确定每个源端设备所对应触发关联表的过程可表述为:针对每个源端设备,基于上述确定的各展示位置,可以确定触摸显示屏中与该源端设备的当前展示界面邻接展示的邻接源端设备,且根据该源端设备当前展示界面中包含的至少一个共享触发区域,可以确定每个共享触发区域与哪个邻接源端设备关联,由此可形成包含各共享触发区域与各邻接源端设备一一对应关系的触发关联表。本执行设备在确定各触发关联表后,还可将确定的触发关联表分别发送至对应的源端设备。
本实施例上述S201相当于一个预处理步骤,可以在本执行设备与各源端设备建立通信连接后,确定各源端设备触发关联表,以便于各源端设备后续文件共享中待共享设备的确定。因此,上述S201的实现顺序不限,只要在本执行设备与所述至少两个源端设备通过无线网络建立通信连接后,均可执行上述S201的操作,本实施例可选放在首个步骤执行。
S202、接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作。
示例性地,本步骤可以接收到用户在触摸显示屏上对第一当前展示界面中待拖拽图标进行拖拽的拖拽操作,且所述拖拽操作的目标区域为第一共享触发区域。
可以理解的是,站在用户角度来描述,用户清楚待共享的文件位于哪个共享设备中,由此可在触摸显示屏中找到该共享设备对应当前展示界面并记为第一当前展示界面,用户也清楚待共享的文件在第一当前展示界面中对应哪个文件图标,该文件图标可记为待拖拽图标,同时,用户还清楚需要将待共享的文件共享至哪个待共享设备,由此可通过预先的使用说明确定与待共享设备对应的共享触发区域,该共享触发区域可记为第一共享触发区域,该待共享设备的当前界面在触摸显示屏上可记为第二当前展示界面。由此,用户可将位于第一当前展示界面中的待拖拽图标拖拽至与第二当前展示界面所关联的第二共享触发区域中,以此来实现待共享文件的共享触发。
S203、将所述拖拽操作的操作数据发送至共享设备,所述共享设备为所述第一当前展示界面所对应的源端设备。
示例性地,所述操作数据中包含了拖拽点的位置比例信息,以用于共享设备确定各拖拽点在共享设备屏幕上的实际对应的坐标位置。
S204、接收所述共享设备发送的共享连接信息。
在本实施例中,文件共享信息可以为共享连接信息,即,共享设备根据所接收拖拽操作对应的操作数据,由此生成并发送至本执行设备的文件共享信息可以为共享连接信息,所述共享连接信息可理解为:用于建立共享设备与待共享设备通信连接所需的连接信息。
在一些实施例中,所述共享连接信息中至少包括:作为待共享设备的源端设备的第一设备标识、作为共享设备的源端设备的第二设备标识以及所述待拖拽图标所对应待共享文件的下载地址。即,所述共享连接信息中应该包括交互智能设备(本执行设备)确认请求转发对象所需的设备标识(待共享设备的第一设备标识)、还包括用于待共享设备与共享设备建立通信连接时所需的共享设备的第二设备标识,此外,共享连接信息中还包括有待共享设备下载待共享文件所需的下载地址,所述下载地址可以是待共享文件在共享设备上存储时的文件地址信息。
示例性地,本执行设备可以接收到共享设备在根据操作数据确定出待共享文件及待共享设备后发送的共享连接信息,以便于本执行设备通过对共享连接信息的转发来实现共享设备与待共享设备的通信连接。
S205、将所述共享连接信息转发给所述待共享设备,使所述待共享设备基于所述共享连接信息与所述共享设备建立通信连接,以从所述共享设备获得所述待拖拽图标对应的待共享文件。
在本实施例中,本执行设备可以根据共享连接信息中待共享设备的第一设备标识确定待转发的待共享设备,从而保证在执行本步骤后可以使待共享设备接收到该共享连接信息,进而使待共享设备通过共享连接信息中的第二设备标识确定待建立连接的共享设备,并与之建立通信连接,由此可以实现共享设备与待共享设备的文件共享,且所共享的文件即为待拖拽图标对应的待共享文件。
本申请实施例三提供的一种文件共享方法,可以包括触发关联表的确定操作,同时也提供了用户进行文件共享的触发窗口,并实现了作为共享设备以及作为待共享设备的源端设备间的通信连接建立,由此在保证文件共享准确性和有效性的前提下简化了文件共享的实现流程。本申请实施例中触发关联表的确定为后续文件共享触发以及待共享设备确定提供了关键信息的支持,保证了文件共享的有效实现。
作为本申请实施例三的一个可选实施例,对根据各源端设备在所述触摸显示屏上的当前展示界面,确定各所述源端设备的触发关联表进行了改动,且本实施例将触发关联表的确定改动为通过下述步骤S11至S13来实现:
S11、获取各源端设备的当前展示界面在所述触摸显示屏上对应的展示位置信息。
在本实施例中,本步骤的实现前提可以是各源端设备通过无线网络和交互智能设备建立了通信,能够将各源端设备显示界面的内容同时展示在交互智能设备的触摸显示屏上。
可以理解的是,交互智能设备可以根据各源端设备的所发送当前界面信息的发送时间,来决定展示各源端设备当前界面待展示的子显示区域,如本执行设备可以控制首个发送界面展示请求的源端设备将当前界面的界面内容展示在区域编号为1的子显示区域内,并控制其余各源端设备按发送界面展示请求的请求时间确定各自对应的区域编号,并将各源端设备的界面内容分别展示各自的子显示区域内。因此,本步骤在各源端设备的当前界面分别展示在对应的子显示区域后,相当于确定了各源端设备当前界面所在子显示区域的区域编号以及各区域编号对应的展示位置信息。
S12、确定各所述当前展示界面中所包含各共享触发区域的触发方位。
根据上述实施例的描述,可以确定源端设备的当前展示界面中包含了至少一个共享触发 区域,且各共享触发区域具备相应的触发编号,因此,对于一个当前展示界面而言,通过各共享触发区域对应的触发编号,可以确定出该当前展示界面中所包含各共享触发区域的所在位置,且在已知各共享触发区域所在位置的前提下,本执行设备可以确定出各共享触发区域相对当前展示界面的触发方位。
在一些实施例中,在本执行设备的触摸显示屏上,可选各源端设备所对应当前展示界面中边缘区域包含8个具备不同触发标号的共享触发区域,且针对每个源端设备,以所述源端设备所对应当前展示界面的顶部为基准,按照顺时针方向,所包含各共享触发区域对应的触发方位分别为:上、右上、右、右下、下、左下、左以及左上。
参考上述图4,可以发现,每个源端设备所显示的当前界面中均包含了8个共享触发区域,且每个共享触发区域存在预先按照某个顺序确定的触发编号(1~8),还可看出,各触发标号对应的共享触发区域以其所在当前界面的顶部为基准,按照顺时针方向,所包含各共享触发区域对应的触发方位分别为:上、右上、右、右下、下、左下、左以及左上。
S13、根据各所述当前展示界面中共享触发区域的触发方位以及各所述展示位置信息,确定各所述源端设备的触发关联表。
在本实施例中,根据各源端设备在触摸显示屏上的展示位置信息,本步骤可以确定出与每个源端设备相邻的邻接源端设备,且可以获得每个邻接源端设备相对其邻接的源端设备的展示方位,由此,针对每个源端设备而言,基于源端设备当前展示界面上共享触发区域的触发方位,结合各邻接源端设备相对源端设备的展示方位,可以建立其所具备共享触发区域与所邻接各邻接源端设备的对应关系,由此可以形成包含共享触发区域及所关联邻接源端设备映射关系的触发关联表。
同样参考上述图4,以源端设备A为例,可知该源端设备A处于区域编号为1的子显示区域内,由此,该源端设备A在触摸显示屏上的展示位置信息通过附图标号为1001的子显示区域来表示,本步骤在已知各源端设备中各共享触发区域触发方位以及各源端设备的展示位置信息的前提下,可以确定出各源端设备的触发关联表。
本实施例对所述根据各所述当前展示界面中共享触发区域的触发方位以及各所述展示位置信息,确定各所述源端设备的触发关联表,进行了改动,且本实施例中,将触发关联表的确定可选为通过下述步骤S21至S24来实现:
S21、针对每个源端设备,根据各所述展示位置信息,确定所述源端设备的邻接源端设备,其中,所述邻接源端设备的展示位置与所述源端设备的展示位置相邻。
可以理解的是,本实施例中的S21至S24的具体实现是针对每个源端设备的而言的,即,可以对每个源端设备都进行S21至S24的操作。
在一些实施例中,各源端设备在触摸显示屏上对应的展示位置信息表示了各源端设备在交互智能设备上对应的子显示区域。因此,根据每个源端设备对应的子显示区域,可以确定与该子显示区域邻接的其他子显示区域,而每个邻接的其他子显示区域都可能存在一个与该源端设备邻接的邻接源端设备,由此,本步骤可根据各源端设备在交互智能设备上对应的子显示区域,确定每个源端设备对应的邻接源端设备。
示例性地,在有限大小触摸显示屏上,一个源端设备的当前展示界面最多有8个其他源端设备的当前展示界面与之相邻,即一个源端设备最多可对应8个邻接源端设备,同样参考上述图4,可以发现,源端设备A在触摸显示屏上存在3个邻接源端设备,分别为:源端设备B、源端设备C以及源端设备D。
S22、获取各所述邻接源端设备相对所述源端设备的展示方位。
在本实施例中,所述展示方位可表示每个源端设备与其所邻接源端设备的邻接方位信息。 以任一源端设备为例,本步骤可根据其所具备各邻接源端设备的当前展示界面相对该源端设备当前展示界面的展示位置,来确定各邻接源端设备相对该源端设备的展示方位。
在一些实施例中,针对源端设备的每个邻接源端设备,所述邻接源端设备相对所述源端设备的展示方位为下述中的一种:上、右上、右、右下、下、左下、左以及左上。
在一些实施例中,在一个源端设备最多可对应8个邻接源端设备的前提下,可知,以源端设备当前展示界面的顶部为基准时,8个邻接源端设备相对于所述源端设备的展示方位沿顺时针方向可分别表示为:上、右上、右、右下、下、左下、左以及左上8个展示方位。同样参考上述图4,还可以发现,源端设备B相对源端设备A为右邻接、源端设备D相对源端设备A为右下邻接以及源端设备C相对源端设备A为下邻接,其中,右、右下以及下相当于每个邻接源端设备相对源端设备A的展示方位。
S23、从所述源端设备所包含各共享触发区域的触发方位中查找与各展示方位对应的目标触发方位。
根据上述描述可知,任一源端设备的各共享触发区域的触发方位与其最多所具备各邻接源端设备对应的展示方位为一一对应关系。
因此,本步骤在确定该源端设备对应的所有邻接源端设备(可能少于8个)及所有邻接源端设备对应的展示方位后,可以根据该源端设备可能对应的所有邻接源端设备的展示方位以及其所具备共享触发区域的触发方位,确定与各展示方位一一对应的目标触发方位。
示例性地,展示方位为“上”时,与其对应的触发方位为“上”,进而可确定为“上”的触发方位相当于“上”这个展示方位的目标触发方位。
S24、根据各展示方位及关联的目标触发方位,形成所述源端设备的触发关联表;其中,所述触发关联表包含至少一个二元关系组,每个二元关系组由一个展示方位所对应邻接源端设备的设备标识及相应目标触发方位所对应共享触发区域的目标触发标号组成。
在一些实施例中,每个展示方位对应了一个邻接源端设备,且可获取该邻接源端设备的设备标识;展示方位关联的目标触发方位对应了一个共享触发区域,且可获取该共享触发区域的触发标号,本步骤可以基于该设备标识以该触发标号形成一个二元关系组,且可以知道的是,一个源端设备存在了多少个展示方位与目标触发方位的对应组,就可以形成多少个相应的二元关系组,最终所形成的触发关联表中包含了所有与该源端设备相关的二元关系组。
可以理解的是,由于与本执行设备建立无线连接的源端设备数量可以是动态变化的,且建立连接的源端设备也可能是变化的,因此,当与其进行通信连接的源端设备本身,或者与其建立通信连接的源端设备的数量发生变化时,交互智能设备需要重新执行本实施例上述S201,从而为当前与本执行设备建立通信连接的各源端设备确定新的触发关联表。
本申请实施例上述提供的可选实施例,改动了各源端设备所对应触发关联表的确定过程,本实施例根据触摸显示屏上各当前展示界面之间的位置关系,以及各当前展示界面中的共享触发区域,来有效的为每个源端设备确定相应的触发关联表,保证了文件共享所需前提信息的有效性和准确性,由此为文件共享的简化实现提供了技术基础。
在上述实施例三的基础上,形成了本实施例三的另一个可选实施例,在该可选实施例中,接收所述共享设备发送的文件共享信息,可以为:接收所述共享设备发送的共享下载信息,所述共享下载信息中包含了所述待拖拽图标对应的待共享文件。可以理解的是,采用本可选实施例上述改动的步骤相当于替换了本实施例上述给出的S204。
相应的,在上述改动的基础上,本可选实施例还可以将“将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件”改动为:将所述共享下载信息转发给所述待共享设备,以使所述待共享设备获得包含在所述 共享下载信息中的所述待拖拽图标对应的待共享文件。可以理解的是,采用本实施例上述改动的步骤相当于替换了本实施例上述给出的S205。
在本可选实施例中,文件共享信息可以为共享下载信息,即,共享设备根据所接收拖拽操作对应的操作数据,由此生成并发送至本执行设备的文件共享信息可以为共享下载信息,所述共享下载信息可理解为:用于在转发给待共享设备后,使待共享设备直接获得待拖拽图标所对应待共享文件的下载信息。其中,所述共享下载信息中至少包含了待拖拽图标所对应待共享文件及其已确定待共享设备对应的第一设备标识。
可以理解的是,当本可选实施例采用上述接收所述共享设备发送的共享下载信息替换S204后,所关联S205的操作也将相应被本可选实施例所替换“将所述共享下载信息转发给所述待共享设备,以使所述待共享设备获得包含在所述共享下载信息中的所述待拖拽图标对应的待共享文件”来代替。
在一些实施例中,本执行设备可以通过共享下载信息中包含的待共享设备的设备标识来确定出待转发的待共享设备,并将该共享下载信息转发给该待共享设备,由此通过执行将共享下载信息转发给待共享设备的操作,可以保证待共享设备直接获取到共享下载信息中所包含待拖拽图标对应的待共享文件,无需待共享设备再与共享设备建立通信连接以及连接后进行下载交互,就能快速有效的实现待共享文件从共享设备到待共享设备的共享。
实施例四
图7为本申请实施例四提供的一种文件共享方法的流程示意图,该方法的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的作为共享设备的源端设备。该方法适用于对包含在该执行终端中的待共享文件进行文件共享的情况。该共享设备可以通过软件和/或硬件的方式实现,且该共享设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。
根据上述实施例一至实施例三的描述可知,作为共享设备的源端设备可以由交互智能设备根据用户进行拖拽操作的当前展示界面来确定,本实施例中作为执行终端的共享设备可认为是对展示在交互智能设备中的第一当前展示界面对应的源端设备。
可以理解的是,由于共享设备是将当前界面展示在交互智能设备触摸显示屏上的源端设备之一,共享设备与交互智能设备之间建立了通信连接,因此,实现文件共享时用户进行的拖拽操作即可以作用在作为本执行终端的共享设备的屏幕上,又可以作用在共享设备在交互智能设备上展示的第一当前展示界面上;相应地,所述操作数据可以直接产生在共享设备端,也可以在交互智能设备端产生,然后由交互智能设备回传发送至作为本执行终端的共享设备。
本实施例进行文件共享的实现时,本实施例中,以用户将拖拽操作作用在交互智能设备的第一当前展示界面上,然后交互智能设备将所作用拖拽操作产生的操作数据发送给本执行终端为可选方式来进行描述。
如图7所示,本申请实施例四提供的一种文件共享方法,可以包括:
S301、接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上。
在本实施例中,所述同屏交互信息可理解为由交互智能设备发送的文件共享所需的基准信息,该同屏交互信息中可以仅包括拖拽操作的操作数据。可以知道的是,所述拖拽操作可以是指用户在交互智能设备的触摸显示屏中进行的触摸类型为拖拽类型的操作,该拖拽操作作用在本执行终端展示在触摸显示屏的第一当前展示界面中,且作用在该第一当前展示界面中的待拖拽图标上。
在一些实施例中,所述操作数据可理解为用户进行拖拽操作的过程中监听到的数据,可选地,所述操作数据至少包括该拖拽操作过程中所形成拖拽点在触摸显示屏第一当前展示界面中的位置比例信息。所述第一当前展示界面为本执行终端展示在所述交互智能设备上的当前界面,即本执行终端当前时刻所具备的当前界面在所述交互智能设备触摸显示屏上对应的当前展示界面。
在一些实施例中,在用户对本执行终端展示在交互智能设备上的第一当前展示界面所包含的待拖拽图标进行拖拽操作后,本执行终端可以接收到由所述交互智能设备回传的拖拽操作的操作数据,并可通过后续的步骤来分析该操作数据以实现对该拖拽操作的响应。
S302、分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备。
根据上述各实施例的描述,可以确定本实施例中的待共享设备及作为本执行终端的共享设备均为与交互智能设备建立通信的源端设备且各源端设备的当前界面同步展示在交互智能设备的触摸显示屏上,由此,本步骤要确定的待共享设备可理解为其在交互智能设备触摸显示屏上的当前展示界面的展示位置与第一当前界面展示位置邻接的源端设备。
可以理解的是,本实施例在接收到操作数据后,进行待拖拽图标所对应待共享文件到待共享设备的共享之前,需要从与本共享设备同时展示在交互智能设备触摸显示屏上的邻接当前展示界面中,确定哪一个邻接当前展示界面对应的源端设备为用户期望接收到待共享文件的目标源端设备,所述目标源端设备即为待共享设备,在具体操作中,所述待共享设备可预先由用户根据自身的共享期望来选定,之后用户可通过拖拽操作来实现待共享设备的实际指定,之后本实施例通过对拖拽操作所对应操作数据的分析可以确定出用户选定的待共享设备,之后本执行终端可以通过交互智能设备与该待共享设备建立通信连接,从而实现待共享文件到该待共享设备的文件共享。
在本实施例中,所述共享触发条件可以指用于进行待共享设备确定的触发条件,该共享触发条件可以是上述拖拽操作的操作对象为待拖拽图标且该待拖拽图标操作结束位置为所设置的任一共享触发区域。在本实施例中,所述共享触发区域设置在本执行终端当前界面的边缘区域,本步骤通过分析所述拖拽操作的操作数据,能够判断所述拖拽操作的结束点位置是否进入位于该当前界面边缘区域的任一共享触发区域中,若进入,则视为待拖拽图标落入了共享触发区域,由此满足了文件的共享触发,继而可根据待拖拽图标确定待共享文件,以及确定该待共享文件对应的待共享设备。
S303、通过设定的共享规则使所述待共享文件共享至所述待共享设备。
在本实施例中,本执行终端实现与待共享设备文件共享的共享规则有多种,本步骤可以基于已获取的信息来选取不同的共享规则进行文件共享,示例性的,本执行终端可以在确定上述S301发送的同屏交互信息中仅包含拖拽操作的操作数据时,选择基于交互智能设备作为中转设备进行文件共享的共享规则,即可以通过向交互智能设备发送文件共享信息,由交互智能设备作为中转来使待共享设备获得待共享文件。上述情况中,因仅获得拖拽操作的操作数据,即使通过上述S302确定了待共享文件及待共享设备,由于不知道待共享设备的连接地址,也无法与待共享设备直接建立通信连接,进而无法直接将待共享文件共享给待共享设备。同时,该共享规则还可以细分是直接通过交互智能设备中转待共享文件,还是中转包含待共享文件的下载地址等。
又如,本终端可以在确定同屏交互信息中还包括有其他信息如待共享设备的连接地址等信息时,可以选择直接与待共享设备建立连接进行文件共享的共享规则。该共享规则下,可以先根据所获得的待共享设备的连接地址等信息与待共享设备建立连接,由此直接将待共享 文件发送给待共享设备。
本申请实施例四提供的一种文件共享方法,应用于本申请实施例中作为共享设备的源端设备,通过接收交互智能设备发送的同屏交互信息,并分析到所述同屏交互信息中的操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备;之后,通过设定的共享规则使所述待共享文件共享至所述待共享设备。由此,解决了交互智能设备上多个源端设备同屏时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备到交互智能设备信息展示的前提下,仅通过简单的将待分享文件拖动到共享设备对应的触发区域,即可触发将文件共享到待共享设备,实现了文件的快速共享,简化了文件共享的实现流程。
实施例五
图8为本申请实施例五提供的一种文件共享方法的流程示意图,该实施例以上述实施例四为基础进行改动,在本实施例中,将分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,改动为:分析所述操作数据,确定所述拖拽操作在本执行终端当前界面上对应的拖拽图标及拖拽结束位置;当所述拖拽结束位置处于本执行终端当前界面中的共享触发区域时,确定所述操作数据满足共享触发条件;将所述拖拽图标关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备。
同时,本实施例还将通过设定的共享规则使所述待共享文件共享至所述待共享设备,改动为:生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件。
如图8所示,本申请实施例五提供的一种文件共享方法,可以包括如下操作:
S401、接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上。
S402、分析所述操作数据,确定所述拖拽操作在本执行终端当前界面上对应的拖拽图标及拖拽结束位置。
在本实施例中,所述拖拽结束位置可以指作用在交互智能设备上第一当前展示界面的拖拽操作的结束点位置在本执行终端屏幕上实际对应的结束点位置。在一些实施例中,本步骤可以通过分析操作数据中所包含拖拽操作各触摸点的位置比例信息来确定其在本执行终端屏幕上对应的拖拽结束位置。所述拖拽图标可指进行拖拽操作时的待拖拽图标在本执行终端屏幕上实际对应的文件图标,该拖拽图标可通过对所述操作数据的分析确定。
图9给出了本申请实施例五中操作数据分析的实现流程图,如图9所示,本实施例中,分析所述操作数据,确定所述拖拽操作在本执行终端当前界面上对应的拖拽图标及拖拽结束位置,可以为下述步骤:
S4021、从所述操作数据中提取所述拖拽操作所对应拖拽起始点的起始位置比例信息以及拖拽结束点的结束位置比例信息。
其中,所述起始位置比例信息可以指:以本执行终端在交互智能设备所展示第一当前展示界面的左上角为坐标原点,拖拽操作的拖拽起始点(待拖拽图标所在起始位置)所对应坐标位置信息中横纵坐标分别与所述第一当前展示界面的宽高的比值信息。
所述结束位置比例信息可以指:以本执行终端在交互智能设备所展示第一当前展示界面的左上角为坐标原点,拖拽操作的的拖拽结束点(拖拽待拖拽图标的结束位置)所对应坐标 位置信息中横纵坐标分别与所述当前展示界面的宽高的比值信息。
S4022、根据所述起始位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应拖拽起始位置。
可以理解的是,本执行终端在交互设备屏幕上对应的当前展示界面的尺寸与本执行终端屏幕的实际屏幕尺寸可能是不同的,但两者的宽高比是相同的,因此,在获取到交互智能设备中拖拽操作所对应拖拽起始点的起始位置比例信息后,可根据本执行终端屏幕的实际屏幕尺寸信息,确定所述拖拽操作在本执行终端屏幕上对应的拖拽起始位置。
S4023、将处于所述拖拽起始位置的界面元素作为拖拽图标。
在本实施例中,本执行终端屏幕上存在至少一个界面元素,每个界面元素相当于展示在该屏幕上的一个文件图标,因此,根据第一当前展示界面与本执行终端当前界面的映射关系,所述拖拽起始位置在本执行终端屏幕上可对应存在一个界面元素,由此可将该界面元素作为拖拽图标。
S4024、根据所述结束位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应的拖拽结束位置。
同样,根据上述描述,可知在获取到交互智能设备中拖拽操作所对应拖拽结束点的结束位置比例信息后,可根据本执行终端屏幕的实际屏幕尺寸信息,确定所述拖拽操作在本执行终端屏幕上对应的拖拽结束位置。
S403、当所述拖拽结束位置处于本执行终端当前界面中的共享触发区域时,确定所述操作数据满足共享触发条件。
在本实施例中,所述共享触发区域可指设置在本执行终端当前界面边缘处的,用于文件共享的触发区域,当检测到拖拽图标最终落入本执行终端屏幕的任一共享触发区域时,就可以认为该操作数据满足了共享触发条件。
在一些实施例中,本执行终端当前界面中的边缘区域包含8个具备不同触发标号的共享触发区域。
在本实施例中,本执行终端上不同的共享触发区域关联了不同的待共享设备,其与待共享设备的关联主要体现在每个共享触发区域的触发标号及触发方位上,触发标号用于标识共享触发区域,触发方位则用于确定与该共享触发区域关联的待共享设备。
示例性地,图10给出了本申请实施例五中源端设备所显示当前界面中共享触发区域的设置示例图,如图10可知,本执行终端所显示当前界面的边缘框中包含8个具备不同触发标号的共享触发区域;如,触发标号为1的共享触发区域位于本执行终端当前界面的顶部,触发标号为2的共享触发区域位于本执行终端当前界面的右上部,以此类推,触发标号为8的共享触发区域位于本执行终端当前界面的左上部。同时可以看出,触发标号为1的共享触发区域的触发方位为“上”,触发标号为2的共享触发区域的触发方位为“右上”,以此类推,触发标号为8的共享触发区域的触发方位为“左上”。
S404、将所述拖拽图标关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备。
在本实施例中,拖拽图标仅可以理解为本执行终端所包含文件在当前界面中展示时的展示图标,本执行终端中还存储了该拖拽图标实际关联的文件,本步骤可以将拖拽图标关联的文件作为待共享文件。
在本实施例中,所述触发关联表可理解为,将交互智能设备触摸显示屏上各源端设备当前展示界面之间的位置关系与每个源端设备的各个共享触发区域进行一一对应而生成的映射关系表。可选地,每个源端设备具备一个触发关联表,且该触发关联表可在各源端设备与交 互智能设备建立通信连接后,由交互智能设备生成并发送至各源端设备。
在一些实施例中,当所述拖拽结束位置处于本执行终端屏幕中的任一共享触发区域,即所述拖拽操作满足共享触发条件时,通过查找预存在本执行终端的触发关联表,可确定与拖拽结束位置所处共享触发区域关联的设备标识,该设备标识对应的源端设备则可作为待共享文件的待共享设备。
根据上述描述,可以知道所确定的待共享设备同样与交互智能设备建立通信,其当前界面同样展示在交互智能设备的触摸显示屏上,且其展示位置与本执行终端当前展示界面的展示位置相连。
本实施例将根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备,改动为通过下述S31至S33实现:
S31、确定所述拖拽结束位置所处共享触发区域的触发标号。
根据上述描述,可以知道本执行终端的共享触发区域可以有多个,且每个共享触发区域均具备相应的触发标号,本步骤可以确定该拖拽结束位置所处共享触发区域的触发标号。
S32、查找所述触发关联表,确定与所述触发标号关联的设备标识。
可以理解的是,所述触摸关联表中包含对于本执行终端各共享触发区域关联的源端设备的设备标识,由于每个源端设备都具有唯一的设备标识,在确定出共享触发区域的触发标号后,就可以查找到与该触发标号所标识的共享触发区域关联的设备标识。
在上述改动的基础上,所述触发关联表由交互智能设备预先根据各源端设备展示的当前展示界面确定并发送至本执行终端;
所述触发关联表包括至少一个二元关系组,其中,每个二元关系组由本执行终端当前界面中一个共享触发区域的触发标号及所关联源端设备的设备标识组成。
可以理解的是,在各源端设备与交互智能设备建立通信连接后,每个源端设备对应的当前界面展示在交互智能设备触模显示屏上,形成了相应的当前展示界面。针对每一个源端设备而言,交互智能设备根据各源端设备对应的各当前展示界面之间的展示位置,以及对应设置在每个源端设备当前界面上带有触发标号的共享触发区域,可以确定该源端设备中每个共享触发区域对应的邻接源端设备,由此可以采用共享触发区域的触发标号及所关联建立邻接源端设备的设备标识形成一个二元关系组,结合同屏显示在交互智能设备上的源端设备数量,可以相对每个源端设备形成一个包含至少一个二元关系组的触发关联表,并发送给相应的源端设备。
S33、将所述设备标识对应的源端设备作为所述待共享文件对应的待共享设备。
可以理解的是,上述设备标识对应的源端设备相当于通过上述拖拽操作确定的源端设备,该源端设备即为本执行终端对待共享文件进行文件共享所需的待共享设备,并实施例将待共享设备对应的设备标识记为第一设备标识。
S405、生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件。
在本实施例中,作为共享设备的本执行终端和待共享设备能够通过无线网络与交互智能设备建立了通信连接,且建立通信连接后的各源端设备能够实现当前界面到交互智能设备的同屏展示;可选地,各源端设备与交互智能设备之间的通信连接方式为传输控制协议(Transmission Control Protocol,TCP)链接。但是此时各源端设备间实质上没有真正实现通信连接,即,各源端设备间仍无法直接进行通信。
可以理解的是,根据文件共享实现的需要,在确定所述待共享设备后,要实现将共享设 备中的待共享文件共享至待共享设备,需要先建立共享设备与待共享设备之间的通信连接,考虑到共享设备与待共享设备最初不具备通信连接,由此可以通过本步骤先向交互智能设备发送文件共享信息,以通过交互智能设备向待共享设备转发文件共享信息,来实现本执行终端与待共享设备的文件共享。
在一些实施例中,所述文件共享信息可以是由本执行终端生成并发送的用于将所述待共享文件共享至待共享设备的共享触发消息。在一些实施例中,在本执行终端根据接收的操作数据确定对待拖拽图标的拖拽操作满足文件共享条件,即操作数据满足上述S403给定的共享触发条件时,可根据文件共享的实现策略不同,来生成包含不同信息内容的文件共享信息。
示例性地,本执行终端可以考虑待共享文件直接包含在文件共享信息中,此时本步骤发送给交互智能设备的文件共享信息中相当于包含了待共享的待共享文件;此外,本执行终端也可以考虑将待共享文件在其上对应的文件地址信息包含在文件共享信息中,此时本步骤发送给交互智能设备的文件共享信息中相当于包含了待共享文件共享所需待共享文件的地址信息。
需要说明的是,本实施例通过对第一当前展示界面上待拖拽图标进行拖拽操作所确定的待共享设备为交互智能设备上与包含待共享文件的本执行终端邻接展示的第二当前展示界面的源端设备,在实际操作中,用户可能想将待共享文件共享至交互智能设备上非邻接展示的当前展示界面对应的源端设备,此时可通过多次执行本实施例S401至S405的步骤来实现对待共享文件由本执行终端到用户最终选定源端设备的共享。
本申请实施例五提供的一种文件共享方法,应用于本申请实施例中作为共享设备的源端设备,通过在交互智能设备上完成的拖拽操作,并将操作数据回传至本执行终端(共享设备),以完成在本执行终端的拖拽操作;通过设置的共享触发区域及对应的触发关联表,使得当所述拖拽结束位置处于本执行终端屏幕中的任一共享触发区域时,即可认定所述拖拽操作满足共享触发条件,并根据拖拽结束位置所处共享触发区域的触发标号,通过查找触发关联表,确定关联的源端设备即为所述待共享文件的待共享设备;之后,生成所述待共享文件的文件共享信息并发送至交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件。由此,利用上述方法,解决了交互智能设备上多个源端设备同屏时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备到交互智能设备信息展示的前提下,仅通过简单的将待分享文件拖动到共享设备对应的触发区域,即可触发将文件共享到待共享设备,实现了文件的快速共享,简化了文件共享的实现流程。
在实施例五上述描述的基础上,形成了本申请实施例五的另一个可选实施例,在该可选实施例中,同屏交互信息中还可以包括:同屏源端设备信息表;
相应的,可以将所述通过设定的共享规则使所述待共享文件共享至所述待共享设备,改动为:从所述同屏源端设备信息表中查找所述待共享设备的连接地址;根据所述连接地址与所述待共享设备建立连接,并将所述待共享文件发送至所述待共享设备。
在本可选实施例中,所述同屏源端设备信息表可理解为交互智能设备发送的,包含了同屏展示在交互智能设备上各源端设备的设备标识及其连接信息的信息表。可以知道的是,当确定上述同屏交互信息中包含了同屏源端信息表时,可以选取的共享规则为直接根据同屏源端信息表中的待共享设备的连接地址,与待共享设备建立连接,由此直接将待共享文件发送至待共享设备。
本申请上述可选实施例,能够在不需要交互智能设备作为中转设备的前提下,保证本执行终端与待共享设备的正常连接通信,由此即简化了文件共享的实现步骤,还保证了在不打 断各源端设备到交互智能设备上通信的前提下实现待共享文件到待共享设备的共享。
实施例六
图11为本申请实施例六提供的一种文件共享方法的流程示意图,本实施例以上述实施例四或实施例五为基础进行改动,在本实施例中,“生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件”改动为:获取所述待共享设备的第一设备标识、作为共享设备的本执行终端的第二设备标识及所述待共享文件的文件地址,其中,所述文件地址为所述待共享文件在文件服务器中的统一资源定位符URL,所述文件服务器预先设置在本执行终端上;基于所述第一设备标识、第二设备标识以及所述URL形成共享连接信息;将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。
相应的,在将所述共享连接信息发送给所述交互智能设备之后,本实施例还可选增加了:接收所述待共享设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述待共享设备,其中,所述共享下载请求由所述待共享设备根据接收的所述共享连接信息生成。
如图11所示,本申请实施例六提供的一种文件共享方法,可以包括如下操作:
S410、接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上。
S411、分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备。
需要说明的是,本实施例下述S412和S413给出了文件共享信息为共享连接信息时,生成共享连接信息的操作。本实施可以理解为在文件共享的实现策略为向交互智能设备转发一个连接信息,并采用连接信息来建立共享设备与待共享设备通信连接,由此实现共享设备与待共享设备间的共享时,可考虑生成共享连接信息来作为文件共享信息。
S412、获取所述待共享设备的第一设备标识、作为共享设备的本执行终端的第二设备标识及所述待共享文件的文件地址,其中,所述文件地址为所述待共享文件在文件服务器中的统一资源定位符URL,所述文件服务器预先设置在本执行终端上。
在本实施例中,所述文件服务器可看做设置于本执行终端任一硬盘分区中的用于存储待共享文件的共享存储区,本实施例可以实现同一网络中的其他计算机设备对该文件服务器中文件的访问,且不用通过软磁盘或一些其它外部存储设备来物理地移动文件。
在一些实施例中,所述文件服务器可以通过互联网信息服务(Internet Information services,IIS)管理器创建,也可以通过共享文件及共享文件管理系统创建。文件服务器的创建方式属于相关技术。本实施例可以将所述待共享文件加载至本执行终端预先创建的文件服务器中,并获得所述待共享文件在所述文件服务器中的加载路径,根据该加载路径确定所述待共享文件在所述文件服务器中的URL,由此可以考虑将文件服务器中的URL作为文件下载地址封装在文件共享所需的文件共享信息中。
根据上述描述,本步骤首先需要获取待共享设备的第一设备标识、作为共享设备的本执行终端的第二设备标识及所述待共享文件的URL,其中,所述第一设备标识以及第二设备标识均相当于计算机设备的唯一识别码,可以标识不同计算机设备,可用于设备间建立连接以 及进行通信时的识别认证,本实施例在上述确定待共享设备后,可以获取到该待共享设备的第一设备标识,同时也能获取到作为共享设备的本执行终端的第二设备标识。
可以理解的是,待共享设备获得本执行终端文件服务器中的待共享文件时,首先需要获知该待共享文件的URL,因此,本步骤除获取第一设备标识及第二设备标识外,还需要获取基于上述S412的操作后确定的待共享文件加载至文件服务器中后对应的URL。
其中,所述URL可理解为从互联网上得到的资源位置和访问方法的一种简洁的表示,相当于资源(文本、视频以及图像等文件)所存储地址的一种通用表示。本实施例中的URL相当于待共享文件在所述文件服务器中的加载路径,该加载路径具有统一资源定位符的标准格式。
S413、基于所述第一设备标识、第二设备标识以及所述URL形成共享连接信息。
本执行终端生成的共享连接信息,包含上述第一设备标识、第二设备标识以及URL,该共享连接信息在后续的操作中可以让交互智能设备基于第一设备标识来确定待共享设备,也可以让待共享设备基于第二设备标识来确定需要与哪个共享设备建立连接,同时还可以告知待共享设备应该基于哪个加载路径从共享设备中获得待共享文件。
S414、将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。
本实施例中为实现共享设备与待共享设备间的文件共享,考虑到所述共享设备与所述待共享设备均已与交互智能设备建立了通信连接,但二者之间不具备通信连接,由此可以通过本步骤先向交互智能设备发送共享连接信息,以使交互智能设备根据共享连接信息中的第一设备标识确定出待共享设备,并将该共享连接信息发送给确定出的待共享设备,从而使待共享设备能够与本执行终端建立通信连接,进而以从本执行终端获得待共享文件。
S415、接收所述待共享设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述待共享设备,其中,所述共享下载请求由所述待共享设备根据接收的所述共享连接信息生成。
在本实施例中,交互智能设备将本执行终端的共享连接信息转发给待共享设备后,相当于待共享设备清楚了本执行终端中存在待共享的待共享文件,由此可以在基于共享连接信息与本执行终端建立连接后,向本执行终端发送共享下载请求。本执行终端可以基于本步骤接收并响应该共享下载请求,从而发送共享下载请求对应的待共享文件到待共享设备。
其中,所述共享下载请求可以是由待共享设备生成并发送的用于请求从本执行终端用于获取待共享文件的请求消息,可选地,所述共享下载请求包括待共享文件的文件标识、所述待共享设备的第一设备标识以及下载到所述待共享设备的路径信息。
本申请实施例六提供的一种文件共享方法,给出了将文件共享信息改动为共享连接信息后进行文件共享的实现过程。利用该方法,能够在共享设备存在待共享文件时,通过向交互智能设备发送包含待共享设备设备标识、共享设备的设备标识以及待共享文件下载地址的共享下载信息,实现待共享设备与共享设备的通信,由此获得共享设备中的待共享文件。该方法能够在不打断源端设备到交互智能设备信息展示的前提下,仅通过简单的将待分享文件拖动到共享设备对应的触发区域就能建立与待共享设备的交互,进而实现了文件的快速共享,简化了文件共享的实现流程。
作为本实施例六的一个可选实施例,本可选实施例提供了文件共享方法的另一种实现方式,该实现方式中,“生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息 获得所述待共享文件”可以为:生成包含有所述待共享文件的共享下载信息,并将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备获得包含在所述共享下载信息中的待共享文件。
由此相当于采用上述“生成包含有所述待共享文件的共享下载信息,并将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备获得包含在所述共享下载信息中的待共享文件”来替换了本实施例上述S412至S415的操作。
在本可选实施例中,还给出了将文件共享信息改动为共享下载信息时的操作,本可选实施例可理解为在文件共享的实现策略为向交互智能设备转发一个包含待共享文件的下载信息,并使得待共享设备接收到该下载信息后就能获得待共享文件,实现共享设备与待共享设备间文件共享时,可考虑生成文件下载信息来作为文件共享信息。
在一些实施例中,本执行终端生成的共享下载信息,直接包含了本执行终端中的待共享文件,同时也包含了所确定待共享设备的设备标识。基于该共享下载信息,本可选实施例为实现共享设备与待共享设备的文件共享,考虑到所述共享设备与所述待共享设备均已与交互智能设备建立了通信连接,但二者之间不具备通信连接,由此可以通过本步骤先向交互智能设备发送共享下载信息,以使交互智能设备根据共享下载信息中的第一设备标识确定出待共享设备,并将该共享下载信息发送给确定出的待共享设备,从而使待共享设备能够从共享下载信息中直接获得所包含的待共享文件,以此实现待共享设备与本执行终端的文件共享。
本可选实施例替换上述S412至S415新形成的文件共享方法,可以保证待共享设备直接获取到共享下载信息中所包含待拖拽图标对应的待共享文件,无需待共享设备再与共享设备建立通信连接以及连接后进行下载交互,就能快速有效的实现待共享文件从共享设备到待共享设备的共享。
实施例七
图12为本申请实施例七提供的一种文件共享方法的流程示意图,该方法的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的作为待共享设备的源端设备。该方法适用于从其他包含了待共享文件的源端设备中进行待共享文件共享的情况。该待共享设备可以通过软件和/或硬件的方式实现,且该待共享设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。
本实施例中作为执行终端的待共享设备可认为是将交互智能设备中的第一当前展示界面中的待拖拽图标拖拽至第一共享触发区域后,与第一共享触发区域所关联的第二当前展示界面对应的源端设备。
如图12所示,本实施例七提供的一种文件共享方法,其中的一种实现过程可以包括如下操作:
S501、接收交互智能设备通过无线网络转发的文件共享信息,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
在本实施例中,所述文件共享信息可以由共享设备先发送给交互智能设备,所述文件共享信息中至少包括该作为待共享设备的本执行终端的设备标识,从而使交互智能设备能够确定文件共享信息的接收对象为本执行终端。所述文件共享信息可以由作为共享设备的源端设备生成,且共享设备可以根据文件共享所具备实现策略的不同来确定生成共享连接信息还是共享下载信息,以作为发送给交互智能设备的文件共享信息。
S502、根据所述文件共享信息,获得所述共享设备中的待共享文件。
本实施例接收到文件共享信息后,可以分析文件共享信息包含的内容,然后根据包含的内容确定如何获得共享设备中的待共享文件。
示例性地,本实施例中,根据所述文件共享信息,获得所述共享设备中的待共享文件,可以为:确定所述文件共享信息为共享下载信息,则提取并获得包含在所述共享下载信息中的待共享文件。
在本实施例中,当确定文件共享信息中只包含了待共享文件以及本执行终端的设备标识时,可认为该文件共享信息为共享下载信息,该情况可以直接获取该共享下载信息中包含的待共享文件,从而获得共享设备的待共享文件,实现了本执行终端与共享设备的文件共享。
此外,在本实施例中,当确定文件共享信息中只包含了待共享文件的URL、第一设备标识以及第二设备标识时,可认为该文件共享信息为共享连接信息,该情况则需要执行下述操作来实现待共享文件的获得。
图13给出了本申请实施例七中获得待共享文件的一种示例流程图,本实施例对根据所述文件共享信息,获得所述共享设备中的待共享文件进行另一种形式的改动,如图13所示,待共享文件的获得方法可以包括如下操作:
S5021、确定所述文件共享信息为共享连接信息,则解析所述共享连接信息,获得作为待共享设备的本执行终端的第一设备标识、作为共享设备的源端设备的第二设备标识、以及所述共享设备中待共享文件的URL。
在本实施例中,根据上述各实施例的描述,所述共享连接信息可由共享设备通过用户在交互智能设备的第一当前展示界面上,将待拖拽图标拖拽到预设的第一共享触发区域的拖拽操作生成。在共享设备已将所述共享连接信息生成并发送至所述交互智能设备的前提下,本执行终端(待共享设备)可接收交互智能设备通过无线网络转发的共享连接信息。
在一些实施例中,所述共享设备的第二设备标识,可用于使本执行终端确定发送共享连接信息的设备是哪一个源端设备,从而与将该源端设备认作共享设备并与该共享设备建立通信连接;所述待共享设备(即本执行终端)的第一设备标识,可用于使交互智能设备明确共享连接信息的转发对象是哪一个,从而将共享连接信息准确转发至作为待共享设备的源端设备(即本执行终端);所述待共享文件在共享设备中的URL,可用于为本执行终端(待共享设备)提供待共享文件在共享设备中的加载路径信息,以使本执行终端在建立与共享设备的通信连接后,通过所述加载路径信息获取待共享文件。其中,所述待共享文件被加载至共享设备预先创建在共享设备上的文件服务器中,所述加载路径为所述待共享文件在所述文件服务器中的加载路径,通过该加载路径可以形成待共享文件在共享设备文件服务器中的URL。
S5022、根据所述共享设备的第二设备标识,建立与所述第二设备标识所对应共享设备的通信连接。
在一些实施例中,通过共享连接信息中包含的共享设备的第二设备标识,能够确认发起共享连接信息的设备(即共享设备)的身份,从而建立本执行终端(待共享设备)与所述共享设备的通信连接,其中,所述共享设备包含在与待共享设备投屏在同一交互智能设备上的其他源端设备中。
本步骤可对接收的共享连接信息进行解析,以获得共享连接信息中包含的所述共享设备的第二设备标识,由此确定哪一个源端设备作为共享设备。
S5023、根据所述URL向所述共享设备发送共享下载请求。
在本实施例中,所述共享下载请求可以指由待共享设备生成并发送的用于从共享设备下载所述待共享文件所需的请求消息,可选地,所述共享下载请求包括待共享文件的文件标识、所述待共享设备的设备标识以及下载到所述待共享设备的路径信息。
在一些实施例中,本步骤可以根据共享连接信息中包含的待共享文件在共享设备中的URL信息,获取从共享设备下载待共享文件所需的加载路径信息,由此可以根据所述加载路径向共享设备发送共享下载请求。
S5024、接收所述共享设备基于所述共享下载请求发送的待共享文件。
在一些实施例中,在共享设备响应本执行终端发送的共享下载请求后,可以接收由共享设备发送的待共享文件,以完成对待共享文件由共享设备到待共享设备的共享。
本申请实施例七提供的一种文件共享方法,应用于本申请实施例中作为待共享设备的源端设备,在用户将待共享文件拖动到共享设备对应的触发区域以生成将待共享文件共享至待共享设备的文件共享信息,并发送至交互智能设备的前提下,通过接收由交互智能设备转发的来自共享设备的文件共享信息,并通过对文件共享信息的分析,能够在文件共享信息为共享下载信息时,直接从共享下载信息中获取到待共享文件,或者在文件共享信息为共享连接信息时,根据共享连接信息中包含的共享设备的设备标识建立与共享设备的通信连接;继而根据共享连接信息中包含的待共享文件的URL信息向共享设备发送共享下载请求,等待共享设备响应所述共享下载请求;在共享设备响应本执行终端发送的共享下载请求后,接收由共享设备发送的待共享文件,以完成对待共享文件由共享设备到待共享设备的共享。由此,解决了交互智能设备上多个源端设备同屏时的文件传输操作复杂的问题,对于用户而言,能够在不打断源端设备到交互智能设备信息展示的前提下,仅通过简单的将待分享文件拖动到共享设备对应的触发区域,即可触发将文件共享到待共享设备,实现了文件的快速共享,简化了文件共享的实现流程。
在本实施例七上述描述的基础上,形成了本申请实施例七的另一个可选实施例,在可选实施例中,获得待共享文件的实现方式可为:
在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立。
在本可选步骤中,作为本执行终端的待共享设备可以直接通过共享设备发送的连接请求与共享设备建立通信连接,也可以通过交互智能设备中转的共享请求与共享设备建立通信连接。本可选步骤,以直接通过共享设备发送的连接请求与共享设备建立通信连接为前提进行后续操作。本步骤与共享设备建立连接后,可以直接接收共享设备发送的待共享文件,由此本执行终端的简便快速的实现了共享设备中待共享文件的共享。
实施例八
图14为本申请实施例八提供的一种文件共享装置的结构框图,该装置适用于一个源端设备向另一个源端设备进行文件共享的情况,该装置集成在交互智能设备中。
在本实施例中,集成该装置的交互智能设备与至少两个源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,如图14所示,该装置包括:第一接收模块61和共享执行模块62。
其中,第一接收模块61,用于接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;
共享执行模块62,用于通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
在一些实施例中,所述触摸显示屏中至少包括与所述源端设备数量相同的子显示区域; 各所述源端设备的当前界面作为当前展示界面分别展示在所述触摸显示屏的一个子显示区域中;各所述源端设备对应的当前展示界面中至少包括一个共享触发区域。
在一些实施例中,共享执行模块62,可以包括:
第一发送单元,用于将所述拖拽操作的操作数据发送至共享设备;
第二接收单元,用于接收到所述共享设备发送的文件共享信息,其中,所述文件共享信息由所述共享设备在接收到所述操作数据后生成;
第二发送单元,用于将所述文件共享信息转发给待共享设备,以使所述待共享设备基于所述文件共享信息获得所述待拖拽图标对应的待共享文件,其中,所述待共享设备为所述第二当前展示界面所对应的源端设备。
在一些实施例中,第二接收单元可用于:
接收所述共享设备发送的共享下载信息,所述共享下载信息中包含了所述待拖拽图标对应的待共享文件。
在上述改动的基础上,第二发送单元可用于:
将所述共享下载信息转发给所述待共享设备,以使所述待共享设备获得包含在所述共享下载信息中的所述待拖拽图标对应的待共享文件。
在一些实施例中,第二接收单元还可用于:
接收所述共享设备发送的共享连接信息,所述共享连接信息中至少包括:作为待共享设备的源端设备的第一设备标识、作为共享设备的源端设备的第二设备标识以及所述待拖拽图标所对应待共享文件的下载地址。
在上述改动的基础上,第二发送单元还可用于:
将所述共享连接信息转发给所述待共享设备,使所述待共享设备基于所述共享连接信息与所述共享设备建立通信连接,以从所述共享设备获得所述待拖拽图标对应的待共享文件。
在一些实施例中,共享执行模块62,还可用于将所述拖拽操作的操作数据以及预存的同屏源端设备信息表发送至所述共享设备,以使所述共享设备基于所述操作数据及同屏源端设备信息表将所述待拖拽图标对应的待共享文件共享至所述待共享设备。
在一些实施例中,该装置还包括:
第一确定模块63,用于在所述本执行设备与所述至少两个源端设备通过无线网络建立通信连接后,根据各所述源端设备在所述触摸显示屏上的当前展示界面,确定各所述源端设备的触发关联表;
第三发送模块64,用于将确定的各触发关联表发送至相应的源端设备,其中,各所述源端设备通过接收的触发关联表进行待共享设备的确定。
其中,需要说明的是,本实施例中的第一确定模块63和第三发送模块64可以用于触发关联表中的预处理确定,因此,第一确定模块63和第三发送模块64与上述第一接收模块61和共享执行模块62可以不存在实质性的连接。
在一些实施例中,第一确定模块63,包括:
第一获取单元,用于获取各所述源端设备的当前展示界面在所述触摸显示屏上对应的展示位置信息;
第二获取单元,用于确定各所述当前展示界面中所包含各共享触发区域的触发方位;
第一确定单元,用于根据各所述展示位置信息以及各所述当前展示界面中所包含各所述共享触发区域的触发方位,确定各所述源端设备的触发关联表。
在一些实施例中,第一确定单元,可用于:
针对每个源端设备,根据各所述展示位置信息,确定所述源端设备的邻接源端设备,其 中,所述邻接源端设备所对应当前展示界面的展示位置与所述源端设备所对应当前展示界面的展示位置相邻;获取各所述邻接源端设备相对所述源端设备的展示方位;从所述源端设备所包含各共享触发区域的触发方位中分别查找与各展示方位匹配的目标触发方位;根据各展示方位及匹配的目标触发方位,形成所述源端设备的触发关联表;其中,所述触发关联表包含至少一个二元关系组,每个二元关系组由一个展示方位所对应邻接源端设备的设备标识及相应目标触发方位所对应共享触发区域的触发标号组成。
在一些实施例中,各源端设备所对应当前展示界面中边缘区域包含8个具备不同触发标号的共享触发区域;针对每个源端设备,以所述源端设备所对应当前展示界面的顶部为基准,按照顺时针方向,所包含各共享触发区域对应的触发方位分别为:上、右上、右、右下、下、左下、左以及左上;针对源端设备的每个邻接源端设备,所述邻接源端设备相对所述源端设备的展示方位为下述中的一种:上、右上、右、右下、下、左下、左以及左上。
在一些实施例中,所述操作数据至少包括所述拖拽操作中各拖拽点的位置比例信息。
在一些实施例中,所述源端设备为电脑、手机或平板。
在一些实施例中,所述无线网络包括WIFI。
需要说明的是,上述实施例提供的文件共享装置在执行文件共享方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的文件共享装置与文件共享方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。另外,上述本实施例序号仅仅为了描述,不代表实施例的优劣。
本申请实施例八提供的一种文件共享装置可以用于执行上述实施例一至实施例三中任一提供的文件共享方法,且具备相应的功能和有益效果。
实施例九
图15为本申请实施例九提供的一种文件共享装置的结构框图,该装置所集成的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的作为共享设备的源端设备。该装置适用于对包含在该执行终端中的待共享文件进行文件共享的情况,如图15所示,该装置包括:数据接收模块71、信息确定模块72、共享执行模块73。
其中,数据接收模块71,用于接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
信息确定模块72,用于分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
共享执行模块73,用于通过设定的共享规则使所述待共享文件共享至所述待共享设备。
在一些实施例中,信息确定模块72,包括:
第一分析单元,用于分析所述操作数据,确定所述拖拽操作在本执行终端当前界面上对应的拖拽图标及拖拽结束位置;
第一确定单元,用于当所述拖拽结束位置处于本执行终端当前界面中的共享触发区域时,确定所述操作数据满足共享触发条件;
第二确定单元,用于将所述拖拽图标关联的文件作为待共享文件,并根据所述拖拽结束位置及预存的触发关联表,确定所述待共享文件对应的待共享设备。
在一些实施例中,第一分析单元,可用于:
从所述操作数据中提取所述拖拽操作所对应拖拽起始点的起始位置比例信息以及拖拽结束点的结束位置比例信息;
根据所述起始位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应拖拽起始位置;
将处于所述拖拽起始位置的界面元素作为拖拽图标;
根据所述结束位置比例信息结合本执行终端屏幕的屏幕尺寸信息,确定所述拖拽操作在本执行终端当前界面上对应的拖拽结束位置。
在一些实施例中,第二确定单元,可用于:
确定所述拖拽结束位置所处共享触发区域的触发标号;
查找所述触发关联表,确定与所述触发标号关联的设备标识;
将所述设备标识对应的源端设备作为所述待共享文件对应的待共享设备。
在一些实施例中,共享执行模块73包括:信息发送单元;
信息发送单元,用于生成对应所述待共享文件的文件共享信息并发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述文件共享信息获得所述待共享文件。
在一些实施例中,信息发送单元可用于:
生成包含有所述待共享文件的共享下载信息,并将所述共享下载信息发送至所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备获得包含在所述共享下载信息中的待共享文件。
在上述改动的基础上,信息发送单元还可用于:
获取所述待共享设备的第一设备标识、作为共享设备的本执行终端的第二设备标识及所述待共享文件的文件地址,其中,所述文件地址为所述待共享文件在文件服务器中的统一资源定位符URL,所述文件服务器预先设置在本执行终端上;
基于所述第一设备标识、第二设备标识以及所述URL形成共享连接信息;
将所述共享连接信息发送给所述交互智能设备,以通过所述交互智能设备转发至所述待共享设备,使所述待共享设备基于所述共享连接信息与本执行终端建立通信连接,以从本执行终端获得所述待共享文件。
在一些实施例中,该装置还包括了文件共享模块,
该文件共享模块,用于将所述共享连接信息发送给所述交互智能设备之后,接收所述待共享设备发送的共享下载请求,将所述共享下载请求对应的待共享文件发送给所述待共享设备,其中,所述共享下载请求由所述待共享设备根据接收的所述共享连接信息生成。
在一些实施例中,同屏交互信息中还包括:同屏源端设备信息表;
相应的,共享执行模块73还可用于从所述同屏源端设备信息表中查找所述待共享设备的连接地址;根据所述连接地址与所述待共享设备建立连接,并将所述待共享文件发送至所述待共享设备。
在一些实施例中,所述触发关联表由交互智能设备预先根据各源端设备展示的当前展示界面确定并发送至本执行终端;
所述触发关联表包括至少一个二元关系组,其中,每个二元关系组由本执行终端当前界面中一个共享触发区域的触发标号及所关联源端设备的设备标识组成。
在一些实施例中,所述装置所在的本执行终端当前界面中的边缘区域包含8个具备不同触发标号的共享触发区域。
需要说明的是,上述实施例提供的文件共享装置在执行文件共享方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例九提供的文件共享装置与实施例四至实施例六所提供文件共享方法属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。另外,上述本实施例序号仅仅为了描述,不代表实施例的优劣。
本申请实施例九提供的一种文件共享装置可以用于执行上述实施例四、实施例五或实施例六提供的文件共享方法,且具备相应的功能和有益效果。
实施例十
图16为本申请实施例十提供的一种文件共享装置的结构框图,该装置所集成的执行终端可以是与交互智能设备建立通信连接的,且当前界面作为当前展示界面展示在交互智能设备的触摸显示屏上的作为待共享设备的源端设备。该装置适用于从其他包含了待共享文件的源端设备中进行待共享文件共享的情况,如图16所示,该装置包括:信息接收模块81。
其中,信息接收模块81,用于在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
在一些实施例中,信息接收模块81可包括:文件共享单元;
文件共享单元,用于确定所述文件共享信息为共享下载信息,则提取并获得包含在所述共享下载信息中的待共享文件;
或者,用于确定所述文件共享信息为共享连接信息,则解析所述共享连接信息,获得作为待共享设备的本执行终端的第一设备标识、作为共享设备的源端设备的第二设备标识、以及所述共享设备中待共享文件的统一资源定位符URL;根据所述第二设备标识,建立与所述第二设备标识所对应共享设备的通信连接;根据所述URL向所述共享设备发送共享下载请求;接收所述共享设备基于所述共享下载请求发送的待共享文件。
需要说明的是,上述实施例提供的文件共享装置在执行文件共享方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的文件共享装置与文件共享方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。另外,上述本实施例序号仅仅为了描述,不代表实施例的优劣。
本申请实施例十提供的一种文件共享装置可以用于执行上述实施例七提供的文件共享方法,且具备相应的功能和有益效果。
实施例十一
图17为本申请实施例十一提供的一种文件共享系统的系统架构图,如图17所示,该系统包括:交互智能设备91以及至少两个源端设备92。
交互智能设备91与各源端设备92通过无线网络建立通信连接,且各源端设备92的当前界面作为当前展示界面展示在交互智能设备91的触摸显示屏上。
其中,交互智能设备91接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享 至待共享设备,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备;
作为所述共享设备的源端设备92接收交互智能设备91发送的同屏交互信息,分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,并通过设定的共享规则使所述待共享文件共享至所述待共享设备,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
作为所述待共享设备的源端设备92在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
参照上述图4,可知图4同样展示了文件共享系统中交互智能设备与各源端设备的连接关系图,同样展示了各源端设备的当前界面在触摸显示屏上对应展示的各当前展示界面。
本申请实施例十一提供的一种文件共享系统,包含了执行上述实施例一、实施例二以及实施例三的交互智能设备,还包括了执行上述实施例四至实施例七任一实施例至少两个源端设备,且交互智能设备与至少两个源端设备通过上述实施例提供的文件共享方法进行文件共享的相互配合,由此为用户提供了进行文件共享触发的操作捷径,保证了在不打断文件共享系统中各源端设备与交互智能设备通信连接的前提下,仅通过用户在交互智能设备上简单的将待共享文件的图标拖动到待共享设备对应的触发区域的拖拽操作,即可触发实现共享设备上的待共享文件到待共享设备的共享,解决了多个源端设备在交互智能设备上同屏时各源端设备进行文件共享传输操作复杂的问题,从而简化了各源端设备间文件共享的实现流程。
实施例十二
图18为本申请实施例十二提供的一种交互智能设备的结构示意图。如图18所示,交互智能设备1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。
其中,通信总线1002用于实现这些组件之间的连接通信。
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种接口和线路连接整个交互智能设备1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行交互智能设备1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等; GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。
其中,存储器1005可以包括随机存储器(RandomAccess Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图18所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及交互智能设备的操作应用程序。在图18所示的交互智能设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的交互智能设备的操作应用程序,并执行以下操作:
接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
在一些实施例中,在交互智能设备与所述至少两个源端设备通过无线网络建立通信连接后,该交互智能设备还可以执行:根据各所述源端设备在所述触摸显示屏上的当前展示界面,确定各所述源端设备的触发关联表并发送至相应的源端设备,其中,各所述源端设备通过接收的触发关联表进行待共享设备的确定。
本申请实施例十二提供的一种交互智能设备执行上述实施例一、实施例二或实施例三提供的文件共享方法时,具备与该文件共享方法相应的功能和有益效果。
实施例十三
图19为本申请实施例十三提供的一种源端设备的结构示意图。如图19所示,所述源端设备1100可以包括:至少一个处理器1101,至少一个网络接口1104,用户接口1103,存储器1105,至少一个通信总线1102。
其中,通信总线1102用于实现这些组件之间的连接通信。
其中,用户接口1103可以包括显示屏(Display)、摄像头(Camera),可选用户接口1103还可以包括标准的有线接口、无线接口。
其中,网络接口1104可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
其中,处理器1101可以包括一个或者多个处理核心。处理器1101利用各种接口和线路连接整个源端设备1100内的各个部分,通过运行或执行存储在存储器1105内的指令、程序、代码集或指令集,以及调用存储在存储器1105内的数据,执行交互智能设备1100的各种功能和处理数据。可选的,处理器1101可以采用DSP、FPGA、PLA中的至少一种硬件形式来实现。处理器1101可集成CPU、GPU和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1101中,单独通过一块芯片进行实现。
其中,存储器1105可以包括RAM,也可以包括只读存储器。可选的,该存储器1105包 括非瞬时性计算机可读介质。存储器1105可用于存储指令、程序、代码、代码集或指令集。存储器1105可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1105可选的还可以是至少一个位于远离前述处理器1101的存储装置。如图19所示,作为一种计算机存储介质的存储器1105中可以包括操作系统、网络通信模块、用户接口模块以及交互智能设备的操作应用程序。在图19所示的交互智能设备1100中,用户接口1103主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1101可以用于调用存储器1105中存储的交互智能设备的操作应用程序,并在源端设备作为共享设备时执行以下操作:
接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
通过设定的共享规则使所述待共享文件共享至所述待共享设备。
此外,在源端设备作为待共享设备时,还可以执行以下操作:
在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
本申请实施例十三提供的一种交互智能设备执行上述实施例四至实施例七任一实施例提供的文件共享方法时,具备与该文件共享方法相应的功能和有益效果。
实施例十四
本申请实施例十四还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,
所述指令适于由处理器加载并执行如上述图2-图19所示实施例的方法步骤,执行过程可以参见图2-图19所示实施例的说明,在此不进行赘述。
存储介质所在设备可以是交互智能设备或源端设备。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。
因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工 作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。

Claims (10)

  1. 一种文件共享方法,本执行设备与至少两个源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,所述方法包括:
    接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;
    通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
  2. 一种文件共享方法,包括:
    接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
    分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
    通过设定的共享规则使所述待共享文件共享至所述待共享设备。
  3. 一种文件共享方法,包括:
    在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
    接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
    其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
  4. 一种文件共享装置,本执行设备与至少两个源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在本执行设备的触摸显示屏上,包括:
    第一接收模块,被配置为接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面;
    共享执行模块,被配置为通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备。
  5. 一种文件共享装置,包括:
    数据接收模块,被配置为接收交互智能设备发送的同屏交互信息,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上;
    信息确定模块,被配置为分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,其中,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
    共享执行模块,被配置为通过设定的共享规则使所述待共享文件共享至所述待共享设备。
  6. 一种文件共享装置,包括:
    信息接收模块,被配置为在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,
    接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
    其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
  7. 一种文件共享系统,包括:交互智能设备以及至少两个源端设备;
    所述交互智能设备与每个所述源端设备通过无线网络建立通信连接,且所述源端设备的当前界面作为当前展示界面展示在所述交互智能设备的触摸显示屏上;
    所述交互智能设备接收到将第一当前展示界面中待拖拽图标拖拽至第一共享触发区域的拖拽操作,通过所述拖拽操作,使所述待拖拽图标在共享设备中对应的待共享文件共享至待共享设备,其中,所述第一共享触发区域与第二当前展示界面相关联,所述第一当前展示界面与所述第二当前展示界面为展示在所述触摸显示屏上的任意两个所述当前展示界面,所述共享设备为所述第一当前展示界面对应的源端设备,所述待共享设备为所述第二当前展示界面对应的源端设备;
    作为所述共享设备的源端设备接收交互智能设备发送的同屏交互信息,分析到所述操作数据满足共享触发条件时,确定待共享的待共享文件以及所述待共享文件对应的待共享设备,并通过设定的共享规则使所述待共享文件共享至所述待共享设备,其中,所述同屏交互信息中包括拖拽操作的操作数据,所述拖拽操作作用在本执行终端展示于所述交互智能设备中的第一当前展示界面上,所述待共享设备及本执行终端均为与所述交互智能设备建立通信的源端设备;
    作为所述待共享设备的源端设备在与作为共享设备的源端设备建立连接后,接收所述共享设备发送的待共享文件,其中,所述连接预先通过所述共享设备发送的连接请求建立;或者,接收交互智能设备通过无线网络转发的文件共享信息,并根据所述文件共享信息,获得所述共享设备中的待共享文件;
    其中,所述文件共享信息由作为共享设备的源端设备生成并发送至所述交互智能设备,所述文件共享信息为共享下载信息或共享连接信息。
  8. 一种交互智能设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1的方法步骤。
  9. 一种源端设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求2或3的方法步骤。
  10. 一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1-3任意一项的方法步骤。
PCT/CN2019/120294 2019-10-17 2019-11-22 文件共享方法、装置、系统、交互智能设备、源端设备及存储介质 WO2021072912A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910990196.6A CN110703966B (zh) 2019-10-17 2019-10-17 文件共享方法、装置、系统、相应设备及存储介质
CN201910990196.6 2019-10-17

Publications (1)

Publication Number Publication Date
WO2021072912A1 true WO2021072912A1 (zh) 2021-04-22

Family

ID=69200408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120294 WO2021072912A1 (zh) 2019-10-17 2019-11-22 文件共享方法、装置、系统、交互智能设备、源端设备及存储介质

Country Status (2)

Country Link
CN (1) CN110703966B (zh)
WO (1) WO2021072912A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11625143B1 (en) 2021-12-21 2023-04-11 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sharing data, electronic device, and storage medium

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750197B (zh) * 2019-10-17 2021-07-23 广州视源电子科技股份有限公司 文件共享方法、装置、系统、相应设备及存储介质
CN114679761A (zh) * 2020-04-14 2022-06-28 支付宝(杭州)信息技术有限公司 一种基于uwb的设备交互方法、装置及设备
CN111506231B (zh) * 2020-04-14 2022-04-22 维沃移动通信有限公司 一种显示方法及电子设备
CN114356195B (zh) * 2020-09-28 2024-03-26 华为技术有限公司 一种文件传输的方法及相关设备
CN113542337B (zh) * 2020-04-30 2023-02-10 北京字节跳动网络技术有限公司 信息共享方法、装置、电子设备及存储介质
CN111679881B (zh) * 2020-06-09 2022-03-15 腾讯科技(深圳)有限公司 一种文件处理方法、装置、计算机设备以及存储介质
CN114077411A (zh) * 2020-08-11 2022-02-22 华为技术有限公司 数据传输方法和设备
CN114527901A (zh) * 2020-10-31 2022-05-24 华为技术有限公司 一种文件拖拽方法及电子设备
CN112596642B (zh) * 2020-12-16 2022-06-07 维沃移动通信有限公司 数据共享方法、装置、设备和可读存储介质
CN114741039B (zh) * 2020-12-24 2023-09-08 华为技术有限公司 设备控制方法和终端设备
CN112817493B (zh) * 2021-01-26 2023-03-10 Oppo广东移动通信有限公司 内容共享方法、装置、计算机设备及存储介质
TWI761056B (zh) * 2021-02-01 2022-04-11 宏正自動科技股份有限公司 資料傳送方法與資料傳送裝置
CN113157233A (zh) * 2021-05-19 2021-07-23 高创(苏州)电子有限公司 显示器
CN113407134A (zh) * 2021-06-16 2021-09-17 烽火通信科技股份有限公司 基于分屏显示实现多客户端之间文件共享的方法和装置
CN114237464B (zh) * 2021-11-11 2022-11-04 荣耀终端有限公司 一种数据共享方法及电子设备
CN117459629A (zh) * 2022-07-18 2024-01-26 Oppo广东移动通信有限公司 内容共享控制方法、装置、存储介质及终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143156A (zh) * 2010-12-31 2011-08-03 华为技术有限公司 桌面共享处理方法和设备
CN102695032A (zh) * 2011-02-10 2012-09-26 索尼公司 信息处理装置、信息共享方法、程序以及终端设备
US20140082519A1 (en) * 2012-09-14 2014-03-20 DewMobile Inc. Method and apparatus for file sharing in a network
CN103809751A (zh) * 2014-02-12 2014-05-21 北京智谷睿拓技术服务有限公司 信息共享方法及信息共享装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101732909B1 (ko) * 2010-11-25 2017-05-08 삼성전자주식회사 휴대용 단말기에서 촬영 데이터를 공유하기 위한 장치 및 방법
US8713449B2 (en) * 2011-03-29 2014-04-29 Qualcomm Innovation Center, Inc. Transferring data by touch between touch-screen devices
CN102595239B (zh) * 2012-02-24 2015-02-04 深圳创维-Rgb电子有限公司 一种终端系统的多屏互动方法、装置及智能电视机
US10324586B1 (en) * 2014-06-26 2019-06-18 EMC IP Holding Company LLC Mobile user interface to access shared folders
CN105302285B (zh) * 2014-08-01 2019-03-01 福州瑞芯微电子股份有限公司 多屏显示方法、设备及系统
CN104506907B (zh) * 2014-11-25 2018-03-13 上海众应信息科技有限公司 控制端与多个远程被控终端之间的交互操作方法及系统
CN104902309A (zh) * 2015-05-26 2015-09-09 努比亚技术有限公司 移动终端分享多媒体文件的方法和装置
CN105871921B (zh) * 2016-06-12 2019-07-05 腾讯科技(深圳)有限公司 一种数据处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143156A (zh) * 2010-12-31 2011-08-03 华为技术有限公司 桌面共享处理方法和设备
CN102695032A (zh) * 2011-02-10 2012-09-26 索尼公司 信息处理装置、信息共享方法、程序以及终端设备
US20140082519A1 (en) * 2012-09-14 2014-03-20 DewMobile Inc. Method and apparatus for file sharing in a network
CN103809751A (zh) * 2014-02-12 2014-05-21 北京智谷睿拓技术服务有限公司 信息共享方法及信息共享装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11625143B1 (en) 2021-12-21 2023-04-11 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sharing data, electronic device, and storage medium
EP4203440A1 (en) * 2021-12-21 2023-06-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sharing data, electronic device, and storage medium

Also Published As

Publication number Publication date
CN110703966B (zh) 2021-06-11
CN110703966A (zh) 2020-01-17

Similar Documents

Publication Publication Date Title
WO2021072912A1 (zh) 文件共享方法、装置、系统、交互智能设备、源端设备及存储介质
WO2021072926A1 (zh) 文件共享方法、装置、系统、交互智能设备、源端设备及存储介质
EP3451641B1 (en) Mobile communication device with separate display areas and rearrangemet of icons in the edges areas.
US11169705B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US11494010B2 (en) Touch support for remoted applications
US10545658B2 (en) Object processing and selection gestures for forming relationships among objects in a collaboration system
TWI604375B (zh) 螢幕分享方法以及使用該方法的裝置
US20230168805A1 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
WO2019233307A1 (zh) 用户界面显示方法、装置、终端及存储介质
CN111857468A (zh) 内容分享方法及装置、设备、存储介质
JP2021176103A (ja) 操作オブジェクト処理方法及び装置
CN113268212A (zh) 投屏方法、装置、存储介质及电子设备
WO2019205634A1 (zh) 智能交互平板的触摸控制方法、装置及智能交互平板
RU2768526C2 (ru) Реальное присутствие рукописного ввода для сотрудничества в реальном времени
TW201601046A (zh) 內容產生系統上的導引
CN111324398A (zh) 最近内容的处理方法、装置、终端及存储介质
CN110908552B (zh) 多窗口操作控制方法、装置、设备及存储介质
WO2022242628A1 (zh) 投屏方法、装置、设备及存储介质
EP4145269A1 (en) Screen projection control method, storage medium, and communication device
WO2018194853A1 (en) Enhanced inking capabilities for content creation applications
WO2019024507A1 (zh) 一种触摸控制方法、装置及终端
CN109714474B (zh) 内容复制方法、装置、终端及存储介质
CN114793485A (zh) 投屏交互方法、投屏系统及终端设备
WO2023115316A1 (zh) 投屏方法、装置、存储介质及电子设备
US10802675B2 (en) Information processing apparatus and non-transitory computer readable medium storing information processing program

Legal Events

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

Ref document number: 19949018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19949018

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.10.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19949018

Country of ref document: EP

Kind code of ref document: A1