CN111083755A - Equipment switching method and related equipment - Google Patents

Equipment switching method and related equipment Download PDF

Info

Publication number
CN111083755A
CN111083755A CN201911345734.2A CN201911345734A CN111083755A CN 111083755 A CN111083755 A CN 111083755A CN 201911345734 A CN201911345734 A CN 201911345734A CN 111083755 A CN111083755 A CN 111083755A
Authority
CN
China
Prior art keywords
electronic device
identifier
electronic
input
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911345734.2A
Other languages
Chinese (zh)
Other versions
CN111083755B (en
Inventor
余文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911345734.2A priority Critical patent/CN111083755B/en
Publication of CN111083755A publication Critical patent/CN111083755A/en
Priority to PCT/CN2020/137483 priority patent/WO2021129529A1/en
Application granted granted Critical
Publication of CN111083755B publication Critical patent/CN111083755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Abstract

The invention provides a device switching method and related devices, wherein the method comprises the following steps: displaying at least one electronic equipment identifier under the condition that the first electronic equipment is connected with the second electronic equipment; receiving a first input; and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device. According to the embodiment of the invention, when the second electronic equipment is switched to the connecting equipment, the user does not need to perform excessive operation among a plurality of pieces of electronic equipment, so that the operation of switching the connecting equipment is simple, convenient and fast, and the efficiency is higher.

Description

Equipment switching method and related equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an apparatus switching method and a related apparatus.
Background
With the development of electronic technology and the increasing popularization of electronic products, electronic devices become important tools essential for people's life, and a user or a family often holds a plurality of electronic devices, such as a mobile phone, a notebook computer, a tablet computer, and the like. In order to obtain more convenient operation feeling or high-quality auditory feeling, people are also used to connect some wearing devices, bluetooth devices (such as bluetooth earphones, bluetooth speakers and the like) and the like to electronic devices commonly used, so that the wearing devices are controlled through the electronic devices, or audio in the electronic devices is played through the bluetooth devices.
However, taking bluetooth devices as an example, currently, bluetooth devices usually only allow one electronic device to be connected at the same time, and thus, when a user needs to switch the electronic device connected to the bluetooth device, a series of operations are often required to complete the operation. For example, a user is a mobile phone connected through a bluetooth headset when going out, and when the user returns home, the user expects to switch to connect a tablet computer to play music, so that the user needs to disconnect the bluetooth headset from the mobile phone end first, and then initiate pairing connection of the bluetooth headset from the tablet computer end, which is not very friendly.
Therefore, the equipment switching method in the prior art has the problems of complex operation and low efficiency.
Disclosure of Invention
The embodiment of the invention provides a device switching method and related devices, and aims to solve the problems that the device switching method in the prior art is complex in operation and low in efficiency.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an apparatus switching method, which is applied to a first electronic apparatus, and the method includes:
displaying at least one electronic device identifier under the condition that the first electronic device is connected with a second electronic device;
receiving a first input;
and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device.
In a second aspect, an embodiment of the present invention provides another device switching method, which is applied to a first electronic device, and the method includes:
displaying a configuration interface, wherein the configuration interface comprises at least one electronic equipment identifier;
receiving a second input;
responding to the second input, and establishing an incidence relation between each electronic device corresponding to the at least one electronic device identifier and an operation item;
and sending the association relation to a second electronic device connected with the first electronic device.
In a third aspect, an embodiment of the present invention provides another device switching method, which is applied to a second electronic device, and the method includes:
sending historical paired device information to a first electronic device, wherein the historical paired device information comprises at least one electronic device identifier, and the at least one electronic device identifier comprises an identifier corresponding to a third electronic device.
In a fourth aspect, an embodiment of the present invention provides another device switching method, which is applied to a second electronic device, and the method includes:
under the condition that the second electronic equipment is connected with the first electronic equipment, receiving the association relation between each electronic equipment corresponding to at least one electronic equipment identifier sent by the first electronic equipment and the operation item;
receiving a third input;
in response to the third input, disconnecting the second electronic device from the first electronic device and establishing a connection between the second electronic device and a fourth electronic device;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
In a fifth aspect, an embodiment of the present invention provides a first electronic device, including:
the display module is used for displaying at least one electronic equipment identifier under the condition that the first electronic equipment is connected with the second electronic equipment;
the first receiving module is used for receiving a first input;
and the control module is used for responding to the first input, disconnecting the first electronic device from the second electronic device and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device.
In a sixth aspect, an embodiment of the present invention provides another first electronic device, including:
the display module is used for displaying a configuration interface, and the configuration interface comprises at least one electronic equipment identifier;
a receiving module for receiving a second input;
the establishing module is used for responding to the second input and establishing the incidence relation between each electronic device corresponding to the at least one electronic device identification and the operation item;
and the sending module is used for sending the association relation to second electronic equipment connected with the first electronic equipment.
In a seventh aspect, an embodiment of the present invention provides a second electronic device, including:
the sending module is configured to send historical paired device information to a first electronic device, where the historical paired device information includes at least one electronic device identifier, and the at least one electronic device identifier includes an identifier corresponding to a third electronic device.
In an eighth aspect, an embodiment of the present invention provides a second electronic device, including:
the first receiving module is used for receiving the association relation between each electronic device and the operation item, corresponding to at least one electronic device identifier, sent by the first electronic device, under the condition that the second electronic device is connected with the first electronic device;
a second receiving module for receiving a third input;
the switching module is used for responding to the third input, disconnecting the second electronic equipment from the first electronic equipment and establishing the connection between the second electronic equipment and fourth electronic equipment;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
In a ninth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps in the device switching method according to the first aspect or the second aspect; alternatively, the computer program, when executed by the processor, implements the steps in the device switching method of the third or fourth aspect.
In a tenth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps in the device switching method according to the first aspect or the second aspect; alternatively, the computer program, when executed by a processor, implements the steps in the device switching method of the third or fourth aspect.
In the embodiment of the invention, at least one electronic equipment identifier is displayed under the condition that a first electronic equipment is connected with a second electronic equipment; receiving a first input; and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device. Like this, when needing to switch the jointing equipment to second electronic equipment, the user only need on first electronic equipment based on the equipment sign that shows, carry out first input can, and need not to carry out series switching operation between a plurality of equipment for the easy operation of switching jointing equipment is convenient, and efficiency is higher.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a device switching method according to an embodiment of the present invention;
fig. 2 is a schematic interface diagram of selecting a switching device on a first electronic device according to an embodiment of the present invention;
fig. 3 is a second flowchart of a device switching method according to an embodiment of the present invention;
fig. 4 is an interface schematic diagram of configuring a switching operation mode of each device on a first electronic device according to an embodiment of the present invention;
fig. 5 is a third flowchart of a device switching method according to an embodiment of the present invention;
fig. 6 is a fourth flowchart of a device switching method according to an embodiment of the present invention;
FIG. 7 is a block diagram of a first electronic device according to an embodiment of the present invention;
fig. 8 is a second block diagram of a first electronic device according to an embodiment of the present invention;
fig. 9 is a third block diagram of a first electronic device according to an embodiment of the invention;
FIG. 10 is a fourth block diagram of a first electronic device according to an embodiment of the present invention;
FIG. 11 is a block diagram of a second electronic device according to an embodiment of the present invention;
fig. 12 is a second block diagram of a second electronic device according to an embodiment of the invention;
FIG. 13 is a third block diagram of a second electronic device according to an embodiment of the invention;
fig. 14 is a hardware structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a device switching method provided in an embodiment of the present invention, and is applied to a bluetooth device, as shown in fig. 1, the method includes the following steps:
step 101, displaying at least one electronic device identifier under the condition that the first electronic device is connected with the second electronic device.
In the embodiment of the present invention, the first electronic device may be a mobile terminal such as a mobile phone and a tablet, or a fixed terminal such as a computer, a notebook, and a computer, and the second electronic device may be a bluetooth device such as a bluetooth headset and a bluetooth speaker that supports bluetooth transmission, or a wearable device such as a smart band and glasses, or other external devices.
The connection between the first electronic device and the second electronic device may be a communication connection established between the first electronic device and the second electronic device through bluetooth or a wireless network.
The at least one electronic device identifier may be an identifier sent by the second electronic device to the first electronic device, or may be an identifier of a nearby electronic device searched by the first electronic device, for example, an identifier of a nearby electronic device searched by bluetooth, where the device identifier may be an identifier of a name, an IP address, and the like of the electronic device.
In this step, under the condition that the first electronic device is connected to the second electronic device, at least one received or searched electronic device identifier may be displayed, so that a user may select a target electronic device to be switched for the second electronic device at the first electronic device side or configure a switching operation mode of an electronic device corresponding to each electronic device identifier.
Optionally, before displaying at least one electronic device identifier, the method further includes:
and receiving historical paired device information sent by the second electronic device, wherein the historical paired device information comprises the at least one electronic device identifier.
That is, in this embodiment, the second electronic device may first send the historical paired device information stored in the second electronic device, such as the name or address of the historical paired device, to the first electronic device, so that the first electronic device may receive the historical paired device information sent by the second electronic device, where the at least one electronic device identifier is an identifier of at least one historical paired device of the second electronic device, such as the name or address of the historical paired device.
The first electronic device may extract at least one electronic device identifier from the received historical paired device information, and display the at least one electronic device identifier on a user interface, so that a user may select the at least one electronic device identifier.
Therefore, the user can switch the connection device according to the historical pairing device information of the second electronic device by receiving the historical pairing device information sent by the second electronic device, and the second electronic device often stores the pairing address information of each historical pairing device, so that the corresponding pairing address can be quickly found according to the device identification, and then the corresponding device can be quickly switched.
Step 102, receiving a first input.
The first input may be a selection operation of a user on at least one electronic device identifier displayed on the first electronic device, for example, each electronic device identifier corresponds to one device option, and the user may select a target device identifier from the at least one electronic device identifier to control the second electronic device to switch to the electronic device connection corresponding to the target device identifier.
The first input may also be that the user performs a switching operation configuration on the electronic device corresponding to each electronic device identifier, that is, selects a switching operation mode for each electronic device identifier, for example, the switching operation of the first electronic device identifier is configured to be pressed for 2s, the switching operation of the second electronic device identifier is configured to be pressed for 3s, the switching operation of the third electronic device identifier is configured to be pressed for 3s, and so on, so that, through the first input, the user may perform a switching operation corresponding to the target electronic device on the second electronic device to achieve switching connection to the target electronic device.
Optionally, the step 102 includes:
receiving a selection input aiming at a target device identification in the at least one electronic device identification, wherein the target device identification is an identification corresponding to the third electronic device.
In this embodiment, the first input may be a selection input for a target device identifier in the at least one electronic device identifier, specifically, when the first electronic device displays the at least one electronic device identifier, a device identifier option may be generated for each electronic device identifier, so that a user may select a device identifier desired to be switched, and after receiving the target device identifier selected by the user, the first electronic device may respond to the selection input of the user, that is, control the second electronic device to switch to an electronic device connection corresponding to the target device identifier.
Further, after receiving a selection input for a target device identification of the at least one electronic device identification, the method further comprises:
and sending the target equipment identification to the second electronic equipment.
That is, after receiving the target device identifier selected by the user, the target device identifier may be returned to the second electronic device, so that the second electronic device determines the corresponding target electronic device according to the received target device identifier, and initiates a connection request to the target electronic device according to the connection address information of the target electronic device, thereby switching to connection with the target electronic device.
For example, as shown in fig. 2, after receiving history paired device information sent by the second electronic device, the first electronic device may display a device selection interface 20, where the device selection interface 20 displays a plurality of device options 21 including names of history paired devices of the second electronic device, and prompts the user to select one device identifier from the device options, the user may click a device option corresponding to any one of the device identifiers, the first electronic device sends a target device identifier corresponding to the device option selected by the user to the second electronic device, and after receiving the target device identifier, the second electronic device may disconnect from the first electronic device and connect to a third electronic device corresponding to the target device identifier.
Therefore, when the connection equipment of the second electronic equipment needs to be switched, the identification corresponding to the target electronic equipment which is expected to be connected is selected on the first electronic equipment, the user does not need to disconnect the original connection equipment, the operation such as connection is clicked on the target electronic equipment, and the method is suitable for the situation that the user quickly completes the switching of the connection equipment of the second electronic equipment through the current handheld equipment.
Step 103, responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to connect with a third electronic device, where the at least one electronic device identifier includes an identifier corresponding to the third electronic device.
After receiving the first input, in response to the first input, for example when the first input is a device identifier selection input, the target device identifier selected by the first input may be sent to the second electronic device, so as to control the second electronic device to switch to a third electronic device corresponding to the target device identifier and disconnect the first electronic device and the second electronic device; when the first input is a switching operation configuration input, corresponding switching configuration information may be generated and sent to the second electronic device, so that the second electronic device may perform connection device switching according to the switching configuration information, that is, disconnect the connection with the first electronic device, and switch to a corresponding third electronic device according to a switching operation of a user.
In the device switching method in this embodiment, at least one electronic device identifier is displayed when a first electronic device is connected to a second electronic device; receiving a first input; and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device. Like this, when needing to switch the jointing equipment to second electronic equipment, the user only need on first electronic equipment based on the equipment sign that shows, carry out first input can, and need not to carry out series switching operation between a plurality of equipment for the easy operation of switching jointing equipment is convenient, and efficiency is higher.
Referring to fig. 3, fig. 3 is a flowchart of another device switching method provided in an embodiment of the present invention, and is applied to a first electronic device, as shown in fig. 3, the method includes the following steps:
step 301, displaying a configuration interface, wherein the configuration interface comprises at least one electronic device identifier.
The at least one electronic device identifier may be an identifier sent to the first electronic device by the second electronic device connected to the first electronic device, or an identifier of a nearby electronic device searched by the first electronic device, such as an identifier of a nearby electronic device searched by bluetooth, where the device identifier may be an identifier of a name, an IP address, and the like of the electronic device.
In this embodiment, when the target switching connection device is far from the user location or is not convenient for the user to obtain, in order to reduce the connection operation performed by the user on the device, a device that is convenient for the user to perform a corresponding operation on the first electronic device (the electronic device that the user conveniently operates) and the second electronic device connected to the first electronic device to complete the switching of the connection device of the second electronic device may be designed, specifically, a configuration interface may be displayed on the first electronic device, and the at least one electronic device identifier may be displayed in the configuration interface, and the user may select a corresponding operation item for each electronic device identifier on the configuration interface, that is, configure and switch an operation mode for the electronic device corresponding to each electronic device identifier.
Optionally, before the displaying the configuration interface, the method further includes:
and receiving historical paired device information sent by the second electronic device, wherein the historical paired device information comprises the at least one electronic device identifier.
That is, in this embodiment, the second electronic device may first send the historical paired device information stored in the second electronic device, such as the name or address of the historical paired device, to the first electronic device, so that the first electronic device may receive the historical paired device information sent by the second electronic device, where the at least one electronic device identifier is an identifier of at least one historical paired device of the second electronic device, such as the name or address of the historical paired device.
The first electronic device may extract at least one electronic device identifier from the received historical pairing device information, and display the at least one electronic device identifier on the configuration interface, so that a user configures operation items for each electronic device corresponding to the at least one electronic device identifier.
In this way, by receiving the historical paired device information sent by the second electronic device, the user can configure operation items for the historical paired devices of the second electronic device on the first electronic device, so that the user can switch connection devices for the second electronic device according to the configuration information.
Step 302, receiving a second input.
The second input may be an input for selecting a corresponding operation item for each of the at least one electronic device identifier, that is, configuring a corresponding switching operation mode for each electronic device corresponding to each electronic device identifier, that is, the operation item is an operation option corresponding to a certain operation mode. For example, the user may configure, on the configuration interface, the operation item corresponding to the first electronic device identifier as long-press 2s, the operation item corresponding to the second electronic device identifier as long-press 3s, the operation item corresponding to the third electronic device identifier as double-click operation, and so on.
In this way, the user can perform corresponding operations on the second electronic device according to the operation mode indicated by the operation item corresponding to the target electronic device, so as to realize that the second electronic device is switched and connected to the target electronic device.
Step 303, responding to the second input, and establishing an association relationship between each electronic device corresponding to the at least one electronic device identifier and an operation item.
And step 304, sending the association relation to a second electronic device connected with the first electronic device.
After the user configures the corresponding operation item for each electronic device identifier on the configuration interface, an association relationship between each electronic device corresponding to the at least one electronic device identifier and the operation item may be established based on the configured information, and the association relationship may be sent to the second electronic device, so that the second electronic device determines, based on the association relationship, the electronic device corresponding to the switching operation subsequently performed by the user.
Specifically, the user may execute, according to the operation item configured for each electronic device corresponding to the at least one electronic device in the second input, a corresponding switching operation on the second electronic device according to an operation manner indicated by an operation item corresponding to a third electronic device that is expected to be switched and connected, and the second electronic device may determine, according to the electronic device corresponding to each operation item indicated in the association relationship, that the current switching operation corresponds to the third electronic device, and may further switch to connection with the third electronic device.
For example, as shown in fig. 4, after receiving history paired device information sent by the second electronic device, the first electronic device may display a device switching configuration interface 40, where the device switching configuration interface 40 displays a plurality of device options 41 including names of history paired devices of the second electronic device and switching operation mode options 42 of the history paired devices, and prompts a user to configure switching operation modes for the devices, that is, to select different operation items, and the user may select corresponding operation items for the history paired devices through the switching operation mode options 42 corresponding to the history paired devices, where, for example, the operation item configured for the electronic device a is "long press 1 press", the operation item configured for the electronic device B is "long press 2 press", and the operation item configured for the electronic device C is "long press 3 press". After the selection is completed, the user may click the "configure" button 43, and the first electronic device may send the association relationship between each history paired device configured by the user and the corresponding operation item to the second electronic device. In this way, the user can press 1 on the second electronic device for a long time if he/she desires to switch to the electronic device a, 2 on the second electronic device for a long time if he/she desires to switch to the electronic device B, and 3 on the second electronic device for a long time if he/she desires to switch to the electronic device C.
In this way, in this embodiment, when the connection device of the second electronic device needs to be switched, only the operation item corresponding to each electronic device identifier needs to be configured on the first electronic device, and the switching operation corresponding to the electronic device that is expected to be connected needs to be executed on the second electronic device, and operations such as disconnecting the original connection device and clicking connection on the target electronic device by the user are not needed.
Referring to fig. 5, fig. 5 is a flowchart of another device switching method provided in an embodiment of the present invention, and is applied to a second electronic device, as shown in fig. 5, the method includes the following steps:
step 501, sending historical paired device information to a first electronic device, where the historical paired device information includes at least one electronic device identifier, and the at least one electronic device identifier includes an identifier corresponding to a third electronic device.
In this embodiment, in order to facilitate a user to switch a connection device for a second electronic device on a first electronic device, the second electronic device may send historical paired device information to the first electronic device, and specifically, may first obtain historical paired device information stored in the second electronic device, such as a recorded name of a paired device, and then send the historical paired device information to the first electronic device.
After the first electronic device receives the historical paired device information sent by the second electronic device, the historical paired device information, such as an electronic device identifier, may be displayed on a user interface, so that a user may select an identifier corresponding to an electronic device from which the second electronic device is expected to switch connection. For specific implementation, reference may be made to the related description in the implementation shown in fig. 2, and details are not repeated here to avoid repetition.
The history paired device information may include at least one electronic device identifier, where the at least one electronic device identifier includes an identifier corresponding to a third electronic device, so that a user may control the second electronic device to switch to connect with the third electronic device by selecting the identifier corresponding to the third electronic device on the first electronic device.
Optionally, after the step 501, the method further includes:
receiving an identifier corresponding to the third electronic device sent by the first electronic device;
and disconnecting the first electronic equipment and establishing connection with the third electronic equipment.
In this embodiment, after the user selects an identifier corresponding to a third electronic device from the at least one electronic device identifier on the first electronic device, the first electronic device may return the identifier corresponding to the third electronic device selected by the user to the second electronic device, so that the second electronic device may receive the identifier corresponding to the third electronic device sent by the first electronic device, and may find, based on the identifier, connection information, such as a bluetooth address, of the third electronic device corresponding to the identifier from history paired device information, so as to disconnect the connection with the first electronic device, and establish a connection with the third electronic device through the connection information of the third electronic device.
Therefore, the user can directly select the identifier of the electronic equipment which is expected to be connected in a switching mode for the second electronic equipment on the first electronic equipment, so that the connection equipment of the second electronic equipment can be switched without operating among a plurality of pieces of equipment, the equipment switching efficiency and the operation convenience can be improved, and the method is suitable for the situation that the user quickly completes the equipment switching of the second electronic equipment through the current handheld equipment.
It should be noted that, in order to simplify the switching operation of the user, the second electronic device may directly receive a voice switching instruction input by the user to implement switching of the connection device. That is, the device switching method may also include:
receiving a voice switching instruction input by a user, wherein the voice switching instruction comprises identification information of third electronic equipment;
and responding to the voice switching instruction, disconnecting the connection with the first electronic equipment, and establishing connection with the third electronic equipment.
That is, the second electronic device may support a voice recognition function, so as to be able to recognize a voice switching instruction containing device switching information issued by a user, that is, the user may input identification information of a third electronic device that needs to switch a connection by voice, such as a name of the third electronic device, where the third electronic device may be a history pairing device of the second electronic device.
After receiving the voice switching instruction, the second electronic device may respond by recognizing, by voice, the identification information of the third electronic device included therein, that is, disconnect the connection with the first electronic device, and may search, by the identification information of the third electronic device, the connection information of the third electronic device, such as a bluetooth address, and establish a connection with the third electronic device based on the connection information.
Optionally, before receiving the voice switching instruction input by the user, the method further includes:
receiving a preset input for triggering the second electronic device to enter a device switching mode;
responding to the preset input, entering a device switching mode, and starting a voice function;
the receiving of the voice switching instruction input by the user comprises:
and receiving a voice switching instruction which is input by a user and carries an identifier corresponding to the third electronic equipment.
In this embodiment, the second electronic device may support a voice recognition function, and before receiving a voice switching instruction of a user, a preset input of the user may be received first, where the preset input may be a preset input for triggering the second electronic device to enter a device switching mode, and if the preset input is a tap three times on the second electronic device, after receiving the preset input, the second electronic device may enter the device switching mode, and start a voice function to receive and recognize the voice switching instruction input by the user.
The voice switching instruction input by the user may carry an identifier for indicating a connected third electronic device, such as a name of the third electronic device, so that the second electronic device may be switched to be connected with the third electronic device after recognizing the identifier of the third electronic device in the voice switching instruction.
Therefore, the user can directly operate on the second electronic device without relying on other electronic devices, and the switching operation of the connecting device of the second electronic device can be completed.
It should be noted that, in order to ensure the success rate of switching connection, the third electronic device may be a history pairing device of the second electronic device, that is, information, such as a bluetooth address, a name, and the like, of the third electronic device is stored and recorded in the second electronic device, so that according to the third electronic device indicated by the device switching instruction, the second electronic device may be quickly connected to the third electronic device through the recorded information of the third electronic device.
Optionally, the establishing of the connection with the third electronic device includes:
judging whether the third electronic equipment is history pairing equipment or not;
if the third electronic equipment is history pairing equipment, establishing connection with the third electronic equipment, and outputting a first prompt voice under the condition of successful connection to prompt that the connection switching is successful;
after determining whether the third electronic device is a history pairing device, the method further includes:
and if the third electronic equipment is not the history pairing equipment, outputting a second prompt voice to prompt that the third electronic equipment is not the history pairing equipment.
In this manner, after receiving an apparatus switching instruction input by a user, to ensure that apparatus switching is successful, it may be determined whether the third electronic apparatus is a history paired apparatus first, that is, it may be determined whether the third electronic apparatus is a history paired apparatus based on information of the third electronic apparatus and history paired apparatus information indicated by the apparatus switching instruction.
If so, searching connection information of the third electronic equipment, such as a Bluetooth address, from the historical paired equipment information, connecting the third electronic equipment according to the connection information, and outputting a first prompt voice to prompt a user to switch successfully under the condition of successful connection; if not, the second electronic device is difficult to switch to connect with the device, so that a second prompt voice can be output to prompt the user that the third electronic device is not the history pairing device and the information of the device expected to be connected needs to be input again.
Taking a bluetooth headset as an example, when a connection device of the bluetooth headset needs to be switched, the bluetooth headset can be knocked three times in an appointed mode so that the bluetooth headset enters a device switching mode and starts a recording function, and then, a user can input the name of the electronic device needing to be connected by voice, such as inputting a voice message of switching to be connected with the electronic device A; when recognizing the device name in the voice of the user, the Bluetooth headset can firstly judge whether the electronic device A is a historical pairing device, if so, the connection with the original device can be disconnected, the electronic device A is tried to be connected according to the Bluetooth address of the electronic device A, and a voice prompt message of 'successful connection to the electronic device A' can be output under the condition of successful connection, and a voice prompt message of 'failed connection to the electronic device A' can be output under the condition of failed connection; if not, the voice prompt message of 'the electronic device A is not in the history paired device list and please re-input the device name' can be directly output.
Therefore, the user can obtain switching result feedback by judging whether the target electronic equipment is the history pairing equipment or not and outputting different voice prompts according to the judgment result, and the user experience can be further improved.
It should be further noted that the embodiment of the present invention may also be applied to complete the device switching of the second electronic device by the electronic device that does not establish a communication connection with the second electronic device, that is, before the step 501, the method may further include:
under the condition that a fourth electronic device establishes communication connection with the second electronic device, sending historical paired device information to the fourth electronic device based on the established communication connection mode; or
And sending the historical paired device information to the fourth electronic device in a Bluetooth Low Energy (BLE) broadcasting mode under the condition that the fourth electronic device does not establish communication connection with the second electronic device.
In this embodiment, before the second electronic device transmits the history paired device information, the history paired device information may be transmitted in a different manner according to whether the fourth electronic device establishes a communication connection with the second electronic device.
In one mode, when a fourth electronic device establishes a communication connection with the second electronic device, the second electronic device may send its history paired device information to the fourth electronic device based on the established communication connection, for example, if the fourth electronic device establishes a Serial Port Profile (SPP) connection with the second electronic device, the second electronic device may send the history paired device information to the fourth electronic device based on the established SPP connection; if the fourth electronic device is connected with the second electronic device by a bluetooth Hands-free Profile (HFP), the second electronic device may send the history pairing device information to the fourth electronic device based on the HFP connection.
In another mode, in a case that a fourth electronic device does not establish a communication connection with the second electronic device, the second electronic device may broadcast its historical paired device information using BLE, so that the fourth electronic device located within its broadcast range may receive the historical paired device information broadcast by the bluetooth device.
Therefore, a user can assist in completing the switching of the connection equipment of the second electronic equipment through the electronic equipment currently connected with the second electronic equipment, and the electronic equipment convenient to operate (such as equipment close to the user) can also be adopted to assist in completing the switching of the connection equipment of the second electronic equipment according to an actual scene, so that the equipment switching operation of the user is flexible and can not be limited by the position of the equipment.
It should be noted that, the second electronic device may send the history paired device information to the fourth electronic device based on a trigger operation of a user or a request of the fourth electronic device, so as to enter a device switching process.
In the device switching method in this embodiment, by sending the history pairing device information to the first electronic device, the user can select the electronic device that is expected to be switched to connect for the second electronic device on the first electronic device, and control the second electronic device to switch to establish connection with the third electronic device based on the selection of the user, so that when the connection device is switched for the second electronic device, the user does not need to perform excessive operations among multiple electronic devices, and the operation of switching the connection device is simple and convenient, and the efficiency is high.
Referring to fig. 6, fig. 6 is a flowchart of another device switching method provided in the embodiment of the present invention, and is applied to a second electronic device, as shown in fig. 6, the method includes the following steps:
step 601, receiving an association relationship between each electronic device and an operation item, corresponding to at least one electronic device identifier sent by a first electronic device, when a second electronic device is connected with the first electronic device.
Step 602, a third input is received.
Step 603, responding to the third input, disconnecting the second electronic device from the first electronic device, and establishing the connection between the second electronic device and a fourth electronic device;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
In this embodiment, the association relationship may be established when the first electronic device configures the corresponding operation item for each electronic device identifier on the configuration interface based on the user, and specifically refer to the relevant description in the method embodiment shown in fig. 3, and in order to avoid repetition, details are not described here again.
The third input may be a device switching operation input by a user on the second electronic device, and the second electronic device may determine, based on the association relationship sent by the first electronic device, a third electronic device connected to the third input, specifically, may determine an operation item corresponding to the third input, and determine, according to the association relationship, an electronic device associated with the operation item.
Optionally, before the step 601, the method further includes:
sending historical paired device information to the first electronic device, wherein the historical paired device information includes at least one electronic device identifier, and the at least one electronic device identifier includes an identifier corresponding to the fourth electronic device.
That is to say, before receiving the association relationship sent by the first electronic device, the second electronic device may first send, to the first electronic device, history paired device information stored in the second electronic device, such as a history paired device name or an address, and the first electronic device may display a device switching configuration interface including at least one electronic device identifier on a user interface, so that a user configures, on the interface, an operation item corresponding to each electronic device identifier for the second electronic device, so that the second electronic device may determine, according to a subsequent switching operation performed by the user on the second electronic device, a fourth electronic device to which the user desires to switch a connection. After the user configuration is completed, the first electronic device may return information, that is, the association relationship, of operation items corresponding to the identifiers of the electronic devices configured by the user to the second electronic device, and then the user may execute a corresponding device switching operation on the second electronic device according to an operation manner indicated by an operation item corresponding to a device desired to be switched and connected, and the second electronic device may determine, according to the association relationship, a fourth electronic device corresponding to the device switching operation, and further switch to be connected with the fourth electronic device. For specific embodiments, reference may be made to the related description in the embodiment shown in fig. 4, and in order to avoid repetition, the description is not repeated here.
It should be noted that, the second electronic device may send the history paired device information to the first electronic device based on a trigger operation of a user or a request of the first electronic device, so as to enter a device switching process.
In this way, in this embodiment, when the connection device of the second electronic device needs to be switched, only the switching operation mode of each electronic device needs to be configured on the first electronic device, and the switching operation corresponding to the electronic device that is expected to be connected needs to be executed on the second electronic device, and there is no need for the user to disconnect the original connection device and click on the target electronic device, and the like.
Referring to fig. 7, fig. 7 is a structural diagram of a first electronic device according to an embodiment of the present invention, and as shown in fig. 7, the first electronic device 700 includes:
a display module 701, configured to display at least one electronic device identifier when the first electronic device is connected to a second electronic device;
a first receiving module 702, configured to receive a first input;
a control module 703, configured to, in response to the first input, disconnect the first electronic device from the second electronic device, and control the second electronic device to connect to a third electronic device, where the at least one electronic device identifier includes an identifier corresponding to the third electronic device.
Optionally, as shown in fig. 8, the first electronic device 700 further includes:
a second receiving module 704, configured to receive historical paired device information sent by the second electronic device, where the historical paired device information includes the at least one electronic device identifier.
Optionally, the first receiving module 702 is configured to receive a selection input for a target device identifier in the at least one electronic device identifier, where the target device identifier is an identifier corresponding to the third electronic device;
optionally, as shown in fig. 9, the first electronic device 700 further includes:
a sending module 705, configured to send the target device identifier to the second electronic device.
The first electronic device 700 is capable of implementing each process implemented by the first electronic device in the method embodiment of fig. 1, and details are not repeated here to avoid repetition. In this embodiment, when the second electronic device needs to be switched to the connection device, the user only needs to perform the first input on the first electronic device based on the displayed device identifier, and does not need to perform a series of switching operations among a plurality of devices, so that the operation of switching the connection device is simple and convenient, and the efficiency is high.
Referring to fig. 10, fig. 10 is a structural diagram of another first electronic device according to an embodiment of the present invention, and as shown in fig. 10, the first electronic device 1000 includes:
a display module 1001, configured to display a configuration interface, where the configuration interface includes at least one electronic device identifier;
a receiving module 1002, configured to receive a second input;
an establishing module 1003, configured to, in response to the second input, establish an association relationship between each electronic device corresponding to the at least one electronic device identifier and the operation item;
a sending module 1004, configured to send the association relationship to a second electronic device connected to the first electronic device.
The first electronic device 1000 can implement each process implemented by the first electronic device in the method embodiment of fig. 3, and details are not described here for avoiding repetition. In this embodiment, when a connection device of a second electronic device needs to be switched, only operation items corresponding to identifiers of the electronic devices need to be configured on a first electronic device, and a switching operation corresponding to an electronic device that is desired to be connected is performed on the second electronic device, and operations such as disconnecting the original connection device by a user and clicking connection on a target electronic device are not needed.
Referring to fig. 11, fig. 11 is a structural diagram of a second electronic device according to an embodiment of the present invention, and as shown in fig. 11, the second electronic device 1100 includes:
a sending module 1101, configured to send historical paired device information to a first electronic device, where the historical paired device information includes at least one electronic device identifier, and the at least one electronic device identifier includes an identifier corresponding to a third electronic device.
Optionally, as shown in fig. 12, the second electronic device 1100 further includes:
a receiving module 1102, configured to receive an identifier corresponding to the third electronic device sent by the first electronic device;
a switching module 1103, configured to disconnect the connection with the first electronic device and establish a connection with the third electronic device.
The second electronic device 1100 is capable of implementing each process implemented by the second electronic device in the method embodiment of fig. 5, and is not described here again to avoid repetition. The second electronic device 1100 of the embodiment of the present invention can send history paired device information to the first electronic device, so that a user can select an electronic device that is desired to be switched to connect for the second electronic device on the first electronic device, and control the second electronic device to switch to establish connection with a third electronic device based on the selection of the user, so that when the connected device is switched for the second electronic device, the user does not need to perform excessive operations among multiple electronic devices, and the operation of switching the connected device is simple and convenient, and the efficiency is high.
Referring to fig. 13, fig. 13 is a block diagram of another second electronic device according to an embodiment of the present invention, and as shown in fig. 13, a second electronic device 1300 includes:
a first receiving module 1301, configured to receive, when the second electronic device is connected to the first electronic device, an association relationship between each electronic device and an operation item, where the association relationship corresponds to at least one electronic device identifier sent by the first electronic device;
a second receiving module 1302, configured to receive a third input;
a switching module 1303, configured to respond to the third input, disconnect the second electronic device from the first electronic device, and establish a connection between the second electronic device and a fourth electronic device;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
The second electronic device 1300 can implement each process implemented by the second electronic device in the method embodiment of fig. 6, and details are not described here again to avoid repetition. In this embodiment, when a connection device of a second electronic device needs to be switched, only the switching operation mode of each electronic device needs to be configured on the first electronic device, and the switching operation corresponding to the electronic device that is desired to be connected is executed on the second electronic device, and operations such as disconnecting the original connection device by a user, clicking connection on a target electronic device, and the like are not needed.
Fig. 14 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device is a first electronic device, and the electronic device 1400 includes, but is not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, processor 1410, and power supply 1411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 14 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
In one embodiment, the processor 1410 is configured to display at least one electronic device identifier when the first electronic device is connected to a second electronic device;
receiving a first input;
and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device.
Optionally, the radio frequency unit 1401 is configured to:
and receiving historical paired device information sent by the second electronic device, wherein the historical paired device information comprises the at least one electronic device identifier.
Optionally, the processor 1410 is further configured to:
receiving a selection input aiming at a target device identifier in the at least one electronic device identifier, wherein the target device identifier is an identifier corresponding to the third electronic device;
optionally, the radio frequency unit 1401 is further configured to:
and sending the target equipment identification to the second electronic equipment.
In another embodiment, the processor 1410 is configured to display a configuration interface, where the configuration interface includes at least one electronic device identifier;
receiving a second input;
responding to the second input, and establishing an incidence relation between each electronic device corresponding to the at least one electronic device identifier and an operation item;
a radio frequency unit 1401, configured to send the association relationship to a second electronic device connected to the first electronic device.
The electronic device 1400 can implement the processes implemented by the first electronic device in the foregoing embodiments, and can achieve the same beneficial effects, and for avoiding repetition, the details are not repeated here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1401 may be configured to receive and transmit signals during a message transmission or call process, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1410; in addition, the uplink data is transmitted to the base station. In general, radio unit 1401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The radio unit 1401 may also communicate with a network and other devices via a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1402, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1403 can convert audio data received by the radio frequency unit 1401 or the network module 1402 or stored in the memory 1409 into an audio signal and output as sound. Also, the audio output unit 1403 may also provide audio output related to a specific function performed by the electronic device 1400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1404 is for receiving an audio or video signal. The input Unit 1404 may include a Graphics Processing Unit (GPU) 14041 and a microphone 14042, the Graphics processor 14041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1406. The image frames processed by the graphics processor 14041 may be stored in the memory 1409 (or other storage medium) or transmitted via the radio unit 1401 or the network module 1402. The microphone 14042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1401 in case of a phone call mode.
The electronic device 1400 also includes at least one sensor 1405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 14061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 14061 and/or the backlight when the electronic device 1400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1405 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 1406 is used to display information input by the user or information provided to the user. The Display unit 1406 may include a Display panel 14061, and the Display panel 14061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 14071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 14071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1410, receives a command from the processor 1410, and executes the command. In addition, the touch panel 14071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 14071, the user input unit 1407 may include other input devices 14072. In particular, the other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 14071 may be overlaid on the display panel 14061, and when the touch panel 14071 detects a touch operation on or near the touch panel 14071, the touch operation is transmitted to the processor 1410 to determine the type of the touch event, and then the processor 1410 provides a corresponding visual output on the display panel 14061 according to the type of the touch event. Although in fig. 14, the touch panel 14071 and the display panel 14061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 14071 and the display panel 14061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 1408 is an interface for connecting an external device to the electronic apparatus 1400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1408 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1400 or may be used to transmit data between the electronic apparatus 1400 and the external device.
The memory 1409 may be used to store software programs as well as various data. The memory 1409 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1409 can include high speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1409 and calling data stored in the memory 1409, thereby performing overall monitoring of the electronic device. Processor 1410 may include one or more processing units; preferably, the processor 1410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1410.
The electronic device 1400 may further include a power source 1411 (e.g., a battery) for supplying power to various components, and preferably, the power source 1411 may be logically connected to the processor 1410 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 1400 includes some functional modules that are not shown, and are not described herein.
An embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program is executed by the processor to implement each process of the device switching method embodiment shown in fig. 1 or fig. 3, or the computer program is executed by the processor to implement each process of the device switching method embodiment shown in fig. 5 or fig. 6, and the same technical effects can be achieved, and are not described herein again to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the device switching method embodiment shown in fig. 1 or fig. 3, or when the computer program is executed by the processor, the computer program implements each process of the device switching method embodiment shown in fig. 5 or fig. 6, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A device switching method is applied to a first electronic device, and is characterized by comprising the following steps:
displaying at least one electronic device identifier under the condition that the first electronic device is connected with a second electronic device;
receiving a first input;
and responding to the first input, disconnecting the first electronic device from the second electronic device, and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device.
2. The method of claim 1, wherein prior to said displaying at least one electronic device identification, the method further comprises:
and receiving historical paired device information sent by the second electronic device, wherein the historical paired device information comprises the at least one electronic device identifier.
3. The method of claim 1, wherein receiving a first input comprises:
receiving a selection input aiming at a target device identification in the at least one electronic device identification, wherein the target device identification is an identification corresponding to the third electronic device.
4. The method of claim 3, further comprising:
and sending the target equipment identification to the second electronic equipment.
5. A device switching method is applied to a first electronic device, and is characterized by comprising the following steps:
displaying a configuration interface, wherein the configuration interface comprises at least one electronic equipment identifier;
receiving a second input;
responding to the second input, and establishing an incidence relation between each electronic device corresponding to the at least one electronic device identifier and an operation item;
and sending the association relation to a second electronic device connected with the first electronic device.
6. A device switching method is applied to a second electronic device, and is characterized by comprising the following steps:
sending historical paired device information to a first electronic device, wherein the historical paired device information comprises at least one electronic device identifier, and the at least one electronic device identifier comprises an identifier corresponding to a third electronic device.
7. The method of claim 6, wherein after sending the historical paired device information to the first electronic device, the method further comprises:
receiving an identifier corresponding to the third electronic device sent by the first electronic device;
and disconnecting the first electronic equipment and establishing connection with the third electronic equipment.
8. A device switching method is applied to a second electronic device, and is characterized by comprising the following steps:
under the condition that the second electronic equipment is connected with the first electronic equipment, receiving the association relation between each electronic equipment corresponding to at least one electronic equipment identifier sent by the first electronic equipment and the operation item;
receiving a third input;
in response to the third input, disconnecting the second electronic device from the first electronic device and establishing a connection between the second electronic device and a fourth electronic device;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
9. A first electronic device, comprising:
the display module is used for displaying at least one electronic equipment identifier under the condition that the first electronic equipment is connected with the second electronic equipment;
the first receiving module is used for receiving a first input;
and the control module is used for responding to the first input, disconnecting the first electronic device from the second electronic device and controlling the second electronic device to be connected with a third electronic device, wherein the at least one electronic device identifier comprises an identifier corresponding to the third electronic device.
10. The first electronic device of claim 9, wherein the first electronic device further comprises:
a second receiving module, configured to receive historical paired device information sent by the second electronic device, where the historical paired device information includes the at least one electronic device identifier.
11. The first electronic device of claim 9, wherein the first receiving module is configured to receive a selection input for a target device identifier of the at least one electronic device identifier, where the target device identifier is an identifier corresponding to the third electronic device.
12. The first electronic device of claim 11, wherein the first electronic device further comprises:
and the sending module is used for sending the target equipment identification to the second electronic equipment.
13. A first electronic device, comprising:
the display module is used for displaying a configuration interface, and the configuration interface comprises at least one electronic equipment identifier;
a receiving module for receiving a second input;
the establishing module is used for responding to the second input and establishing the incidence relation between each electronic device corresponding to the at least one electronic device identification and the operation item;
and the sending module is used for sending the association relation to second electronic equipment connected with the first electronic equipment.
14. A second electronic device, comprising:
the sending module is configured to send historical paired device information to a first electronic device, where the historical paired device information includes at least one electronic device identifier, and the at least one electronic device identifier includes an identifier corresponding to a third electronic device.
15. The second electronic device of claim 14, further comprising:
the receiving module is used for receiving the identifier corresponding to the third electronic equipment, which is sent by the first electronic equipment;
and the switching module is used for disconnecting the connection with the first electronic equipment and establishing the connection with the third electronic equipment.
16. A second electronic device, comprising:
the first receiving module is used for receiving the association relation between each electronic device and the operation item, corresponding to at least one electronic device identifier, sent by the first electronic device, under the condition that the second electronic device is connected with the first electronic device;
a second receiving module for receiving a third input;
the switching module is used for responding to the third input, disconnecting the second electronic equipment from the first electronic equipment and establishing the connection between the second electronic equipment and fourth electronic equipment;
and the identifier of the fourth electronic device is included in the at least one electronic device identifier, and the fourth electronic device is associated with the operation item corresponding to the third input.
17. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the device switching method according to any one of claims 1 to 5; or which computer program, when being executed by said processor, carries out the steps of the device switching method according to any one of claims 6 to 8.
18. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps in the device switching method according to any one of claims 1 to 5; alternatively, the computer program realizes the steps in the device switching method according to any one of claims 6 to 8 when executed by a processor.
CN201911345734.2A 2019-12-24 2019-12-24 Equipment switching method and related equipment Active CN111083755B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911345734.2A CN111083755B (en) 2019-12-24 2019-12-24 Equipment switching method and related equipment
PCT/CN2020/137483 WO2021129529A1 (en) 2019-12-24 2020-12-18 Device switching method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345734.2A CN111083755B (en) 2019-12-24 2019-12-24 Equipment switching method and related equipment

Publications (2)

Publication Number Publication Date
CN111083755A true CN111083755A (en) 2020-04-28
CN111083755B CN111083755B (en) 2022-06-10

Family

ID=70317198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345734.2A Active CN111083755B (en) 2019-12-24 2019-12-24 Equipment switching method and related equipment

Country Status (2)

Country Link
CN (1) CN111083755B (en)
WO (1) WO2021129529A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492442A (en) * 2020-11-24 2021-03-12 江苏紫米电子技术有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
WO2021129529A1 (en) * 2019-12-24 2021-07-01 维沃移动通信有限公司 Device switching method and related device
CN114125792A (en) * 2020-09-01 2022-03-01 华为技术有限公司 Communication connection establishing method, Bluetooth headset and readable storage medium
WO2022227905A1 (en) * 2021-04-30 2022-11-03 深圳市欢太科技有限公司 Device connection method and apparatus, computer device, and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117636609A (en) * 2022-08-09 2024-03-01 北京小米移动软件有限公司 Control method, device and storage medium of wireless intelligent wearable equipment
CN117641605A (en) * 2022-08-09 2024-03-01 北京小米移动软件有限公司 Connection method, device and storage medium of wireless intelligent wearable equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407225A (en) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 Data transmission method and Bluetooth equipment
CN106851530A (en) * 2016-12-14 2017-06-13 青岛海信电器股份有限公司 The method and bluetooth equipment of a kind of automatic Hui Lian of bluetooth equipment
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN108696851A (en) * 2018-05-18 2018-10-23 西安蜂语信息科技有限公司 Control the method and device of smart machine linking objective equipment
CN109819529A (en) * 2019-03-18 2019-05-28 维沃移动通信有限公司 A kind of target switching method and terminal device
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363557B (en) * 2014-11-12 2018-04-27 北京国承万通信息科技有限公司 First equipment and its method and communication system with the second equipment communication
CN111083755B (en) * 2019-12-24 2022-06-10 维沃移动通信有限公司 Equipment switching method and related equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407225A (en) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 Data transmission method and Bluetooth equipment
CN106851530A (en) * 2016-12-14 2017-06-13 青岛海信电器股份有限公司 The method and bluetooth equipment of a kind of automatic Hui Lian of bluetooth equipment
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN108696851A (en) * 2018-05-18 2018-10-23 西安蜂语信息科技有限公司 Control the method and device of smart machine linking objective equipment
CN109819529A (en) * 2019-03-18 2019-05-28 维沃移动通信有限公司 A kind of target switching method and terminal device
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021129529A1 (en) * 2019-12-24 2021-07-01 维沃移动通信有限公司 Device switching method and related device
CN114125792A (en) * 2020-09-01 2022-03-01 华为技术有限公司 Communication connection establishing method, Bluetooth headset and readable storage medium
WO2022048488A1 (en) * 2020-09-01 2022-03-10 华为技术有限公司 Communication connection establishment method, bluetooth earphone, and readable storage medium
CN112492442A (en) * 2020-11-24 2021-03-12 江苏紫米电子技术有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
WO2022227905A1 (en) * 2021-04-30 2022-11-03 深圳市欢太科技有限公司 Device connection method and apparatus, computer device, and storage medium

Also Published As

Publication number Publication date
WO2021129529A1 (en) 2021-07-01
CN111083755B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN111083755B (en) Equipment switching method and related equipment
CN108279948B (en) Application program starting method and mobile terminal
CN110972334A (en) Bluetooth pairing connection method and device and readable storage medium
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN110673770B (en) Message display method and terminal equipment
CN108446156B (en) Application program control method and terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109683768B (en) Application operation method and mobile terminal
CN109521684B (en) Household equipment control method and terminal equipment
CN110806832A (en) Parameter adjusting method and electronic equipment
CN111124345A (en) Audio source processing method and mobile terminal
CN109788114B (en) Call processing method and terminal
CN110096203B (en) Screenshot method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN111061404A (en) Control method and first electronic device
CN110769303A (en) Playing control method and device and mobile terminal
CN109002245B (en) Application interface operation method and mobile terminal
CN111061446A (en) Display method and electronic equipment
WO2020133350A1 (en) Interface display method and control terminal
WO2021208893A1 (en) Audio output mode switching method and electronic device
CN111475066B (en) Background switching method of application program and electronic equipment
CN110324494B (en) Terminal device operation method and related device
CN110780751B (en) Information processing method and electronic equipment

Legal Events

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