CN112905033B - Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium - Google Patents

Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium Download PDF

Info

Publication number
CN112905033B
CN112905033B CN202110320171.2A CN202110320171A CN112905033B CN 112905033 B CN112905033 B CN 112905033B CN 202110320171 A CN202110320171 A CN 202110320171A CN 112905033 B CN112905033 B CN 112905033B
Authority
CN
China
Prior art keywords
mouse
keyboard
receiver
pairing
information
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
Application number
CN202110320171.2A
Other languages
Chinese (zh)
Other versions
CN112905033A (en
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.)
Shenzhen Loyal Electronics Co ltd
Original Assignee
Shenzhen Loyal Electronics Co 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 Shenzhen Loyal Electronics Co ltd filed Critical Shenzhen Loyal Electronics Co ltd
Priority to CN202110320171.2A priority Critical patent/CN112905033B/en
Publication of CN112905033A publication Critical patent/CN112905033A/en
Application granted granted Critical
Publication of CN112905033B publication Critical patent/CN112905033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0227Cooperation and interconnection of the input arrangement with other functional units of a computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a wireless keyboard and mouse connection method, a wireless keyboard and mouse connection device, an intelligent terminal and a storage medium, wherein the wireless keyboard and mouse connection method comprises the following steps: acquiring pairing information of a keyboard and a mouse; pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard; pairing the mouse or the keyboard with a first receiver based on the first pairing information to realize communication connection among the first receiver, the mouse and the keyboard; the wireless mouse and the wireless keyboard are paired by connecting the wireless mouse and the wireless keyboard, and then the first receiver, the mouse and the keyboard are in communication connection by connecting the wireless mouse or the wireless keyboard with the receiver, so that the connection steps are simple, and the connection efficiency is high.

Description

Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a wireless keyboard and mouse connection method, a wireless keyboard and mouse connection device, an intelligent terminal and a storage medium.
Background
The wireless keyboard mouse suit mainly comprises a wireless mouse and a wireless keyboard, and the wireless keyboard mouse mainly realizes data transmission by establishing communication connection with a receiver, realizes data transmission between the wireless keyboard mouse and computer host equipment, and realizes the functions of the wireless keyboard mouse.
In prior art, wireless mouse and wireless keyboard and being connected of receiver all alone with the receiver is connected, and the user need carry out twice when using to pairing of keyboard and mouse and equipment respectively, for example when connecting the receiver each time, need pair wireless mouse and receiver and realize communication connection, pair wireless keyboard and receiver again and realize communication connection, and wireless keyboard and receiver connection process is loaded down with trivial details complicacy, and connection efficiency is low.
The prior art therefore remains to be improved.
Disclosure of Invention
In order to solve the problems of complex and complicated connection process and low connection efficiency of a wireless mouse and a receiver in the prior art, the invention provides a wireless mouse connection method, a wireless mouse connection device, an intelligent terminal and a storage medium.
The invention is realized by the following technical scheme:
in a first aspect, the present invention provides a wireless keyboard and mouse connection method, including:
acquiring pairing information of a keyboard and a mouse;
pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard;
pairing the mouse or the keyboard with a first receiver based on the first pairing information, and realizing communication connection among the first receiver, the mouse and the keyboard.
Through connecting wireless mouse and pairing, realize wireless mouse and wireless keyboard pair, through being connected wireless mouse or wireless keyboard arbitrary with first receiver, and then realize first receiver mouse between the keyboard communication connection, abandoned will mouse with the keyboard alone with first receiver establishes communication connection respectively, through earlier with establish communication connection between mouse with between the keyboard, and generate mouse and the general first information of pairing of keyboard, be about to wireless mouse or wireless keyboard arbitrary is connected with first receiver, can realize first receiver mouse, communication between the keyboard, improved traditional user connection user mode, simplified the process of pairing, only need once pair can, connect simple step, connection efficiency uprises.
In one embodiment of the present invention, the pairing information includes mouse identification information, and/or keyboard identification information.
In one embodiment of the present invention, the pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard includes:
identifying whether preset mouse information matched with the mouse identification information exists in the keyboard;
and/or the presence of a gas in the gas,
identifying whether preset mouse information matched with the keyboard identification information exists in the mouse or not;
if yes, communication connection is established between the mouse and the keyboard, and first pairing information common to the mouse and the keyboard is generated.
Through discerning whether have in the keyboard with mouse identification information assorted predetermine mouse information or discernment whether have in the mouse with keyboard identification information assorted predetermines mouse information, when have in the keyboard with mouse identification information assorted predetermine mouse information or have in the mouse with keyboard identification information assorted predetermines mouse information, prove mouse with the keyboard is one set can establish communication connection, avoids connecting the confusion.
In one embodiment of the present invention, the pairing the mouse or the keyboard with a first receiver based on the first pairing information to realize a communication connection between the first receiver, the mouse and the keyboard includes:
acquiring a first connection request sent by the mouse or the keyboard, wherein the first connection request comprises the first pairing information;
acquiring a connection response returned by a first receiver based on the first connection request, storing the first pairing information corresponding to the first receiver, and storing first receiver identification information corresponding to the mouse and the keyboard respectively;
establishing a communication connection between the keyboard, the mouse, and the first receiver based on the first pairing information and the first receiver identification information.
In one embodiment of the present invention, after pairing the mouse or the keyboard with a first receiver based on the first pairing information to implement a communication connection between the first receiver, the mouse, and the keyboard, the method further includes:
acquiring a second connection request sent by the mouse or the keyboard, wherein the second connection request comprises the first pairing information;
acquiring a connection response returned by a second receiver based on the second connection request, storing the first pairing information corresponding to the second receiver, and storing second receiver identification information corresponding to the mouse and the keyboard respectively;
establishing a communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information.
Receiving a second connection request from a second user through the second terminal; the mouse and the keyboard are reconnected with the new second receiver, and different receiving switching is achieved, so that the mouse and the keyboard can be switched to connect different receivers, the connection is more convenient, and the connection efficiency is faster.
In one embodiment of the present invention, the establishing of the communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information further includes:
and disconnecting the communication connection among the first receiver, the mouse and the keyboard.
The communication connection among the keyboard, the mouse and the second receiver is established and the communication connection among the first receiver, the mouse and the keyboard is disconnected, so that the method can be applied to a common mouse keyboard, the connection disorder is avoided, and the universality is higher.
In one embodiment of the present invention, the first receiver is one of a bluetooth receiving module and a 2.4G wireless receiver, and the second receiver is one of a bluetooth receiving module and a 2.4G wireless receiver.
Through setting up first receiver is one of them in bluetooth receiving module, the 2.4G wireless receiver, the second receiver is one of them in bluetooth receiving module, the 2.4G wireless receiver for the commonality of this method is stronger, and the suitability is wider, connects the situation more diversified when guaranteeing the stability of connecting.
In one embodiment of the present invention, after establishing the communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information, the method further includes:
acquiring a multimode switching instruction of the mouse or the keyboard;
and switching the effective communication connection between the mouse and the keyboard and the first receiver and the effective communication connection between the mouse and the keyboard and the second receiver based on the multimode switching instruction.
The mouse and the keyboard can establish communication connection with at least two devices simultaneously by receiving the multi-mode switching instruction, and effective communication connection between the mouse and the keyboard and a first receiver and effective communication connection between the mouse and the keyboard and a second receiver are switched by the multi-mode switching instruction, so that the keyboard and mouse suit can be switched more conveniently and quickly.
In a second aspect, the present invention also provides a wireless keyboard and mouse connection device, including:
an acquisition module: the method comprises the steps of obtaining pairing information of a keyboard and a mouse;
the keyboard and mouse pairing module is used for pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard;
a connection processing module: the mouse or the keyboard is paired with a first receiver based on the first pairing information, and communication connection among the first receiver, the mouse and the keyboard is achieved.
Through establishing acquisition module and the keyboard and mouse pair module is connected wireless mouse and is paird, realizes wireless mouse and wireless keyboard's pairing, rethread connection processing module is connected wireless mouse or wireless keyboard arbitrary and first receiver, and then realizes first receiver mouse keyboard communication connection between the keyboard has abandoned will mouse with the keyboard alone with first receiver establishes communication connection respectively, through earlier with establish communication connection between mouse with between the keyboard, and generate mouse and the general first information of paring of keyboard, be about to wireless mouse or wireless keyboard arbitrary is connected with first receiver, can realize first receiver mouse keyboard between the communication, the connection step is simple, and connection efficiency uprises.
In a third aspect, the present invention also provides an intelligent terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include a processor configured to perform any of the methods described above.
In a fourth aspect, the invention also provides a computer-readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the above.
The invention has the beneficial effects that:
through connecting wireless mouse and pairing, realize wireless mouse and wireless keyboard pair, through being connected wireless mouse or wireless keyboard arbitrary and first receiver, and then realize first receiver mouse between the keyboard communication connection, abandoned will mouse with the keyboard alone with first receiver establishes communication connection respectively, through earlier with establish communication connection between mouse with between the keyboard, and generate mouse and the general first information of pairing of keyboard, be about to wireless mouse or wireless keyboard arbitrary is connected with first receiver, can realize first receiver mouse, communication between the keyboard, the connection step is simple, and connection efficiency becomes the uprising.
Drawings
FIG. 1 is a flowchart of an embodiment of a method for wireless keyboard and mouse connection according to the present invention;
FIG. 2 is a flowchart of step S200 according to an embodiment of the present invention;
FIG. 3 is a flowchart of step S300 according to an embodiment of the present invention;
FIG. 4 is a flowchart of another embodiment of the method for wireless keyboard and mouse connection according to the present invention;
FIG. 5 is a flowchart of another embodiment of the method for wireless keyboard and mouse connection provided by the present invention;
FIG. 6 is a functional diagram of the wireless keyboard and mouse connection device according to the present invention;
fig. 7 is a functional schematic diagram of the intelligent terminal provided by the invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
The prior art is as follows: the wireless keyboard mouse is mostly embodied in 2.4G technology and Bluetooth technology at present. The wireless keyboard and mouse suit is mainly and intensively embodied as a 2.4G keyboard and mouse suit, namely a wireless mouse, a wireless keyboard and a wireless receiver. The mouse and keyboard would need to be paired separately with the receiver when the kit is assembled and then become the kit. Moreover, the Bluetooth keyboard and mouse suit does not exist, and the existing Bluetooth keyboard and mouse products need to be used by respectively pairing the keyboard and mouse or the mouse with the equipment when being connected with the equipment, but cannot be used by being connected with the equipment as a whole.
The invention makes a completely new definition on the concept of keyboard and mouse set (including 2.4G and Bluetooth). Firstly, the keyboard and the mouse are mutually identified to be integrated, then when the equipment is matched, only one of the keyboard and the mouse needs to be matched and connected with the equipment, and the whole set is connected with the equipment. Such as: when the 2.4G receiver is paired, as long as the keyboard or the mouse is arbitrarily paired with the receiver, another mouse is sleeved or the keyboard and the receiver are naturally paired with each other; similarly, when the Bluetooth mode is used, after one of the keyboard or the mouse is connected with the equipment in a matching way, the other mouse or the keyboard is naturally connected with the equipment after being started. If any one of the keyboard and the mouse which are connected in the suit is paired and connected with another device again, the other mouse or the keyboard in the suit is automatically matched with the other mouse or the keyboard. Thus, multiple separate pairing actions are omitted during use.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the present embodiment provides a wireless keyboard and mouse connection method, including:
step S100: acquiring pairing information of a keyboard and a mouse;
specifically, the mouse and the keyboard are both a wireless mouse and a wireless keyboard, and a memory card, a communication module, a microcontroller and the like can be arranged in the mouse and the keyboard.
The pairing information includes mouse identification information and/or keyboard identification information, the mouse identification information may be ID information of the mouse, or a serial number of the mouse or a self-defined unique name, and the keyboard identification information may be a serial number of the keyboard or a self-defined unique name, as the mouse identification information.
Further, the obtaining of the pairing information of the keyboard and the mouse may be performed by setting a trigger key on the keyboard and/or the mouse, inputting the pairing information through the trigger key when the mouse and the keyboard are required to be paired, and then obtaining the pairing information of the keyboard and the mouse based on the information.
Step S200: and pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard.
Specifically, referring to fig. 2, the step S200 further includes:
step S201: identifying whether preset mouse information matched with the mouse identification information exists in the keyboard; and/or identifying whether preset mouse information matched with the keyboard identification information exists in the mouse.
Specifically, the preset mouse information may be ID information, name information, product number, and the like that are the same as the mouse identification information, and the preset keyboard information may be ID information, name information, product number, and the like that are the same as the keyboard identification information. The identification information may be stored in a memory corresponding to the mouse or the keyboard.
Step S202: if yes, communication connection is established between the mouse and the keyboard, and first pairing information common to the mouse and the keyboard is generated.
The communication connection can be connected through a Bluetooth module or a wireless module, and when the mouse is in communication connection with the keyboard, the mouse and the keyboard perform real-time communication by taking identification information of an opposite party as a basis, such as ID information; and the keyboard and the mouse are uniformly in external connection, and the same first pairing information is automatically generated and used for carrying out synchronous communication with the outside.
Specifically, the first pairing information may be newly generated unique ID information, or other unique identification information.
Through discerning whether have in the keyboard with mouse identification information assorted predetermine mouse information or discernment whether have in the mouse with keyboard identification information assorted predetermines mouse information, when have in the keyboard with mouse identification information assorted predetermine mouse information or have in the mouse with keyboard identification information assorted predetermines mouse information, prove mouse with the keyboard is one set can establish communication connection, avoids connecting the confusion.
Step S300: pairing the mouse or the keyboard with a first receiver based on the first pairing information, and realizing communication connection among the first receiver, the mouse and the keyboard.
Specifically, referring to fig. 3, the step S300 includes:
the step S301: acquiring a first connection request sent by the mouse or the keyboard, wherein the first connection request comprises the first pairing information;
specifically, the first connection request may be sent through a trigger key, and since the communication connection has been established between the mouse and the keyboard, and since the keyboard and the mouse are integrally paired externally, the same first pairing information is automatically generated and used to perform synchronous communication externally, so that the mouse or the keyboard may send the first connection request at any one of them, and the communication establishment among the first receiver, the mouse, and the keyboard can be realized.
The step S302: and acquiring a connection response returned by the first receiver based on the first connection request, storing the first pairing information corresponding to the first receiver, and storing the first receiver identification information corresponding to the mouse and the keyboard respectively.
Specifically, the first receiver is mainly used for receiving information of equipment, arranging and correspondingly transmitting the information to the mouse and the keyboard, and further realizing transmission of data and signals between the equipment and the mouse and the keyboard.
Specifically, the first receiver identification information may be ID information, serial number information, or set unique name information of the first receiver, and the windcheat is respectively stored in the memories corresponding to the mouse and the keyboard, and data transmission between the first receiver and the mouse and the keyboard may be achieved based on the ID information.
The step S303: establishing a communication connection between the keyboard, the mouse, and the first receiver based on the first pairing information and the first receiver identification information.
On the basis of the above embodiment, referring to fig. 4, after pairing the mouse or the keyboard with a first receiver based on the first pairing information to implement a communication connection between the first receiver, the mouse, and the keyboard, the method further includes:
step S400: acquiring a second connection request sent by the mouse or the keyboard, wherein the second connection request comprises the first pairing information; acquiring a connection response returned by a second receiver based on the second connection request, storing the first pairing information corresponding to the second receiver, and storing second receiver identification information corresponding to the mouse and the keyboard respectively; establishing a communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information.
Specifically, the first receiver is one of a bluetooth receiving module and a 2.4G wireless receiver, and the second receiver is one of a bluetooth receiving module and a 2.4G wireless receiver. The bluetooth receiver may be a bluetooth 3.0 receiver, a bluetooth 4.0 receiver, etc., and the first receiver and the second receiver may be receivers having the same or different structures, for example, the first receiver may be a bluetooth receiver, and the second receiver may be a 2.4G wireless receiver. The selection can be carried out according to the actual requirement, and the invention is not limited.
Specifically, the second receiver and the first receiver are mainly configured on different devices, for example, the first receiver is configured on a computer, the second receiver is configured on a mobile phone, or both the first receiver and the second receiver are configured on different mobile phones or computers, and the invention is not particularly limited. When the mouse and the keyboard need to be replaced and connected to other equipment, the mouse and the keyboard can be replaced through the external communication connection of the mouse and the keyboard by directly sending a second connection request, connection switching is achieved when the mouse and the keyboard are connected to other equipment, and convenience and rapidness are achieved.
Receiving a second connection request from a second user through the second terminal; the mouse and the keyboard are reconnected with the new second receiver, and different receiving switching is achieved, so that the mouse and the keyboard can be switched to connect different receivers, the connection is more convenient, and the connection efficiency is faster.
Further, the establishing the communication connection between the keyboard, the mouse and the second receiver based on the first pairing information and the second receiver identification information further includes: and disconnecting the communication connection among the first receiver, the mouse and the keyboard.
Specifically, the method can be applied to a common mouse and keyboard by establishing and setting communication connections among the keyboard, the mouse and the second receiver and disconnecting the communication connections among the first receiver, the mouse and the keyboard, so that connection confusion is avoided, and the universality is higher. The disconnection between the keyboard, the mouse and the first receiver may be after the keyboard, the mouse and the second receiver establish a communication connection, or may be instantaneous or simultaneous disconnection, and may be specifically adjusted according to actual requirements.
In another embodiment of the present invention, referring to fig. 5, after the establishing the communication connection between the keyboard, the mouse and the second receiver based on the first pairing information and the second receiver identification information, the method further includes:
step S500, acquiring a multimode switching instruction of the mouse or the keyboard; and switching the effective communication connection between the mouse and the keyboard and the first receiver and the effective communication connection between the mouse and the keyboard and the second receiver based on the multimode switching instruction.
Specifically, the present invention does not limit the number of the second receivers, that is, the second receivers may have a plurality of second receivers, and the second receivers are respectively installed on a plurality of different devices, and the multimode mouse and the keyboard may simultaneously establish a communication connection with the plurality of devices, and establish an effective communication connection through the multimode switching instruction.
Specifically, the multimode switching instruction includes information of a receiver that is effective in establishing communication connection between a keyboard and a mouse, and effective communication connection between the keyboard and the receiver corresponding to the multimode switching instruction is established based on the multimode switching instruction, and at this time, control signals, data and the like are transmitted between the effective communication connections, so that the communication connection is effective; at this time, the communication connection between the mouse and the keyboard and the other receiver does not need to be disconnected, but the communication connection between the other receiver and the mouse and the keyboard does not transmit signals, which is equivalent to invalidation, so that the mouse, the keyboard and a plurality of switching commands can be realized. The other receivers include receivers other than the receiver that establishes an operative communication connection with the mouse, the keyboard, and may include a second receiver and/or a first receiver.
The mouse and the keyboard can establish communication connection with at least two devices simultaneously by receiving the multi-mode switching instruction, and effective communication connection between the mouse and the keyboard and a first receiver and effective communication connection between the mouse and the keyboard and a second receiver are switched by the multi-mode switching instruction, so that the keyboard and mouse suit can be switched more conveniently and quickly. This embodiment is through connecting wireless mouse and pairing, realizes wireless mouse and wireless keyboard's pairing, and then through being connected wireless mouse or wireless keyboard arbitrary and first receiver, and then realize first receiver mouse between the keyboard communication connection has abandoned will mouse with the keyboard alone with first receiver establishes communication connection respectively, through earlier with mouse with establish communication connection between the keyboard and generate mouse and the general first information of pairing of keyboard, be about to wireless mouse or wireless keyboard arbitrary is connected with first receiver, can realize first receiver mouse between the keyboard communication, the connection procedure is simple, and connection efficiency becomes high.
Exemplary device
Referring to fig. 6, the present invention also provides a wireless keyboard and mouse connection device, including:
the acquisition module 100: the method comprises the steps of obtaining pairing information of a keyboard and a mouse;
the keyboard and mouse pairing module 200 is used for pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard;
the connection processing module 300: the mouse or the keyboard is paired with a first receiver based on the first pairing information, and communication connection among the first receiver, the mouse and the keyboard is achieved.
Through establishing acquisition module 100 and the module 200 is paird with wireless mouse to the key mouse, realizes wireless mouse and wireless keyboard's pairing, and rethread connection processing module 300 is connected wireless mouse or wireless keyboard arbitrary with first receiver, and then realizes first receiver mouse keyboard communication connection between the keyboard has abandoned will mouse with the keyboard alone with first receiver establishes communication connection respectively, through earlier with establish communication connection between mouse with between the keyboard, and generate mouse and the general first information of paring of keyboard, be about to wireless mouse or wireless keyboard arbitrary is connected with first receiver, can realize first receiver mouse keyboard between the keyboard communication, the connection step is simple, and connection efficiency becomes high.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 7. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to realize the wireless keyboard and mouse connection method.
It will be understood by those skilled in the art that the block diagram of fig. 7 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent terminal is provided that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
acquiring pairing information of a keyboard and a mouse, wherein the pairing information comprises mouse identification information and/or keyboard identification information;
pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard;
pairing the mouse or the keyboard with a first receiver based on the first pairing information, and realizing communication connection among the first receiver, the mouse and the keyboard.
Further, in another embodiment, instructions for performing the following operations are further included after the above implementation instruction:
acquiring a second connection request sent by the mouse or the keyboard, wherein the second connection request comprises the first pairing information;
acquiring a connection response returned by a second receiver based on the second connection request, storing the first pairing information corresponding to the second receiver, and storing second receiver identification information corresponding to the mouse and the keyboard respectively;
establishing a communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention makes a completely new definition on the concept of keyboard and mouse suite (including 2.4G and bluetooth). Firstly, the keyboard and the mouse are mutually identified to be integrated, then when the equipment is matched, only one of the keyboard and the mouse needs to be matched and connected with the equipment, and the whole set is connected with the equipment. Such as: when the 2.4G receiver is paired, as long as the keyboard or the mouse is arbitrarily paired with the receiver, another mouse is sleeved or the keyboard and the receiver are naturally paired with each other; similarly, when the Bluetooth mode is used, after one of the keyboard or the mouse is connected with the equipment in a matching way, the other mouse or the keyboard is naturally connected with the equipment after being started. If any one of the keyboard and the mouse which are connected in the suit is paired and connected with another device again, the other mouse or the keyboard in the suit is automatically matched with the other mouse or the keyboard. Thus, in the using process, the action of single pairing for many times is omitted, the connecting step is simple, and the connecting efficiency is high.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (9)

1. A wireless keyboard and mouse connection method is characterized by comprising the following steps:
acquiring pairing information of a keyboard and a mouse; the pairing information comprises mouse identification information and/or keyboard identification information and/or a trigger key arranged on the keyboard and/or the mouse; pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard; the first pairing information is unique ID information or identification information;
pairing the mouse or the keyboard with a first receiver based on the first pairing information to realize communication connection among the first receiver, the mouse and the keyboard;
acquiring a second connection request sent by the mouse or the keyboard, wherein the second connection request comprises the first pairing information;
acquiring a connection response returned by a second receiver based on the second connection request, storing the first pairing information corresponding to the second receiver, and storing second receiver identification information corresponding to the mouse and the keyboard respectively;
establishing a communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information.
2. The method of claim 1, wherein pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard comprises:
identifying whether preset mouse information matched with the mouse identification information exists in the keyboard;
and/or the presence of a gas in the gas,
identifying whether preset mouse information matched with the keyboard identification information exists in the mouse or not;
if yes, communication connection is established between the mouse and the keyboard, and first pairing information common to the mouse and the keyboard is generated.
3. The method according to claim 2, wherein pairing the mouse or the keyboard with a first receiver based on the first pairing information to achieve the communication connection between the first receiver, the target, and the keyboard comprises:
acquiring a first connection request sent by the mouse or the keyboard, wherein the first connection request comprises the first pairing information;
acquiring a connection response returned by a first receiver based on the first connection request, storing the first pairing information corresponding to the first receiver, and storing first receiver identification information corresponding to the mouse and the keyboard respectively;
establishing a communication connection between the keyboard, the mouse, and the first receiver based on the first pairing information and the first receiver identification information.
4. The method of claim 1, wherein establishing communication connections between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information further comprises:
and disconnecting the communication connection among the first receiver, the mouse and the keyboard.
5. The method according to claim 1, wherein the first receiver is one of a bluetooth receiver module and a 2.4G wireless receiver, and the second receiver is one of a bluetooth receiver module and a 2.4G wireless receiver.
6. The method according to claim 1 or 5, wherein the establishing of the communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information further comprises:
acquiring a multimode switching instruction of the mouse or the keyboard;
and switching the effective communication connection between the mouse and the keyboard and the first receiver and the effective communication connection between the mouse and the keyboard and the second receiver based on the multimode switching instruction.
7. A wireless keyboard and mouse connection device, comprising:
an acquisition module: the method comprises the steps of obtaining pairing information of a keyboard and a mouse, wherein the pairing information comprises mouse identification information and/or keyboard identification information and/or a trigger key arranged on the keyboard and/or the mouse;
the keyboard and mouse pairing module is used for pairing the keyboard and the mouse based on the pairing information of the keyboard and the mouse to generate first pairing information common to the mouse and the keyboard, wherein the first pairing information is unique ID information or identification information;
a connection processing module: the mouse or the keyboard is paired with a first receiver based on the first pairing information, and communication connection among the first receiver, the mouse and the keyboard is achieved; acquiring a second connection request sent by the mouse or the keyboard, wherein the second connection request comprises the first pairing information; acquiring a connection response returned by a second receiver based on the second connection request, storing the first pairing information corresponding to the second receiver, and storing second receiver identification information corresponding to the mouse and the keyboard respectively; establishing a communication connection between the keyboard, the mouse, and the second receiver based on the first pairing information and the second receiver identification information.
8. An intelligent terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-6.
9. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-6.
CN202110320171.2A 2021-03-25 2021-03-25 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium Active CN112905033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110320171.2A CN112905033B (en) 2021-03-25 2021-03-25 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110320171.2A CN112905033B (en) 2021-03-25 2021-03-25 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112905033A CN112905033A (en) 2021-06-04
CN112905033B true CN112905033B (en) 2022-02-11

Family

ID=76106540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110320171.2A Active CN112905033B (en) 2021-03-25 2021-03-25 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112905033B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115315026A (en) * 2021-07-16 2022-11-08 深圳市蓝科迅通科技有限公司 Wireless input device and method, system and storage medium for switching connection thereof
CN114047825B (en) * 2021-11-04 2024-08-06 易兆微电子(杭州)股份有限公司 Input system
CN114584388B (en) * 2022-03-16 2023-03-28 深圳市中顺和盈科技有限公司 Software compatibility processing method based on artificial intelligence and cloud platform
CN115119185A (en) * 2022-07-29 2022-09-27 浪潮(山东)计算机科技有限公司 Wireless mouse connection method, system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020515A (en) * 2016-06-14 2016-10-12 河南工业大学 Wireless keyboard and mouse, connection method of receiver of wireless keyboard and mouse and wireless keyboard and mouse system
CN206331384U (en) * 2016-12-07 2017-07-14 深圳市相位科技有限公司 A kind of keyboard and mouse for supporting many host device synchronism switchings
CN107340896A (en) * 2017-07-28 2017-11-10 孙志逸 A kind of more controlled mouse keyboard systems

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213908B2 (en) * 2007-04-05 2012-07-03 Microsoft Corporation Systems and methods for pairing bluetooth devices
US20110057881A1 (en) * 2009-09-04 2011-03-10 Aten International Co., Ltd. Kvm management system and method of providing adaptable synchronization signal
CN102654850A (en) * 2011-03-01 2012-09-05 致伸科技股份有限公司 Pairing method for computer and wireless electronic device
US9213418B2 (en) * 2014-04-23 2015-12-15 Peigen Jiang Computer input device
EP3292457A4 (en) * 2015-05-04 2018-11-14 Nokia Technologies Oy Wireless control of devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020515A (en) * 2016-06-14 2016-10-12 河南工业大学 Wireless keyboard and mouse, connection method of receiver of wireless keyboard and mouse and wireless keyboard and mouse system
CN206331384U (en) * 2016-12-07 2017-07-14 深圳市相位科技有限公司 A kind of keyboard and mouse for supporting many host device synchronism switchings
CN107340896A (en) * 2017-07-28 2017-11-10 孙志逸 A kind of more controlled mouse keyboard systems

Also Published As

Publication number Publication date
CN112905033A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN112905033B (en) Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium
EP3879861B1 (en) Wireless connection establishment method, apparatus, storage medium, and computer program
US9160424B2 (en) Bluetooth® system and Bluetooth® bonding process
CN105744466B (en) A kind of connection method of Bluetooth device and bluetooth equipment
US7076269B2 (en) Radio communication system for notifying incommunicable state, and device and method used for the system
KR100735382B1 (en) Security communication method and apparatus in bluetooth terminal
US7773989B2 (en) Wireless communication apparatus and wireless communication method
KR101907075B1 (en) Method and apparatus for data communication using bluetooth low energy
CN113965895B (en) Bluetooth connection switching method, equipment and storage medium
US20220022022A1 (en) Device discovery method and apparatus, control terminal, and internet of things auxiliary device
CN104955166A (en) Bluetooth communication method and system
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
US20200280908A1 (en) Method for network sharing on a terminal, apparatus, air conditioner and storage medium
US20180192448A1 (en) Method, device, and system for audio bluetooth pairing and connecting
KR20030002463A (en) Method for using user data in a bluetooth device without user interface
CN111373709A (en) Terminal pairing method, server and terminal
CN111918258A (en) Method, device and equipment for realizing Bluetooth service connection
US10356666B2 (en) Communication device and communication control method
CN114980044A (en) Bluetooth connection method, storage medium and related equipment
CN111800433A (en) Method for saving server resources and terminal flow
KR20150139373A (en) System and method for wireless connection between wireless communication device, apparatus and control method applied to the same
CN112398954B (en) Connection management method and device based on narrowband Internet of things
CN108235307A (en) Share Virtual User Identity Module SIM card method and server in multiple terminals
KR100350890B1 (en) System for mobile communication-based matching service for plural users
CN114866611B (en) Message callback method, device, storage medium and computer equipment

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