CN106302952A - The method and device of double card switching - Google Patents
The method and device of double card switching Download PDFInfo
- Publication number
- CN106302952A CN106302952A CN201510259566.0A CN201510259566A CN106302952A CN 106302952 A CN106302952 A CN 106302952A CN 201510259566 A CN201510259566 A CN 201510259566A CN 106302952 A CN106302952 A CN 106302952A
- Authority
- CN
- China
- Prior art keywords
- draw
- groove
- double card
- switching
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The method that the invention discloses the switching of a kind of double card, the method for described double card switching comprises the following steps: when receiving double card handover request, restart modem according to described double card handover request;During restarting modem, according in described double card handover request after the status information of front bayonet slot determines switching the configuration information of draw-in groove;According to the configuration information of draw-in groove after described switching, draw-in groove is configured.The invention also discloses the device of a kind of double card switching.Present invention reduces the operation easier of double card switching.
Description
Technical field
The present invention relates to communication art field, particularly relate to the method and device of double card switching.
Background technology
At present, currently the majority double-card mobile phone is all that the form using main card and vice card uses.Existing
In technology, the function that usual first draw-in groove is supported is more, and the function that the second draw-in groove is supported is less;Such as
Data service supported by card 1 in one draw-in groove, and the card 2 in the second draw-in groove is not supported.In this case,
When needing use to stick into row data service interaction, need to open cell phone rear cover and the draw-in groove of card 2 with card 1 is entered
Row exchanges;Thus cause the operation that double card switches complicated.
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is
Prior art.
Summary of the invention
Present invention is primarily targeted at the method and device that the switching of a kind of double card is provided, it is intended to reduce double card
The operation easier of switching.
For achieving the above object, the method for a kind of double card switching that the present invention provides comprises the following steps:
When receiving double card handover request, restart modem according to described double card handover request;
During restarting modem, according in described double card handover request when the state of front bayonet slot
Information determines the configuration information of draw-in groove after switching;
According to the configuration information of draw-in groove after described switching, draw-in groove is configured.
Preferably, the method for described double card switching also includes:
Obtain the status information when front bayonet slot;
Double card handover request is generated according to the operational order received and described status information.
Preferably, described restart modem according to double card handover request and include:
Initiating to close radio-frequency command according to described double card handover request, described closedown radio-frequency command includes state
Message identification and modem restart mark;
Resolve described closedown radio-frequency command obtain include status information mark and modem restart mark;
Enter according to described closedown radio frequency life and close radio frequency flow process, and basis in described closedown radio frequency flow process
The modem that parsing obtains is restarted mark control and is restarted modem.
Preferably, described during restarting modem, according to shape in described double card handover request
State information determine draw-in groove after switching configuration information particularly as follows:
Uimdrv initial phase is driven, according to resolving the described status information spectroscopic analysis obtained at draw-in groove
Obtain the configuration information of draw-in groove after switching.
Preferably, described acquisition also includes after the state information Step of front bayonet slot:
Export a display interface, show described status information and described operational order input option.
Preferably, described acquisition also included before the state information Step of front bayonet slot:
The configuration information of preset described draw-in groove;Described draw-in groove includes the first draw-in groove and the second draw-in groove, described in join
Confidence breath include the first configuration information and the second configuration information, in described first configuration information the first draw-in groove and
In second configuration information, the second draw-in groove is corresponding, the second draw-in groove and the second configuration letter in described first configuration information
In breath, the first draw-in groove is corresponding.
Additionally, for achieving the above object, the present invention also provides for the device of a kind of double card switching and includes:
Processing module, for when receiving double card handover request, restarts according to described double card handover request
Modem;
Determine module, for during restarting modem, according in described double card handover request
The configuration information of draw-in groove after the status information of front bayonet slot determines switching;
Configuration module, for configuring draw-in groove according to the configuration information of draw-in groove after described switching.
Preferably, the device of described double card switching also includes:
Acquisition module, for obtaining the status information when front bayonet slot;
Request generation module, cuts for generating double card according to the operational order received and described status information
Change request.
Preferably, described processing module includes:
Unit is initiated in order, for initiating to close radio-frequency command, described pass according to described double card handover request
Close radio-frequency command and include that status information mark and modem restart mark;
Resolution unit, resolve described closedown radio-frequency command obtain include status information mark and modulation /demodulation think highly of
Open mark;
Processing unit, closes radio frequency flow process for entering according to described closedown radio frequency life, and in described closedown
Radio frequency flow process restarts mark control according to the modem resolving acquisition and restarts modem.
Preferably, described determine unit specifically for, draw-in groove drive uimdrv initial phase, according to
Resolve the configuration information of draw-in groove after the described status information spectroscopic analysis acquisition obtained switches.
Preferably, the device of described double card switching also includes:
Display output module, for output one display interface, shows that described status information and described operation refer to
Order input option.
Preferably, the device of described double card switching also includes:
Preset module, for the configuration information of preset described draw-in groove;Described draw-in groove includes the first draw-in groove and
Two draw-in grooves, described configuration information includes the first configuration information and the second configuration information, described first configuration letter
In breath, in the first draw-in groove and the second configuration information, the second draw-in groove is corresponding, the second card in described first configuration information
In groove and the second configuration information, the first draw-in groove is corresponding.
The embodiment of the present invention is by obtaining the status information when front bayonet slot;According to the operational order received and
Described status information generates double card handover request;Modem is restarted according to described double card handover request;
During restarting modem, after in described double card handover request, status information determines switching
The configuration information of draw-in groove;According to the configuration information of draw-in groove after described switching, draw-in groove is configured;To realize
Switching between double card.Owing to user can be inputted by operational order, double card switching can be realized, from
And effectively reduce the operation easier of double card switching;Prevent due to the being dismounted for multiple times to cell phone rear cover simultaneously
Buckle is caused on cell phone rear cover to damage, therefore can service life of effective extending cell phone.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method first embodiment of double card of the present invention switching;
Fig. 2 is the schematic flow sheet of method second embodiment of double card of the present invention switching;
Fig. 3 is the refinement flow process restarting modem in method the second embodiment that double card of the present invention switches
Schematic diagram;
Fig. 4 is the schematic flow sheet of method the 3rd embodiment of double card of the present invention switching;
Fig. 5 is the schematic flow sheet of method the 4th embodiment of double card of the present invention switching;
Fig. 6 is to pass through the first configuration information in method one embodiment that double card of the present invention switches to the first draw-in groove
GPIO mouth configure after the connection attribute exemplary plot of each GPIO mouth;
Fig. 7 is to pass through the first configuration information in method one embodiment that double card of the present invention switches to the second draw-in groove
GPIO mouth configure after the connection attribute exemplary plot of each GPIO mouth;
Fig. 8 is to pass through the second configuration information in method one embodiment that double card of the present invention switches to the first draw-in groove
GPIO mouth configure after the connection attribute exemplary plot of each GPIO mouth;
Fig. 9 is to pass through the second configuration information in method one embodiment that double card of the present invention switches to the second draw-in groove
GPIO mouth configure after the connection attribute exemplary plot of each GPIO mouth;
Figure 10 is the high-level schematic functional block diagram of the device first embodiment of double card of the present invention switching;
Figure 11 is the high-level schematic functional block diagram of device second embodiment of double card of the present invention switching;
Figure 12 is that in device the second embodiment that double card of the present invention switches, the refinement functional module of processing module is shown
It is intended to;
Figure 13 is the high-level schematic functional block diagram of device the 3rd embodiment of double card of the present invention switching;
Figure 14 is the high-level schematic functional block diagram of device the 4th embodiment of double card of the present invention switching.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The present invention provides a kind of method that double card switches, and with reference to Fig. 1, in one embodiment, this double card switches
Method comprise the following steps:
Step S10, when receiving double card handover request, restarts modulation /demodulation according to described double card handover request
Device;
The double card changing method that the present embodiment provides is mainly used in mobile phone, for controlling the double card of mobile phone
Switching.In the present embodiment, above-mentioned double card handover request includes the status information when front bayonet slot.Specifically,
Above-mentioned draw-in groove includes the first draw-in groove and the second draw-in groove;The status information of above-mentioned draw-in groove includes normal condition and friendship
Change state.Wherein normal condition is existing card slot status, by the configuration information of draw-in groove to draw-in groove GPIO
After mouth configures so that the phonecard of the first draw-in groove uses as main card, the phonecard in the second draw-in groove
As vice card;Swap status is to configure the GPIO mouth of the first draw-in groove and the second draw-in groove to exchange, and passes through draw-in groove
Configuration information draw-in groove GPIO mouth is configured after so that the phonecard of the second draw-in groove makes as main card
With, the phonecard of the first draw-in groove uses as vice card.It is understood that above-mentioned phonecard can be SIM
Card, UIM card etc..
Above-mentioned double card handover request can be carried out what operation produced by user on mobile phone, and is sent to mobile phone
Background server.After mobile phone background server receives this double card handover request, will cut according to this double card
Change request, carry out restarting the operation of modem (modem).
Step S20, during restarting modem, currently blocks according in described double card handover request
The status information of groove determines the configuration information of draw-in groove after switching;
Step S30, configures draw-in groove according to the configuration information of draw-in groove after described switching.
When being modulated demodulator and restarting, in the case of above-mentioned status information is normal condition, determining
Configuration information after switching is the second configuration information, is entered the GPIO mouth of draw-in groove by this second configuration information
After row configuration so that the phonecard of the first draw-in groove is vice card, and the phonecard of the second draw-in groove is main card;Upper
State in the case of status information is swap status, determine that the configuration information after switching is the first configuration information, logical
Cross after the GPIO mouth of draw-in groove configures by this first configuration information so that the phonecard of the first draw-in groove is main
Card, the phonecard of the second draw-in groove is vice card.
The embodiment of the present invention is by obtaining the status information when front bayonet slot;According to the operational order received and
Described status information generates double card handover request;Modem is restarted according to described double card handover request;
During restarting modem, after in described double card handover request, status information determines switching
The configuration information of draw-in groove;According to the configuration information of draw-in groove after described switching, draw-in groove is configured;To realize
Switching between double card.Owing to user can be inputted by operational order, double card switching can be realized, from
And effectively reduce the operation easier of double card switching;Prevent due to the being dismounted for multiple times to cell phone rear cover simultaneously
Buckle is caused on cell phone rear cover to damage, therefore can service life of effective extending cell phone.
As in figure 2 it is shown, following, the above-mentioned double card handover request of generation is explained in detail.Preferably, originally
The method of the double card switching provided in embodiment also includes:
Step S40, obtains the status information when front bayonet slot;
Step S50, generates double card handover request according to the operational order received and described status information.
In the present embodiment, it is necessary first to obtain the status information of draw-in groove, getting the state when front bayonet slot
After information, whether detecting real-time user inputs the operational order of draw-in groove switching on mobile phone, when user inputs
During the instruction of draw-in groove handover operation, the status information current according to draw-in groove and draw-in groove handover operation are instructed and generates
Double card handover request, and this double card handover request is sent to mobile phone background server.
Further, with reference to Fig. 3, based on above-described embodiment, in the present embodiment, above-mentioned steps S10
Including:
Step S11, initiates to close radio-frequency command, described closedown radio-frequency command according to described double card handover request
Mark is restarted including status information mark and modem;
Step S12, resolve described closedown radio-frequency command obtain include status information mark and modem restart
Mark;
Step S13, enters according to described closedown radio frequency life and closes radio frequency flow process, and at described closedown RF flow
Journey restarts mark control according to the modem resolving acquisition and restarts modem.
In the present embodiment, can close in the prior art and radio-frequency command extend two bytes for storing
Above-mentioned status information mark and modem restart mark.Wherein status information mark includes 0 and 1,0
The status information represented is normal condition, and 1 represents swap status.Modem is restarted mark and is included 0 He
1,0 mark is without restarting modem, and 1 expression needs to restart modem.Specifically, currently
Status information is to be explained in detail as a example by normal condition state.Then according to above-mentioned double card handover request wherein
Status information and the instruction of draw-in groove handover operation corresponding byte status in closedown radio-frequency command is set so that
Status information is designated 0, and modem is restarted and is designated 1.Receive closedown in modem side to penetrate
After frequency order, will carry out closing the flow operations of radio frequency, in the flow operations carrying out closedown radio frequency, root
Restart to identify to restart according to modem and judge whether to need to be modulated restarting of demodulator.Now modulate
Demodulator is restarted and is designated 1, then need that this is restarted mark and be reset to 0, and enter modem
Reboot operation.In the present embodiment, owing in existing closedown radio-frequency command, extended byte preserves state letter
Breath mark and modem restart mark, therefore without again developing software command, reduce research and development
Difficulty.
It should be noted that in the present embodiment, the generation of above-mentioned closedown radio-frequency command can have above-mentioned double
Card handover request triggers, it is also possible to is operated generation by existing other, such as, enters offline mode, now
Modem in above-mentioned cut out radio-frequency command restarts and is designated 0, and modem receives this cut out
During radio-frequency command, it is only necessary to carry out closing the operation of radio frequency, it is not necessary to perform to restart the operation of modem.
Further, based on above-described embodiment, in the present embodiment, above-mentioned steps S20 particularly as follows:
Uimdrv initial phase is driven, according to resolving the described status information spectroscopic analysis obtained at draw-in groove
Obtain the configuration information of draw-in groove after switching.
In the present embodiment, can be in modem to restart flow process, draw-in groove drives uimdrv to initialize rank
Duan Tianjia decision logic.Specifically, uimdrv initial phase is driven performing draw-in groove, according to obtain
Status information mark judges the configuration information being currently needed for loading according to this decision logic.
Further, with reference to Fig. 4, based on above-described embodiment, in the present embodiment, above-mentioned steps S40
The most also include:
Step S60, exports a display interface, shows described status information and described operational order input option.
The present embodiment can arrange an actions menu, show, when calling this display interface, get above-mentioned
Status information, has the option that change is arranged when front bayonet slot on this actions menu, and user can be this behaviour
Make on menu, to input corresponding operational order, thus generate above-mentioned double card handover request.
Further, with reference to Fig. 5, based on above-described embodiment, in the present embodiment, before above-mentioned steps S40
Also include:
Step S70, the configuration information of preset described draw-in groove;Described draw-in groove includes the first draw-in groove and the second draw-in groove,
Described configuration information includes the first configuration information and the second configuration information, in described first configuration information first
In draw-in groove and the second configuration information, the second draw-in groove is corresponding, the second draw-in groove and second in described first configuration information
In configuration information, the first draw-in groove is corresponding.
In the present embodiment, above-mentioned first configuration information is the first draw-in groove and the second draw-in groove under normal condition
The configuration information of GPIO mouth, above-mentioned second configuration information is the first draw-in groove and the second draw-in groove under swap status
The configuration information of GPIO mouth.As shown in Figure 6 and Figure 7, by the first configuration information to the first draw-in groove and
The GPIO mouth of two draw-in grooves is the connection attribute of each GPIO mouth after configuring.As shown in Figure 8 and Figure 9, logical
Cross the company of each GPIO mouth after the GPIO mouth of the first draw-in groove and the second draw-in groove is configured by the second configuration information
Connect attribute.
The present invention also provides for the device of a kind of double card switching, with reference to Figure 10, in one embodiment, the present invention
The device of the double card switching provided includes:
Acquisition module 10, for obtaining the status information when front bayonet slot;
The double card switching device that the present embodiment provides is mainly used in mobile phone, for controlling the double card of mobile phone
Switching.Specifically, above-mentioned draw-in groove includes the first draw-in groove and the second draw-in groove;The status information bag of above-mentioned draw-in groove
Include normal condition and swap status.Wherein normal condition is existing card slot status, by the configuration of draw-in groove
After draw-in groove GPIO mouth is configured by information so that the phonecard of the first draw-in groove uses as main card, second
Phonecard in draw-in groove is as vice card;Swap status is to be configured by the GPIO mouth of the first draw-in groove and the second draw-in groove
Exchange, after draw-in groove GPIO mouth being configured by the configuration information of draw-in groove so that the phone of the second draw-in groove
Card uses as main card, and the phonecard of the first draw-in groove uses as vice card.It is understood that above-mentioned electricity
Words card can be SIM, UIM card etc..
Request generation module 20, for generating double card according to the operational order received and described status information
Handover request;
In the present embodiment, user can operate on mobile phone, refers to when user inputs draw-in groove handover operation
When making, the status information current according to draw-in groove and draw-in groove handover operation are instructed and generate double card handover request,
And this double card handover request is sent to mobile phone background server.
Processing module 10, when being used for receiving double card handover request, restarts according to described double card handover request
Modem;
The double card switching device that the present embodiment provides is mainly used in mobile phone, for controlling the double card of mobile phone
Switching.In the present embodiment, above-mentioned double card handover request includes the status information when front bayonet slot.Specifically,
Above-mentioned draw-in groove includes the first draw-in groove and the second draw-in groove;The status information of above-mentioned draw-in groove includes normal condition and friendship
Change state.Wherein normal condition is existing card slot status, by the configuration information of draw-in groove to draw-in groove GPIO
After mouth configures so that the phonecard of the first draw-in groove uses as main card, the phonecard in the second draw-in groove
As vice card;Swap status is to configure the GPIO mouth of the first draw-in groove and the second draw-in groove to exchange, and passes through draw-in groove
Configuration information draw-in groove GPIO mouth is configured after so that the phonecard of the second draw-in groove makes as main card
With, the phonecard of the first draw-in groove uses as vice card.It is understood that above-mentioned phonecard can be SIM
Card, UIM card etc..
Above-mentioned double card handover request can be carried out what operation produced by user on mobile phone, and is sent to mobile phone
Background server.After mobile phone background server receives this double card handover request, will cut according to this double card
Change request, carry out restarting the operation of modem (modem).
Determine module 20, for during restarting modem, according to described double card handover request
In after the status information of front bayonet slot determines switching the configuration information of draw-in groove;
Configuration module 30, for configuring draw-in groove according to the configuration information of draw-in groove after described switching.
When being modulated demodulator and restarting, in the case of above-mentioned status information is normal condition, determining
Configuration information after switching is the second configuration information, is entered the GPIO mouth of draw-in groove by this second configuration information
After row configuration so that the phonecard of the first draw-in groove is vice card, and the phonecard of the second draw-in groove is main card;Upper
State in the case of status information is swap status, determine that the configuration information after switching is the first configuration information, logical
Cross after the GPIO mouth of draw-in groove configures by this first configuration information so that the phonecard of the first draw-in groove is main
Card, the phonecard of the second draw-in groove is vice card.
The embodiment of the present invention is by obtaining the status information when front bayonet slot;According to the operational order received and
Described status information generates double card handover request;Modem is restarted according to described double card handover request;
During restarting modem, after in described double card handover request, status information determines switching
The configuration information of draw-in groove;According to the configuration information of draw-in groove after described switching, draw-in groove is configured;To realize
Switching between double card.Owing to user can be inputted by operational order, double card switching can be realized, from
And effectively reduce the operation easier of double card switching;Prevent due to the being dismounted for multiple times to cell phone rear cover simultaneously
Buckle is caused on cell phone rear cover to damage, therefore can service life of effective extending cell phone.
As shown in figure 11, below the above-mentioned double card handover request of generation is explained in detail.Preferably, originally
The device of the double card switching provided in embodiment also includes:
Acquisition module 40, for obtaining the status information when front bayonet slot;
Request generation module 50, for generating double card according to the operational order received and described status information
Handover request.
In the present embodiment, it is necessary first to obtain the status information of draw-in groove, getting the state when front bayonet slot
After information, whether detecting real-time user inputs the operational order of draw-in groove switching on mobile phone, when user inputs
During the instruction of draw-in groove handover operation, the status information current according to draw-in groove and draw-in groove handover operation are instructed and generates
Double card handover request, and this double card handover request is sent to mobile phone background server.
Further, with reference to Figure 12, based on above-described embodiment, in the present embodiment, above-mentioned processing module
10 include:
Unit 11 is initiated in order, for initiating to close radio-frequency command according to described double card handover request, described
Close radio-frequency command and include that status information mark and modem restart mark;
Resolution unit 12, resolves the acquisition of described closedown radio-frequency command and includes status information mark and modem
Restart mark;
Processing unit 13, closes radio frequency flow process for entering according to described closedown radio frequency life, and in described pass
Close in radio frequency flow process according to resolve obtain modem restart mark control restart modem.
In the present embodiment, can close in the prior art and radio-frequency command extend two bytes for storing
Above-mentioned status information mark and modem restart mark.Wherein status information mark includes 0 and 1,0
The status information represented is normal condition, and 1 represents swap status.Modem is restarted mark and is included 0 He
1,0 mark is without restarting modem, and 1 expression needs to restart modem.Specifically, currently
Status information is to be explained in detail as a example by normal condition state.Then according to above-mentioned double card handover request wherein
Status information and the instruction of draw-in groove handover operation corresponding byte status in closedown radio-frequency command is set so that
Status information is designated 0, and modem is restarted and is designated 1.Receive closedown in modem side to penetrate
After frequency order, will carry out closing the flow operations of radio frequency, in the flow operations carrying out closedown radio frequency, root
Restart to identify to restart according to modem and judge whether to need to be modulated restarting of demodulator.Now modulate
Demodulator is restarted and is designated 1, then need that this is restarted mark and be reset to 0, and enter modem
Reboot operation.In the present embodiment, owing in existing closedown radio-frequency command, extended byte preserves state letter
Breath mark and modem restart mark, therefore without again developing software command, reduce research and development
Difficulty.
It should be noted that in the present embodiment, the generation of above-mentioned closedown radio-frequency command can have above-mentioned double
Card handover request triggers, it is also possible to is operated generation by existing other, such as, enters offline mode, now
Modem in above-mentioned cut out radio-frequency command restarts and is designated 0, and modem receives this cut out
During radio-frequency command, it is only necessary to carry out closing the operation of radio frequency, it is not necessary to perform to restart the operation of modem.
Further, based on above-described embodiment, in the present embodiment, above-mentioned determine unit 40 specifically for,
Drive uimdrv initial phase at draw-in groove, obtain according to resolving the described status information spectroscopic analysis obtained
The configuration information of draw-in groove after switching.
Uimdrv initial phase is driven, according to resolving the described status information spectroscopic analysis obtained at draw-in groove
Obtain the configuration information of draw-in groove after switching.
In the present embodiment, can be in modem to restart flow process, draw-in groove drives uimdrv to initialize rank
Duan Tianjia decision logic.Specifically, uimdrv initial phase is driven performing draw-in groove, according to obtain
Status information mark judges the configuration information being currently needed for loading according to this decision logic.
Further, with reference to Figure 13, based on above-described embodiment, in the present embodiment, above-mentioned double card switches
Device also include:
Display output module 60, for output one display interface, shows described status information and described operation
Instruction input option.
The present embodiment can arrange an actions menu, show, when calling this display interface, get above-mentioned
Status information, has the option that change is arranged when front bayonet slot on this actions menu, and user can be this behaviour
Make on menu, to input corresponding operational order, thus generate above-mentioned double card handover request.
Further, with reference to Figure 14, based on above-described embodiment, in the present embodiment, the switching of above-mentioned double card
Device also includes:
Preset module 70, for the configuration information of preset described draw-in groove;Described draw-in groove include the first draw-in groove and
Second draw-in groove, described configuration information includes the first configuration information and the second configuration information, described first configuration
In information, in the first draw-in groove and the second configuration information, the second draw-in groove is corresponding, in described first configuration information second
In draw-in groove and the second configuration information, the first draw-in groove is corresponding.
In the present embodiment, above-mentioned first configuration information is the first draw-in groove and the second draw-in groove under normal condition
The configuration information of GPIO mouth, above-mentioned second configuration information is the first draw-in groove and the second draw-in groove under swap status
The configuration information of GPIO mouth.As shown in Figure 6 and Figure 7, by the first configuration information to the first draw-in groove and
The GPIO mouth of two draw-in grooves is the connection attribute of each GPIO mouth after configuring.As shown in Figure 8 and Figure 9, logical
Cross the company of each GPIO mouth after the GPIO mouth of the first draw-in groove and the second draw-in groove is configured by the second configuration information
Connect attribute.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (12)
1. the method for a double card switching, it is characterised in that the method for described double card switching includes following step
Rapid:
When receiving double card handover request, restart modem according to described double card handover request;
During restarting modem, according in described double card handover request when the state of front bayonet slot
Information determines the configuration information of draw-in groove after switching;
According to the configuration information of draw-in groove after described switching, draw-in groove is configured.
2. the method for double card switching as claimed in claim 1, it is characterised in that the switching of described double card
Method also includes:
Obtain the status information when front bayonet slot;
Double card handover request is generated according to the operational order received and described status information.
3. the method for double card switching as claimed in claim 2, it is characterised in that described cut according to double card
The request of changing is restarted modem and is included:
Initiating to close radio-frequency command according to described double card handover request, described closedown radio-frequency command includes state
Message identification and modem restart mark;
Resolve described closedown radio-frequency command obtain include status information mark and modem restart mark;
Enter according to described closedown radio frequency life and close radio frequency flow process, and basis in described closedown radio frequency flow process
The modem that parsing obtains is restarted mark control and is restarted modem.
4. the method for double card switching as claimed in claim 3, it is characterised in that described restarting modulation
During demodulator, according to the configuration of draw-in groove after status information determines switching in described double card handover request
Information particularly as follows:
Uimdrv initial phase is driven, according to resolving the described status information spectroscopic analysis obtained at draw-in groove
Obtain the configuration information of draw-in groove after switching.
5. the method for double card switching as claimed in claim 2, it is characterised in that described acquisition currently blocks
Also include after the state information Step of groove:
Export a display interface, show described status information and described operational order input option.
6. the method for the double card switching as according to any one of claim 1 to 5, it is characterised in that institute
State to obtain and also included before the state information Step of front bayonet slot:
The configuration information of preset described draw-in groove;Described draw-in groove includes the first draw-in groove and the second draw-in groove, described in join
Confidence breath include the first configuration information and the second configuration information, in described first configuration information the first draw-in groove and
In second configuration information, the second draw-in groove is corresponding, the second draw-in groove and the second configuration letter in described first configuration information
In breath, the first draw-in groove is corresponding.
7. the device of a double card switching, it is characterised in that the device of described double card switching includes:
Processing module, for when receiving double card handover request, restarts according to described double card handover request
Modem;
Determine module, for during restarting modem, according in described double card handover request
The configuration information of draw-in groove after the status information of front bayonet slot determines switching;
Configuration module, for configuring draw-in groove according to the configuration information of draw-in groove after described switching.
8. the device of double card switching as claimed in claim 7, it is characterised in that the switching of described double card
Device also includes:
Acquisition module, for obtaining the status information when front bayonet slot;
Request generation module, cuts for generating double card according to the operational order received and described status information
Change request.
9. the device of double card switching as claimed in claim 8, it is characterised in that described processing module bag
Include:
Unit is initiated in order, for initiating to close radio-frequency command, described pass according to described double card handover request
Close radio-frequency command and include that status information mark and modem restart mark;
Resolution unit, resolve described closedown radio-frequency command obtain include status information mark and modulation /demodulation think highly of
Open mark;
Processing unit, closes radio frequency flow process for entering according to described closedown radio frequency life, and in described closedown
Radio frequency flow process restarts mark control according to the modem resolving acquisition and restarts modem.
10. the device of double card switching as claimed in claim 9, it is characterised in that described determine unit
Specifically for, drive uimdrv initial phase at draw-in groove, according to resolving the described status information mark obtained
Know and analyze the configuration information of draw-in groove after acquisition switches.
The device of 11. double card as claimed in claim 8 switchings, it is characterised in that described double card switches
Device also include:
Display output module, for output one display interface, shows that described status information and described operation refer to
Order input option.
The device of the 12. double card switchings as according to any one of claim 7 to 11, it is characterised in that
The device of described double card switching also includes:
Preset module, for the configuration information of preset described draw-in groove;Described draw-in groove includes the first draw-in groove and
Two draw-in grooves, described configuration information includes the first configuration information and the second configuration information, described first configuration letter
In breath, in the first draw-in groove and the second configuration information, the second draw-in groove is corresponding, the second card in described first configuration information
In groove and the second configuration information, the first draw-in groove is corresponding.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510259566.0A CN106302952A (en) | 2015-05-20 | 2015-05-20 | The method and device of double card switching |
PCT/CN2015/083852 WO2016183916A1 (en) | 2015-05-20 | 2015-07-13 | Dual card switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510259566.0A CN106302952A (en) | 2015-05-20 | 2015-05-20 | The method and device of double card switching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106302952A true CN106302952A (en) | 2017-01-04 |
Family
ID=57319214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510259566.0A Pending CN106302952A (en) | 2015-05-20 | 2015-05-20 | The method and device of double card switching |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106302952A (en) |
WO (1) | WO2016183916A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966304A (en) * | 2017-05-27 | 2018-12-07 | 成都鼎桥通信技术有限公司 | A kind of switching method and apparatus of network mode |
CN111050309A (en) * | 2018-10-12 | 2020-04-21 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal, network registration method thereof and storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111970679A (en) * | 2020-08-07 | 2020-11-20 | 西安闻泰电子科技有限公司 | Soft switching method, device, equipment and storage medium of smart card |
CN112217936A (en) * | 2020-11-09 | 2021-01-12 | 高新兴物联科技有限公司 | Dual-card switching method and device, electronic device and computer readable storage medium |
CN112969207B (en) * | 2021-02-23 | 2022-12-27 | Oppo广东移动通信有限公司 | Switching method and device of default data main card, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184293A (en) * | 2007-12-13 | 2008-05-21 | 展讯通信(上海)有限公司 | Dual-card intelligent switch method for mobile phone |
CN102638613A (en) * | 2012-03-12 | 2012-08-15 | 上海摩软通讯技术有限公司 | Multi-card mobile phone and card switching method |
CN103067543A (en) * | 2013-01-07 | 2013-04-24 | 华为终端有限公司 | User identity recognition card changing-over processing method and terminal equipment |
US20140274210A1 (en) * | 2013-03-14 | 2014-09-18 | Eternal Electronics Limited | Dual sim card adapter for mobile device |
CN104349304A (en) * | 2013-08-08 | 2015-02-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104365149A (en) * | 2012-11-16 | 2015-02-18 | 联发科技股份有限公司 | Method and apparatus for standby with a dual-standby modem and establishing single connection for one subcscriber identity card |
-
2015
- 2015-05-20 CN CN201510259566.0A patent/CN106302952A/en active Pending
- 2015-07-13 WO PCT/CN2015/083852 patent/WO2016183916A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184293A (en) * | 2007-12-13 | 2008-05-21 | 展讯通信(上海)有限公司 | Dual-card intelligent switch method for mobile phone |
CN102638613A (en) * | 2012-03-12 | 2012-08-15 | 上海摩软通讯技术有限公司 | Multi-card mobile phone and card switching method |
CN104365149A (en) * | 2012-11-16 | 2015-02-18 | 联发科技股份有限公司 | Method and apparatus for standby with a dual-standby modem and establishing single connection for one subcscriber identity card |
CN103067543A (en) * | 2013-01-07 | 2013-04-24 | 华为终端有限公司 | User identity recognition card changing-over processing method and terminal equipment |
US20140274210A1 (en) * | 2013-03-14 | 2014-09-18 | Eternal Electronics Limited | Dual sim card adapter for mobile device |
CN104349304A (en) * | 2013-08-08 | 2015-02-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966304A (en) * | 2017-05-27 | 2018-12-07 | 成都鼎桥通信技术有限公司 | A kind of switching method and apparatus of network mode |
CN111050309A (en) * | 2018-10-12 | 2020-04-21 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal, network registration method thereof and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016183916A1 (en) | 2016-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302952A (en) | The method and device of double card switching | |
EP3666960A1 (en) | Clothes identification system for washing machines, and binding method and clothes identification method of said system | |
CN111541956B (en) | Optical port self-adaption method, device, switch and computer readable storage medium | |
CN104166610A (en) | Mobile terminal detection method and detection system | |
CN105338550B (en) | A kind of management method and device of the connection for wireless network | |
CN104932937A (en) | Method and device for switching application program | |
CN113422794A (en) | Traffic recording and playback processing method and device and electronic equipment | |
CN105653171A (en) | Fingerprint identification based terminal control method, terminal control apparatus and terminal | |
US8799546B2 (en) | Method and apparatus for monitoring single board running state | |
CN104168385A (en) | Double card switchover method and device | |
CN105025254B (en) | A kind of multi-platform monitoring terminal system development approach | |
CN110784879A (en) | Network mode switching test method, system, equipment and medium of communication module | |
CN104301926A (en) | Distributed automatic dial testing system and method used for communication network testing | |
CN109769279A (en) | Non-service state control method, device and mobile terminal | |
CN113596832A (en) | Network connection establishing method and device, storage medium and electronic device | |
CN112269746A (en) | Automatic testing method and related equipment | |
CN108738059B (en) | WIFI module testing method and device | |
US20170131826A1 (en) | Method and device for operating upon no response of touch screen | |
CN104684015A (en) | Equipment maintenance method and equipment | |
CN104424198A (en) | Method and device for acquiring page display speed | |
CN104166599A (en) | Method for recovering delivery configuration by restarting ARM device | |
CN109921923A (en) | Network collocating method, device, receiver and the storage medium of receiver | |
CN104168386B (en) | Double card changing method and device | |
CN107404731A (en) | The test system and method for testing of wireless communication module | |
CN109445721A (en) | A kind of method and device of canonical log information printing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
RJ01 | Rejection of invention patent application after publication |