CN117499902A - Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard - Google Patents

Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard Download PDF

Info

Publication number
CN117499902A
CN117499902A CN202311492198.5A CN202311492198A CN117499902A CN 117499902 A CN117499902 A CN 117499902A CN 202311492198 A CN202311492198 A CN 202311492198A CN 117499902 A CN117499902 A CN 117499902A
Authority
CN
China
Prior art keywords
terminal
bluetooth
identification information
keyboard
connection
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
CN202311492198.5A
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.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung 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 Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN202311492198.5A priority Critical patent/CN117499902A/en
Publication of CN117499902A publication Critical patent/CN117499902A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure relates to a method, a device, a terminal and a storage medium for establishing multi-screen linkage based on a Bluetooth keyboard. The method comprises the following steps: the method comprises the steps that a first terminal responds to appointed input operation of a Bluetooth keyboard currently connected with the first terminal by a user, and a multi-screen linkage application is started; the method comprises the steps that a first terminal sends Bluetooth broadcast carrying first identification information, wherein the first identification information is identification information of a Bluetooth keyboard currently connected with the first terminal; when the identification information of the Bluetooth keyboard stored by the second terminal is matched with the first identification information, bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the second terminal based on the Bluetooth connection and multi-screen linkage application. By adopting the method, in the process of establishing Bluetooth connection between the first terminal and the second terminal, the user does not need to select equipment, and the convenience of operation is improved.

Description

Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a method, a device, a terminal and a storage medium for establishing multi-screen linkage based on a Bluetooth keyboard.
Background
With the increasing functions of smart phones, mobile phone offices are becoming more popular with users, and the offices become more convenient by operating the mobile phones through Bluetooth keyboards. Meanwhile, a user also wants to be able to link with a notebook computer when working with the mobile phone. The mobile phone screen is put into a notebook computer for office work, and data can be transmitted between the mobile phone and the computer. In the process of realizing the scheme, the inventor finds that if the Bluetooth connection of the mobile phone and the notebook computer is performed, the search and the matching are required to be performed manually, and the operation is complicated.
Disclosure of Invention
Based on the foregoing, it is necessary to provide a method, an apparatus, a terminal and a storage medium for establishing multi-screen linkage based on a bluetooth keyboard, which can improve the operation convenience.
According to a first aspect of certain exemplary embodiments of the present disclosure, there is provided a method of establishing a multi-screen linkage based on a bluetooth keyboard, the method comprising: responding to the appointed input operation of a user on a Bluetooth keyboard currently connected with a first terminal, and starting a multi-screen linkage application; transmitting Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with a first terminal; bluetooth connection is established between the first terminal and the second terminal, multi-screen linkage is established with the second terminal based on the Bluetooth connection and multi-screen linkage application, and identification information of a Bluetooth keyboard stored in the second terminal is matched with the first identification information.
Optionally, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and bluetooth connection is established between the first terminal and the second terminal, including: and receiving a Bluetooth connection request sent by the second terminal according to the second identification information, establishing Bluetooth connection with the second terminal, and sending the Bluetooth connection request after the second terminal judges that the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
Optionally, receiving a bluetooth connection request sent by the second terminal according to the second identification information, and establishing bluetooth connection with the second terminal, including: receiving Bluetooth connection requests sent by a plurality of terminals, wherein the Bluetooth connection requests carry connection time point information, and the connection time point information is the time point when the corresponding terminal is connected with a Bluetooth keyboard currently connected with the first terminal; screening out the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal and is recently established according to the information of each connection time point; and establishing Bluetooth connection with the screened terminal, wherein the screened terminal is a second terminal.
Optionally, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is a Mac address of the first terminal.
Alternatively, the input operation is designated as a shortcut key operation.
According to a second aspect of certain exemplary embodiments of the present disclosure, there is provided a method of establishing multi-screen linkage based on a bluetooth keyboard, the method being applied to a second terminal, the method comprising: receiving a Bluetooth broadcast carrying first identification information, which is sent by a first terminal, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcast is sent by the first terminal in response to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal; when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the first terminal based on the Bluetooth connection and the multi-screen linkage application.
Optionally, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, bluetooth connection is established between the first terminal and the second terminal, including: and when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, sending a Bluetooth connection request to the first terminal according to the second identification so that the first terminal can establish Bluetooth connection with the second terminal after receiving the Bluetooth connection request.
Optionally, when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, sending a bluetooth connection request to the first terminal according to the second identification, so that the first terminal establishes a bluetooth connection with the second terminal after receiving the bluetooth connection request, including: when the stored identification information of the Bluetooth keyboard is matched with the first identification information, a Bluetooth connection request carrying connection time point information is sent to the first terminal according to the second identification information, wherein the connection time point information is the time point of connection establishment between the second terminal and the Bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is the terminal which is recently connected with the Bluetooth keyboard currently connected with the first terminal according to the received connection time point information sent by the plurality of terminals, and the second terminal establishes Bluetooth connection with the second terminal.
Optionally, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is a Mac address of the first terminal.
Alternatively, the input operation is designated as a shortcut key operation.
According to a third aspect of certain exemplary embodiments of the present disclosure, there is provided an apparatus for establishing a multi-screen linkage based on a bluetooth keyboard, the apparatus comprising: the starting module is configured to respond to the appointed input operation of the Bluetooth keyboard currently connected with the first terminal by a user and start the multi-screen linkage application; the sending module is configured to send Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal; the first establishing module is configured to establish Bluetooth connection between the first terminal and the second terminal, establish multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, and the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
Optionally, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, the first establishing module receives a bluetooth connection request sent by the second terminal according to the second identification information, establishes bluetooth connection with the second terminal, and sends the bluetooth connection request after the second terminal determines that the identification information of the bluetooth keyboard stored in the second terminal is matched with the first identification information.
Optionally, the first establishing module receives bluetooth connection requests sent by a plurality of terminals, the bluetooth connection requests carry connection time point information, the connection time point information is a time point when the corresponding terminal is connected with a bluetooth keyboard currently connected with the first terminal, the terminal which is recently connected with the bluetooth keyboard currently connected with the first terminal and is connected with the screened terminal is screened out according to the connection time point information, and the screened terminal is a second terminal.
Optionally, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is a Mac address of the first terminal.
Alternatively, the input operation is designated as a shortcut key operation.
According to a fourth aspect of certain exemplary embodiments of the present disclosure, there is provided an apparatus for establishing a multi-screen linkage based on a bluetooth keyboard, the apparatus comprising: the Bluetooth broadcasting receiving module is configured to receive Bluetooth broadcasting which is sent by the first terminal and carries first identification information, wherein the first identification information is identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcasting is sent by the first terminal in response to a specified input operation of a user on the Bluetooth keyboard currently connected with the first terminal; and the second establishing module is configured to establish Bluetooth connection between the first terminal and the second terminal when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, and establish multi-screen linkage with the first terminal based on the Bluetooth connection and the multi-screen linkage application.
Optionally, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the identification information of the bluetooth keyboard stored in the second terminal is matched with the first identification information, the second establishment module sends a bluetooth connection request to the first terminal according to the second identification, so that the first terminal establishes bluetooth connection with the second terminal after receiving the bluetooth connection request.
Optionally, when the stored identification information of the bluetooth keyboard is matched with the first identification information, the second establishing module sends a bluetooth connection request carrying connection time point information to the first terminal according to the second identification information, wherein the connection time point information is a time point when the second terminal is connected with the bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is a terminal which is connected with the bluetooth keyboard currently connected with the first terminal recently according to the received connection time point information sent by the plurality of terminals when the first terminal determines that the second terminal is the terminal which is connected with the bluetooth keyboard currently connected with the first terminal recently.
Optionally, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is a Mac address of the first terminal.
Alternatively, the input operation is designated as a shortcut key operation.
According to a fifth aspect of certain exemplary embodiments of the present disclosure, there is provided a terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the methods described above when the computer program is executed.
According to a sixth aspect of certain exemplary embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program, the processor executing the steps of any of the methods described above.
The method, the device, the terminal and the storage medium for establishing multi-screen linkage based on the Bluetooth keyboard are that the first terminal responds to the appointed input operation of the user on the Bluetooth keyboard currently connected with the first terminal, starts the multi-screen linkage application, and sends Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of the Bluetooth keyboard currently connected with the first terminal, the first terminal also establishes Bluetooth connection between the first terminal and the second terminal, and establishes multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, and the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information. Therefore, if the second terminal is also connected with the Bluetooth keyboard before, the identification information of the Bluetooth keyboard is stored, and according to the scheme of the embodiment of the disclosure, the identification information of the Bluetooth keyboard is used as a matched certificate, the identification information of the Bluetooth keyboard currently connected with the second terminal and the first terminal can be successfully matched, bluetooth connection can be directly carried out, a user does not need to select equipment, and the convenience of operation is improved.
Drawings
FIG. 1 is a schematic diagram of a conventional interface for establishing multi-screen linkage between a mobile phone and a notebook computer;
fig. 2 is a schematic diagram of a scenario in which a multi-screen linkage is established based on a bluetooth keyboard according to the present disclosure;
FIG. 3 is a flow chart of a method for establishing multi-screen linkage based on a Bluetooth keyboard in an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart of a method of establishing multi-screen linkage based on a Bluetooth keyboard in another exemplary embodiment of the present disclosure;
fig. 5 is a flowchart illustrating steps for establishing a bluetooth connection in certain exemplary embodiments of the present disclosure;
FIG. 6 is a flow chart of a method of establishing multi-screen linkage based on a Bluetooth keyboard in yet another exemplary embodiment of the present disclosure;
FIG. 7 is a flowchart of a method for establishing multi-screen linkage when a Bluetooth keyboard is currently connected to a PC in an exemplary embodiment of the present disclosure;
FIG. 8 is a flow chart of a method of establishing multi-screen linkage when a Bluetooth keyboard is currently connected to a mobile phone in an exemplary embodiment of the disclosure;
FIG. 9 is a block diagram of an apparatus for establishing multi-screen linkage based on a Bluetooth keyboard in an exemplary embodiment of the present disclosure;
FIG. 10 is a block diagram of an apparatus for establishing multi-screen linkage based on a Bluetooth keyboard in another exemplary embodiment of the present disclosure;
Fig. 11 is an internal structural view of a terminal in an exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description is provided to assist the reader in obtaining a thorough understanding of the methods, apparatus, terminals and/or storage media described herein. However, various changes, modifications, and equivalents of the methods, apparatuses, terminals, and/or storage media described herein will be apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those set forth herein, but may be altered as will be apparent after an understanding of the disclosure, except for operations that must occur in a specific order. Furthermore, descriptions of features known in the art may be omitted for clarity and conciseness.
The features described herein may be embodied in different forms and should not be construed as limited to the examples described herein. Rather, the examples described herein have been provided to illustrate only some of the many possible ways to implement the methods, terminals, and/or storage media described herein, many of which will be apparent after an understanding of this disclosure.
The terminology used herein is for the purpose of describing various examples only and is not intended to be limiting of the disclosure. Singular forms also are intended to include plural forms unless the context clearly indicates otherwise. The terms "comprises," "comprising," and "having" specify the presence of stated features, amounts, operations, components, elements, and/or combinations thereof, but do not preclude the presence or addition of one or more other features, amounts, operations, components, elements, and/or combinations thereof. Unless otherwise indicated, "/" means or, e.g., A/B may represent A or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and furthermore, in the description of the embodiments of the present invention, "plural" means two or more than two.
Unless defined otherwise, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs after understanding this disclosure. Unless explicitly so defined herein, terms (such as those defined in a general dictionary) should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and should not be interpreted idealized or overly formal.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in certain exemplary embodiments below are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In addition, in the description of the examples, when it is considered that detailed descriptions of well-known related structures or functions will cause a ambiguous explanation of the present disclosure, such detailed descriptions will be omitted.
Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. However, the embodiments may be implemented in various forms and are not limited to the examples described herein.
In order to facilitate understanding of the solution of the exemplary embodiment of the present disclosure, the following first takes, as an example, establishment of multi-screen linkage between a mobile phone and a notebook computer through multi-screen linkage App (Application), to explain the problems existing in the conventional technology. In the traditional technology, if multi-screen linkage is required to be established between a mobile phone and a notebook computer, firstly, the multi-screen linkage App is required to be opened at a computer end and the multi-screen linkage App is required to be opened at the mobile phone end; then, as shown in fig. 1-a, the bluetooth function is opened on the notebook computer to search for devices, a bluetooth device list is displayed on the notebook computer for users to select devices needing to be put on a screen, the notebook computer requests bluetooth connection, and the mobile phone device establishes bluetooth connection after confirmation; finally, establishing a WIFI Direct connection (WiFi Direct), and projecting a mobile phone screen to a notebook computer, as shown in fig. 1-b, wherein the WIFI Direct connection is a common scheme for realizing screen projection among multiple devices. Thus, multi-screen linkage (screen projection is one of multi-screen linkage) is established between the mobile phone and the notebook computer. In this way, in the process of establishing the bluetooth connection, the computer end needs to search for surrounding devices, display the devices in the device list, and find the devices needing to be matched from the list and then manually confirm the target device, so that the bluetooth connection can be realized, and the operation is complex. The scheme of the multi-screen linkage can be built more quickly by reducing user operation in the process of building Bluetooth connection.
The method for establishing multi-screen linkage based on the Bluetooth keyboard can be applied to an application environment shown in fig. 2. The Bluetooth keyboard 204 may establish a communication connection with the first terminal 202 and/or the second terminal 206 using Bluetooth technology, and the first terminal 202 and the second terminal 206 that have established Bluetooth connections with the Bluetooth keyboard 204 may have identification information of the Bluetooth keyboard 204 stored therein.
In an exemplary embodiment of the present disclosure, as shown in fig. 3, a method for establishing multi-screen linkage based on a bluetooth keyboard is provided, and the method is applied to the first terminal in fig. 1 for illustration, and includes the following steps:
And step 302, responding to the appointed input operation of the user on the Bluetooth keyboard currently connected with the first terminal, and starting the multi-screen linkage application.
Here, the designated input operation is a pre-designated input operation for triggering establishment of multi-screen linkage. The specified input operation is generated by the user operating the bluetooth keyboard currently connected to the first terminal, and specifically may refer to that the user presses one or more specified keys of the bluetooth keyboard, where the pressing may be clicking or long pressing, and if a combination key formed by a plurality of keys is pressed, each key in the combination key may be pressed simultaneously, or each key in the combination key may be pressed sequentially.
Here, the multi-screen linkage application refers to an application program or an application program product that realizes a multi-screen linkage function or a multi-screen cooperative function among a plurality of terminals, and is installed or run on a terminal that needs to perform multi-screen linkage, and may be, for example, a multi-screen linkage application (also referred to as a multi-screen cooperative application). The multi-screen linkage application can be an application special for a multi-screen linkage function or a multi-screen cooperative function, or can be other applications comprising the multi-screen linkage function or the multi-screen cooperative function. The multi-screen linkage application can be operated at the foreground of the first terminal after being started, and can also be operated at the background of the multi-screen linkage application.
Specifically, the first terminal is connected with the bluetooth keyboard, at this time, the first terminal monitors the input operation of the bluetooth keyboard connected with the first terminal by the user, analyzes the monitored input operation, if the monitored input operation is determined to be the specified input operation according to the analysis result, the state of the multi-screen linkage application can be judged first, if the multi-screen linkage application is in an un-started state, the multi-screen linkage application is started, or if the monitored input operation is determined to be the specified input operation according to the analysis result, the multi-screen linkage application is started directly.
Step 304, a bluetooth broadcast carrying first identification information is sent, where the first identification information is identification information of a bluetooth keyboard currently connected to the first terminal.
Here, the bluetooth broadcast carries the identification information of the bluetooth keyboard to which the first terminal is currently connected, that is, the first identification information. The first identification information is used as a matched certificate, and the identification information of the Bluetooth keyboard connected with the first identification information is stored in other terminals, so that the matching can be successfully performed as long as one terminal is connected with the Bluetooth keyboard connected with the first terminal. Wherein, a first terminal as a broadcaster (advertisement) may periodically transmit a bluetooth broadcast signal. The broadcast type is connectable non-directional broadcast, which is one of the most widely used broadcast types, including broadcast data and scan response data, which indicates that the current device (first terminal) can accept bluetooth connection requests of other non-designated devices.
In certain exemplary embodiments of the present disclosure, mac address (Media Access Control Address) may be used as the identification information of the bluetooth keyboard described above. The Mac Address is a medium access control Address, also called a local area network Address (LAN Address), a Mac Address, an Ethernet Address (Ethernet Address) or a Physical Address (Physical Address), which is an Address for confirming the location of a network device. Mac addresses may be used in a network to distinguish between different devices. The identification information of the bluetooth keyboard may employ other information that may be used to identify the device's uniqueness in the network.
In certain exemplary embodiments of the present disclosure, the above-described specified input operation is a shortcut key operation. Where a shortcut key, also called a shortcut key or hotkey, means that an operation is performed by some specific key, sequence of keys or combination of keys. The shortcut key may generally include one or two of Ctrl key, shift key, alt key, fn key, and Windows key, and further include one or two other keys, thereby forming a key combination composed of two or three keys, but may also include no key of Ctrl key, shift key, alt key, fn key, or Windows key. A shortcut key operation may refer to an operation in which a corresponding shortcut key is pressed. The multi-screen linkage is established through the shortcut key operation triggering, so that the operation is more convenient.
Specifically, as described above, the first terminal establishes a connection with the bluetooth keyboard, and at this time, the first terminal listens for an input operation of the bluetooth keyboard connected by the user, parses the monitored input operation, and if it is determined by parsing that the monitored input operation is a specified input operation, starts the multi-screen linkage application. In addition to starting the multi-screen ganged application, a bluetooth broadcast carrying identification information (first identification information) of its connected bluetooth keyboard is also transmitted.
And 306, establishing Bluetooth connection between the first terminal and the second terminal, and establishing multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, wherein the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
The process of determining whether the identification information of the bluetooth keyboard stored in the second terminal matches the first identification information may be generally performed by, but not limited to, the second terminal. The second terminal stores identification information of the bluetooth keyboard to which it is connected.
Here, the multi-screen linkage may be screen-casting, or may support file and picture transfer while not screen-casting.
Specifically, after the second terminal receives the bluetooth broadcast, analyzing the identification information of the bluetooth keyboard carried in the bluetooth broadcast, and matching the analyzed identification information, namely the first identification information, with the address information of the bluetooth keyboard stored in the second terminal by the second terminal, wherein if the identification information and the address information are the same, the matching is successful; the first terminal can establish Bluetooth connection with the second terminal, so that multi-screen linkage with the second terminal is established based on the Bluetooth connection and the started multi-screen linkage application.
After the first terminal establishes Bluetooth connection with the second terminal, WIFI direct connection between the first terminal and the second terminal can be established based on the Bluetooth connection, so that point-To-point connection between the first terminal and the second terminal can be realized, and multi-screen linkage can be performed between the first terminal and the second terminal based on multi-screen linkage application. The process of establishing multi-screen linkage with the second terminal based on Bluetooth connection and multi-screen linkage application can be realized in the existing mode, and only simple explanation is made here, and detailed description is omitted.
In the method for establishing multi-screen linkage based on the Bluetooth keyboard, the first terminal responds to the appointed input operation of the Bluetooth keyboard currently connected with the first terminal by a user, starts the multi-screen linkage application, and sends Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of the Bluetooth keyboard currently connected with the first terminal, the first terminal also establishes Bluetooth connection between the first terminal and the second terminal, and establishes multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, and the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information. Therefore, if the second terminal is also connected with the Bluetooth keyboard before, the identification information of the Bluetooth keyboard is stored, and according to the scheme of the embodiment of the disclosure, the identification information of the Bluetooth keyboard is used as a matched certificate, the identification information of the Bluetooth keyboard currently connected with the second terminal and the first terminal can be successfully matched, bluetooth connection can be directly carried out, a user does not need to select equipment, and the convenience of operation is improved.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast may further carry second identification information, where the second identification information is identification information of the first terminal, and the establishing a bluetooth connection between the first terminal and the second terminal includes: and receiving a Bluetooth connection request sent by the second terminal according to the second identification information, establishing Bluetooth connection with the second terminal, and sending the Bluetooth connection request after the second terminal judges that the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
Specifically, as shown in fig. 4, the method for establishing multi-screen linkage based on the bluetooth keyboard in the exemplary embodiment includes the following steps:
and step 402, in response to the appointed input operation of the Bluetooth keyboard currently connected with the first terminal by the user, starting the multi-screen linkage application.
Step 404, a bluetooth broadcast carrying first identification information and second identification information is sent, wherein the first identification information is identification information of a bluetooth keyboard currently connected to the first terminal, and the second identification information is identification information of the first terminal.
In certain exemplary embodiments of the present disclosure, the Mac address of the device is used as the identification information of the device, that is, the identification information of the bluetooth keyboard is the Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is the Mac address of the first terminal.
Here, on the one hand, the bluetooth broadcast carries the identification information of the bluetooth keyboard, and the bluetooth broadcast is used as a matched certificate, so that the terminal receiving the bluetooth broadcast can judge whether the identification information of the bluetooth keyboard stored by the terminal is matched with the identification information of the bluetooth keyboard in the broadcast, on the other hand, the bluetooth broadcast also carries the identification information of the first terminal, and after the matching is successful, the second terminal can initiate a bluetooth connection request to the first terminal based on the identification information.
Step 406, receiving a bluetooth connection request sent by the second terminal according to the second identification information, and establishing bluetooth connection with the second terminal so as to establish multi-screen linkage with the second terminal based on the multi-screen linkage application, wherein the bluetooth connection request is sent by the second terminal after judging that the identification information of the bluetooth keyboard stored by the second terminal is matched with the first identification information.
Specifically, the second terminal judges whether the identification information of the Bluetooth keyboard stored by the second terminal is matched with the first identification information, if so, a Bluetooth connection request is sent to the first terminal according to the second identification information, after the first terminal receives the Bluetooth connection request, bluetooth connection is established with the second terminal, and after the Bluetooth connection is successfully performed, multi-screen linkage is established with the second terminal. The second terminal may determine a broadcaster of the bluetooth broadcast and a connection object of the bluetooth connection according to the second identification information.
In these exemplary embodiments, based on the bluetooth broadcast manner, the verification of whether the second terminal is matched or not is achieved, and the establishment of bluetooth connection with the second terminal is also achieved, so that the automatic establishment of multi-screen linkage of the first terminal and the second terminal is achieved, the user does not need to find the equipment needing to be matched from the list and then manually confirm the target equipment, the convenience of operation is improved, meanwhile, the verification of whether the second terminal is matched or not and the establishment of bluetooth connection with the second terminal are achieved in the same process, and compared with the two independent processes, the waiting time of the user can be reduced.
In some exemplary embodiments of the present disclosure, as shown in fig. 5, the establishing a bluetooth connection with the second terminal includes:
step 502, receiving bluetooth connection requests sent by a plurality of terminals, where the bluetooth connection requests carry connection time point information, and the connection time point information is a time point when a corresponding terminal is connected with a bluetooth keyboard currently connected with the first terminal.
For example, when the terminal a, the terminal B, and the terminal C have previously established a connection with the bluetooth keyboard currently connected to the first terminal, the terminal a, the terminal B, and the terminal C each store identification information of the bluetooth keyboard, and further store a time point when the connection is previously established with the bluetooth keyboard currently connected to the first terminal.
And step 504, screening out the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal and has recently been connected with the Bluetooth keyboard according to the information of each connection time point.
For example, the connection time point information received from terminal a, terminal B and terminal C is 2023.04.26,10:27, 2023.05.08,15:39, 2023.05.17,20:42, respectively; it can thus be determined that terminal C is the terminal that has recently established a connection with the bluetooth keyboard to which the first terminal is currently connected.
And step 506, establishing Bluetooth connection with the screened terminal, wherein the screened terminal is a second terminal.
Because the equipment which is recently connected with the Bluetooth keyboard is equipment which is required to establish multi-screen linkage by the user with high probability, the scheme in the embodiment is adopted, and even if a plurality of terminals are successfully matched at present, the user is not required to manually select the equipment, so that the convenience of operation is further improved.
In an exemplary embodiment of the present disclosure, as shown in fig. 6, a method for establishing multi-screen linkage based on a bluetooth keyboard is provided, and the method is applied to a second terminal for illustration, where the method includes the following steps:
step 602, receiving a bluetooth broadcast carrying first identification information sent by a first terminal, where the first identification information is identification information of a bluetooth keyboard currently connected to the first terminal, and the bluetooth broadcast is sent by the first terminal in response to a specified input operation of a user on the bluetooth keyboard currently connected to the first terminal.
In step 604, when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, a bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the first terminal based on the bluetooth connection and the multi-screen linkage application.
Here, the multi-screen linkage type application may run in the foreground or the background of the first terminal and the second terminal.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, a bluetooth connection is established between the first terminal and the second terminal, including: and when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, sending a Bluetooth connection request to the first terminal according to the second identification so that the first terminal can establish Bluetooth connection with the second terminal after receiving the Bluetooth connection request.
In some exemplary embodiments of the present disclosure, when the identification information of the bluetooth keyboard stored in the second terminal matches the first identification information, a bluetooth connection request is sent to the first terminal according to the second identification, so that the first terminal establishes a bluetooth connection with the second terminal after receiving the bluetooth connection request, including: when the stored identification information of the Bluetooth keyboard is matched with the first identification information, a Bluetooth connection request carrying connection time point information is sent to the first terminal according to the second identification information, wherein the connection time point information is the time point of connection establishment between the second terminal and the Bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is the terminal which is recently connected with the Bluetooth keyboard currently connected with the first terminal according to the received connection time point information sent by the plurality of terminals, and the second terminal establishes Bluetooth connection with the second terminal.
In some exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard, and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the above-described specified input operation is a shortcut key operation.
The specific limitation and effect of the method for establishing multi-screen linkage based on the bluetooth keyboard applied to the second terminal may be referred to the limitation and effect of the method for establishing multi-screen linkage based on the bluetooth keyboard applied to the first terminal, and will not be described herein.
In order to facilitate understanding of the scheme of the exemplary embodiments of the present disclosure and the beneficial effects thereof, the following describes in detail the establishment of a multi-screen linkage scheme based on a bluetooth keyboard of the present disclosure in two exemplary embodiments in connection with an interaction procedure between a first terminal and a second terminal. In the first exemplary embodiment, the notebook computer is used as a first terminal, the mobile phone is used as a second terminal, in the second exemplary embodiment, the mobile phone is used as the first terminal, the notebook computer is used as the second terminal, and the multi-screen linkage application is started in the exemplary embodiments, but these do not limit the scheme of the disclosure. The following description will simply refer to a notebook computer as PC (Personal Computer).
Exemplary embodiment one:
in the first exemplary embodiment, a PC is taken as an example of the current connection of the bluetooth keyboard. As shown in fig. 7, the method for establishing multi-screen linkage based on the bluetooth keyboard in the first exemplary embodiment includes the following steps:
in step S702, the user inputs a custom shortcut key (win+f9) through the bluetooth keyboard.
Here, (win+f9) refers to the Windows key and the F9 key, i.e., the shortcut key for triggering the start of the multi-screen linkage is (win+f9), but it should be understood by those skilled in the art that the form of the shortcut key for triggering the start of the multi-screen linkage is not limited thereto.
Specifically, when the bluetooth keyboard and the PC are connected, if the user needs to start multi-screen linkage, the shortcut key win+f9 can be input through the bluetooth keyboard.
In step S704, the PC monitors and parses the keyboard operation event through the background, and if the keyboard operation event (win+f9) is obtained by parsing, starts the multi-screen linkage application.
Specifically, the PC background analyzes a keyboard operation event generated by the input operation of a user on the Bluetooth keyboard, and when the input of the user is identified as win+F9, the multi-screen linkage application is started.
In step 706, the pc transmits a bluetooth broadcast and includes the Mac address of the bluetooth keypad in the bluetooth broadcast.
Specifically, a PC as a broadcaster may periodically transmit a broadcast signal, for example, with t as a broadcast interval. Each time a broadcast packet is transmitted, it is referred to as a broadcast event. Since it is not desirable that all terminals can make bluetooth connection with the PC, in the scheme of the present exemplary embodiment, a Mac address of a bluetooth keyboard is added to broadcast data at the time of transmitting bluetooth broadcast. Meanwhile, the Bluetooth broadcast also carries the Mac address of the PC.
In step S708, the mobile phone receives the bluetooth broadcast and parses the Mac address of the bluetooth keyboard.
Specifically, after the mobile phone receives the bluetooth broadcast, the mobile phone analyzes information in the bluetooth broadcast, for example, in table 1, the analysis result of the bluetooth broadcast includes basic information of the PC device, and is attached with related information of the bluetooth keyboard. The basic information of the PC device includes a device name, a device identifier, and a device Mac address. The associated information for the attached bluetooth keyboard includes the attached Ma address (i.e., mac address of the bluetooth keyboard) and the attached device name.
Table 1: bluetooth broadcast analysis result indication
In step S710, the mobile phone matches the resolved Mac address with the bluetooth keyboard Mac address stored in the mobile phone. If the Mac addresses are the same, the match is successful.
Specifically, the mobile phone analyzes the auxiliary information (auxiliary Mac address: E2:35:32: b2: a3, and device name HID-keyboard) carried in the bluetooth broadcast, and matches the auxiliary Mac address with the Mac address of the bluetooth keyboard locally stored in the mobile phone. In table 2, the Mac addresses of the bluetooth keyboard stored locally in the mobile phone are matched successfully if the two Mac addresses are the same. After the matching is successful, the process advances to step S712.
Table 2: information indication stored locally in mobile phone
Mac address of Bluetooth keyboard locally stored in mobile phone
E2:35:32:B2:A3
HID-keyboard
Step 712 to step 718, the mobile phone analyzes the Mac address of the target device (PC), initiates a bluetooth connection request to the PC, and after the PC establishes a bluetooth connection, notifies the mobile phone, and initiates a screen-throwing request after receiving the notification, and the PC displays the screen-throwing.
Specifically, after the mobile phone is successfully matched, a Bluetooth connection request is initiated according to the analyzed Mac address of the PC, and the PC receives the Bluetooth connection request and establishes Bluetooth connection with the mobile phone. After the Bluetooth connection is established, the mobile phone is informed of completing the Bluetooth connection, the mobile phone can send a screen projection request to the PC after receiving the notification, and the PC displays screen projection content after receiving the screen projection request. Thus, the establishment of multi-screen linkage between the PC and the mobile phone is realized.
Exemplary embodiment two:
in the second exemplary embodiment, a bluetooth keyboard is currently connected to a mobile phone as an example. The method for establishing multi-screen linkage based on the bluetooth keyboard in the second exemplary embodiment is shown in fig. 8, and includes steps 802 to 818 in the figure. The steps in the second exemplary embodiment are substantially identical to the steps in the first exemplary embodiment, and the difference between the steps is that, for steps 802 to 818, the steps performed by the PC in the first exemplary embodiment are performed by the mobile phone in the second exemplary embodiment, whereas the steps performed by the mobile phone in the first exemplary embodiment are performed by the PC in the second exemplary embodiment, and are not described herein. In addition, in the mobile phone, a window management module configured in the mobile phone generally monitors a keyboard operation event generated by a user operating a bluetooth keyboard, and in the PC, the monitoring operation is performed by a PC in the background. In addition, in the first exemplary embodiment, when the bluetooth connection establishment is successful, the PC side notifies the mobile phone of this information, whereas in the second exemplary embodiment, this notification process is not required.
It should be understood that, although the steps in the flowcharts of fig. 3-8 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 3-8 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
In some exemplary embodiments of the present disclosure, as shown in fig. 9, there is provided an apparatus for establishing multi-screen linkage based on a bluetooth keyboard, including: a start module 902, a send module 904, and a first setup module 906, wherein: the starting module 902 is configured to respond to the appointed input operation of the Bluetooth keyboard currently connected with the first terminal by a user and start the multi-screen linkage application; the sending module 904 is configured to send a bluetooth broadcast carrying first identification information, where the first identification information is identification information of a bluetooth keyboard currently connected to the first terminal; a first establishing module 906 configured to establish a bluetooth connection between the first terminal and the second terminal, and establish multi-screen linkage with the second terminal based on the bluetooth connection and the multi-screen linkage application, wherein identification information of a bluetooth keyboard stored in the second terminal is matched with the first identification information.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and the first establishing module 906 receives a bluetooth connection request sent by the second terminal according to the second identification information, establishes bluetooth connection with the second terminal, and sends the bluetooth connection request after the second terminal determines that the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information.
In some exemplary embodiments of the present disclosure, the first establishing module 906 receives bluetooth connection requests sent by a plurality of terminals, where the bluetooth connection requests carry connection time point information, the connection time point information is a time point when a corresponding terminal establishes connection with a bluetooth keyboard currently connected to the first terminal, a terminal that has recently established connection with the bluetooth keyboard currently connected to the first terminal is screened out according to each connection time point information, bluetooth connection is established with the screened terminal, and the screened terminal is the second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
In some exemplary embodiments of the present disclosure, as shown in fig. 10, there is provided an apparatus for establishing multi-screen linkage based on a bluetooth keyboard, including: a receiving module 1002 and a second establishing module 1004; the receiving module 1002 is configured to receive a bluetooth broadcast carrying first identification information, where the first identification information is identification information of a bluetooth keyboard currently connected to the first terminal, sent by the first terminal in response to a user's designated input operation of the bluetooth keyboard currently connected to the first terminal; the second establishing module 1004 is configured to establish a bluetooth connection between the first terminal and the second terminal when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, and establish multi-screen linkage with the first terminal based on the bluetooth connection and the multi-screen linkage application.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, the second establishing module 1004 sends a bluetooth connection request to the first terminal according to the second identification, so that the first terminal establishes a bluetooth connection with the second terminal after receiving the bluetooth connection request.
In some exemplary embodiments of the present disclosure, when the stored identification information of the bluetooth keyboard matches the first identification information, the second establishing module 1004 sends, to the first terminal, a bluetooth connection request carrying connection time point information according to the second identification information, where the connection time point information is a time point when the second terminal establishes a connection with a bluetooth keyboard currently connected to the first terminal, so that the first terminal determines, when the first terminal determines, according to the received connection time point information sent by the plurality of terminals, that the second terminal is a terminal that has recently established a connection with the bluetooth keyboard currently connected to the first terminal, a bluetooth connection is established with the second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
For specific limitations regarding the device for establishing multi-screen linkage based on the bluetooth keyboard, reference may be made to the above limitation regarding the method for establishing multi-screen linkage based on the bluetooth keyboard, which is not described herein. The modules in the device for establishing multi-screen linkage based on the Bluetooth keyboard can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or independent of a processor in the terminal, or may be stored in software in a memory in the terminal, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a terminal is provided, the internal structure of which may be as shown in fig. 11. The terminal includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the terminal is adapted to provide computing and control capabilities. The memory of the terminal includes 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 the operating system and computer programs in the non-volatile storage media. The network interface of the terminal is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for establishing multi-screen linkage based on a bluetooth keyboard. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, the input device of the terminal can be a touch layer covered on the display screen, can be a key, a track ball or a touch pad arranged on a terminal shell, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 11 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not limiting of the terminal to which the disclosed aspects may be applied, and that a particular terminal may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
In one embodiment, a terminal is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: responding to the appointed input operation of a user on a Bluetooth keyboard currently connected with a first terminal, and starting a multi-screen linkage application; transmitting Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with a first terminal; bluetooth connection is established between the first terminal and the second terminal, multi-screen linkage is established with the second terminal based on the Bluetooth connection and multi-screen linkage application, and identification information of a Bluetooth keyboard stored in the second terminal is matched with the first identification information.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the processor executes the computer program to implement the above step of establishing a bluetooth connection between the first terminal and the second terminal, the specific implementation steps include: and receiving a Bluetooth connection request sent by the second terminal according to the second identification information, establishing Bluetooth connection with the second terminal, and sending the Bluetooth connection request after the second terminal judges that the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
In some exemplary embodiments of the present disclosure, when the processor executes the computer program to implement the step of receiving the bluetooth connection request sent by the second terminal according to the second identification information and establishing a bluetooth connection with the second terminal, the following steps are specifically implemented: receiving Bluetooth connection requests sent by a plurality of terminals, wherein the Bluetooth connection requests carry connection time point information, and the connection time point information is the time point when the corresponding terminal is connected with a Bluetooth keyboard currently connected with the first terminal; screening out the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal and is recently established according to the information of each connection time point; and establishing Bluetooth connection with the screened terminal, wherein the screened terminal is a second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
In one embodiment, a terminal is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: receiving a Bluetooth broadcast carrying first identification information, which is sent by a first terminal, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcast is sent by the first terminal in response to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal; when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the first terminal based on the Bluetooth connection and the multi-screen linkage application.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the processor executes the computer program to implement the step of establishing a bluetooth connection between the first terminal and the second terminal when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, the following steps are specifically implemented: and when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, sending a Bluetooth connection request to the first terminal according to the second identification so that the first terminal can establish Bluetooth connection with the second terminal after receiving the Bluetooth connection request.
In some exemplary embodiments of the present disclosure, when the processor executes the computer program to implement the step of sending a bluetooth connection request to the first terminal according to the second identifier when the identifier information of the bluetooth keyboard stored in the second terminal matches with the first identifier information, so that the first terminal establishes a bluetooth connection with the second terminal after receiving the bluetooth connection request, the following steps are specifically implemented: when the stored identification information of the Bluetooth keyboard is matched with the first identification information, a Bluetooth connection request carrying connection time point information is sent to the first terminal according to the second identification information, wherein the connection time point information is the time point of connection establishment between the second terminal and the Bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is the terminal which is recently connected with the Bluetooth keyboard currently connected with the first terminal according to the received connection time point information sent by the plurality of terminals, and the second terminal establishes Bluetooth connection with the second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: responding to the appointed input operation of a user on a Bluetooth keyboard currently connected with a first terminal, and starting a multi-screen linkage application; transmitting Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with a first terminal; bluetooth connection is established between the first terminal and the second terminal, multi-screen linkage is established with the second terminal based on the Bluetooth connection and multi-screen linkage application, and identification information of a Bluetooth keyboard stored in the second terminal is matched with the first identification information.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the computer program is executed by the processor to implement the above step of establishing a bluetooth connection between the first terminal and the second terminal, the specific implementation steps include: and receiving a Bluetooth connection request sent by the second terminal according to the second identification information, establishing Bluetooth connection with the second terminal, and sending the Bluetooth connection request after the second terminal judges that the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
In some exemplary embodiments of the present disclosure, when the computer program is executed by the processor to implement the step of receiving the bluetooth connection request sent by the second terminal according to the second identification information, and establishing a bluetooth connection with the second terminal, the following steps are specifically implemented: receiving Bluetooth connection requests sent by a plurality of terminals, wherein the Bluetooth connection requests carry connection time point information, and the connection time point information is the time point when the corresponding terminal is connected with a Bluetooth keyboard currently connected with the first terminal; screening out the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal and is recently established according to the information of each connection time point; and establishing Bluetooth connection with the screened terminal, wherein the screened terminal is a second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a Bluetooth broadcast carrying first identification information, which is sent by a first terminal, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcast is sent by the first terminal in response to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal; when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the first terminal based on the Bluetooth connection and the multi-screen linkage application.
In some exemplary embodiments of the present disclosure, the bluetooth broadcast further carries second identification information, where the second identification information is identification information of the first terminal, and when the processor executes the step of establishing a bluetooth connection between the first terminal and the second terminal by implementing the matching between the identification information of the bluetooth keyboard stored in the second terminal and the first identification information, the computer program specifically implements the following steps: and when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, sending a Bluetooth connection request to the first terminal according to the second identification so that the first terminal can establish Bluetooth connection with the second terminal after receiving the Bluetooth connection request.
In some exemplary embodiments of the present disclosure, when the processor executes the step of implementing that the above-mentioned identification information of the bluetooth keyboard stored in the second terminal matches the first identification information, a bluetooth connection request is sent to the first terminal according to the second identification, so that the first terminal establishes a bluetooth connection with the second terminal after receiving the bluetooth connection request, the following steps are specifically implemented: when the stored identification information of the Bluetooth keyboard is matched with the first identification information, a Bluetooth connection request carrying connection time point information is sent to the first terminal according to the second identification information, wherein the connection time point information is the time point of connection establishment between the second terminal and the Bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is the terminal which is recently connected with the Bluetooth keyboard currently connected with the first terminal according to the received connection time point information sent by the plurality of terminals, and the second terminal establishes Bluetooth connection with the second terminal.
In certain exemplary embodiments of the present disclosure, the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
In certain exemplary embodiments of the present disclosure, the designated input operation is a shortcut operation.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided by the present disclosure may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present disclosure, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that variations and modifications can be made by those skilled in the art without departing from the spirit of the disclosure, which are within the scope of the disclosure. Accordingly, the scope of protection of the present disclosure should be determined by the following claims.

Claims (14)

1. A method for establishing multi-screen linkage based on a bluetooth keyboard, the method being applied to a first terminal, the method comprising:
responding to the appointed input operation of a user on a Bluetooth keyboard currently connected with the first terminal, and starting a multi-screen linkage application;
transmitting Bluetooth broadcast carrying first identification information, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal;
And establishing Bluetooth connection between the first terminal and the second terminal, and establishing multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, wherein the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
2. The method according to claim 1, wherein the bluetooth broadcast further carries the second identification information, where the second identification information is identification information of the first terminal, and the establishing a bluetooth connection between the first terminal and the second terminal includes:
and receiving a Bluetooth connection request sent by the second terminal according to the second identification information, establishing Bluetooth connection with the second terminal, and sending the Bluetooth connection request after the second terminal judges that the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
3. The method according to claim 2, wherein the receiving the bluetooth connection request sent by the second terminal according to the second identification information, establishing a bluetooth connection with the second terminal, includes:
receiving the Bluetooth connection requests sent by a plurality of terminals, wherein the Bluetooth connection requests carry connection time point information, and the connection time point information is the time point of establishing connection between the corresponding terminal and a Bluetooth keyboard currently connected with the first terminal;
Screening out the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal and is recently established according to the information of each connection time point;
and establishing Bluetooth connection with the screened terminal, wherein the screened terminal is the second terminal.
4. A method according to any one of claims 1 to 3, characterized in that the identification information of the bluetooth keyboard is the Mac address of the bluetooth keyboard and/or the identification information of the first terminal is the Mac address of the first terminal.
5. A method according to any one of claims 1 to 3, wherein the specified input operation is a shortcut operation.
6. A method for establishing multi-screen linkage based on a bluetooth keyboard, the method being applied to a second terminal, the method comprising:
receiving a Bluetooth broadcast carrying first identification information, which is sent by a first terminal, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcast is sent by the first terminal in response to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal;
when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, bluetooth connection is established between the first terminal and the second terminal, and multi-screen linkage is established with the first terminal based on the Bluetooth connection and multi-screen linkage application.
7. The method according to claim 6, wherein the bluetooth broadcast further carries the second identification information, the second identification information being identification information of the first terminal, and when the identification information of the bluetooth keyboard stored in the second terminal matches with the first identification information, establishing a bluetooth connection between the first terminal and the second terminal includes:
and when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, sending a Bluetooth connection request to the first terminal according to the second identification information so that the first terminal can establish Bluetooth connection with the second terminal after receiving the Bluetooth connection request.
8. The method of claim 7, wherein when the identification information of the bluetooth keyboard stored in the second terminal matches the first identification information, transmitting a bluetooth connection request to the first terminal according to the second identification information to establish a bluetooth connection with the second terminal after receiving the bluetooth connection request by the first terminal, comprising:
when the stored identification information of the Bluetooth keyboard is matched with the first identification information, a Bluetooth connection request carrying connection time point information is sent to the first terminal according to the second identification information, wherein the connection time point information is the time point of connection establishment between the second terminal and the Bluetooth keyboard currently connected with the first terminal, so that the first terminal determines that the second terminal is the terminal which is connected with the Bluetooth keyboard currently connected with the first terminal recently according to the received connection time point information sent by a plurality of terminals at the first terminal, and Bluetooth connection is established between the second terminal and the second terminal.
9. A method according to any of claims 6 to 8, wherein the identification information of the bluetooth keyboard is a Mac address of the bluetooth keyboard and/or the identification information of the first terminal is a Mac address of the first terminal.
10. A method according to any one of claims 6 to 8, wherein the specified input operation is a shortcut operation.
11. An apparatus for establishing multi-screen linkage based on a bluetooth keyboard, the apparatus comprising:
the starting module is configured to respond to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal and start the multi-screen linkage application;
the Bluetooth terminal comprises a sending module, a receiving module and a receiving module, wherein the sending module is configured to send Bluetooth broadcasting carrying first identification information, and the first identification information is identification information of a Bluetooth keyboard currently connected with the first terminal;
the first establishing module is configured to establish Bluetooth connection between the first terminal and the second terminal, establish multi-screen linkage with the second terminal based on the Bluetooth connection and the multi-screen linkage application, and the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information.
12. An apparatus for establishing a multi-screen linkage based on a bluetooth keyboard, the apparatus comprising:
the Bluetooth broadcasting receiving module is configured to receive a Bluetooth broadcast carrying first identification information, which is sent by a first terminal, wherein the first identification information is the identification information of a Bluetooth keyboard currently connected with the first terminal, and the Bluetooth broadcast is sent by the first terminal in response to the appointed input operation of a user on the Bluetooth keyboard currently connected with the first terminal;
and the second establishing module is configured to establish Bluetooth connection between the first terminal and the second terminal when the identification information of the Bluetooth keyboard stored in the second terminal is matched with the first identification information, and establish multi-screen linkage with the first terminal based on the Bluetooth connection and a multi-screen linkage application.
13. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 10 when the computer program is executed.
14. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 10.
CN202311492198.5A 2023-11-09 2023-11-09 Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard Pending CN117499902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311492198.5A CN117499902A (en) 2023-11-09 2023-11-09 Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311492198.5A CN117499902A (en) 2023-11-09 2023-11-09 Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard

Publications (1)

Publication Number Publication Date
CN117499902A true CN117499902A (en) 2024-02-02

Family

ID=89668667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311492198.5A Pending CN117499902A (en) 2023-11-09 2023-11-09 Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard

Country Status (1)

Country Link
CN (1) CN117499902A (en)

Similar Documents

Publication Publication Date Title
CN106506433B (en) Login authentication method, authentication server, authentication client and login client
RU2636524C2 (en) Method, device and system of administration communication control between account and device
US7778602B2 (en) Method and apparatus for searching neighboring bluetooth devices in a portable terminal
CN110928511A (en) Screen projection method and device and electronic equipment
CN113395687B (en) Reconnection method, reconnection device, electronic equipment and storage medium
US8995413B2 (en) Setting method for connecting to wireless network access points, and electronic device
CN108449423B (en) Method, device, communication system, terminal and storage medium for connecting interactive flat panel
CN108282521B (en) BIP protocol data transmission method and device, computer equipment and storage medium
CN105208015A (en) Application multi-account login processing method and device and terminal device
JP6595525B2 (en) Communication support apparatus, method, and computer program
EP4280549A1 (en) Network configuration method and apparatus, computer device, and storage medium
WO2018184443A1 (en) Terminal screen display processing method and apparatus and storage medium
EP3541011B1 (en) Communication system and information processing apparatus
WO2018184442A1 (en) Terminal control method and device
US20220078595A1 (en) Method and apparatus for back-connecting bluetooth device, terminal and computer-readable storage medium
CN112423281B (en) Wireless module upgrading method, device, computer equipment and storage medium
CN111031542A (en) Base station opening method, device, communication equipment and storage medium
CN117499902A (en) Method, device, terminal and storage medium for establishing multi-screen linkage based on Bluetooth keyboard
EP3499399A1 (en) Electronic apparatus and information reading control method
JP7475476B2 (en) Information processing method, device and storage medium
WO2020102940A1 (en) Abnormality processing method, terminal device and storage medium
US10466954B2 (en) Display control method and display control device
CN107241262B (en) Data receiving, sending and transmitting method, sending end, receiving end and server
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
US9392619B2 (en) Apparatus and method for improving capability of Wi-Fi during reboot of an access point in wireless communication system

Legal Events

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