CN103838159B - A kind of control method, device and electronic equipment - Google Patents

A kind of control method, device and electronic equipment Download PDF

Info

Publication number
CN103838159B
CN103838159B CN201410099083.4A CN201410099083A CN103838159B CN 103838159 B CN103838159 B CN 103838159B CN 201410099083 A CN201410099083 A CN 201410099083A CN 103838159 B CN103838159 B CN 103838159B
Authority
CN
China
Prior art keywords
electronic equipment
wireless communication
outut device
application program
unit
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
CN201410099083.4A
Other languages
Chinese (zh)
Other versions
CN103838159A (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 CN201410099083.4A priority Critical patent/CN103838159B/en
Publication of CN103838159A publication Critical patent/CN103838159A/en
Application granted granted Critical
Publication of CN103838159B publication Critical patent/CN103838159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control method, device and electronic equipment, the method includes:When first electronic equipment triggering operation the first application program is detected, wireless communication unit is controlled to open;First application program operationally can call audio output unit output data information;Set up the wireless communication connection with outut device;Send for controlling outut device to be changed into the control signal of the second state to outut device from first state;Data message to be output for audio output unit is sent to outut device by wireless communication unit, so that outut device output data information;When the first electronic equipment the first application program out of service is detected, wireless communication unit is controlled to close;First application program stops calling audio output unit output data information when out of service, the present invention triggers wireless communication unit manually without user, achieve while the power consumption loss reducing electronic equipment, simplify the operation of user, improve the experience of user.

Description

A kind of control method, device and electronic equipment
Technical field
The present invention relates to automatic control technology field, more particularly to a kind of control method, device and electronics set Standby.
Background technology
Existing electronic equipment is typically provided with wireless communication unit, electronic equipment can by wireless communication unit with One outut device is set up and is connected, such that it is able to export to defeated data message to be output for electronic equipment via wireless communication unit Go out equipment so that user can receive this data message by outut device.For example, the built-in radio communication list of electronic equipment Unit is specifically as follows the communication unit possessing Bluetooth function, and mobile phone can be set up even with bluetooth earphone by this wireless communication unit Connect, so that user can be received calls by bluetooth earphone, listen song etc..
But, in generally using, for the ease of the transmission of data message, user is usually by the radio communication list of electronic equipment Unit is always on, and sets up all the time with outut device and be connected.And find in actual use, wireless communication unit at one's leisure, The power consumption loss leading to because wireless communication unit is opened can occupy the 1/3 of powder consumption of electronic equipment, greatly shortens electronics The stand-by time of equipment, reduces Consumer's Experience.
And it is the power consumption loss reducing electronic equipment, user only can just trigger the channel radio of electronic equipment when there being demand Letter unit is opened.So when the transmission needing to carry out data message by outut device, user needs on-site manual triggering no Line communication unit is opened, and manual triggering outut device enters working condition, the connection of triggering electronic equipment and outut device manually Etc. a series of operation, Consumer's Experience is bad.And in emergency circumstances have phone to enter in way of such as driving fashionable some temporarily, User needs on-site manual to set up the connection of mobile phone and outut device, in a rush very inconvenient it is also possible to initiation potential.Cause This, this manually set up the mode that electronic equipment is connected with outut device, operation is very loaded down with trivial details, and greatly reduces Consumer's Experience.
Content of the invention
In view of this, the present invention provides a kind of control method, device and electronic equipment, with the power consumption reducing electronic equipment While loss, simplify the operation of user, improve Consumer's Experience.
For achieving the above object, the present invention provides following technical scheme:
A kind of control method, is applied in the first electronic equipment, and described first electronic equipment is built-in with wireless communication unit And audio output unit;Wherein, described first electronic equipment can be passed through with an outut device using described wireless communication unit The mode of radio communication carries out the transmission of data message;
The method includes:
When described first electronic equipment triggering operation the first application program is detected, described wireless communication unit is controlled to open Open;Wherein, described first application program operationally can call described audio output unit output data information;
Set up the wireless communication connection with described outut device;
Send and set for control signal to the described output controlling described outut device to be changed into the second state from first state Standby;
Data message to be output for described audio output unit is sent to described output by described wireless communication unit Equipment, so that described outut device exports described data message;
When described first electronic equipment described first application program out of service is detected, control described wireless communication unit Close;Wherein, described first application program stops calling described audio output unit output data information when out of service.
Preferably, described when detect described first electronic equipment triggering run the first application program when, control described nothing Line communication unit is opened, including:
When the first communication request that described first electronic equipment receives by the second electronic equipment transmission is detected, triggering fortune Described first application program of row;
Described wireless communication unit is controlled to open;
Described first application program operationally can call described audio output unit to export first communication information;Described First communication information include the communication information that described first electronic equipment generates in the first communication request described in dont answer and/or After first communication request described in first electronic equipment response, the communication information coming from described second electronic equipment of reception;
Described data message to be output for described audio output unit is sent to described by described wireless communication unit Outut device, so that described outut device exports described data message, specially:
Described first communication information is sent to described outut device by described wireless communication unit, so that described defeated Go out equipment and export described first communication information.
Preferably, described when detect described first electronic equipment triggering run the first application program when, control described nothing Line communication unit is opened, including:
Detect described first electronic equipment to the second electronic equipment send the second communication request when, triggering runs described the One application program;
Described wireless communication unit is controlled to open;
Described first application program operationally can call described audio output unit to export second communication information;Described When second communication information includes the second communication request described in described second electronic equipment dont answer, send out to described first electronic equipment After the communication information sent and/or the second communication request described in the second electronic equipment response, send to described first electronic equipment The communication information;
Described data message to be output for described audio output unit is sent to described by described wireless communication unit Outut device, so that described outut device exports described data message, specially:
By described second communication information, sent to described outut device by described wireless communication unit, so that described Outut device exports described second communication information.
Preferably, described first application program is the application program for playing audio file or video file, and Described audio-frequency module output can be called from the audio-frequency information of described audio file or video file during operation;
The described data message by the output of described audio-frequency module is sent by described wireless communication unit and sets to described output Standby, so that described outut device exports described data message, specially:
The audio-frequency information coming from described audio file or video file is sent to institute by described wireless communication unit State outut device, so that described outut device exports described audio-frequency information.
Preferably, the described wireless communication connection set up with described outut device, including:
Search and the outut device of described first electronic equipment pairing;
Set up the wireless communication connection with the described outut device searching.
A kind of control device, is applied in the first electronic equipment, and described first electronic equipment is built-in with wireless communication unit And audio output unit;Wherein, described first electronic equipment can be passed through with an outut device using described wireless communication unit The mode of radio communication carries out the transmission of data message;
This device includes:
First detection control unit, for when detect described first electronic equipment triggering run the first application program when, Described wireless communication unit is controlled to open;Wherein, described first application program operationally can call described audio output list First output data information;
First sets up unit, for setting up the wireless communication connection with described outut device;
First transmitting element, for sending for controlling described outut device to be changed into the control of the second state from first state Signal is to described outut device;
Second transmitting element, for by data message to be output for described audio output unit by described radio communication list Unit sends to described outut device, so that described outut device exports described data message;
Second detection control unit, for detecting described first electronic equipment described first application program out of service When, control described wireless communication unit to close;Wherein, described first application program stops calling described audio frequency when out of service Output unit output data information.
Preferably, described first detection control unit includes:
First detection triggering subelement, receives by the second electronic equipment transmission for described first electronic equipment is detected During the first communication request, triggering runs described first application program;
First control subelement, for controlling described wireless communication unit to open;
Described first application program operationally can call described audio output unit to export first communication information;Described First communication information include the communication information that described first electronic equipment generates in the first communication request described in dont answer and/or After first communication request described in first electronic equipment response, the communication information coming from described second electronic equipment of reception;
Described second transmitting element, specifically for by described first communication information by described wireless communication unit send to Described outut device, so that described outut device exports described first communication information.
Preferably, described first detection control unit includes:
Second detection triggering subelement, is used for detecting described first electronic equipment and sends second to the second electronic equipment and lead to During letter request, triggering runs described first application program;
Second control subelement, for controlling described wireless communication unit to open;
Described first application program operationally can call described audio output unit to export second communication information;Described When second communication information includes the second communication request described in described second electronic equipment dont answer, send out to described first electronic equipment After the communication information sent and/or the second communication request described in the second electronic equipment response, send to described first electronic equipment The communication information;
Described second transmitting element, specifically for by described second communication information, being sent by described wireless communication unit To described outut device, so that described outut device exports described second communication information.
Preferably, described first application program is the application program for playing audio file or video file, and Described audio-frequency module output can be called from the audio-frequency information of described audio file or video file during operation;
Described second transmitting element is specifically for passing through the audio-frequency information coming from described audio file or video file Described wireless communication unit sends to described outut device, so that described outut device exports described audio-frequency information.
Preferably, described first set up unit and include:
First search subelement, for the outut device of search and the pairing of described first electronic equipment;
First sets up subelement, for the wireless communication connection with the described outut device searching.
A kind of electronic equipment is it is characterised in that include the as above control device described in any one.
Understand via above-mentioned technical scheme, compared with prior art, a kind of control method disclosed in the embodiment of the present invention In, can run the first electronic equipment triggering is detected, operationally can call audio output unit output data information The first application program when, control wireless communication unit open and set up the connection with outut device, by data to be output Information is exported by outut device;Detecting, the first electronic equipment is out of service, stops calling audio frequency defeated when out of service Go out unit output data information the first application program when, control wireless communication unit close it can be seen that, the present invention need not use Wireless communication unit is triggered manually it is achieved that while the power consumption loss reducing electronic equipment, simplifying the operation of user in family, Improve the experience of user.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of an embodiment of control method disclosed by the invention;
Fig. 2 is a kind of schematic flow sheet of another embodiment of control method disclosed by the invention;
Fig. 3 is a kind of schematic flow sheet of the another embodiment of control method disclosed by the invention;
Fig. 4 is a kind of schematic flow sheet of the another embodiment of control method disclosed by the invention;
Fig. 5 is a kind of structural representation of an embodiment of control device disclosed by the invention;
Fig. 6 is a kind of structural representation of another embodiment of control device disclosed by the invention;
Fig. 7 is a kind of structural representation of the another embodiment of control device disclosed by the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses a kind of control method, device and electronic equipment, without user manually triggering it is achieved that While the power consumption loss reducing electronic equipment, simplify the operation of user, improve the experience of user.
The embodiment of the invention discloses a kind of control method, can apply to mobile phone, palm PC, panel computer etc. first In electronic equipment, wherein, the first electronic equipment is built-in with wireless communication unit and audio output unit.
First electronic equipment can enter line number using wireless communication unit and an outut device by way of radio communication It is believed that the transmission of breath;It should be noted that in the present invention, wireless communication unit is not defined, as long as it can be with Outut device carries out the transmission of data message by way of radio communication, and e.g., this wireless communication unit can be for possessing The communication unit of WIFI function, electronic equipment can be set up WIFI by this wireless communication unit with an outut device and be connected;Or This wireless communication unit of person can be the wireless communication unit possessing Bluetooth function, and electronic equipment can pass through this radio communication list Unit is set up by way of bluetooth with an outut device and is connected.
Wherein, outut device can be carried out with the first electronic equipment for bluetooth earphone, wireless headset, wireless sound box etc. The equipment of wireless communication connection.
Referring to Fig. 1, the method may comprise steps of:
Step 101:When first electronic equipment triggering operation the first application program is detected, wireless communication unit is controlled to open Open;
It is emphasized that this first application program is not the application program opening wireless communication unit, that is, it is not equivalent to In prior art, user triggers the application program of wireless communication unit unlatching manually.
This first application program is the application program that operationally can call audio output unit output data information, That is, when the first electronic equipment triggering runs the first application program, illustrate that data message to be output needs defeated by audio frequency Go out unit to be exported, in such a case, it is possible to control wireless communication unit to open.
It should be noted that before controlling wireless communication unit to open, the wireless communication unit one of the first electronic equipment Directly it is closed.
Step 102:Set up the wireless communication connection with outut device;
After wireless communication unit is opened, the wireless communication connection of the first electronic equipment and outut device can be set up.
Step 103:Send and set to output for the control information controlling outut device to be changed into the second state from first state Standby.
Wherein, first state and the second state are two different conditions of outut device;
Specifically, first state can be the holding state of outut device, and the second state can be the work of outut device State, that is, in the second condition, outut device can output data information so that user listens to.Generally, outut device Power consumption in the first state is less than outut device power consumption in the second condition.
Step 104:Data message to be output for audio output unit is sent to outut device by wireless communication unit, So that outut device output data information;
Set up with outut device when the first electronic equipment and be connected, and outut device is changed into after the second state from first state, Outut device can carry out the output of data message that is to say, that data message to be output is permissible with alternate audio output unit Outut device is sent to by wireless communication unit so that user can pass through this data message of outut device uppick.
It should be noted that when data message to be output is exported by outut device, will no longer pass audio frequency defeated Go out unit to be exported.
Step 105:When the first electronic equipment the first application program out of service is detected, wireless communication unit is controlled to close Close;
It is emphasized that this first application program is not the application program closing wireless communication unit, it is not equal to In prior art, user triggers the application program of wireless communication unit closing manually.
First application program is to stop calling the application program of audio output unit output data information when out of service, That is, when the first electronic equipment the first application program out of service, output data information will be stopped, in such a case, it is possible to Wireless communication unit is controlled to close.
In the embodiment of the present invention, can run the first electronic equipment triggering is detected, operationally can call audio frequency During the first application program of output unit output data information, wireless communication unit is controlled to open and set up the company with outut device Connect, data message to be output is exported by outut device;Detecting, the first electronic equipment is out of service, is stopping fortune When stopping, during row, the first application program calling audio output unit output data information, wireless communication unit is controlled to close, by This is visible, and the present invention can trigger the open and close of wireless communication unit automatically, triggers manually without user it is achieved that dropping While the power consumption loss of low electronic equipment, simplify the operation of user, improve the experience of user.
Referring to Fig. 2, show a kind of control method disclosed in another embodiment of the present invention, the method can apply to first In electronic equipment;
The method may comprise steps of:
Step 201:When the first communication request that the first electronic equipment receives by the second electronic equipment transmission is detected, touch Shipping row first application program;
When the user of the second electronic equipment is intended to be communicated with the user of the first electronic equipment, can be set by the second electronics Send the first communication request for the first electronic equipment;When the first electronic equipment is detected and receiving this first communication request, Triggering runs the first application program.
Step 202:Wireless communication unit is controlled to open;
After the first electronic equipment triggering runs the first application program, wireless communication unit is controlled to open.
Step 203:Set up the wireless communication connection with outut device;
Step 204:Send and set to output for the control information controlling outut device to be changed into the second state from first state Standby;
Step 205:First communication information is sent to outut device by wireless communication unit, so that outut device is defeated Go out first communication information.
First application program can operationally call audio output unit to export first communication information;Wherein, first leads to Letter information includes the communication information that the first electronic equipment generates in dont answer the first communication request and/or the first electronic equipment should After answering the first communication request, the communication information coming from the second electronic equipment of reception.
It should be noted that when the first electronic equipment receives the first communication request that the second electronic equipment sends, saying Bright first electronic equipment and the second electronic equipment establish communication connection, and in this case, the second electronic equipment can wait First electronic equipment response.
During first electronic equipment dont answer the first communication request, can generate to inform that the user of the first electronic equipment has logical The communication information that letter request accesses;As this communication information can receive the first communication request and should not for the first electronic equipment When answering, the tinkle of bells of generation;When user passes through this communication information of outut device uppick, can know and have the first electronic equipment to connect Have received the first communication request, now, user can be by triggering predetermined registration operation come this first communication request of response.
And after first electronic equipment response the first communication request, user can pass through outut device uppick second electronics The communication information that equipment sends to the first electronic equipment, e.g., can be with the voice communication information of uppick second electronic device user.
Step 206:When the first electronic equipment the first application program out of service is detected, wireless communication unit is controlled to close Close;
Wherein, the first application program is when out of service, stops calling audio output unit to export answering of the communication information Use program.
Specifically, the first electronic equipment the first application program out of service is detected can include:Electric when detecting first When sub- equipment and the communication connection of the second electronic equipment disconnect, the first application program out of service;
Wherein, the communication connection of the first electronic equipment and the second electronic equipment disconnects, specially:When the first electronic equipment exists When there is no response the first communication request in Preset Time, disconnect the communication connection with the second electronic equipment;Or, the first electronics sets After standby response first communication request, the first electronic equipment disconnection and the communication connection of the second electronic equipment or the second electronic equipment are broken Open the communication connection with the first electronic equipment.
It should be noted that after first electronic equipment response the first communication request, the first electronic equipment or the second electronics set The standby communication connection disconnecting between the two there may be multiple situations, and e.g., the user of the first electronic equipment or the second electronics set Standby user disconnects communication connection between the two manually;Or, the network of the first electronic equipment or the second electronic equipment leads to Letter goes wrong, the communication connection between the two of the first electronic equipment or the automatic disconnection of the second electronic equipment.
In the embodiment of the present invention, can receive, the first electronic equipment is detected, first being sent by the second electronic equipment During communication request, triggering runs the first application program, thus controlling wireless communication unit to open and setting up the company with outut device Connect, first communication information to be output is exported by outut device;The first electronic equipment out of service first is being detected During application program, control wireless communication unit close it can be seen that, the present invention can trigger the unlatching of wireless communication unit automatically With closing, trigger manually without user it is achieved that while the power consumption loss reducing electronic equipment, simplifying the behaviour of user Make, improve the experience of user.
In order to make it easy to understand, so that the first electronic equipment receives calls as a example illustrating, when the first electronic equipment receives During the incoming call requests that the second electronic equipment sends, the wireless communication unit of the first electronic equipment can automatically turn on, and automatically sets up With the connection of outut device, such as set up the connection with bluetooth earphone;Set up after connecting, user can pass through outut device uppick The incoming ring tone that first electronic equipment is play, after user connects the first electronic equipment, user can be set with uppick second electronics The voice communication information that preparation is sent.
It should be noted that when outut device be bluetooth earphone, wireless headset etc. possess voice acquisition module equipment when, The voice messaging that outut device can also be gathered by the first electronic equipment, is sent to the second electronic equipment.
For example, if this outut device is bluetooth earphone, in the above-described example, user can also pass through outut device and second The user of electronic equipment is conversed.
Referring to Fig. 3, show a kind of control method disclosed in further embodiment of this invention, the method can apply to first In electronic equipment;
The method may comprise steps of:
Step 301:When the first electronic equipment is detected to second electronic equipment transmission the second communication request, triggering runs First application program;
When the user of the first electronic equipment is intended to be communicated with the user of the second electronic equipment, can be set by the first electronics Send the second communication request for the second electronic equipment;So, when first electronic equipment transmission the second communication request is detected, Triggering runs the first application program.
Step 302:Wireless communication unit is controlled to open;
After the first electronic equipment triggering runs the first application program, wireless communication unit is controlled to open.
Step 303:Set up the wireless communication connection with outut device;
Step 304:Send and set to output for the control signal controlling outut device to be changed into the second state from first state Standby;
Step 305:By second communication information, sent to outut device by wireless communication unit, so that outut device Export second communication information;
First application program can operationally call audio output unit to export second communication information;Wherein, second leads to Letter information includes the second electronic equipment in dont answer the second communication request, to first electronic equipment send the communication information and/ Or second after electronic equipment response the second communication request, the communication information that sends to the first electronic equipment.
It should be noted that when the second electronic equipment receives the second communication request that the first electronic equipment sends, In the case of this second communication request of dont answer, the second electronic equipment can generate and send to inform the use of the first electronic equipment Family needs to wait for the communication information of response;As this communication information can for the second electronic equipment after receiving the second communication request, In the state of dont answer, generate and send to the CRBT of the first electronic equipment, user can be somebody's turn to do by outut device uppick The communication information, to wait the response of the user of the second electronic equipment.
And after this second communication request of the second electronic equipment response, the user of the first electronic equipment can be set by output Standby uppick second electronic equipment can send the communication information to the first electronic equipment, and this communication information is specifically as follows voice and leads to Letter information.That is, the voice communication information that the second electronic equipment can be gathered is sent to the first electronic equipment, and voice communication is believed Breath is specifically as follows the sound of the user of the second electronic equipment.
Step 306:When the first electronic equipment the first application program out of service is detected, wireless communication unit is controlled to close Close.
Wherein, the first application program is when out of service, stops calling audio output unit to export answering of the communication information Use program.
Specifically, the first electronic equipment the first application program out of service is detected can include:Electric when detecting first When sub- equipment and the communication connection of the second electronic equipment disconnect, the first application program out of service;
Wherein, the communication connection of the first electronic equipment and the second electronic equipment disconnects, and is specifically as follows:When the second electronics sets For when there is no response the first communication request in Preset Time, disconnect the communication connection with the first electronic equipment;Or, the second electricity After sub- equipment response second communication request, the second electronic equipment is disconnected and being set with the communication connection of the first electronic equipment or the first electronics The standby communication connection disconnecting with the second electronic equipment.
It should be noted that after second electronic equipment response the second communication request, the second electronic equipment or the first electronics set The standby communication connection disconnecting between the two there may be multiple situations, and e.g., the user of the second electronic equipment or the first electronics set Standby user disconnects communication connection between the two manually;Or, the network of the second electronic equipment or the first electronic equipment leads to Letter goes wrong, the communication connection between the two of the second electronic equipment or the automatic disconnection of the first electronic equipment.
In the embodiment of the present invention, the second communication request can be sent the first electronic equipment is detected to the first electronic equipment When, triggering runs the first application program, thus controlling wireless communication unit to open and setting up the connection with outut device, will treat First communication information of output is exported by outut device;The first electronic equipment the first application program out of service is being detected When, control wireless communication unit close it can be seen that, the present invention can trigger the open and close of wireless communication unit automatically, Trigger manually without user it is achieved that while the power consumption loss reducing electronic equipment, simplifying the operation of user, improve The experience of user.
In order to make it easy to understand, so that the first electronic equipment is called as a example illustrating, when the first electronic equipment is to second When electronic equipment sends de-electrifying request, the wireless communication unit of the first electronic equipment can automatically turn on, and automatically sets up and output The connection of equipment, such as sets up the connection with bluetooth earphone;Set up after connecting, user can be by outut device uppick second electricity The CRBT of sub- device plays, after this request of user's response of the second electronic equipment, user can be with uppick second electronic equipment The voice communication information sending.
It should be noted that when outut device be bluetooth earphone, wireless headset etc. possess voice acquisition module equipment when, The voice messaging that outut device can also be gathered by the first electronic equipment, is sent to the second electronic equipment.
For example, if this outut device is bluetooth earphone, in the above-described example, user can also pass through outut device and second The user of electronic equipment is conversed.
Referring to Fig. 4, show a kind of control method disclosed in further embodiment of this invention, the method can apply to first In electronic equipment;
The method may comprise steps of:
Step 401:When described first electronic equipment triggering operation the first application program is detected, control described channel radio Letter unit is opened;
Wherein, the first application program is specifically as follows the application program for playing audio file or video file, and Audio-frequency module output operationally can be called from the audio-frequency information of audio file or video file;As the first application journey Sequence can be music player, video player etc.;
It should be noted that the first application program can also be the chat application such as wechat, QQ, taking wechat as a example, Yong Hu When carrying out voice-enabled chat by wechat and other users, if user triggers the audio file in chat box, audio frequency can be called Module output comes from the audio-frequency information of the audio file in chat box.
Step 402:Set up the wireless communication connection with outut device;
Step 403:Send for controlling described outut device to be changed into the control signal of the second state to institute from first state State outut device;
Step 404:Sent coming from the audio-frequency information of audio file or video file to defeated by wireless communication unit Go out equipment, so that outut device output audio-frequency information.
Set up with outut device when the first electronic equipment and be connected, and this outut device is changed into the second state from first state Afterwards, outut device can come from the audio-frequency information of audio file or video file with the output of alternate audio output unit, that is, Say, come from audio file or the audio-frequency information of video file can be sent to outut device by wireless communication unit, make Obtain user and can pass through this audio-frequency information of outut device uppick.
Step 405:When described first electronic equipment described first application program out of service is detected, control described wireless Communication unit is closed;
Wherein, described first application program stops calling described audio output unit output data letter when out of service Breath.
In each embodiment above, set up the wireless communication connection with outut device, specifically can include:Search and the The outut device of one electronic equipment pairing, the wireless communication connection of the outut device set up and search.
Wherein, the first electronic equipment can be previously stored with the mark of the outut device of pairing, can be in preset range The mark of the outut device of pairing that interior search is stored with the first electronic equipment.If it should be noted that the output searching Equipment have multiple, the first electronic equipment can according to pre-set priority, select highest priority outut device set up connect;Or Person, generates the outut device that information is selected to be attached by user.
The embodiment of the invention also discloses a kind of control device, can apply to mobile phone, palm PC, panel computer etc. In one electronic equipment;
First electronic equipment is built-in with wireless communication unit and audio output unit;
Wherein, the first electronic equipment can be entered with an outut device using wireless communication unit by way of radio communication The transmission of row data message;
As shown in figure 5, this device can include:First detection control unit 501, first set up unit 502, first send Unit 503, the second transmitting element 504 and the second detection control unit 505;Wherein:
First detection control unit 501, can be used for described first electronic equipment triggering operation the first application is detected During program, wireless communication unit is controlled to open;
Wherein, the first application program operationally can call described audio output unit output data information;
First sets up unit 502, can be used for setting up the wireless communication connection with outut device;
First transmitting element 503, can be used for sending for controlling outut device to be changed into the second state from first state Control signal is to outut device;
Second transmitting element 504, can be used for for data message to be output for audio output unit passing through radio communication list Unit sends to outut device, so that outut device output data information;
Second detection control unit 505, can be used for the first electronic equipment the first application program out of service is being detected When, control wireless communication unit to close;
Wherein, the first application program stops calling audio output unit output data information when out of service.
In the embodiment of the present invention, can run the first electronic equipment triggering is detected, operationally can call audio frequency During the first application program of output unit output data information, wireless communication unit is controlled to open and set up the company with outut device Connect, data message to be output is exported by outut device;Detecting, the first electronic equipment is out of service, is stopping fortune When stopping, during row, the first application program calling audio output unit output data information, wireless communication unit is controlled to close, by This is visible, and the present invention can trigger the open and close of wireless communication unit automatically, triggers manually without user it is achieved that dropping While the power consumption loss of low electronic equipment, simplify the operation of user, improve the experience of user.
Referring to Fig. 6, show a kind of control device disclosed in another embodiment of the present invention, this device can include the first inspection Survey control unit 601, first set up unit 602, the first transmitting element 603, the second transmitting element 604 and the second detection and control Unit 605;First detection control unit 601 includes the first detection triggering subelement 6011 and the first control subelement 6012; Wherein:
First detection triggering subelement 6011, can be used for detecting described first electronic equipment and receives and set by the second electronics During the first communication request that preparation is sent, triggering runs described first application program;
Wherein, the first application program operationally can call described audio output unit to export first communication information;Institute State first communication information include the communication information that described first electronic equipment generates in the first communication request described in dont answer and/ Or first after first communication request described in electronic equipment response, the communication information coming from described second electronic equipment of reception;
First control subelement 6012, can be used for controlling wireless communication unit to open;
First sets up unit 602, can be used for setting up the wireless communication connection with outut device;
First transmitting element 603, can be used for sending for controlling outut device to be changed into the second state from first state Control signal is to outut device;
Second transmitting element 604, can be used for sending to outut device first communication information by wireless communication unit, So that outut device exports first communication information.
Second detection control unit 605, can be used for the first electronic equipment the first application program out of service is being detected When, control wireless communication unit to close;
Wherein, the first application program stops calling audio output unit output data information when out of service.
In the embodiment of the present invention, can receive, the first electronic equipment is detected, first being sent by the second electronic equipment During communication request, triggering runs the first application program, thus controlling wireless communication unit to open and setting up the company with outut device Connect, first communication information to be output is exported by outut device;The first electronic equipment out of service first is being detected During application program, control wireless communication unit close it can be seen that, the present invention can trigger the unlatching of wireless communication unit automatically With closing, trigger manually without user it is achieved that while the power consumption loss reducing electronic equipment, simplifying the behaviour of user Make, improve the experience of user.
Referring to Fig. 7, show a kind of control device disclosed in further embodiment of this invention, this device can include the first inspection Survey control unit 701, first set up unit 702, the first transmitting element 703, the second transmitting element 704 and the second detection and control Unit 705;First detection control unit 701 includes the second detection trigger element 7011 and the second control subelement 7012;Its In:
Second detection triggering subelement 7011, is used for detecting described first electronic equipment and sends the to the second electronic equipment During two communication request, triggering runs described first application program;
Second control subelement 7012, for controlling described wireless communication unit to open;
Described first application program operationally can call described audio output unit to export second communication information;Described When second communication information includes the second communication request described in described second electronic equipment dont answer, send out to described first electronic equipment After the communication information sent and/or the second communication request described in the second electronic equipment response, send to described first electronic equipment The communication information;
First sets up unit 702, can be used for setting up the wireless communication connection with outut device;
First transmitting element 703, can be used for sending for controlling outut device to be changed into the second state from first state Control signal is to outut device;
Second transmitting element 704, can be used for, by second communication information, sending by wireless communication unit and setting to output Standby, so that outut device exports second communication information;
Second detection control unit 705, can be used for the first electronic equipment the first application program out of service is being detected When, control wireless communication unit to close;
Wherein, the first application program stops calling audio output unit output data information when out of service.
In the embodiment of the present invention, the second communication request can be sent the first electronic equipment is detected to the first electronic equipment When, triggering runs the first application program, thus controlling wireless communication unit to open and setting up the connection with outut device, will treat First communication information of output is exported by outut device;The first electronic equipment the first application program out of service is being detected When, control wireless communication unit close it can be seen that, the present invention can trigger the open and close of wireless communication unit automatically, Trigger manually without user it is achieved that while the power consumption loss reducing electronic equipment, simplifying the operation of user, improve The experience of user.
In embodiments of the present invention, the first application program can be the application for playing audio file or video file Program, and operationally can call described audio-frequency module output from the audio frequency letter of described audio file or video file Breath;
So, the second transmitting element specifically can be used for come from the audio-frequency information of described audio file or video file Sent to described outut device by described wireless communication unit, so that described outut device exports described audio-frequency information.
In the embodiment of the present invention, first sets up unit can include:Subelement set up by first search subelement and first; Wherein, the first search subelement, can be used for searching for the outut device with the pairing of described first electronic equipment;First sets up son Unit, can be used for the wireless communication connection with the described outut device searching.
The embodiment of the invention also discloses a kind of electronic equipment, the control dress as above described by any embodiment can be included Put.
The embodiment of each device and the embodiment of method are corresponding above, and concrete implementation mode can be found in the enforcement of method Example, in this not go into detail.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation Bright.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one The scope the widest causing.

Claims (11)

1. it is characterised in that being applied in the first electronic equipment, described first electronic equipment is built-in with wirelessly a kind of control method Communication unit and audio output unit;Wherein, described first electronic equipment can be using described wireless communication unit and an output Equipment carries out the transmission of data message by way of radio communication;
The method includes:
When described first electronic equipment triggering operation the first application program is detected, described wireless communication unit is controlled to open; Wherein, described first application program operationally can call described audio output unit output data information;
Set up the wireless communication connection with described outut device;
Send for controlling described outut device to be changed into the control signal of the second state to described outut device from first state;
Data message to be output for described audio output unit is sent to described outut device by described wireless communication unit, So that described outut device exports described data message;
When described first electronic equipment described first application program out of service is detected, described wireless communication unit is controlled to close Close;Wherein, described first application program stops calling described audio output unit output data information when out of service.
2. method according to claim 1 is it is characterised in that described ought detect described first electronic equipment triggering operation During the first application program, described wireless communication unit is controlled to open, including:
When the first communication request that described first electronic equipment receives by the second electronic equipment transmission is detected, triggering runs institute State the first application program;
Described wireless communication unit is controlled to open;
Described first application program operationally can call described audio output unit to export first communication information;Described first The communication information includes the communication information and/or first that described first electronic equipment generates in the first communication request described in dont answer After first communication request described in electronic equipment response, the communication information coming from described second electronic equipment of reception;
Described data message to be output for described audio output unit is sent to described output by described wireless communication unit Equipment, so that described outut device exports described data message, specially:
Described first communication information is sent to described outut device by described wireless communication unit, so that described output sets Described first communication information of standby output.
3. method according to claim 1 is it is characterised in that described ought detect described first electronic equipment triggering operation During the first application program, described wireless communication unit is controlled to open, including:
When described first electronic equipment is detected to second electronic equipment transmission the second communication request, triggering runs described first should Use program;
Described wireless communication unit is controlled to open;
Described first application program operationally can call described audio output unit to export second communication information;Described second When the communication information includes the second communication request described in described second electronic equipment dont answer, send to described first electronic equipment After the communication information and/or the second communication request described in the second electronic equipment response, to the communication of described first electronic equipment transmission Information;
Described data message to be output for described audio output unit is sent to described output by described wireless communication unit Equipment, so that described outut device exports described data message, specially:
By described second communication information, sent to described outut device by described wireless communication unit, so that described output Equipment exports described second communication information.
4. method according to claim 1 it is characterised in that
Described first application program is the application program for playing audio file or video file, and operationally can adjust It is derived from the audio-frequency information of described audio file or video file with the output of described audio output unit;
The described data message by the output of described audio output unit is sent by described wireless communication unit and sets to described output Standby, so that described outut device exports described data message, specially:
Sent coming from the audio-frequency information of described audio file or video file to described defeated by described wireless communication unit Go out equipment, so that described outut device exports described audio-frequency information.
5. the method according to any one of Claims 1 to 4 is it is characterised in that the nothing of described foundation and described outut device Line communicates to connect, including:
Search and the outut device of described first electronic equipment pairing;
Set up the wireless communication connection with the described outut device searching.
6. it is characterised in that being applied in the first electronic equipment, described first electronic equipment is built-in with wirelessly a kind of control device Communication unit and audio output unit;Wherein, described first electronic equipment can be using described wireless communication unit and an output Equipment carries out the transmission of data message by way of radio communication;
This device includes:
First detection control unit, for when described first electronic equipment triggering operation the first application program is detected, controlling Described wireless communication unit is opened;Wherein, described first application program operationally can call described audio output unit defeated Go out data message;
First sets up unit, for setting up the wireless communication connection with described outut device;
First transmitting element, for sending for controlling described outut device to be changed into the control signal of the second state from first state To described outut device;
Second transmitting element, for sending out data message to be output for described audio output unit by described wireless communication unit Deliver to described outut device, so that described outut device exports described data message;
Second detection control unit, for when described first electronic equipment described first application program out of service is detected, Described wireless communication unit is controlled to close;Wherein, described first application program stops calling described audio frequency defeated when out of service Go out unit output data information.
7. device according to claim 6 it is characterised in that
Described first detection control unit includes:
First detection triggering subelement, receives, for described first electronic equipment is detected, first being sent by the second electronic equipment During communication request, triggering runs described first application program;
First control subelement, for controlling described wireless communication unit to open;
Described first application program operationally can call described audio output unit to export first communication information;Described first The communication information includes the communication information and/or first that described first electronic equipment generates in the first communication request described in dont answer After first communication request described in electronic equipment response, the communication information coming from described second electronic equipment of reception;
Described second transmitting element, specifically for sending to described described first communication information by described wireless communication unit Outut device, so that described outut device exports described first communication information.
8. device according to claim 6 it is characterised in that
Described first detection control unit includes:
Second detection triggering subelement, be used for detecting described first electronic equipment send the second communication to the second electronic equipment please When asking, triggering runs described first application program;
Second control subelement, for controlling described wireless communication unit to open;
Described first application program operationally can call described audio output unit to export second communication information;Described second When the communication information includes the second communication request described in described second electronic equipment dont answer, send to described first electronic equipment After the communication information and/or the second communication request described in the second electronic equipment response, to the communication of described first electronic equipment transmission Information;
Described second transmitting element, specifically for by described second communication information, being sent to institute by described wireless communication unit State outut device, so that described outut device exports described second communication information.
9. device according to claim 6 it is characterised in that
Described first application program is the application program for playing audio file or video file, and operationally can adjust It is derived from the audio-frequency information of described audio file or video file with the output of described audio output unit;
Described second transmitting element is described specifically for passing through the audio-frequency information coming from described audio file or video file Wireless communication unit sends to described outut device, so that described outut device exports described audio-frequency information.
10. the device according to any one of claim 6~9 is it is characterised in that described first sets up unit and include:
First search subelement, for the outut device of search and the pairing of described first electronic equipment;
First sets up subelement, for the wireless communication connection with the described outut device searching.
11. a kind of electronic equipments are it is characterised in that include the control device as described in any one of claim 6~10.
CN201410099083.4A 2014-03-17 2014-03-17 A kind of control method, device and electronic equipment Active CN103838159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410099083.4A CN103838159B (en) 2014-03-17 2014-03-17 A kind of control method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410099083.4A CN103838159B (en) 2014-03-17 2014-03-17 A kind of control method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN103838159A CN103838159A (en) 2014-06-04
CN103838159B true CN103838159B (en) 2017-03-01

Family

ID=50801789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410099083.4A Active CN103838159B (en) 2014-03-17 2014-03-17 A kind of control method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN103838159B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303900A (en) * 2017-12-27 2018-07-20 珠海格力电器股份有限公司 Play the methods, devices and systems of audio

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199682A (en) * 2014-08-04 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
TWI621340B (en) * 2015-02-26 2018-04-11 默科資訊股份有限公司 Control system for air wave detecting and control method thereof
CN105278686B (en) * 2015-09-30 2019-08-02 宇龙计算机通信科技(深圳)有限公司 The security prompt method and device of intelligent wearable device
CN105245999A (en) * 2015-10-26 2016-01-13 朱一波 System and method for intelligent control of Bluetooth speaker based on Bluetooth audio transmission protocol
CN112346699A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Volume control method and device for audio application, terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201130959Y (en) * 2007-10-12 2008-10-08 陈锡阳 Information terminal for combined earphone
CN101808268A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Wireless communication method, communication processing device and communication system
CN102801449A (en) * 2012-09-02 2012-11-28 李凯 Device for transmitting data by audio in wireless communication and method for same
CN103077716A (en) * 2012-12-31 2013-05-01 威盛电子股份有限公司 Auxiliary starting device and speed control system and method
CN103200498A (en) * 2013-03-22 2013-07-10 广东欧珀移动通信有限公司 Music playing method and music playing system of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201130959Y (en) * 2007-10-12 2008-10-08 陈锡阳 Information terminal for combined earphone
CN101808268A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Wireless communication method, communication processing device and communication system
CN102801449A (en) * 2012-09-02 2012-11-28 李凯 Device for transmitting data by audio in wireless communication and method for same
CN103077716A (en) * 2012-12-31 2013-05-01 威盛电子股份有限公司 Auxiliary starting device and speed control system and method
CN103200498A (en) * 2013-03-22 2013-07-10 广东欧珀移动通信有限公司 Music playing method and music playing system of mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303900A (en) * 2017-12-27 2018-07-20 珠海格力电器股份有限公司 Play the methods, devices and systems of audio

Also Published As

Publication number Publication date
CN103838159A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103838159B (en) A kind of control method, device and electronic equipment
US8818466B2 (en) System and method for wireless home communications
US20100048133A1 (en) Audio data flow input/output method and system
CN109644216A (en) A kind of method and terminal of Bluetooth communication
CN104980884B (en) Information transferring method and information carrying means
CN105794186A (en) Method, device and electronic device for controlling application program
CN103546647B (en) Method and device for communication through mobile phone
CN102413237A (en) Method and system for controlling incoming call answering by voices in on-vehicle mode
CN105677290B (en) The control method and client of speech application
CN103338317B (en) The method and system of audio-visual devices are controlled according to incoming call situation
CN101286768A (en) Remote controller for Bluetooth mobile phone
CN107370881A (en) A kind of intelligent watch control method and system
CN106453791A (en) A sound signal output method and apparatus and an earphone state detection method and apparatus
CN104243684A (en) Method and electronic device for wireless communication
CN102938819A (en) Mobile terminal music control system and method
KR20110089122A (en) Village broadcasting system and drive method of the same
JP5973289B2 (en) Portable terminal, voice control program, and voice control method
CN107864415A (en) Audio amplifier and audio frequency apparatus share the control method and device of microphone
CN102291850A (en) Household communication system
CN101784063A (en) Mobile phone with non-signal prompt function and implementation method thereof
US7526269B1 (en) Remote intercom and automatic dialing system
JP2014068104A (en) Portable terminal, voice control program and voice control method
CN202503580U (en) Multifunctional communication device
CN103685679B (en) Mobile communication terminal and call control method thereof
CN103581414B (en) A kind of electronic equipment and the communication event prompt method being applied to electronic equipment

Legal Events

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