CN111182518A - Processing method and device - Google Patents

Processing method and device Download PDF

Info

Publication number
CN111182518A
CN111182518A CN201911424598.6A CN201911424598A CN111182518A CN 111182518 A CN111182518 A CN 111182518A CN 201911424598 A CN201911424598 A CN 201911424598A CN 111182518 A CN111182518 A CN 111182518A
Authority
CN
China
Prior art keywords
interactive
processing device
connection
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.)
Pending
Application number
CN201911424598.6A
Other languages
Chinese (zh)
Inventor
杨瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911424598.6A priority Critical patent/CN111182518A/en
Publication of CN111182518A publication Critical patent/CN111182518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a processing method and a processing device, wherein the method comprises the following steps: the first interactive assembly is connected with first processing equipment in a first connection mode, and the second interactive assembly is connected with the first processing equipment in a second connection mode; wherein the first connection mode is different from the second connection mode; acquiring switching information from the first processing equipment, and triggering the first interactive assembly or the second interactive assembly to be connected with second processing equipment, wherein the other interactive assembly is connected with the first processing equipment; the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device 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, a notebook can support a True Wireless Stereo (TWS) headset, and for a user, when the TWS headset is used, a connection needs to be switched between different devices such as the notebook and a mobile phone. The user pairs and connects the earphone with the notebook or the mobile phone through the control interface of the processing device, and the operation is complex and easy to fail. This will seriously affect the experience of using the headset.
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 first interactive assembly is connected with first processing equipment in a first connection mode, and the second interactive assembly is connected with the first processing equipment in a second connection mode; wherein the first connection mode is different from the second connection mode;
acquiring switching information from the first processing equipment, and triggering the first interactive assembly or the second interactive assembly to be connected with second processing equipment, wherein the other interactive assembly is connected with the first processing equipment; the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device in the first connection mode.
As one implementation, the obtaining handover information from the first processing device includes:
and after the switching information is obtained from the first processing equipment, obtaining the identification information of the second equipment from the switching information.
As an implementation, the method further comprises:
after a first interactive assembly is connected with first processing equipment in a first connection mode, the first interactive assembly transmits equipment identification information stored in the first interactive assembly to the first processing equipment, or acquires equipment identification information stored in a second interactive assembly, and transmits the equipment identification information stored in the first interactive assembly and the second interactive assembly to the first processing equipment;
the device identification information includes identification information of the second processing device.
As one implementation, the obtaining handover information from the first processing device includes:
obtaining switching information indicating to switch the first interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
and based on the switching information, the first interactive assembly establishes connection with the second processing equipment in a first connection mode, and informs the second interactive assembly of establishing connection with the first processing equipment in the first connection mode.
As one implementation, the obtaining handover information from the first processing device includes:
obtaining switching information indicating to switch the first interactive component to the first device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the second interactive component maintains a first connection with the first processing device, and sends the identification information of the first device to the first interactive component based on the connection of the second interactive component with the first interactive component.
As one implementation, the obtaining handover information from the first processing device includes:
obtaining switching information indicating to switch the second interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the first interactive assembly transmits switching information for switching to second processing equipment to the second interactive assembly, so that the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly keeps connection with the first processing equipment.
As one implementation, the obtaining handover information from the first processing device includes:
obtaining switching information indicating that the first interactive assembly and the second interactive assembly are switched to the second equipment from the switching information after the switching information is obtained from the first processing equipment;
based on the switching information, the first interactive assembly transmits switching information for switching to second equipment to the second interactive assembly, the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly establishes connection with the second interactive assembly.
As one implementation, the obtaining handover information from the first processing device includes:
obtaining switching information indicating switching a second interactive component and the first interactive component to the first processing device from the switching information after obtaining the switching information from the first processing device;
and based on the switching information, the second interactive assembly transmits switching information for switching to the first equipment to the first interactive assembly, so that the second interactive assembly and the first interactive assembly are connected with the first processing equipment.
As an implementation manner, the first connection manner represents that the interactive component and the processing device are directly connected;
the second connection mode represents that the interactive component is connected with the processing equipment through another interactive component.
An embodiment of the present application further provides an interaction apparatus, including: a first interactive component and a second interactive component;
the first interactive component comprises:
a first communication unit, configured to connect with a first processing device in a first connection manner, and obtain handover information from the first processing device;
a first interaction unit for outputting and/or inputting data;
the first processing unit is used for triggering the connection between the first communication unit or the second communication unit and the second processing equipment, and the other one of the first communication unit and the second communication unit is connected with the first processing equipment;
the second interactive component comprises:
the second communication unit is used for establishing connection with the processing equipment;
a second interaction unit for outputting and/or inputting data;
wherein the first connection mode is different from the second connection mode;
the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device in the first connection mode.
As one implementation, after the first communication unit obtains the handover information from the first processing device, the first processing unit obtains the identification information of the second device from the handover information.
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, 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 diagram of a structure of a processing apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an application example in which a first interaction component and a second interaction component are connected with 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 interactive component is connected with a first processing device in a first connection mode, and a second interactive component is connected with the first processing device in a second connection mode.
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 Virtual Reality (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 connection with the first interactive assembly firstly and then 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.
In the embodiment of the present application, 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, and the second interactive component firstly establishes a wireless connection with the first interactive component and then 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 VR device, a desktop computer, a tablet computer, a game console, 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.
As an implementation manner, in this embodiment of the present application, the obtaining of the handover information from the first processing device includes:
and after the switching information is obtained from the first processing equipment, obtaining the identification information of the second equipment from the switching information.
When the connection of the second interactive component needs to be switched to be connected with the second processing device, the identification information of the second processing device may be sent to the second interactive component, and the second interactive component is instructed to use the identification information of the second processing device as its pairing information, so that the second interactive component may search for wireless signals of the second processing device, such as bluetooth, based on the identification information of the second processing device, and establish a direct connection with the second processing device.
Of course, as an implementation manner, the switching information may also indicate that the first interaction component and the second interaction component are both accessed to the second processing device, or the second interaction component is switched to the first processing device, and the first interaction component is switched to the second processing device.
Step 102, obtaining switching information from the first processing device, and triggering the first interactive component or the second interactive component to be connected with the second processing device, and the other to be connected with the first processing device.
When the current connection of the first interactive assembly or the second interactive assembly needs to be switched, sending switching information to the first interactive assembly or the second interactive assembly through first processing equipment, and indicating the first interactive assembly or the second interactive assembly to switch the connection. In this embodiment, the first processing device may send the switching information to the first interactive component or the second interactive component based on a wireless connection such as a bluetooth connection with the first interactive component or the second interactive component.
In this embodiment, the second processing device may be an electronic device such as a notebook computer, a mobile phone, a VR device, a desktop computer, a tablet computer, a game console, 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.
In this embodiment of the application, the first interactive component and the second interactive component may directly obtain the switching information from the first processing device based on a bluetooth connection or the like between the first processing device and the second processing device, or the first processing device sends the switching information to the switching information through the first interactive component or the second interactive component directly connected to the first processing device, and then sends the switching information to another interactive component through a connection between the first interactive component and the second interactive component.
In the above example, the connection manner between the interactive component connected to the first processing device and the first processing device is the first connection manner, and the connection manner between the interactive component connected to the second processing device and the second processing device is the first connection manner. The first connection mode represents that the interactive component is directly connected with the processing equipment; the second connection mode represents that the interactive component is connected with the processing equipment through another interactive component.
As an implementation manner, the processing method in the embodiment of the present application further includes:
after a first interactive assembly is connected with first processing equipment in a first connection mode, the first interactive assembly transmits equipment identification information stored in the first interactive assembly to the first processing equipment, or acquires equipment identification information stored in a second interactive assembly, and transmits the equipment identification information stored in the first interactive assembly and the second interactive assembly to the first processing equipment;
the device identification information includes identification information of the second processing device.
In the embodiment of the application, when a wireless connection is established between the first interactive assembly or the second interactive assembly and the first processing device, the first interactive assembly or the second interactive assembly sends the currently stored identification of the processing device establishing a bluetooth connection with itself to the first processing device, that is, the identification list of the processing device establishing a pairing between the first interactive assembly or the second interactive assembly and itself is sent to the first processing device, so that the first processing device stores the history information of the processing device to which the first interactive assembly and/or the second interactive assembly have been connected in a pairing manner, so that when a user wants the first interactive assembly and/or the second interactive assembly to establish a connection with a certain processing device, the identification information of the processing device to be accessed can be sent to the first interactive assembly and/or the second interactive assembly through the identification information of the processing device stored in the first processing device, the first interaction assembly and/or the second interaction assembly establish wireless connection with the processing equipment to be accessed based on the identification of the processing equipment to be accessed, so that the historical pairing information of the first interaction assembly and/or the second interaction assembly is sent to the first interaction assembly and/or the second interaction assembly in advance, and the first interaction assembly and/or the second interaction assembly can be connected with the processing equipment to be accessed without being paired with the processing equipment to be accessed.
That is to say, after the first interaction component and/or the second interaction component is paired with a certain processing device and connected with the processing device, the identification information of the connected processing device stored in the first interaction component and/or the second interaction component is sent to the accessed processing device, for example, the first interaction component is directly connected with the first processing device, and the second interaction component is connected with the first processing device through the first interaction component, at this time, the first interaction component sends the identification information of the processing device connected with the second interaction component to the second interaction component in addition to sending the identification information of the processing device connected with the first interaction component to the first processing device, obtains the identification information of the processing device connected with the second interaction component, and sends the identification information to the first processing device.
Therefore, when a user needs to switch the first interactive component and/or the second interactive component to establish connection with a certain processing device, the identification information of the processing device to be switched can be found according to the identification information of the processing device, which is acquired by the first processing device from the first interactive component and/or the second interactive component, and the switching information is sent to the first interactive component and/or the second interactive component, so that the connection switching of the first interactive component and/or the second interactive component is triggered.
As an implementation manner, in this embodiment of the present application, the obtaining of the handover information from the first processing device includes:
obtaining switching information indicating to switch the first interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
and when the interactive assembly receives the switching information, switching information which indicates that the first interactive assembly is switched to the second processing equipment is obtained from the switching information. And based on the switching information, the first interactive assembly establishes connection with the second processing equipment in a first connection mode, and informs the second interactive assembly of establishing connection with the first processing equipment in the first connection mode.
In this switching manner, the first interactive component directly connected to the first processing device is switched to the second processing device, and the second interactive component serving as the auxiliary access component is switched to the first processing device.
As an implementation manner, when both the first interactive component and the second interactive component are connected to the first processing device, the first processing device may directly send the switching information to the first interactive component and the second interactive component, that is, send the switching information connected to the second processing device to the first interactive component, where the switching information includes the identification information of the second processing device, send the switching information connected to the first processing device to the second interactive component, directly trigger the second interactive component to be connected to the first processing device, and connect the first interactive component to the second processing device.
Of course, the first processing device may also send switching information to the first interactive component to instruct the first interactive component to send the switching information to be connected to the second processing device, and send the switching information to the second interactive component to instruct the second interactive component to be connected to the second processing device, so as to trigger the second interactive component to be connected to the first processing device, and the first interactive component to be connected to the second processing device.
Taking a bluetooth wireless earphone as an example, when accessing a processing device such as a notebook computer, the bluetooth wireless earphone can be connected with other bluetooth devices while listening to audio and video data of the notebook computer, for example, the bluetooth wireless earphone can be connected with a mobile phone, and the connection can be a light connection, namely, only the bluetooth connection is kept, and the connection is maintained through heartbeat messages and the like, but no data transmission exists. Thus, based on such a light connection, the first processing device may send the switching information to the first interactive component over the first connection, and may also send the switching information to the second interactive component over the light connection established with the second interactive component.
After the connection switching is performed, the second interactive component is connected with the first processing device, and the first interactive component is connected with the second processing device. At this time, the obtaining of the handover information from the first processing device includes: obtaining, from the handover information, handover information indicating to have the first interactive component handover to the first device after obtaining the handover information from the first processing device.
At this time, the user sends the switching information to the second interactive component directly connected with the user through the first processing device. Taking the first interactive assembly and the second interactive assembly as an example, the first interactive assembly and the second interactive assembly are both bluetooth wireless earphones, and are respectively connected with a notebook computer and a mobile phone, at the moment, the two earphones can still be connected with the bluetooth, the connection can be a light connection, namely, only the bluetooth connection is kept, the connection is maintained through heartbeat messages and the like, but no data transmission exists. In this way, the first processing device may send the switching information to the first interactive component through the second interactive component, instructing the first interactive component to switch to connect with the first processing device. I.e. instructing the first interactive component to connect with the second interactive component, establishing a connection with said first processing device as a secondary component of the second interactive component.
Certainly, as an implementation manner, after the first interaction component is connected to the second processing device, such as a mobile phone, the first interaction component may still be connected to the first processing device, such as a notebook computer, in a bluetooth manner, at this time, the first processing device, such as the notebook computer, may also directly send the switching information to the first interaction component to indicate that the first interaction component is connected to the second interaction component, and as an auxiliary component of the second interaction component, the switching information is connected to the first processing device.
Generally speaking, a bluetooth device supports at least two wireless connections, i.e. a bluetooth headset can at least establish a bluetooth connection with at least two bluetooth devices. In the embodiment of the application, the wireless connection is not limited to bluetooth connection, and other wireless connection modes such as WIFI can be used.
Based on the switching information, the second interactive component maintains the first connection with the first processing device, and sends the identification information of the first device to the first interactive component based on the connection between the second interactive component and the first interactive component, so that the first interactive component is disconnected from the second processing device and connected with the second interactive component to access the first processing device.
As an implementation manner, in this embodiment of the present application, the obtaining of the handover information from the first processing device includes:
the obtaining handover information from the first processing device comprises:
obtaining switching information indicating to switch the second interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the first interactive assembly transmits switching information for switching to second processing equipment to the second interactive assembly, so that the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly keeps connection with the first processing equipment.
The switching mode is to make the first interactive component maintain the direct connection, i.e. the first connection, with the first processing device, and make the second interactive component establish the connection with the second processing device in the first connection mode, taking the first interactive component and the second interactive component as wireless earphones as an example, the auxiliary earphones are connected with the notebook computer through the main earphones, and the direct connection is established between the main earphones and the notebook computer. The switching information is sent to the main earphone, the main earphone forwards the switching information to the auxiliary earphone, the auxiliary earphone disconnects the connection with the main earphone based on the switching information after receiving the switching information, and the direct connection, namely the first connection with the mobile phone is established based on the identification information of the second processing equipment, such as the mobile phone, in the switching information.
As an implementation manner, when both the first interactive component and the second interactive component are connected to the first processing device, the first processing device may directly send the switching information to the first interactive component and the second interactive component, that is, may send the switching information connected to the second processing device to the second interactive component, where the switching information includes identification information of the second processing device, and triggers the second interactive component to be connected to the second processing device, and the first interactive component maintains the connection with the first processing device.
Of course, the first processing device may also send the switching information to the first interactive component, and then the first interactive component sends the switching information to the second interactive component, so as to indicate the second interactive component to be connected to the second processing device, and trigger the second interactive component to be connected to the second processing device.
Taking a bluetooth wireless earphone as an example, when accessing a processing device such as a notebook computer, the bluetooth wireless earphone can be connected with other bluetooth devices while listening to audio and video data of the notebook computer, for example, the bluetooth wireless earphone can be connected with a mobile phone, and the connection can be a light connection, namely, only the bluetooth connection is kept, and the connection is maintained through heartbeat messages and the like, but no data transmission exists. Thus, the secondary earpiece can still establish such a light connection with the first processing device when bluetooth is established with the first processing device, and the first processing device can send the switching information to the second interaction component directly through the light connection established with the secondary earpiece.
After the switching occurs, switching information can be directly sent to the second interactive assembly based on the light connection between the first processing device and the second interactive assembly, so that the second interactive assembly is switched to the first processing device, and even if the second interactive assembly is connected with the first interactive assembly, the second interactive assembly is connected with the first processing device through the first interactive assembly. At this time, the first interactive component maintains the direct connection with the first processing device, and the second interactive component switches to the connection with the first processing device and still accesses the first processing device as the auxiliary component.
As an implementation manner, in this embodiment of the present application, the obtaining of the handover information from the first processing device includes:
obtaining switching information indicating that the first interactive assembly and the second interactive assembly are switched to the second equipment from the switching information after the switching information is obtained from the first processing equipment;
based on the switching information, the first interactive assembly transmits switching information for switching to second equipment to the second interactive assembly, the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly establishes connection with the second interactive assembly.
In this switching manner, both the first interactive component and the second interactive component are switched to the second processing device, even if a direct connection, i.e., a first connection, is established between the second interactive component and the second processing device, the first interactive component is connected to the second processing device in the second connection manner, i.e., the first interactive component and the second interactive component are wirelessly connected, and the first interactive component and the second interactive component are connected to the second processing device through the second interactive component. Taking the first interactive component and the second interactive component as wireless earphones as an example, the auxiliary earphones are connected with the notebook computer through the main earphones, and the first connection is established between the main earphones and the notebook computer. The switching information is sent to the main earphone, the main earphone forwards the switching information to the auxiliary earphone, the auxiliary earphone disconnects the connection with the main earphone based on the switching information after receiving the switching information, and establishes a direct connection, namely a first connection, with the mobile phone based on the identification information of a second processing device, such as the mobile phone, in the switching information, and the first connection is used as the main earphone of the mobile phone; and the main earphone of the notebook computer is also disconnected with the first connection between the notebook computer and the main earphone of the mobile phone, and is connected with the mobile phone through the second connection, namely the main earphone of the original notebook computer is switched into the auxiliary earphone of the mobile phone.
As an implementation manner, when both the first interactive component and the second interactive component are connected to the first processing device, both the first interactive component and the second interactive component are connected to the first processing device as the aforementioned light connection. That is, the switching information of the first processing device is not sent to the second interaction component by the first interaction component, but the switching information is sent directly to the first interaction component and the second interaction component by the first processing device, that is, the related switching information can be sent directly to the second interaction component and the first interaction component, the switching information includes the identification information of the second processing device, the second interaction component is triggered to be connected with the second processing device, and the first interaction component is connected with the second processing device through the second interaction component.
Of course, the first processing device may send the switching information to the first interactive component, and then the first interactive component sends the switching information to the second interactive component, so as to indicate that the second interactive component is connected to the second processing device, and the first interactive component is connected to the second processing device through the second interactive component.
Taking a bluetooth wireless earphone as an example, when accessing a processing device such as a notebook computer, the bluetooth wireless earphone can be connected with other bluetooth devices while listening to audio and video data of the notebook computer, if an auxiliary earphone can still be connected with the notebook computer via bluetooth, the connection can be a light connection, i.e. only the bluetooth connection is kept, and the connection is maintained through heartbeat messages and the like, but no data transmission exists. Thus, the auxiliary earpiece may also be able to establish such a light connection with the first processing device when bluetooth is established with the first processing device, and the first processing device may send the switching information to the second interaction component directly through the light connection established with the auxiliary earpiece.
After the switching occurs, switching information can be sent to the first interactive assembly based on the light connection between the first processing device and the first interactive assembly, and then the first interactive assembly sends the switching information to the second interactive assembly, so that the first interactive assembly is switched to the first processing device, the second interactive assembly is connected with the first interactive assembly, and the second interactive assembly is connected with the first processing device through the first interactive assembly. At this time, the first interactive component establishes a direct connection with the first processing device, the second interactive component switches to the connection with the first processing device, and the second interactive component is still accessed to the first processing device as an auxiliary component, that is, the connection state before switching is maintained. Here, the first processing device may send the switching information to the second interactive component through the first interactive component, so that the second interactive component establishes the first connection with the first processing device, and the first interactive component is connected to the second interactive component, and then the first processing device is accessed, so that the first interactive component establishes the second connection with the first processing device.
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, 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 the 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 structural diagram of a processing apparatus according to an embodiment of the present application, and as shown in fig. 2, the processing apparatus according to the embodiment of the present application includes: a first interactive component 20 and a second interactive component 21;
the first interactive component 20 comprises:
a first communication unit 200 configured to connect with a first processing apparatus in a first connection manner, and obtain handover information from the first processing apparatus;
a first interaction unit 201 for outputting and/or inputting data;
a first processing unit 202, configured to trigger connection between the first communication unit or the second communication unit and a second processing device, where the other of the first communication unit and the second communication unit is connected to the first processing device;
the second interactive component 21 comprises:
a second communication unit 210 for establishing a connection with a processing device;
a second interaction unit 211 for outputting and/or inputting data;
a second processing unit 212 for performing connection switching based on the indication of the switching information;
wherein the first connection mode is different from the second connection mode;
the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device in the first connection mode.
In this embodiment of the application, after the first communication unit 200 obtains the handover information from the first processing device 202, the first processing device 202 obtains the identification information of the second device from the handover information.
In the application embodiment, after determining that the first communication unit 200 is connected to the first processing device in the first connection manner, the first processing unit 202 in the first interactive assembly 20 transmits the device identification information stored in the first interactive assembly 20 to the first processing device through the first communication unit 200 of the first interactive assembly 20, or acquires the device identification information stored in the second interactive assembly 21 through the first communication unit 200 of the first interactive assembly 20, and transmits the device identification information stored in the first interactive assembly 20 and the second interactive assembly 21 to the first processing device;
the device identification information includes identification information of the second processing device.
As an implementation manner, in the embodiment of the application, after obtaining the switching information from the first processing device, obtaining, from the switching information, switching information indicating to switch the first interactive component 20 to the second processing device;
based on the switching information, the first interactive component 20 establishes a connection with the second processing device in a first connection manner through the first communication unit 200, and notifies the second interactive component 21 to establish a connection with the first processing device in the first connection manner. After the switching is completed, after the second interactive component 21 obtains the switching information from the first processing device through the second communication unit 210, the second processing unit 212 obtains the switching information indicating to switch the first interactive component 20 to the first device from the switching information;
based on the switching information, the second interactive component 21 maintains the first connection with the first processing device, and based on the connection between the second communication unit 210 of the second interactive component 21 and the first communication unit 200 of the first interactive component 20, sends the identification information of the first device to the first interactive component 20, notifies the first interactive component 20 to switch to the first device.
As an implementation manner, in the embodiment of the application, after obtaining the handover information from the first processing device, the first communication unit 200 of the first interactive assembly 20 obtains the handover information indicating to have the second interactive assembly 21 handover to the second processing device from the handover information;
based on the switching information, the first interactive component 20 transmits switching information for switching to a second processing device to the second interactive component 21 through the first communication unit 200, so that the second interactive component 21 establishes a connection with the second processing device in the first connection manner, and the first interactive component 20 maintains the connection with the first processing device.
As an implementation manner, in this embodiment of the application, after the first interaction component 20 obtains the switching information from the first processing device through the first communication unit 200, the switching information indicating that the first interaction component 20 and the second interaction component 21 are to be switched to the second device is obtained from the switching information;
based on the switching information, the first interactive component 20 transmits switching information for switching to a second device to the second interactive component 21 through the first communication unit 200, the second processing unit 212 of the second interactive component 21 triggers the second communication unit 210 to establish a connection with the second processing device in the first connection manner, and the first interactive component 20 establishes a connection with the second interactive component 21.
As an implementation manner, in this embodiment of the application, after the first communication unit 200 of the first interactive component 20 obtains the switching information from the first processing device, the first processing unit 202 obtains the switching information indicating that the second interactive component and the first interactive component are to be switched to the first processing device from the switching information;
based on the switching information, the first communication unit 200 of the first interactive component transmits switching information for switching to the first device to the second interactive component, so that the second interactive component and the first interactive component establish connection with the first processing device.
In the embodiment of the application, the first connection mode represents that the interactive component is directly connected with the processing equipment;
the second connection mode represents that the interactive component is connected with the processing equipment through another interactive component.
The first interactive component 20 and the second interactive component 21 may be wireless bluetooth headsets, the processing unit may be a chip, a CPU, a single chip, a Field Programmable Gate Array (FPGA), or other processor, the interactive unit may be used to output data, such as a speaker, and the communication unit may be a bluetooth antenna system.
It should be understood by those skilled in the art that the processing apparatus shown in fig. 2 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.
According to the processing 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, 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 the switching processing of the access object of the first interactive assembly and/or the second interactive assembly is very convenient and fast, so that the use of the first interactive assembly and the second interactive assembly by a user is facilitated, 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. 3 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. 3, in this example, the first processing device is a notebook and the second processing device is a mobile phone. The first interactive component is a main earphone in the wireless earphone, such as a left channel earphone, and the second interactive component is a right channel earphone in the wireless earphone.
The left sound channel earphone and the right sound channel earphone are connected with the notebook computer, wherein the left sound channel earphone is directly connected with the notebook computer, and the right sound channel earphone is connected with the left sound channel earphone as an auxiliary earphone. The user can directly send switching information to the two earphones based on the device identification list connected with the two earphones in the notebook computer. The switching information includes that the two earphones are forcibly disconnected, namely, a disconnection instruction is directly sent to the two earphones, and the two earphones are directly disconnected from the current connection, for example, the two earphones can be directly closed. The switching information connected with the mobile phone can be sent to the two earphones, even if the two earphones are disconnected with the notebook computer, the two earphones are connected with the mobile phone, namely the two earphones are connected with the mobile phone in a main and auxiliary mode. Or, the left channel earphone is indicated to be connected with the earphone, the right channel earphone is indicated to be connected with the notebook computer, and after switching is carried out, the two earphones can be indicated to be connected before switching.
That is to say, when a user wants to control one of the two earphones to be switched to other equipment, the user only needs to send switching information to the earphone through the notebook computer, and if the user needs to switch back, the user can switch back the earphone by sending the identifier of the processing equipment needing to be switched back to the corresponding earphone, so that the user can use the earphone conveniently.
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 (10)

1. A method of processing, comprising:
the first interactive assembly is connected with first processing equipment in a first connection mode, and the second interactive assembly is connected with the first processing equipment in a second connection mode; wherein the first connection mode is different from the second connection mode;
acquiring switching information from the first processing equipment, and triggering the first interactive assembly or the second interactive assembly to be connected with second processing equipment, wherein the other interactive assembly is connected with the first processing equipment; the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device in the first connection mode.
2. The method of claim 1, the obtaining handover information from the first processing device, comprising:
and after the switching information is obtained from the first processing equipment, obtaining the identification information of the second equipment from the switching information.
3. The method of claim 2, further comprising:
after a first interactive assembly is connected with first processing equipment in a first connection mode, the first interactive assembly transmits equipment identification information stored in the first interactive assembly to the first processing equipment, or acquires equipment identification information stored in a second interactive assembly, and transmits the equipment identification information stored in the first interactive assembly and the second interactive assembly to the first processing equipment;
the device identification information includes identification information of the second processing device.
4. The method of claim 1, the obtaining handover information from the first processing device, comprising:
obtaining switching information indicating to switch the first interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
and based on the switching information, the first interactive assembly establishes connection with the second processing equipment in a first connection mode, and informs the second interactive assembly of establishing connection with the first processing equipment in the first connection mode.
5. The method of claim 4, the obtaining handover information from the first processing device, comprising:
obtaining switching information indicating to switch the first interactive component to the first device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the second interactive component maintains a first connection with the first processing device, and sends the identification information of the first device to the first interactive component based on the connection of the second interactive component with the first interactive component.
6. The method of claim 1, the obtaining handover information from the first processing device, comprising:
obtaining switching information indicating to switch the second interactive component to the second processing device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the first interactive assembly transmits switching information for switching to second processing equipment to the second interactive assembly, so that the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly keeps connection with the first processing equipment.
7. The method of claim 1, the obtaining handover information from the first processing device, comprising:
obtaining switching information indicating that the first interactive assembly and the second interactive assembly are switched to the second equipment from the switching information after the switching information is obtained from the first processing equipment;
based on the switching information, the first interactive assembly transmits switching information for switching to second equipment to the second interactive assembly, the second interactive assembly establishes connection with the second processing equipment in the first connection mode, and the first interactive assembly establishes connection with the second interactive assembly.
8. The method of claim 7, the obtaining handover information from the first processing device, comprising:
obtaining switching information indicating switching a second interactive component and the first interactive component to the first processing device from the switching information after obtaining the switching information from the first processing device;
based on the switching information, the first interactive assembly transmits switching information for switching to the first equipment to the second interactive assembly, so that the second interactive assembly and the first interactive assembly are connected with the first processing equipment.
9. The method of claim 1, the first connection means characterizing a direct connection of the interactive component and the processing device;
the second connection mode represents that the interactive component is connected with the processing equipment through another interactive component.
10. An interaction device, comprising: a first interactive component and a second interactive component;
the first interactive component comprises:
a first communication unit, configured to connect with a first processing device in a first connection manner, and obtain handover information from the first processing device;
a first interaction unit for outputting and/or inputting data;
the first processing unit is used for triggering the connection between the first communication unit or the second communication unit and the second processing equipment, and the other one of the first communication unit and the second communication unit is connected with the first processing equipment;
the second interactive component comprises:
the second communication unit is used for establishing connection with the processing equipment;
a second interaction unit for outputting and/or inputting data;
wherein the first connection mode is different from the second connection mode;
the interactive component connected with the first processing device is connected with the first processing device in the first connection mode, and the interactive component connected with the second processing device is connected with the second processing device in the first connection mode.
CN201911424598.6A 2019-12-31 2019-12-31 Processing method and device Pending CN111182518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911424598.6A CN111182518A (en) 2019-12-31 2019-12-31 Processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911424598.6A CN111182518A (en) 2019-12-31 2019-12-31 Processing method and device

Publications (1)

Publication Number Publication Date
CN111182518A true CN111182518A (en) 2020-05-19

Family

ID=70650745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911424598.6A Pending CN111182518A (en) 2019-12-31 2019-12-31 Processing method and device

Country Status (1)

Country Link
CN (1) CN111182518A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104786A (en) * 2020-09-22 2020-12-18 上海视天科技有限公司 Intelligent terminal with routing function and VR glasses and mobile phone using same
CN115733921A (en) * 2021-08-31 2023-03-03 华为技术有限公司 TWS earphone decoupling sharing method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20180199282A1 (en) * 2012-05-26 2018-07-12 Qualcomm Incorporated Smart Battery Wear Leveling For Audio Devices
CN108810741A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of double wireless headset connections
CN109195055A (en) * 2018-11-09 2019-01-11 歌尔股份有限公司 A kind of wireless headset, TWS earphone and Bluetooth connecting method
CN109274827A (en) * 2018-09-29 2019-01-25 泸州威恩德科技有限公司 Method, apparatus, equipment and the medium of auto-pickup mobile phone communication
CN109347581A (en) * 2018-09-30 2019-02-15 Oppo广东移动通信有限公司 Bluetooth headset connection method, device, electronic equipment and storage medium
CN109379773A (en) * 2018-09-30 2019-02-22 联想(北京)有限公司 A kind of switching method, the first output equipment and the second output equipment
CN110191389A (en) * 2019-06-25 2019-08-30 歌尔股份有限公司 Mulit-point Connection method, apparatus, bluetooth headset and the TWS earphone of wireless headset
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180199282A1 (en) * 2012-05-26 2018-07-12 Qualcomm Incorporated Smart Battery Wear Leveling For Audio Devices
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
CN108810741A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of double wireless headset connections
CN109274827A (en) * 2018-09-29 2019-01-25 泸州威恩德科技有限公司 Method, apparatus, equipment and the medium of auto-pickup mobile phone communication
CN109347581A (en) * 2018-09-30 2019-02-15 Oppo广东移动通信有限公司 Bluetooth headset connection method, device, electronic equipment and storage medium
CN109379773A (en) * 2018-09-30 2019-02-22 联想(北京)有限公司 A kind of switching method, the first output equipment and the second output equipment
CN109195055A (en) * 2018-11-09 2019-01-11 歌尔股份有限公司 A kind of wireless headset, TWS earphone and Bluetooth connecting method
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110191389A (en) * 2019-06-25 2019-08-30 歌尔股份有限公司 Mulit-point Connection method, apparatus, bluetooth headset and the TWS earphone of wireless headset

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104786A (en) * 2020-09-22 2020-12-18 上海视天科技有限公司 Intelligent terminal with routing function and VR glasses and mobile phone using same
CN115733921A (en) * 2021-08-31 2023-03-03 华为技术有限公司 TWS earphone decoupling sharing method, device, equipment and storage medium
WO2023029938A1 (en) * 2021-08-31 2023-03-09 华为技术有限公司 Tws earphone decoupling and sharing method and apparatus, and device and storage medium

Similar Documents

Publication Publication Date Title
US11659620B2 (en) Data transmission method and device
US11368777B2 (en) Method and system for upgrading program of TWS headset, and TWS headset
US10820087B2 (en) Wireless audio source switching
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN113411793A (en) Bluetooth communication method and terminal
CN112020046A (en) Temporal pairing for wireless devices
CN111182518A (en) Processing method and device
JP2021521737A (en) Access control method, message broadcasting method and related equipment
CN107209378B (en) Head-mounted display device and head-mounted display system
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN111182597B (en) Processing method and device
US10516974B2 (en) Method for equipment networking and outputting by equipment, and equipment
US9854621B2 (en) Wireless connection switching method, wireless terminal, and system thereof
CN111866831A (en) Connection control method, device, terminal equipment and system
CN115776662A (en) Bluetooth connection method, device, earphone device and computer readable storage medium
CN109041141B (en) Transmission link switching control method and related product
CN109117111B (en) Transmission link switching control method and related product
CN114466099B (en) Control method and device of Bluetooth equipment and storage medium
CN114885261A (en) Earphone assembly, wireless audio playing system and communication method thereof
CN113038317B (en) Earphone control method and device, bluetooth earphone and storage medium
CN109151934B (en) Transmission link switching control method and related product
WO2022252928A1 (en) Screen projection method and apparatus, wireless terminal, screen projection device and storage medium
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN109121171B (en) Transmission link switching control method and related product
CN108347375B (en) Instant messaging message playing method and system, intelligent sound box device and platform terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519