CN117881003A - Adjustment method and first electronic device - Google Patents

Adjustment method and first electronic device Download PDF

Info

Publication number
CN117881003A
CN117881003A CN202311747729.0A CN202311747729A CN117881003A CN 117881003 A CN117881003 A CN 117881003A CN 202311747729 A CN202311747729 A CN 202311747729A CN 117881003 A CN117881003 A CN 117881003A
Authority
CN
China
Prior art keywords
input device
input
electronic
electronic device
electronic equipment
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.)
Pending
Application number
CN202311747729.0A
Other languages
Chinese (zh)
Inventor
陈明广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311747729.0A priority Critical patent/CN117881003A/en
Publication of CN117881003A publication Critical patent/CN117881003A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application discloses an adjusting method and a first electronic device, wherein the method comprises the following steps: obtaining a first operation signal input by a first input device; if the first operation signal represents that the first input device is disconnected with the first electronic equipment, generating a response signal; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.

Description

Adjustment method and first electronic device
Technical Field
The application relates to an adjustment method and first electronic equipment.
Background
At present, with popularization, popularization and development of electronic equipment, a plurality of electronic equipment are connected through the same input device.
However, the switching of the input devices between different electronic apparatuses is independent, and when the input devices switch the connected electronic apparatuses, a switching operation needs to be performed on each input device. Obviously, the related art has at least a problem of complicated operation.
Content of the application
The technical scheme of the application is realized as follows:
an adjustment method, comprising:
obtaining a first operation signal input by a first input device;
generating a response signal if the first operation signal characterizes that the first input device is disconnected from the first electronic device;
wherein the response signal is used to disconnect the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device at the same time.
A first electronic device, the first electronic device comprising:
an obtaining unit configured to obtain a first operation signal input by a first input device;
the processing unit is further used for generating a response signal if the first operation signal characterizes that the first input device is disconnected with the first electronic equipment; wherein the response signal is for disconnecting a second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device at the same time.
A first electronic device, the first electronic device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute an information processing program stored in the memory to implement the steps of the adjustment method as described above.
A computer readable storage medium storing one or more programs executable by one or more processors to perform the steps of the method of tuning described above.
The adjusting method and the first electronic device provided by the embodiment of the application comprise the following steps: obtaining a first operation signal input by a first input device; if the first operation signal represents that the first input device is disconnected with the first electronic equipment, generating a response signal; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
Drawings
Fig. 1 is a schematic flow chart of an adjustment method according to an embodiment of the present application;
FIG. 2 is a second flow chart of an adjustment method according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a third adjustment method according to an embodiment of the present application;
fig. 4 is a flow chart diagram of an adjustment method according to an embodiment of the present application;
fig. 5 is a flowchart fifth of an adjustment method according to an embodiment of the present application;
fig. 6 is an interface change schematic diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a first electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
An embodiment of the present application provides an adjustment method applied to a first electronic device, and referring to fig. 1, the method includes the following steps:
step 101, a first operation signal input by a first input device is obtained.
102, if the first operation signal represents that the first input device is disconnected from the first electronic device, generating a response signal; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
The adjustment method provided by the embodiment can be applied to the first electronic equipment in the electronic equipment set sharing the first input device and the second input device. Here, the set of electronic devices comprises at least two electronic devices, which share the same set of input means, i.e. the same set of input means is only used for one electronic device at the same time. The electronic devices include mobile terminal devices that may include devices such as cell phones, tablet computers, notebook computers, personal digital assistants (Personal Digital Assistant, PDAs), wearable devices, and fixed terminal devices such as desktop computers.
It should be noted that the input device may be an external input device or an input device built in the electronic device, for example, a mouse and a keyboard of a notebook.
In some embodiments, the first input device and the second input device are capable of establishing a wireless connection with the electronic device, respectively.
In some embodiments, the type/input signals of the first input device and the second input device are different.
In this embodiment, a client is deployed on a first electronic device, where the client and a server establish a specific communication connection, and cooperate with each other to ensure normal operation of an Application (APP). Here, the first electronic device may be provided with a monitoring client, so as to monitor the operation condition of all connected input devices, that is, when a certain input device has a disconnection behavior, the monitoring client generates a response signal and sends the response signal to other input devices.
Disconnection in this application refers to the disconnection of the first input device from the currently connected electronic device in case of a switching of the first input device, rather than the disconnection of the first input device due to a shutdown.
In this embodiment of the present application, the first operation corresponding to the first operation signal may be implemented by triggering a physical key, a virtual key, a shortcut key, or the like on the first input device.
In the embodiment of the application, the response signal can control the first electronic equipment to be disconnected with the second input device actively; or the response signal can indicate that the second input means is disconnected from the first electronic device, where the response signal can be understood as a notification signal for notifying that the second input means is disconnected from the first electronic device.
The embodiment of the application provides an adjusting method, which comprises the following steps: obtaining a first operation signal input by a first input device; if the first operation signal represents that the first input device is disconnected with the first electronic equipment, generating a response signal; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device can establish connection with the first electronic equipment at the same time; that is, the present application realizes the linkage between the first input device and the second input device, and as long as one input device is operated, the other input device will also follow the operation, so as to solve the problem of complex operation in the related art, save the operation flow, and improve the interaction capability of the user and the electronic device.
An embodiment of the present application provides an adjustment method applied to a first electronic device, and referring to fig. 2, the method includes the following steps:
step 201, a first operation signal input by a first input device is obtained.
Step 202, if the first operation signal characterizes that the first input device is disconnected from the first electronic device, a response signal is generated.
Wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
Step 203, obtaining an input state of the second input device.
In an embodiment of the present application, the input state of the input device includes an input device being in a non-input state, an input device being in an input state, and an input device being in a continuous input state.
Here, the input device is in a non-input state, also referred to as an idle state, i.e. the input device does not detect any input operation to the input device for a preset time.
Here, the input device being in an input state characterizes that the input device detects an input operation to the input device within a preset time, i.e. the electronic device is performing a task that requires the input device to cooperate, in which case the input device needs to assist the electronic device in performing the task.
Here, the input device being in a continuous input state characterizes that the input device detects an operation continuously acting on the input device, for example, that text is being typed, or that a mouse is continuously clicked.
Step 204, transmitting a response signal to the second input device or responding to the response signal to disconnect from the second input device, in case the input state of the second input device satisfies the preset condition.
In this embodiment, the input state of the second input device meeting the preset condition includes that the second input device is in the input state or in the continuous input state.
In this embodiment of the present invention, when the input state of the second input device meets the preset condition, the first electronic device sends a response signal to the second input device, so that the second electronic device is disconnected from the first electronic device according to the response signal. Or under the condition that the input state of the second input device meets the preset condition, the first electronic equipment responds to the response signal so as to disconnect the first electronic equipment from the second input device actively.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
An embodiment of the present application provides an adjustment method applied to a first electronic device, and referring to fig. 3, the method includes the following steps:
step 301, obtaining a first operation signal input by a first input device.
Step 302, if the first operation signal indicates that the first input device is disconnected from the first electronic device, and the first operation signal indicates that the electronic device currently connected to the first input device is adjusted from the first electronic device to the second electronic device, a response signal is generated, and a first adjustment instruction is generated based on the first operation signal.
Wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device can establish connection with the first electronic equipment at the same time; the first adjustment instruction is used for indicating the second input device to adjust the electronic equipment currently connected with the second input device to the second electronic equipment.
Step 303, sending a first adjustment instruction to the second input device.
In some embodiments, the first adjustment instruction may include a response signal, and the response signal is transmitted simultaneously in a case where the first electronic device transmits the first adjustment instruction to the second input device. Or the first electronic device may respond to the response signal to disconnect the first electronic device and send the first adjustment instruction to the second input device before the first electronic device is completely disconnected, so as to ensure that the first adjustment instruction can be successfully sent to the second input device.
In some embodiments, the first adjustment instruction may also not include a response signal, that is, if the first operation signal indicates that the first input device is disconnected from the first electronic device, and the first operation signal indicates that the electronic device currently connected to the first input device is adjusted from the first electronic device to the second electronic device, only the first adjustment instruction is generated, and the first adjustment instruction is sent to the second input device, where the first adjustment instruction also implements disconnection of the second input device from the first electronic device when the adjustment is performed.
In one scenario, when a user presses a first input device, such as a switch host connection button of a mouse, the adjustment method provided in the present application may trigger a second input device, such as a keyboard switch host function, synchronously. Obviously, the linkage mechanism is provided for a user, for example, when the user switches a mouse, the corresponding keyboard or other devices can synchronously follow the user, and the synchronous switching of other external devices after a certain external device switches a host is realized without pressing a switching key on each device.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
The electronic equipment can be provided with software for monitoring the operation condition of all external equipment, namely the input device, or a processing unit of the electronic equipment monitors the operation condition of all external equipment; when a certain external device has host switching behavior, the software sends a switching instruction to other external devices, and the other external devices are matched according to the host information recorded when the connection is established. Here, the method provided in the embodiment of the present application includes a process of how to determine the second input device, and the process may be implemented through steps A1 to A2, or through steps A3 to A5, or through steps A6 to A7.
Step A1, obtaining the type of input device connected with the first electronic device.
In the embodiment of the application, the type of the input device may be determined by the identification information of the input device, for example, the identification information includes a specific identification for characterizing the type, or a unique product identification.
Here, each input device has unique identification information. In some embodiments, the identification information includes color identification, graphic identification, text identification, numerical identification, location identification, and the like. In the same electronic device, different input devices can use the same type of identification information; of course, the types of the identification information of the respective input devices may not be identical, or the types of the identification information of the respective input devices may be completely different.
And A2, determining that the type of the input device connected with the first electronic equipment and the type of the first input device meet the matching condition as a second input device.
Wherein the first input device and the second input device are of different types.
In the embodiment of the application, the type meeting the matching condition includes that the types of the input devices are different, and the input devices of different types can work cooperatively.
And A3, obtaining a first identifier corresponding to the first input device.
And A4, obtaining a second identifier associated with the first identifier.
And A5, determining the input device corresponding to the second identifier as a second input device.
The first input device is a mouse, a first identifier corresponding to the first input device is obtained as 0, the identifier of a keyboard associated with the mouse is 1, a second identifier associated with the first identifier is obtained as 1, and the input device with the identifier of 1 is selected from the input devices connected with the electronic equipment to be the second input device.
Step A6, obtaining all identifications of all input devices connected with the first electronic equipment.
And A7, determining the input device corresponding to the identifier associated with the first identifier in all identifiers as a second input device.
Illustratively, all identifications of all input devices connected to the first electronic device include 1,2,3,0; the first input device is a mouse, a first mark corresponding to the first input device is obtained as 0, the mark of a mouse associated keyboard is 1, the input device with the mark of 1 is selected from the marks 1,2,3,0, and the input device is a second input device.
An embodiment of the present application provides an adjustment method applied to a first electronic device, referring to fig. 4, the method includes the following steps:
step 401, obtaining a first operation signal input by a first input device.
Step 402, if the synchronization adjustment function configured by the first electronic device is in an active state, and the first operation signal characterizes that the first input device is disconnected from the first electronic device, generating a response signal.
Wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously. The synchronization adjustment function includes notifying the second input device to perform synchronization adjustment after the electronic device currently connected to the first input device is disconnected.
If the synchronization adjustment function of the first electronic device is in an enabled state, the first input device and the second input device are in a disconnected linkage. If the synchronization adjustment function of the first electronic device is in an activated (disable) state, the operation on the first input device will not affect the second input device, so that erroneous operation can be prevented. I.e. the synchronization adjustment function is an option (option) for the user, which may be in an enabled state or a disabled state at the client.
Step 403, determining a third identification of the second electronic device to which the first input means is connected.
In this embodiment of the present application, the first electronic device may determine, according to the first operation signal, a destination electronic device to be switched by the first input device, that is, the second electronic device, and further obtain a third identifier corresponding to the second electronic device.
Step 404, obtaining location information of the fourth identifier stored in the second input device.
Wherein the fourth identification comprises an identification of the electronic device to which the second input device is connectable.
Step 405, generating a switching instruction according to the third identifier and the position information.
The switching instruction is used for enabling the electronic equipment which indicates the current connection of the second input device to be switched from the first electronic equipment to the second electronic equipment.
In this embodiment of the present application, the first electronic device may determine, according to the third identifier, a second electronic device to be connected to the second input device, and further generate, based on the third identifier, a switching instruction, and send the switching instruction to the second input device. The switching instruction is understood to mean a notification instruction, which is received by the second input device for performing the switching operation.
In this embodiment of the present invention, the first electronic device may determine, according to the third identifier, a second electronic device to which the second input device needs to be connected, and then, based on the third identifier and the location information, determine whether the second input device can be switched to the second electronic device, and if the second input device can be switched to the second electronic device, generate a switching instruction.
In some cases, the switching command may include a signal generated by simulating the switching operation of the second input device, so that the second input device may directly respond when receiving the signal, thereby implementing the linkage operation of the second input device and the first input device.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
An embodiment of the present application provides an adjustment method applied to a first electronic device, referring to fig. 5, the method includes the following steps:
step 501, obtaining a first operation signal input by a first input device.
Step 502, if the first operation signal characterizes that the first input device is disconnected from the first electronic device, a response signal is generated.
Wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
In step 503, if the third input device is connected to the first electronic device, it is detected whether the fourth input device is connected to the first electronic device.
Step 504, if the fourth input device is not connected to the first electronic device, generating a notification signal.
The notification signal is used for enabling the fourth input device to establish connection with the first electronic equipment; the third input means and the fourth input means are capable of establishing a connection with the first electronic device at the same time.
In this embodiment, the fourth input device is of a different type than the third input device. The first input device is of the same type as the third input device, and the second input device is of the same type as the fourth input device. The first input device is of the same type as the fourth input device, and the second input device is of the same type as the third input device.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
In the following, an exemplary application of the embodiments of the present application in a practical application scenario will be described. The electronic device is deployed with a client, if the client of the electronic device is started, an interface including states of an input device connected with the electronic device, such as a Mouse and a keyboard, is displayed in the client, as shown in fig. 6, the Mouse and the keyboard are connected with the electronic device as a Host (Host) 1, and in the case that the Mouse and the keyboard are not switched to the Host, that is, the Mouse and the keyboard are both online, the interface corresponding to the Host1 can display the client deployed with the Host1, such as an APP detects the state of the Mouse (APP Mouse status) to represent 1, and the state of the keyboard (APP Keyboard status) to represent 1, namely APP Keyboard status:1 and APP Mouse status to represent 1; when the user switches the Mouse so that the Mouse is connected with Host2, the corresponding keyboard can synchronously follow the switch to connect with Host2, then the interface corresponding to Host1 shows that the APP detects the state of the Mouse (APP Mouse status) to represent 0, and the state of the keyboard (APP Keyboard status) represents 0, namely APP Keyboard status:0 and APP Mouse status:0. It should be noted that 0 represents that the device is not on-line, 1 represents that the device is on-line, and two 1's are displayed in the interface to represent a steady state.
The mouse and the keyboard are respectively connected with the Host1, the Host2 and the Host3, and the corresponding APP is installed, the Host end APP can detect, when a mouse or keyboard switching Host instruction is received, the APP can instruct the keyboard or the mouse to synchronously switch, one-step switching is realized, and the function can add an enable option and a disable option in the APP, so that a user can select the function.
For example, the keyboard and the mouse are connected by the Host1, and the states of the keyboard and the mouse displayed in the Host1 end APP are 1 (stable state); when the mouse is cut to be connected with the Host2, the state of the mouse in the APP at the Host1 end is changed into 0, and at the moment, the APP at the Host1 end gives down an instruction to enable the keyboard to automatically switch the Host2; when the keyboard is cut to the Host2, the Host2 end APP finds that the states of the keyboard and the mouse are 1, and the keyboard is not informed to continue to be switched. When the mouse is currently connected to the Host3, the Host2 end APP continues to give an instruction to enable the keyboard to be automatically switched to the Host3, and the switching is stopped until the states of the keyboard and the mouse in the Host3 end APP are 1.
It should be noted that, the application may define a mouse as a master device, a keyboard as a slave device to track a Host currently connected to the mouse, or conversely define a keyboard as a master device, and a mouse as a slave device.
An embodiment of the present application provides a first electronic device, which may be applied to an adjustment method provided in the embodiments corresponding to fig. 1 to 5, and referring to fig. 7, the first electronic device 7 includes:
an obtaining unit 71 for obtaining a first operation signal input by the first input device;
a processing unit 72, configured to generate a response signal if the first operation signal characterizes that the first input device is disconnected from the first electronic device; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
In other embodiments of the present application, the obtaining unit 71 is configured to obtain an input state of the second input device;
a transmitting unit 73 for transmitting a response signal to the second input device in the case where the input state of the second input device satisfies a preset condition;
alternatively, the processing unit 72 is configured to respond to the response signal to disconnect from the second input device in a case where the input state of the second input device satisfies the preset condition.
In other embodiments of the present application, the processing unit 72 is configured to generate a first adjustment instruction based on the first operation signal if the first operation signal characterizes that the electronic device currently connected to the first input device is adjusted from the first electronic device to the second electronic device; the first adjusting instruction is used for indicating the second input device and adjusting the electronic equipment currently connected with the second input device to the second electronic equipment;
a transmitting unit 73 for transmitting the first adjustment instruction to the second input device.
In other embodiments of the present application, the obtaining unit 71 is configured to obtain a type of an input device connected to the first electronic apparatus;
a processing unit 72, configured to determine that, of the input devices connected to the first electronic apparatus, the type of the input device and the type of the first input device satisfy a matching condition as a second input device; wherein the first input device and the second input device are of different types.
In other embodiments of the present application, the obtaining unit 71 is configured to obtain a first identifier corresponding to the first input device, and a second identifier associated with the first identifier;
a processing unit 72, configured to determine that the input device corresponding to the second identifier is a second input device;
or alternatively;
an obtaining unit 71 for obtaining all identifications of all input devices connected to the first electronic apparatus;
the processing unit 72 is configured to determine that an input device corresponding to the identifier associated with the first identifier among all the identifiers is the second input device.
In other embodiments of the present application, the processing unit 72 is configured to determine a third identifier of the second electronic device to which the first input device is connected;
an obtaining unit 71 for obtaining position information of the fourth identifier stored in the second input device; the fourth identifier comprises an identifier of the electronic equipment to which the second input device can be connected;
the processing unit 72 is configured to generate a switching instruction according to the third identifier and the location information, where the switching instruction is used to cause the electronic device that indicates the current connection of the second input device to switch from the first electronic device to the second electronic device.
In other embodiments of the present application, the processing unit 72 is configured to generate a response signal if the synchronization adjustment function configured by the first electronic device is in an activated state and the first operation signal characterizes that the first input device is disconnected from the first electronic device; the synchronous adjustment function includes informing the second input device to synchronously adjust after the current connected electronic equipment of the first input device is disconnected.
It should be noted that, the specific implementation process of the steps executed by each unit in this embodiment may be an implementation process in the adjustment method provided in the embodiment corresponding to fig. 1 to 5, which is not described herein again.
An embodiment of the present application provides a first electronic device, which may be applied to an adjustment method provided in an embodiment corresponding to fig. 1 to 5, and referring to fig. 8, the first electronic device 8 (the first electronic device 8 in fig. 8 corresponds to the first electronic device 7 in fig. 7) includes: a processor 81, a memory 82 and a communication bus 83, wherein:
the communication bus 83 is used to enable a communication connection between the processor 81 and the memory 82.
The processor 81 is configured to execute an adjustment program stored in the memory 82 to implement the steps of:
obtaining a first operation signal input by a first input device;
if the first operation signal represents that the first input device is disconnected with the first electronic equipment, generating a response signal; wherein the response signal is for disconnecting the second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device simultaneously.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
obtaining an input state of a second input device;
and transmitting a response signal to the second input device or responding to the response signal to disconnect from the second input device in case the input state of the second input device satisfies the preset condition.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
if the first operation signal represents that the electronic equipment currently connected with the first input device is adjusted from the first electronic equipment to the second electronic equipment, generating a first adjustment instruction based on the first operation signal; the first adjusting instruction is used for indicating the second input device and adjusting the electronic equipment currently connected with the second input device to the second electronic equipment;
and sending a first adjustment instruction to the second input device.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
obtaining a type of input device connected to the first electronic device;
determining that the type of the input device connected with the first electronic equipment and the type of the first input device meet a matching condition as a second input device;
wherein the first input device and the second input device are of different types.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
obtaining a first identifier corresponding to the first input device and a second identifier associated with the first identifier, and determining the input device corresponding to the second identifier as a second input device;
or alternatively;
and obtaining all identifiers of all input devices connected with the first electronic equipment, and determining the input device corresponding to the identifier associated with the first identifier in all identifiers as the second input device.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
determining a third identification of a second electronic device to which the first input device is connected;
obtaining location information of a fourth identifier stored in the second input device; the fourth identifier comprises an identifier of the electronic equipment to which the second input device can be connected;
and generating a switching instruction according to the third identifier and the position information, wherein the switching instruction is used for enabling the electronic equipment which indicates the current connection of the second input device to be switched from the first electronic equipment to the second electronic equipment.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
if the synchronous adjustment function configured by the first electronic equipment is in an activated state, and the first operation signal characterizes that the first input device is disconnected with the first electronic equipment, a response signal is generated;
the synchronous adjustment function includes informing the second input device to synchronously adjust after the current connected electronic equipment of the first input device is disconnected.
In other embodiments of the present application, the processor 81 is configured to execute the adjustment program stored in the memory 82 to implement the following steps:
if the third input device is connected with the first electronic equipment, detecting whether the fourth input device is connected with the first electronic equipment;
if the fourth input device is not connected with the first electronic equipment, generating a notification signal; the notification signal is used for enabling the fourth input device to establish connection with the first electronic equipment; the third input means and the fourth input means are capable of establishing a connection with the first electronic device at the same time.
It should be noted that, in the specific implementation process of the steps executed by the processor in this embodiment, reference may be made to the implementation process in the adjustment method provided in the embodiment corresponding to fig. 1 to 5, which is not described herein again.
Based on the foregoing embodiments, embodiments of the present application provide a computer readable storage medium storing one or more programs, where the one or more programs may be executed by one or more processors to implement the implementation procedure in the adjustment method provided in the corresponding embodiments of fig. 1 to 5, which is not described herein.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application for understanding.
The computer storage medium/Memory may be a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable programmable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic random access Memory (Ferromagnetic Random Access Memory, FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Read Only optical disk (Compact Disc Read-Only Memory, CD-ROM); but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present application" or "the foregoing embodiments" or "some implementations" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the foregoing embodiment" or "some embodiments" or "some implementations" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
The methods disclosed in the several method embodiments provided in the present application may be arbitrarily combined without collision to obtain a new method embodiment.
The features disclosed in the several product embodiments provided in the present application may be combined arbitrarily without conflict to obtain new product embodiments.
The features disclosed in the several method or apparatus embodiments provided in the present application may be arbitrarily combined without conflict to obtain new method embodiments or apparatus embodiments.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
It should be noted that the drawings in the embodiments of the present application are only for illustrating schematic positions of respective devices on the terminal device, and do not represent actual positions in the terminal device, the actual positions of respective devices or respective areas may be changed or shifted according to actual situations (for example, structures of the terminal device), and proportions of different portions in the terminal device in the drawings do not represent actual proportions.
The foregoing is merely an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An adjustment method, comprising:
obtaining a first operation signal input by a first input device;
generating a response signal if the first operation signal characterizes that the first input device is disconnected from the first electronic device;
wherein the response signal is for disconnecting a second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device at the same time.
2. The method of claim 1, the method further comprising:
obtaining an input state of the second input device;
and transmitting the response signal to the second input device or responding to the response signal to disconnect from the second input device when the input state of the second input device meets the preset condition.
3. The method of claim 1, further comprising, if the first operation signal characterizes an adjustment of an electronic device to which the first input apparatus is currently connected from the first electronic device to a second electronic device:
generating a first adjustment instruction based on the first operation signal; the first adjustment instruction is used for indicating the second input device and adjusting the electronic equipment currently connected with the second input device to the second electronic equipment;
and sending the first adjustment instruction to the second input device.
4. The method of claim 1, the method further comprising:
obtaining a type of input device connected to the first electronic device;
determining that the type in an input device connected with the first electronic equipment and the type of the first input device meet a matching condition as the second input device;
wherein the first input device and the second input device are of different types.
5. The method of claim 1, the method further comprising:
obtaining a first identifier corresponding to the first input device and a second identifier associated with the first identifier, and determining that the input device corresponding to the second identifier is the second input device;
or alternatively;
and obtaining all identifiers of all input devices connected with the first electronic equipment, and determining the input device corresponding to the identifier associated with the first identifier in all identifiers as the second input device.
6. The method of claim 2, the method further comprising:
determining a third identification of a second electronic device to which the first input device is connected;
obtaining location information of a fourth identifier stored in the second input device; wherein the fourth identifier comprises an identifier of an electronic device to which the second input device is connectable;
and generating a switching instruction according to the third identifier and the position information, wherein the switching instruction is used for enabling the electronic equipment which is indicated to be connected with the second input device currently to be switched from the first electronic equipment to the second electronic equipment.
7. The method of claim 1, the generating a response signal if the first operation signal characterizes the first input device to be disconnected from a first electronic device, comprising:
if the synchronous adjustment function configured by the first electronic equipment is in an activated state, and the first operation signal characterizes that the first input device is disconnected with the first electronic equipment, and the response signal is generated;
the synchronous adjustment function comprises the step of informing the second input device to synchronously adjust after the electronic equipment currently connected with the first input device is disconnected.
8. The method of claim 1, the method further comprising:
if the third input device is connected with the first electronic equipment, detecting whether the fourth input device is connected with the first electronic equipment;
if the fourth input device is not connected with the first electronic equipment, generating a notification signal; wherein the notification signal is used for enabling a fourth input device to establish a connection with the first electronic device; the third input device and the fourth input device are capable of establishing a connection with the first electronic device at the same time.
9. A first electronic device, comprising:
an obtaining unit configured to obtain a first operation signal input by a first input device;
the processing unit is further used for generating a response signal if the first operation signal characterizes that the first input device is disconnected with the first electronic equipment; wherein the response signal is for disconnecting a second input device from the first electronic device; the first input device and the second input device are capable of establishing a connection with the first electronic device at the same time.
10. A first electronic device, comprising:
a memory for storing executable instructions;
a processor for executing executable instructions stored in the memory to implement the adjustment method of any one of claims 1 to 8.
CN202311747729.0A 2023-12-18 2023-12-18 Adjustment method and first electronic device Pending CN117881003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311747729.0A CN117881003A (en) 2023-12-18 2023-12-18 Adjustment method and first electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311747729.0A CN117881003A (en) 2023-12-18 2023-12-18 Adjustment method and first electronic device

Publications (1)

Publication Number Publication Date
CN117881003A true CN117881003A (en) 2024-04-12

Family

ID=90589253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311747729.0A Pending CN117881003A (en) 2023-12-18 2023-12-18 Adjustment method and first electronic device

Country Status (1)

Country Link
CN (1) CN117881003A (en)

Similar Documents

Publication Publication Date Title
CN109936481B (en) Master-slave server switching method and device, electronic equipment and storage medium
US7076269B2 (en) Radio communication system for notifying incommunicable state, and device and method used for the system
EP3468256B1 (en) Fast wireless fidelity connection method and apparatus
CN104967550A (en) Method and apparatus for displaying unread messages
CN105554752A (en) Hotspot sharing method and related equipment
KR20200140555A (en) Electronic device for switching between a dual standby mode and a single standby mode and method for the same
CN108496403A (en) A kind of switching method and user equipment of operating mode
JP6785332B2 (en) Bluetooth speaker Data processing method, device and bluetooth speaker
US20220038531A1 (en) Message transmission method and related devices
CN113609107A (en) Database management method and device, electronic equipment and storage medium
WO2018161725A1 (en) Method for processing ordered broadcast and electronic device
WO2015070718A1 (en) Communication number notification method and communication device
CN117881003A (en) Adjustment method and first electronic device
CN108900385B (en) Network connection method and related product
CN117056198A (en) Mock test method, mock test device, medium and computer equipment
CN113163462B (en) Cellular network switching method and device
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
CN107566215A (en) Wireless network cutout detection method, device, storage medium and mobile terminal
CN111328155B (en) Data transmission method, device, storage medium and electronic equipment
CN114980044A (en) Bluetooth connection method, storage medium and related equipment
CN111447147A (en) Router, detachable intelligent screen, routing equipment and routing configuration method
CN114691219A (en) System switching method and device, wearable device and user terminal
CN110213319B (en) Access method and device, terminal, server and storage medium
CN107517314B (en) Mobile terminal, control method, control device, and storage medium
CN114374959A (en) Bluetooth connection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination