CN101282548B - Method and equipment for setting sound volume based on Windows Mobile OS - Google Patents

Method and equipment for setting sound volume based on Windows Mobile OS Download PDF

Info

Publication number
CN101282548B
CN101282548B CN200810113171XA CN200810113171A CN101282548B CN 101282548 B CN101282548 B CN 101282548B CN 200810113171X A CN200810113171X A CN 200810113171XA CN 200810113171 A CN200810113171 A CN 200810113171A CN 101282548 B CN101282548 B CN 101282548B
Authority
CN
China
Prior art keywords
module
wave point
point driver
wireless communication
driver 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.)
Active
Application number
CN200810113171XA
Other languages
Chinese (zh)
Other versions
CN101282548A (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.)
Beijing Yunhu Times Technology Co., Ltd.
Original Assignee
TECHFAITH INTELLIGENT HANDSET TECHNOLOGY (BEIJING) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TECHFAITH INTELLIGENT HANDSET TECHNOLOGY (BEIJING) Co Ltd filed Critical TECHFAITH INTELLIGENT HANDSET TECHNOLOGY (BEIJING) Co Ltd
Priority to CN200810113171XA priority Critical patent/CN101282548B/en
Publication of CN101282548A publication Critical patent/CN101282548A/en
Application granted granted Critical
Publication of CN101282548B publication Critical patent/CN101282548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for setting the sound volume based on Windows Mobile operation system. The method comprises: opening the machine and loading the mobile phone radio interface drive module; obtaining the opening identifying key value of the mobile phone radio interface drive module; confirming the radio interface drive module as the first opening load according to the key value, and transmitting the pre-set omitting sound volume information to the radio communication module according to the radio interface drive module to set the omitting sound volume according to the omitting sound volume information by the radio communication module; updating the opening identifying key value of the mobile phone radio interface drive module. The invention also discloses a device for setting the sound volume based on Windows Mobile operation system. The invention achieves the conversation sound volume setting for a dual card dual standby mobile phone under the Windows Mobile operation system platform.

Description

A kind of method and apparatus that volume is set based on Windows Mobile operating system
Technical field
The present invention relates to the volume regulation technology, relate in particular to a kind of method and apparatus that double-card dual-standby mobile phone (Mobile) volume is set based on Windows Mobile operating system.
Background technology
In the prior art, a large amount of mobile phones is realized communication based on Windows Mobile operating system platform, the design of Windows Mobile operating system platform is at the single deck tape-recorder system, the Windows Mobile operating system platform that is upper application module only can be at a protocol stack, as global system for mobile communications (GSM, Global System for Mobile communications) protocol stack or code division multiple access (CDMA, Code Division Multiple Access) protocol stack carries out work such as data interaction, communication.
Needs for adaptation work and life, the user is more and more stronger to the demand of dual-network and dual-standby mobile phone, require prior mobile phone need possess the function of double-card dual-standby, that is to say, on a mobile phone, can dispose two subscriber identification module (SIM simultaneously, Subscriber identificationModule) card, promptly on a mobile phone, dispose two radio-frequency modules, it is wireless communication module, two global system for mobile communications (GSM, Global System for Mobile communications) protocol stack, the wave point driver module of two correspondences, two SIM cards on this mobile phone are defined as first SIM card and second SIM card respectively, the standby simultaneously of first SIM card and second SIM card, the user can be provided with according to the needs of self, for example, first SIM card is used for work, second SIM card is used for family and relatives and friends, and carry out associative operation as required.
Because Windows Mobile operating system platform and software architecture thereof are not supported two protocol stacks, the mechanism of two wave point driver modules and two card standbies simultaneously, in order to realize above-mentioned double-card dual-standby function based on Windows Mobile operating system platform, DeXin wireless Communication Science Co., Ltd has proposed the two card architectures based on Windows Mobile operating system, but for how double-card dual-standby mobile phone calling volume is set, also do not provide the technical scheme of specific implementation, further, in actual environment for use, the user is in the flow process of dialing the double-card dual-standby phone, need according to environment and the hobby of self on every side In Call to be adjusted to a comfortable volume value at any time, for example, enter into environment or the hobby louder volume that is full of noise from quiet environment, volume need be heightened; Otherwise, entering into quietly environment or hobby amount of bass from the environment that is full of noise, then need to turn down volume is corresponding.
Summary of the invention
In view of this, the invention provides and a kind ofly the method for volume is set, In Call can be set based on Windows Mobile operating system.
The present invention also provides a kind of and based on Windows Mobile operating system the equipment of volume has been set, and In Call can be set.
For achieving the above object, provided by the inventionly a kind ofly the equipment of volume is set based on Windows Mobile operating system, be applied to the double-card dual-standby mobile phone, comprising: registry module, wave point driver module, wireless communication module, wherein,
Described registry module is used to be provided with described wave point driver module start sign key assignments;
Described wave point driver module, be used for when start loads, obtain described wave point driver module start sign key assignments, determine that according to described key assignments described wave point driver module loads for start for the first time, wireless communication module to described wave point driver module correspondence sends the default information volume that sets in advance, and upgrades the start of wave point driver module described in described registry module sign key assignments;
Described wireless communication module is used for receiving and according to described default information volume default volume being set.
Described equipment further comprises: upper application module and wireless routing module,
Described upper application module is used for sending the In Call information that is provided with to described wireless routing module;
Described wireless routing module is used for the current wireless communication module state information according to storage, will be sent to the wave point driver module of current talking correspondence from the In Call information that is provided with that described upper application module receives;
Described wave point driver module is used for according to the In Call information that is provided with that receives, and sends the In Call information that is provided with to the wireless communication module of correspondence;
Described wireless communication module is used for receiving and according to In Call information setting In Call is set.
Described upper application module is further used for sending inquiry In Call information to described wireless routing module;
Described wireless routing module according to canned data, is sent to the inquiry In Call information that receives the wave point driver module of current talking correspondence;
Described wave point driver module is used for the described inquiry In Call information that will receive, and sends to the wireless communication module of correspondence, receives the In Call Query Result information that described wireless communication module returns, and is sent to described upper application module;
Described wireless communication module is used to receive described inquiry In Call information, and inquiry current talking volume is returned In Call Query Result information to described wave point driver module.
Described wave point driver module comprises: the first wave point driver module and the second wave point driver module;
Described wireless communication module comprises: first wireless communication module and second wireless communication module;
The described first wave point driver module, be used for when start loads, obtain described first wave point driver module start sign key assignments, determine that according to described first wave point driver module start sign key assignments the described first wave point driver module loads for start for the first time, send default information volume to described first wireless communication module, so that described first wireless communication module is provided with default volume according to described default information volume, and upgrade first wave point driver module start sign key assignments;
The described second wave point driver module, be used for when start loads, obtain described second wave point driver module start sign key assignments, determine that according to described second wave point driver module start sign key assignments the described second wave point driver module loads for start for the first time, send default information volume to described second wireless communication module, so that described second wireless communication module is provided with default volume according to described default information volume, and upgrade second wave point driver module start sign key assignments.
A kind ofly based on Windows Mobile operating system the method for volume is set, is applied to the double-card dual-standby mobile phone, mobile phone wave point driver module start sign key assignments is set in described mobile phone registration table, this method comprises:
Start loads described mobile phone wave point driver module;
Obtain described mobile phone wave point driver module start sign key assignments, determine that according to described key assignments described wave point driver module loads for start for the first time, wireless communication module to described wave point driver module correspondence sends the default information volume that sets in advance, so that described wireless communication module is provided with default volume according to described default information volume, and upgrade described mobile phone wave point driver module start sign key assignments.
Described mobile phone wave point driver module start sign key assignments comprises: first wave point driver module start sign key assignments and second wave point driver module start sign key assignments.
Described wireless communication module comprises: first wireless communication module and second wireless communication module
If start loads the described first wave point driver module,
Obtain described first wave point driver module start sign key assignments, determine that according to described first wave point driver module start sign key assignments the described first wave point driver module loads for start for the first time, send default information volume to described first wireless communication module, so that described first wireless communication module is provided with default volume according to described default information volume;
Upgrade described first wave point driver module start sign key assignments;
If start loads described first wave point driver module and the described second wave point driver module,
Obtain described first and second wave point driver modules start sign key assignments, determine that according to described first and second wave point driver modules start sign key assignments the described first and second wave point driver modules load for start for the first time, the described first wave point driver module sends the default information volume that sets in advance to described first wireless communication module, the described second wave point driver module to described second wireless communication module, so that described first and second wireless communication modules are provided with default volume according to described default information volume;
Upgrade described first and second wave point driver modules start sign key assignments.
This method further comprises:
The wireless routing module storage current wireless communication module state information of described mobile phone;
Described wireless routing module receives the In Call information that is provided with of the upper application module transmission of described mobile phone, described current wireless communication module state information according to storage will be provided with the wireless communication module that the wave point driver module of In Call information by the current talking correspondence is sent to described wave point driver module correspondence;
Described wireless communication module is provided with In Call information setting In Call according to what receive.
The described wireless routing module of step receives the In Call information that is provided with that the upper application module of described mobile phone sends and takes a step forward and comprise:
Described wireless routing module receives the inquiry In Call information that described upper application module sends, and described inquiry In Call information is routed to the wave point driver module of correspondence according to the described current wireless communication module state information of storage;
The inquiry In Call information that described wave point driver module will receive sends to the wireless communication module of described wave point driver module correspondence;
Described wireless communication module receives inquiry In Call information, returns In Call Query Result information by described wave point driver module to described upper application module.
Described state information comprises call status information and state of activation information, described described current wireless communication module state information according to storage comprises the wireless communication module that the wave point driver module of In Call information by the current talking correspondence be sent to described wave point driver module correspondence is set:
Described wireless routing module obtains the wireless communication module that two wireless communication modules are in talking state and determine to be in state of activation, by the described wave point driver module that is in the wireless communication module correspondence of state of activation will be provided with In Call information be sent to described be in the wireless communication module of state of activation and In Call information will be set by another wave point driver module be sent to another wireless communication module.
As seen from the above technical solution, a kind of double-card dual-standby mobile phone based on Windows Mobile operating system provided by the invention is provided with the method and apparatus of volume, by mobile phone wave point driver module start sign key assignments is set in registration table in advance, when start loads the wave point driver module, if determining the wave point driver module is that start loads for the first time, then the wireless communication module by this wave point driver module correspondence is provided with default volume.Realized that the user is under Windows Mobile operating system platform, to the setting of double-card dual-standby mobile phone calling volume.Further, in the follow-up conversation, wireless routing module is according to the current wireless communication module call status information that In Call information and storage are set that receives, wave point driver module transmission by the current talking correspondence is provided with the wireless communication module of In Call information to this wave point driver module correspondence, by this wireless communication module In Call is set, can flexible double-card dual-standby mobile phone calling volume.
Description of drawings
Fig. 1 is a kind of schematic flow sheet of realizing the double-card dual-standby function based on Windows Mobile operating system of the present invention.
Fig. 2 is a kind of method overall procedure schematic diagram that volume is set based on Windows Mobile operating system of the present invention.
Fig. 3 is provided with the In Call schematic flow sheet when initially starting shooting for embodiment of the invention mobile phone.
Fig. 4 is provided with the In Call schematic flow sheet when being in talking state for embodiment of the invention wireless communication module 1.
Fig. 5 is provided with the In Call schematic flow sheet when being in talking state for embodiment of the invention wireless communication module 2.
Fig. 6 is provided with the In Call schematic flow sheet when being in talking state for two wireless communication modules of the embodiment of the invention.
Fig. 7 is provided with In Call second schematic flow sheet when being in talking state for two wireless communication modules of the embodiment of the invention.
Fig. 8 is that the embodiment of the invention realizes the device structure schematic diagram that double-card dual-standby mobile phone volume is regulated based on Windows Mobile operating system.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is further elaborated.
In the embodiment of the invention, by mobile phone wave point driver module start sign key assignments is set in registration table in advance, if determining the wave point driver module is that start loads for the first time, then the wireless communication module by this wave point driver module correspondence is provided with default volume; In the follow-up conversation, wireless routing module is provided with In Call according to the current wireless communication module call status information that In Call information and storage are set that receives by the wave point driver module of current talking correspondence, the wireless communication module of this wave point driver module correspondence.
The embodiment of the invention is used for inquiring about and be provided with double-card dual-standby mobile phone calling volume under based on Windows Mobile operating system platform.
Be that a kind of patent application of the method and apparatus of calling based on Windows Mobile operating system describes at first below to the denomination of invention that before the present invention, proposes, by the mode of judging current state of mobile phone is set when the mobile phone upper application module is set up new calling, according to current state of mobile phone corresponding wave point is set and drives, thereby realize the double-card dual-standby function.
Fig. 1 is a kind of schematic flow sheet of realizing the double-card dual-standby function based on Windows Mobile operating system of the present invention.Referring to Fig. 1, be example to call, this flow process comprises:
Step 11, upper application module receive the phone dial and this is called needs the wave point of route driver module to notify wireless routing module;
In this step, store the wave point driver module information of two cards in mobile phones correspondence in advance, promptly block 1 corresponding wave point driver module 1 information and block 2 corresponding wave point driver module 2 information, if the user calls from blocking 1, upper application module will need wave point driver module 1 information of route to be sent to wireless routing module; If the user calls from blocking 2, upper application module then will need wave point driver module 2 information of route to be sent to wireless routing module; And memory module storage wireless communication module current state information, the i.e. talking state of current mobile phone be set.
Step 12, wireless routing module is judged current state of mobile phone, if current mobile phone is in no speech phase, execution in step 120, if current mobile phone is in one road telephone state, execution in step 130;
Step 120 is routed to the wave point driver module that this phone needs route with this phone;
Step 121, wave point driver module send the AT order and notify the wireless communication module of this wave point driver module correspondence to set up calling, finish this flow process;
Step 130, the phone that the further judgement of wireless routing module has existed and this call whether belong to same wireless communication module, if, execution in step 131, otherwise, execution in step 133;
Step 131, wireless routing module generate input and output control radio interface layer dialing (IOCTL_RIL_DIAL) information and route the information to the wave point driver module of this wireless communication module correspondence;
Step 132, wave point driver module send the wireless communication module of AT command information notice wave point driver module correspondence and set up calling, finish this flow process;
Step 133, wireless routing module generate input and output control wave point layer-management (IOCTL_RIL_MANAGECALLS) information and route the information to the wave point driver module of the phone correspondence that this road existed;
Step 134, the wave point driver module sends the AT command information that keeps phone to the wireless communication module of the phone correspondence that has existed;
In this step, the wireless communication module of the conversation correspondence that has existed receives the AT command information, if keep conversation that success is set, by conversing corresponding wave point driver module and call corresponding wave point driver module and send and keep successful event information to calling corresponding wireless communication module, if keep conversation that failure is set, by conversing corresponding wave point driver module and call corresponding wave point driver module and send and keep turkey information to calling corresponding wireless communication module, also can be after keeping conversation that failure is set, not send any information.
Step 135, wireless routing module route IOCTL_RIL_DIAL calls corresponding wave point driver module to this;
Step 136, wave point driver module are called and are called function;
Step 137, if receive the maintenance success event information that the corresponding module of the phone that has existed sends, call corresponding wireless communication module by this and send the AT command information of calling, otherwise, return failure result information to upper application module, interrupt this phone of breathing out.
So far, finish the flow process that the realization double-card dual-standby is called under Windows Mobile operating system platform.
Fig. 2 is a kind of method overall procedure schematic diagram that volume is set based on Windows Mobile operating system of the present invention.Referring to Fig. 2, mobile phone wave point driver module start sign key assignments is set in registration table in advance, this flow process comprises:
Step 21, start loads the wave point driver module;
In this step, start loads the wave point driver module, can be to load according in advance setting, also can be need to select the wave point driver module that loads at the start screen by the user.
Step 22, read the mobile phone wave point driver module start sign key assignments that sets in advance, judge whether to load according to this key assignments into start for the first time, if send the default information volume that sets in advance and upgrade this mobile phone wave point driver module start sign key assignments to the wireless communication module of this wave point driver module correspondence;
In this step,, determine that this wave point driver module loads for start for the first time, send the default information volume that sets in advance to the wireless communication module of this wave point driver module correspondence if the time only load a wave point driver module in start; If load two wave point driver modules when start, start loads to determine to be for the first time by these two wave point driver modules, and the wireless communication module corresponding respectively to these two wave point driver modules sends the default information volume that sets in advance.
Step 23, wireless communication module receives and is provided with default volume.
Further, in follow-up conversation, can also regulate execution in step 24~step 27 to the default volume that is provided with.
Step 24, wireless routing module storage current wireless communication module state information;
In this step, current wireless communication module state information comprises: current wireless communication module call status information, current wireless communication module state of activation information.
Step 25, upper application module sends the In Call information that is provided with to wireless routing module;
Step 26, wireless routing module is provided with In Call information according to reception, current wireless communication module state information according to storage will be provided with the wireless communication module that the wave point driver module of In Call information by the current talking correspondence is sent to this wave point driver module correspondence;
Step 27, wireless communication module are provided with In Call information setting In Call according to what receive.
Below for three embodiment, inquiry and In Call is set describes when In Call and wireless communication module being set being in talking state or two wireless communication modules and being in talking state simultaneously to comprising the initial start of mobile phone.
Embodiment one
Fig. 3 is provided with the In Call schematic flow sheet when initially starting shooting for embodiment of the invention mobile phone.Referring to Fig. 3, this flow process comprises:
Step 31 is provided with mobile phone wave point driver module start sign key assignments in advance in registration table;
In this step, the mobile phone wave point driver module start sign key assignments that sets in advance can be by increasing by two key assignments in the mobile phone registration table, be used for representing corresponding wave point driver module, for example, whether the wave point driver module 1 of double-card dual-standby mobile phone and/or wave point driver module 2 are that start is loaded for the first time, for example, key assignments is set for " TRUE " expression wave point driver module is that start is loaded for the first time, it is not that start is loaded for the first time for " FALSE " expression wave point driver module that key assignments is set.
Step 32, the mobile phone start loads the wave point driver module and carries out initialization;
In the double-card dual-standby mobile phone of present embodiment, suppose to have two SIM cards: SIM card 1 corresponding wave point driver module 1 and wireless communication module 1; SIM card 2 corresponding wave point driver module 2 and wireless communication modules 2; Two SIM cards have a wireless routing module.Therefore, in this step, after the mobile phone start, load wave point driver module 1 and wave point driver module 2.
Step 33 is obtained in the registration table mobile phone wave point driver module start sign key assignments and is judged whether this mobile phone wave point driver module is that start loads for the first time, if, execution in step 331, otherwise, execution in step 34;
In this step, the wave point driver module obtains mobile phone wave point driver module start sign key assignments from corresponding registration table, and judge according to this mobile phone wave point driver module start sign key assignments that obtains whether this mobile phone wave point driver module is that start loads for the first time, if this mobile phone wave point driver module start sign key assignments is " TRUE ", show that this mobile phone wave point driver module is that start loads for the first time, if this mobile phone wave point driver module start sign key assignments is " FALSE ", show that this mobile phone wave point driver module is not that start loads for the first time.
Step 331 sends the AT command information to wireless communication module, carries the default information volume that sets in advance of respective wireless communication module, and wireless communication module is provided with default volume according to default information volume, finishes this flow process;
In this step, wave point driver module 1 sends AT order, the default information volume of carrying wireless communication module 1 to wireless communication module 1; Wave point driver module 2 sends AT order, the default information volume of carrying wireless communication module 2 to wireless communication module 2; In general, wireless communication module 1 is identical with the default volume settings of wireless communication module 2.
Step 332, mobile phone start sign key assignments in the registration updating table;
In this step, this mobile phone start sign key assignments " TRUE " in the registration table is revised as " FALSE ".
In the practical application, step 331 and step 332 be sequencing not, and step 332 also can be carried out before step 331.
Step 34 continues to carry out the initialization of wave point driver module.
So far, this flow process finishes.
Embodiment two
In the present embodiment, have only a wireless communication module to be in talking state in the double-card dual-standby mobile phone, promptly have only a wireless communication module to have phone.
Be in talking state with wireless communication module 1, inquiring about and be provided with wireless communication module 1 In Call is example, and Fig. 4 is provided with the In Call schematic flow sheet when being in talking state for embodiment of the invention wireless communication module 1.Referring to Fig. 4, this flow process comprises:
Step 401, upper application module is set up call, and the wireless communication module 1 of this call correspondence and wave point driver module 1 information of route are sent to wireless routing module;
In this step, upper application module need be set up call with wireless communication module 1, the wireless communication module 1 of this call correspondence and wave point driver module 1 information of route are sent to wireless routing module, and this phone is routed to wave point driver module 1; Sending the AT order by wave point driver module 1 notifies 1 wireless communication module 1 to set up call.
Step 402, wireless routing module are stored wireless communication module 1 information of this phone correspondence;
In this step, the out of Memory that wireless routing module also can this of storaging mark phone, for example, wave point driver module 1 information or, wireless communication module 1 information and wave point driver module 1 information.
Step 403, upper application module sends inquiry In Call information to wireless routing module;
In this step, inquiry In Call information is IOCTL statement input and output control radio interface layer inquiry In Call (IOCTL_RIL_GETAUDIOGAIN) information.
Step 404, wireless routing module receive inquiry In Call information, according to canned data, inquiry In Call information are routed to corresponding wave point driver module 1;
Step 405, wave point driver module 1 receive inquiry In Call information, send the AT command information to wireless communication module 1, carry inquiry In Call information;
Step 406, wireless communication module 1 receives the AT command information of carrying inquiry In Call information, returns the In Call Query Result information of wireless communication module 1 to wave point driver module 1;
Step 407, wave point driver module 1 receives and returns In Call Query Result information to upper application module;
In the practical application, step 403~step 407 is not essential, and when the user found to adjust the current talking volume according to actual needs, directly execution in step 408.
Step 408, upper application module sends the In Call information that is provided with to wireless routing module;
In this step, it is IOCTL statement IOCTL_RIL_SETAUDIOGAIN that In Call information is set.
Step 409, wireless routing module receives In Call information is set, and according to canned data, is routed to corresponding wave point driver module 1 with In Call information is set;
Step 410, wave point driver module 1 receives the In Call information that is provided with, and sends the AT command information to wireless communication module 1, carries the In Call information that is provided with;
Step 411, wireless communication module 1 receives and carries the AT command messages that In Call information is set, and returns In Call to wave point driver module 1 successful information is set;
Step 412, wave point driver module 1 receives and returns In Call to upper application module successful information is set.
So far, the In Call flow process being set when a wireless communication module is in talking state finishes.
In the practical application, also can be wireless communication module 2 when being in talking state, inquire about and be provided with the In Call of wireless communication module 2.
Fig. 5 is provided with the In Call schematic flow sheet when being in talking state for embodiment of the invention wireless communication module 2.Referring to Fig. 5, different with Fig. 4 is, among Fig. 5, store in the wireless routing module be wave point driver module 2 information and/or, wireless communication module 2 information.Send inquiry In Call information and In Call information is set to wave point driver module 2 in follow-up, and send the AT command information of carrying inquiry In Call information accordingly or In Call information being set to wireless communication module 2 by wave point driver module 2, other flow processs and Fig. 4 are similar, do not repeat them here.
Embodiment three
In the present embodiment, two wireless communication modules are in talking state in the double-card dual-standby mobile phone, and promptly there is phone simultaneously in two wireless communication modules.
Be in state of activation with wireless communication module 1 conversation, inquiring about and be provided with In Call is example, and Fig. 6 is provided with the In Call schematic flow sheet when being in talking state for two wireless communication modules of the embodiment of the invention.Referring to Fig. 6, this flow process comprises:
Step 601, wireless routing module storage radio communication mold block state information;
In this step, the radio communication mold block state information of wireless routing module storage comprises: wireless communication module 1 is in state of activation information and wireless communication module 2 is in call status information.
Wireless communication module 1 is in state of activation information and comprises: wave point driver module 1 information and/or, wireless communication module 1 information.
Wireless communication module 2 is in call status information and comprises: wave point driver module 2 information and/or, wireless communication module 2 information.
Step 602, upper application module sends inquiry In Call information to wireless routing module;
In this step, inquiry In Call information is IOCTL statement IOCTL_RIL_GETAUDIOGAIN.
Step 603, wireless routing module receive inquiry In Call information, according to canned data, inquiry In Call information are routed to corresponding wave point driver module 1;
In this step, wireless routing module receives inquiry In Call information, and inquiry obtains that two wireless communication modules are in talking state and wireless communication module 1 is in state of activation, will inquire about In Call information and be routed to wave point driver module 1.
Step 604, wave point driver module 1 receive inquiry In Call information, send the AT command information to wireless communication module 1, carry inquiry In Call information;
Step 605, wireless communication module 1 receives the AT command information of carrying inquiry In Call information, returns the In Call Query Result information of wireless communication module 1 to wave point driver module 1;
Step 606, wave point driver module 1 receives and returns In Call Query Result information to upper application module;
In the practical application, step 602~step 606 is not essential, and when the user found to adjust the current talking volume according to actual needs, directly execution in step 607.
Step 607, upper application module sends the In Call information that is provided with to wireless routing module;
In this step, it is IOCTL statement IOCTL_RIL_SETAUDIOGAIN that In Call information is set.
Step 608, wireless routing module receives In Call information is set, and according to canned data, In Call information will be set be routed to wave point driver module 1, execution in step 609a~610a; In Call information will be set be routed to wave point driver module 2, execution in step 609b~610b;
Step 609a, wave point driver module 1 receives the In Call information that is provided with, and sends the AT command information to wireless communication module 1, carries the In Call information that is provided with;
Step 610a, wireless communication module 1 receives and carries the AT command messages that In Call information is set, and returns In Call to wave point driver module 1 successful information is set;
Step 609b, wave point driver module 2 receives the In Call information that is provided with, and sends the AT command information to wireless communication module 2, carries the In Call information that is provided with;
Step 610b, wireless communication module 2 receives and carries the AT command messages that In Call information is set, and returns In Call to wave point driver module 2 successful information is set;
Step 611, wave point driver module 1 receives and returns In Call to upper application module successful information is set.
So far, the In Call flow process being set when two wireless communication modules are in talking state finishes.
In the practical application, also can be that two wireless communication modules are in talking state, and In Call is inquired about and be provided with to wireless communication module 2 when being in state of activation.
Fig. 7 is provided with In Call second schematic flow sheet when being in talking state for two wireless communication modules of the embodiment of the invention.Referring to Fig. 7, similar with Fig. 6 flow process, do not repeat them here.
Fig. 8 is that the embodiment of the invention realizes the device structure schematic diagram that double-card dual-standby mobile phone volume is regulated based on Windows Mobile operating system.Referring to Fig. 8, this equipment comprises: registry module, wave point driver module, wireless communication module, wherein,
Registry module is used to be provided with wave point driver module start sign key assignments;
The wave point driver module, be used for when initial start, if from the wave point driver module start sign key assignments that registry module reads, determine that this wave point driver module is that start loads for the first time, this wave point driver module start sign key assignments in the registration updating table module, and to the wireless communication module transmission AT of this wave point driver module correspondence command information;
Wireless communication module is used to receive the AT command information, according to the In Call information setting In Call that comprises in the AT command information.
This equipment further comprises: upper application module and wireless routing module,
Upper application module is used for sending the In Call information that is provided with to wireless routing module, receives In Call success or failure information are set;
Wireless routing module is used to store current wireless communication module state information, receives the In Call information that is provided with that upper application module sends, and according to canned data, will the wave point driver module that In Call information is sent to the current talking correspondence be set;
The wave point driver module, be used for according to the In Call information that is provided with that receives, wireless communication module to this wave point driver module correspondence sends the AT command information, and the In Call that the reception wireless communication module returns is provided with successful information, is sent to upper application module;
Wireless communication module is used to receive the AT command information, according to the In Call information setting In Call that comprises in the AT command information, if success is set, sends In Call to the wave point driver module of this wireless communication module correspondence successful information is set.
In the practical application, upper application module also is further used for sending inquiry In Call information to wireless routing module, receives In Call Query Result information;
Wireless routing module receives the inquiry In Call information that upper application module sends, and according to canned data, inquiry In Call information is sent to the wave point driver module of current talking correspondence;
The wave point driver module, be used for according to the inquiry In Call information that receives, wireless communication module to this wave point driver module correspondence sends the AT command information, receives the In Call Query Result information that wireless communication module returns, and is sent to upper application module;
Wireless communication module is used to receive the AT command information, and inquiry current talking volume is to the wave point driver module transmission In Call Query Result information of this wireless communication module correspondence.
In this equipment, wherein,
The wave point driver module comprises: the first wave point driver module and the second wave point driver module,
Wireless communication module comprises: first wireless communication module and second wireless communication module,
Corresponding first wireless communication module of the first wave point driver module,
Corresponding second wireless communication module of the second wave point driver module.
Registry module comprises: first registry module and second registry module,
First registry module is used to be provided with first wave point driver module start sign key assignments;
Second registry module is used to be provided with second wave point driver module start sign key assignments;
Correspondingly,
Wireless routing module, be used to store first wireless communication module and the second wireless communication module current state information, receive the In Call information that is provided with that upper application module sends, judge according to first wireless communication module and the second wireless communication module current state information of storage
If current only first wireless communication module or second wireless communication module are in talking state, to the first wave point driver module or the second wave point driver module that In Call information is sent to the current talking correspondence be set, for example, current is that first wireless communication module is in talking state, In Call information then will be set be sent to the first wave point driver module;
If current first wireless communication module and second wireless communication module all are in talking state, then further determine to be in the wireless communication module of state of activation, with being set, In Call information is sent to the current first wave point driver module or the second wave point driver module that is in state of activation, for example, current what be in state of activation is the first wave point driver module, In Call information then will be set be sent to the first wave point driver module;
The wave point driver module, when initial start loads,
If only load the first wave point driver module, read first wave point driver module start sign key assignments from first registry module, if should the sign key assignments be " TRUE ", upgrade in first registry module first wave point driver module start sign key assignments and be " FALSE ", and send the AT command information of carrying default information volume to first wireless communication module;
If load the first wave point driver module and the second wave point driver module, then read respective wireless interface driver module start sign key assignments from first registry module and second registry module respectively, if this sign key assignments is " TRUE ", start sign key assignments is " FALSE " in the registration updating table module, and sends the AT command information of carrying default information volume by the first wave point driver module to second wireless communication module to first wireless communication module, the second wave point driver module;
Or, in follow-up communication process,
The first wave point driver module receives the In Call information that is provided with, and sends the AT command information to first wireless communication module, and receives the In Call that first wireless communication module returns successful information is set, and is sent to upper application module;
The second wave point driver module receives the In Call information that is provided with, and sends the AT command information to second wireless communication module, and receives the In Call that second wireless communication module returns successful information is set, and is sent to upper application module.
First wireless communication module, be used to receive the AT command information that the first wave point driver module sends, according to the information volume that comprises in the AT command information In Call is set,, sends In Call to the first wave point driver module successful information is set if success is set;
Second wireless communication module, be used to receive the AT command information that the second wave point driver module sends, according to the information volume that comprises in the AT command information In Call is set,, sends In Call to the second wave point driver module successful information is set if success is set.
As seen from the above-described embodiment, a kind of method and apparatus that volume is set based on Windows Mobile operating system of the embodiment of the invention, by being set in advance, the mobile phone wave point drives start sign key assignments in registration table, if wave point drives to start for the first time loads, then drive corresponding wireless communication module default volume is set by this wave point; In the follow-up conversation, wireless routing module is according to the current wireless communication module call status information that In Call information and storage are set that receives, with the wireless communication module that the wave point driver module of In Call information by the current talking correspondence is sent to this wave point driver module correspondence is set, In Call is set by this wireless communication module.Realized that the user is under Windows Mobile operating system platform, inquiry and the purpose of In Call is set when In Call and wireless communication module being set being in talking state or two wireless communication modules and being in talking state simultaneously to comprising the initial start of mobile phone, can be at any time according to around environment and the hobby of self In Call is adjusted to a comfortable volume value.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. one kind is provided with the equipment of volume based on Windows Mobile operating system, it is characterized in that be applied to the double-card dual-standby mobile phone, this equipment comprises: registry module, wave point driver module, wireless communication module, wherein,
Described registry module is used to be provided with described wave point driver module start sign key assignments;
Described wave point driver module, be used for when start loads, obtain described wave point driver module start sign key assignments, determine that according to described key assignments described wave point driver module loads for start for the first time, wireless communication module to described wave point driver module correspondence sends the default information volume that sets in advance, and upgrades the start of wave point driver module described in described registry module sign key assignments;
Described wireless communication module is used for receiving and according to described default information volume default volume being set.
2. equipment as claimed in claim 1 is characterized in that, described equipment further comprises: upper application module and wireless routing module,
Described upper application module is used for sending the In Call information that is provided with to described wireless routing module;
Described wireless routing module is used for the current wireless communication module state information according to storage, will be sent to the wave point driver module of current talking correspondence from the In Call information that is provided with that described upper application module receives;
Described wave point driver module is used for according to the In Call information that is provided with that receives, and sends the In Call information that is provided with to the wireless communication module of correspondence;
Described wireless communication module is used for receiving and according to In Call information setting In Call is set.
3. equipment as claimed in claim 2 is characterized in that, described upper application module is further used for sending inquiry In Call information to described wireless routing module;
Described wireless routing module according to canned data, is sent to the inquiry In Call information that receives the wave point driver module of current talking correspondence;
Described wave point driver module is used for the described inquiry In Call information that will receive, and sends to the wireless communication module of correspondence, receives the In Call Query Result information that described wireless communication module returns, and is sent to described upper application module;
Described wireless communication module is used to receive described inquiry In Call information, and inquiry current talking volume is returned In Call Query Result information to described wave point driver module.
4. as each described equipment of claim 1 to 3, it is characterized in that,
Described wave point driver module comprises: the first wave point driver module and the second wave point driver module;
Described wireless communication module comprises: first wireless communication module and second wireless communication module;
The described first wave point driver module, be used for when start loads, obtain described first wave point driver module start sign key assignments, determine that according to described first wave point driver module start sign key assignments the described first wave point driver module loads for start for the first time, send default information volume to described first wireless communication module, so that described first wireless communication module is provided with default volume according to described default information volume, and upgrade first wave point driver module start sign key assignments;
The described second wave point driver module, be used for when start loads, obtain described second wave point driver module start sign key assignments, determine that according to described second wave point driver module start sign key assignments the described second wave point driver module loads for start for the first time, send default information volume to described second wireless communication module, so that described second wireless communication module is provided with default volume according to described default information volume, and upgrade second wave point driver module start sign key assignments.
5. one kind is provided with the method for volume based on Windows Mobile operating system, it is characterized in that, is applied to the double-card dual-standby mobile phone, and mobile phone wave point driver module start sign key assignments is set in described mobile phone registration table, and this method comprises:
Start loads described mobile phone wave point driver module;
Obtain described mobile phone wave point driver module start sign key assignments, determine that according to described key assignments described wave point driver module loads for start for the first time, wireless communication module to described wave point driver module correspondence sends the default information volume that sets in advance, so that described wireless communication module is provided with default volume according to described default information volume, and upgrade described mobile phone wave point driver module start sign key assignments.
6. method as claimed in claim 5 is characterized in that, described mobile phone wave point driver module start sign key assignments comprises: first wave point driver module start sign key assignments and second wave point driver module start sign key assignments.
7. method as claimed in claim 6 is characterized in that,
Described wireless communication module comprises: first wireless communication module and second wireless communication module
If start loads the described first wave point driver module,
Obtain described first wave point driver module start sign key assignments, determine that according to described first wave point driver module start sign key assignments the described first wave point driver module loads for start for the first time, send default information volume to described first wireless communication module, so that described first wireless communication module is provided with default volume according to described default information volume;
Upgrade described first wave point driver module start sign key assignments;
If start loads described first wave point driver module and the described second wave point driver module,
Obtain described first and second wave point driver modules start sign key assignments, determine that according to described first and second wave point driver modules start sign key assignments the described first and second wave point driver modules load for start for the first time, the described first wave point driver module sends the default information volume that sets in advance to described first wireless communication module, the described second wave point driver module to described second wireless communication module, so that described first and second wireless communication modules are provided with default volume according to described default information volume;
Upgrade described first and second wave point driver modules start sign key assignments.
8. method as claimed in claim 5 is characterized in that, further comprises:
The wireless routing module storage current wireless communication module state information of described mobile phone;
Described wireless routing module receives the In Call information that is provided with of the upper application module transmission of described mobile phone, described current wireless communication module state information according to storage will be provided with the wireless communication module that the wave point driver module of In Call information by the current talking correspondence is sent to described wave point driver module correspondence;
Described wireless communication module is provided with In Call information setting In Call according to what receive.
9. method as claimed in claim 8 is characterized in that, the described wireless routing module of step receives the In Call information that is provided with that the upper application module of described mobile phone sends and takes a step forward and comprise:
Described wireless routing module receives the inquiry In Call information that described upper application module sends, and described inquiry In Call information is routed to the wave point driver module of correspondence according to the described current wireless communication module state information of storage;
The inquiry In Call information that described wave point driver module will receive sends to the wireless communication module of described wave point driver module correspondence;
Described wireless communication module receives inquiry In Call information, returns In Call Query Result information by described wave point driver module to described upper application module.
10. method as claimed in claim 8 or 9, it is characterized in that, described state information comprises call status information and state of activation information, described described current wireless communication module state information according to storage comprises the wireless communication module that the wave point driver module of In Call information by the current talking correspondence be sent to described wave point driver module correspondence is set:
Described wireless routing module obtains the wireless communication module that two wireless communication modules are in talking state and determine to be in state of activation, by the described wave point driver module that is in the wireless communication module correspondence of state of activation will be provided with In Call information be sent to described be in the wireless communication module of state of activation and In Call information will be set by another wave point driver module be sent to another wireless communication module.
CN200810113171XA 2008-05-28 2008-05-28 Method and equipment for setting sound volume based on Windows Mobile OS Active CN101282548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810113171XA CN101282548B (en) 2008-05-28 2008-05-28 Method and equipment for setting sound volume based on Windows Mobile OS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810113171XA CN101282548B (en) 2008-05-28 2008-05-28 Method and equipment for setting sound volume based on Windows Mobile OS

Publications (2)

Publication Number Publication Date
CN101282548A CN101282548A (en) 2008-10-08
CN101282548B true CN101282548B (en) 2011-01-19

Family

ID=40014773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810113171XA Active CN101282548B (en) 2008-05-28 2008-05-28 Method and equipment for setting sound volume based on Windows Mobile OS

Country Status (1)

Country Link
CN (1) CN101282548B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854743B (en) * 2010-02-05 2013-03-20 深圳市同洲电子股份有限公司 Method for driving multi-mode terminating machine by radio interface layer and multi-mode terminating machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262834A (en) * 1997-07-08 2000-08-09 艾利森电话股份有限公司 Method and arrangement relating to equipment in telecommunication networks
CN1819684A (en) * 2006-02-27 2006-08-16 宇龙计算机通信科技(深圳)有限公司 Scene mode setting method of mobile communication terminal
EP1887463A1 (en) * 2006-07-31 2008-02-13 Research In Motion Limited Method and apparatus for configuring unique profile settings for multiple services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262834A (en) * 1997-07-08 2000-08-09 艾利森电话股份有限公司 Method and arrangement relating to equipment in telecommunication networks
CN1819684A (en) * 2006-02-27 2006-08-16 宇龙计算机通信科技(深圳)有限公司 Scene mode setting method of mobile communication terminal
EP1887463A1 (en) * 2006-07-31 2008-02-13 Research In Motion Limited Method and apparatus for configuring unique profile settings for multiple services

Also Published As

Publication number Publication date
CN101282548A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
US7957729B2 (en) Communication system and method for operating such a system
CN1114326C (en) Dual mode communication device and method
US8666379B2 (en) Communication terminal
KR101065341B1 (en) Dual standbay portable terminal and method for communicating thereof
US20090312068A1 (en) System and method for setting and selecting a communication mode of a communication device
CN101808276A (en) Vehicle communication terminal and vehicle communication system
KR100724423B1 (en) Mobile communication terminal with one sim card socket and his control method
CN101494927A (en) Multi-standby mobile terminal and user identification card selection method for the same
JP3689242B2 (en) Method for adapting the functionality of a subscriber identification module to one or more interfaces of a mobile terminal for wireless communication, and corresponding subscriber identification module and mobile terminal
CN101287255A (en) Data connecting method and apparatus for dual-card and dual-standby mobile terminal
GB2389269A (en) Automatically setting voice processing parameters for communication with voice recognition servers
US20100075711A1 (en) Communication terminal
CN201629738U (en) Vehicle-mounted communication terminal and vehicle-mounted communication system
US8954043B2 (en) Communication terminal
US7817985B2 (en) Electronic transaction service in a mobile communication network
KR20110103625A (en) Dual standby portable terminal and method for connecting audio path
JP5094279B2 (en) Communication device
JP2882495B2 (en) Communication equipment
EP1251706A2 (en) Method and apparatus for selecting systems, mode and function in an adaptive terminal
CN101282548B (en) Method and equipment for setting sound volume based on Windows Mobile OS
JP5117225B2 (en) Mobile phone terminal
CN101287235B (en) Third call processing method and device based on Windows Mobile operating system
CN101282547B (en) Method and apparatus for dialing telephone based on Windows Mobile OS
JP2009239810A (en) Mobile terminal device and its function switching method
KR20070027383A (en) Method for management of file system and data processing apparatus thereof

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: 20170308

Address after: 100176 Beijing street Rongchang Beijing economic and Technological Development Zone No. 5 Building No. 3, B zone 2

Patentee after: Beijing Yunhu Times 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