This application claims the priority benefit of Taiwan application serial no. 103144111, filed on Dec. 17, 2014. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Field of the Invention
The present invention generally relates to a data sharing method and a data sharing system, in particular, to a data sharing method and a data sharing system between a server apparatus and a plurality of client apparatuses.
2. Description of Related Art
Through the development in network technology and electronic products, a screen sharing technique, such as WiFi display, AirPlay, Wireless Display (WiDi) and Miracast, is increasingly applied in various electronic devices with audio and video features. Specifically, the user may integrate screen displays of multiple electronic devices into a screen of any one of the aforesaid electronic devices through the screen sharing technique.
A multi-screen sharing system applying the screen sharing technique may collect screen displays of multiple electronic apparatuses and share the collected screen displays on a main screen. Besides the screen sharing feature, the multi-screen sharing system may further control and manage the electronic apparatuses in the system. For example, U.S. Application Publication Number 2012031119 discloses a method and a system for remote management. A plurality of user apparatuses are connected to a host to execute a specific application, and an administrator apparatus is connected to the host to manage the user apparatuses connected to the host. Through the above disclosed technique, the multi-screen sharing system with screen sharing and remote controlling features may be applicable to an interactive teaching program or an interactive meeting.
Nevertheless, except the electronic apparatus serving as the host or the server, the other electronic apparatuses in the conventional multi-screen sharing system are not allowed to share data with each other directly. In other words, a non-host or non-server electronic apparatus may only share data with an aid of a third-party intermediary, such as a flash disk or a host, and it is rather time-consuming and inconvenient in usage.
Accordingly, the present invention is directed to a data sharing method and a data sharing system, where non-host or non-server electronic apparatuses are allowed to transmit the data object to each other without a third party intermediary, and the inconvenience in usage would be thus reduced.
According to an exemplary embodiment of the invention, a data sharing method adapted to a data sharing system is provided. The data sharing system includes a server apparatus and a plurality of client apparatuses connected to the server apparatus. The server apparatus includes an interactive display, and screen display data of the client apparatuses is respectively shared in a plurality of displaying regions of the interactive display. The data sharing method includes the following steps. When a first operation command executed on a data object displayed in a first displaying region is detected, first operation information is transmitted to a first client apparatus by the server apparatus. The first operation information is received to execute a first operation, and data information related to the data object is generated by the first client apparatus. The data information is transmitted to the server apparatus by the first client apparatus. The data information is received by the server apparatus and transmitted to other client apparatuses. The data information is received by a second client apparatus so as to enable a second operation related to the data object. The second operation information is transmitted to the second client apparatus by the server apparatus when detecting that a second operation command associated with a second operation to be performed is executed on a second displaying region. The second operation information is received by the second client apparatus. In response to the second operation information, a communication connection with the first client apparatus is established by the second client apparatus to obtain the data object according to the data information.
According to an exemplary embodiment of the invention, a data sharing system including a server apparatus and a plurality of client apparatuses are provided. The server apparatus includes an interactive display. The client apparatuses are respectively connected to the server apparatus and respectively share screen display data in a plurality of displaying regions of the interactive display of the server apparatus. The server apparatus transmits first operation information to a first client apparatus when detecting that a first operation command is executed on a data object displayed in a first displaying region. The first client apparatus receives the first operation information to execute a first operation corresponding to the first operation command, generates data information related to the data object, and transmits the data information to the server apparatus. The server apparatus receives the data information and transmits the data information to other client apparatuses. The second client apparatus receives the data information so as to enable a second operation related to the data object. The server apparatus transmits the second operation information to the second client apparatus when detecting that a second operation command associated with a second operation to be performed is executed on a second displaying region. The second client apparatus receives the second operation information and establishes a communication connection with the first client apparatus according to the data information in response to the second operation information so as to obtain the data object.
In summary, in the proposed data sharing method and the data sharing system, in response to a first operation command executed on a data object of a first client apparatus by the user, data information related to the data object is obtained and transmitted to other client apparatuses so as to enable a second operation related to the data object in other client apparatuses. Next, in response that a second operation command associated with a second operation to be performed is executed on a second client apparatus by the user, the second client apparatus establishes a communication connection with the first client apparatus and obtains the data object. In such approach, the client apparatuses are allowed to transmit the data object to each other without a third party intermediary. Hence, the time for data transmission would be reduced, and the convenience in usage would be enhanced.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
In other embodiments, the interactive display 110 of each of the electronic apparatuses 100 may be an ordinary display, and the user may operate the electronic apparatuses 100 or execute each function provided thereby through other input devices such as a keyboard or a mouse.
The communication unit 120 may be a wireless communication module supporting various wireless communication standards such as Bluetooth, WiFi, WiMax, NFC, LTE, and so forth. In other embodiments, the communication unit 120 further includes a wired communication module supporting ADSL or cable modem connection. In general, the electronic apparatuses 100 serving as the client apparatuses 30a-30d are respectively connected to the electronic apparatus 100 serving as the server apparatus 20 and thereby form the communication architecture of the data sharing system 10.
The processing unit 130 is coupled to the interactive display 110 and the communication unit 120. The processing unit 130 may be a central processing unit (CPU), a digital signal processor (DSP), a programmable controller, other similar components or a combination of the aforesaid components. The processing unit 130 is configured to execute programs or software to provide different functions.
In the present embodiment, the server apparatus 20 in the data sharing system 10 may be viewed as a sink apparatus, which may establish connection with each of the client apparatuses 30a-30d through a network and collect screen display data of the client apparatuses 30a-30d. The server apparatus 20 may further display the screen display data on a specific screen or feedback the screen display data to the client apparatuses 30a-30d so that the users of the client apparatuses 30a-30d or other members are able to share the screen display data. For example, the interactive display 110 of the server apparatus 20 may be divided into four displaying regions for displaying the screen display data from the client apparatuses 30a-30d respectively.
To be specific, the first operation and the second operation correspond to a complete data transferring operation or data transmitting operation. For example, in the present embodiment, the first operation may be a copy operation, and the second operation may be a paste operation. However, the invention is not limited thereto.
To be specific, during the copy operation, the client apparatus 30a first creates a temporary space (Step S522′), copies the data object D1 to the temporary space (Step S524′), and generates data information related to the data object D1, the temporary space, and the client apparatus 30a according to parameters or settings of the data object D1, the temporary space, and the client apparatus 30a (Step S526′). The data information includes a data format and a data string of the data object D1 as well as an IP address of the client apparatus 30a. It should be noted that, the aforesaid temporary space in the present embodiment is a clipboard, while a conventional clipboard is a temporary space provided to a plurality of applications for exchanging data. After the data information is generated, the client apparatus 30a transmits the data information back to the server apparatus 20 (Step S528′) and deletes the temporary space in the client apparatus 30a (Step S529′).
After the server apparatus 20 receives the data information (Step S528), it transmits the data information to the other client apparatuses 30b-30d (Step S530). After the client apparatus 30b receives the data information (Step S530″), it enables a paste operation (i.e., a second operation) related to the data object. To be specific, the client apparatus 30b also creates a temporary space (Step S532″) and configures the temporary space according to the data information to enable the paste operation (Step S540″). The temporary space may be a clipboard as previously illustrated. Since the copy and paste operations are considered as continuous operations, the paste operation is normally not executable until the client apparatus 30b performs the copy operation. However, the data information includes parameter settings related to the copy operation performed by the client apparatus 30a. The client apparatus 30b may thus create the temporary space according to the data information to enable the paste operation therein.
After enabling the paste operation, when the server apparatus 20 detects that a paste command associated with the paste operation to be performed by the user is executed on the second displaying region R2, the server apparatus 20 transmits paste operation information (i.e., second operation information) to the client apparatus 30b (Step S550). After the client apparatus 30b receives the paste operation information (Step S550″), it establishes a communication connection with the client apparatus 30a according to the data information so as to obtain the data object D1 directly from the client apparatus 30a. To be specific, the client apparatus 30b first transmits a client copy command to the client apparatus 30a (Step S562″). After the client apparatus 30a receives the client copy command (Step S562′), it transmits the data object D1 back to the client apparatus 30b (Step S564′). Lastly, the client apparatus 30b receives the data object D1 (Step S564″).
In the embodiments illustrated above, the data object D1 may be a file or a string. When the data object D1 is a file with any format, the client apparatus 30b may store the data object D1 in a designated folder or directory according to the paste command executed on the server apparatus 20 by the user. On the other hand, when the data object D1 is a string, the client apparatus 30b may paste the data object D1 on a document application or any input interface according to the paste command executed on the server apparatus 20 by the user.
It should be noted that, the first operation and the second operation are not limited to the copy and paste operations. In an embodiment of the invention, the first operation may be a cut operation, and the second operation may be a paste operation. In such embodiment, after the client apparatus 30b (i.e., a second client apparatus) establishes a communication connection with the client apparatus 30a (i.e., a first client apparatus) and transmits the data object D1 thereto, the first client apparatus 30a may delete the data object D1.
In another embodiment of the invention, the first operation and the second operation may also be drag and drop operations.
In summary, in the proposed data sharing method and the data sharing system, in response to a first operation command executed on a data object of a first client apparatus by the user, data information related to the data object is obtained and transmitted to other client apparatuses so as to enable a second operation related to the data object in other client apparatuses. Next, in response that a second operation command associated with a second operation to be performed is executed on a second client apparatus by the user, the second client apparatus establishes a communication connection with the first client apparatus and obtains the data object. In such approach, the client apparatuses are allowed to transmit the data object to each other without a third party intermediary. Hence, the time for data transmission would be reduced, and the convenience in usage would be enhanced.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
103144111 | Dec 2014 | TW | national |