CN106817488A - The response method and device of answering earphone key-press event - Google Patents
The response method and device of answering earphone key-press event Download PDFInfo
- Publication number
- CN106817488A CN106817488A CN201710005102.6A CN201710005102A CN106817488A CN 106817488 A CN106817488 A CN 106817488A CN 201710005102 A CN201710005102 A CN 201710005102A CN 106817488 A CN106817488 A CN 106817488A
- Authority
- CN
- China
- Prior art keywords
- mobile communication
- communication terminal
- intercommunication
- state
- common
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72466—User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/72502—Cordless telephones with one base station connected to a single line
- H04M1/72505—Radio link set-up procedures
- H04M1/72513—On hold, intercom or transfer communication modes
Abstract
The invention discloses a kind of response method and device of answering earphone key-press event, belong to communication technical field.Methods described includes:When the key-press event of the intercom push key being arranged on answering earphone is received, the talk application state of mobile communication terminal being connected with the answering earphone is judged;When the mobile communication terminal is in intercommunication talk application state, right of speech operation is seized in execution;When the mobile communication terminal is in common talk application state, and the duration that is pressed of the intercom push key is when exceeding preset duration, hangs up the common call.The present invention solves the problems, such as that the function of answering earphone is more single, the effect of the function of abundant answering earphone is realized, for mobile communication terminal.
Description
Technical field
The present invention relates to communication technical field, the more particularly to a kind of response method and device of answering earphone key-press event.
Background technology
With the fast development of the communication technology, the mobile phone with intercommunication function is of great interest.With intercommunication work(
The mobile phone of energy is referred to as intercom cellphone.One-to-one or one-to-many call can be conveniently realized using intercom cellphone communication.It is right
Say that mobile phone is commonly configured with answering earphone, the answering earphone is provided with intercom push key.When user operates intercom push key, intercommunication hand
Machine needs to respond the key-press event of intercom push key to realize intercommunication function.Key-press event is product when intercom push key is pressed
Raw event.
In correlation technique, intercom cellphone judges whether intercom cellphone is located when the key-press event of intercom push key is received, first
In intercommunication talking state.When intercom cellphone is in intercommunication talking state, right of speech operation is seized in execution;When intercom cellphone is not in
During intercommunication talking state, perform and initiate intercom calls operation.So, answering earphone is realized and seizes right of speech and initiation intercommunication
The function of calling.
In said process, answering earphone is only capable of realizing seizing right of speech and initiates the function of intercom calls, so answering earphone
Function it is more single.
The content of the invention
In order to the function of solving the problems, such as answering earphone in correlation technique is more single, the invention provides a kind of answering earphone
The response method and device of key-press event.The technical scheme is as follows:
First aspect, there is provided a kind of response method of answering earphone key-press event, methods described includes:
When the key-press event of the intercom push key being arranged on answering earphone is received, judge to be connected with the answering earphone
Mobile communication terminal talk application state;
When the mobile communication terminal is in intercommunication talk application state, right of speech operation is seized in execution;
When the mobile communication terminal is in common talk application state, and the duration that the intercom push key is pressed exceedes
During preset duration, the common call is hung up.
Optionally, after the talk application state of the mobile communication terminal for judging and being connected with the answering earphone,
Methods described also includes:
When the mobile communication terminal is in common talk application state, and the duration that the intercom push key is pressed does not surpass
When crossing the preset duration, the common call mode of the mobile communication terminal is judged;
When the common call mode is to converse into row mode, start mute function;
When the common call mode is call reminding pattern, the common call is answered.
Optionally, after the talk application state of the mobile communication terminal for judging and being connected with the answering earphone,
Methods described also includes:
When the mobile communication terminal is not in intercommunication talk application state, and when being not in common talk application state,
Detect whether the mobile communication terminal receives the dial instruction of user input, the dial instruction is used to indicate dialing number
Code;
When the mobile communication terminal receives the dial instruction, the dialed number is called;
When the mobile communication terminal does not receive the dial instruction, detect that the intercommunication of the mobile communication terminal should
With whether opening;
When the intercommunication application of the mobile communication terminal is opened, perform and initiate intercom calls operation;
When the intercommunication application of the mobile communication terminal is not opened, the intercommunication application is opened.
Optionally, after the talk application state of the mobile communication terminal for judging and being connected with the answering earphone,
Methods described also includes:
When the mobile communication terminal is not in intercommunication talk application state, the mobile communication terminal is not in common logical
When talking about application state, and the mobile communication terminal not in response to the key-press event, the sound of the mobile communication terminal is judged
The broadcast state of frequency file;
Broadcast state according to the audio file performs audio file control operation.
Optionally, it is described that audio file control operation is performed according to the broadcast state of the audio file, including:
When the audio file is in broadcast state, the audio file is played in pause;
When the audio file is in state to be played, the audio file is played.
Second aspect, there is provided a kind of responding device of answering earphone key-press event, described device includes:
First judge module, for when the key-press event of the intercom push key being arranged on answering earphone is received, judging
The talk application state of the mobile communication terminal being connected with the answering earphone;
First performing module, for when the mobile communication terminal is in intercommunication talk application state, words to be seized in execution
Power operation;
Module is hung up, for being in common talk application state, and the intercom push key quilt in the mobile communication terminal
When the duration pressed exceedes preset duration, the common call is hung up.
Optionally, described device also includes:
Second judge module, for being in common talk application state in the mobile communication terminal, and the intercommunication is pressed
When the duration that key is pressed is not less than the preset duration, the common call mode of the mobile communication terminal is judged;
Starting module, for when the common call mode is to converse into row mode, starting mute function;
Module is answered, for when the common call mode is call reminding pattern, answering the common call.
Optionally, described device also includes:
First detection module, for being not in intercommunication talk application state in the mobile communication terminal, and is not in general
When talking about application state all, detect whether the mobile communication terminal receives the dial instruction of user input, the dialing refers to
Make for indicating dialed number;
Calling module, for when the mobile communication terminal receives the dial instruction, calling the dialed number;
Second detection module, for when the mobile communication terminal does not receive the dial instruction, detecting the shifting
Whether the intercommunication application of mobile communication terminal opens;
Second performing module, for when the intercommunication application of the mobile communication terminal is opened, performing and initiating intercom calls
Operation;
Processing module, for when the intercommunication application of the mobile communication terminal is not opened, opening the intercommunication application.
Optionally, described device also includes:
3rd judge module, for being not in intercommunication talk application state in the mobile communication terminal, the movement is led to
When letter terminal is not in common talk application state, and the mobile communication terminal not in response to the key-press event, institute is judged
State the broadcast state of the audio file of mobile communication terminal;
3rd performing module, for performing the audio file control operation according to the broadcast state of the audio file.
Optionally, the 3rd performing module, is used for:
When the audio file is in broadcast state, the audio file is played in pause;
When the audio file is in state to be played, the audio file is played.
The invention provides a kind of response method and device of answering earphone key-press event, can be at mobile communication terminal
When intercommunication talk application state, right of speech operation is seized in execution;Common talk application state can be in mobile communication terminal,
And the duration that is pressed of intercom push key is when exceeding preset duration, common call is hung up, compared to correlation technique, answering earphone can also
Enough functions of realizing hanging up common call, enrich the function of answering earphone.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
Can the limitation present invention.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of flow chart of the response method of answering earphone key-press event provided in an embodiment of the present invention;
Fig. 2-1 is the flow chart of the response method of another answering earphone key-press event provided in an embodiment of the present invention;
Fig. 2-2 is a kind of flow chart of the response method of answering earphone key-press event provided in an embodiment of the present invention;
Fig. 2-3 is a kind of flow chart of the response method of answering earphone key-press event provided in an embodiment of the present invention;
Fig. 2-4 is a kind of flow chart for performing audio file control operation provided in an embodiment of the present invention;
Fig. 3-1 is a kind of structural representation of the responding device of answering earphone key-press event provided in an embodiment of the present invention;
Fig. 3-2 is the structural representation of the responding device of another answering earphone key-press event provided in an embodiment of the present invention
Figure;
Fig. 3-3 is the structural representation of the responding device of another answering earphone key-press event provided in an embodiment of the present invention
Figure;
Fig. 3-4 is the structural representation of the responding device of another answering earphone key-press event provided in an embodiment of the present invention
Figure.
By above-mentioned accompanying drawing, it has been shown that the present invention clearly embodiment, will hereinafter be described in more detail.These accompanying drawings
With the scope that word description is not intended to be limited by any mode present inventive concept, but it is by reference to specific embodiment
Those skilled in the art illustrate idea of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
A kind of response method of answering earphone key-press event is the embodiment of the invention provides, as shown in figure 1, the answering earphone
The response method of key-press event includes:
Step 101, when the key-press event of the intercom push key being arranged on answering earphone is received, judge and answering earphone
The talk application state of the mobile communication terminal of connection.
Step 102, when mobile communication terminal be in intercommunication talk application state when, execution seize right of speech operation.
Step 103, common talk application state is in when mobile communication terminal, and the duration that intercom push key is pressed exceedes
During preset duration, common call is hung up.
In sum, the response method of answering earphone key-press event provided in an embodiment of the present invention, can be in mobile communication
When terminal is in intercommunication talk application state, right of speech operation is seized in execution;Common call can be in mobile communication terminal should
With state, and the duration that is pressed of intercom push key is when exceeding preset duration, common call is hung up, compared to correlation technique, intercommunication
Earphone can also realize hanging up the function of common call, enrich the function of answering earphone.
The embodiment of the invention provides the response method of another answering earphone key-press event, as shown in Fig. 2-1, the intercommunication
The response method of earphone keystroke event includes:
Step 201, when the key-press event of the intercom push key being arranged on answering earphone is received, judge and answering earphone
The talk application state of the mobile communication terminal of connection.
The method is applied to be configured with the mobile communication terminal of answering earphone.Intercom push key is provided with answering earphone, when
When user presses the intercom push key, a key-press event can be triggered.In the embodiment of the present invention, mobile communication terminal can be pressed to this
Key events are responded, and make answering earphone to realize the function of intercommunication function and common headphones, such as audio file progress monitoring work(
, common call function, mute function, incoming call sound function and common dial-up function etc. can be hung up.Example, the movement is led to
Letter terminal can be intercom cellphone.
For mobile communication terminal, when mobile communication terminal works, mobile communication terminal may be at intercommunication and lead to
Words application state or common talk application state.In the embodiment of the present invention, when mobile communication terminal is in intercommunication talk application shape
During state, answering earphone can realize intercommunication function;When mobile communication terminal is in common talk application state, answering earphone can
To realize the function of common headphones.Common talk application state can be the state or base that mobile communication terminal is based on base station call
In the state of interconnection speech communication (i.e. the networking telephone).The networking telephone is a kind of common application mode based on internet, network electricity
Words need not set up base station, as long as the place for having network can be to use.The networking telephone has convenient, fast, safe and green
Feature.Phone will not send larger power and look for signal before and after connecting, so radiation is smaller.Can be with the networking telephone
With reference to correlation technique, will not be repeated here.
Step 202, when mobile communication terminal be in intercommunication talk application state when, execution seize right of speech operation.
Mobile communication terminal judges the mobile communication being connected with answering earphone when the key-press event of intercom push key is received
The talk application state of terminal.When mobile communication terminal is in intercommunication talk application state, mobile communication terminal is performed and seized
Right of speech is operated.When the intercom push key is unclamped by user, seize right of speech process and finish.So, answering earphone is realized and robbed
Account for right of speech function.The detailed process that right of speech operation is seized in execution may be referred to correlation technique, will not be repeated here.
Step 203, when mobile communication terminal be in common talk application state, judge that the duration that intercom push key is pressed is
It is no more than preset duration.When the duration that intercom push key is pressed exceedes preset duration, step 204 is performed;When intercom push key quilt
When the duration pressed is not less than preset duration, step 205 is performed.
Step 204, hang up common call.
When mobile communication terminal is in common talk application state, mobile communication terminal judges what intercom push key was pressed
Whether duration exceedes preset duration.Example, the preset duration can be 500 milliseconds.If the duration that intercom push key is pressed
More than preset duration, show user long by the intercom push key.
When the duration that intercom push key is pressed exceedes preset duration, mobile communication terminal then hangs up common call so that
Answering earphone is realized hanging up common call function.When such as intercom cellphone has phone to throw into, when the duration that intercom push key is pressed
During more than 500 milliseconds, intercom cellphone hangs up the phone, realizes the purpose of rejection.Such as intercom cellphone works as intercommunication in call again
When the duration that button is pressed is more than 500 milliseconds, intercom cellphone hangs up the call, and the communication process terminates.
Step 205, the common call mode for judging mobile communication terminal.
It is mobile logical when mobile communication terminal judges to say duration that button is pressed not less than preset duration in step 203
Believe the common call mode of terminal judges mobile communication terminal.The common call mode can be to converse to be carried into row mode or incoming call
Awake pattern.Wherein, to converse and refer to pattern of the mobile communication terminal in call into row mode, call reminding pattern refers to moving
Mobile communication terminal has the pattern that phone is thrown into.Specifically, when the duration that intercom push key is pressed is not less than preset duration, it is mobile
Key-press event is reflected into the processor of communication terminal the press event in common headphones, and the side by the press event to broadcast
Formula is distributed to each application of mobile communication terminal.After the talk application of mobile communication terminal receives the press event, then really
It is in call, still have phone to throw into determine mobile communication terminal.
Step 206, when common call mode for converse into row mode when, start mute function.
Mute function is used to shield the sound outside mobile communication terminal.
When the talk application of mobile communication terminal determines common call mode to converse into row mode, namely mobile communication
In call, mobile communication terminal then starts mute function to terminal, answering earphone is realized mute function.Specifically, mobile logical
Letter terminal makes talk application perform mute operation by processor.
Step 207, when common call mode is call reminding pattern, answer common call.
When it is call reminding pattern that the talk application of mobile communication terminal determines common call mode, namely mobile communication
When terminal has phone to throw into, mobile communication terminal answers common call so that answering earphone realizes incoming call sound function.Specifically
, mobile communication terminal makes talk application perform incoming call sound operation by processor.
Further, in the embodiment of the present invention, when mobile communication terminal is not in intercommunication talk application state, and it is not in
During common talk application state, as shown in Fig. 2-2, the response method of the answering earphone key-press event can also include:
Step 208, intercommunication talk application state is not in when mobile communication terminal, and be not in common talk application state
When, whether detection mobile communication terminal receives the dial instruction of user input.When mobile communication terminal receives dial instruction
When, perform step 209;When mobile communication terminal does not receive dial instruction, step 210 is performed.
The dial instruction is used to indicate dialed number.
It is mobile when mobile communication terminal is not in intercommunication talk application state, and when being not in common talk application state
Communication terminal detects whether to receive the dial instruction of user input.
Step 209, calling dial number.
When mobile communication terminal receives dial instruction, the processor of mobile communication terminal generates the first trigger event,
And first trigger event is distributed to each application of mobile communication terminal in a broadcast manner.The call of mobile communication terminal
After first trigger event is received, common dial-up is performed under the control of a processor and is operated, calling dial number,
So that answering earphone realizes common dial-up function.
Whether step 210, the intercommunication application of detection mobile communication terminal open.When the intercommunication application of mobile communication terminal is opened
Qi Shi, performs step 211;When the intercommunication application of mobile communication terminal is not opened, step 212 is performed.
The intercommunication application is referred in mobile communication terminal for realizing the application of intercommunication function.
Step 211, execution initiate intercom calls operation.
When the intercommunication application of mobile communication terminal is opened, (i.e. the current display interface of mobile communication terminal is intercommunication list circle
Face) when, the processor of mobile communication terminal generates the second trigger event, and second trigger event is distributed in a broadcast manner
To each application of mobile communication terminal.After intercommunication application receives second trigger event, perform under the control of a processor
Initiate intercom calls operation so that answering earphone is realized initiating intercom calls function.Mobile communication terminal performs initiation intercommunication and exhales
Make the detailed process of operation may be referred to correlation technique, will not be repeated here.
Step 212, unlatching intercommunication application.
When the intercommunication application of mobile communication terminal is not opened, the current display interface of mobile communication terminal is standby interface
When, mobile communication terminal is performed opens intercommunication application operating, opens intercommunication application so that answering earphone is realized opening intercommunication application
Function.
It should be added that, for calling dial number, perform and initiate intercom calls operation and unlatching intercommunication application,
In the achievable mode of another kind, when mobile communication terminal is not in intercommunication talk application state, and be not in common call should
When using state, the processor of mobile communication terminal key-press event is distributed to mobile communication terminal in a broadcast manner each should
With.Each application is analyzed to the key-press event, obtains the type of the key-press event, and each application detects whether to register with again
The type.When the type is registered with, then the key-press event is processed.
Such as when mobile communication terminal is not in intercommunication talk application state, and when being not in common talk application state,
Key-press event is distributed to each application by the processor of mobile communication terminal.Each application is analyzed to key-press event, it is determined that
The type of the key-press event is common dial-up type, then the talk application of mobile communication terminal can detect talk application
Register with common dial-up type, talk application then calling dial number.Key-press event is analyzed than each application again,
The type of the key-press event is determined to initiate intercom calls type, then the intercommunication application of mobile communication terminal can detect intercommunication
Intercom calls type is initiated using registering with, intercommunication application then performs initiation intercom calls operation.
Further, in the embodiment of the present invention, when mobile communication terminal is not in intercommunication talk application state, mobile communication
When terminal is not in common talk application state, and mobile communication terminal not in response to key-press event, as Figure 2-3, this pair
Saying the response method of earphone keystroke event can also include:
Step 213, when mobile communication terminal is not in intercommunication talk application state, mobile communication terminal is not in common logical
When talking about application state, and mobile communication terminal not in response to key-press event, the broadcasting of the audio file of mobile communication terminal is judged
State.
Specifically, key-press event is reflected into audio file progress monitoring event by the processor of mobile communication terminal, and will
The audio file progress monitoring event is distributed to each application in mobile communication terminal in a broadcast manner.Mobile communication terminal
Audio file play application detect audio file play application register with the audio file progress monitoring event, it is then determined that
The broadcast state of audio file, such as audio file are in broadcast state or state to be played.
Step 214, according to the broadcast state of audio file perform audio file control operation.
Optionally, as in Figure 2-4, step 214 can include:
Step 2141, when audio file be in broadcast state when, pause play audio file.
Optionally, mobile communication terminal makes audio file play broadcasting shape of the application according to audio file by processor
State, performs audio file control operation.Example, audio file control operation can be audio file pausing operation.The audio
File can be a song.When head songs are in broadcast state, audio file plays application and performs audio file pause behaviour
Make to suspend broadcasting head songs.
Step 2142, when audio file be in state to be played when, play audio file.
Example, audio file control operation can be audio file play operation.The audio file can be a first song
It is bent.When head songs are in state to be played, audio file plays application and performs audio file play operation to play head songs.
The response method of answering earphone key-press event provided in an embodiment of the present invention is logical in intercommunication in mobile communication terminal
During words application state, answering earphone is set to realize seizing right of speech function;When the duration that intercom push key is pressed exceedes preset duration,
Common call is hung up, makes answering earphone realize hanging up common call function;It is logical in the common call mode of mobile communication terminal
Talk about during into row mode, start mute function, answering earphone is realized mute function;In the common call mode of mobile communication terminal
During for call reminding pattern, common call is answered, answering earphone is realized incoming call sound function;Received in mobile communication terminal
During dial instruction, calling dial number makes answering earphone realize common dial-up function;Should in the intercommunication of mobile communication terminal
During with opening, performing and initiating intercom calls operation, make answering earphone realize initiating intercom calls function;In mobile communication terminal
When intercommunication application is not opened, intercommunication application is opened, make answering earphone realize opening intercommunication application function.It is in audio file and is broadcast
When putting state or state to be played, audio file control operation is performed, answering earphone is realized audio file progress monitoring function
Deng.The method causes answering earphone while having the function of answering earphone and common headphones, reaches the multiplex purpose of a key.The party
Method is convenient for users, improves the ease for use of product.
It should be noted that the priority of the response method step of answering earphone key-press event provided in an embodiment of the present invention is suitable
Sequence can be adjusted suitably, and step according to circumstances can also accordingly be increased and decreased.Any technology people for being familiar with the art
Member the invention discloses technical scope in, the method that change can be readily occurred in, should all cover protection scope of the present invention it
It is interior, therefore repeat no more.
In sum, the response method of answering earphone key-press event provided in an embodiment of the present invention, can be in mobile communication
When terminal is in intercommunication talk application state, right of speech operation is seized in execution;Common call can be in mobile communication terminal should
With state, and the duration that is pressed of intercom push key is when exceeding preset duration, hangs up common call;Can be in mobile communication terminal
Common call mode starts mute function etc., compared to correlation technique so that answering earphone can not only to converse during into row mode
Enough functions of realizing seizing right of speech and initiating intercom calls, additionally it is possible to realize the function of common headphones, enrich answering earphone
Function, improves Consumer's Experience.
The embodiment of the invention provides a kind of responding device 300 of answering earphone key-press event, as shown in figure 3-1, the dress
Putting 300 includes:
First judge module 310, for when the key-press event of the intercom push key being arranged on answering earphone is received, sentencing
The talk application state of the disconnected mobile communication terminal being connected with answering earphone.
First performing module 320, for when mobile communication terminal is in intercommunication talk application state, right of speech to be seized in execution
Operation.
Module 330 is hung up, for being in common talk application state in mobile communication terminal, and intercom push key is pressed
When duration exceedes preset duration, common call is hung up.
In sum, the responding device of answering earphone key-press event provided in an embodiment of the present invention, can be in mobile communication
When terminal is in intercommunication talk application state, right of speech operation is seized in execution;Common call can be in mobile communication terminal should
With state, and the duration that is pressed of intercom push key is when exceeding preset duration, common call is hung up, compared to correlation technique, intercommunication
Earphone can also realize hanging up the function of common call, enrich the function of answering earphone.
Further, as shown in figure 3-2, the device 300 can also include:
Second judge module 340, for being in common talk application state in mobile communication terminal, and intercom push key is pressed
Under duration not less than preset duration when, judge the common call mode of mobile communication terminal.
Starting module 350, for when common call mode is to converse into row mode, starting mute function.
Module 360 is answered, for when common call mode is call reminding pattern, answering common call.
Other mark implications in Fig. 3-2 may be referred to Fig. 3-1.
Further, as shown in Fig. 3-3, the device 300 can also include:
First detection module 370, for being not in intercommunication talk application state in mobile communication terminal, and is not in common
During talk application state, whether detection mobile communication terminal receives the dial instruction of user input, and dial instruction is used to indicate
Dialed number.
Calling module 380, for when mobile communication terminal receives dial instruction, calling dial number.
Second detection module 390, for when mobile communication terminal does not receive dial instruction, detecting mobile communication terminal
Intercommunication application whether open.
Second performing module 391, for when the intercommunication application of mobile communication terminal is opened, performing and initiating intercom calls behaviour
Make.
Processing module 392, for when the intercommunication application of mobile communication terminal is not opened, opening intercommunication application.
Other mark implications in Fig. 3-3 may be referred to Fig. 3-2.
Further, as shown in Figure 3-4, the device 300 also includes:
3rd judge module 393, for being not in intercommunication talk application state, mobile communication terminal in mobile communication terminal
When being not in common talk application state, and mobile communication terminal not in response to key-press event, the sound of mobile communication terminal is judged
The broadcast state of frequency file.
3rd performing module 394, for performing audio file control operation according to the broadcast state of audio file.
Optionally, the 3rd performing module 394, is used for:
When audio file is in broadcast state, audio file is played in pause;
When audio file is in state to be played, audio file is played.
In sum, the responding device of answering earphone key-press event provided in an embodiment of the present invention, can be in mobile communication
When terminal is in intercommunication talk application state, right of speech operation is seized in execution;Common call can be in mobile communication terminal should
With state, and the duration that is pressed of intercom push key is when exceeding preset duration, hangs up common call;Can be in mobile communication terminal
Common call mode starts mute function etc., compared to correlation technique so that answering earphone can not only to converse during into row mode
Enough functions of realizing seizing right of speech and initiating intercom calls, additionally it is possible to realize the function of common headphones, enrich answering earphone
Function, improves Consumer's Experience.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the device of foregoing description
With the specific work process of module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (10)
1. a kind of response method of answering earphone key-press event, it is characterised in that methods described includes:
When the key-press event of the intercom push key being arranged on answering earphone is received, the shifting being connected with the answering earphone is judged
The talk application state of mobile communication terminal;
When the mobile communication terminal is in intercommunication talk application state, right of speech operation is seized in execution;
When the mobile communication terminal is in common talk application state, and the duration that the intercom push key is pressed more than default
During duration, the common call is hung up.
2. method according to claim 1, it is characterised in that logical in the movement for judging be connected with the answering earphone
Believe after the talk application state of terminal, methods described also includes:
When the mobile communication terminal is in common talk application state, and the duration that the intercom push key is pressed is not less than institute
When stating preset duration, the common call mode of the mobile communication terminal is judged;
When the common call mode is to converse into row mode, start mute function;
When the common call mode is call reminding pattern, the common call is answered.
3. method according to claim 2, it is characterised in that logical in the movement for judging be connected with the answering earphone
Believe after the talk application state of terminal, methods described also includes:
When the mobile communication terminal is not in intercommunication talk application state, and when being not in common talk application state, detection
Whether the mobile communication terminal receives the dial instruction of user input, and the dial instruction is used to indicate dialed number;
When the mobile communication terminal receives the dial instruction, the dialed number is called;
When the mobile communication terminal does not receive the dial instruction, detecting the intercommunication application of the mobile communication terminal is
No unlatching;
When the intercommunication application of the mobile communication terminal is opened, perform and initiate intercom calls operation;
When the intercommunication application of the mobile communication terminal is not opened, the intercommunication application is opened.
4. method according to claim 3, it is characterised in that logical in the movement for judging be connected with the answering earphone
Believe after the talk application state of terminal, methods described also includes:
When the mobile communication terminal is not in intercommunication talk application state, the mobile communication terminal is not in common call should
With state, and the mobile communication terminal not in response to the key-press event when, judge the audio text of the mobile communication terminal
The broadcast state of part;
Broadcast state according to the audio file performs audio file control operation.
5. method according to claim 4, it is characterised in that described that sound is performed according to the broadcast state of the audio file
Frequency file control operation, including:
When the audio file is in broadcast state, the audio file is played in pause;
When the audio file is in state to be played, the audio file is played.
6. a kind of responding device of answering earphone key-press event, it is characterised in that described device includes:
First judge module, for when the key-press event of the intercom push key being arranged on answering earphone is received, judging and institute
State the talk application state of the mobile communication terminal of answering earphone connection;
First performing module, for when the mobile communication terminal is in intercommunication talk application state, right of speech behaviour to be seized in execution
Make;
Module is hung up, for being in common talk application state in the mobile communication terminal, and the intercom push key is pressed
Duration exceed preset duration when, hang up the common call.
7. device according to claim 6, it is characterised in that described device also includes:
Second judge module, for being in common talk application state, and the intercom push key quilt in the mobile communication terminal
When the duration pressed is not less than the preset duration, the common call mode of the mobile communication terminal is judged;
Starting module, for when the common call mode is to converse into row mode, starting mute function;
Module is answered, for when the common call mode is call reminding pattern, answering the common call.
8. device according to claim 7, it is characterised in that described device also includes:
First detection module, for being not in intercommunication talk application state in the mobile communication terminal, and is not in common logical
During words application state, detect whether the mobile communication terminal receives the dial instruction of user input, the dial instruction is used
In instruction dialed number;
Calling module, for when the mobile communication terminal receives the dial instruction, calling the dialed number;
Second detection module, for when the mobile communication terminal does not receive the dial instruction, detecting that the movement is led to
Believe whether the intercommunication application of terminal opens;
Second performing module, for when the intercommunication application of the mobile communication terminal is opened, performing and initiating intercom calls operation;
Processing module, for when the intercommunication application of the mobile communication terminal is not opened, opening the intercommunication application.
9. device according to claim 8, it is characterised in that described device also includes:
3rd judge module, for being not in intercommunication talk application state, the mobile communication end in the mobile communication terminal
When end is not in common talk application state, and the mobile communication terminal not in response to the key-press event, the shifting is judged
The broadcast state of the audio file of mobile communication terminal;
3rd performing module, for performing audio file control operation according to the broadcast state of the audio file.
10. device according to claim 9, it is characterised in that the 3rd performing module, is used for:
When the audio file is in broadcast state, the audio file is played in pause;
When the audio file is in state to be played, the audio file is played.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710005102.6A CN106817488A (en) | 2017-01-04 | 2017-01-04 | The response method and device of answering earphone key-press event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710005102.6A CN106817488A (en) | 2017-01-04 | 2017-01-04 | The response method and device of answering earphone key-press event |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106817488A true CN106817488A (en) | 2017-06-09 |
Family
ID=59109466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710005102.6A Pending CN106817488A (en) | 2017-01-04 | 2017-01-04 | The response method and device of answering earphone key-press event |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106817488A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809692A (en) * | 2017-10-10 | 2018-03-16 | 努比亚技术有限公司 | A kind of headset control method, equipment and computer-readable recording medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102149051A (en) * | 2011-04-13 | 2011-08-10 | 青岛海信移动通信技术股份有限公司 | Method and system for implementing network talkback |
CN104065819A (en) * | 2014-06-19 | 2014-09-24 | 上海强邦电子有限公司 | Control system of portable mobile communication device |
US20160286019A1 (en) * | 2014-07-02 | 2016-09-29 | Sonetics Holdings, Inc. | Usb programmable dual antenna communications headset system |
CN106231477A (en) * | 2016-09-28 | 2016-12-14 | 青岛海信移动通信技术股份有限公司 | Process method and the terminal of the operation of Qchat earphone |
-
2017
- 2017-01-04 CN CN201710005102.6A patent/CN106817488A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102149051A (en) * | 2011-04-13 | 2011-08-10 | 青岛海信移动通信技术股份有限公司 | Method and system for implementing network talkback |
CN104065819A (en) * | 2014-06-19 | 2014-09-24 | 上海强邦电子有限公司 | Control system of portable mobile communication device |
US20160286019A1 (en) * | 2014-07-02 | 2016-09-29 | Sonetics Holdings, Inc. | Usb programmable dual antenna communications headset system |
CN106231477A (en) * | 2016-09-28 | 2016-12-14 | 青岛海信移动通信技术股份有限公司 | Process method and the terminal of the operation of Qchat earphone |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809692A (en) * | 2017-10-10 | 2018-03-16 | 努比亚技术有限公司 | A kind of headset control method, equipment and computer-readable recording medium |
CN107809692B (en) * | 2017-10-10 | 2019-08-09 | 努比亚技术有限公司 | A kind of headset control method, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7577429B2 (en) | Real-time communications architecture and methods for use with a personal computer system | |
CN101064755B (en) | Method of realization of call transferring and telephone terminal | |
CN111629409B (en) | Call control method and device and electronic equipment | |
CN102982597A (en) | Video intercom access control system, communication method thereof and multi-functional terminal thereof | |
CN104702789A (en) | Smart phone with voice control function and voice control method thereof | |
CN101404682A (en) | Method and apparatus for setting and processing press key shortcut function | |
CN103957312A (en) | Device and method for operating device through earphone | |
CN105824450B (en) | The false-touch prevention method and mobile communication terminal of mobile communication terminal | |
WO2014059803A1 (en) | Communication processing method and device | |
CN108566221B (en) | Call control method and related equipment | |
CN106817488A (en) | The response method and device of answering earphone key-press event | |
CN103517215B (en) | Terminal and PTT call-establishing methods | |
CN102123214A (en) | Control device and method of three-network integrated phone | |
CN106941557A (en) | The intercommunication way of recording and device of a kind of mobile terminal | |
CN111884886B (en) | Intelligent household communication method and system based on telephone | |
CN105450820B (en) | A kind of method and system for establishing push to talk hand-free call | |
CN107872566A (en) | A kind of call handover method of terminal, system and terminal | |
CN207166701U (en) | A kind of head circuit | |
GB2453239A (en) | Method and apparatus for muting a sounder device | |
CN108551531A (en) | Send the method, apparatus and readable storage medium storing program for executing of prompt message | |
CN101141149B (en) | Bluetooth telephone gateway device and dialing process method | |
US10009943B2 (en) | Method for controlling disconnection during call, and terminal | |
CN108777823A (en) | A kind of table microphone for supporting PTT hardware detection functions | |
CN201398206Y (en) | Communication terminal | |
CN106936983B (en) | Method, device and terminal for processing mistaken call receiving |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170609 |
|
RJ01 | Rejection of invention patent application after publication |