Information sharing method, device and equipment, touch pen, storage medium and program product
Through the communication connection between the stylus pen and the device, the cross-device information sharing process is simplified, solving the problem of cumbersome settings between devices in the existing technology and realizing efficient and secure information sharing.
Patent Information
- Application Number
- CN202410295702.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-14
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, cross-device information sharing requires cumbersome settings, such as multiple devices connecting to the same Wi-Fi network or logging into the same user account, which affects the efficiency of information sharing.
Through the communication connection between the stylus and the device, touch operations are received and responded to, content to be shared is prepared, and the content is shared to the second device when the stylus touches the second device, reducing the need for communication connections between devices.
It simplifies the operational process of cross-device information sharing, reduces the risk of user privacy leakage, and improves user experience.
Smart Images

Figure CN120653172A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to an information sharing method, device, equipment, stylus, storage medium, and program product. Background Art
[0002] With the continuous development of terminal technology, there are more and more scenarios for sharing across devices, such as information sharing between mobile phones and tablets, and information sharing between mobile phones and smart watches.
[0003] Currently, cross-device information sharing requires specific setup, such as requiring multiple devices to be connected to the same Wi-Fi network or logged into the same user account, in order to establish connections between multiple devices. However, this cross-device information sharing method is cumbersome and affects information sharing efficiency. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides an information sharing method, apparatus, device, stylus, storage medium and program product.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information sharing method, comprising:
[0006] receiving a first signal sent by a stylus connected to a first device; the first signal being used to at least instruct the first device to respond to a first touch operation of the stylus;
[0007] In response to the first touch operation, prepare to share the to-be-shared content associated with the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
[0008] According to a second aspect of an embodiment of the present disclosure, there is provided an information sharing method, comprising:
[0009] Sending a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0010] When the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device;
[0011] The second device is connected to the stylus; and the content to be shared is determined by the first device in response to a first touch operation of the stylus.
[0012] According to a third aspect of an embodiment of the present disclosure, there is provided an information sharing method, comprising:
[0013] receiving a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus;
[0014] In response to the second touch operation, a sharing operation corresponding to the content to be shared of the first device is performed; wherein the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0015] According to a fourth aspect of an embodiment of the present disclosure, there is provided an information sharing device, comprising:
[0016] a receiving module configured to receive a first signal sent by a stylus connected to a first device; the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0017] The processing module is configured to prepare to share the to-be-shared content associated with the first touch operation in response to the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
[0018] According to a fifth aspect of an embodiment of the present disclosure, there is provided an information sharing device, comprising:
[0019] a sending module configured to send a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to the first touch operation of the stylus;
[0020] A sharing module is configured to instruct a second device to perform a sharing operation corresponding to the content to be shared by the first device when the stylus touches the second device; wherein the second device is connected to the stylus; and the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0021] According to a sixth aspect of an embodiment of the present disclosure, there is provided an information sharing device, including:
[0022] a receiving module configured to receive a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus;
[0023] The execution module is configured to execute a sharing operation corresponding to the content to be shared on the first device; wherein the content to be shared is determined by the first device in response to a first touch operation of the stylus.
[0024] According to a seventh aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0025] a memory for storing processor-executable instructions;
[0026] a processor connected to the memory;
[0027] The processor is configured to execute the information sharing method as described in any one of the embodiments of the first aspect or the third aspect of the present disclosure.
[0028] According to an eighth aspect of the embodiments of the present disclosure, there is provided a stylus pen, including:
[0029] a memory for storing processor-executable instructions;
[0030] a processor connected to the memory;
[0031] The processor is configured to execute the information sharing method as described in any one of the embodiments of the second aspect of the present disclosure.
[0032] According to the ninth aspect of the embodiments of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor, the information sharing method as described in any one of the embodiments of the first aspect, second aspect or third aspect of the present disclosure can be executed.
[0033] According to the tenth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising a computer program or instructions. When the computer program or instructions are executed by a processor, the information sharing method as described in any one of the embodiments of the first aspect, second aspect or third aspect of the present disclosure can be executed.
[0034] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0035] In the embodiment of the present disclosure, when the first device interacts with the stylus by touch, the first device determines the first touch operation of the stylus by receiving a first signal sent by the stylus; and in response to the first touch operation, prepares to share the content to be shared associated with the first touch operation; so that the information to be shared can be shared with the second device when the stylus touches the second device, thereby realizing the sharing of the content to be shared associated with the first touch operation between the first device and the second device through the stylus; on the one hand, there is no need to establish a communication connection separately for the two devices that need to share information, which effectively reduces the operational complexity of cross-device information sharing; on the other hand, the touch of the stylus can be used to specify the shared object of the content to be shared, so as to reduce the situation where the information to be shared is shared with multiple devices connected to the stylus at the same time, reduce the risk of user privacy leakage, and enhance the user experience.
[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0038] Figure 1 This is a process of an information sharing method according to an exemplary embodiment. Figure 1 .
[0039] Figure 2 This is a process of an information sharing method according to an exemplary embodiment. Figure 2 .
[0040] Figure 3 This is a process of an information sharing method according to an exemplary embodiment. Figure 3 .
[0041] Figure 4 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 1 .
[0042] Figure 5 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 2 .
[0043] Figure 6 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 3 .
[0044] Figure 7 The figure is a schematic diagram showing an initialization process of cross-device interaction according to an exemplary embodiment.
[0045] Figure 8 It is a schematic diagram showing a cross-device interaction scenario according to an exemplary embodiment.
[0046] Figure 9 This is a schematic diagram of a cross-device image transmission according to an exemplary embodiment. Figure 1 .
[0047] Figure 10 This is a schematic diagram of a cross-device image transmission according to an exemplary embodiment. Figure 2 .
[0048] Figure 11 The figure is a schematic diagram showing a cross-device text transmission according to an exemplary embodiment.
[0049] Figure 12 A schematic diagram of an information sharing device according to an exemplary embodiment Figure 1 .
[0050] Figure 13A schematic diagram of an information sharing device according to an exemplary embodiment Figure 2 .
[0051] Figure 14 A schematic diagram of an information sharing device according to an exemplary embodiment Figure 3 .
[0052] Figure 15 The figure is a structural block diagram of a device according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0054] Figure 1 This is a process of an information sharing method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the following steps are included:
[0055] Step S101: receiving a first signal sent by a stylus connected to a first device; the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0056] Step S102 , in response to the first touch operation, preparing to share the to-be-shared content associated with the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
[0057] It should be noted that the information sharing method shown in the embodiment of the present disclosure can be applied to the first device; the first device may include a mobile terminal and a fixed terminal; the mobile terminal may be a smart phone, tablet computer, laptop computer and other devices; the fixed terminal may be a desktop computer, large-screen device, projector and other fixed terminals.
[0058] The first device may establish a communication connection with the stylus; the communication connection may be a short-range communication connection.
[0059] In some embodiments, the communication connection may include at least one of the following: WIFI communication connection, Bluetooth communication connection, infrared communication connection, near field communication (NFC) connection, ultra wideband (UWB) communication connection, etc.
[0060] In the embodiment of the present disclosure, the stylus can establish communication connections with multiple devices; the first device can be any of the multiple devices connected to the stylus. For example, the stylus can have or support a one-time multi-connection function, that is, the stylus has or supports connecting to multiple devices at the same time, and the stylus can be freely switched between multiple devices while the stylus remains connected to the multiple devices. It can be understood that in the embodiment of the present disclosure, the stylus can record the connection relationship with multiple devices (such as assigning and recording multiple device IDs for the multiple devices connected to it). For a stylus that does not have or support a one-time multi-connection function, when the stylus establishes a connection with a device other than the first device (such as the second device), the stylus is disconnected from the first device, and the stylus can determine the connected device based on the recorded connection relationship (such as the aforementioned device ID).
[0061] In step S101 , a first device receives a first signal sent by a stylus.
[0062] Here, the first signal may be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal may also be called a coding signal.
[0063] The stylus sends a first signal so that the first device can determine, based on the received first signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and the first device can determine the touch trajectory of the stylus on the screen of the first device based on the received first signal.
[0064] In the embodiment of the present disclosure, the first signal is at least used to instruct the first device to respond to the first touch operation of the stylus. It is understandable that the first signal can be sent when the stylus performs the first touch operation on the first device, so as to instruct the first device to respond to the first touch operation through the first signal.
[0065] In some embodiments, before the first device receives the first signal, the method further includes:
[0066] The first device sends a second signal to the stylus.
[0067] It should be noted that the second signal is used to implement touch interaction between the first device and the stylus; the second signal may be an uplink signal (uplink) sent by the first device.
[0068] The second signal may be used to perform at least one of the following: triggering the stylus to send the first signal; indicating a signal format of the first signal; triggering the stylus to perform time synchronization with the first device.
[0069] In some embodiments, the second signal may carry first information, where the first information is used to identify the first device.
[0070] It should be noted that the first information can be the device identification of the first device (such as device ID or MAC address, etc.), or other information that can be used to identify the first device; so that after the stylus receives the second signal, it can determine the device currently touched by the stylus based on the first information in the second signal.
[0071] In some embodiments, when the first device detects a touch by the stylus, the first device sends a second signal to the stylus.
[0072] For a stylus with a one-stroke-multiple-connection function, since the stylus may be connected to multiple devices simultaneously, when a user touches any of the multiple devices with the stylus, the stylus may not know which device is currently being touched. Based on the second signal, the stylus can determine the currently touched device based on the received second signal.
[0073] In some embodiments, the first device may periodically send the second signal.
[0074] It should be noted that the propagation distance of the second signal is relatively short, typically 2 cm. The second signal sent by the first device can only be received by the stylus when the current touch target of the stylus is the first device.
[0075] In step S102 , in response to a first touch operation performed by a stylus on a first device, the first device prepares to share content to be shared associated with the first touch operation.
[0076] Here, the first touch operation may include but is not limited to a pressing operation, a tapping operation, a sliding operation and / or a drawing operation, etc.
[0077] The first device preparing to share the content to be shared associated with the first touch operation can be understood as the first device performing a sharing preparation operation for the content to be shared associated with the first touch operation. It should be noted that the sharing preparation operation may include but is not limited to: determining the content to be shared associated with the first touch operation, uploading the content to be shared associated with the first touch operation, etc.
[0078] The content to be shared associated with the first touch operation may be information selected by the user through the first touch operation, for example, information circled by the user on the display interface of the first device using a stylus.
[0079] In some embodiments, the first device may detect the touch position of the first touch operation, and determine the display information corresponding to the touch position in the current display interface as the content to be shared associated with the first touch operation.
[0080] It is worth noting that the content to be shared is shared to the second device when the stylus touches the second device. Here, the second device can be any device other than the first device to which the stylus is connected, and the second device is the shared object of the content to be shared.
[0081] It can be understood that when the stylus is connected to at least two devices, the user can use the stylus to touch any device other than the first device to which the stylus is connected to designate the device as the shared object of the content to be shared, that is, the second device; thereby using the stylus to share the content to be shared to the second device to trigger the second device to perform the sharing operation corresponding to the content to be shared.
[0082] It's important to note that if a device receives content to be shared but the stylus isn't touching it, it's not considered the recipient of the information and won't perform the corresponding sharing operation. Only when the device receives the content and the stylus is touching it can it be considered the recipient and perform the corresponding sharing operation.
[0083] In the embodiment of the present disclosure, when information is shared on the first device, the first device shares the content to be shared to the second device designated by the user via the stylus, so that the second device performs the sharing operation of the content to be shared; thereby realizing information sharing of the content to be shared between the two designated objects, and there will be no situation where multiple devices connected to the stylus can all perform the sharing operation of the content to be shared.
[0084] In some embodiments, the content to be shared is shared to the second device when the stylus performs a second touch operation on the second device.
[0085] It is understandable that the second device may be a device on which the stylus performs the second touch operation. The content to be shared is shared to the second device when the stylus performs the second touch operation on the second device.
[0086] It should be noted that the second touch operation may include, but is not limited to, pressing, tapping, sliding, and / or drawing. It is worth noting that, without specifying the specific operation of the second touch operation, the second device is the next touch target of the stylus. It is understood that after the first touch operation is completed, the user can touch a device connected to the stylus to share the content to be shared associated with the first touch operation to that device.
[0087] Alternatively, the second touch operation may be a pre-set specific touch operation, for example, the second touch operation may be an operation of drawing a specific symbol.
[0088] It is worth noting that, in the case of limiting the specific operation of the second touch operation, the second device is the touch object on which the stylus performs the specific second touch operation.
[0089] It is understandable that after the first touch operation is completed, when the stylus performs a specific second touch operation on a device connected to the stylus, the stylus determines that the device is the shared object of the content to be shared specified by the user; and shares the content to be shared to the device.
[0090] If after the first touch operation is completed, the user touches a device connected to the stylus with the stylus, but the touch is not the second touch operation, the device is not the shared object of the content to be shared specified by the user; the stylus will not share the content to be shared to the device.
[0091] In the embodiment of the present disclosure, when the first device interacts with the stylus by touch, the first device determines the first touch operation of the stylus by receiving a first signal sent by the stylus; and in response to the first touch operation, prepares to share the content to be shared associated with the first touch operation; so that the information to be shared can be shared with the second device when the stylus touches the second device, thereby realizing the sharing of the content to be shared associated with the first touch operation between the first device and the second device through the stylus; on the one hand, there is no need to establish a communication connection separately for the two devices that need to share information, which effectively reduces the operational complexity of cross-device information sharing; on the other hand, the touch of the stylus can be used to specify the shared object of the content to be shared, so as to reduce the situation where the information to be shared is shared with multiple devices connected to the stylus at the same time, reduce the risk of user privacy leakage, and enhance the user experience.
[0092] Optionally, preparing to share the content to be shared associated with the first touch operation includes at least one of the following:
[0093] sending a second signal carrying content to be shared to the stylus;
[0094] Send the content to be shared to the stylus via near field communication;
[0095] Sending the content to be shared to the stylus pen connected to multiple devices other than the first device; the content to be shared is shared by the second device when the second device is touched by the stylus pen;
[0096] The content to be shared is sent to the cloud server; the content to be shared in the cloud server is synchronized to the second device when the second device is touched by the stylus.
[0097] In an embodiment of the present disclosure, in order to enable the content to be shared to the second device when the stylus touches the second device, the first device may transmit the content to be shared to the second device after determining the content to be shared.
[0098] In the first case, the first device may use the stylus as a transmission medium to complete the transmission of the to-be-shared content between the first device and the second device.
[0099] In one embodiment, the first device may send a second signal to the stylus, wherein the second signal carries the content to be shared. In this way, the content to be shared is sent to the stylus via the second signal, so that the content to be shared can be forwarded to the second device via the stylus.
[0100] It is worth noting that the second signal is a signal used to implement touch interaction between the first device and the stylus; the second signal can be an uplink signal sent by the first device. It is understandable that the first device can directly reuse the second signal to transmit the content to be shared.
[0101] In another embodiment, the first device may send the content to be shared to the stylus pen via near field communication.
[0102] It should be noted that the short-range communication method used by the first device can be determined based on the communication connection between the first device and the stylus. For example, the communication connection between the first device and the stylus is a Bluetooth connection; the first device can send the content to be shared to the stylus via Bluetooth transmission.
[0103] In the second case, the first device may directly send the content to be shared to the second device, thereby completing the transmission of the content to be shared between the first device and the second device.
[0104] It should be noted that, when the first device is preparing to share the content, it does not know which of the multiple devices connected to the stylus is the second device. In other words, the first device does not know which device the stylus will subsequently touch. Therefore, the first device can send the content to be shared to multiple devices other than the first device.
[0105] Since the second device can be any one of the multiple devices connected to the stylus except the first device, the first device sends the content to be shared to all the multiple devices connected to the stylus except the first device, so that any one of the multiple devices can complete the response to the content to be shared based on the content to be shared received from the first device when touched by the stylus.
[0106] It's worth noting that in this case, even though the content being shared is received by multiple devices other than the first device to which the stylus is connected, the multiple devices will not perform the sharing operation. Only when one of the multiple devices other than the first device to which the stylus is connected is touched by the stylus will that device be triggered to complete its response to the content being shared.
[0107] In this way, even if multiple devices other than the first device connected to the stylus receive the content to be shared from the first device, only the second device touched by the user with the stylus will perform the corresponding response operation; other devices not touched by the stylus will not perform the corresponding response operation. This ensures that the content to be shared is only shared between the first device and the second device touched by the user with the stylus, reducing the possibility of shared information being shared with multiple devices connected to the stylus at the same time and improving the controllability of cross-device information sharing.
[0108] In the third case, the first device may use the cloud server as a transmission intermediary to complete the transmission of the content to be shared between the first device and the second device.
[0109] After determining the content to be shared associated with the first touch operation, the first device can directly upload the content to be shared to the cloud server.
[0110] It should be noted that in some cases, the first device may not know which other devices the stylus is connected to, and therefore cannot directly send the content to be shared to other devices connected to the stylus. Therefore, the first device can send the content to be shared to a cloud server so that the content can be shared when the stylus interacts with other devices.
[0111] It's worth noting that the content to be shared stored in the cloud server is synchronized to the second device when the stylus is touched on the second device. That is, only when a device other than the first device, among the multiple devices to which the stylus is connected, is touched by the stylus, will that device be triggered to synchronize the content to be shared with the cloud server.
[0112] In this way, the second device touched by the stylus can synchronize the shared content from the cloud server; while other devices not touched by the stylus cannot synchronize the shared content from the cloud server. This allows the shared content to be shared between the first device and the second device touched by the stylus, reducing the possibility of shared information being shared simultaneously with multiple devices connected to the stylus and improving the controllability of cross-device information sharing.
[0113] The embodiments of the present disclosure can achieve the transmission of the content to be shared between the first device and the second device through any of the above methods, so as to complete the sharing preparation of the content to be shared and improve the flexibility and controllability of information sharing.
[0114] Optionally, in the embodiment of the present disclosure, sending the content to be shared to multiple devices other than the first device to which the stylus is connected via the stylus may include:
[0115] A sending method for the content to be shared is determined according to the amount of information of the content to be shared; wherein different amounts of information of the content to be shared correspond to different sending methods.
[0116] It is worth noting that there are multiple ways to send content to be shared, but the sending capabilities and transmission delays of different sending methods vary. The disclosed embodiments can determine the sending method for the content to be shared based on the amount of information to be shared, taking into account differences in sending capabilities and transmission delays, thereby improving the responsiveness of the sharing operation.
[0117] For example, if the transmission method for transmitting the content to be shared between the first device and the stylus includes a first transmission method and a second transmission method, wherein the first transmission method only supports the transmission of information with a small amount of information and has a smaller transmission delay, and the second transmission method supports the transmission of information with a larger amount of information, but has a larger transmission delay than the first transmission method, the first device may determine whether to send the content to be shared using the first transmission method or the second transmission method based on the determined amount of information to be shared.
[0118] After determining the sending method corresponding to the content to be shared, the first device may send the content to be shared according to the corresponding sending method.
[0119] In the embodiment of the present disclosure, the first device can flexibly select a method for sending the content to be shared according to the amount of information of the content to be shared associated with the first touch operation, so as to reduce the transmission delay of the content to be shared.
[0120] Optionally, preparing to share the content to be shared associated with the first touch operation includes at least one of the following:
[0121] If the amount of information of the content to be shared is less than a preset information amount threshold, sending a second signal carrying the content to be shared to the stylus;
[0122] If the amount of information of the content to be shared is greater than or equal to the information amount threshold, the content to be shared is sent to the stylus via short-range communication.
[0123] In an embodiment of the present disclosure, the first device may compare the information volume of the content to be shared with a preset information volume threshold, and determine a sending method for sending the content to be shared based on the comparison result.
[0124] Exemplarily, the information amount threshold may be determined according to the maximum amount of information that the second signal can carry.
[0125] It is worth noting that the transmission delay corresponding to the transmission method based on the second signal is relatively small, but the amount of information that the second signal can carry is relatively small, and may not be suitable for transmitting content to be shared with a large amount of information.
[0126] In an embodiment of the present disclosure, when the amount of information of the content to be shared is less than the information amount threshold, the first device may carry the content to be shared in the second signal and send the second signal to the stylus to send the content to be shared to the stylus.
[0127] In an embodiment of the present disclosure, when the amount of information of the content to be shared is greater than or equal to an information amount threshold, the first device may send the content to be shared to the stylus via short-range communication.
[0128] It's worth noting that while NFC-based transmission can transmit larger amounts of shared content, it also has a longer transmission latency than the first signal method. For example, the transmission latency for a Bluetooth connection is typically several hundred milliseconds, while the first signal's latency is in the tens of milliseconds.
[0129] The disclosed embodiment compares the amount of information in the content to be shared with a preset information threshold. If the amount of information in the content to be shared is less than the threshold, the content to be shared is sent to the stylus by sending a second signal carrying the content to be shared. If the amount of information in the content to be shared is greater than or equal to the threshold, the first device sends the content to the stylus via near field communication. In this way, the transmission method of the content to be shared between the first device, the stylus, and the second device can be flexibly adjusted based on the amount of information in the content to be shared.
[0130] Optionally, the information sharing method of the embodiment of the present disclosure may further include:
[0131] In response to the first touch operation, the content to be shared selected by the first touch operation is determined; the sharing operation corresponding to the content to be shared is executed by the second device when the second device touches the stylus; different types of content to be shared correspond to different sharing operations.
[0132] In an embodiment of the present disclosure, in response to a first touch operation performed by a stylus on a first device, the first device may determine a touch trajectory of the stylus on the first device and display the touch trajectory on the screen. Furthermore, based on the location of the touch trajectory, the first device may determine data information corresponding to the location on the display interface and determine the data information as content to be shared.
[0133] In some embodiments, the first device may activate multiple touch sensors under the screen, collect a first signal sent by the stylus through each touch sensor, and determine a touch track of the stylus on the screen according to the first signal collected by each touch sensor.
[0134] It is worth noting that each of the multiple touch sensors under the screen corresponds to an area of the screen; if one of the multiple touch sensors receives the first signal sent by the stylus, it means that the touch position of the stylus on the screen is within the area corresponding to the touch sensor.
[0135] The first device may obtain data information corresponding to the touch track from a plurality of data information displayed on the screen according to the touch track.
[0136] Here, the data information corresponding to the touch track can be understood as the data information specified by the user that needs to be shared from the first device to the second device.
[0137] It should be noted that the sharing operation corresponding to the content to be shared is different depending on the information type of the content to be shared. It is worth noting that the sharing operation corresponding to the content to be shared is executed by the second device when the second device touches the stylus.
[0138] It can be understood that the user uses the stylus to touch different data information displayed on the screen of the first device to select different types of content to be shared. The first device sends the content to be shared to the second device, so that when the stylus touches the second device, the second device can perform the sharing operation corresponding to the content to be shared.
[0139] In the embodiment of the present disclosure, the first device determines the content to be shared based on the first touch operation of the stylus; and completes the preparation for sharing the content to be shared by sending the content to be shared to the second device, so that when the stylus touches the second device, the second device can perform the sharing operation corresponding to the content to be shared based on the received content to be shared; thereby realizing information sharing between the first device and the second device more simply and quickly.
[0140] Optionally, if the content to be shared is image information, a prompt pop-up window associated with the image information is output by the second device when the second device touches the stylus; wherein the prompt pop-up window includes multiple operation options for the image information; or,
[0141] If the content to be shared is text information, the text information is stored in the clipboard by the second device when the second device and the stylus touch each other; or
[0142] If the content to be shared is audio information and / or video information, the audio information and / or video information is played by the second device when the second device touches the stylus.
[0143] In an embodiment of the present disclosure, if the content to be shared determined by the first device is image information, the sharing operation corresponding to the image information is to output a prompt pop-up window for image information management.
[0144] Here, the prompt pop-up window includes multiple operation options for the image information.
[0145] The first device sends the image information associated with the first touch operation to the second device, so that a prompt pop-up window associated with the image information is output by the second device when the stylus touches the second device.
[0146] In some embodiments of the present disclosure, the information sharing method may further include:
[0147] In response to a user's selection operation on any operation option in the prompt pop-up window, an operation corresponding to the operation option selected by the selection operation is performed on the image information.
[0148] For example, the pop-up window may include: an application (APP) download option, an image save option, a shopping app image search option, and a browser image search option. When the second device touches the stylus, if the content to be shared received by the second device is image information, the second device will display the pop-up window for the user to select a specific operation to be performed on the image information.
[0149] If the content to be shared determined by the first device is text information, the sharing operation corresponding to the text information is to store the text information in the clipboard.
[0150] The first device sends the text information associated with the first touch operation to the second device, so that the text information is stored in the clipboard by the second device when the stylus touches the second device, so that the second device can directly paste the text information shared by the first device during subsequent use.
[0151] If the content to be shared determined by the first device is audio information and / or video information, the sharing operation corresponding to the audio information and / or video information is playing the audio information and / or video information.
[0152] The first device sends the audio information and / or video information associated with the first touch operation to the second device, so that the audio information and / or video information is played by the second device when the stylus touches the second device.
[0153] It is understandable that the second device can be used as an audio and video output device of the first device.
[0154] In the embodiment of the present disclosure, the first device sends different types of content to be shared, so that the second device touched by the stylus performs different sharing operations according to the type of information of the received content to be shared, thereby improving the intelligence of cross-device information sharing.
[0155] Optionally, the method further comprises:
[0156] When the content to be shared is image information, identifying a touch track of the stylus applied to the first device;
[0157] If the touch track includes a preset pattern, the image information and the preset pattern are determined as content to be shared; wherein, when the second device touches the image information, the second device performs an operation corresponding to the preset pattern.
[0158] In an embodiment of the present disclosure, after determining that the content to be shared associated with the first touch operation is image information, the first device may identify the touch trajectory of the stylus on the first device to determine whether the touch trajectory contains a preset pattern.
[0159] It is worth noting that multiple preset patterns can be pre-set, and each preset pattern corresponds to an operation. The mapping relationship between the preset pattern and the operation can be a default setting or a user-defined setting, which is not limited in the embodiment of the present disclosure.
[0160] For example, the operation corresponding to preset pattern A may be an APP download operation; the operation corresponding to preset pattern P may be an image save operation; the operation corresponding to preset pattern S may be a shopping software image search operation; and the operation corresponding to preset pattern B may be a browser image search operation.
[0161] When the content to be shared selected by the first touch operation is image information and the touch track includes a preset pattern, the first device determines the image information and the preset pattern together as the content to be shared, so as to share the image information and the preset pattern together with the second device touched by the stylus.
[0162] It should be noted that when the content to be shared includes image information and a preset pattern, the second device will perform the operation corresponding to the preset pattern on the image information when the stylus touches the second device. In other words, when the stylus touches the second device, if the content to be shared received by the second device includes image information and a preset pattern, the second device can determine the operation corresponding to the preset pattern and perform the operation corresponding to the preset pattern on the image information.
[0163] Exemplarily, the first device sends the image information and the preset pattern B to the second device via the stylus. When the stylus touches the second device, the second device may perform a browser search image operation on the image information in response to the received image information and the preset pattern B.
[0164] In some embodiments, when the content to be shared selected by the first touch operation is image information and the touch track does not include a preset control character, the first device only determines the image information as the content to be shared.
[0165] In the disclosed embodiment, when the first device determines that the content to be shared associated with the first touch operation is image information, it can identify whether a preset pattern is included in the touch trajectory of the stylus applied to the first device. If the preset pattern is included, the first device will share the preset pattern and the image information as the content to be shared between the first and second devices. This allows the second device touched by the stylus to perform the operation corresponding to the preset pattern on the image information based on the preset pattern in the content to be shared, eliminating the need for the user to perform a corresponding selection operation on the second device, thereby simplifying user operations and improving the user experience.
[0166] Optionally, the information sharing method of the embodiment of the present disclosure may further include:
[0167] Sending an allocation request to the stylus; the allocation request is used to request the stylus to allocate a connection identifier to the first device;
[0168] Determine a mapping relationship between a first time period in which the first device can acquire a first signal at a plurality of different display frame rates and an assigned connection identifier;
[0169] Touch configuration information is generated based on the mapping relationship, and the touch configuration information is sent to the stylus.
[0170] In an embodiment of the present disclosure, after successfully establishing a communication connection with the stylus, the first device sends an allocation request to the stylus; the allocation request is used to request the stylus to allocate a connection identifier to the first device.
[0171] It is worth noting that the stylus can assign a connection identifier to each device it is connected to, and different devices have different connection identifiers. It is understandable that the connection identifier of the first device can be used to uniquely identify the first device among multiple devices connected to the stylus.
[0172] In some embodiments, the first device may carry an assigned connection identifier in the first signal, so that the stylus can determine the device to be shared based on the connection identifier in the first signal.
[0173] It should be noted that the device connection identifier may include at least one bit; different bit values of the bit may be used to indicate the multiple different devices to which the stylus is connected. This effectively reduces the amount of information carried in the first signal compared to the method of including the device identifier in the first signal.
[0174] After receiving the connection identifier assigned by the stylus, the first device may determine a mapping relationship between the first time period in which the first device can collect the first signal at multiple different display frame rates and the connection identifier.
[0175] Here, the first signal is a downlink signal sent by the stylus.
[0176] It should be noted that the display frame rate, or screen refresh rate, refers to the target number of frames per second that are read from the image cache and refreshed to the screen. It is understandable that during the time it takes for the first device to display a frame of image, only a portion of that time (i.e., the first time period) may be used to acquire the first signal. Furthermore, when the display frame rate of the first device is different, the first time period used by the first device to acquire the first signal from the stylus may also be different.
[0177] The first device can establish a mapping relationship between the connection identifier and the first time periods corresponding to the multiple different display frame rates based on the multiple first time periods in which the first signal can be collected under the multiple different display frame rates, and the connection identifier assigned to the first device by the stylus; and generate touch configuration information based on the mapping relationship, and send the touch configuration information to the stylus.
[0178] It is worth noting that since the first device and the stylus are two independent systems, in order to realize touch interaction between the stylus and the first device, the first device is able to collect the first signal sent by the stylus within the first time period of collecting the first signal; the first device can use the touch configuration information to inform the stylus of the mapping relationship between its corresponding connection identifier and the first time periods corresponding to multiple different display frame rates; so that when the stylus touches the first device, the stylus can determine the second time period for sending the first signal to the first device based on the connection identifier and / or display frame rate of the first device.
[0179] Here, the second time period should be within the first time period in which the first device can collect the first signal.
[0180] In some embodiments, the first device may send touch configuration information to the stylus based on the communication connection between the first device and the stylus.
[0181] In the disclosed embodiment, after a communication connection is established between a first device and a stylus, an allocation request is sent to the stylus, requesting the stylus to allocate a connection identifier to the first device. This allows the stylus to directly identify the first device based on the connection identifier during subsequent use. Furthermore, upon receiving the connection identifier, the first device can associate multiple first time periods, during which the first device can acquire a first signal at different display frame rates, with the connection identifier. The first device also notifies the stylus of the mapping relationship between the connection identifier and the first time periods corresponding to the multiple display frame rates of the first device through touch configuration information. This facilitates time alignment between the stylus and the first device when the stylus touches the first device, thereby reducing the possibility that the first signal sent by the stylus cannot be received by the first device.
[0182] Figure 2 This is a process of an information sharing method according to an exemplary embodiment. Figure 2 ,like Figure 2 As shown, the following steps are included:
[0183] Step S201: Send a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0184] Step S202, when the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device; wherein the second device is connected to the stylus; and the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0185] It should be noted that the information sharing method shown in the embodiment of the present disclosure can be applied to a stylus pen, which can provide input to a connected electronic device, and the electronic device performs an operation in response to the input based on the input of the stylus pen.
[0186] The stylus pen may include but is not limited to an inductive stylus and a capacitive stylus, wherein the capacitive stylus may include a passive capacitive stylus and an active capacitive stylus.
[0187] The stylus can achieve communication connection with multiple devices; the communication connection can be a short-range communication connection. For example, the stylus can have or support a one-time multi-connection function, that is, the stylus device has or supports connecting to multiple devices at the same time, and the stylus can be freely switched between multiple devices while the stylus remains connected to the multiple devices. It can be understood that in the embodiment of the present disclosure, the stylus can record the connection relationship with multiple devices (such as assigning and recording multiple device IDs for the multiple devices connected to it). For a stylus that does not have or support a one-time multi-connection function, when the stylus establishes a connection with other devices other than the first device (such as the second device), the stylus is disconnected from the first device, and the stylus can determine the connected device based on the recorded connection relationship (such as the aforementioned device ID).
[0188] In some embodiments, the communication connection may include at least one of the following: a WIFI communication connection, a Bluetooth communication connection, an infrared communication connection, an NFC connection, a UWB communication connection, etc.
[0189] Any of the multiple devices may include a mobile terminal and a fixed terminal; the mobile terminal may be a smart phone, tablet computer, laptop computer or other device; the fixed terminal may be a desktop computer, large-screen device, projector or other fixed terminal.
[0190] In step S201, the stylus pen may send a first signal to the first device. Here, the first signal may be an excitation signal sent by the stylus pen.
[0191] It should be noted that the excitation signal is a downlink signal sent by the stylus pen, and the excitation signal can also be called a coding signal.
[0192] The stylus sends a first signal to the first device to instruct the first device to respond to a first touch operation performed by the stylus on the first device.
[0193] During the touch process between the stylus and the first device, the stylus sends a first signal so that the first device can determine, based on the received first signal, whether the currently detected touch operation is caused by the stylus or by other operating bodies (such as fingers); and the first device can determine the touch trajectory of the stylus on the screen of the first device based on the received first signal.
[0194] It is worth noting that, in the embodiment of the present disclosure, the first signal is at least used to instruct the first device to respond to the first touch operation of the stylus.
[0195] In some embodiments, the stylus receives a second signal sent by the first device.
[0196] It should be noted that the second signal is used to implement touch interaction between the first device and the stylus; the second signal may be an uplink signal (uplink) sent by the first device.
[0197] The second signal may be used to perform at least one of the following: triggering the stylus to send the first signal; indicating a signal format of the first signal; and performing time synchronization between the stylus and the first device.
[0198] In some embodiments, the second signal may carry first information, where the first information is used to identify the first device.
[0199] It should be noted that the first information may be the device identification of the first device, or other information that can be used to identify the first device; so that after the stylus receives the second signal, it can determine the device currently touched by the stylus based on the first information in the second signal.
[0200] In some embodiments, the second signal may be a signal sent by the first device when the first device detects a touch of the stylus.
[0201] For a stylus with a one-touch, multi-connection function, since the stylus can be connected to multiple devices simultaneously, when a user touches any of the multiple devices with the stylus, the stylus may not know which device is currently being touched. Therefore, when the first device detects a touch operation by the stylus on the first device, it sends a second signal; this allows the stylus to determine the currently touched device based on the received second signal.
[0202] In some embodiments, the second signal may be a signal periodically sent by the first device.
[0203] It should be noted that the propagation distance of the second signal is relatively short, typically 2 cm. The second signal sent by the first device can only be received by the stylus when the current touch target of the stylus is the first device.
[0204] In step S202 , when the stylus touches the second device, the stylus instructs the second device to perform a sharing operation corresponding to the content to be shared on the first device.
[0205] The second device may be any device other than the first device to which the stylus pen is connected, and the second device is the shared object of the content to be shared.
[0206] It can be understood that when the stylus is connected to at least two devices, the user can use the stylus to touch any device other than the first device to which the stylus is connected to designate the device as the shared object of the content to be shared, that is, the second device; thereby instructing the second device to perform the sharing operation corresponding to the content to be shared.
[0207] The content to be shared is determined by the first device in response to a first touch operation performed by the stylus on the first device.
[0208] Here, the first touch operation may include but is not limited to a pressing operation, a tapping operation, a sliding operation and / or a drawing operation, etc.
[0209] The content to be shared associated with the first touch operation may be information selected by the user through the first touch operation, for example, information circled by the user on the display interface of the first device using a stylus.
[0210] In some embodiments, when the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device includes:
[0211] When the stylus performs the second touch operation on the second device, the second device is instructed to perform a sharing operation corresponding to the content to be shared.
[0212] It is understandable that the second device may be a device on which the stylus performs the second touch operation. The content to be shared is shared to the second device when the stylus performs the second touch operation on the second device.
[0213] It should be noted that the second touch operation may include, but is not limited to, pressing, tapping, sliding, and / or drawing. It is worth noting that, without specifying the specific operation of the second touch operation, the second device is the next touch target of the stylus. It is understood that after the first touch operation is completed, the user can touch a device connected to the stylus to share the content to be shared associated with the first touch operation to that device.
[0214] Alternatively, the second touch operation may be a pre-set specific touch operation, for example, the second touch operation may be an operation of drawing a specific symbol.
[0215] It is worth noting that, in the case of limiting the specific operation of the second touch operation, the second device is the touch object on which the stylus performs the specific second touch operation.
[0216] It is understandable that after the first touch operation is completed, when the stylus performs a specific second touch operation on a device connected to the stylus (such as a second device), the stylus determines that the device is the shared object of the content to be shared specified by the user; and shares the content to be shared to the device.
[0217] If after the first touch operation is completed, the user touches a device connected to the stylus with the stylus, but the touch is not the second touch operation, the device is not the shared object of the content to be shared specified by the user; the stylus will not share the content to be shared to the device.
[0218] It should be noted that the sharing operation corresponding to the content to be shared is different depending on the information type of the content to be shared. It is worth noting that the sharing operation corresponding to the content to be shared is executed by the second device when the second device touches the stylus.
[0219] In the embodiment of the present disclosure, during the cross-device information sharing process, the stylus can send a first signal to the first device to instruct the first device to respond to the first touch operation through the first signal, so that the first device can complete the preparation work for sharing the content to be shared associated with the first touch operation. And when the stylus touches the second device, the touch of the stylus instructs the second device to perform the sharing operation corresponding to the content to be shared, thereby enabling the content to be shared associated with the first touch operation to be shared between the first device and the second device through the stylus; on the one hand, there is no need to establish a communication connection separately for the two devices that need to share information, which effectively reduces the tediousness of cross-device information sharing operations; on the other hand, the touch of the stylus can be used to specify the shared object of the content to be shared, thereby reducing the situation where the information to be shared is shared with multiple devices connected to the stylus at the same time, reducing the risk of user privacy leakage, and improving the user experience.
[0220] In the embodiment of the present disclosure, the content to be shared can be transferred and forwarded based on the stylus. Optionally, after sending the first signal, the information sharing method of the embodiment of the present disclosure may further include:
[0221] receiving a second signal sent by the first device, where the second signal carries the content to be shared; or
[0222] Receive the content to be shared sent by the first device based on the short distance communication method.
[0223] In an embodiment of the present disclosure, after sending a first signal to a first device, the stylus may receive a second signal sent by the first device and carrying content to be shared, so as to obtain the content to be shared associated with the first touch operation through the second signal.
[0224] Here, the second signal is a signal used to implement touch interaction between the first device and the stylus; the second signal may be an uplink signal sent by the first device. The second signal may be used to perform at least one of the following: triggering the stylus to send the first signal; indicating the signal format of the first signal; or triggering time synchronization between the stylus and the second device.
[0225] It is understandable that the first device may directly multiplex the second signal to transmit the content to be shared.
[0226] Alternatively, the stylus pen may receive the content to be shared sent by the first device based on a near field communication method.
[0227] It should be noted that the short-range communication method used by the first device can be determined based on the communication connection between the first device and the stylus. For example, the communication connection between the first device and the stylus is a Bluetooth connection; the first device can send the content to be shared to the stylus via Bluetooth transmission.
[0228] It is worth noting that in the embodiment of the present disclosure, the stylus pen can serve as a transmission medium to complete the transmission of the content to be shared between the first device and the second device.
[0229] In the embodiment of the present disclosure, the stylus can transmit the content to be shared between the first device and the stylus by receiving a second signal carrying the content to be shared sent by the first device, or receiving the content to be shared sent by the first device based on a near-field communication method, so that the stylus can forward the content to be shared to the second device, thereby improving the transmission flexibility of the content to be shared between the first device, the second device and / or the stylus.
[0230] Optionally, when the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device includes:
[0231] Sending a third signal carrying the content to be shared to the second device; the third signal is at least used to instruct the second device to respond to the second touch operation of the stylus; or,
[0232] Sending a fourth signal to the second device; the fourth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or,
[0233] In response to sending a fifth signal to the second device, the content to be shared is sent to the second device via near field communication, wherein the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or
[0234] A sixth signal is sent to the second device; the sixth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0235] In the embodiment of the present disclosure, in order to enable the content to be shared to the second device when the stylus touches the second device, the stylus can be used to transfer the content to be shared between the first device and the second device.
[0236] In the first case, the stylus pen can serve as a transmission medium to complete the transmission of the content to be shared between the first device and the second device.
[0237] In one embodiment, the stylus may send a third signal to the second device; wherein the third signal carries the content to be shared.
[0238] Here, the third signal is at least used to instruct the second device to respond to the second touch operation of the stylus.
[0239] It is worth noting that the third signal can be a signal that can be used to instruct the second device to respond to the second touch operation of the stylus. For example, the third signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0240] The stylus sends a third signal so that the second device can determine, based on the received third signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and / or, the second device can determine the touch trajectory of the stylus on the screen of the second device based on the received third signal.
[0241] It is understood that the third signal may be sent when the stylus performs a second touch operation on the second device, thereby instructing the second device to respond to the second touch operation through the third signal. The stylus may reuse the third signal to transmit the content to be shared to the second device.
[0242] In another embodiment, the stylus sends a fifth signal to the second device, and in response to sending the fifth signal to the second device, the stylus sends the content to be shared to the second device via near field communication.
[0243] Here, the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to receive the content to be shared sent by the stylus.
[0244] It is worth noting that the fifth signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus. For example, the fifth signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0245] The stylus sends a fifth signal so that the second device can determine, based on the received fifth signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and / or, the second device can determine the touch trajectory of the stylus on the screen of the second device based on the received fifth signal.
[0246] In this embodiment, the stylus transmits the to-be-shared content to the second device via near-field communication in response to the fifth signal being sent to the second device. It is understood that the stylus transmits the to-be-shared content to the second device via near-field communication when the second touch operation is performed on the second device. Based on this, the fifth signal is used to at least instruct the second device to respond to the second touch operation and to instruct the second device to receive the to-be-shared content sent by the stylus.
[0247] The short-range communication method used by the stylus pen can be determined based on the communication connection between the stylus pen and the second device. For example, the communication connection between the stylus pen and the second device is a Bluetooth connection; the stylus pen can send the content to be shared to the second device based on Bluetooth transmission.
[0248] In some embodiments, after the stylus receives the content to be shared sent by the first device, it can send the content to be shared to multiple devices other than the first device connected to the stylus via short-range communication.
[0249] It should be noted that, before the stylus sends the fifth signal to the second device, the stylus sends the content to be shared to multiple devices other than the first device connected to the stylus through short-range communication.
[0250] It is understandable that, in this case, since the stylus does not know which second device is when sending the content to be shared, the stylus directly sends the content to be shared to multiple devices connected to the stylus, except for the first device. Therefore, when the stylus sends the fifth signal to the second device, the fifth signal instructs the second device to complete the sharing operation of the received content to be shared.
[0251] In the second case, the first device can directly send the content to be shared to the second device to complete the transfer of the content to be shared between the first device and the second device. It is worth noting that in this case, the stylus is used to instruct the second device to complete the sharing operation of the content to be shared received from the first device.
[0252] The stylus may send a sixth signal to the second device.
[0253] Here, the sixth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0254] It is worth noting that the sixth signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to complete the sharing operation corresponding to the content to be shared. For example, the sixth signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0255] The stylus sends a sixth signal so that the second device can determine, based on the received sixth signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and / or, the second device can determine the touch trajectory of the stylus on the screen of the second device based on the received sixth signal.
[0256] It is understandable that the sixth signal may be sent when the stylus performs the second touch operation on the second device, so as to instruct the second device to respond to the second touch operation through the sixth signal, and at the same time use the sixth signal to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0257] In this case, the content to be shared is sent directly from the first device to the second device, without the stylus acting as an intermediary. However, the stylus determines which of the multiple devices connected to the stylus is the second device and when the second device completes the sharing operation corresponding to the content to be shared.
[0258] It is understandable that if a device connected to the stylus receives the content to be shared sent by the first device, but the device has not been touched by the stylus, the device will not perform the sharing operation of the content to be shared. In other words, the device is not the target of the content to be shared.
[0259] Multiple devices connected to the stylus, other than the first device, may all receive the content to be shared sent by the first device. However, only the second device touched by the stylus can perform the sharing operation on the content to be shared. In other words, only the second device touched by the stylus is the recipient of the content to be shared. Furthermore, when the stylus performs a second touch operation on the second device, the second device performs the sharing operation on the content to be shared.
[0260] In the third case, the cloud server can be used as a transmission intermediary to complete the transmission of the content to be shared between the first device and the second device. It is worth noting that in this case, the stylus is used to instruct the second device to obtain the content to be shared from the cloud server.
[0261] Here, the fourth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to synchronize the content to be shared from the cloud server.
[0262] It is worth noting that the fourth signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server. For example, the fourth signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0263] The stylus sends a fourth signal so that the second device can determine, based on the received fourth signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and / or, the second device can determine the touch trajectory of the stylus on the screen of the second device based on the received fourth signal.
[0264] It can be understood that the fourth signal can be sent when the stylus performs the second touch operation on the second device, so as to instruct the second device to respond to the second touch operation through the fourth signal, and at the same time use the fourth signal to instruct the second device to obtain the content to be shared from the cloud server, so that the second device can complete the sharing operation corresponding to the content to be shared.
[0265] In this case, the content to be shared is forwarded to the second device by the cloud server, without the need for the stylus to forward it. However, the stylus determines which of the multiple devices connected to the stylus can synchronize the content to be shared from the cloud server, that is, which device is the second device, and when the second device completes the sharing operation corresponding to the content to be shared.
[0266] It's understandable that if the first device stores the content to be shared on a cloud server, even if the multiple devices connected to the stylus are all bound to the same cloud account as the first device, the multiple devices cannot synchronize the content to be shared from the cloud server. Of the multiple devices connected to the stylus, only the second device touched by the stylus can synchronize the content to be shared from the cloud server; that is, only the second device touched by the stylus is the recipient of the content to be shared. Furthermore, when the stylus performs a second touch operation on the second device, the second device retrieves the content to be shared from the cloud server and performs the sharing operation on the content to be shared.
[0267] In some embodiments, the stylus sends a fourth signal carrying third information to the second device; wherein the third information is used by the second device to obtain the content to be shared from the cloud server.
[0268] It should be noted that the third information may be key information, or other information that can be used for identity authentication.
[0269] The stylus sends a fourth signal carrying third information to the second device; when the second device synchronizes the content to be shared from the cloud server, it sends a synchronization request carrying the third information to the cloud server. The cloud server verifies the third information; if the third information passes verification, it indicates that the second device is the user-specified recipient of the content to be shared, and the cloud server synchronizes the content to the second device. If the third information fails verification, it indicates that the second device is not the user-specified recipient of the content to be shared, and the cloud server does not synchronize the content to the second device.
[0270] In the disclosed embodiment, the stylus sends different signals to the second device to achieve the transmission of the content to be shared between the first device and the second device in different ways, so that the second device performs corresponding sharing operations according to the content to be shared, thereby improving the flexibility and controllability of information sharing.
[0271] Optionally, the method further comprises:
[0272] A sending method for the content to be shared is determined according to the amount of information of the content to be shared; wherein different amounts of information of the content to be shared correspond to different sending methods.
[0273] In an embodiment of the present disclosure, after receiving the content to be shared sent by the first device, the stylus can determine a sending method corresponding to the content to be shared according to the amount of information in the content to be shared.
[0274] It is worth noting that there may be multiple sending methods for sending the content to be shared, but the sending capabilities and transmission delays of different sending methods vary. The embodiment of the present disclosure may determine the sending method for sending the content to be shared based on the amount of information in the content to be shared, so as to take into account the differences in sending capabilities and transmission delays and improve the responsiveness of the sharing operation.
[0275] For example, if the stylus pen and the second device can use a first transmission method and a second transmission method to transmit the content to be shared, and the first transmission method only supports the transmission of information with a smaller amount of information and a smaller transmission delay, and the second transmission method supports the transmission of information with a larger amount of information, but the transmission delay is greater than that of the first transmission method, the first device can determine whether to transmit the content to be shared using the first transmission method or the second transmission method based on the determined amount of information to be shared.
[0276] After determining the sending method corresponding to the content to be shared, the stylus can send the content to be shared to the second device according to the corresponding sending method.
[0277] In the embodiment of the present disclosure, the stylus pen can flexibly select a method for sending the content to be shared according to the amount of information of the content to be shared associated with the first touch operation, so as to reduce the transmission delay of the content to be shared.
[0278] Optionally, sending a third signal carrying the content to be shared to the second device includes:
[0279] If the amount of information of the content to be shared is less than a preset information amount threshold, sending a third signal carrying the content to be shared;
[0280] Sending the content to be shared to the second device via near field communication includes:
[0281] If the amount of information of the content to be shared is greater than or equal to the information amount threshold, the content to be shared is sent via short-range communication.
[0282] In an embodiment of the present disclosure, the first device may compare the information volume of the content to be shared with a preset information volume threshold, and determine a sending method for sending the content to be shared based on the comparison result.
[0283] Exemplarily, the information amount threshold may be determined according to the maximum amount of information that the third signal can carry.
[0284] It is worth noting that the transmission delay corresponding to the transmission method based on the third signal is relatively small, but the amount of information that the third signal can carry is relatively small, and is not suitable for transmitting content to be shared with a large amount of information.
[0285] In an embodiment of the present disclosure, when the amount of information of the content to be shared is less than the information amount threshold, the stylus can carry the content to be shared in a third signal and send the third signal to the second device to send the content to be shared to the second device.
[0286] If the amount of information in the content to be shared is greater than or equal to the information volume threshold, the content to be shared is determined to be sent via near field communication. In the disclosed embodiment, if the amount of information in the content to be shared is greater than or equal to the information volume threshold, the stylus can respond to sending a fifth signal to the second device and send the content to be shared to the second device via near field communication.
[0287] For example, the short-range communication method used by the stylus pen can be determined based on the communication connection method between the stylus pen and the second device. For example, the communication connection between the stylus pen and the second device is a Bluetooth connection; the stylus pen can send the content to be shared to the second device based on Bluetooth transmission.
[0288] It's worth noting that while NFC-based transmission can transmit larger amounts of shared content, it also has a higher transmission latency than third-party signaling. For example, Bluetooth typically has a transmission latency of several hundred milliseconds, while third-party signaling has a latency of tens of milliseconds.
[0289] The disclosed embodiment compares the amount of information of the content to be shared with a preset information threshold, so that when the amount of information of the content to be shared is less than the information threshold, the content to be shared is sent to the second device by sending a third signal carrying the content to be shared to the second device; when the amount of information of the content to be shared is greater than or equal to the information threshold, the stylus sends the content to be shared to the second device through short-range communication. In this way, the transmission method of the content to be shared between the first device, the stylus, and the second device can be flexibly adjusted according to the amount of information of the content to be shared.
[0290] In some embodiments, the stylus may determine a method for sending the content to be shared based on a method for acquiring the content to be shared.
[0291] For example, if the content to be shared is obtained based on the second signal sent by the first device, the stylus can send the content to be shared based on the third signal; or, if the content to be shared is obtained based on the communication connection between the first device and the stylus, the stylus can send it based on the communication connection between the stylus and the second device.
[0292] The embodiments of the present disclosure can flexibly select a sending method for the content to be shared according to the content to be shared, so as to reduce the transmission delay of the content to be shared.
[0293] Optionally, the information sharing method of the embodiment of the present disclosure further includes:
[0294] In response to an allocation request sent by any device among the multiple devices connected to the stylus pen, allocate a connection identifier to the device; different devices are allocated different connection identifiers;
[0295] Receive touch configuration information sent by the device; wherein, the touch configuration information is used by the stylus to determine the mapping relationship between the first time period in which the device can perform first signal acquisition at multiple different display frame rates and the assigned connection identifier, and send a first signal to the device within the first time period.
[0296] In an embodiment of the present disclosure, after receiving an allocation request sent by any one of the multiple connected devices, the stylus can allocate a connection identifier to the device.
[0297] Here, different devices are assigned different connection identifiers. It is understandable that the stylus can be connected to multiple devices at the same time, and in response to an allocation request sent by each device, a different connection identifier is assigned to each device.
[0298] In some embodiments, the allocation request may carry the device identifier and the device communication address of the device; after the stylus assigns a connection identifier to the device, a mapping relationship between the connection identifier and the device identifier and the device communication address may be established.
[0299] Here, the device communication address may be a Media Access Control (MAC) address.
[0300] The touch configuration information of the device may be used to indicate a mapping relationship between a first time period in which the device can perform first signal acquisition at a plurality of different display frame rates and an assigned connection identifier.
[0301] Here, the first signal is a downlink signal sent by the stylus.
[0302] It should be noted that the display frame rate, or screen refresh rate, refers to the target number of frames per second that are read from the image cache and refreshed to the screen. It is understandable that during the time it takes for a device to display a frame of image, only a portion of that time (i.e., the first time period) may be used to acquire the first signal. Furthermore, when the display frame rate of a device is different, the first time period used by the device to acquire the first signal from the stylus may also be different.
[0303] After receiving touch configuration information from any connected device, the stylus can determine the first time period during which the device can receive the first signal based on the mapping relationship indicated in the touch configuration information. Thus, when the stylus needs to send the first signal to the device, it sends the first signal to the device within the first time period.
[0304] It is worth noting that the stylus and the device to which it is connected are two independent systems. In order to achieve touch interaction between the stylus and the device, the stylus should send a downlink signal to the device within the first time period when the device can collect the first signal, so that the device can collect the first signal sent by the stylus.
[0305] In the disclosed embodiment, the stylus can assign a connection identifier to any connected device based on an allocation request sent by the device. This allows the stylus to identify each device directly based on the connection identifier during subsequent use. Furthermore, by receiving touch configuration information sent by each device, the stylus can determine the mapping relationship between the connection identifier and the first time periods corresponding to the multiple display frame rates of the corresponding device. This facilitates time alignment between the stylus and each device when the stylus touches the device, thereby reducing the possibility that the first signal sent by the stylus cannot be received by the device.
[0306] Figure 3 This is a process of an information sharing method according to an exemplary embodiment. Figure 3 ,like Figure 3 As shown, the following steps are included:
[0307] Step S301: receiving a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus;
[0308] Step S302 : In response to the second touch operation, executing a sharing operation corresponding to the content to be shared on the first device; wherein the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0309] It should be noted that the information sharing method shown in the embodiment of the present disclosure can be applied to a second device; the second device may include a mobile terminal and a fixed terminal; the mobile terminal may be a smart phone, tablet computer, laptop computer and other devices; the fixed terminal may be a desktop computer, large-screen device, projector and other fixed terminals.
[0310] The second device may establish a communication connection with the stylus; the communication connection may be a short-range communication connection.
[0311] In some embodiments, the communication connection may include at least one of the following: a WIFI communication connection, a Bluetooth communication connection, an infrared communication connection, an NFC connection, a UWB communication connection, etc.
[0312] In the embodiment of the present disclosure, the stylus can establish communication connections with multiple devices; the second device can be any device among the multiple devices other than the first device connected to the stylus, and the second device is the shared object of the information to be shared. For example, the stylus can have or support a one-time multi-connection function, that is, the stylus has or supports connecting to multiple devices at the same time, and the stylus can be freely switched between multiple devices while the stylus remains connected to the multiple devices. It can be understood that in the embodiment of the present disclosure, the stylus can record the connection relationship with multiple devices (such as assigning and recording multiple device IDs for the multiple devices connected to it). For a stylus that does not have or support a one-time multi-connection function, when the stylus establishes a connection with other devices other than the first device (such as the second device), the stylus is disconnected from the first device, and the stylus can determine the connected device based on the recorded connection relationship (such as the aforementioned device ID).
[0313] In step S301, the second device receives a first signal sent by the stylus.
[0314] Here, the first signal may be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal may also be called a coding signal.
[0315] The stylus sends a first signal so that the first device can determine, based on the received first signal, whether the currently detected touch operation is caused by the stylus or by another operating body (such as a finger); and the first device can determine the touch trajectory of the stylus on the screen of the first device based on the received first signal.
[0316] In the embodiment of the present disclosure, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus. It is understandable that the first signal can be sent when the stylus performs the second touch operation on the second device, so as to instruct the second device to respond to the second touch operation through the first signal.
[0317] In some embodiments, before the second device receives the first signal, the method further includes:
[0318] The second device sends a second signal to the stylus.
[0319] It should be noted that the second signal is used to implement touch interaction between the second device and the stylus; the second signal may be an uplink signal (uplink) sent by the second device.
[0320] The second signal may be used to perform at least one of the following: triggering the stylus to send the first signal; indicating a signal format of the first signal; triggering the stylus to perform time synchronization with the first device.
[0321] In some embodiments, the second signal may carry second information, where the second information is used to identify the second device.
[0322] It should be noted that the second information can be the device identification of the second device (such as device ID or MAC address, etc.), or other information that can be used to indicate the second device; so that after the stylus receives the second signal sent by the second device, it can determine the device currently touched by the stylus based on the second information in the second signal.
[0323] In some embodiments, when the second device detects a touch by the stylus, it sends a second signal to the stylus.
[0324] Because a stylus can be connected to multiple devices simultaneously, when a user touches any of the multiple devices with the stylus, the stylus cannot determine which device is currently being touched. Therefore, upon detecting a touch operation by the stylus on the second device, the second device sends a second signal, allowing the stylus to determine the currently touched device based on the received second signal.
[0325] In some embodiments, the second device may periodically send the second signal.
[0326] It should be noted that the propagation distance of the second signal is relatively short, typically 2 cm. The second signal sent by the second device can only be received by the stylus when the current touch target of the stylus is the second device.
[0327] In step S302, in response to a second touch operation of the stylus pen on the second device, a sharing operation corresponding to the to-be-shared content of the first device is performed.
[0328] Here, the content to be shared is information determined by the first device in response to the first touch operation of the stylus. In other words, the content to be shared is associated with the first touch operation.
[0329] Here, the first device is another device to which the stylus pen is connected; the first device is the sharing object of the content to be shared.
[0330] The first touch operation may include but is not limited to a pressing operation, a tapping operation, a sliding operation, and / or a drawing operation.
[0331] The content to be shared associated with the first touch operation may be information selected by the user through the first touch operation, for example, information circled by the user on the display interface of the first device using a stylus.
[0332] It is worth noting that the second device can be the target device for the content to be shared, as designated by the user using the stylus. It is understood that if the stylus is connected to at least two devices, the user can use the stylus to touch any device other than the first device to which the stylus is connected to designate that device as the target device for the content to be shared, i.e., the second device.
[0333] It should be noted that if a device receives the content to be shared from the first device but the stylus is not touching the device, the device is not considered the recipient of the information and will not perform the sharing operation corresponding to the content. Only when the device receives the content and the stylus is touching the device is it considered the recipient of the information and will perform the sharing operation corresponding to the content.
[0334] The second device may be a device on which the stylus performs the second touch operation.
[0335] It should be noted that the second touch operation may include, but is not limited to, pressing, tapping, sliding, and / or drawing. It is worth noting that, without specifying the specific operation of the second touch operation, the second device is the next touch target of the stylus. It is understood that after the first touch operation is completed, the user can touch a device connected to the stylus to share the content to be shared associated with the first touch operation to that device.
[0336] Alternatively, the second touch operation may be a pre-set specific touch operation, for example, the second touch operation may be an operation of drawing a specific symbol.
[0337] It is worth noting that, in the case of limiting the specific operation of the second touch operation, the second device is the touch object on which the stylus performs the specific second touch operation.
[0338] It is understandable that after the first touch operation is completed, when the stylus performs a specific second touch operation on a device connected to the stylus, the stylus determines that the device is the shared object of the content to be shared specified by the user; and shares the content to be shared to the device.
[0339] If after the first touch operation is completed, the user touches a device connected to the stylus with the stylus, but the touch is not the second touch operation, the device is not the shared object of the content to be shared specified by the user; the stylus will not share the content to be shared to the device.
[0340] In some embodiments, different types of content to be shared correspond to different sharing operations. In response to the second touch operation, the second device can determine the sharing operation corresponding to the content to be shared based on the acquired information type of the content to be shared, and execute the sharing operation.
[0341] In the embodiment of the present disclosure, during the cross-device information sharing process, the second device receives a first signal sent by the stylus to determine the second touch operation of the stylus, and in response to the second touch operation, executes a sharing operation corresponding to the content to be shared on the first device. Thus, the content to be shared associated with the first touch operation is shared between the first device and the second device through the stylus. Thus, when the stylus is connected to more than two devices, on the one hand, there is no need to establish a separate communication connection for the two devices that need to share information, effectively reducing the complexity of cross-device information sharing operations. On the other hand, only the second device touched by the user with the stylus will execute the sharing operation for the content to be shared, while other devices not touched by the stylus will not execute the sharing operation for the content to be shared. Thus, the content to be shared is only shared between the first device and the second device touched by the user with the stylus, thereby reducing the situation where the information to be shared is shared with multiple devices connected to the stylus at the same time, reducing the risk of user privacy leakage, and improving the user experience.
[0342] Optionally, receiving a first signal sent by a stylus connected to the second device includes:
[0343] receiving a first signal sent by the stylus and carrying content to be shared; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus; or
[0344] Receive a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or,
[0345] receiving a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or
[0346] When receiving the content to be shared sent by the first device, a first signal sent by the stylus is received; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0347] In an embodiment of the present disclosure, in order to enable the content to be shared to the second device when the stylus touches the second device, the second device may obtain the content to be shared from the first device according to the first signal sent by the stylus.
[0348] In the first case, the stylus pen can serve as a transmission medium to complete the transmission of the content to be shared between the first device and the second device.
[0349] In one embodiment, the second device may receive a first signal sent by the stylus; wherein the first signal carries the content to be shared.
[0350] Here, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus. It should be noted that, in this embodiment, the first signal received by the second device may be the third signal carrying the content to be shared sent by the stylus in the above embodiment.
[0351] It is worth noting that the first signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus. For example, the first signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0352] It is worth noting that the stylus can reuse the first signal to transmit the content to be shared to the second device.
[0353] In another embodiment, the first device may receive a first signal sent by the stylus.
[0354] Here, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to receive the content to be shared sent by the stylus.
[0355] It is worth noting that the first signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus. For example, the first signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0356] It is worth noting that the stylus can transmit the content to be shared to the second device via near field communication while sending the first signal to the second device. It should be noted that in this embodiment, the first signal received by the second device can be the fifth signal sent by the stylus in the above embodiment.
[0357] In the second case, the first device can directly send the content to be shared to the second device to complete the transfer of the content to be shared between the first device and the second device. It is worth noting that in this case, the stylus is used to instruct the second device to complete the sharing operation of the content to be shared received from the first device.
[0358] The second device can receive the first signal sent by the stylus.
[0359] In some embodiments, when the second device receives the content to be shared sent by the first device, the second device receives the first signal sent by the stylus.
[0360] Here, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0361] It is worth noting that the first signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to complete the sharing operation corresponding to the content to be shared. For example, the first signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0362] It is worth noting that the stylus can send a first signal to the second device to instruct the second device to respond to the second touch operation through the first signal, and at the same time use the first signal to instruct the second device to complete the sharing operation corresponding to the content to be shared received from the first device. It should be noted that in this embodiment, the first signal received by the second device can be the sixth signal sent by the stylus in the above embodiment.
[0363] In the third case, the cloud server can be used as a transmission intermediary to complete the transmission of the content to be shared between the first device and the second device. It is worth noting that in this case, the stylus is used to instruct the second device to obtain the content to be shared from the cloud server.
[0364] The stylus can receive a first signal sent by the stylus. Here, the first signal is used to at least instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server.
[0365] It is worth noting that the first signal can be any signal that can be used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server. For example, the first signal can be an excitation signal sent by the stylus. It should be noted that the excitation signal is a downlink signal sent by the stylus, and the excitation signal can also be called a coding signal.
[0366] It is worth noting that the stylus can send a first signal to the second device to instruct the second device to respond to the second touch operation through the first signal, and at the same time use the first signal to instruct the second device to obtain the content to be shared from the cloud server, so that the second device can complete the sharing operation corresponding to the content to be shared. It should be noted that in this embodiment, the first signal received by the second device can be the fourth signal sent by the stylus in the above embodiment.
[0367] In some embodiments, the second device receives a first signal carrying third information sent by the stylus; wherein the third information is used by the second device to obtain the content to be shared from the cloud server.
[0368] It should be noted that the third information may be key information, or other information that can be used for identity authentication.
[0369] The stylus sends a first signal carrying third information to the second device; when the second device synchronizes the content to be shared from the cloud server, it sends a synchronization request carrying the third information to the cloud server. The cloud server verifies the third information; if the third information passes verification, it indicates that the second device is the user-specified recipient of the content to be shared, and the cloud server synchronizes the content to the second device. If the third information fails verification, it indicates that the second device is not the user-specified recipient of the content to be shared, and the cloud server does not synchronize the content to the second device.
[0370] In the embodiment of the present disclosure, the second device receives different first signals sent by the stylus to achieve the transmission of the content to be shared between the first device and the second device in different ways, so that the second device performs corresponding sharing operations according to the content to be shared, thereby improving the flexibility and controllability of information sharing.
[0371] Optionally, in response to the second touch operation, executing a sharing operation corresponding to the to-be-shared content of the first device includes:
[0372] In response to a first signal sent by the stylus and carrying the content to be shared, performing a sharing operation corresponding to the content to be shared according to the content to be shared; or
[0373] In response to the first signal sent by the stylus, synchronizing the content to be shared from the cloud server and performing a sharing operation corresponding to the content to be shared; or
[0374] In response to a first signal sent by the stylus, receiving content to be shared sent by the stylus based on a near field communication method, and performing a sharing operation corresponding to the content to be shared; or
[0375] In response to the first signal sent by the stylus, performing a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device;
[0376] Different types of content to be shared have different corresponding sharing operations.
[0377] In an embodiment of the present disclosure, in a case where a stylus pen is used as a transmission medium, the second device responds to a first signal sent by the stylus pen carrying content to be shared, obtains the content to be shared from the first signal, and performs a sharing operation corresponding to the content to be shared.
[0378] It is understandable that, in this case, the stylus directly reuses the first signal to transmit the content to be shared.
[0379] In another case where the stylus is used as a transmission medium, the second device can receive the content to be shared sent by the stylus based on the near field communication method in response to the first signal sent by the stylus, and perform a sharing operation corresponding to the content to be shared.
[0380] It should be noted that the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to receive the content to be shared sent by the stylus.
[0381] The short-range communication method used by the stylus pen can be determined based on the communication connection between the stylus pen and the second device. For example, the communication connection between the stylus pen and the second device is a Bluetooth connection; the stylus pen can send the content to be shared to the second device based on Bluetooth transmission.
[0382] In the case where the cloud server is used as the transmission intermediary, the second device synchronizes the content to be shared from the cloud server in response to the first signal sent by the stylus, and performs a sharing operation corresponding to the content to be shared.
[0383] It should be noted that the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to synchronize the content to be shared from the cloud server;
[0384] In this case, the content to be shared is forwarded to the second device by the cloud server, without the need for the stylus to forward it. However, the stylus determines which of the multiple devices connected to the stylus can synchronize the content to be shared from the cloud server, that is, which device is the second device, and when the second device completes the sharing operation corresponding to the content to be shared.
[0385] It's understandable that if the first device stores the content to be shared on a cloud server, even if the multiple devices connected to the stylus are all bound to the same cloud account as the first device, the multiple devices cannot synchronize the content to be shared from the cloud server. Of the multiple devices connected to the stylus, only the second device touched by the stylus can synchronize the content to be shared from the cloud server; that is, only the second device touched by the stylus is the recipient of the content to be shared. Furthermore, when the stylus performs a second touch operation on the second device, the second device retrieves the content to be shared from the cloud server and performs the sharing operation on the content to be shared.
[0386] When the content to be shared is sent from the first device to the second device, the second device performs a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device in response to the first signal sent by the stylus.
[0387] It should be noted that the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0388] In this case, the content to be shared is sent directly from the first device to the second device, without the stylus acting as an intermediary. However, the stylus determines which of the multiple devices connected to the stylus is the second device and when the second device completes the sharing operation corresponding to the content to be shared.
[0389] It is understandable that if a device connected to the stylus receives the content to be shared sent by the first device, but the device has not been touched by the stylus, the device will not perform the sharing operation of the content to be shared. In other words, the device is not the target of the content to be shared.
[0390] Multiple devices connected to the stylus, other than the first device, may all receive the content to be shared sent by the first device. However, only the second device touched by the stylus can perform the sharing operation on the content to be shared. In other words, only the second device touched by the stylus is the recipient of the content to be shared. Furthermore, when the stylus performs a second touch operation on the second device, the second device performs the sharing operation on the content to be shared.
[0391] It should be noted that the sharing operations corresponding to the content to be shared are different depending on the information type of the content to be shared.
[0392] In the embodiment of the present disclosure, the second device obtains the content to be shared in different ways according to the different first signals received, so that the second device performs corresponding sharing operations according to the content to be shared, thereby improving the flexibility and controllability of information sharing.
[0393] Optionally, performing a sharing operation corresponding to the content to be shared includes one of the following:
[0394] If the content to be shared is image information, the second device outputs a prompt pop-up window associated with the image information; the prompt pop-up window includes multiple operation options for the image information;
[0395] If the content to be shared is text information, the second device stores the text information in the clipboard; or,
[0396] If the content to be shared is audio information and / or video information, the second device plays the audio information and / or video information.
[0397] In an embodiment of the present disclosure, if the content to be shared received by the second device is image information, in response to the second touch operation with the stylus, the second device may display a pop-up window associated with the image information. This pop-up window includes multiple operation options for the image information carried in the interaction information. Each operation option corresponds to an operation for the image information.
[0398] It is understandable that the image information is at least used to trigger the second device to output a prompt pop-up window.
[0399] In some embodiments, after outputting the prompt pop-up window, the second device may, in response to a user's selection operation on any operation option in the prompt pop-up window, perform an operation corresponding to the operation option selected by the selection operation on the image information.
[0400] For example, the prompt pop-up window may include: an application (APP) download option, an image save option, an image search option in a shopping app, and an image search option in a browser. After receiving the image information, the second device may display the prompt pop-up window in response to the second touch operation of the stylus, allowing the user to select a specific operation to be performed on the image information.
[0401] If the content to be shared received by the second device is text information, in response to the second touch operation of the stylus, the second device can store the text information in the clipboard so that the text information shared by the first device can be directly pasted during subsequent use.
[0402] It is understandable that the text information is used to trigger the second device to store the text information in the clipboard.
[0403] If the content to be shared received by the second device is audio information and / or video information, in response to the second touch operation of the stylus, the second device can play the audio information and / or video information.
[0404] It is understandable that the audio information and / or video information is at least used to trigger the second device to play the audio information and / or video information.
[0405] In the embodiment of the present disclosure, after the second device receives different types of content to be shared by the first device, it can determine the sharing operation corresponding to the content to be shared based on the content to be shared when the second device is touched by the stylus, so as to execute the sharing operation corresponding to the content to be shared, thereby improving the intelligence of cross-device information sharing.
[0406] Optionally executing a sharing operation corresponding to the content to be shared also includes:
[0407] In a case where the content to be shared includes image information and a preset pattern, an operation corresponding to the preset pattern is performed on the image information.
[0408] In an embodiment of the present disclosure, when the content to be shared received by the second device includes image information and a preset pattern, the second device can determine the operation corresponding to the preset pattern so as to perform the operation corresponding to the preset pattern on the image information when the second device is touched by the stylus.
[0409] It should be noted that, when the content to be shared selected by the first touch operation is image information and the touch track of the stylus on the first device includes a preset pattern, the content to be shared by the first device includes not only the image information but also the preset pattern.
[0410] It is worth noting that multiple preset patterns can be pre-set, and each preset pattern corresponds to an operation. The mapping relationship between the preset pattern and the operation can be a default setting or a user-defined setting, which is not limited in the embodiment of the present disclosure.
[0411] For example, the operation corresponding to preset pattern A may be an APP download operation; the operation corresponding to preset pattern P may be an image save operation; the operation corresponding to preset pattern S may be a shopping software image search operation; and the operation corresponding to preset pattern B may be a browser image search operation.
[0412] In some embodiments, if the content to be shared received by the second device only includes image information, the second device outputs a prompt pop-up window
[0413] In an embodiment of the present disclosure, when the received content to be shared includes only image information, the second device may output a prompt pop-up window when touched by the stylus.
[0414] It should be noted that, when the content to be shared selected by the first touch operation is image information and the touch track of the stylus on the first device does not include a preset pattern, the content to be shared by the first device only includes image information.
[0415] In an embodiment of the present disclosure, when the content to be shared received by the second device includes image information and a preset pattern, the second device can determine the operation corresponding to the preset pattern so that the operation corresponding to the preset pattern is performed on the image information when the second device is touched by the stylus, without the user having to perform corresponding selection operations on the second device, thereby simplifying user operations and improving user experience.
[0416] Optionally, the method further comprises:
[0417] Sending an allocation request to the stylus; the allocation request is used to request the stylus to allocate a connection identifier for the second device;
[0418] Determine a mapping relationship between a first time period in which the second device can acquire the first signal at a plurality of different display frame rates and an assigned connection identifier;
[0419] Touch configuration information is generated based on the mapping relationship, and the touch configuration information is sent to the stylus.
[0420] In an embodiment of the present disclosure, after successfully establishing a communication connection with the stylus, the second device sends an allocation request to the stylus; the allocation request is used to request the stylus to allocate a connection identifier to the second device.
[0421] It is worth noting that the stylus can assign a connection identifier to each device it is connected to, and different devices have different connection identifiers. It is understandable that the connection identifier of the second device can be used to uniquely identify the second device among multiple devices connected to the stylus.
[0422] In some embodiments, the second device may carry an assigned connection identifier in the second signal, so that the stylus can determine the shared device based on the connection identifier in the second line of the signal.
[0423] It should be noted that the device connection identifier may include at least one bit; different bit values of the bit may be used to indicate the multiple different devices to which the stylus is connected. This effectively reduces the amount of information carried in the second signal compared to a method in which the device identifier is included in the second signal.
[0424] After receiving the connection identifier assigned by the stylus, the second device may determine a mapping relationship between the first time period in which the second device can acquire the first signal at multiple different display frame rates and the connection identifier.
[0425] It should be noted that the display frame rate, or screen refresh rate, refers to the target number of frames per second that are read from the image cache and refreshed to the screen. It is understandable that during the time it takes for the second device to display a frame of image, only a portion of that time (i.e., the first time period) may be used to acquire the first signal. Furthermore, when the display frame rate of the second device is different, the first time period used by the second device to acquire the first signal from the stylus may also be different.
[0426] The second device can establish a mapping relationship between the connection identifier and the first time periods corresponding to the multiple different display frame rates based on the multiple first time periods in which the first signal can be collected under the multiple different display frame rates, and the connection identifier assigned by the stylus to the first device; and generate touch configuration information based on the mapping relationship, and send the touch configuration information to the stylus.
[0427] It is worth noting that since the second device and the stylus are two independent systems, in order to realize touch interaction between the stylus and the second device, the second device is able to collect the first signal sent by the stylus within the first time period of collecting the first signal; the second device can use the touch configuration information to inform the stylus of the mapping relationship between its corresponding connection identifier and the first time periods corresponding to multiple different display frame rates; so that when the stylus touches the second device, the stylus can determine the second time period for sending the first signal to the second device based on the connection identifier and / or display frame rate of the second device.
[0428] Here, the second time period should be within the first time period in which the second device can collect the first signal.
[0429] In some embodiments, the second device may send touch configuration information to the stylus based on the communication connection between the second device and the stylus.
[0430] In the disclosed embodiment, after a communication connection is established between the second device and the stylus, an allocation request is sent to the stylus, requesting the stylus to allocate a connection identifier to the second device. This allows the stylus to directly identify the second device based on the connection identifier during subsequent use. Furthermore, upon receiving the connection identifier, the second device can associate multiple first time periods, during which it can acquire a first signal at different display frame rates, with the connection identifier. The second device also notifies the stylus of the mapping relationship between the connection identifier and the first time periods corresponding to the multiple display frame rates of the second device through touch configuration information. This facilitates time alignment between the stylus and the second device when the stylus touches the second device, thereby reducing the possibility that the first signal sent by the stylus cannot be received by the second device.
[0431] The present disclosure provides an information sharing method, such as Figure 4 As shown, Figure 4 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 1 The method comprises:
[0432] Step S401: The stylus sends a first signal to a first device;
[0433] It is worth noting that the first signal is at least used to instruct the first device to respond to the first touch operation of the stylus. The first signal is an excitation signal sent by the stylus.
[0434] Step S402: In response to a first touch operation performed by the stylus on the first device, the first device sends the content to be shared to the stylus;
[0435] It is understandable that, in response to the first touch operation, the first device determines the content to be shared associated with the first touch operation; and sends the content to be shared to the stylus so that the stylus can send the content to be shared to the second device to complete the sharing preparation of the content to be shared.
[0436] In some embodiments, the first device sends a second signal carrying the content to be shared to the stylus.
[0437] Here, the second signal may be an uplink signal (uplink) sent by the first device.
[0438] In other embodiments, the first device sends the content to be shared to the stylus via near field communication.
[0439] It is understandable that, since a short-range communication connection is established between the first device and the stylus, the content to be shared can be sent to the stylus via the short-range communication connection.
[0440] It should be noted that the first device determines the sending method of the content to be shared according to the amount of information of the content to be shared.
[0441] In some embodiments, the amount of information of the content to be shared is less than a preset information amount threshold, and the first device sends a second signal carrying the content to be shared.
[0442] In other embodiments, the amount of information of the content to be shared is greater than or equal to an information amount threshold, and the first device sends the content to be shared to the stylus via short-range communication.
[0443] Here, the content to be shared associated with the first touch operation may be any one of image information, text information, audio information and video information.
[0444] In some embodiments, when the content to be shared associated with the first touch operation is image information, the first device identifies the touch trajectory of the stylus acting on the first device; if the touch trajectory includes a preset pattern, the first device can determine the image information and the preset pattern together as the content to be shared.
[0445] Step S403: The second device receives the first signal sent by the stylus.
[0446] It is worth noting that the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus. The first signal is an excitation signal sent by the stylus.
[0447] In some embodiments, the stylus may send a third signal carrying the content to be shared to the second device.
[0448] Here, the third signal is at least used to instruct the second device to respond to the second touch operation of the stylus. The third signal is an excitation signal sent by the stylus.
[0449] The second device may receive the first signal carrying the content to be shared sent by the stylus. Note that, in this case, the first signal carrying the content to be shared received by the second device and the third signal carrying the content to be shared sent by the stylus may be the same signal.
[0450] In some embodiments, the stylus sends a fifth signal to the second device, and in response to sending the fifth signal to the second device, sends the content to be shared to the second device via near field communication.
[0451] Here, the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus; the fifth signal is an excitation signal sent by the stylus.
[0452] Alternatively, the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to receive the content to be shared sent by the stylus.
[0453] It is worth noting that in this case, the content to be shared is sent to the second device by the stylus via near field communication when the stylus touches the second device. The first signal received by the second device and the fifth signal sent by the stylus may be the same signal.
[0454] Step S404: In response to the second touch operation of the stylus, the second device performs a sharing operation corresponding to the content to be shared;
[0455] When the second device receives the first signal sent by the stylus and carrying the content to be shared, in response to the first signal, the second device performs a sharing operation corresponding to the content to be shared according to the content to be shared carried in the first signal.
[0456] When the second device receives the first signal sent by the stylus, in response to the first signal, the second device receives the content to be shared sent by the stylus via near field communication, and performs a sharing operation corresponding to the content to be shared.
[0457] It should be noted that the second device can determine the sharing operation corresponding to the content to be shared according to the information type of the content to be shared, so that when the stylus touches the second device, the sharing operation corresponding to the content to be shared is performed.
[0458] In some embodiments, if the content to be shared received by the second device is image information, the second device outputs a prompt pop-up window; the prompt pop-up window includes multiple operation options for the image information; or,
[0459] If the content to be shared received by the second device is a text message, the second device stores the text message in the clipboard; or,
[0460] If the content to be shared received by the second device is audio information and / or video information, the second device plays the audio information and / or video information.
[0461] In some embodiments, after outputting the prompt pop-up window, the second device may, in response to a user's selection operation on any operation option in the prompt pop-up window, perform an operation corresponding to the operation option selected by the selection operation on the image information.
[0462] In some embodiments, when the content to be shared includes image information and a preset pattern, the second device performs an operation corresponding to the preset pattern on the image information.
[0463] The present disclosure provides an information sharing method, such as Figure 5 As shown, Figure 5 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 2 The method comprises:
[0464] Step S501: The stylus sends a first signal to a first device;
[0465] Step S502: In response to a first touch operation performed by the stylus on the first device, the first device sends the content to be shared to a cloud server;
[0466] It should be noted that, in the embodiment of the present disclosure, the stylus pen is only connected to two devices, namely, the first device and the second device.
[0467] It can be understood that in response to the first touch operation, the first device determines the content to be shared associated with the first touch operation; and sends the content to be shared to a device other than the first device connected to the stylus, that is, the second device, through the cloud server to complete the sharing preparation of the content to be shared.
[0468] Here, the content to be shared associated with the first touch operation may be any one of image information, text information, audio information and video information.
[0469] In some embodiments, when the content to be shared associated with the first touch operation is image information, the first device identifies a touch trajectory of the stylus acting on the first device; if the touch trajectory includes a preset pattern, the first device uses both the image information and the preset pattern as the content to be shared.
[0470] Step S503: The stylus sends a fourth signal to the second device.
[0471] Here, the fourth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to synchronize the content to be shared from the cloud server.
[0472] The fourth signal is an excitation signal sent by the stylus.
[0473] Step S504: In response to the second touch operation of the stylus, the second device synchronizes the content to be shared from the cloud server and performs a sharing operation corresponding to the content to be shared;
[0474] When the second device receives the first signal sent by the stylus, the second device synchronizes the content to be shared from the cloud server and performs a sharing operation corresponding to the content to be shared;
[0475] Here, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server. The first signal is an excitation signal sent by the stylus.
[0476] It is worth noting that in this case, the content to be shared is obtained by the second device from the cloud server when the stylus touches the second device. The first signal received by the second device and the fourth signal sent by the stylus may be the same signal.
[0477] The present disclosure provides an information sharing method, such as Figure 6 As shown, Figure 6 This is a schematic diagram of an interactive process of an information sharing method according to an exemplary embodiment. Figure 3 The method comprises:
[0478] Step S601: The stylus sends a first signal to the first device;
[0479] Step S602: In response to a first touch operation performed by the stylus on the first device, the first device sends the content to be shared to the second device;
[0480] It should be noted that, in the embodiment of the present disclosure, the stylus pen is only connected to two devices, namely, the first device and the second device.
[0481] It can be understood that in response to the first touch operation, the first device determines the content to be shared associated with the first touch operation; and sends the content to be shared to a device other than the first device connected to the stylus, that is, the second device, through the cloud server to complete the sharing preparation of the content to be shared.
[0482] Here, the content to be shared associated with the first touch operation may be any one of image information, text information, audio information and video information.
[0483] In some embodiments, when the content to be shared associated with the first touch operation is image information, the first device identifies a touch trajectory of the stylus acting on the first device; if the touch trajectory includes a preset pattern, the first device uses both the image information and the preset pattern as the content to be shared.
[0484] Step S603: The stylus sends a sixth signal to the second device;
[0485] Here, the sixth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0486] The sixth signal is an excitation signal sent by the stylus.
[0487] Step S604, in response to the second touch operation of the stylus, performing a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device;
[0488] When the second device receives the first signal sent by the stylus, the second device performs a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device;
[0489] Here, the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to complete the sharing operation corresponding to the content to be shared. The first signal is an excitation signal sent by the stylus.
[0490] It is worth noting that in this case, the content to be shared is directly sent to the second device by the first setting, and when the stylus touches the second device, the second device is triggered to perform the sharing operation of the content to be shared. The first signal received by the second device and the sixth signal sent by the stylus can be the same signal.
[0491] For example, Figure 7 As shown, Figure 7 The figure is a schematic diagram showing an initialization process of cross-device information sharing according to an exemplary embodiment.
[0492] You can first pair the stylus pen with the device via Bluetooth to establish a Bluetooth connection between the stylus pen and the device. Then, the device information is transmitted via the Bluetooth connection to complete the initialization.
[0493] Here, the Bluetooth connection between the stylus and the device may be a Bluetooth Low Energy (BLE) connection.
[0494] The device needs to send an ID allocation request to the stylus to request that the stylus assign an ID number to the device. After receiving the ID number assigned by the stylus, the device associates the ID number with the acquisition time period corresponding to multiple display frame rates. The associated relationship is then sent to the stylus through the coding parameter configuration.
[0495] It is understandable that the stylus can connect to multiple devices and initialize each connected device. The stylus will store the MAC addresses and IDs of the multiple connected devices so that in the subsequent interaction process, the device to be interacted can be identified according to the ID and the MAC address of the interacting device can be used to transmit the interactive information. Figure 8 As shown, Figure 8 is a schematic diagram of a cross-device interaction scenario according to an exemplary embodiment; wherein the stylus can be connected to two devices, namely device a and device b, at the same time, so as to realize information interaction between device a and device b through the stylus.
[0496] For example, Figure 9 As shown, Figure 9 This is a schematic diagram of a cross-device image transmission according to an exemplary embodiment. Figure 1 .
[0497] The user can circle an icon displayed on device a with a stylus, triggering device a to select that image as content to be shared. The icon information is then transmitted from device a to the stylus via Bluetooth, and then to device b. In response to the received icon information, device b displays a pop-up window with multiple options for the user to choose from.
[0498] Here, the operation options in the prompt pop-up window may include: saving pictures, APP downloading, searching for related pictures in the browser, and searching for related products in the shopping software, etc.
[0499] In one embodiment, shortcut symbols may also be set to perform quick operations.
[0500] For example, symbol A means downloading an app; symbol P means saving an image; S means searching for related products in a shopping app; and B means searching for related images in a browser. Figure 10 As shown, Figure 10 This is a schematic diagram of a cross-device image transmission according to an exemplary embodiment. Figure 2 .
[0501] The user can circle an icon displayed on device a with a stylus, triggering device a to identify the icon as content to be shared. The user can then continue using the stylus to enter a shortcut symbol on device a. Device a recognizes the stylus's touch trajectory as containing a shortcut symbol and transmits the icon information and shortcut symbol via Bluetooth from device a to the stylus, which then transmits them to device b. Device b, in response to the received icon information and shortcut symbol, performs the shortcut operation corresponding to the shortcut symbol on the image information.
[0502] For example, device a recognizes that the touch track of the stylus contains shortcut symbol A; after device b receives the icon information and shortcut symbol A, it will automatically enter the application store APP and download the APP corresponding to the image information.
[0503] In one embodiment, shortcut symbols may also be set to perform quick operations.
[0504] It is worth noting that the uplink signal of device a contains the device ID. The range of the uplink signal is relatively small, usually within 2 cm. Therefore, after the stylus receives the uplink signal, it can determine that the stylus is drawing on the device corresponding to the ID based on the ID in the uplink signal.
[0505] For example, Figure 11 As shown, Figure 11 The figure is a schematic diagram showing a cross-device text transmission according to an exemplary embodiment.
[0506] The user can use the stylus to long-press the text area displayed on device a; and draw a line to select the text information displayed in the text area to trigger device a to identify the text information as content to be shared; device a transmits the text information and ID to the stylus via uplink, and the stylus transmits the text information to device b via a downlink signal. In response to the received text information, device b stores the text information in the clipboard so that device b can copy the text information in device a to device b through a paste operation. It is worth noting that since text information contains less information, in addition to using Bluetooth transmission, it can also be transmitted through uplink signals and downlink signals. Generally, Bluetooth takes hundreds of milliseconds to transmit information, while uplink and downlink signal transmissions usually take tens of milliseconds, so text information can respond faster.
[0507] For example, a user can use a stylus to long-press an audio or video file on device A, triggering the device to identify the audio or video file as content to be shared. Device A then transfers the audio or video file to the stylus, which then transfers it to device B. After receiving the audio or video file, device B can automatically play it.
[0508] When the user wants to stop cross-device information interaction, the user can disconnect the Bluetooth connection between any of the two interacting devices and the stylus.
[0509] Since the stylus has obtained the IDs of the two devices during the initialization process and stored the correspondence between the two IDs and the devices, connection matching can be achieved.
[0510] In addition to the aforementioned Bluetooth and pen downlink signal transmission methods, cloud transmission, short-range communication links, NFC, or hotspots are also possible. Because uplink and downlink can determine which device the stylus is currently on, when transmitting interconnected information, only the device to which the stylus moves will be prompted. A single operation will not cause a prompt to appear on all devices logged into the same account, affecting the user experience.
[0511] The present disclosure provides an information sharing device, such as Figure 12 As shown, Figure 12 A schematic diagram of an information sharing device according to an exemplary embodiment Figure 1 The information sharing device can be applied to a first device, and the device includes:
[0512] The receiving module 1201 is configured to receive a first signal sent by a stylus connected to a first device; the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0513] The processing module 1202 is configured to prepare to share the to-be-shared content associated with the first touch operation in response to the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
[0514] Optionally, the processing module 1202 is further configured to perform one of the following:
[0515] sending a second signal carrying content to be shared to the stylus;
[0516] Send the content to be shared to the stylus via near field communication;
[0517] Sending the content to be shared to the stylus pen connected to multiple devices other than the first device; the content to be shared is shared by the second device when the second device is touched by the stylus pen;
[0518] The content to be shared is sent to the cloud server; the content to be shared in the cloud server is synchronized to the second device when the second device is touched by the stylus.
[0519] Optionally, the processing module 1202 is further configured to determine a sending method for the content to be shared according to the amount of information of the content to be shared; wherein different amounts of information of the content to be shared correspond to different sending methods.
[0520] Optionally, the processing module 1202 is further configured to perform one of the following:
[0521] If the amount of information of the content to be shared is less than a preset information amount threshold, sending a second signal carrying the content to be shared to the stylus;
[0522] If the amount of information of the content to be shared is greater than or equal to the information amount threshold, the content to be shared is sent to the stylus via short-range communication.
[0523] Optionally, the processing module 1202 is further configured to determine the content to be shared selected by the first touch operation in response to the first touch operation; the sharing operation corresponding to the content to be shared is executed by the second device when the second device touches the stylus; different types of content to be shared correspond to different sharing operations.
[0524] Optionally, if the content to be shared is image information, a prompt pop-up window associated with the image information is output by the second device when the second device touches the stylus; wherein the prompt pop-up window includes multiple operation options for the image information; or,
[0525] If the content to be shared is text information, the text information is stored in the clipboard by the second device when the second device and the stylus touch each other; or
[0526] If the content to be shared is audio information and / or video information, the audio information and / or video information is played by the second device when the second device touches the stylus.
[0527] Optionally, the processing module 1202 is further configured to:
[0528] When the content to be shared is image information, identifying a touch track of the stylus applied to the first device;
[0529] If the touch track includes a preset pattern, the image information and the preset pattern are determined as content to be shared; wherein, when the second device touches the image information, the second device performs an operation corresponding to the preset pattern.
[0530] The present disclosure provides an information sharing device, such as Figure 13 As shown, Figure 13 A schematic diagram of an information sharing device according to an exemplary embodiment Figure 2 The information sharing device can be applied to a stylus pen, and the device includes:
[0531] The sending module 1301 is configured to send a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0532] The sharing module 1302 is configured to instruct the second device to perform a sharing operation corresponding to the content to be shared on the first device when the stylus touches the second device; wherein the second device is connected to the stylus; and the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0533] Optionally, the sending module 1301 is further configured to receive a second signal sent by the first device, where the second signal carries the content to be shared; or receive the content to be shared sent by the first device based on a short-range communication method.
[0534] Optionally, the sharing module 1302 is further configured to:
[0535] Sending a third signal carrying the content to be shared to the second device; the third signal is at least used to instruct the second device to respond to the second touch operation of the stylus; or,
[0536] Sending a fourth signal to the second device; the fourth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or,
[0537] In response to sending a fifth signal to the second device, the content to be shared is sent to the second device via near field communication, wherein the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or
[0538] A sixth signal is sent to the second device; the sixth signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0539] Optionally, the sending module 1301 is further configured to determine a sending method for the content to be shared according to the amount of information of the content to be shared; wherein different amounts of information of the content to be shared correspond to different sending methods.
[0540] Optionally, the sending module 1301 is further configured to:
[0541] If the amount of information of the content to be shared is less than a preset information amount threshold, sending a third signal carrying the content to be shared;
[0542] If the amount of information of the content to be shared is greater than or equal to the information amount threshold, the content to be shared is sent via short-range communication.
[0543] The present disclosure provides an information sharing device, such as Figure 14 As shown, Figure 14 A schematic diagram of an information sharing device according to an exemplary embodiment Figure 3 The information sharing device can be applied to a second device, and the device includes:
[0544] The receiving module 1401 is configured to receive a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus;
[0545] The execution module 1402 is configured to execute a sharing operation corresponding to the content to be shared on the first device; wherein the content to be shared is determined by the first device in response to a first touch operation of the stylus.
[0546] Optionally, the receiving module 1401 is further configured to:
[0547] receiving a first signal sent by the stylus and carrying content to be shared; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus; or
[0548] Receive a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or,
[0549] receiving a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or
[0550] When receiving the content to be shared sent by the first device, a first signal sent by the stylus is received; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to complete the sharing operation corresponding to the content to be shared.
[0551] Optionally, the execution module 1402 is further configured to:
[0552] In response to a first signal sent by the stylus and carrying the content to be shared, performing a sharing operation corresponding to the content to be shared according to the content to be shared; or
[0553] In response to the first signal sent by the stylus, synchronizing the content to be shared from the cloud server and performing a sharing operation corresponding to the content to be shared; or
[0554] In response to a first signal sent by the stylus, receiving content to be shared sent by the stylus based on a near field communication method, and performing a sharing operation corresponding to the content to be shared; or
[0555] In response to the first signal sent by the stylus, performing a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device;
[0556] Different types of content to be shared have different corresponding sharing operations.
[0557] Optionally, the execution module 1402 is further configured to execute one of the following:
[0558] If the content to be shared is image information, the second device outputs a prompt pop-up window associated with the image information; the prompt pop-up window includes multiple operation options for the image information;
[0559] If the content to be shared is text information, the second device stores the text information in the clipboard; or,
[0560] If the content to be shared is audio information and / or video information, the second device plays the audio information and / or video information.
[0561] Optionally, the execution module 1402 is further configured to, when the content to be shared includes image information and a preset pattern, perform an operation corresponding to the preset pattern on the image information.
[0562] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0563] Figure 15 1 is a block diagram showing a structure of an apparatus 1500 according to an exemplary embodiment. For example, the apparatus 1500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0564] Reference Figure 15 , device 1500 may include one or more of the following components: a processing component 1502 , a memory 1504 , a power component 1506 , a multimedia component 1508 , an audio component 1510 , an input / output (I / O) interface 1512 , a sensor component 1514 , and a communication component 1516 .
[0565] Processing component 1502 generally controls the overall operation of device 1500, such as operations associated with at least one of display, phone calls, data communications, camera operation, and recording operations. Processing component 1502 may include one or more processors 1520 to execute instructions to perform all or part of the steps of the above-described method. In addition, processing component 1502 may include one or more modules to facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
[0566] The memory 1504 is configured to store various types of data to support operations on the device 1500. Examples of such data include at least one of the following: instructions for any application or method operating on the device 1500, contact data, phone book data, messages, pictures, and videos. The memory 1504 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0567] The power supply component 1506 provides power to the various components of the device 1500. The power supply component 1506 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1500.
[0568] The multimedia component 1508 includes a screen that provides an output interface between the device 1500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1508 includes a front camera and / or a rear camera. When the device 1500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0569] The audio component 1510 is configured to output and / or input audio signals. For example, the audio component 1510 includes a microphone (MIC), which is configured to receive external audio signals when the device 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, the audio component 1510 also includes a speaker for outputting audio signals.
[0570] I / O interface 1512 provides an interface between processing component 1502 and peripheral interface modules, such as a keyboard, click wheel, and buttons. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.
[0571] Sensor assembly 1514 includes one or more sensors for providing various aspects of device 1500 status assessment. For example, sensor assembly 1514 can detect the open / closed state of device 1500, the relative positioning of components, such as the display and keypad of device 1500. Sensor assembly 1514 can also detect changes in the position of device 1500 or a component thereof, the presence or absence of user contact with device 1500, the orientation or acceleration / deceleration of device 1500, and changes in the temperature of device 1500. Sensor assembly 1514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1514 can also include an optical sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 1514 can also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, and a temperature sensor.
[0572] The communication component 1516 is configured to facilitate communication between the device 1500 and other devices in a wired or wireless manner. The device 1500 can access a wireless network based on a communication standard, such as Wi-Fi, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 1516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 also includes an NFC module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, UWB technology, Bluetooth (BT) technology and other technologies.
[0573] In an exemplary embodiment, the device 1500 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0574] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1504 including executable instructions or a computer program. The instructions or computer program can be executed by the processor 1520 of the apparatus 1500 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0575] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform an information sharing method, the method comprising:
[0576] Receiving a first signal sent by a stylus connected to a first device; the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0577] In response to the first touch operation, content to be shared associated with the first touch operation is prepared for sharing; wherein the content to be shared is shared to the second device when the stylus touches the second device connected to the stylus.
[0578] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a stylus pen, enables the stylus pen to perform an information sharing method, the method comprising:
[0579] Sending a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus;
[0580] When the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device;
[0581] The second device is connected to the stylus; and the content to be shared is determined by the first device in response to a first touch operation of the stylus.
[0582] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform an information sharing method, the method comprising:
[0583] receiving a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus;
[0584] In response to the second touch operation, a sharing operation corresponding to the content to be shared of the first device is performed; wherein the content to be shared is determined by the first device in response to the first touch operation of the stylus.
[0585] The present disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the aforementioned information sharing methods of the present disclosure.
[0586] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0587] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information sharing method, characterized in that: The method comprises: receiving a first signal sent by a stylus connected to a first device; the first signal being used to at least instruct the first device to respond to a first touch operation of the stylus; In response to the first touch operation, prepare to share the to-be-shared content associated with the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
2. The method according to claim 1, characterized in that The preparing to share the content to be shared associated with the first touch operation includes at least one of the following: Sending a second signal carrying the content to be shared to the stylus; sending the content to be shared to the stylus via near field communication; Sending the content to be shared to multiple devices connected to the stylus except the first device; the content to be shared is shared by the second device when the second device is touched by the stylus; The content to be shared is sent to a cloud server; the content to be shared in the cloud server is synchronized to the second device when the second device is touched by the stylus.
3. The method according to claim 1 or 2, characterized in that The method further comprises: A sending method for the content to be shared is determined according to the information volume of the content to be shared; wherein different sending methods correspond to different information volumes of the content to be shared.
4. The method according to claim 3, characterized in that The preparing to share the content to be shared associated with the first touch operation includes at least one of the following: If the amount of information of the content to be shared is less than a preset information amount threshold, sending a second signal carrying the content to be shared to the stylus; If the information volume of the content to be shared is greater than or equal to the information volume threshold, the content to be shared is sent to the stylus via short-range communication.
5. The method according to claim 1, wherein The method further comprises: In response to the first touch operation, the content to be shared selected by the first touch operation is determined; the sharing operation corresponding to the content to be shared is executed by the second device when the second device touches the stylus; different types of content to be shared correspond to different sharing operations.
6. The method according to claim 5, characterized in that If the content to be shared is image information, a prompt pop-up window associated with the image information is output by the second device when the second device touches the stylus; wherein the prompt pop-up window includes multiple operation options for the image information; or, If the content to be shared is text information, the text information is stored in a clipboard by the second device when the second device and the stylus touch each other; or If the content to be shared is audio information and / or video information, the audio information and / or the video information is played by the second device when the second device touches the stylus.
7. The method according to claim 6, characterized in that The method further comprises: In a case where the content to be shared is image information, identifying a touch trajectory of the stylus on the first device; If the touch track includes a preset pattern, the image information and the preset pattern are determined as the content to be shared; wherein, when the second device touches the stylus, the second device performs an operation corresponding to the preset pattern on the image information.
8. An information sharing method, characterized in that: The method comprises: Sending a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus; When the stylus touches the second device, instructing the second device to perform a sharing operation corresponding to the content to be shared on the first device; The second device is connected to the stylus; and the content to be shared is determined by the first device in response to a first touch operation of the stylus.
9. The method according to claim 8, characterized in that After sending the first signal, the method further includes: receiving a second signal sent by the first device, where the second signal carries the content to be shared; or Receive the content to be shared sent by the first device based on the short-range communication method.
10. The method according to claim 8 or 9, characterized in that When the stylus touches the second device, instructing the second device to execute a sharing operation corresponding to the content to be shared on the first device includes: Sending a third signal carrying the content to be shared to the second device; the third signal is at least used to instruct the second device to respond to the second touch operation of the stylus; or, Sending a fourth signal to the second device; the fourth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or, In response to sending a fifth signal to the second device, sending the content to be shared to the second device via near field communication, wherein the fifth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or A sixth signal is sent to the second device; the sixth signal is at least used to instruct the second device to respond to the second touch operation of the stylus and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
11. The method according to claim 10, characterized in that The method further comprises: A sending method for the content to be shared is determined according to the information volume of the content to be shared; wherein different sending methods correspond to different information volumes of the content to be shared.
12. The method according to claim 11, characterized in that The sending a third signal carrying the content to be shared to the second device includes: If the amount of information of the content to be shared is less than a preset information amount threshold, sending the third signal carrying the content to be shared; The sending the content to be shared to the second device by using a short-range communication method includes: If the information volume of the content to be shared is greater than or equal to the information volume threshold, the content to be shared is sent via short-range communication.
13. An information sharing method, characterized in that: The method comprises: receiving a first signal sent by a stylus connected to a second device; the first signal is at least used to instruct the second device to respond to a second touch operation of the stylus; In response to the second touch operation, a sharing operation corresponding to the content to be shared of the first device is performed; wherein the content to be shared is determined by the first device in response to the first touch operation of the stylus.
14. The method according to claim 13, characterized in that The receiving a first signal sent by a stylus connected to the second device includes: receiving a first signal sent by the stylus pen and carrying the content to be shared; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus pen; or receiving a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to synchronize the content to be shared from the cloud server; or receiving a first signal sent by the stylus; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus and instruct the second device to receive the content to be shared sent by the stylus; or Upon receiving the content to be shared sent by the first device, a first signal sent by the stylus is received; the first signal is at least used to instruct the second device to respond to the second touch operation of the stylus, and to instruct the second device to complete the sharing operation corresponding to the content to be shared.
15. The method according to claim 14, characterized in that The executing, in response to the second touch operation, a sharing operation corresponding to the content to be shared on the first device includes: In response to a first signal sent by the stylus and carrying content to be shared, performing a sharing operation corresponding to the content to be shared according to the content to be shared; or In response to the first signal sent by the stylus, synchronizing the content to be shared from a cloud server and performing a sharing operation corresponding to the content to be shared; or In response to the first signal sent by the stylus, receiving the content to be shared sent by the stylus based on a near field communication method, and performing a sharing operation corresponding to the content to be shared; or In response to the first signal sent by the stylus, performing a sharing operation corresponding to the content to be shared according to the content to be shared sent by the first device; Different types of content to be shared correspond to different sharing operations.
16. The method according to any one of claims 13 to 15, characterized in that The performing of the sharing operation corresponding to the content to be shared includes one of the following: If the content to be shared is image information, the second device outputs a prompt pop-up window associated with the image information; the prompt pop-up window includes multiple operation options for the image information; If the content to be shared is text information, the second device stores the text information in a clipboard; or, If the content to be shared is audio information and / or video information, the second device plays the audio information and / or the video information.
17. The method according to claim 16, characterized in that The performing of the sharing operation corresponding to the content to be shared further includes: In a case where the content to be shared includes image information and a preset pattern, an operation corresponding to the preset pattern is performed on the image information.
18. An information sharing device, characterized in that: include: a receiving module configured to receive a first signal sent by a stylus connected to a first device; The first signal is at least used to instruct the first device to respond to a first touch operation of the stylus; The processing module is configured to prepare to share the to-be-shared content associated with the first touch operation in response to the first touch operation; wherein the to-be-shared content is shared to the second device when the stylus touches the second device connected to the stylus.
19. An information sharing device, characterized in that: include: a sending module configured to send a first signal to a first device connected to the stylus; wherein the first signal is at least used to instruct the first device to respond to a first touch operation of the stylus; A sharing module is configured to instruct a second device to perform a sharing operation corresponding to the content to be shared by the first device when the stylus touches the second device; wherein the second device is connected to the stylus; and the content to be shared is determined by the first device in response to the first touch operation of the stylus.
20. An information sharing device, characterized in that: include: a receiving module configured to receive a first signal sent by a stylus connected to a second device; The first signal is at least used to instruct the second device to respond to a second touch operation of the stylus; The execution module is configured to execute a sharing operation corresponding to the content to be shared on the first device; wherein the content to be shared is determined by the first device in response to a first touch operation of the stylus.
21. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the information sharing method according to any one of claims 1 to 7 or 13 to 17 when executing the executable instructions stored in the memory.
22. A touch pen, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the information sharing method according to any one of claims 8 to 12 when executing the executable instructions stored in the memory.
23. A non-transitory computer-readable storage medium, which, when instructions in the storage medium are executed by a processor, can perform the steps of the information sharing method according to any one of claims 1 to 7, 8 to 12, or 13 to 17.
24. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the information sharing method according to any one of claims 1 to 7, 8 to 12, or 13 to 17 can be performed.