CN117880687A - Earphone control method and electronic equipment - Google Patents

Earphone control method and electronic equipment Download PDF

Info

Publication number
CN117880687A
CN117880687A CN202410091343.7A CN202410091343A CN117880687A CN 117880687 A CN117880687 A CN 117880687A CN 202410091343 A CN202410091343 A CN 202410091343A CN 117880687 A CN117880687 A CN 117880687A
Authority
CN
China
Prior art keywords
identifier
earphone
control
application icon
input
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
CN202410091343.7A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202410091343.7A priority Critical patent/CN117880687A/en
Publication of CN117880687A publication Critical patent/CN117880687A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an earphone control method and electronic equipment. Belonging to the technical field of communication. An embodiment of the method comprises: displaying a first control corresponding to a first earphone, wherein the first earphone is an earphone connected with first electronic equipment; receiving a first input for a first control; in response to the first input, displaying at least one device identification or multimedia identification on the first control; the device identifiers are electronic device identifiers connected with the first earphone, at least one device identifier comprises the identifier of the first electronic device, and the multimedia identifier is the identifier of a multimedia file played by the first electronic device through the first earphone.

Description

Earphone control method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a headset control method and electronic equipment.
Background
With the richness of electronic device types, more and more users connect a plurality of electronic devices, each typically having a plurality of audio and video applications, using a pair of headphones.
In the prior art, when a multimedia file needs to be switched, for example, when a music application program is required to be switched to a video application program, or when an audio/video application program in a mobile phone is required to be switched to an audio/video application program in a tablet personal computer, switching and starting of the application program or cross-device operation are required, and the operation process is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a headset control method and electronic equipment, which can solve the technical problem of low convenience in operation when switching headset multimedia files.
In a first aspect, an embodiment of the present application provides a method for controlling an earphone, where the method includes: displaying a first control corresponding to a first earphone, wherein the first earphone is an earphone connected with the first electronic device; receiving a first input for the first control; displaying at least one device identification or multimedia identification on the first control in response to the first input; the device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone.
In a second aspect, an embodiment of the present application provides an earphone control device, including: the first display unit is used for displaying a first control corresponding to a first earphone, and the first earphone is an earphone connected with the first electronic equipment; a first receiving unit for receiving a first input for the first control; a second display unit, configured to display at least one device identifier or multimedia identifier on the first control in response to the first input; the device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method as described in the first aspect above.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement the method as described in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In an embodiment of the application, in a case where a first control corresponding to a first earphone connected to a first electronic device is displayed, a first input for the first control may be received, and in response to the first input, at least one device identifier or multimedia identifier may be displayed on the first control. The device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises the identifier of the first electronic device, and the multimedia identifier is the identifier of a multimedia file played by the first electronic device through the first earphone, so that the embodiment of the application can realize the switching of the multimedia file by controlling the first control, the switching and starting of an application program are not needed in the process, the device crossing operation is not needed, and the convenience of switching the multimedia file played by the earphone is improved.
Drawings
Fig. 1 is a flowchart of a headset control method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 3 is a second schematic diagram of an application scenario of the earphone control method provided in the embodiment of the present application;
fig. 4 is a third schematic diagram of an application scenario of the earphone control method provided in the embodiment of the present application;
fig. 5 is a schematic diagram of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 6 is a fifth schematic diagram of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 7 is a schematic diagram of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 8 is a schematic diagram of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 9 is a schematic diagram eighth of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 10 is a schematic diagram of an application scenario of an earphone control method provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an earphone control device provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 13 is a schematic diagram of a hardware structure of an electronic device suitable for use in implementing embodiments of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail the earphone control method and apparatus provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, one of flowcharts of a headset control method provided in an embodiment of the present application is shown. The earphone control method provided by the embodiment of the application can be applied to the first electronic equipment. In practice, the electronic device may be an electronic device such as a smart phone, a tablet computer, a laptop portable computer, and the like.
The flow of the earphone control method provided by the embodiment of the application comprises the following steps:
step 101, a first control corresponding to a first earphone is displayed.
In this embodiment, the first electronic device may display a first control corresponding to a first earphone, where the first earphone is an earphone connected to the first electronic device. The first control may be used to control the first earpiece. The first earphone may be at least one of a left earphone or a right earphone.
In some alternative implementations of the present embodiment, the first earphone may be a two-sided earphone, i.e., a left earphone and a right earphone. The first control may be a control for controlling the double-sided headphones. As an example, referring to fig. 2, after a user touches the right edge of the display screen and slides to the left, a first control 201 for controlling the above-described double-sided headphones may be displayed.
In some alternative implementations of the present embodiment, the first earpiece may be a single-sided earpiece, i.e., a left earpiece or a right earpiece. The first control may be a control for controlling the left or right earphone. The first electronic device may further display a second control for controlling the double-sided headphones, and receive a fifth input from the user to the second control. The first control described above may be displayed in response to a fifth input. Therefore, the two earphones can be controlled respectively, so that the left earphone and the right earphone can be connected with different devices respectively or respectively play multimedia files in different application programs in the same device, and different earphones play different multimedia files.
For example, see fig. 3. The second control may be seen at 301. When the user double-finger zooms in on the second control, the second control 301 may be split into a control 302 for controlling the left earpiece and a control 303 for controlling the right earpiece for display. When the user needs to control the left earphone, the left earphone is the first earphone, and the control 302 is the first control. When the user needs to control the right earphone, the right earphone is the first earphone, and the control 303 is the first control.
Further, referring to fig. 4, when the user simply refers to sliding the control of one of the headphones to the control of the other headphone, for example, sliding the control 403 for controlling the right headphone to the control 402 for controlling the left headphone, the control 402 and the control 403 may be combined into a second control 401 for display. At this time, the user can control the two-sided headphones simultaneously by manipulating the second control 401.
Step 102, a first input for the first control is received.
In this embodiment, the first input may be a touch input, or may be a voice command, or be a specific gesture input by a user, or be other feasibility inputs, which may specifically be determined according to actual use requirements. The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture. The click input in the embodiment of the application may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
At step 103, at least one device identification or multimedia identification is displayed on the first control in response to the first input.
In this embodiment, at least one device identifier or multimedia identifier may be displayed on the first control in response to the first input. The device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone. Wherein, the multimedia file may include, but is not limited to, at least one of the following: audio files, video files.
In some optional implementations of this embodiment, in a case where the multimedia identifier is displayed on the first control, if the multimedia file played by the first electronic device through the first earphone is an audio file (for example, a song, a drama, a comment, a sound, etc.), the multimedia identifier may be a cover of the audio file. Such as the cover of a song.
In some optional implementations of this embodiment, in a case where the multimedia identifier is displayed on the first control, if the multimedia file played by the first electronic device through the first earphone is a video file (for example, a short video, a movie, etc.), the multimedia identifier may be a picture of the video file.
In some optional implementations of this embodiment, in a case where a time period during which the user does not operate the first control is greater than or equal to a preset time period (for example, 5 seconds), the electronic device may hide the first control to avoid obscuring other content in the display screen.
In the method provided by the embodiment of the application, in the case of displaying the first control corresponding to the first earphone connected with the first electronic device, a first input for the first control may be received, and in response to the first input, at least one device identifier or multimedia identifier may be displayed on the first control. The device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises the identifier of the first electronic device, and the multimedia identifier is the identifier of a multimedia file played by the first electronic device through the first earphone, so that the embodiment of the application can realize the switching of the multimedia file by controlling the first control, the switching and starting of an application program are not needed in the process, the device crossing operation is not needed, and the convenience of switching the multimedia file played by the earphone is improved.
In some optional embodiments, in a case that at least one device identifier is displayed on the first control, the following steps may be further performed:
Step S11, displaying at least one application icon.
Step S12, receiving a second input aiming at a first application icon in the at least one application icon.
And step S13, in response to the second input, updating the display position of the first application icon, and playing the multimedia file in the application program corresponding to the first application icon through the first earphone on the target device corresponding to the target device identifier under the condition that the first application icon at least partially coincides with the target device identifier in the at least one device identifier.
Here, the application icon may be an icon of an application program capable of playing a multimedia file. The applications may include, but are not limited to, short video-type applications, music-type applications, film-type applications, and the like. The first application icon may be any of the at least one application icons described above. The second input may be used to update a display location of the first application icon. The target device identification may be any of the at least one device identifications described above.
As an example, referring to fig. 5, the at least one device identifier includes an identifier of the first electronic device and an identifier of the second electronic device. The first electronic device may be a mobile phone. The second electronic device may be a tablet computer, so the identifier of the first electronic device may be a mobile phone identifier, and the identifier of the second electronic device may be a tablet computer identifier. The mobile phone and the tablet personal computer are connected with the first earphone. After the user presses the first control and slides up, at least one application icon may be displayed. The displayed application icons include application icon a, application icon B, application icon C, application icon D. The first application icon may be application icon D.
The user can click the application icon D and drag the application icon D to the mobile phone identification, and when the application icon D is at least partially overlapped with the mobile phone identification, multimedia files in an application program corresponding to the application icon D can be played on the mobile phone through the first earphone. At this time, the multimedia identifier d corresponding to the multimedia file may be displayed in the first control. Therefore, the playing and switching of the multimedia file can be conveniently and rapidly carried out, the application program does not need to be manually switched and opened in the process, and the convenience of playing and switching of the multimedia file is improved.
Similarly, the user can click the application icon D and drag the application icon D to the tablet computer identifier, and when the application icon D at least partially coincides with the tablet computer identifier, multimedia files in the application program corresponding to the application icon D can be played on the tablet computer through the first earphone. At this time, the multimedia identifier d corresponding to the multimedia file may be displayed in the first control. Therefore, the playing and switching of the multimedia file can be conveniently and rapidly carried out, the application program does not need to be manually switched and opened in the process, the cross-equipment operation is not needed, and the convenience of the playing and switching of the multimedia file is improved.
It should be noted that, after the first control is displayed, at least one application icon may also be displayed, and a second input for a first application icon in the at least one application icon may be received. And in response to the second input, updating the display position of the first application icon, and playing the multimedia file in the application program corresponding to the first application icon through the first earphone under the condition that the first application icon is at least partially overlapped with the first control. As an example, referring to fig. 6, after the user presses the first control and slides up, at least one application icon may be displayed. The displayed application icons include application icon a, application icon B, application icon C, application icon D. The first application icon may be application icon D. The user can click the application icon D and drag the application icon D to the first control, and when the application icon D at least partially coincides with the first control, the multimedia file in the application program corresponding to the application icon D can be played through the first earphone. At this time, the multimedia identifier d corresponding to the multimedia file may be displayed in the first control. Therefore, the playing and switching of the multimedia file can be conveniently and rapidly carried out, the application program does not need to be manually switched and opened in the process, and the convenience of playing and switching of the multimedia file is improved.
In some alternative embodiments, after displaying the first control corresponding to the first earphone or in case of displaying the multimedia identity on the first control, the following steps may be further performed:
step S21, displaying M device identifiers, wherein the M device identifiers comprise at least one device identifier and a device identifier corresponding to a historically connected device. Here, the historically connected device is not currently in a connected state with the first earpiece.
Step S22, a third input aiming at a target equipment identifier in the M equipment identifiers is received.
Step S23, in response to the third input, disconnecting the first earphone from the target device corresponding to the target device identifier when the target device identifier is the device identifier of the at least one device identifier.
Step S24, when the target device identifier is the device identifier in the device identifiers corresponding to the historically connected devices, the connection between the first earphone and the target device corresponding to the target device identifier is established.
In some scenarios, after the user presses the first control and slides to the left, the at least one device identifier (i.e., an electronic device identifier connected to the first headset) and a device identifier corresponding to a historically connected device (i.e., a device identifier corresponding to a device that the first headset is not currently connected to) may be displayed.
In some scenarios, the at least one device identification (i.e., a device identification corresponding to a device that the first headset is not currently in a connected state) may be highlighted. The device identification corresponding to the historically connected device (i.e., the device identification corresponding to the device that the first headset is not currently connected to) may not be highlighted. Therefore, the connection state of the device and the first earphone can be set conveniently and quickly by a user.
As an example, referring to fig. 7, the first electronic device is a cell phone. The historically connected devices are tablet computers and notebook computers. The at least one device identifier comprises a mobile phone identifier, and the device identifier corresponding to the historically connected device comprises a tablet personal computer identifier and a notebook personal computer identifier. But after the user clicks the tablet personal computer identifier, the connection between the first earphone and the tablet personal computer can be established.
By displaying the at least one device identifier and the device identifier corresponding to the historically connected device and receiving the input of the target device identifier, the connection states of the plurality of electronic devices and the first earphone are controlled, the operation of crossing devices is not needed, and the convenience of switching the operation of the earphone multimedia files is further improved.
In some optional embodiments, in the case of displaying the multimedia identifier on the first control, the following steps may be further performed:
step S31, at least one application icon is displayed.
Step S32, receiving a third input aiming at a second application icon in the at least one application icon.
And step S33, in response to the third input, updating the display position of the second application icon, and playing the multimedia file in the application program corresponding to the second application icon through the first earphone when the second application icon is at least partially overlapped with the first control.
Here, the application icon may be an icon of an application program capable of playing a multimedia file. The applications may include, but are not limited to, short video-type applications, music-type applications, film-type applications, and the like. The second application icon may be any one of the at least one application icons described above.
For example, see fig. 8. The multimedia file being played is a multimedia file in an application program corresponding to the application icon D, and the multimedia identifier D can be displayed on the first control. The second application icon is application icon B. When the user clicks the application icon B and drags the application icon B to the multimedia identifier d, the multimedia file in the application program corresponding to the application icon B may be played through the first earphone. At this time, the multimedia identity b may be displayed on the first control.
By displaying at least one application icon and receiving the third input aiming at the second application icon in the at least one application icon, the playing and switching of the multimedia file can be conveniently and rapidly carried out, and the application program does not need to be manually switched and started in the process, so that the convenience of playing and switching of the multimedia file is improved.
In some optional embodiments, after the displaying the first control corresponding to the first earphone and before displaying the at least one device identifier on the first control, the following steps may be further performed:
step S41, displaying N device identifiers, wherein the N device identifiers are identifiers corresponding to the devices connected with the first earphone.
Step S42, receiving a fourth input for the N device identifications.
Step S43, responding to the fourth input, determining the at least one device identifier in the N device identifiers.
As an example, referring to fig. 9, after displaying the first control corresponding to the first earphone, an identifier corresponding to the device connected to the first earphone may be displayed, including a mobile phone identifier, a tablet identifier, and a notebook identifier. The user can drag the mobile phone identifier and the tablet personal computer identifier to the first control part respectively, and the mobile phone identifier and the tablet personal computer identifier can be displayed in the first control part. And whether the mobile phone and the tablet personal computer are connected with the first earphone or not is judged, and the mobile phone identifier and the tablet personal computer identifier can be displayed in the first control. In addition, if a certain device no longer needs to be connected with the first earphone, the device identifier corresponding to the device can be dragged out of the first control. In addition, if the number of the device identifiers displayed in the first control is greater than a preset value (for example, 4), the device identifiers of the devices connected with the first earphone in an earlier time can be automatically deleted, so that operability of the first control is ensured.
Through displaying N equipment identifiers and receiving the fourth input aiming at the N equipment identifiers, the at least one equipment identifier can be determined, so that the control of a plurality of electronic equipment connected with the first earphone can be conveniently and rapidly realized, the operation of multiple equipment is not needed to be manually performed, and the convenience of equipment control is improved.
In some alternative embodiments, a third control may also be displayed after the multimedia presentation. The third control may be used to control the playing state of the current multimedia file. The playing state includes at least one of the following: play, pause, switch to previous audio/video, switch to next audio/video. As an example, referring to fig. 10, after the user presses the first control and slides down, a third control, as shown at 1001, may be displayed. The user can control the playing state of the multimedia file by operating the third control. Therefore, the user can control the playing state of the current multimedia file without switching to the display interface of the current multimedia file, and the convenience of the operation of switching the earphone multimedia file is further improved.
It should be noted that, in the earphone control method provided in the embodiment of the present application, the execution body may be an earphone control device. In the embodiment of the present application, an example of a method for executing an earphone control by an earphone control device is described as an earphone control device provided in the embodiment of the present application.
As shown in fig. 11, the earphone control device 1100 according to the present embodiment includes: a first receiving unit 1101 for receiving a first input of a user; a first display unit 1102, configured to display a first control for controlling the first earphone in response to the first input; a second receiving unit 1103, configured to receive a second input of the first control by a user; a second display unit 1104, configured to display a second control in response to the second input, where the second control is configured to display at least one candidate multimedia file of the first earphone; a third receiving unit 1105, configured to receive a third input from a user to the second control; a switching unit 1106, configured to determine a target multimedia file in response to the third input, and switch the multimedia file of the first earphone from the current multimedia file to the target multimedia file; the current multimedia file and the target multimedia file are application programs running in different devices or different application programs running in the same device.
In some optional implementations of this embodiment, the apparatus further includes: a second display unit for displaying at least one application icon; a second receiving unit, configured to receive a second input for a first application icon in the at least one application icon; and the first updating unit is used for responding to the second input, updating the display position of the first application icon, and playing the multimedia file in the application program corresponding to the first application icon on the target equipment corresponding to the target equipment identifier through the first earphone under the condition that the first application icon at least partially coincides with the target equipment identifier in the at least one equipment identifier. Therefore, the playing and switching of the multimedia file can be conveniently and rapidly carried out, the application program does not need to be manually switched and opened in the process, the cross-equipment operation is not needed, and the convenience of the playing and switching of the multimedia file is improved.
In some optional implementations of this embodiment, the apparatus further includes: a third display unit, configured to display M device identifiers, where the M device identifiers include the at least one device identifier and a device identifier corresponding to a historically connected device; a third receiving unit, configured to receive a third input for a target device identifier of the M device identifiers; a disconnection unit, configured to disconnect, in response to the third input, the first earphone from a target device corresponding to the target device identifier when the target device identifier is a device identifier in the at least one device identifier; and the connection establishment unit is used for establishing the connection between the first earphone and the target equipment corresponding to the target equipment identifier under the condition that the target equipment identifier is the equipment identifier in the equipment identifiers corresponding to the historically-connected equipment. By displaying the at least one device identifier and the device identifier corresponding to the historically connected device and receiving the input of the target device identifier, the connection states of the plurality of electronic devices and the first earphone are controlled, the operation of crossing devices is not needed, and the convenience of switching the operation of the earphone multimedia files is further improved.
In some optional implementations of this embodiment, the apparatus further includes: a fourth display unit for displaying at least one application icon; a fourth receiving unit configured to receive a third input for a second application icon of the at least one application icon; and the second updating unit is used for responding to the third input and updating the display position of the second application icon, and playing the multimedia file in the application program corresponding to the second application icon through the first earphone under the condition that the second application icon at least partially coincides with the first control. By displaying at least one application icon and receiving the third input aiming at the second application icon in the at least one application icon, the playing and switching of the multimedia file can be conveniently and rapidly carried out, and the application program does not need to be manually switched and started in the process, so that the convenience of playing and switching of the multimedia file is improved.
In some optional implementations of this embodiment, the apparatus further includes: a fifth display unit, configured to display N device identifiers, where the N device identifiers are identifiers corresponding to devices connected to the first earphone; a fifth receiving unit, configured to receive a fourth input for the N device identifiers; a determining unit, configured to determine the at least one device identifier from the N device identifiers in response to the fourth input. The N device identifiers are displayed and the fourth input aiming at the N device identifiers is received, so that the at least one device identifier can be determined, the control of a plurality of electronic devices connected with the first earphone can be conveniently and quickly realized, multi-device operation is not needed to be manually performed, and the convenience of device control is improved.
In the apparatus provided in the foregoing embodiments of the present application, in a case where a first control corresponding to a first earphone connected to a first electronic device is displayed, a first input for the first control may be received, and in response to the first input, at least one device identifier or a multimedia identifier may be displayed on the first control. The device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises the identifier of the first electronic device, and the multimedia identifier is the identifier of a multimedia file played by the first electronic device through the first earphone, so that the embodiment of the application can realize the switching of the multimedia file by controlling the first control, the switching and starting of an application program are not needed in the process, the device crossing operation is not needed, and the convenience of switching the multimedia file played by the earphone is improved.
The earphone control device in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The earphone control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The earphone control device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 1200, including a processor 1201 and a memory 1202, where the memory 1202 stores a program or an instruction that can be executed on the processor 1201, and the program or the instruction implements each step of the above-mentioned earphone control method embodiment when executed by the processor 1201, and can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1310 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
A display unit 1306, configured to display a first control corresponding to a first earphone, where the first earphone is an earphone connected to the first electronic device; a user input unit 1307 for receiving a first input for said first control; a display unit 1306 further configured to display at least one device identifier or multimedia identifier on the first control in response to the first input; the device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone.
In the apparatus provided in the foregoing embodiments of the present application, in a case where a first control corresponding to a first earphone connected to a first electronic device is displayed, a first input for the first control may be received, and in response to the first input, at least one device identifier or a multimedia identifier may be displayed on the first control. The device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises the identifier of the first electronic device, and the multimedia identifier is the identifier of a multimedia file played by the first electronic device through the first earphone, so that the embodiment of the application can realize the switching of the multimedia file by controlling the first control, the switching and starting of an application program are not needed in the process, the device crossing operation is not needed, and the convenience of switching the multimedia file played by the earphone is improved.
Optionally, in the case that at least one device identifier is displayed on the first control, the display unit 1306 is further configured to display at least one application icon; a user input unit 1307 for receiving a second input for a first application icon of said at least one application icon; the display unit 1306 is further configured to update, in response to the second input, a display position of the first application icon, and play, on a target device corresponding to the target device identifier, a multimedia file in an application program corresponding to the first application icon through the first earphone, where the first application icon at least partially coincides with the target device identifier in the at least one device identifier. Therefore, the playing and switching of the multimedia file can be conveniently and rapidly carried out, the application program does not need to be manually switched and opened in the process, the cross-equipment operation is not needed, and the convenience of the playing and switching of the multimedia file is improved.
Optionally, after the displaying the first control corresponding to the first earphone or in a case of displaying the multimedia identifier on the first control, the display unit 1306 is further configured to display M device identifiers, where the M device identifiers include the at least one device identifier and a device identifier corresponding to a historically connected device; a user input unit 1307, configured to receive a third input for a target device identifier of the M device identifiers; a processor 1310, configured to disconnect, in response to the third input, the first earphone from a target device corresponding to the target device identifier, in a case that the target device identifier is a device identifier in the at least one device identifier; and under the condition that the target equipment identifier is the equipment identifier in the equipment identifiers corresponding to the historically-connected equipment, establishing the connection between the first earphone and the target equipment corresponding to the target equipment identifier. By displaying the at least one device identifier and the device identifier corresponding to the historically connected device and receiving the input of the target device identifier, the connection states of the plurality of electronic devices and the first earphone are controlled, the operation of crossing devices is not needed, and the convenience of switching the operation of the earphone multimedia files is further improved.
Optionally, in the case that the multimedia identifier is displayed on the first control, the display unit 1306 is further configured to display at least one application icon; a user input unit 1307 for receiving a third input for a second application icon of said at least one application icon; the display unit 1306 is further configured to update, in response to the third input, a display position of the second application icon, and play, by using the first earphone, a multimedia file in an application program corresponding to the second application icon when the second application icon at least partially overlaps with the first control. By displaying at least one application icon and receiving the third input aiming at the second application icon in the at least one application icon, the playing and switching of the multimedia file can be conveniently and rapidly carried out, and the application program does not need to be manually switched and started in the process, so that the convenience of playing and switching of the multimedia file is improved.
Optionally, after the displaying the first control corresponding to the first earphone, before displaying at least one device identifier on the first control, the display unit 1306 is further configured to display N device identifiers, where the N device identifiers are identifiers corresponding to devices connected to the first earphone; a user input unit 1307 for receiving a fourth input for said N device identifications; the processor 1310 is further configured to determine, in response to the fourth input, the at least one device identification among the N device identifications. The N device identifiers are displayed and the fourth input aiming at the N device identifiers is received, so that the at least one device identifier can be determined, the control of a plurality of electronic devices connected with the first earphone can be conveniently and quickly realized, multi-device operation is not needed to be manually performed, and the convenience of device control is improved.
It should be appreciated that in embodiments of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes at least one of a touch panel 13071 and other input devices 13072. The touch panel 13071 is also referred to as a touch screen. The touch panel 13071 can include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1309 may include volatile memory or nonvolatile memory, or the memory 1309 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1309 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor that primarily handles operations related to the operating system, user interface, and applications, and a modem processor that primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1310.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the above-mentioned earphone control method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the above earphone control method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-mentioned earphone control method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (12)

1. A headset control method applied to a first electronic device, the method comprising:
displaying a first control corresponding to a first earphone, wherein the first earphone is an earphone connected with the first electronic device;
receiving a first input for the first control;
displaying at least one device identification or multimedia identification on the first control in response to the first input;
the device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone.
2. The method of claim 1, wherein in the case of displaying at least one device identification on the first control, the method further comprises:
displaying at least one application icon;
receiving a second input for a first application icon of the at least one application icon;
and in response to the second input, updating the display position of the first application icon, and playing the multimedia file in the application program corresponding to the first application icon on the target device corresponding to the target device identifier through the first earphone under the condition that the first application icon at least partially coincides with the target device identifier in the at least one device identifier.
3. The method of claim 1, wherein after the displaying the first control corresponding to the first earpiece or in the case of displaying the multimedia presentation on the first control, the method further comprises:
displaying M device identifiers, wherein the M device identifiers comprise at least one device identifier and a device identifier corresponding to a historically connected device;
receiving a third input for a target device identification of the M device identifications;
responding to the third input, and disconnecting the first earphone from a target device corresponding to the target device identifier under the condition that the target device identifier is the device identifier in the at least one device identifier;
and under the condition that the target equipment identifier is the equipment identifier in the equipment identifiers corresponding to the historically-connected equipment, establishing the connection between the first earphone and the target equipment corresponding to the target equipment identifier.
4. The method of claim 1, wherein in the case of displaying a multimedia presentation on the first control, the method further comprises:
displaying at least one application icon;
receiving a third input for a second application icon of the at least one application icon;
And responding to the third input, updating the display position of the second application icon, and playing the multimedia file in the application program corresponding to the second application icon through the first earphone under the condition that the second application icon at least partially coincides with the first control.
5. The method of claim 1, wherein after the displaying the first control corresponding to the first earpiece, before displaying the at least one device identification on the first control, the method further comprises:
displaying N device identifiers, wherein the N device identifiers are identifiers corresponding to the devices connected with the first earphone;
receiving a fourth input for the N device identifications;
in response to the fourth input, the at least one device identification is determined among the N device identifications.
6. An earphone control device applied to a first electronic device, characterized in that the device comprises:
the first display unit is used for displaying a first control corresponding to a first earphone, and the first earphone is an earphone connected with the first electronic equipment;
a first receiving unit for receiving a first input for the first control;
A second display unit, configured to display at least one device identifier or multimedia identifier on the first control in response to the first input;
the device identifier is an electronic device identifier connected with the first earphone, the at least one device identifier comprises an identifier of the first electronic device, and the multimedia identifier is an identifier of a multimedia file played by the first electronic device through the first earphone.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a second display unit for displaying at least one application icon;
a second receiving unit, configured to receive a second input for a first application icon in the at least one application icon;
and the first updating unit is used for responding to the second input, updating the display position of the first application icon, and playing the multimedia file in the application program corresponding to the first application icon on the target equipment corresponding to the target equipment identifier through the first earphone under the condition that the first application icon at least partially coincides with the target equipment identifier in the at least one equipment identifier.
8. The apparatus of claim 6, wherein the apparatus further comprises:
A third display unit, configured to display M device identifiers, where the M device identifiers include the at least one device identifier and a device identifier corresponding to a historically connected device;
a third receiving unit, configured to receive a third input for a target device identifier of the M device identifiers;
a disconnection unit, configured to disconnect, in response to the third input, the first earphone from a target device corresponding to the target device identifier when the target device identifier is a device identifier in the at least one device identifier;
and the connection establishment unit is used for establishing the connection between the first earphone and the target equipment corresponding to the target equipment identifier under the condition that the target equipment identifier is the equipment identifier in the equipment identifiers corresponding to the historically-connected equipment.
9. The apparatus of claim 6, wherein the apparatus further comprises:
a fourth display unit for displaying at least one application icon;
a fourth receiving unit configured to receive a third input for a second application icon of the at least one application icon;
and the second updating unit is used for responding to the third input and updating the display position of the second application icon, and playing the multimedia file in the application program corresponding to the second application icon through the first earphone under the condition that the second application icon at least partially coincides with the first control.
10. The apparatus of claim 6, wherein the apparatus further comprises:
a fifth display unit, configured to display N device identifiers, where the N device identifiers are identifiers corresponding to devices connected to the first earphone;
a fifth receiving unit, configured to receive a fourth input for the N device identifiers;
a determining unit, configured to determine the at least one device identifier from the N device identifiers in response to the fourth input.
11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the earphone control method of any of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the earphone control method according to any of claims 1-5.
CN202410091343.7A 2024-01-22 2024-01-22 Earphone control method and electronic equipment Pending CN117880687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410091343.7A CN117880687A (en) 2024-01-22 2024-01-22 Earphone control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410091343.7A CN117880687A (en) 2024-01-22 2024-01-22 Earphone control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117880687A true CN117880687A (en) 2024-04-12

Family

ID=90578927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410091343.7A Pending CN117880687A (en) 2024-01-22 2024-01-22 Earphone control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117880687A (en)

Similar Documents

Publication Publication Date Title
US20170147184A1 (en) Method and electronic device for processing terminal folder
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
WO2023155877A1 (en) Application icon management method and apparatus and electronic device
CN112148167A (en) Control setting method and device and electronic equipment
CN112099702A (en) Application running method and device and electronic equipment
WO2024078552A1 (en) Background application management method and apparatus, electronic device and medium
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN114415886A (en) Application icon management method and electronic equipment
WO2024078590A1 (en) Identifier display method and apparatus, and electronic device and readable storage medium
CN113282546A (en) File processing method and device
CN114416269A (en) Interface display method and display device
CN117880687A (en) Earphone control method and electronic equipment
CN112764622A (en) Icon moving method and device and electronic equipment
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024114530A1 (en) Component display method and apparatus, electronic device and medium
WO2024109731A1 (en) Content sharing method and apparatus, electronic device, and readable storage medium
CN117676007A (en) Information processing method, information processing device, electronic equipment and readable storage medium
CN115586857A (en) Instruction execution method, device, equipment and storage medium
CN114363875A (en) Equipment binding method and device thereof
CN115756681A (en) Interface display method and device, electronic equipment and medium
CN116931871A (en) Playing control method and device and electronic equipment
CN115955624A (en) Earphone control method and device
CN117377133A (en) Bluetooth connection establishment method and device, electronic equipment and readable storage medium

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