CN111182597B - Processing method and device - Google Patents

Processing method and device Download PDF

Info

Publication number
CN111182597B
CN111182597B CN201911416852.8A CN201911416852A CN111182597B CN 111182597 B CN111182597 B CN 111182597B CN 201911416852 A CN201911416852 A CN 201911416852A CN 111182597 B CN111182597 B CN 111182597B
Authority
CN
China
Prior art keywords
interactive
connection
processing equipment
component
assembly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911416852.8A
Other languages
Chinese (zh)
Other versions
CN111182597A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111314862.8A priority Critical patent/CN114143841A/en
Priority to CN201911416852.8A priority patent/CN111182597B/en
Publication of CN111182597A publication Critical patent/CN111182597A/en
Application granted granted Critical
Publication of CN111182597B publication Critical patent/CN111182597B/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
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • 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

Abstract

The embodiment of the application discloses a processing method and a processing device, wherein the method comprises the following steps: the method comprises the steps that a first interactive assembly and first processing equipment establish first connection, and a second interactive assembly and the first processing equipment establish second connection; the first connection and the second connection are connected in different modes; if the first condition is met, triggering the first interactive assembly or the second interactive assembly to be connected with second processing equipment, and the other interactive assembly to be connected with the first processing equipment; and the first interactive assembly or the second interactive assembly and the first processing equipment and the first interactive assembly or the second interactive assembly and the second processing equipment are connected in the first connection mode.

Description

Processing method and device
Technical Field
The present disclosure relates to media data transmission technologies, and in particular, to a processing method and apparatus.
Background
In the related art, when the bluetooth headset is connected with a processing device for telephone answering, video conference or audio playing, the following defects exist: because the main earphone and the auxiliary earphone are arranged in the Bluetooth earphone, after the main earphone is connected with the processing equipment, the auxiliary earphone is connected with the processing equipment through the main earphone, and if the earphone is switched to another processing equipment, the switching mode is very inconvenient. Namely, the connection between the main earphone in the earphone and the current processing equipment needs to be disconnected, so that the main earphone is paired with the processing equipment to be switched, the main earphone is connected into the processing equipment to be switched after the pairing, and the auxiliary earphone is connected into the processing equipment to be switched through the main earphone, which seriously affects the switching efficiency of the earphone between different processing equipment; for example, when the earphone is currently connected to the computer, if there is an incoming call in the mobile phone, the main earphone needs to be disconnected from the computer and then paired with the mobile phone, and then the main earphone can be connected to the mobile phone, and the auxiliary earphone is connected to the mobile phone through the main earphone.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present application provide a processing method and apparatus.
The technical scheme of the embodiment of the application is realized as follows:
an embodiment of the present application provides a processing method, including:
the method comprises the steps that a first interactive assembly and first processing equipment establish first connection, and a second interactive assembly and the first processing equipment establish second connection; the first connection and the second connection are connected in different modes;
if the first condition is met, triggering the first interactive assembly or the second interactive assembly to be connected with second processing equipment, and the other interactive assembly to be connected with the first processing equipment; and the first interactive assembly or the second interactive assembly and the first processing equipment and the first interactive assembly or the second interactive assembly and the second processing equipment are connected in the first connection mode.
As one implementation, the establishing, by the first interaction component and the first processing device, a first connection includes:
the first interactive component is directly connected with the first processing equipment;
the second interactive component and the first processing device establish a second connection, including:
the second interactive component is connected with the first processing device through the first interactive component.
As an implementation, the method further comprises:
if a first condition is met, triggering the second interactive component to be directly connected with the second processing equipment, and keeping a first connection between the first interactive component and the first processing equipment;
and the second interactive assembly and the second processing equipment and the first interactive assembly and the first processing equipment are connected in the first connection mode.
As an implementation, the method further comprises:
if a first condition is met, triggering the first interactive component to be directly connected with the second processing equipment, and directly connecting the second interactive component with the first processing equipment;
and the second interactive assembly and the first processing equipment and the first interactive assembly and the second processing equipment are connected in the first connection mode.
As an implementation, the method further comprises:
if the second condition is met, triggering the first interactive assembly and the second interactive assembly to be connected with second processing equipment;
the connection mode between the first interactive assembly and the first processing equipment is different from that between the first interactive assembly and the second processing equipment; and the connection mode between the second interactive assembly and the first processing equipment is different from that between the second interactive assembly and the second processing equipment.
As an implementation, the method further comprises:
and if the third condition is met, triggering the first interactive assembly to be directly connected with the first processing equipment, and connecting the second interactive assembly with the first processing equipment through the first interactive assembly.
As an implementation manner, the first condition is that switching information is received from the first interactive component or the second interactive component;
if the switching information from the second interactive component is obtained, a first condition is satisfied.
The embodiment of the present application further provides a processing method, where the method includes:
the first interactive assembly is connected with first processing equipment, and the second interactive assembly is connected with second processing equipment;
if a third condition is met, triggering the first interactive assembly to be connected with the second processing equipment through the second interactive assembly, wherein the second interactive assembly is kept connected with the second processing equipment;
and if the fourth condition is met, triggering the second interactive assembly to be connected with the first processing equipment through the first interactive assembly, wherein the first interactive assembly is kept connected with the first processing equipment.
An embodiment of the present application further provides a processing apparatus, including:
the connection unit is used for establishing a first connection between the first interactive assembly and the first processing equipment, and establishing a second connection between the second interactive assembly and the first processing equipment; wherein the first connection and the second connection are connected in different ways;
the triggering unit is used for triggering the first interactive assembly or the second interactive assembly to be connected with the second processing equipment and the other to be connected with the first processing equipment if a first condition is met;
and the first interactive assembly or the second interactive assembly and the first processing equipment and the first interactive assembly or the second interactive assembly and the second processing equipment are connected in the first connection mode.
An embodiment of the present application further provides a processing apparatus, where the apparatus includes:
the connecting unit is used for connecting the first interactive assembly with first processing equipment, and connecting the second interactive assembly with second processing equipment;
the first trigger unit is used for triggering the first interactive assembly to be connected with the second processing equipment through the second interactive assembly if a third condition is met, and the second interactive assembly is kept connected with the second processing equipment;
and the second trigger unit is used for triggering the second interactive assembly to be connected with the first processing equipment through the first interactive assembly if a fourth condition is met, and the first interactive assembly is kept connected with the first processing equipment.
According to the processing method and device provided by the embodiment of the application, when the first interactive assembly and the second interactive assembly are connected with the first processing equipment and switched to the second processing equipment if the first interactive assembly and the second interactive assembly are required to be switched to the second processing equipment, the first interactive assembly and/or the second interactive assembly can be switched to be connected to the second processing equipment through some switching instructions or switching conditions, and switching processing of access objects of the first interactive assembly and/or the second interactive assembly is carried out very conveniently and rapidly, so that a user can use the first interactive assembly and the second interactive assembly conveniently, and the use experience of the user is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a processing method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a structure of a processing apparatus according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a structure of a processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an example application in which a first interaction component and a second interaction component are connected to a processing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The present application will be described in further detail with reference to the following drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a processing method according to an embodiment of the present application, and as shown in fig. 1, the processing method according to the embodiment of the present application includes the following steps:
step 101, a first connection is established between a first interactive component and a first processing device, and a second connection is established between a second interactive component and the first processing device.
In the embodiment of the application, the first interactive component may be a left channel earphone in the wireless earphone, and the second interactive component may be a right channel earphone in the wireless earphone; of course, it is also possible that the first interactive component may be a right channel headphone in the wireless headphones, and the second interactive component may be a left channel headphone in the wireless headphones. I.e. the first interactive component and the second interactive component are two interactive components that appear in pairs. The first interactive component and the second interactive component in the embodiment of the application may also be components of other electronic devices. Such as left and right eye glasses in a wireless VR for receiving audio-video data of a processing device.
When the first interactive assembly and the second interactive assembly are wireless earphones, the first interactive assembly is used as a main earphone to establish first connection with the first processing equipment, and the second interactive assembly is used as an auxiliary earphone to establish second connection with the first processing equipment. Here, the first connection and the second connection are both Wireless connections, for example, bluetooth connections or Wireless Fidelity (WIFI) connections, and preferably, in this embodiment of the present application, the first connection and the second connection established between the first interaction component and the first processing device by the second interaction component are bluetooth connections.
Wherein the first connection and the second connection are connected in different manners. In this embodiment, the different connection modes of the first connection and the second connection mean that the first interactive component is directly connected with the first processing device, the second interactive component firstly establishes a wireless connection with the first interactive component, and establishes a connection with the first processing device through the first interactive component.
In the embodiment of the present application, the first processing device may be an electronic device such as a notebook computer, a mobile phone, a desktop computer, a tablet computer, a game machine, and a personal digital assistant.
In this embodiment of the application, when the first interaction component and the second interaction component are bluetooth headsets and the first interaction component is accessed to the first processing device as a master device, the first interaction component may be first paired with the first processing device through bluetooth connection, and after pairing is successful, the first connection is established between the first interaction component and the first processing device, and the second interaction component is used as a slave component and establishes bluetooth connection with the first interaction component after the first connection is established between the first interaction component and the first processing device. And after receiving the data sent by the first processing equipment, the first interactive assembly processes the data and forwards part or all of the data to the second interactive assembly. In the embodiment of the present application, specific ways of accessing the processing device by the first interaction component and the second interaction component are not limited, and the pairing and re-accessing between the main device and the object to be accessed is only an exemplary access way.
And 102, if a first condition is met, triggering the first interactive assembly or the second interactive assembly to be connected with a second processing device, and the other to be connected with the first processing device.
In the embodiment of the present application, the second processing device may be an electronic device such as a notebook computer, a mobile phone, a desktop computer, a tablet computer, a game machine, and a personal digital assistant.
The first processing device and the second processing device may be the same type of electronic device or different types of electronic devices.
And the first interactive assembly or the second interactive assembly and the first processing equipment and the first interactive assembly or the second interactive assembly and the second processing equipment are connected in the first connection mode.
In the embodiment of the application, when the first condition is met, the first interactive component and/or the second interactive component change the access object, that is, re-access to a new processing device. Here, the first condition may be a switching instruction or switching information received from an external processing device, such as receiving a switching instruction of the first processing device, or receiving a switching instruction sent by another processing device by the first interaction component and/or the second interaction component; the first interactive assembly and/or the second interactive assembly can be directly operated by a user, such as by pressing a command button or a switch of the first interactive assembly and/or the second interactive assembly, or by changing the posture of the first interactive assembly and/or the second interactive assembly to a set posture, such as when the first interactive assembly and/or the second interactive assembly is turned over by a set angle, so that the first condition is met; or when the distance between the first interactive assembly and the second interactive assembly is smaller than the set distance, the first condition is met.
As an implementation manner, in this embodiment of the application, the establishing, by the first interaction component and the first processing device, a first connection includes: the first interactive component is directly connected with the first processing equipment; the second interactive component and the first processing device establish a second connection, including: the second interactive component is connected with the first processing device through the first interactive component.
When the first condition is met, the first interactive assembly and the second interactive assembly are used as main equipment and are respectively in direct connection with the first processing equipment and the second processing equipment. In the embodiment of the application, the second interactive component is used as an auxiliary device to establish a second connection with the first processing device, when a first condition is met, the second interactive component establishes a direct connection with the first processing device, and the first interactive component establishes a direct connection with the second processing device, that is, the second interactive component establishes a first connection with the first processing device, and the first interactive component also establishes a first connection with the second processing device. Or when the first condition is met, the first interactive component and the first processing device establish direct connection, and the second interactive component and the second processing device establish direct connection.
In the embodiment of the application, when the interaction component and the processing device need to be paired first to establish connection, the identification information in the second processing device may be written into the second interaction component in advance, the second interaction component is disconnected from the first interaction component, and the first connection is directly established between the second interaction component and the second processing device based on the identification information of the second processing device stored in the second interaction component; or, in the case that the second interaction component does not store the second processing device identification information in advance, after the connection with the first interaction component is disconnected, the wireless connection module in the second processing device may be searched to complete the pairing with the second processing device, so as to establish the first connection with the second processing device, that is, the second interaction component is directly connected with the second processing device.
As an implementation manner, in this embodiment of the application, if a first condition is met, the second interaction component is triggered to be directly connected to the second processing device, and the first interaction component maintains a first connection with the first processing device.
In this embodiment of the application, when the first interaction component establishes a direct connection with the first processing device and the second interaction component establishes a direct connection with the second processing device, the first interaction component may be enabled to maintain the first connection with the first processing device without having to re-establish the first connection with the first processing device; and the second interactive assembly is disconnected from the first interactive assembly, and a direct connection with the second processing equipment is established. In this case, the second interactive component and the second processing device, and the first interactive component and the first processing device are connected in the first connection manner.
As an implementation manner, in this embodiment of the application, if a first condition is satisfied, the first interaction component is triggered to be directly connected to the second processing device, and the second interaction component is directly connected to the first processing device.
In this embodiment of the present application, if a first condition is satisfied, the first interactive component may be directly connected to the second processing device, and the second interactive component may be directly connected to the first processing device. Namely, the first interactive component firstly breaks the first connection with the first processing equipment, searches the second processing equipment and establishes the direct connection with the second processing equipment; the second interactive component firstly disconnects the connection with the first interactive component, searches the first processing equipment and establishes a direct connection with the first processing equipment.
For the case that the interactive component needs to be paired to access the processing device, the identification information of the first processing device and the second processing device may be written in the first interactive component in advance, so that when the first condition is met, after the first interactive component disconnects the first connection with the first processing device, the first interactive component directly searches the second processing device based on the identification information of the second processing device and establishes the first connection with the second processing device. The identification information of the first processing device may be written in the second interactive component in advance, and after the second interactive component disconnects from the first interactive component, the first processing device may be searched based on the identification information of the first processing device, and a direct connection with the first processing device may be established. When the pairing information is not written in the first interactive assembly and the second interactive assembly in advance, the pairing access can be performed after the corresponding processing equipment is searched.
In the above example, the second interactive component and the first processing device, and the first interactive component and the second processing device are connected in the first connection manner.
As an implementation manner, in this embodiment of the present application, the first condition is that switching information is received from the first interaction component or the second interaction component; the first condition may be that the first interactive component or the second interactive component and the object to be accessed, such as the second processing device, are within a wireless access range of the first interactive component or the second interactive component, and the first interactive component or the second interactive component establishes a wireless connection with the object to be accessed, and detects that the second processing device has data to output, if it is detected that the second processing device needs to output audio data through the interactive component. If the second processing device is a mobile phone, the first processing device is a notebook computer, and the first interactive assembly and the second interactive assembly are wireless earphones. Assuming that a user is currently connected with the notebook computer by using the wireless earphones to listen to music of the notebook computer, and at the moment, one of the two wireless earphones detects that the mobile phone currently has an incoming call, if the mobile phone has ring output and data transmission is connected with the mobile phone, it can be considered that a first condition is met, and at least one of the two wireless earphones needs to be triggered to establish a first connection with the mobile phone to listen to a possible incoming call.
Certainly, the switching information is received from the first interactive component or the second interactive component, or a switching button is arranged on the first interactive component or the second interactive component, when a new processing device needs to be accessed to either the first interactive component or the second interactive component, the corresponding interactive component is directly pressed, for example, when a left earphone needs to be accessed to a mobile phone, the button on the left earphone is directly pressed, so that the left earphone can search for the new processing device, and connection with the searched processing device is realized. The identification information of the processing device to which the earphone can be accessed can be written into the earphone in advance, and when a switch button on the earphone is pressed, the earphone can search for a new processing device based on the identification list of the processing device and establish connection with the searched processing device.
Or, the first condition is that handover information is obtained from the first processing device, and the handover information obtained from the first processing device includes the second processing device identification information. Still take the second processing device as a mobile phone, the first processing device as a notebook computer, and the first interactive component and the second interactive component as wireless earphones for the description. Assuming that a user is currently connected with a notebook computer by using a wireless earphone to listen to music of the notebook computer, and at the moment, the notebook computer detects that a call is incoming to a mobile phone, if the mobile phone is detected to have ring output and data transmission is carried out between the notebook computer and the mobile phone, at the moment, at least one of the earphones needs to be connected with the mobile phone, the notebook computer sends a switching instruction to a main earphone through the direct connection established between the notebook computer and the main earphone, so that the connection between the at least one of the wireless earphones and the mobile phone is established, if the current connection of an auxiliary earphone needs to be disconnected and the mobile phone is directly connected, the notebook computer sends switching information containing a mobile phone identifier to the auxiliary earphone through the main earphone, the auxiliary earphone disconnects the wireless connection with the main earphone according to the switching information, searches the wireless connection of the mobile phone based on the identification information of the mobile phone, and establishes the direct connection with the mobile phone, therefore, the user can answer the call ring of the mobile phone end through the original auxiliary earphone, and can communicate through the earphone after the call ring is connected.
As an implementation manner, an identification list of processing devices to which the wireless earphone can be accessed may be written in the notebook computer in advance, when which earphone needs to be connected with the corresponding processing device, the identification information of the corresponding processing device is sent to the corresponding earphone, and after the earphone receives the identification information of the processing device sent by the notebook computer, the earphone performs wireless search based on the identification information of the processing device, and establishes wireless connection with the processing device.
As an implementation manner, in this embodiment of the application, if the switching information from the second interactive component is obtained, the first condition is satisfied. The second interaction assembly detects an object to be accessed, establishes wireless connection with the object to be accessed, detects that the second processing equipment has data to be output, and generates switching information and can send the switching information to the first interaction assembly if the second processing equipment detects that the second processing equipment needs to output audio data through the interaction assembly. Or, a switching button is arranged on the second interactive assembly, and when the switching button on the second interactive assembly is pressed, switching information is generated and can be sent to the first interactive assembly.
As an implementation manner, in this embodiment of the application, if a second condition is satisfied, the first interactive component and the second interactive component are triggered to connect with a second processing device;
in the embodiment of the application, if a second condition is met, the first interactive assembly and the second interactive assembly are triggered to be disconnected from the first processing device and are connected to the second processing device. At this time, the connection mode between the first interactive component and the first processing device is different from the connection mode between the first interactive component and the second processing device; and the connection mode between the second interactive assembly and the first processing equipment is different from that between the second interactive assembly and the second processing equipment.
If the first interactive component and the second interactive component are disconnected from the first processing device, the first interactive component can establish a direct connection with the second processing device, the second interactive component establishes a connection with the first interactive component, and the second interactive component establishes a second connection with the second processing device through the first interactive component; or, the second interactive component establishes a direct connection with the second processing device, the first interactive component establishes a connection with the second interactive component, and the first interactive component establishes a second connection with the second processing device through the second interactive component.
As an implementation manner, in this embodiment of the application, after the first interaction component and the second interaction component meet the first condition and/or the second condition and perform access switching, the original connection can be recovered, that is, after the switching occurs, if a third condition is met, the first interaction component and the first processing device are triggered to be directly connected, and the second interaction component is connected with the first processing device through the first interaction component, so that the connection manner of the first interaction component and the second interaction component with the first processing device is recovered and is completely the same as the access manner before the access switching occurs.
According to the processing method provided by the embodiment of the application, when the first interactive assembly and the second interactive assembly are connected with the first processing equipment and switched to the second processing equipment if the first interactive assembly and the second interactive assembly are required to be switched to the second processing equipment, the first interactive assembly and/or the second interactive assembly can be switched to be connected to the second processing equipment through some switching instructions or switching conditions, and switching processing of access objects of the first interactive assembly and/or the second interactive assembly is carried out very conveniently and rapidly, so that a user can use the first interactive assembly and the second interactive assembly conveniently, and the use experience of the user is effectively improved.
Fig. 2 is a schematic flow chart of a processing method according to an embodiment of the present application, and as shown in fig. 2, the processing method according to the embodiment of the present application includes the following steps:
step 201, the first interactive component is connected with a first processing device, and the second interactive component is connected with a second processing device.
In this application embodiment, the first interaction component may be a wireless headset, and the first interaction component and the second interaction component in this application embodiment may also be components of other electronic devices, such as glasses for left and right eyes in a wireless VR, for receiving audio and video data of a processing device.
When the first interactive assembly and the second interactive assembly are wireless earphones, the first interactive assembly and the second interactive assembly are used as main earphones to establish first connection with the first processing equipment and the second processing equipment respectively. Here, the first connection is a Wireless connection, for example, a bluetooth connection, or a Wireless Fidelity (WIFI) connection, and in this embodiment, preferably, the first connection established between the first interaction component and the first processing device and the first connection established between the second interaction component and the second processing device are a bluetooth connection.
In the embodiment of the present application, the first processing device may be an electronic device such as a notebook computer, a mobile phone, a desktop computer, a tablet computer, a game machine, and a personal digital assistant. The second processing device may be an electronic device such as a laptop, a cell phone, a desktop, a tablet, a game console, a personal digital assistant, and the like. The first processing device and the second processing device may be the same type of electronic device or different types of electronic devices.
In this embodiment of the application, when the first interaction component and the second interaction component are bluetooth headsets, and the first interaction component and the second interaction component are used as main devices and respectively connected to the first processing device and the second processing device, the first interaction component and the second interaction component can be firstly paired with the first processing device and the second processing device through bluetooth connection, after pairing is successful, a direct connection is established between the first interaction component and the first processing device, and a direct connection is established between the second interaction component and the second processing device.
Step 202, if a third condition is met, triggering the first interactive assembly to be connected with the second processing device through the second interactive assembly, wherein the second interactive assembly is kept connected with the second processing device;
here, when the third condition is satisfied, the first interactive component, which originally is the main earphone, is disconnected from the first processing device, and the second interactive component is searched and connected with the second interactive component, the first interactive component is connected with the second processing device through the second interactive component, and the second interactive component maintains direct connection with the second processing device.
As an implementation manner, in this embodiment of the application, the third condition is that switching information is received from the first interaction component or the second interaction component. Receiving switching information from the first interactive component or the second interactive component, or setting a switching button on the first interactive component or the second interactive component, and when it is required to access a new processing device, directly pressing the corresponding interactive component, for example, when it is required to access the first interactive component to the second processing device, directly pressing the switching button on the first interactive component, so that the first interactive component can be disconnected from the current connection and search for the access of the second interactive component to the second processing device.
Alternatively, the third condition is that handover information is obtained from the first processing device. The second processing device is a mobile phone, the first processing device is a notebook computer, and the first interactive component and the second interactive component are wireless earphones. Suppose that a user currently uses two earphones of a wireless earphone to simultaneously establish connection with a notebook computer and a mobile phone respectively, and the user wants to listen to music in the mobile phone at the moment, and at the moment, the connection with the notebook computer needs to be disconnected, the connection between the earphones and the mobile phone keeps current music data transmission, and the disconnected earphones are connected with the earphones connected with the mobile phone, so that the earphones can be completely switched to the mobile phone side.
As an implementation manner, an identification list of processing devices to which the wireless earphone can be accessed may be written in the notebook computer in advance, when which earphone needs to be connected with the corresponding processing device, the identification information of the corresponding processing device is sent to the corresponding earphone, and after the earphone receives the identification information of the processing device sent by the notebook computer, the earphone performs wireless search based on the identification information of the processing device, and establishes wireless connection with the processing device. For example, the notebook computer may send the switching instruction to the first interaction component, instruct the first interaction component to disconnect the current connection and establish a connection with the mobile phone, and notify the headset connected with the mobile phone to keep the current connection.
Step 203, if a fourth condition is met, triggering the second interactive component to be connected with the first processing device through the first interactive component, and the first interactive component keeps being connected with the first processing device.
Here, when the fourth condition is satisfied, the first interactive component, which originally is the main earphone, is disconnected from the first processing device, and the second interactive component is searched and connected with the second interactive component, the first interactive component is connected with the second processing device through the second interactive component, and the second interactive component maintains direct connection with the second processing device.
As an implementation manner, in this embodiment of the application, the fourth condition is that switching information is received from the first interactive component or the second interactive component. Receiving switching information from the first interactive component or the second interactive component, or setting a switching button on the first interactive component or the second interactive component, and when it is required to access a new processing device, directly pressing the corresponding interactive component, for example, when it is required to access the second interactive component to the first processing device, directly pressing the switching button on the second interactive component, so that the second interactive component can be disconnected from the current connection and search for the access of the first interactive component to the first processing device.
Alternatively, the fourth condition is obtaining handover information from the second processing device. The second processing device is a mobile phone, the first processing device is a notebook computer, and the first interactive component and the second interactive component are wireless earphones. Suppose that a user currently uses two earphones of a wireless earphone to simultaneously establish connection with a notebook computer and a mobile phone, the user wants to listen to music in the notebook computer at the moment, the connection with the mobile phone needs to be disconnected at the moment, the connection between the earphones and the notebook computer keeps current music data transmission, the disconnected earphones are connected with the earphones connected with the notebook computer, and the earphones can be completely switched to the notebook computer side.
As an implementation manner, an identification list of processing devices to which a wireless headset can be accessed may be written in a mobile phone in advance, when it is necessary to establish a connection between a corresponding headset and the corresponding processing device, identification information of the corresponding processing device is sent to the corresponding headset, and after the headset receives the identification information of the processing device sent by the mobile phone, the headset performs wireless search based on the identification information of the processing device and establishes a wireless connection with the processing device. For example, the mobile phone may send the switching instruction to the second interactive component, instruct the second interactive component to disconnect the current connection and establish a connection with the notebook computer, and notify the headset connected with the notebook computer to maintain the current connection.
According to the processing method provided by the embodiment of the application, when the first interactive assembly and the second interactive assembly are connected with the first processing equipment and switched to the second processing equipment if the first interactive assembly and the second interactive assembly are required to be switched to the second processing equipment, the first interactive assembly and/or the second interactive assembly can be switched to be connected to the second processing equipment through some switching instructions or switching conditions, and switching processing of access objects of the first interactive assembly and/or the second interactive assembly is carried out very conveniently and rapidly, so that a user can use the first interactive assembly and the second interactive assembly conveniently, and the use experience of the user is effectively improved.
Fig. 3 is a schematic structural diagram of a processing apparatus according to an embodiment of the present application, and as shown in fig. 3, the processing apparatus according to the embodiment of the present application includes:
the connection unit 30 is configured to establish a first connection between a first interactive component and a first processing device, and establish a second connection between a second interactive component and the first processing device; wherein the first connection and the second connection are connected in different ways;
a triggering unit 31, configured to trigger the first interactive component or the second interactive component to be connected to a second processing device and the other to be connected to the first processing device if a first condition is met;
and the first interactive assembly or the second interactive assembly and the first processing equipment and the first interactive assembly or the second interactive assembly and the second processing equipment are connected in the first connection mode.
As one implementation, the establishing, by the first interaction component and the first processing device, a first connection includes:
the first interactive component is directly connected with the first processing equipment;
the second interactive component and the first processing device establish a second connection, including:
the second interactive component is connected with the first processing device through the first interactive component.
As an implementation, the method further comprises:
if a first condition is met, triggering the second interactive component to be directly connected with the second processing equipment, and keeping a first connection between the first interactive component and the first processing equipment;
and the second interactive assembly and the second processing equipment and the first interactive assembly and the first processing equipment are connected in the first connection mode.
As an implementation, the method further comprises:
if a first condition is met, triggering the first interactive component to be directly connected with the second processing equipment, and directly connecting the second interactive component with the first processing equipment;
and the second interactive assembly and the first processing equipment and the first interactive assembly and the second processing equipment are connected in the first connection mode.
As an implementation, the method further comprises:
if the second condition is met, triggering the first interactive assembly and the second interactive assembly to be connected with second processing equipment;
the connection mode between the first interactive assembly and the first processing equipment is different from that between the first interactive assembly and the second processing equipment; and the connection mode between the second interactive assembly and the first processing equipment is different from that between the second interactive assembly and the second processing equipment.
As an implementation, the method further comprises:
and if the third condition is met, triggering the first interactive assembly to be directly connected with the first processing equipment, and connecting the second interactive assembly with the first processing equipment through the first interactive assembly.
As an implementation manner, the first condition is that switching information is received from the first interactive component or the second interactive component;
if the switching information from the second interactive component is obtained, a first condition is satisfied.
The first condition is that handover information is obtained from the first processing device, and the handover information obtained from the first processing device includes the second processing device identification information.
It should be understood by those skilled in the art that the processing apparatus shown in fig. 3 is a product apparatus implemented corresponding to the processing method shown in fig. 1, and the functions and implementation principles of the processing units can be understood by referring to the related description of the processing method shown in fig. 1.
Fig. 4 is a schematic structural diagram of a processing apparatus according to an embodiment of the present application, and as shown in fig. 4, the processing apparatus according to the embodiment of the present application includes:
the connection unit 40 is used for connecting the first interactive component and a first processing device, and connecting the second interactive component and a second processing device;
a first triggering unit 41, configured to trigger the first interactive component to be connected to the second processing device through the second interactive component if a third condition is met, where the second interactive component remains connected to the second processing device;
and a second triggering unit 42, configured to trigger the second interactive component to connect to the first processing device through the first interactive component if a fourth condition is met, where the first interactive component remains connected to the first processing device.
It should be understood by those skilled in the art that the processing apparatus shown in fig. 4 is a product apparatus implemented corresponding to the processing method shown in fig. 2, and the functions and implementation principles of the processing units can be understood by referring to the related description of the processing methods shown in fig. 1 and fig. 2.
According to the processing device provided by the embodiment of the application, when the first interaction assembly and the second interaction assembly are connected with the first processing equipment, if the first interaction assembly and the second interaction assembly are required to be switched to the second processing equipment, the first interaction assembly and/or the second interaction assembly can be switched to be connected to the second processing equipment through some switching instructions or switching conditions, and switching processing of an access object of the first interaction assembly and/or the second interaction assembly is very convenient and fast, so that a user can use the first interaction assembly and the second interaction assembly conveniently, and the use experience of the user is effectively improved.
The technical solutions of the embodiments of the present application are further described below with reference to practical examples.
Fig. 5 is a schematic diagram of an application example in which a first interaction component and a second interaction component of the embodiment of the application are connected to a processing device, and as shown in fig. 5, in this example, the first processing device is a notebook and the second processing device is a mobile phone. The first interactive component and the second interactive component are wireless earphones.
The two earphones in the wireless earphones have the capability of being connected with any processing device, namely, the two earphones in the wireless earphones can be respectively in a mode that one earphone is used as a main earphone, and the other earphone is used as an auxiliary earphone to be in wireless connection with a notebook or a mobile phone, namely, the main earphone is connected with any earphone, and the auxiliary earphone searches for the main earphone and establishes wireless connection with the main earphone to access the equipment connected with the main earphone.
When the switching between the access processing devices needs to be performed, switching information can be sent to the two wireless earphones through the notebook computer or the mobile phone to indicate that the two earphones are switched, if the switching information can be sent to the main earphone connected with the notebook computer to indicate that the earphone is disconnected from the notebook computer, the earphone is used as the main earphone to establish connection with the mobile phone and is used as the main earphone, at the moment, the auxiliary earphone still serves as the auxiliary earphone to be wirelessly connected with the main earphone, and only the access object becomes the mobile phone. Or, switching information is sent to a main earphone connected with the notebook computer, the earphone is indicated to be disconnected from the notebook computer, the auxiliary earphone is used as an auxiliary earphone to be connected with the mobile phone, the previous auxiliary earphone is disconnected from the earphone connected with the notebook computer and used as a main earphone to search the mobile phone and establish direct connection with the mobile phone, and the earphone originally used as the main earphone searches the main earphone connected with the mobile phone and establishes connection with a new main earphone to be connected with the mobile phone.
The mode of switching the two earphones into the mobile phone as the main earphone and the auxiliary earphone and then switching the two earphones into the notebook computer is completely the same as the mode described above, and the description is omitted here.
Or, the two wireless headsets may both be used as main headsets to establish connection with the notebook computer or the mobile phone, respectively, and at this time, the two wireless headsets may be instructed to be used as main headsets to exchange connection objects, respectively. Or indicating that the two wireless earphones are respectively used as main and auxiliary earphones and are respectively connected with the notebook computer or the mobile phone, wherein the connection mode is the same as that described above, and the description is omitted.
In the embodiment of the application, after the switching is performed, a recovery instruction is sent to the two earphones or one of the two earphones, and the two earphones are recovered to the connection state before the switching.
In the embodiment of the application, the switching information can be sent to the two wireless earphones by a notebook computer or a mobile phone, or a switching button is directly arranged on the two wireless earphones, and the switching information is sent to the two earphones or one of the two earphones by pressing the switching button. For a specific manner, reference may be made to the description related to the foregoing embodiments, which are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (5)

1. A method of processing, comprising:
the method comprises the steps that a first interactive assembly and first processing equipment establish first connection, and a second interactive assembly and the first processing equipment establish second connection; the first connection and the second connection are connected in different modes;
wherein, the first interactive component and the first processing device establish a first connection, including:
the first interactive component is directly connected with the first processing equipment;
the second interactive component and the first processing device establish a second connection, including:
the second interactive component is connected with the first processing equipment through the first interactive component;
the method further comprises the following steps:
if a first condition is met, triggering the second interactive component to be directly connected with second processing equipment, and keeping a first connection between the first interactive component and the first processing equipment;
the second interactive assembly and the second processing equipment and the first interactive assembly and the first processing equipment are connected in the first connection mode;
if the second condition is met, triggering the first interactive assembly and the second interactive assembly to be connected with second processing equipment;
the connection mode between the first interactive assembly and the first processing equipment is different from that between the first interactive assembly and the second processing equipment; and the connection mode between the second interactive assembly and the first processing equipment is different from that between the second interactive assembly and the second processing equipment.
2. A method of processing, comprising:
the method comprises the steps that a first interactive assembly and first processing equipment establish first connection, and a second interactive assembly and the first processing equipment establish second connection; the first connection and the second connection are connected in different modes;
wherein, the first interactive component and the first processing device establish a first connection, including:
the first interactive component is directly connected with the first processing equipment;
the second interactive component and the first processing device establish a second connection, including:
the second interactive component is connected with the first processing equipment through the first interactive component;
the method further comprises the following steps:
if the first condition is met, triggering the first interactive assembly to be directly connected with second processing equipment, and directly connecting the second interactive assembly with the first processing equipment;
and the second interactive assembly and the first processing equipment and the first interactive assembly and the second processing equipment are connected in the first connection mode.
3. The method of claim 1 or 2, further comprising:
and if the third condition is met, triggering the first interactive assembly to be directly connected with the first processing equipment, and connecting the second interactive assembly with the first processing equipment through the first interactive assembly.
4. The method of claim 1 or 2, the first condition being receipt of handover information from the first or second interactive component;
if the switching information from the second interactive component is obtained, a first condition is satisfied.
5. A processing apparatus, comprising:
the connection unit is used for establishing a first connection between the first interactive assembly and the first processing equipment, and establishing a second connection between the second interactive assembly and the first processing equipment; wherein the first connection and the second connection are connected in different ways;
the connection unit is also used for directly connecting the first interactive assembly and the first processing equipment; the second interactive component is connected with the first processing equipment through the first interactive component;
the triggering unit is further used for triggering the second interactive component to be directly connected with the second processing equipment if a first condition is met, and the first interactive component keeps a first connection with the first processing equipment; the second interactive assembly and the second processing equipment and the first interactive assembly and the first processing equipment are connected in the first connection mode; if the second condition is met, triggering the first interactive assembly and the second interactive assembly to be connected with second processing equipment; the connection mode between the first interactive assembly and the first processing equipment is different from that between the first interactive assembly and the second processing equipment; and the connection mode between the second interactive assembly and the first processing equipment is different from that between the second interactive assembly and the second processing equipment.
CN201911416852.8A 2019-12-31 2019-12-31 Processing method and device Active CN111182597B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111314862.8A CN114143841A (en) 2019-12-31 2019-12-31 Processing method and device
CN201911416852.8A CN111182597B (en) 2019-12-31 2019-12-31 Processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911416852.8A CN111182597B (en) 2019-12-31 2019-12-31 Processing method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111314862.8A Division CN114143841A (en) 2019-12-31 2019-12-31 Processing method and device

Publications (2)

Publication Number Publication Date
CN111182597A CN111182597A (en) 2020-05-19
CN111182597B true CN111182597B (en) 2021-10-22

Family

ID=70657641

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111314862.8A Pending CN114143841A (en) 2019-12-31 2019-12-31 Processing method and device
CN201911416852.8A Active CN111182597B (en) 2019-12-31 2019-12-31 Processing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111314862.8A Pending CN114143841A (en) 2019-12-31 2019-12-31 Processing method and device

Country Status (1)

Country Link
CN (2) CN114143841A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757307B (en) * 2020-06-29 2023-04-18 维沃移动通信有限公司 Wireless earphone control method, wireless earphone and readable storage medium
CN113242495B (en) * 2021-06-10 2022-08-05 东莞立讯精密工业有限公司 True wireless stereo earphone assembly and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734589A (en) * 2017-10-09 2018-02-23 维沃移动通信有限公司 A kind of data transmission method and mobile terminal based on wireless headset
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN108496374A (en) * 2018-04-13 2018-09-04 万魔声学科技有限公司 Earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system
CN109195055A (en) * 2018-11-09 2019-01-11 歌尔股份有限公司 A kind of wireless headset, TWS earphone and Bluetooth connecting method
CN109391926A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 The data processing method and wireless audio devices of wireless audio devices
CN109388364A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 A kind of the voice messaging acquisition method for controlling reporting and system of audio frequency apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843463B (en) * 2015-01-14 2019-12-13 阿里巴巴集团控股有限公司 Communication information interaction method and device
CN105897860B (en) * 2016-03-28 2020-12-18 联想(北京)有限公司 Network device and information processing method
US9838812B1 (en) * 2016-11-03 2017-12-05 Bose Corporation On/off head detection of personal acoustic device using an earpiece microphone
CN109936840B (en) * 2019-01-02 2023-01-03 百度在线网络技术(北京)有限公司 Communication method and device and electronic equipment
CN109788388A (en) * 2019-01-29 2019-05-21 深圳傲智天下信息科技有限公司 Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium
CN110121164A (en) * 2019-04-30 2019-08-13 努比亚技术有限公司 Communication processing method, equipment, system and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734589A (en) * 2017-10-09 2018-02-23 维沃移动通信有限公司 A kind of data transmission method and mobile terminal based on wireless headset
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN109391926A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 The data processing method and wireless audio devices of wireless audio devices
CN109388364A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 A kind of the voice messaging acquisition method for controlling reporting and system of audio frequency apparatus
CN108496374A (en) * 2018-04-13 2018-09-04 万魔声学科技有限公司 Earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system
CN109195055A (en) * 2018-11-09 2019-01-11 歌尔股份有限公司 A kind of wireless headset, TWS earphone and Bluetooth connecting method

Also Published As

Publication number Publication date
CN111182597A (en) 2020-05-19
CN114143841A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
US11350200B2 (en) Wireless audio source switching
EP3537734B1 (en) Method and device for connecting a bluetooth device
CN111818503B (en) Voice communication method, system, chip, electronic equipment and storage medium
CN113411793A (en) Bluetooth communication method and terminal
WO2020164349A1 (en) Data transmission control method and related product
CN115190197B (en) Bluetooth headset-based communication method and device and storage medium
CN111182597B (en) Processing method and device
CN111447602A (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
EP3820168A1 (en) Microphone hole blockage detection method and related product
WO2023036178A1 (en) Bluetooth connection method and apparatus, earphone device, and computer-readable storage medium
JP2021521737A (en) Access control method, message broadcasting method and related equipment
CN111556439A (en) Terminal connection control method, terminal and computer storage medium
CN111263467B (en) Wireless connection switching method, wireless terminal and system thereof
CN111182518A (en) Processing method and device
CN113840269A (en) Multimedia data transmission method and device, electronic equipment and storage medium
WO2018120864A1 (en) Communication method and terminal
CN109117111B (en) Transmission link switching control method and related product
CN115396408A (en) Wireless audio/video device and wireless communication method
CN113810887B (en) Bluetooth protocol connection method and device, storage medium and related equipment
CN114205699A (en) Wireless headset, method of controlling wireless headset, and storage medium
CN112866855A (en) Hearing aid method and system, earphone charging box and storage medium
CN111132116B (en) Control method and device
CN109121172A (en) Transmission link method for handover control and Related product
CN113905085B (en) Control method and device 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