CN101287238B - Method and device for implementing ear-phone function on terminal - Google Patents
Method and device for implementing ear-phone function on terminal Download PDFInfo
- Publication number
- CN101287238B CN101287238B CN2008101131705A CN200810113170A CN101287238B CN 101287238 B CN101287238 B CN 101287238B CN 2008101131705 A CN2008101131705 A CN 2008101131705A CN 200810113170 A CN200810113170 A CN 200810113170A CN 101287238 B CN101287238 B CN 101287238B
- Authority
- CN
- China
- Prior art keywords
- incoming call
- earphone
- ear
- hang
- module
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000005111 flow chemistry technique Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for realizing an earphone function at a terminal and a device thereof. In a terminal supporting dual-card and dual-standby and based on a Windows Mobile platform, for an unknown call or a call in a different network from the present communication, an earphone answering is realized by the invention through the calling of an RIL function; for a known call, the call is processed according to the present procedures of earphone answering/hangup function of the Microsoft application; for the unknown call, earphone hangup is realized by the invention through the calling of the RIL function. By adopting the method of the invention, the earphone function of the terminal supporting dual-card and dual-standby and based on a Windows Mobile platform is consummated.
Description
Technical field
The present invention relates to wireless communication technology, refer to a kind of method and device of dual-card dual-standby terminal realization ear-phone function especially.
Background technology
At present, great amount of terminals is based on Windows Mobile platform realization communication, it is at the i.e. subscriber identification module (SIM of single deck tape-recorder that Microsoft moves (Windows Mobile) platform, SubscriberIdentification Module) designs, do not support the mechanism of a plurality of networks standbies simultaneously.Here, SIM card is also referred to as protocol stack or wireless communication module.
Along with The development in society and economy, people are increasing to the demand of dual-card dual-standby terminal, and in order to meet the need of market, DeXin wireless Communication Science Co., Ltd has proposed the double-card dual-standby framework on Windows Mobile platform.But in the double-card dual-standby framework based on Windows Mobile platform, the order that earphone is only answered, hung up by the single channel incoming call handling has promptly only realized the ear-phone function at the single channel incoming call.
Therefore, when two SIM cards had the phone incoming call simultaneously, the user used issuing an order as after answering or hanging up of earphone, and terminal only can be issued to this order on that known road incoming call; And for another road incoming call, the present dual-card dual-standby terminal based on Windows Mobile platform is the ability that does not possess the process user order.In other words, in current double-card dual-standby framework, be to satisfy the user to the normal demand of ear-phone function based on Windows Mobile platform.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that realizes ear-phone function, can support to improve ear-phone function in the dual-card dual-standby terminal based on Windows Mobile platform.
Another object of the present invention is to provide a kind of device of realizing earphone receiving, can support to improve ear-phone function in the dual-card dual-standby terminal based on Windows Mobile platform.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of terminal realizes the method for ear-phone function, in based on Windows Mobile platform support dual-card dual-standby terminal, may further comprise the steps:
Judge whether incoming call is unknown incoming call, if, select according to the user, call the incoming call that wireless route layer RIL function earphone receiving user selectes by newly-increased ear-phone function processing module, report the current incoming information of not hung up to former microsoft application; Otherwise utilize former microsoft application that the earphone receiving/hang-up function is handled;
Also comprise before this method: whether judge incoming call from different networks, if, carry out according to the user and select, call the step of the incoming call that RIL function earphone receiving/hang-up user selectes by newly-increased ear-phone function processing module; Otherwise, carry out and judge whether incoming call is the step of unknown incoming call.
Described RIL function specifically comprises: by expanding communication interface layer agency and wireless routing module, to the wireless communication module transmission earphone receiving order of the incoming call correspondence of not hung up;
Carry the SIM card identification information of current use in the described earphone receiving order.
Described judgement incoming call for unknown incoming call after, this method also comprises: the wireless communication module of the incoming call correspondence of hanging up to quilt sends the earphone hangup order, missed call is write down add in the phone historical record of former Microsoft simultaneously;
Carry the SIM card identification information of current use in the described earphone hangup order.
A kind of terminal realizes the device of ear-phone function, and this device comprises:
The ear-phone function processing module is used for instructing by the earphone receiving/hang-up that the ear-phone function driver module receives from the user, and sends the earphone receiving/hang-up notice by expanding communication interface layer agency to wireless routing module;
The ear-phone function driver module is used for, receiving from user's earphone hangup and selecting during from identical network and for unknown incoming call at incoming call, reports the current incoming information of not hung up to former microsoft application, and will answer instruction and send to the ear-phone function processing module; When sending a telegram here from identical network and being known incoming call, send the receiving/hang-up instruction to former microsoft application;
Former microsoft application, being used to receive from the current of earphone drive functional module is the information of hanging up incoming call; Reception is from the instruction of answering of earphone drive functional module, and sends the earphone receiving/hang-up notice by the communication interface layer proxy to wireless routing module, carries the SIM card identification information of current use in the earphone receiving/hang-up notice;
Wireless routing module stores the route network setting, and according to the corresponding route network of earphone receiving/hang-up notice from extended wireless interface layer agency, notifies the wave point of this network correspondence to drive; Perhaps by the information of extended wireless interface layer agency feedback from the first/the second wireless communication module;
First wave point drives, and be used to transmit the receiving/hang-up order that first wireless communication module is issued on the upper strata, and first protocol stack feeds back to the information on upper strata;
Second wave point drives, and be used to transmit the receiving/hang-up order that second wireless communication module is issued on the upper strata, and second protocol stack feeds back to the information on upper strata;
Wherein, described ear-phone function driver module is further used for:, receive from user's earphone hangup and select during from different network at incoming call, and this is hung up instruction send to the ear-phone function processing module.
Described ear-phone function driver module is further used for: when incoming call is sent a telegram here for the unknown, hang up the incoming call that user's selection is hung up by the corresponding wireless communication module of wireless routing module notice, simultaneously the missed call record is added in the phone historical record of former Microsoft.
As seen from the above technical solution, the present invention supporting based on Windows Mobile platform in the dual-card dual-standby terminal, for the unknown incoming call or with the incoming call of current talking heterogeneous networks, realize earphone receiving by the present invention by calling the RIL function; For known incoming call, according in the existing former microsoft application flow process of earphone receiving/hang-up function being handled; For the unknown incoming call, the present invention realizes earphone hangup by calling the RIL function.By the inventive method, perfect support ear-phone function in the dual-card dual-standby terminal based on Windows Mobile platform.
Description of drawings
Fig. 1 the present invention is based on the composition structural representation that Windows Mobile platform supports to realize in the double-card dual-standby framework ear-phone function;
Fig. 2 is the method flow diagram that dual-card dual-standby terminal of the present invention is realized earphone receiving;
Fig. 3 is the method flow diagram that dual-card dual-standby terminal of the present invention is realized earphone hangup.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing preferred embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 1 the present invention is based on the composition structural representation that Windows Mobile platform supports to realize in the double-card dual-standby framework ear-phone function, and as shown in Figure 1, the operation principle between each functional module is described below:
The ear-phone function processing module is used for instructing by the earphone receiving/hang-up that the ear-phone function driver module receives from the user, and sends the earphone receiving/hang-up notice by expanding communication interface layer agency to wireless routing module.Carry the SIM card identification information of current use in the earphone receiving/hang-up notice.
The ear-phone function driver module is used for, receiving from user's earphone hangup and selecting during from different network at incoming call, and this is hung up instruction sends to the ear-phone function processing module; When incoming call is sent a telegram here for the unknown, reception is selected from user's earphone hangup, report the current incoming information of not hung up (will answer) to former microsoft application, and will answer instruction and send to the ear-phone function processing module, the ear-phone function processing module is hung up the incoming call that user's selection is hung up by the corresponding wireless communication module of wireless routing module notice, simultaneously the missed call record is added in the phone historical record of former Microsoft; When incoming call is known incoming call, send the receiving/hang-up instruction to former microsoft application.
Former microsoft application, being used to receive from the current of earphone drive functional module is the information of hanging up incoming call; Reception is from the instruction of answering of earphone drive functional module, and sends the earphone receiving/hang-up notice by the communication interface layer proxy to wireless routing module.Carry the SIM card identification information of current use in the earphone receiving/hang-up notice.
Wireless routing module stores the route network setting, and according to the corresponding route network of earphone receiving/hang-up notice from extended wireless interface layer agency, notifies the wave point of this network correspondence to drive; Perhaps by the information of extended wireless interface layer agency feedback from the first/the second wireless communication module.
First wave point drives, and be used to transmit the receiving/hang-up order that first wireless communication module is issued on the upper strata, and first protocol stack feeds back to the information on upper strata.
Second wave point drives, and be used to transmit the receiving/hang-up order that second wireless communication module is issued on the upper strata, and second protocol stack feeds back to the information on upper strata.
In addition, comprise also in apparatus of the present invention that being used to of not illustrating among Fig. 1 select the interactive window of current earphone receiving/hang-up incoming call, or the pickup feature key, perhaps earphone receiving function key etc.
Need to prove that the description to each module among Fig. 1 of the present invention only relates to information related to the present invention, other module or function are not described, and comprise former microsoft application and relevant use relation, can be referring to related protocol.
Fig. 2 is the method flow diagram that dual-card dual-standby terminal of the present invention is realized earphone receiving, as shown in Figure 2, may further comprise the steps:
Step 200: trigger the earphone receiving function.
When terminal has incoming call, interface or pickup feature key that the user can provide by terminal, perhaps earphone receiving function key etc. selects to use earphone receiving.
Step 201: judge that whether incoming call is from different networks, if enter step 203; Otherwise enter step 202.
For dual-card dual-standby terminal, may have the two-way incoming call is the situation that belongs to heterogeneous networks.Using different SIM card to have different SIM card identifies and distinguishes, it is same SIM card that terminal can identify what judge whether incoming call use with current talking according to SIM card, if the SIM card of incoming call sign is inequality with the SIM card sign of current talking, judge that then incoming call is from different networks; Otherwise judge that incoming call is from identical network.
Step 202: judge whether incoming call is unknown incoming call, if enter step 203; Otherwise enter step 205.
Generally, if terminal receives the electricity of coming at one's leisure, at this moment, the earphone receiving function of this road incoming call is realized that by former microsoft application this road incoming call is called known incoming call; And when former microsoft application when handling known incoming call, if the electricity of coming again enters terminal, at this moment, former microsoft application is the existence of not knowing this road incoming call, therefore is it not to be carried out ear-phone function to handle, this road incoming call is called unknown the incoming call.For all incoming calls, the earphone drive part can be known.
Step 203: select to hang up to come according to the user.
At this moment, incoming call is different with the terminal phone belonging network of conversing.When the user selects to answer current call by the interface that sets in advance, call wireless route layer (RIL) function and hang up the phone that is in the conversation, specific implementation is: by expanding communication interface layer agency and wireless routing module, send the earphone hangup order to that of the not answered corresponding wireless communication module of electricity of coming, simultaneously the missed call record is added in the phone historical record of former Microsoft.Carry the SIM card identification information of current use in the described earphone receiving/hang-up order.
Step 204: answer the incoming call that another road is not hung up.
In this step, report the current incoming call that will answer, make former microsoft application learn normal incoming information by the former microsoft application of RIL course; Next, by expanding communication interface layer agency and wireless routing module,, connect current call to the wireless communication module transmission earphone receiving order of the incoming call correspondence of not hung up.Process ends.
Step 205: former microsoft application is answered known incoming call.
If known incoming call, answer according to existing procedure by former microsoft application and to get final product.
From earphone receiving flow process of the present invention shown in Figure 2 as seen, for supporting dual-card dual-standby terminal based on Windows Mobile platform, for the unknown incoming call or with the incoming call of current talking heterogeneous networks, realize earphone receiving by the present invention by calling the RIL function; If incoming call is known, so according in the existing former microsoft application flow process of earphone receiving function being handled.
Need to prove, if terminal is in the state that does not have conversation, perhaps under the situation that incoming call is identical with the phone belonging network of conversing, this moment, former microsoft application was known the information of sending a telegram here in this road, and the method that the earphone receiving incoming call is realized is with identical at the ear-phone function flow processing of single channel incoming call based on Windows Mobile platform support dual-card dual-standby terminal at present.
Fig. 3 is the method flow diagram that dual-card dual-standby terminal of the present invention is realized earphone hangup, as shown in Figure 3, may further comprise the steps:
Step 300: trigger the earphone hangup function.
When terminal need be hung up incoming call or when conversation, the interface that the user can provide by terminal or hang up function key, perhaps earphone is hung up in selection such as earphone hangup function key.
Step 301: judged whether incoming call,, entered step 302 if having; Otherwise enter step 303.
Step 302: select to hang up to come according to the user.
If incoming call is arranged, just exist under the situation of unknown incoming call, the inventive method is different at the ear-phone function of single channel incoming call with realization at present, report refusal to answer message can for former microsoft application, but, call the RIL function and hang up the incoming call that the user selectes according to the result who answers which incoming call that the user selects by the interface.Process ends afterwards.
Step 303: former microsoft application is hung up known incoming call.
If incoming call does not then directly report former microsoft application, and by the ear-phone function flow processing at the single channel incoming call.For example hang up the phone of conversing, and recover the broadcast of MP3.
From earphone hangup flow process of the present invention shown in Figure 3 as seen, for supporting dual-card dual-standby terminal, for known incoming call, according in the existing former microsoft application flow process of earphone hangup function being handled based on Windows Mobile platform; For the unknown incoming call, the present invention realizes earphone hangup by calling the RIL function.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. the method for a terminal realization ear-phone function is characterized in that, in based on Windows Mobile platform support dual-card dual-standby terminal, may further comprise the steps:
Judge whether incoming call is unknown incoming call, if, select according to the user, call the incoming call that wireless route layer RIL function earphone receiving user selectes by newly-increased ear-phone function processing module, report the current incoming information of not hung up to former microsoft application; Otherwise utilize former microsoft application that the earphone receiving/hang-up function is handled;
Also comprise before this method: whether judge incoming call from different networks, if, carry out according to the user and select, call the step of the incoming call that RIL function earphone receiving/hang-up user selectes by newly-increased ear-phone function processing module; Otherwise, carry out and judge whether incoming call is the step of unknown incoming call.
2. method according to claim 1 is characterized in that, described RIL function specifically comprises: by expanding communication interface layer agency and wireless routing module, to the wireless communication module transmission earphone receiving order of the incoming call correspondence of not hung up;
Carry the SIM card identification information of current use in the described earphone receiving order.
3. method according to claim 1, it is characterized in that, described judgement incoming call for unknown incoming call after, this method also comprises: the wireless communication module of the incoming call correspondence of hanging up to quilt sends the earphone hangup order, missed call is write down add in the phone historical record of former Microsoft simultaneously;
Carry the SIM card identification information of current use in the described earphone hangup order.
4. a terminal realizes the device of ear-phone function, it is characterized in that this device comprises:
The ear-phone function processing module is used for instructing by the earphone receiving/hang-up that the ear-phone function driver module receives from the user, and sends the earphone receiving/hang-up notice by expanding communication interface layer agency to wireless routing module;
The ear-phone function driver module is used for, receiving from user's earphone hangup and selecting during from identical network and for unknown incoming call at incoming call, reports the current incoming information of not hung up to former microsoft application, and will answer instruction and send to the ear-phone function processing module; When sending a telegram here from identical network and being known incoming call, send the receiving/hang-up instruction to former microsoft application;
Former microsoft application, being used to receive from the current of earphone drive functional module is the information of hanging up incoming call; Reception is from the instruction of answering of earphone drive functional module, and sends the earphone receiving/hang-up notice by the communication interface layer proxy to wireless routing module, carries the SIM card identification information of current use in the earphone receiving/hang-up notice;
Wireless routing module stores the route network setting, and according to the corresponding route network of earphone receiving/hang-up notice from extended wireless interface layer agency, notifies the wave point of this network correspondence to drive; Perhaps by the information of extended wireless interface layer agency feedback from the first/the second wireless communication module;
First wave point drives, and be used to transmit the receiving/hang-up order that first wireless communication module is issued on the upper strata, and first protocol stack feeds back to the information on upper strata;
Second wave point drives, and be used to transmit the receiving/hang-up order that second wireless communication module is issued on the upper strata, and second protocol stack feeds back to the information on upper strata;
Wherein, described ear-phone function driver module is further used for:, receive from user's earphone hangup and select during from different network at incoming call, and this is hung up instruction send to the ear-phone function processing module.
5. device according to claim 4, it is characterized in that, described ear-phone function driver module is further used for: when incoming call is sent a telegram here for the unknown, hang up the incoming call that user's selection is hung up by the corresponding wireless communication module of wireless routing module notice, simultaneously the missed call record is added in the phone historical record of former Microsoft.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101131705A CN101287238B (en) | 2008-05-28 | 2008-05-28 | Method and device for implementing ear-phone function on terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101131705A CN101287238B (en) | 2008-05-28 | 2008-05-28 | Method and device for implementing ear-phone function on terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101287238A CN101287238A (en) | 2008-10-15 |
CN101287238B true CN101287238B (en) | 2011-05-18 |
Family
ID=40059156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101131705A Expired - Fee Related CN101287238B (en) | 2008-05-28 | 2008-05-28 | Method and device for implementing ear-phone function on terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101287238B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604661A (en) * | 2003-09-30 | 2005-04-06 | 华为技术有限公司 | A method for answering multiple calls |
CN200953580Y (en) * | 2006-06-05 | 2007-09-26 | 晶通信息(上海)有限公司 | Bluetooth and USb double-mode device with network telephone (VoIP) supporting |
-
2008
- 2008-05-28 CN CN2008101131705A patent/CN101287238B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604661A (en) * | 2003-09-30 | 2005-04-06 | 华为技术有限公司 | A method for answering multiple calls |
CN200953580Y (en) * | 2006-06-05 | 2007-09-26 | 晶通信息(上海)有限公司 | Bluetooth and USb double-mode device with network telephone (VoIP) supporting |
Also Published As
Publication number | Publication date |
---|---|
CN101287238A (en) | 2008-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105101058A (en) | Method and equipment for realizing cooperative works of multiple Bluetooth headsets | |
CN104184499B (en) | The control method of bluetooth equipment, device, system | |
CN105474613A (en) | Incoming call forwarding method and user equipment | |
CN101179301B (en) | Method of implementing automatic enrollment of bluetooth telephone terminal equipment | |
CN104602361B (en) | A kind of method with WiFi network extended mobile phone wireless network traffic | |
CN101834940A (en) | Control method of voice service and voice service system | |
CN101917674A (en) | Method and device for transmitting information in call | |
CN104602214B (en) | A kind of method of extended mobile phone wireless speech and short message service | |
CN101150770B (en) | Method, device and system for controlling mobile terminal to forward call | |
CN108881633A (en) | A kind of networking telephone and local call are in communication with each other method, system and telephony gateway | |
CN101951702A (en) | Method for implementing simplex communication based on mobile phone terminal | |
CN102318403B (en) | Converged cordless and cellular phone system | |
CN101340727A (en) | Mobile terminal, multipath call control method and system | |
CN101287238B (en) | Method and device for implementing ear-phone function on terminal | |
CN102655631A (en) | Information notifying method, device and first electronic equipment | |
CN101316294B (en) | Mobile terminal conversation state management method and device based on code division multiple access network | |
CN102612006A (en) | Method for transmitting name cards of mobile phone | |
CN101600266B (en) | Gateway and method for supporting more than one number in one unit | |
US7627308B2 (en) | Mobile communication system, mobile communication device and method for incoming-call filtering | |
JP2007221458A (en) | Telephone terminal, exchange, call connection control method | |
CN102546951A (en) | Method for processing incoming call and terminal | |
CN102891940A (en) | Calling centre and method, requesting terminal and redirecting system for redirecting call through calling centre | |
CN101282547B (en) | Method and apparatus for dialing telephone based on Windows Mobile OS | |
CN101179300B (en) | Method of implementing external line and intercom phones comprehensive process for bluetooth telephone terminal equipment | |
CN101247602A (en) | Method, system and mobile communication terminal for controlling Bluetooth equipment selection network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170313 Address after: 100176 Beijing street Rongchang Beijing economic and Technological Development Zone No. 5 Building No. 3, B zone 2 Patentee after: BEIJING MFOX SCIENCE & TECHNOLOGY Co.,Ltd. Address before: 100015 Beijing Chaoyang District Jiuxianqiao North Road, No. 10, D District, building 2, floor 4-6 Patentee before: TECHFAITH INTELLIGENT HANDSET TECHNOLOGY BEIJING Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110518 |