CN111800890B - Processing method and input device - Google Patents
Processing method and input device Download PDFInfo
- Publication number
- CN111800890B CN111800890B CN202010624138.4A CN202010624138A CN111800890B CN 111800890 B CN111800890 B CN 111800890B CN 202010624138 A CN202010624138 A CN 202010624138A CN 111800890 B CN111800890 B CN 111800890B
- Authority
- CN
- China
- Prior art keywords
- target
- signal
- input device
- target data
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 44
- 230000005540 biological transmission Effects 0.000 claims abstract description 112
- 230000008859 change Effects 0.000 claims description 66
- 238000000034 method Methods 0.000 claims description 29
- 238000004891 communication Methods 0.000 claims description 28
- 230000004044 response Effects 0.000 claims description 20
- 238000012546 transfer Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000012795 verification Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000009365 direct transmission Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a processing method and an input device, wherein in the processing method, a first device obtains a transmission instruction for target data by responding to target operation of the input device connected with the first device, and after the transmission instruction is obtained, the first device transmits the target data to a target second device by utilizing connection with the target second device. Therefore, by utilizing the scheme of the application, two different devices (such as the first device and the second device) can realize direct data transmission through the connection between the two devices based on the target operation of the input device, and can conveniently, efficiently and quickly carry out direct data transmission across devices without a network or a mobile storage medium.
Description
Technical Field
The application belongs to the field of cross-device information interaction, and particularly relates to a processing method and input equipment.
Background
When using a terminal device such as a computer, one possible scenario is that multiple devices are required, i.e. a multiple device application scenario, such as a user may need to use two computers for office work or game play, etc.
In the above-mentioned multi-device application scenario, there is often a need to interact data between different devices, which usually uses a network or a mobile storage medium, and it is important to quickly implement a function and experience of direct connection and interconnection of data between systems of different devices, so it is necessary in the art to provide an efficient implementation scheme capable of implementing direct connection and interconnection of data across devices.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
a processing method applied to a first device, the method comprising:
responding to target operation of input equipment connected with the first equipment, and obtaining a transmission instruction of target data;
transmitting the target data to a target second device using a connection with the target second device; wherein the target second device is in a state operable in response to the input device at least after the target data transmission.
Preferably, the method, the obtaining a transmission instruction for the target data includes:
obtaining a first key signal of the input device; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device;
generating the transmission instruction based on the first key signal;
or,
obtaining a position change signal of a corresponding control position of the input device on the first device; the position change signal is: when the first device is in a state of selecting the target data, signals generated by changing corresponding control positions of the input device on the first device;
And if the position change signal meets a first position change condition in at least one position change condition, generating the transmission instruction.
The above method, preferably, further includes, before the transmitting the target data to the target second device using a wireless connection with the target second device:
determining the target second device;
wherein said determining said target second device comprises:
determining a target second device according to the configuration information; or,
determining the target second equipment according to the attribute parameters of the first key signals; or,
and determining the target second device according to the first position change condition met by the position change signal, wherein different position change conditions correspond to different second devices.
The above method, preferably, further includes, before the transmitting the target data to the target second device using a wireless connection with the target second device:
switching to a state that is not responsive to a first type of operation or a first type of signal of the input device, wherein the first type of operation or the first type of signal comprises: an operation or signal for switching to a selected state and/or changing position.
The method, preferably, further includes, before transmitting the target data to the target second device:
if the communication connection is not established with the target second equipment, broadcasting a request signal of a connection request;
accepting a connection establishment operation with the first device performed by the target second device based on the response to the request signal; the target second device responds to the request signal based on a connection event between the input device and the target second device.
The above method, preferably, further includes, after obtaining the transmission instruction for the target data:
controlling the first equipment to switch from a current first state to a second state;
the power consumption of the device corresponding to the second state is lower than that of the device corresponding to the first state, and the second state at least enables the first device to transmit the target data.
A processing method applied to an input device, the processing method comprising:
detecting a target operation of the input device and generating a corresponding operation signal;
transmitting the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction;
And at least after the first equipment completes the transmission of the target data to the target second equipment based on the transmission instruction, the first equipment is in a state capable of controlling the target second equipment.
The above method, preferably, further includes, after the transmitting the operation signal to the first device:
determining a target second device and establishing a connection with the target second device;
wherein the determining the target second device comprises:
determining the target second equipment according to the configuration information; or,
determining the target second equipment according to the attribute parameters of the first key signals; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device; or,
determining a target second device according to the indication information sent by the first device; the indication information is generated by the first equipment according to a first position change condition met by a position change signal of the control position of the input equipment on the first equipment; the different change of position conditions correspond to different second devices.
An input device, comprising:
a first memory for storing at least one set of instructions;
A first processor for invoking and executing the set of instructions in the first memory by executing the set of instructions to:
detecting a target operation of the input device and generating a corresponding operation signal;
transmitting the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction;
and at least after the first equipment completes the transmission of the target data to the target second equipment based on the transmission instruction, the first equipment is in a state capable of controlling the target second equipment.
The above input device, preferably, further comprises:
the first connecting device is used for being arranged on the input equipment;
the plurality of second connecting devices are arranged on the plurality of electronic devices one by one;
the input equipment is connected with the electronic equipment in a communication way based on the first connecting device and a second connecting device arranged in the electronic equipment;
different electronic devices can realize data mutual transmission among different electronic devices based on the second connecting devices respectively arranged.
As can be seen from the above, the present application provides a processing method and an input device, where in the processing method, a first device obtains a transmission instruction for target data by responding to a target operation of an input device connected thereto, and after obtaining the transmission instruction, transmits the target data to a target second device by using a connection with the target second device. Therefore, by utilizing the scheme of the application, two different devices (such as the first device and the second device) can realize direct data transmission through the connection between the two devices based on the target operation of the input device, and can conveniently, efficiently and quickly carry out direct data transmission across devices without a network or a mobile storage medium.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a processing method applied to a first device according to an embodiment of the present application;
FIG. 2 is another flowchart of a processing method applied to a first device according to an embodiment of the present application;
FIG. 3 is an exemplary diagram of a second device for determining a target based on changing a control position of an input device at a first device, provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of three PCs controlled by a mouse according to an embodiment of the present application;
FIG. 5 is a flowchart of a processing method applied to a first device according to an embodiment of the present application;
FIG. 6 is a further flowchart of a processing method applied to a first device provided in an embodiment of the present application;
FIG. 7 is a further flowchart of a processing method applied to a first device according to an embodiment of the present application;
FIG. 8 is a flowchart of a processing method applied to an input device according to an embodiment of the present application;
FIG. 9 is another flowchart of a processing method applied to an input device according to an embodiment of the present application;
FIG. 10 is a flowchart of a processing method applied to an input device according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an input device according to an embodiment of the present application;
FIG. 12 is a schematic diagram of another configuration of an input device according to an embodiment of the present application;
Fig. 13 is a schematic structural diagram of a first device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a second apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a processing system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a processing method and an input device, which are used for realizing cross-device data direct transmission between different electronic devices efficiently and conveniently without a network or a mobile storage medium (in the application, data direct transmission refers to data transmission between a source device and a target device without any intermediate device such as a network device or a mobile storage medium).
In an alternative embodiment, a processing method applicable to a first device is disclosed, where the first device may be, but is not limited to, an electronic device such as a notebook computer, a desktop computer, or an all-in-one machine. The flow chart of the processing method applicable to the first device is shown in fig. 1, and may include the following processing steps:
and step 101, responding to target operation of input equipment connected with the first equipment, and obtaining a transmission instruction of target data.
Alternatively, the input device may be a mouse of an electronic device such as a notebook computer, a desktop computer, or an all-in-one computer, for example, a wireless mouse or a wired mouse.
The input device may establish a communication connection with the first device based on a wired or wireless manner to enable information input or operation control of the first device. In the wireless connection mode, the input device is provided with a first connecting device and a second connecting device which can be paired with each other, wherein the first connecting device can be arranged on the input device, and the second connecting device is arranged on the first device, so that communication connection is established between the input device and the first device based on the connecting devices respectively arranged or installed on the input device and the first device. The first connection device and the second connection device may be, but are not limited to, bluetooth/Wi-Fi wireless transceivers respectively used on a control side (mouse side) and a controlled side (PC side), and in practical application, alternatively, the first connection device and the second connection device may be respectively implemented as pluggable USB (Universal Serial Bus ) product forms, such as USB dongle, based on which the first connection device and the second connection device may be respectively disposed in electronic devices such as an input device or a first device in a plugging manner.
As an alternative embodiment, the target operation of the input device may be a key operation of a first key (a key or a combination of keys) of the input device by the user in a case where the target data is in a selected state in the first device, and the input device generates and transmits, to the first device, a first key signal for indicating cross-device data transmission of the target data based on the operation.
The target data in the first device is in the selected state, and it is necessary to take the premise that the target data in the first device is switched from the unselected state to the selected state, where the target data is switched from the unselected state to the selected state, and may be operated by the input device or may be operated by an input device of the first device, and the input device of the first device may specifically include, but is not limited to, a notebook keyboard, a touchpad, a pointing stick, and the like.
In implementation, a specific key for triggering the first device to perform data transmission may be added to an input device such as a mouse as the first key, for example, a key (a mouse side key) may be set on the left side or the right side of the mouse, so that when the target data in the first device is in a selected state, the key may be operated (such as clicking, double clicking or long pressing) to trigger a cross-device transmission instruction signal for the target data in the selected state, that is, the first key signal.
Accordingly, in this embodiment, the first device may receive the first key signal of the input device, and obtain (e.g., generate or trigger) a transmission instruction for the target data based on the received first key signal, so as to implement a response to the target operation of the input device.
In another alternative embodiment, the target operation of the input device may also be an operation performed by the user on the input device to change the control position of the input device in the first device in the case where the target data is in the selected state in the first device, and this operation may be, for example, specifically, an operation of dragging the mouse pointer to a certain screen edge of the display screen of the first device in the case where the target data is selected, and the input device generates and transmits a position change signal to the first device based on this operation.
Accordingly, in this embodiment, the first device may obtain a position change signal for the corresponding control position of the input device on the first device; and obtaining (e.g., generating or triggering) a transmission instruction for the target data in case the received position change signal satisfies a first position change condition of the at least one position change condition.
The position change condition may be, but is not limited to, set to: and moving the control position of the input device at the first device from the position where the target data in the selected state is located to a certain edge of the display screen of the first device, or moving the control position of the input device at the first device from the position where the target data in the selected state is located to a position where the distance from the certain edge of the display screen of the first device is smaller than a set threshold value.
Different position change conditions may correspond to edges of the display screen in different directions, respectively.
Based on such a design of different location change conditions, the user may, in case of selecting the target data on the first device, enable input of a location change signal to the first device for indicating transmission of the target data to the respective second device by dragging the mouse pointer to an edge of the respective direction of the display screen of the first device.
The target data may be, but is not limited to, any type or form of data on the first device, such as files/document collections, folders, pictures, videos, application installation packages, and the like.
Step 102, transmitting the target data to a target second device by using a connection between the target second device and the target second device; wherein the target second device is in a state operable in response to the input device at least after the target data transmission.
The connection between the first device and the target second device may be a wired connection or a wireless connection, for example, the wireless connection is established between the first device and the target second device through a bluetooth module or a Wi-Fi module respectively provided in the first device and the target second device, and the connection between the first device and the target second device may be pre-established, or the connection may be established in real time when the first device generates the above transmission instruction and needs to transmit the target data to the target second device, which is not limited herein.
The first device, after responding to the target operation of the input device connected with the first device, obtains a transmission instruction of target data, responds to the instruction, and transmits the target data to the target second device based on the connection with the target second device, such as wired connection or Bluetooth, wi-Fi and other wireless connection, without the aid of a network or a mobile storage medium.
And, at least after transmitting the target data to the target second device, the target second device is in a state operable in response to the input device.
The device to which the target data is to be transferred, such as the target second device, generally represents a new operation target of the input device, such as a mouse, and in this embodiment, after the target data is transferred to the target second device, the target second device is placed in a state capable of responding to the operation of the input device, so that it is ensured that at least a corresponding operation can be performed on the target data on the target second device by using the input device, for example, the target data is stored in a corresponding position of the target second device, the target data is used on the target second device, or an editing operation is performed on the target data.
In implementation, at any time in a period from when the first device is to transmit target data to the target second device until the target data is transmitted, the first device has the use right to the input device and the second device has the use right to the input device is transferred through the transfer of the use right to the input device, so that at least after the target data is transmitted, the target second device is in a state capable of responding to the operation of the input device. Preferably, the usage right of the input device may be transferred to the target second device when the first device is to start transmitting the target data to the target second device.
According to the scheme of the embodiment, in the scene of performing one-to-many operation control on a plurality of electronic devices (such as a plurality of PCs) by utilizing one input device such as a mouse, the cross-device data transmission among different electronic devices can be realized conveniently, efficiently and rapidly, and the use right of the input device by each electronic device can be transferred due to the data transmission, so that at least the use right of the input device can be ensured after the data receiving of the electronic device of a data receiving party is completed. The transfer of the usage rights of different electronic devices to the input device can also enable only one electronic device to be in a state capable of responding to the operation of the input device at each specific moment in the one-to-many operation control scene, so that the disorder of operation control in the scene is avoided.
In summary, in the processing method provided by the application, the first device obtains a transmission instruction for target data by responding to a target operation of an input device connected with the first device, and transmits the target data to the target second device by utilizing a connection with the target second device after obtaining the transmission instruction. Therefore, by utilizing the scheme of the application, two different devices (such as the first device and the second device) can realize direct data transmission through the connection between the two devices based on the target operation of the input device, and can conveniently, efficiently and quickly carry out direct data transmission across devices without a network or a mobile storage medium.
The data transmission from the first device to the target second device needs to be based on determining the target second device, for example, for a control scenario of a mouse to a plurality of PCs, determining a target PC for receiving data from other PCs except for a PC currently used for transmitting data, and thus, in an optional embodiment, as shown in fig. 2, the above-mentioned processing method applied to the first device may further include the following processing before the step 102—before the target data is transmitted to the target second device by using a wireless connection with the target second device:
step 201, determining the target second device;
in practical applications, the number of the second devices may be one or more, and for example, in a scenario in which a plurality of PCs are operation-controlled with a mouse, at least one other PC (second device) such as PC2 or PC3 may be included in addition to PC1 (first device) serving as a data sender.
In determining the target second device, the target second device for receiving the data may optionally be determined from the at least one second device based on pre-configured configuration information. The configuration information may include, but is not limited to, preset data transmission and reception relationship information between different electronic devices, and illustratively, taking a scenario of using a mouse to perform operation control on three PCs as an example, the data transmission and reception relationship information may be set as follows:
PC1→PC2→PC3→PC1;
In the above-described data transmission-reception relationship information, pointing from one device to another device based on an arrow means that data on the one device can be transmitted to the other device. Based on the configured transceiving relation information, for the case that the first device of the data to be sent currently is any device of the PC1, the PC2 and the PC3, the target second device for receiving the data can be uniquely determined, for example, if the first device of the data to be sent currently is the PC3, the target second device can be determined to be the PC1, and based on the configuration, any device of the PC1, the PC2 and the PC3 can send the data to any other device required, for example, taking the PC1 to transmit the data to the PC3 as an example, the data can be transmitted from the PC1 to the PC3 based on the data direct transmission between the PC1 and the PC2 to the PC3, and in the process, the right of use of the input device such as a mouse can be transferred from the PC1 to the PC2 along with the data transmission, and then transferred from the PC2 to the PC3.
In another alternative embodiment, the target second device may also be determined according to the attribute parameter of the first key signal.
The attribute parameter of the first key signal may include, but is not limited to, a signal type of the first key signal, and the signal type of the first key signal may include, but is not limited to, a single click, a double click, a long press, and the like.
In this embodiment, the correspondence between different signal types of the first key and different second devices may be preset, and still taking the above scenario of using a mouse to perform operation control on three PCs as an example, for example, the correspondence between different signal types of the first key and different second devices may be set as follows:
clicking: PC1;
double-click: PC2;
long pressing: PC3;
therefore, when the target data on the PC1 or the PC2 needs to be transmitted to the PC3, the user can perform long-press operation on the first key of the input device such as the mouse, for example, long-press the mouse side key, under the condition that the target data on the PC1 or the PC2 is in the selected state, so as to send a first key signal for indicating that the target data is transmitted to the PC3 to the PC1 or the PC2, and the PC1 or the PC2 can correspondingly determine that the PC3 is the target second device based on the long-press signal type of the first key signal.
In another alternative embodiment, the first device may further determine the target second device according to a first location change condition satisfied by a location change signal of the control location of the input device on the first device, wherein different location change conditions correspond to different second devices.
As described above, the different position change conditions may correspond to edges of the display screen in different directions, respectively, when the user changes the control position of the input device at the first device to the edge of the specific direction of the display screen of the first device under the condition that the target data is in the selected state on the first device, for example, drags the mouse pointer to move to the edge of a certain direction of the display screen, the first device may detect the position change signal generated by the operation, and determine whether the detected position change signal meets a certain condition of the respective position change conditions, where, when it is determined that the first position change condition corresponding to the direction of the edge is met, the target second device corresponding to the first position change condition may be further determined based on the corresponding relationship between the respective position change condition and the second device.
Taking a scenario of using a mouse to perform operation control on three PCs as an example, referring to fig. 3, edges in the left, right, and upper directions of the PC display screen may be set to correspond to PC1, PC2, and PC3, respectively, that is:
left edge: PC1;
right edge: PC2;
upper edge: PC3;
based on the above setting, the target second device that needs to receive the target data can be designated to the first device by dragging the mouse pointer to move to the corresponding edge (or to move close to the corresponding edge) in a state that the first device is in the state of selecting the target data.
In addition, in implementation, only the left edge and the right edge of the display screen may be adopted, and the corresponding relationship between the different edges and the different second devices may be dynamically determined in combination with the left and right layout positions of the electronic devices, and as illustrated in fig. 4, the second device adjacent to the corresponding edge of the first device in the layout positions may be used as the target second device corresponding to the edge, where in the case that the PC1 is the first device for sending target data, when the PC1 selects the target data and moves the mouse pointer to the right edge of the PC1, the PC2 nearest to the edge may be used as the target second device, and in the case that the PC2 is the first device for sending target data, when in the case that the PC2 selects the target data and moves the mouse pointer to the right edge of the PC2, the PC3 nearest to the edge may be dynamically used as the target second device accordingly.
In practical application, for any implementation manner, a user may perform specific corresponding information configuration based on actual requirements, for example, configuring data transceiving relationship information between different PCs, configuring corresponding relationships between different signal types of a first key and different second devices, or configuring corresponding relationships between different edge/different position changing conditions of a display screen in different directions and different second devices.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 5, in step 102, before transmitting the target data to the target second device by using the wireless connection with the target second device, the processing method applied to the first device may further include:
step 501, switching the first device to a state that is not responsive to the first type of operation or the first type of signal of the input device.
Wherein the first type of operation or first type of signal comprises at least: an operation or signal for switching to a selected state and/or changing position. The switching to the selected state may specifically include, but is not limited to, switching a corresponding object (such as a document, an application installation package, etc.) on the first device from the unselected state to the selected state; the changing of the position may particularly refer to changing a control position of the input device on the first device.
Further, the first type of operation or the first type of signal may refer to an operation of inputting information, controlling operation, and the like to the first device by using the input device or a signal generated by such an operation.
The connection between the first device and the input device is interrupted, so that the first device is switched to a state incapable of responding to the first type operation or the first type signal of the input device.
In implementation, the connection between the first device and the input device may be interrupted by, for example, disconnecting a communication connection channel between the first device and the input device, such as disconnecting a bluetooth connection between the first device and the input device (and subsequently, when the input device needs to be switched back to the first device, the bluetooth connection may be re-connected to the first device based on the history pairing record), where the connection between the first device and the input device is interrupted, but the communication connection channel between the first device and the input device may be maintained, and the response of the first device to the first type operation or the first type signal of the input device may be interrupted, so as to realize the interruption of the connection between the first device and the input device, and further realize the switching of the first device to a state incapable of responding to the first type operation or the first type signal of the input device.
It should be noted that the first type of operation or the first type of signal does not include the operation that the input device switches back from the other device (such as the target second device) to the first device, so that the first device has the right to use the input device again, that is, after performing the state switch provided in this step 501, the first device can still respond to the corresponding operation that the input device switches back to the first device, for example, a connection request sent to the first device when the input device switches back to the first device (corresponding to a case of disconnecting a communication connection channel between the first device and the input device), or can respond to a stop interrupt indication signal sent to the first device when the input device switches back to the first device (corresponding to a case of maintaining the communication connection channel between the first device and the input device, but blocking the first device from responding to the first type of operation/signal), so that the first device has the right to use the input device again.
In this embodiment, before the target data is transmitted to the target second device, by switching the first device to a state incapable of responding to the first type operation or the first type signal of the input device, the situation that the first device and the target second device can respond to the first type operation or the first type signal of the input device simultaneously when the target second device obtains the right to use the input device can be avoided, and accordingly, the occurrence of operation/control disorder phenomenon in the one-to-many control scene of the input device and the electronic device is avoided.
The first device transmits the target data to the target second device on the premise that a communication connection is established between the first device and the target second device, so in an alternative embodiment, referring to a flowchart of a processing method shown in fig. 6, the processing method applied to the first device may further include, before step 102—before transmitting the target data to the target second device by using a wireless connection with the target second device:
step 601, if communication connection is not established with the target second device, broadcasting a request signal of a connection request;
step 602, accepting a connection establishment operation between the target second device and the first device, which is performed based on the response to the request signal; the target second device responds to the request signal based on a connection event between the input device and the target second device.
When the first device needs to transmit target data to the target second device, if the first device does not establish a communication connection with the second device, the first device can broadcast a request signal of a connection request outwards, and each second device receives the signal broadcast by the first device.
In addition, as described above, when the first device is to start transmitting the target data to the target second device, the transfer of the usage right of the first device and the target second device to the input device may be performed, in the transfer process of the usage right, the input device may specifically send a connection request (such as a bluetooth connection request) to the target second device or send an indication of terminating the connection interrupt to the target second device, so that the connection with the target second device is established or restored, based on which, after the plurality of second devices receive the above request signals broadcast by the first device, the target second device may learn that the target second device itself is the receiving device based on the current connection event between the target second device and the input device, so that the communication connection with the first device may be established in response to the request signal broadcast by the first device based on the current connection event between the target second device, and other second devices may not respond to the request signal broadcast by the first device because no connection event with the input device occurs currently.
It is easy to understand that the connection event between the target second device and the input device may refer to an event that the target second device and the input device currently occur to establish a connection channel (the input device establishes a connection with the target second device based on the historical pairing information with the target second device), or may refer to an event that the connection between the target second device and the input device is stopped and interrupted (i.e. a communication connection channel is maintained between the target second device and the input device all the time, but the target second device is switched from a state that cannot respond to the first type operation/first type signal of the input device to a state that can respond to the first type operation/first type signal of the input device).
The first device and the target second device can realize direct data transmission between the first device and the target second device based on second connection devices, such as a Bluetooth wireless transceiver or a Wi-Fi wireless transceiver, which are respectively installed and provided by the input device and used for a controlled side (PC side), namely, different devices such as the first device and the second device can realize connection interaction with the input device based on the second connection devices provided by the input device, and can realize direct data transmission between the first device and the target second device based on the second connection devices provided by the input device. Of course, the connection means employed in the direct transfer of data across devices between different devices is not limited to being provided by the input device, and is not limited in this regard.
In implementation, when the first device needs to transmit target data to the target second device, if the first device does not establish a communication connection with the target second device, the first device may specifically control a connection device (such as a bluetooth or Wi-Fi wireless transceiver for a PC side provided by an input device) installed in the first device to start an AP (Access Point) mode, and broadcast a request signal of a connection request in the mode, so as to find the target second device outwards, and when each second device receives the broadcast request signal, determine whether to respond to the signal based on whether a connection event with the input device occurs currently, where if a connection event with the input device occurs currently in a certain second device, the device responds to the received request signal based on the connection event and accesses the AP of the first device, otherwise, does not respond.
The first device may accept the target second device to establish a connection with the first device based on a connection establishment operation with the first device performed in response to the request signal, and then may send the target data to the target second device further based on the established connection.
Optionally, in another embodiment, when the first device needs to send the target data to the target second device, before the first device interrupts the connection with the input device, a verification information (such as a pin code) may also be transmitted to the input device, where the input device submits the verification information to the target second device when a connection event with the target second device occurs based on the transfer of the usage right, and subsequently, when the first device transmits the data, it may first verify whether the first device is the target second device based on the verification code provided by the second device, and if the verification passes, the target data is transmitted to the first device, and this processing manner implements a protection mechanism, and does not cause a non-designated device (such as other second device other than the target second device) to receive the target data due to the erroneous transmission.
According to the method, when the first device is connected with the target second device through starting the AP mode and transmits data to the target second device, alternatively, after the data transmission process of the first device to the target second device is finished or after waiting for a preset time period after the data transmission process is finished, a connection channel between the first device and the target second device is disconnected, so that the unidirectional data transmission mode between the first device and the target second device in a control scene of the input device to a plurality of electronic devices is released, the two devices are not limited in the unidirectional data transmission mode any more, and when the first device is required to transmit data to the corresponding second device in the pair of multi-control scenes, or the corresponding second device is required to transmit data to the receiving side, the receiving side can start the data transmission process again based on the data transmission mode and the AP mode to the receiving side. However, the connection may be disconnected at other time, for example, when the target second device needs to transmit data to the first device, the connection may be temporarily disconnected, and the first device may be connected to the target second device based on the AP mode initiated by the target second device.
In this embodiment, the target second device is set to respond to the connection request signal broadcast by the first device based on the current connection event with the input device, or the protection mechanism based on the verification code is set, so that the target second device can further receive the target data, and the phenomenon that the non-designated device (such as other second devices except the target second device) receives the target data is avoided.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 7, the processing method applied to the first device, after step 101—after obtaining the transmission instruction for the target data, may further include:
step 701, controlling the first device to switch from a current first state to a second state;
the power consumption of the device corresponding to the second state is lower than that of the device corresponding to the first state, and the second state at least enables the first device to transmit the target data.
The first state is a normal running state of the first device, and the second state may be, but is not limited to, a standby state, which has lower power consumption than the first state of the first device, but still ensures that the first device normally transmits data to the target second device.
In implementation, the first device may be selected to switch from the current first state to the second state at any time before, after or during the transmission of the target data to the second device, and the state switching time of the first device is not limited in this embodiment.
According to the method and the device, after the first device obtains the transmission instruction of the target data, the first device is switched from the current first state to the second state, and on the premise that the first device can normally transmit the data to the target second device, the device power consumption of the first device is further saved.
The embodiment of the present application also discloses a processing method applicable to an input device, for example, a mouse of an electronic device such as a notebook computer, a desktop computer, an all-in-one machine, etc., such as a wired or wireless mouse, etc., and a flow chart of the processing method applicable to an input device is shown in fig. 8, which may include the following processing steps:
step 801, detecting a target operation on the input device, and generating a corresponding operation signal.
The target operation is an operation for instructing the first device to cross-device data transfer of the target data. More specifically, the target operation is an operation for instructing the first device to transmit target data to the target second device.
Alternatively, the detecting the target operation on the input device and generating the corresponding operation signal may be detecting an operation of a first key of the input device by the user when the first device is in a state of selecting the target data, and generating the first key signal.
The first key may be a key or a combination of keys on the input device, for example, a key disposed on the left or right side of the mouse, i.e., the mouse side key described above.
Alternatively, the detection of the target operation on the input device and the generation of the corresponding operation signal may be further that the detection of the position change operation on the input device by the user when the first device is in the state of selecting the target data and the generation of the position change signal of the input device.
Specifically, for example, an operation of dragging the mouse pointer to the edge of the display screen when the target data on the first device is in the selected state is detected, and a corresponding position change signal is generated when the operation is detected.
Step 802, sending the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction.
After the input device detects a target operation performed thereon by the user and generates a corresponding operation signal, the input device further transmits the operation signal to the first device.
The operation signal may be the first key signal or the position change signal described above, and in the case where the operation signal is the first key signal, the first device may determine the target second device based on the attribute parameter of the received first key signal, such as a signal type of one click, two clicks, long press, etc., and generate a transmission instruction for instructing transmission of the target data to the target second device, and then complete transmission of the target data to the target second device based further on the instruction.
In the case that the operation signal is a position change signal, the first device determines whether the position change signal satisfies a corresponding position change condition of at least one position change condition, and in the case that the first position change condition is determined to be satisfied, determines that the second device corresponding to the first position change condition is a target second device, generates a transmission instruction for instructing transmission of target data to the target second device accordingly, and then completes transmission of the target data to the target second device based on the instruction further.
The input device is in a state capable of controlling the target second device at least after the first device finishes transmitting the target data to the target second device based on the transmission instruction. In practice, the input device may be in a state to control the target second device at least after the first device completes transmitting the target data to the target second device by transferring the usage right between the first device and the target second device.
Preferably, the input device may interrupt the connection with the first device and generate a connection event with the target second device before the first device transmits the target data to the target second device so as to be in a state of being able to control the target second device.
The input device interrupting connection with the first device may refer to disconnecting a communication connection path with the first device, such as disconnecting a bluetooth connection between the two, or the like, or may refer to maintaining a communication connection path between the two, but blocking a response of the first device to a first type of operation or a first type of signal of the input device.
The connection event between the input device and the target second device may refer to establishing a communication connection channel with the target second device, such as establishing a bluetooth connection, a Wi-Fi connection, etc., or may refer to stopping connection interruption between the input device and the target second device, that is, always maintaining the communication connection channel between the input device and the target second device, but the target second device is switched from a state that cannot respond to the first type operation/first type signal of the input device to a state that can respond to the first type operation/first type signal of the input device.
The first type of operation or first type of signals of the input device are specifically referred to above in the description of the corresponding embodiments and will not be described in detail.
By using the scheme of the embodiment, two different devices (such as the first device and the second device) can realize direct data transmission through connection between the two devices based on the first operation of the input device, and can realize convenient, efficient and quick direct data transmission across devices without using a network or a mobile storage medium.
In an alternative embodiment, referring to the flowchart of the processing method shown in fig. 9, the above processing method applied to the input device may further include, after sending the operation signal to the first device in step 802:
step 901, determining a target second device, and establishing a connection with the target second device.
Wherein, optionally, the target second device may be determined based on the configuration information;
or, the target second device can be determined according to the attribute parameters of the first key signals, such as the signal types;
or, the target second device may also be determined according to the indication information sent by the first device; the indication information is generated by the first device according to a first position change condition met by a position change signal of the control position of the input device on the first device, the indication information carries an identification of the target second device, such as a device number or an address of the target second device, and different position change conditions maintained in the first device respectively correspond to different second devices.
Further, alternatively, in actual implementation, only one of the first device and the input device may be selected to perform the determination of the target second device based on the corresponding manner described above, and after one of the two determines the target second device, the other may be synchronized to the other, so that the other does not have to repeatedly perform the determination process of the target second device.
In this step, after determining the target second device, the input device establishes a connection with the target second device, which may specifically refer to establishing a communication connection channel between the input device and the target second device, or may also refer to stopping connection between the input device and the target second device, that is, always maintaining the communication connection channel between the input device and the target second device, where the target second device is switched from a state that cannot respond to the first type operation/first type signal of the input device to a state that can respond to the first type operation/first type signal of the input device.
In an alternative implementation, referring to fig. 10, the processing method applied to the input device described above may further include, after sending the operation signal to the first device in step 802:
step 1001, switching the input device to a state in which the first type of operation cannot be performed or the first type of signal cannot be effectively transmitted to the input device.
The switching of the input device to a state in which the first type of operation or the first type of signal of the input device cannot be responded is matched with the switching of the first device to a state in which the first type of operation or the effective transmission of the first type of signal to the input device cannot be performed, alternatively, a communication connection channel between the input device and the first device, such as a bluetooth connection between the input device and the first device, may be disconnected, and subsequently, when the input device needs to be switched back to the first device, the first device has the right to use the input device again, the communication connection channel between the input device and the first device may be reestablished based on pairing situations with the first device in history.
Alternatively, as another implementation manner, the input device is switched to a state in which the first type of operation or the first type of signal cannot be effectively transmitted to the input device, or the first device is blocked from responding to the first type of operation or the first type of signal of the input device under the condition that a communication connection channel between the input device and the first device is maintained, so that the input device is switched to a state in which the first type of operation or the first type of signal cannot be effectively transmitted to the input device.
In this embodiment, after the operation signal is sent to the first device, by switching the input device to a state in which the first type operation cannot be performed on the input device or the first type signal cannot be effectively sent to the input device, it is possible to avoid that when the target second device obtains the right to use the input device, the first device and the target second device can simultaneously respond to the first type operation or the first type signal of the input device, and accordingly avoid the occurrence of operation/control disturbance in a one-to-many control scenario of the input device and the electronic device.
In addition, the embodiment of the application also discloses a processing method applicable to the second equipment, the second equipment can be electronic equipment such as a notebook computer, a desktop computer or an all-in-one machine, the second equipment and the first equipment are jointly applied to a scene which can be controlled by the input equipment, the first equipment can directly transmit cross-equipment data to the second equipment based on the target operation of the input equipment, and the second equipment is in a state which can respond to the operation of the input equipment at least after the data transmission is completed.
The processing method applicable to the second device may include the following processing steps:
obtaining target data transmitted by the first equipment based on the transmission instruction by utilizing the connection between the first equipment and the first equipment; the transmission instruction is an instruction obtained by the first device in response to a target operation of an input device wirelessly connected with the first device.
At least after the target data is obtained, the second device is placed in a state operable in response to the input device.
In practice, the second device performs the above-mentioned process, in particular with the identity of the target second device.
In a matching manner to the processing method applicable to the first device, when the first device transmits data to the target second device based on the connection with the target second device, the target second device can correspondingly receive the target data transmitted by the first device based on the connection with the first device.
Further, since the target second device is in a state capable of responding to the operation of the input device at least after the target data transmitted by the first device is obtained, when the target data of the first device is received, the target second device can receive the indication operation of the input device on the storage position of the target data on the target second device (such as clicking a mouse to enable the device to enter a corresponding storage path, or using the input device to assign a storage path for the current data transmission when the data transmission request of the first device is received), and accordingly can store the target data to the target position indicated by the indication operation on the target second device based on the indication operation.
By means of the scheme, two different devices (such as the first device and the second device) can perform direct data transmission through connection between the two devices based on target operation of the input device, and can perform direct data transmission across devices conveniently, efficiently and rapidly without a network or a mobile storage medium.
After the first device needs to transmit data to the target second device, the target second device obtains the use right of the input device, and the control position (such as a mouse pointer) of the input device on the target second device can be visually presented at the corresponding position of the display screen of the target second device. For example, after the PC1 transmits data to the PC2 and the PC2 obtains the right of use of the mouse, the pointer of the mouse may be presented at the corresponding position on the display screen of the PC2 (the position may be a position that is always maintained by the PC2 when obtaining the right of use of the mouse, or may be a position that is presented based on the operation of the mouse by the user after obtaining the right of use of the mouse), based on this implementation manner, the received target data may be directly stored in the storage path currently corresponding to the pointer of the mouse, and the icon of the data file thereof may be visually presented at the current position of the pointer of the mouse, based on this processing manner, the user may conveniently and quickly find, locate or use the target data at the target second device.
In an optional implementation, the processing method applicable to the second device, before obtaining the target data transmitted by the first device based on the transmission instruction, may further include:
if the wireless connection with the first equipment is not established, acquiring a request signal of a connection request broadcasted by the first equipment;
a wireless connection is established with the first device in response to the request signal based on a connection event with the input device.
In implementation, as described above, when the first device needs to transmit the target data to the target second device, if the first device does not establish a communication connection with the target second device, the first device may control the connection device installed in the first device (such as bluetooth or Wi-Fi wireless transceiver for PC provided by the input device) to start the AP mode, and broadcast a request signal of a connection request in the AP mode, so as to find the target second device outwards, when each second device receives the broadcast request signal, it decides whether to respond to the signal based on whether a connection event with the input device occurs currently, where if a connection event with the input device occurs currently by a certain second device, it responds to the received request signal and accesses the AP opened by the first device based on the connection, so that the target data of the first device can be received based on the connection, otherwise, it does not respond.
In addition, optionally, before receiving the target data of the first device, the target second device may also feed back the verification code granted by the first device through the input device to the first device, so that the target data of the first device can only be received if the target second device passes the verification of the first device.
Corresponding to the above processing method applied to the input device, the embodiment of the application also discloses an input device, which can be, but not limited to, a mouse of an electronic device such as a notebook computer, a desktop computer or an integrated machine, for example, a wireless mouse or a wired mouse.
Referring to the schematic structure of the input device shown in fig. 11, the input device may include:
a first memory 1101 for storing at least a set of instructions;
a first processor 1102 for calling and executing the instruction set in the first memory 1101, by executing the instruction set:
detecting a first operation of the input device and generating a corresponding operation signal;
Transmitting the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction;
and at least after the first equipment completes the transmission of the target data to the target second equipment based on the transmission instruction, the first equipment is in a state capable of controlling the target second equipment.
In an alternative embodiment of the present application, as shown in fig. 12, the input device may further include:
first connection means 1103 for being arranged at the input device;
a plurality of second connection devices 1104 for being disposed on a plurality of electronic devices one by one;
the input device realizes communication connection with the electronic device based on the first connection device 1103 and the second connection device 1104 arranged in the electronic device;
different electronic devices can realize data mutual transmission between the different electronic devices based on the second connecting devices 1104 which are respectively arranged.
The electronic device here may be the first device or the second device described above.
The first connection means 1103 and the second connection means 1104 provided by the input device may be, for example, specifically bluetooth/Wi-Fi wireless transceivers provided by a mouse and applied to a mouse side and a PC side, respectively, and the wireless transceivers applied to the mouse side and the PC side may establish wireless connection between the different sides through pairing for data interaction.
In this embodiment, the electronic device (e.g. the first device and the second device) may not only implement connection interaction with the input device provided with the first connection device 1103 by using the second connection device 1104 provided by the input device, but also implement connection interaction between different devices (based on the second connection device 1104 respectively installed by the different devices).
In practical application, optionally, the first connection device and the second connection device may be respectively implemented in pluggable USB product forms, such as USB dongle, and based on the product forms, the first connection device and the second connection device may be respectively disposed in electronic devices such as an input device or a first device in a plugging manner.
In an alternative embodiment of the present application, the first processor 1102 may be further configured to, after said transmitting said operation signal to the first device:
determining a target second device and establishing a connection with the target second device;
the first processor 1102 determines a target second device, specifically includes:
determining a target second device according to the configuration information; or,
determining the target second equipment according to the attribute parameters of the first key signals; or,
Determining a target second device according to the indication information sent by the first device; the indication information is generated by the first equipment according to a first position change condition met by a position change signal of the control position of the input equipment on the first equipment; the different change of position conditions correspond to different second devices.
In an alternative embodiment of the present application, the first processor 1102 may be further configured to, after sending the operation signal to the first device:
the input device is switched to a state in which the first type of operation cannot be performed or the first type of signal cannot be effectively transmitted to the input device.
For the above processing method applied to the first device, the embodiment of the present application further discloses a first device, and referring to a schematic structural diagram of the first device shown in fig. 13, the first device may include:
a second memory 1301 for storing at least one set of instructions;
a second processor 1302 for calling and executing the instruction set in the second memory 1301, by executing the instruction set, performing the following processing:
responding to target operation of input equipment connected with the first equipment, and obtaining a transmission instruction of target data;
transmitting the target data to a target second device using a connection with the target second device; wherein the target second device is in a state operable in response to the input device at least after the target data transmission.
In an alternative embodiment of the present application, the second processor 1302 is specifically configured to obtain a transmission instruction for the target data:
obtaining a first key signal of the input device; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device;
generating the transmission instruction based on the first key signal;
or,
obtaining a position change signal of a corresponding control position of the input device on the first device; the position change signal is: when the first device is in a state of selecting the target data, signals generated by changing corresponding control positions of the input device on the first device;
and if the position change signal meets a first position change condition in at least one position change condition, generating the transmission instruction.
In an alternative embodiment of the present application, the second processor 1302 may be further configured to, prior to transmitting the target data to the target second device using a wireless connection with the target second device:
determining the target second device;
Wherein said determining said target second device comprises:
determining a target second device according to the configuration information; or,
determining the target second equipment according to the attribute parameters of the first key signals; or,
and determining the target second device according to the first position change condition met by the position change signal, wherein different position change conditions correspond to different second devices.
In an alternative embodiment of the present application, the second processor 1302 may be further configured to, prior to transmitting the target data to the target second device using a wireless connection with the target second device:
switching to a state that is not responsive to a first type of operation or a first type of signal of the input device, wherein the first type of operation or the first type of signal comprises: an operation or signal for switching to a selected state and/or changing position.
In an alternative embodiment of the present application, the second processor 1302 may be further configured to, prior to transmitting the target data to the target second device:
if the communication connection is not established with the target second equipment, broadcasting a request signal of a connection request;
accepting a wireless connection establishment operation with the first device performed by the target second device based on the response to the request signal; the target second device responds to the request signal based on a connection event between the input device and the target second device.
In an alternative embodiment of the present application, the second processor 1302 is further configured to, after obtaining the transmission instruction for the target data:
controlling the first equipment to switch from a current first state to a second state;
the power consumption of the device corresponding to the second state is lower than that of the device corresponding to the first state, and the second state at least enables the first device to transmit the target data.
Corresponding to the above processing method applied to the second device, the embodiment of the present application also discloses a second device, referring to the schematic structural diagram of the second device shown in fig. 14, where the second device may include:
a third memory 1401 for storing at least one set of instructions;
a third processor 1402 for calling and executing the instruction set in the third memory 1401, by executing the instruction set, performs the following processing:
obtaining target data transmitted by the first equipment based on the transmission instruction by utilizing the connection between the first equipment and the first equipment; the transmission instruction is an instruction obtained by the first device in response to a target operation of an input device wirelessly connected with the first device.
At least after the target data is obtained, the second device is placed in a state operable in response to the input device.
In an alternative embodiment of the present application, the third processor 1402 may be further configured to, prior to obtaining the target data transmitted by the first device based on the transmission instruction:
if the wireless connection with the first equipment is not established, acquiring a request signal of a connection request broadcasted by the first equipment;
a wireless connection is established with the first device in response to the request signal based on a connection event with the input device.
In an alternative embodiment of the present application, the third processor 1402 may be further configured to, after obtaining the target data transmitted by the first device based on the transmission instruction:
storing the obtained target data to a target location of the second device;
wherein the target location is a location indicated by the input device on the target second device.
In addition, the embodiment of the application also discloses a processing system, such as a schematic structural diagram of the processing system shown in fig. 15, where the processing system may include:
an input device 1501, a first device 1502 and a second device 1503 as disclosed in the respective embodiments above;
wherein the number of second devices is at least one.
The first device, at least one second device and the input device form a scene that the input device performs one-to-many operation control on a plurality of electronic devices, wherein at any one specific moment, preferably, only one electronic device (the first device or the second device) is in a state capable of responding to the control of the input device, and other corresponding electronic devices are in a state incapable of responding to the control of the input device.
For the interaction among the input device, the first device, and the second device, refer to the related descriptions of the above embodiments, and are not repeated here.
In the system of this embodiment, the first device may obtain a transmission instruction for the target data by responding to the target operation of the input device connected thereto, and after obtaining the transmission instruction, transmit the target data to the target second device using the connection with the target second device. Therefore, two different devices (such as a first device and a second device) can realize direct data transmission through connection between the two devices based on target operation of the input device, and can realize convenient, efficient and rapid direct data transmission across devices without a network or a mobile storage medium.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
For convenience of description, the above system or apparatus is described as being functionally divided into various modules or units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that relational terms such as first, second, third, fourth, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.
Claims (10)
1. A processing method applied to a first device, the method comprising:
responding to target operation of input equipment connected with the first equipment, and obtaining a transmission instruction of target data;
determining the target second device, and transmitting the target data to the target second device by using a connection between the target second device and the target second device; wherein, at least after the target data transmission, the target second device is in a state operable in response to the input device;
the obtaining a transmission instruction for target data comprises the following steps:
obtaining a first key signal of the input device; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device;
generating the transmission instruction based on the first key signal;
the determining the target second device includes: and determining the target second equipment according to the attribute parameters of the first key signals.
2. The method of claim 1, the obtaining a transmission instruction for target data, comprising:
obtaining a position change signal of a corresponding control position of the input device on the first device; the position change signal is: when the first device is in a state of selecting the target data, signals generated by changing corresponding control positions of the input device on the first device;
and if the position change signal meets a first position change condition in at least one position change condition, generating the transmission instruction.
3. The method according to claim 2,
the determining the target second device includes:
determining a target second device according to the configuration information; or,
and determining the target second device according to the first position change condition met by the position change signal, wherein different position change conditions correspond to different second devices.
4. The method of claim 1, further comprising, prior to said transmitting the target data to the target second device using a wireless connection with the target second device:
switching to a state that is not responsive to a first type of operation or a first type of signal of the input device, wherein the first type of operation or the first type of signal comprises: an operation or signal for switching to a selected state and/or changing position.
5. The method of claim 1, further comprising, prior to transmitting the target data to the target second device:
if the communication connection is not established with the target second equipment, broadcasting a request signal of a connection request;
accepting a connection establishment operation with the first device performed by the target second device based on the response to the request signal; the target second device responds to the request signal based on a connection event between the input device and the target second device.
6. The method of claim 1, further comprising, after obtaining the transfer instruction for the target data:
controlling the first equipment to switch from a current first state to a second state;
the power consumption of the device corresponding to the second state is lower than that of the device corresponding to the first state, and the second state at least enables the first device to transmit the target data.
7. A processing method applied to an input device, the processing method comprising:
detecting a target operation of the input device and generating a corresponding operation signal;
transmitting the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction;
At least after the first device completes transmitting the target data to the target second device based on the transmission instruction, the first device is in a state capable of controlling the target second device;
the obtaining a transmission instruction for target data comprises the following steps:
obtaining a first key signal of the input device; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device;
generating the transmission instruction based on the first key signal;
after the transmitting the operation signal to the first device, the method further includes:
determining a target second device and establishing a connection with the target second device; the determining the target second device includes: and determining the target second equipment according to the attribute parameters of the first key signals.
8. The method according to claim 7,
the determining the target second device includes:
determining the target second equipment according to the configuration information; or,
determining a target second device according to the indication information sent by the first device; the indication information is generated by the first equipment according to a first position change condition met by a position change signal of the control position of the input equipment on the first equipment; the different change of position conditions correspond to different second devices.
9. An input device, comprising:
a first memory for storing at least one set of instructions;
a first processor for invoking and executing the set of instructions in the first memory by executing the set of instructions to:
detecting a target operation of the input device and generating a corresponding operation signal;
transmitting the operation signal to a first device, so that the first device obtains a transmission instruction for target data according to the operation signal, and transmits the target data to a target second device based on the transmission instruction;
at least after the first device completes transmitting the target data to the target second device based on the transmission instruction, the first device is in a state capable of controlling the target second device;
the obtaining a transmission instruction for target data comprises the following steps:
obtaining a first key signal of the input device; the first key signal is: when the first device is in a state of selecting the target data, a signal generated by operating a first key of the input device;
generating the transmission instruction based on the first key signal;
after the transmitting the operation signal to the first device, the method further includes:
Determining a target second device and establishing a connection with the target second device; the determining the target second device includes: and determining the target second equipment according to the attribute parameters of the first key signals.
10. The input device of claim 9, further comprising:
the first connecting device is used for being arranged on the input equipment;
the plurality of second connecting devices are arranged on the plurality of electronic devices one by one;
the input equipment is connected with the electronic equipment in a communication way based on the first connecting device and a second connecting device arranged in the electronic equipment;
different electronic devices can realize data mutual transmission among different electronic devices based on the second connecting devices respectively arranged.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010624138.4A CN111800890B (en) | 2020-06-30 | 2020-06-30 | Processing method and input device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010624138.4A CN111800890B (en) | 2020-06-30 | 2020-06-30 | Processing method and input device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111800890A CN111800890A (en) | 2020-10-20 |
| CN111800890B true CN111800890B (en) | 2023-09-19 |
Family
ID=72810990
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010624138.4A Active CN111800890B (en) | 2020-06-30 | 2020-06-30 | Processing method and input device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111800890B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114390485B (en) * | 2020-10-21 | 2026-02-03 | 华为技术有限公司 | Data transmission method and electronic equipment |
| CN113094311B (en) * | 2021-03-30 | 2024-07-23 | 联想(北京)有限公司 | Data processing method and data processing device |
| CN115243235B (en) * | 2021-04-23 | 2025-09-09 | 华为技术有限公司 | Data transmission method and related equipment |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010128950A1 (en) * | 2009-05-08 | 2010-11-11 | Werner Jungblut | Interpersonal communications device and method |
| CN102891891A (en) * | 2012-09-26 | 2013-01-23 | 广州市动景计算机科技有限公司 | Method and system for cross-device file transmission |
| CN103376907A (en) * | 2012-04-20 | 2013-10-30 | 罗技欧洲公司 | Multi-host wireless input device |
| CN104168667A (en) * | 2014-09-05 | 2014-11-26 | 北京奇虎科技有限公司 | Data acquisition method, device and system |
| CN104468645A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Control method, electronic equipment, and information transmission method and device |
| CN105516183A (en) * | 2015-12-30 | 2016-04-20 | 小米科技有限责任公司 | Device connection method and device |
| CN105792105A (en) * | 2016-02-29 | 2016-07-20 | 联想(北京)有限公司 | Data transmission method and electronic device |
| CN106055199A (en) * | 2016-05-26 | 2016-10-26 | 努比亚技术有限公司 | Information synchronization method and electronic device |
| CN206147580U (en) * | 2015-06-07 | 2017-05-03 | 苹果公司 | Electronic equipment carries out device of operation with being used for in response to detecting edge input |
| CN107463449A (en) * | 2016-06-03 | 2017-12-12 | 罗技欧洲公司 | More main frames enable the automaticdata transmission in the system of flowing |
| CN109388620A (en) * | 2018-09-30 | 2019-02-26 | 联想(北京)有限公司 | A kind of method and the first electronic equipment of striding equipment access data |
| CN110262985A (en) * | 2019-06-26 | 2019-09-20 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
| CN110456927A (en) * | 2019-08-13 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Operation mapping method, device and the computer equipment of equipment room |
| CN111031471A (en) * | 2019-11-25 | 2020-04-17 | 维沃移动通信有限公司 | A data transmission method, terminal and base station |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9881315B2 (en) * | 2012-06-11 | 2018-01-30 | Retailmenot, Inc. | Systems, methods, and computer-readable media for a customizable redemption header for merchant offers across browser instances |
| US9647991B2 (en) * | 2013-03-15 | 2017-05-09 | Adobe Systems Incorporated | Secure cloud-based clipboard for touch devices |
-
2020
- 2020-06-30 CN CN202010624138.4A patent/CN111800890B/en active Active
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010128950A1 (en) * | 2009-05-08 | 2010-11-11 | Werner Jungblut | Interpersonal communications device and method |
| CN103376907A (en) * | 2012-04-20 | 2013-10-30 | 罗技欧洲公司 | Multi-host wireless input device |
| CN102891891A (en) * | 2012-09-26 | 2013-01-23 | 广州市动景计算机科技有限公司 | Method and system for cross-device file transmission |
| CN104468645A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Control method, electronic equipment, and information transmission method and device |
| CN104168667A (en) * | 2014-09-05 | 2014-11-26 | 北京奇虎科技有限公司 | Data acquisition method, device and system |
| CN206147580U (en) * | 2015-06-07 | 2017-05-03 | 苹果公司 | Electronic equipment carries out device of operation with being used for in response to detecting edge input |
| CN105516183A (en) * | 2015-12-30 | 2016-04-20 | 小米科技有限责任公司 | Device connection method and device |
| CN105792105A (en) * | 2016-02-29 | 2016-07-20 | 联想(北京)有限公司 | Data transmission method and electronic device |
| CN106055199A (en) * | 2016-05-26 | 2016-10-26 | 努比亚技术有限公司 | Information synchronization method and electronic device |
| CN107463449A (en) * | 2016-06-03 | 2017-12-12 | 罗技欧洲公司 | More main frames enable the automaticdata transmission in the system of flowing |
| CN109388620A (en) * | 2018-09-30 | 2019-02-26 | 联想(北京)有限公司 | A kind of method and the first electronic equipment of striding equipment access data |
| CN110262985A (en) * | 2019-06-26 | 2019-09-20 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
| CN110456927A (en) * | 2019-08-13 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Operation mapping method, device and the computer equipment of equipment room |
| CN111031471A (en) * | 2019-11-25 | 2020-04-17 | 维沃移动通信有限公司 | A data transmission method, terminal and base station |
Non-Patent Citations (4)
| Title |
|---|
| Janina Ziller ; Tobias Draeager ; Thomas Heckel.Inductive high data rate transmission for bearing systems.《2016 IEEE Topical Conference on Wireless Sensors and Sensor Networks (WiSNet)》.2016, * |
| Yigitcan Aksari ; Harun Artuner.Active authentication by mouse movements.《2009 24th International Symposium on Computer and Information Sciences》.2009,全文. * |
| 梁波 ; 张秀娟 ; 薛庆军.2.4GHz无线鼠标键盘接收器的设计.《电子设计工程》.2010, * |
| 樊星 ; 赵菁华.用户界面与人机交互标准化综述.《信息技术与标准化》.2015,全文. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111800890A (en) | 2020-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10521373B2 (en) | Input device with multi-host switching | |
| CN102999251B (en) | Terminal and equipment connection management method | |
| EP1372057B1 (en) | Method and Apparatus for switching control among connected devices | |
| EP2526474B1 (en) | Using a gesture to transfer an object across multiple multi-touch devices | |
| CN111800890B (en) | Processing method and input device | |
| US12333095B2 (en) | Wireless communication system having multiple host computers | |
| US12326989B2 (en) | Wireless communication system capable of switching control between different host computers | |
| JP2015525550A (en) | Method, apparatus and system for establishing a data connection | |
| CN112306325B (en) | Interaction control method and device | |
| CN105955513A (en) | Information processing method, electronic device and wireless mouse | |
| CN102685679B (en) | A kind of method for transmission processing, device and electronic equipment | |
| CN102063208A (en) | Data transmission system and data transmission method | |
| CN107506245B (en) | Method and device for remotely controlling multiple systems, storage medium and terminal equipment | |
| CN112269086A (en) | Charging cable identification method and device, charging cable and readable storage medium | |
| WO2023221845A1 (en) | Connection control method and apparatus for peripheral device, electronic device, and storage medium | |
| EP3373140A1 (en) | Method for processing ordered broadcast and electronic device | |
| EP4425307B1 (en) | Method for establishing connection between devices and terminal device | |
| JP5018877B2 (en) | Wireless communication device, electronic device, and wireless communication method | |
| US20260010241A1 (en) | Keyboard-mouse traversal method, communication system, and computer-readable storage medium | |
| US20260003498A1 (en) | Keyboard-mouse traversal method, communication system, and computer-readable storage medium | |
| CN103891238A (en) | Method and device for sharing graphics information | |
| JP2018006947A (en) | Communication device, communication system, and communication program | |
| CN114327129A (en) | Touch method, device and equipment | |
| CN113507515A (en) | Data transmission method and device, electronic equipment and storage medium | |
| JP2022176797A (en) | Electronic apparatus and method for controlling the same, and remote control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |