CN107465806B - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN107465806B
CN107465806B CN201710532389.8A CN201710532389A CN107465806B CN 107465806 B CN107465806 B CN 107465806B CN 201710532389 A CN201710532389 A CN 201710532389A CN 107465806 B CN107465806 B CN 107465806B
Authority
CN
China
Prior art keywords
output
module
data
output module
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710532389.8A
Other languages
Chinese (zh)
Other versions
CN107465806A (en
Inventor
都海亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710532389.8A priority Critical patent/CN107465806B/en
Publication of CN107465806A publication Critical patent/CN107465806A/en
Application granted granted Critical
Publication of CN107465806B publication Critical patent/CN107465806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Abstract

The embodiment of the invention discloses a method for controlling an output module to work and an electronic device, which are used for obtaining data to be output; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state; in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module plays the data in real time; and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time.

Description

Control method and electronic equipment
Technical Field
The invention relates to an information processing technology, in particular to a control method and electronic equipment.
Background
At present, mobile devices have become an indispensable tool for users, and the importance of the mobile devices makes users have the advantages of less possibility of losing and missing belts, long service time and the like. However, the mobile device is inconvenient to answer the phone directly when the car is driven, and the mobile device cannot be directly used to listen to the songs in motion.
With the rapid development of bluetooth technology, the demand of bluetooth headsets is increasing. The bluetooth headset is particularly needed in the states of exercise, driving and the like of the daily life of the user. However, while being convenient and safe, the existing bluetooth headset has a series of disadvantages of high end, high price, small size, easy loss, easy belt leakage, insufficient battery capacity, short duration and the like, and is obviously not favorable for the development of the bluetooth headset.
Therefore, how to complement the advantages and disadvantages of the bluetooth headset and the mobile device has become a problem to be solved.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method and an electronic device for controlling an output module to operate to solve the problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for controlling the work of an output module, which is applied to electronic equipment and comprises the following steps:
obtaining data to be output;
obtaining the connection state of the output module and the electronic equipment;
determining an output channel for outputting the data to be output based on the connection state;
in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module plays the data in real time;
and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time.
In an embodiment, outputting the data to be output in real time through the output module and a second output channel of the electronic device includes:
enabling a second output channel to output the data to be output in real time through the separation of the output module and the electronic equipment;
or, the data to be output is output in real time through a second output channel established by separating the output module from the electronic equipment.
In one embodiment, the output module is an indispensable functional module in the electronic device;
or, the output module is an additional module of an equivalent functional module of the electronic device.
In an embodiment, the output module belongs to the electronic device, and the output module is an indispensable functional module in the electronic device;
the first surface of the electronic device is provided with a groove, the groove is used for accommodating the output module, and when the output module is accommodated in the groove, the output surface of the output module is exposed on the first surface.
In an embodiment, the method further comprises:
the data to be output is continuous data on a time axis, and the first output channel and the second output channel are seamlessly switched along with the change of the contact and separation connection state of the output module and the electronic equipment.
The embodiment of the invention also provides electronic equipment, which comprises an output module and a processor;
a processor for obtaining data to be output; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state;
in a connection state that the output module is in contact with the electronic equipment, the processor outputs the data to be output in real time through a first output channel established by the contact of the output module and the electronic equipment so that the output module plays in real time;
and when the output module is in a separated connection state with the electronic equipment, the processor outputs the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time.
In an embodiment, the processor is further configured to enable a second output channel to output the data to be output in real time by separating the output module from the electronic device; or, the data to be output is output in real time through a second output channel established by separating the output module from the electronic equipment.
In one embodiment, the output module is an indispensable functional module in the electronic device; or, the output module is an additional module of an equivalent functional module of the electronic device.
In an embodiment, the output module belongs to the electronic device, and the output module is an indispensable functional module in the electronic device;
the first surface of the electronic device is provided with a groove, the groove is used for accommodating the output module, and when the output module is accommodated in the groove, the output surface of the output module is exposed on the first surface.
In one embodiment, the data to be output is continuous audio data, and the first output channel and the second output channel are seamlessly switched with the change of the connection state of the contact and the separation of the output module and the electronic equipment.
According to the method and the electronic device for controlling the output module to work, data to be output are obtained; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state; in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module plays the data in real time; and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time. So, make the user seldom lose based on electronic equipment's importance, the missed measure is taken, and the battery capacity is big, advantages such as duration of service time is long, inconvenient direct through the mobile device broadcast audio and video data information such as user driving or motion under the condition, can all effectively realize audio and video data's output and its real-time playing through output module and electronic equipment under different connected state, thereby effectively solve bluetooth headset and easily lose, easily leak and carry, and the battery capacity is not enough, a series of problems such as duration is not long.
Drawings
Fig. 1-1 is a schematic flow chart of a first implementation of a method for controlling the operation of an output module according to an embodiment of the present invention;
fig. 1-2 are schematic structural diagrams of an output module in an electronic device according to an embodiment of the present invention;
fig. 1-3 are schematic structural diagrams of an output module in an electronic device according to an embodiment of the present invention;
fig. 1-4 are schematic diagrams illustrating a connection state of a bluetooth module and an electronic device in contact according to an embodiment of the present invention;
fig. 1-5 are schematic diagrams illustrating a bluetooth module and an electronic device in a separated connection state according to an embodiment of the present invention;
FIG. 2-1 is a schematic diagram of a flow chart illustrating an implementation of a method for controlling an output module according to an embodiment of the present invention;
fig. 2-2 is a first schematic structural diagram illustrating a contact connection between an electronic device and an output module according to an embodiment of the present invention;
fig. 2-3 are schematic structural diagrams of the electronic device and the output module in contact connection according to the embodiment of the invention;
FIG. 3-1 is a schematic flow chart illustrating a third implementation of the method for controlling the operation of the output module according to the embodiment of the present invention;
FIG. 3-2 is a first schematic view illustrating a contact connection structure between an electronic device and a projection module according to an embodiment of the invention;
fig. 3-3 are schematic structural diagrams illustrating a contact connection between an electronic device and a projection module according to an embodiment of the invention;
3-4 are comparative diagrams of the display effect of the electronic device enhanced by the projection module;
FIG. 4-1 is a schematic flow chart illustrating an implementation of a method for controlling the operation of an output module according to an embodiment of the present invention;
fig. 4-2 is a schematic structural diagram of an output module accommodated in the electronic device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an implementation flow of a method for controlling the operation of an output module according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
Fig. 1-1 is a schematic view of a first implementation flow of a method for controlling an output module to work according to an embodiment of the present invention, as shown in fig. 1-1, where the method is applied to an electronic device, and the method includes:
step 101: obtaining data to be output;
the data to be output can be audio data in any form; the data to be output may also be any form of image data or video data.
Step 102: obtaining the connection state of the output module and the electronic equipment;
here, the output module is an indispensable functional module in the electronic device; or, the output module is an additional module of an equivalent functional module of the electronic device.
When the output data is audio data, the output module may be an indispensable functional module in the electronic device, such as a speaker (speaker), which can be separated from the electronic device, and in an embodiment of the present invention, the speaker serves as a speaker of a bluetooth headset. That is, the speaker is located in the bluetooth headset, the bluetooth headset can be integrally mounted on the electronic device, and the speaker of the bluetooth headset serves as an indispensable speaker for providing audio data output on the electronic device, and the speaker of the bluetooth headset is directly connected to the first output channel of the electronic device (i.e. the audio output channel formed by the hardware circuit on the electronic device) through the contact point when the bluetooth headset is integrally mounted on the electronic device; meanwhile, the whole Bluetooth headset can be separated from the electronic equipment, and the loudspeaker is used as the audio output of the Bluetooth headset; the electronic device seamlessly switches to the second audio output channel when the bluetooth headset separation is detected so that the bluetooth headset can still obtain audio data. It should be noted that, taking an electronic device as a mobile phone as an example, an antenna, a processor, and the like are all indispensable functional modules in the mobile phone, and similarly, as shown in fig. 1-2, a speaker 10 is also indispensable output module for outputting audio data in the mobile phone; as shown in fig. 1-3, as most mobile phones adopt a two-in-one speaker, i.e. a receiver and a speaker in the mobile phone are integrated, the two-in-one speaker 11 is also an indispensable output module for receiving audio signals and outputting audio data in the mobile phone.
When the output data is audio data, the output module may also be an audio output module of the electronic device, which is identical to the speaker module, and the audio output module is used to enhance the sound output effect of the speaker in the electronic device, such as a JBL speaker module.
When the output data is image data or video data, the output module may be a projection module (Project module) of the electronic device, which is identical to a display screen. The projection module is used for enhancing the display output effect of a display screen in electronic equipment, such as display size, display color and the like.
The connection state of the output module and the electronic equipment comprises a contact connection state and a separation connection state.
For the case that the output module is an additional module of the electronic device that is equivalent to the functional module, the output module may contact with the electronic device through a contact, for example, the output module may be attached to the electronic device through a metal contact of a back case of the electronic device by magnetic force, and the output module is in a contact connection state.
In the case where the output module is an additional module of the electronic device, the output module may be in a separated connection state with the electronic device through a wireless connection, such as a Near Field Communication (NFC), ZigBee, Bluetooth (Bluetooth), and the like.
Step 103: determining an output channel for outputting the data to be output based on the connection state;
step 104 a: and in the connection state that the output module is in contact with the electronic equipment, the data to be output is output in real time through a first output channel established by the contact of the output module and the electronic equipment, so that the output module plays in real time.
Here, in a connection state where the output module and the electronic device are in contact, the output module may be continuously charged by a power supply of the electronic device.
Step 104 b: and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time.
In one example, as shown in fig. 1 to 4, when the bluetooth module is attached to the mobile phone through magnetic force of the metal contact of the mobile phone back shell, the bluetooth module is connected to the mobile phone contact in the locked state of the buckle assembly; at this time, the Bluetooth module is in a contact connection state with the mobile phone, and audio data to be output can be output in real time through a contact connection output channel established by the contact of the Bluetooth module with the mobile phone, so that the Bluetooth module can play in real time. At the moment, because the Bluetooth module is in a contact connection state with the mobile phone, the Bluetooth module can be directly and continuously charged through a mobile phone power supply battery.
In another example, as shown in fig. 1 to 5, when the bluetooth module is separated from the mobile phone body in the unlocked state of the buckle assembly, that is, the bluetooth module is in a separated connection state with the mobile phone, the bluetooth module and the mobile phone output the audio data to be output in real time through the bluetooth wireless connection output channel, so that the bluetooth module plays the audio data in real time. Like this, the bluetooth module is equivalent to bluetooth headset completely to effectively solve bluetooth headset and easily lose, easily leak and carry, and battery capacity is not enough, duration scheduling problem not long.
The method for controlling the output module to work obtains data to be output; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state; in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module plays the data in real time; and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time. So, make the user seldom lose based on electronic equipment's importance, the missed measure is taken, and the battery capacity is big, advantages such as duration of service time is long, inconvenient direct through the mobile device broadcast audio and video data information such as user driving or motion under the condition, can all effectively realize audio and video data's output and its real-time playing through output module and electronic equipment under different connected state, thereby effectively solve bluetooth headset and easily lose, easily leak and carry, and the battery capacity is not enough, a series of problems such as duration is not long.
Fig. 2-1 is a schematic view of an implementation flow of a method for controlling an output module to work according to an embodiment of the present invention, as shown in fig. 2-1, where the method is applied to an electronic device, and the method includes:
step 201: obtaining audio data to be output;
step 202: acquiring a connection state of the output module and the electronic equipment, wherein the output module is an indispensable functional module in the electronic equipment;
here, the output module may be an indispensable functional module in the electronic device, such as a spaker. It should be noted that, taking an electronic device as a mobile phone as an example, an antenna, a processor, and the like are all indispensable functional modules in the mobile phone, and similarly, as shown in fig. 1-2, a speaker 10 is also an indispensable output module for outputting audio data in the mobile phone; as shown in fig. 1-3, as most mobile phones adopt a two-in-one speaker, i.e. a receiver and a speaker in the mobile phone are integrated, the two-in-one speaker 11 is also an indispensable output module for receiving audio signals and outputting audio data in the mobile phone.
Step 203: in a connection state that the output module is in contact with the electronic equipment, outputting the audio data to be output in real time through a first output channel established by the contact of the output module and the electronic equipment so that the output module plays in real time;
step 204: and in the connection state that the output module is separated from the electronic equipment, outputting the audio data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the audio data in real time.
In one embodiment, the output module is used as a speaker of a bluetooth headset, the speaker is located in the bluetooth headset, the bluetooth headset can be integrally installed on the electronic device, and the speaker of the bluetooth headset is used as an indispensable speaker for providing audio data output on the electronic device.
Taking fig. 2-2 as an example, the electronic device includes an output module, a bluetooth module, and a switching control module. When the electronic equipment detects that the output module is in contact with the electronic equipment, the output module is in an active state, and the output module is connected to an audio output channel formed by a hardware circuit on the electronic equipment through a contact point to output and play the audio data to be output.
Taking fig. 2-3 as an example, the electronic device includes an output module, a bluetooth module, and a switching control module. When the electronic equipment detects that the output module is separated from the electronic equipment, the output module, the Bluetooth module and the switching control module are all in an active state, and the switching control module controls the electronic equipment to be seamlessly switched to the second audio output channel through the Bluetooth module, so that the Bluetooth headset can still obtain audio data and play the audio data through the output module in real time.
Fig. 3-1 is a schematic view illustrating a third implementation flow of a method for controlling an output module to work according to an embodiment of the present invention, as shown in fig. 3-1, where the method is applied to an electronic device, and the method includes:
step 301: obtaining image data to be output;
here, the image data may include non-continuous teletext data on a time axis, or may include continuous video data on a time axis.
Step 302: obtaining a connection state of the output module and the electronic equipment, wherein the output module is an additional module of an equivalent functional module in the electronic equipment;
step 303: in a connection state that the output module is in contact with the electronic equipment, outputting the image data to be output in real time through a first output channel established by the contact of the output module and the electronic equipment so that the output module plays in real time;
step 304: and in the connection state that the output module is separated from the electronic equipment, outputting the image data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the image data in real time.
In an embodiment, the output module is a projection module of the electronic device that is identical to a display screen. Taking fig. 3-2 as an example, the electronic device includes a display control module, a bluetooth module, a switching control module, and a display screen, when the electronic device detects that the projection module contacts with itself, the projection module is attached to the electronic device seamlessly by magnetic attraction of a metal contact of a back shell of the electronic device, and the projection module is in a contact connection state with the electronic device; at this time, the display control module is in a dormant state to inhibit the electronic equipment from outputting the image data to be output through a display screen; meanwhile, a contact connection output channel (namely a first output channel) established by the contact of the projection module and the electronic equipment outputs image data to be output in real time, so that the projection module can enhance and display the image data in real time.
Taking fig. 3-3 as an example, the electronic device includes a display control module, a bluetooth module, a switching control module, and a display screen, when the electronic device detects that the projection module is separated from the electronic device, the bluetooth module and the switching control module are both in an active state, and the switching control module controls the electronic device to seamlessly switch to the second output channel through the bluetooth module, so that the projection module can still obtain image data and display the image data in real time.
For example, taking the image data as an image a as an example, fig. 3-4 are comparison images of the display effect of the electronic device after the image a is enhanced and displayed by the projection module; fig. 3-4(a) are effect diagrams of the electronic device after displaying the picture a through the display, and fig. 3-4(b) are effect diagrams of the electronic device 30 after displaying the picture a through the projection module in an enlarged manner.
Fig. 4-1 is a schematic view illustrating a fourth implementation flow of a method for controlling an output module to work according to an embodiment of the present invention, as shown in fig. 4-1, where the method is applied to an electronic device, and the method includes:
step 401: obtaining data to be output;
the data to be output can be audio data in any form; the data to be output may also be any form of image data or video data.
Step 402: obtaining a connection state of the output module in contact with the electronic equipment;
here, the output module is an indispensable functional module in the electronic device, such as a speaker (speaker); the first surface of the electronic device is provided with a groove, the groove is used for accommodating the output module, and when the output module is accommodated in the groove, the output surface of the output module is exposed on the first surface.
In one example, as shown in fig. 4-2, the electronic device has a groove a on the outer surface of the back shell, when an indispensable output module in the electronic device is accommodated in the groove a, the output module is connected to an audio output channel formed by hardware circuits on the electronic device, and an output surface of the output module is exposed on the outer surface of the back shell, so that the electronic device outputs and plays data to be output through the output module.
Step 403: determining a first output channel for outputting the data to be output based on the connection state of the contact;
step 404: and outputting the data to be output in real time through a first output channel established by the contact of the output module and the electronic equipment so that the output module plays in real time.
According to the method for controlling the output module to work, the user rarely loses or loses the audio/video data based on the importance of the electronic equipment, the battery capacity is large, the continuous service time is long, and the like.
Fig. 5 is a schematic diagram of an implementation flow of a method for controlling an output module to work according to an embodiment of the present invention, as shown in fig. 5, where the method is applied to an electronic device, and the method includes:
step 501: acquiring data to be output, wherein the data to be output is continuous data on a time axis;
the data to be output can be continuous audio data on a time axis; the data to be output may also be continuous image data or video data on a time axis.
Step 502: obtaining the connection state of the output module and the electronic equipment;
here, the output module is an indispensable functional module in the electronic device; or, the output module is an additional module of an equivalent functional module of the electronic device.
The connection state of the output module and the electronic equipment comprises a contact connection state and a separation connection state.
Step 503: determining an output channel for outputting the data to be output based on the connection state;
step 504: the first output channel and the second output channel are seamlessly switched along with the change of the connection state of the contact and separation of the output module and the electronic equipment;
step 505 a: and in the connection state that the output module is in contact with the electronic equipment, the data to be output is output in real time through a first output channel established by the contact of the output module and the electronic equipment, so that the output module plays in real time.
Here, in a connection state where the output module and the electronic device are in contact, the output module may be continuously charged by a power supply of the electronic device.
Step 505 b: and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time.
In one example, as shown in fig. 1-4 and fig. 1-5, when the connection state of the contact and separation of the bluetooth module and the mobile phone is changed, the contact connection output channel and the bluetooth wireless connection output channel are seamlessly switched; as shown in fig. 1-4, when the bluetooth module is attached seamlessly by magnetic force of the metal contact of the back shell of the mobile phone, the bluetooth module is connected with the mobile phone contact in the locked state of the buckle assembly; at this time, the Bluetooth module is in a contact connection state with the mobile phone, and audio data to be output can be output in real time through a contact connection output channel established by the contact of the Bluetooth module with the mobile phone, so that the Bluetooth module can play in real time. At the moment, because the Bluetooth module is in a contact connection state with the mobile phone, the Bluetooth module can be directly and continuously charged through a mobile phone power supply battery. Further, as shown in fig. 1-5, when the buckle assembly is switched from the locking state to the unlocking state, the bluetooth module is separated from the mobile phone body, that is, the bluetooth module is in a separated connection state with the mobile phone, and at this time, the bluetooth module and the mobile phone output the audio data to be output in real time through a bluetooth wireless connection output channel so that the bluetooth module plays in real time. Like this, replace the bluetooth through the bluetooth module, can effectively solve bluetooth headset and easily lose, easily leak and carry, and battery capacity is not enough, duration scheduling problem not long.
The embodiment of the invention discloses a method for controlling the work of an output module, which is used for obtaining data to be output; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state; when the connection state of the contact and separation of the output module and the electronic equipment is changed, the first output channel and the second output channel are switched seamlessly; in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module plays the data in real time; and in the connection state that the output module is separated from the electronic equipment, outputting the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module plays the data in real time. So, make the user seldom lose based on electronic equipment's importance, the missed measure is taken, and the battery capacity is big, advantages such as duration of service time is long, inconvenient direct through the mobile device broadcast audio and video data information such as user driving or motion under the condition, can all effectively realize audio and video data's output and its real-time playing through output module and electronic equipment under different connected state, thereby effectively solve bluetooth headset and easily lose, easily leak and carry, and the battery capacity is not enough, a series of problems such as duration is not long.
Fig. 6 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present invention, as shown in fig. 6, the electronic device includes an output module 61 and a processor 62;
a processor 62, the processor 62 being configured to obtain data to be output; obtaining a connection state of the output module 61 and the electronic device; determining an output channel for outputting the data to be output based on the connection state;
in a connection state that the output module 61 is in contact with the electronic device, the processor 62 outputs the data to be output in real time through a first output channel established by the contact between the output module 61 and the electronic device, so that the output module 61 plays in real time;
in the connection state where the output module 61 and the electronic device are separated, the processor 62 outputs the data to be output in real time through the output module 61 and a second output channel of the electronic device, so that the output module 61 plays the data in real time.
In an embodiment, the processor 62 is further configured to enable a second output channel to output the data to be output in real time by separating the output module 61 from the electronic device; or, the data to be output is output in real time through a second output channel established by separating the output module 61 from the electronic device.
In one embodiment, the output module 61 is an indispensable functional module in the electronic device; alternatively, the output module 61 is an additional module of an equivalent functional module of the electronic device.
In an embodiment, the output module 61 belongs to the electronic device, and the output module 61 is an indispensable functional module in the electronic device;
the first surface of the electronic device has a groove for receiving the output module 61, and when the output module 61 is received in the groove, the output surface of the output module 61 is exposed on the first surface.
In one embodiment, the data to be output is a continuous audio data, and the first output channel and the second output channel are seamlessly switched with the change of the connection state of the contact and the separation of the output module 61 and the electronic device.
It should be understood by those skilled in the art that the functions of each unit and its sub-units in the electronic device according to the embodiments of the present invention may be understood by referring to the description of the foregoing control method, and are not described herein again.
According to the electronic equipment provided by the embodiment of the invention, based on the importance of the electronic equipment, a user rarely loses or loses a band, the battery capacity is large, the continuous service time is long, and the like, under the condition that the user is inconvenient to directly play audio and video data information through mobile equipment during driving or movement, the output of the audio and video data and the real-time playing of the audio and video data can be effectively realized through the output module and the electronic equipment in different connection states, so that a series of problems that a Bluetooth headset is easy to lose, easy to leak and carry, insufficient in battery capacity, short in continuous time and the like are effectively solved.
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 unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. 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 invention, but the scope of the present invention 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 invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for controlling the work of an output module is applied to electronic equipment, and is characterized by comprising the following steps:
obtaining data to be output; wherein the data to be output comprises image data or video data;
obtaining the connection state of the output module and the electronic equipment;
determining an output channel for outputting the data to be output based on the connection state;
in a connection state that the output module is in contact with the electronic equipment, a first output channel established by the contact of the output module and the electronic equipment outputs the data to be output in real time so that the output module outputs the data in real time;
when the output module and the electronic equipment are in a separated connection state, outputting the data to be output in real time through a second output channel of the output module and the electronic equipment so that the output module outputs the data in real time;
and under the condition that the electronic equipment is provided with an inherent display module, the output module is used for performing real-time enhanced output on the data to be output.
2. The method of claim 1, wherein outputting the data to be output in real time via the output module and a second output channel of the electronic device comprises:
enabling a second output channel to output the data to be output in real time through the separation of the output module and the electronic equipment;
or, the data to be output is output in real time through a second output channel established by separating the output module from the electronic equipment.
3. The method of claim 1,
the output module is an indispensable functional module in the electronic equipment;
or, the output module is an additional module of an equivalent functional module of the electronic device.
4. The method of claim 1,
the output module belongs to the electronic equipment, and is an indispensable functional module in the electronic equipment;
the first surface of the electronic device is provided with a groove, the groove is used for accommodating the output module, and when the output module is accommodated in the groove, the output surface of the output module is exposed on the first surface.
5. The method according to any one of claims 1 to 4, further comprising:
the data to be output is continuous data on a time axis, and the first output channel and the second output channel are seamlessly switched along with the change of the contact and separation connection state of the output module and the electronic equipment.
6. An electronic device comprising an output module and a processor;
a processor for obtaining data to be output; obtaining the connection state of the output module and the electronic equipment; determining an output channel for outputting the data to be output based on the connection state; wherein the data to be output comprises image data or video data;
in a connection state that the output module is in contact with the electronic equipment, the processor outputs the data to be output in real time through a first output channel established by the contact of the output module and the electronic equipment so that the output module outputs the data in real time;
when the output module and the electronic equipment are in a separated connection state, the processor outputs the data to be output in real time through the output module and a second output channel of the electronic equipment so that the output module outputs the data in real time;
and under the condition that the electronic equipment is provided with an inherent display module, the output module is used for performing real-time enhanced output on the data to be output.
7. The electronic device of claim 6,
the processor is further used for enabling a second output channel to output the data to be output in real time through the separation of the output module and the electronic equipment; or, the data to be output is output in real time through a second output channel established by separating the output module from the electronic equipment.
8. The electronic device of claim 6,
the output module is an indispensable functional module in the electronic equipment; or, the output module is an additional module of an equivalent functional module of the electronic device.
9. The electronic device of claim 6,
the output module belongs to the electronic equipment, and is an indispensable functional module in the electronic equipment;
the first surface of the electronic device is provided with a groove, the groove is used for accommodating the output module, and when the output module is accommodated in the groove, the output surface of the output module is exposed on the first surface.
10. The electronic device according to any one of claims 6 to 9, wherein the data to be output is continuous data on a time axis, and the first output channel and the second output channel are seamlessly switched with the change of the connection state of the contact and separation of the output module and the electronic device.
CN201710532389.8A 2017-07-03 2017-07-03 Control method and electronic equipment Active CN107465806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710532389.8A CN107465806B (en) 2017-07-03 2017-07-03 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710532389.8A CN107465806B (en) 2017-07-03 2017-07-03 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107465806A CN107465806A (en) 2017-12-12
CN107465806B true CN107465806B (en) 2020-12-18

Family

ID=60544201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710532389.8A Active CN107465806B (en) 2017-07-03 2017-07-03 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107465806B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201001135Y (en) * 2007-06-12 2008-01-02 彭天 Mobile phone, bluetooth earphone integrated machine
CN201601712U (en) * 2009-11-16 2010-10-06 贺泽岗 Integrated mobile phone with Bluetooth earphone
CN201657051U (en) * 2010-03-31 2010-11-24 比亚迪股份有限公司 Mobile phone with Bluetooth earphone
CN202068455U (en) * 2011-03-28 2011-12-07 李方竹 Multipurpose intelligent mobile terminal with separable receiver
CN202309816U (en) * 2011-09-29 2012-07-04 黎昊 All-in-one machine of cell phone and Bluetooth cell earphone
CN105391821A (en) * 2015-10-14 2016-03-09 谢松文 Mobile phone
CN106685929A (en) * 2016-12-06 2017-05-17 南京金雀智能科技有限公司 Wearable Bluetooth video earphone based communication processing system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM266655U (en) * 2004-09-23 2005-06-01 Blueexpert Technology Corp Bluetooth earphone device capable of wirelessly receiving and transmitting stereo sound signal and digital information signal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201001135Y (en) * 2007-06-12 2008-01-02 彭天 Mobile phone, bluetooth earphone integrated machine
CN201601712U (en) * 2009-11-16 2010-10-06 贺泽岗 Integrated mobile phone with Bluetooth earphone
CN201657051U (en) * 2010-03-31 2010-11-24 比亚迪股份有限公司 Mobile phone with Bluetooth earphone
CN202068455U (en) * 2011-03-28 2011-12-07 李方竹 Multipurpose intelligent mobile terminal with separable receiver
CN202309816U (en) * 2011-09-29 2012-07-04 黎昊 All-in-one machine of cell phone and Bluetooth cell earphone
CN105391821A (en) * 2015-10-14 2016-03-09 谢松文 Mobile phone
CN106685929A (en) * 2016-12-06 2017-05-17 南京金雀智能科技有限公司 Wearable Bluetooth video earphone based communication processing system and method

Also Published As

Publication number Publication date
CN107465806A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN110138937B (en) Call method, device and system
CN110191241B (en) Voice communication method and related device
CN108966008B (en) Live video playback method and device
KR101139297B1 (en) Bluetooth watch and method for controlling
US9413862B2 (en) Apparatus enabling automatically adjusting functions of components thereof
US8311592B2 (en) Portable terminal having external module and method for displaying charged status thereof
US20220360942A1 (en) Bluetooth-based object searching method and electronic device
CN110401767B (en) Information processing method and apparatus
JP4793095B2 (en) Mobile phone, camera operation pause method and camera operation pause control program used for the mobile phone
CN109582976A (en) A kind of interpretation method and electronic equipment based on voice communication
CN110401242B (en) Multi-battery parallel charging circuit and method and wearable device with circuit
CN109814767A (en) Message treatment method and relevant apparatus
CN110086940B (en) Message reminding method, wearable device and readable storage medium
CN109525919B (en) On-off control device, on-off control method, system and storage medium
US20070149253A1 (en) External megaphone system of the mobile phone
CN112312366A (en) Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
CN111935705A (en) Data service management method and device, computer readable medium and terminal equipment
KR20100091285A (en) Apparatus and method for providing of alarm function in a projector portable device
CN111356222A (en) Transmission power adjustment method, terminal, storage medium, and electronic device
CN107465806B (en) Control method and electronic equipment
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN109980750B (en) Wearable equipment and charging circuit thereof
CN112153198A (en) Flexible screen display device and mobile terminal
CN114339693A (en) Multi-device Bluetooth pairing communication method and system
CN114554012A (en) Incoming call answering method, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant