[go: up one dir, main page]

CN102340862B - Multi-card terminal frame synchronization method and structure thereof - Google Patents

Multi-card terminal frame synchronization method and structure thereof Download PDF

Info

Publication number
CN102340862B
CN102340862B CN201010236992.XA CN201010236992A CN102340862B CN 102340862 B CN102340862 B CN 102340862B CN 201010236992 A CN201010236992 A CN 201010236992A CN 102340862 B CN102340862 B CN 102340862B
Authority
CN
China
Prior art keywords
frame
comparator
subscriber identity
timer
count value
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
CN201010236992.XA
Other languages
Chinese (zh)
Other versions
CN102340862A (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201010236992.XA priority Critical patent/CN102340862B/en
Publication of CN102340862A publication Critical patent/CN102340862A/en
Application granted granted Critical
Publication of CN102340862B publication Critical patent/CN102340862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a multi-card terminal frame synchronization method and a structure thereof. According to a network mode supported by a terminal, a frame timer is arranged for each mode; periodic counting is carried out according to a subframe length and a timing precision of each of the mode; and a comparator is distributed to each SIM card in each of the mode; when an SIM card stays at a cell of any of the mode, on the basis of an intra-frame deviant of the cell, a comparison parameter is arranged for a comparator that is corresponded to the SIM card in the mode; the comparator carries out comparison on a frame timer counting value of the corresponded mode and the comparison parameter; and when the frame timer counting value and the comparison parameter are consistent to each other, frame interruption is triggered for the corresponded SIM card and thus frame synchronization between the SIM card and the network side is completed. During the whole synchronization process, it is unnecessary to modify the intra-frame deflection of the frame timer; so, no matter how many SIM cards are simultaneously supported by the terminal, each network mode can share a frame timer; therefore, it is unnecessary to use a plurality of sets of radio frequency chips or a plurality of sets of frame timers to realize frame synchronization of a plurality of SIM cards, so that energy consumption and manufacturing costs of the multi-card terminal are reduced.

Description

A kind of many card terminals frames synchronous method and structure
Technical field
The present invention relates to wireless communication field, relate in particular to the frame synchronizing in radio communication.
Background technology
Development along with mobile communication technology, speech business is substituted by data service just gradually, from the second generation (2nd Generation, abbreviation " 2G ") mobile communications network will be the trend of current telecommunications industry development to the third generation (3rd Generation is called for short " 3G ") mobile communications network transition.The appearance of bimodulus and even multi-mode wireless mobile phone is the product of mobile communications industry development from the smooth transition of 2G network to 3G network, and it means that the process of 3G will be gradual, can in operation, progressively cultivate with perfect.
So-called dual-mode handset refers to and can pass through a Subscriber Identity Module (Subscriber Identification Module, abbreviation " SIM " card) the distinct mobile network's of any choice for use two cover mobile phone, this two covers network can be both current global system for mobile communications (Global System of Mobile Communication, be called for short " GSM ") and CDMA mobile communication systems (Code Division Multiple Access, be called for short " CDMA "), also can be current 2G, 2.5G and developing 3G, can be even two kinds of different 3G standards, as TDS-CDMA mobile communication system (Time Division-Synchronous Code Division Multiple Access, be called for short " TD-SCDMA ") and WCDMA mobile communication system (Wideband Code Division Multiple Access, be called for short " WCDMA ").The advantage of multi-mode wireless mobile phone terminal is to use a SIM card to take into account two networks simultaneously, the in the situation that of making operator at number of different types network and deposit, allows user use more easily the better network of signal, and shares the business of heterogeneous networks.
Along with mobile communication technology going deep in people's live and work, increasing user need to use a plurality of mobile phones simultaneously, and in order to further facilitate user, double card double standby mobile phone produces thus.Double card double standby mobile phone refers to a mobile phone, can load two SIM cards simultaneously, and these two cards are all in holding state.Two SIM cards that use can be the single mode cards of only supporting a network schemer, can be also support two network schemers bimodulus SIM card.
Currently marketed dual-card dual-standby, has the dual-card dual-standby of only supporting same network schemer, and single net is two treats, such as the double-card dual-standby of GSM network schemer, and the double-card dual-standby of cdma network pattern etc.; Also there is the dual-network and dual-standby machine of supporting heterogeneous networks pattern, such as by CDMA and GSM network integration, a mobile phone can insert the SIM card of two heterogeneous networks patterns simultaneously, and makes it simultaneously in holding state, user, without handover network, can carry out miscellaneous service incessantly.
No matter, for single deck tape-recorder mobile phone or double card double standby mobile phone, carry out with network side reception and the transmission of normal information, the frame of its physical layer regularly must keep synchronizeing with network side.Take TD-SCDMA and GSM dual-mode handset is example, the frame interior synchronization timing structure of the baseband processing chip of existing single SIM card dual-mode handset as shown in Figure 1, comprise a frame timer under TD-SCDMA pattern, the frame timer under a GSM pattern and an interrupt control unit.The precision of TD-SCDMA frame timer and GSM frame timer is respectively the minimum timing precision of these two kinds of patterns, and TD-SCDMA is 1/8chip=1/10.24MHz, and GSM is Qbit=12/13MHz; Two frame timer are all periodic frame timer, and its cycle is respectively the subframe lengths 5ms of TD-SCDMA and the subframe lengths 4.615ms of GSM; Because a TD-SCDMA5ms subframe comprises 6400chip, i.e. 51200 1/8chip, so the span of the frame bias internal of TD-SCDMA frame timer is 0~51199, as shown in Figure 2; Equally, GSM frame bias internal scope is 0~4999, whenever frame timer count down to, can trigger the frame interruption of interrupting as physical layer at 0 o'clock.The phase place of two frame timer is adjustable, and TD-SCDMA and GSM frame timer can be arranged on and while reaching certain phase place, start another frame timer.
Frame timer interrupts at frame of every frame frame head location triggered, and software utilizes the work of this periodic interruptions signal configures present frame or next frame, and visible frame is the heartbeat of similar physical layer regularly.In the situation that terminal and network side keep synchronous, frame interval is regularly fixed, and every mistake one frame frame number adds 1.Fig. 4 is the example that under a TD-SCDMA pattern, frame regularly keeps, and TD-SCDMA frame timer be take 5ms as the cycle, on the position that is 0, triggers and interrupts in phase place, and every one-period frame number of crossing adds 1.
In terminal and the nonsynchronous situation of network side, must adjust frame and regularly regain synchronously, generally in following process, may need to carry out frame timing adjustment: after starting up of terminal first search cell carry out that community is resident, terminal carry out that pattern Nei community is switched and terminal emergence pattern between community switch; Its small area is resident does not change the residing network schemer of SIM card with the interior cell switch process of pattern, so be referred to as frame timing adjustment in pattern, between pattern, in cell switch process, the residing network schemer of SIM card will change, so be called frame timing adjustment between pattern.Transformational relation between them as shown in Figure 3.
Wherein, in pattern, frame timing adjustment is relatively simple, when physical layer need to be adjusted frame timing, only needs the phase place that changes the frame timer under this pattern just can make the frame head of next frame change, and it is synchronizeed with network side.Fig. 5 adjusts frame example regularly under a TD-SCDMA pattern, by the measurement to neighbor cell, obtain the synchronizing information of new community, determine 200 1/10.24MHz places after the frame head original position Yuan community frame head of new community, the frame number of new community next frame is M, by software, is arranged the frame bias internal of frame timer under TD-SCDMA pattern is adjusted to 200 backward.The frame number of former community is N, is switched to behind new community, frame number is modified as to the frame number M of new community in frame interrupts.
For dual-mode handset, if being set to automatic mode, SIM card switches, along with the variation of the base station signal strength of heterogeneous networks pattern in moving process, terminal need to be switched to signal compared with the community of strong mode from the community of signal pattern on the weak side.When switch community under carrying out different mode, need to carry out frame synchronization adjustment between pattern.Terminal must keep the measurement to Serving cell and neighbor cell, obtains synchronizing information, completes frame synchronization adjustment after being switched to target pattern, so that receiving system message immediately.
When specific implementation, can by physical layer software utilize TD-SCDMA and GSM frame timer mutually the function of start by set date complete the timing adjustment that switch community between pattern.Fig. 6 is a frame timing adjustment process that is switched to GSM pattern from TD-SCDMA pattern.By the measurement to GSM neighbor cell under TD-SCDMA pattern, physical layer can obtain next GSM subframe apart from 40000 1/10.24MHz of TD-SCDMA N frame frame head, and GSM frame number is M.Software is configured in TD-SCDMA frame timer and count down at 40000 o'clock and start GSM frame timer, can complete regularly and switch.
Other patterns except TD-SCDMA, GSM, as WCDMA pattern, Long Term Evolution (Long Term Evolution, abbreviation " LTE ") pattern etc. needs to carry out frame synchronization too, identical with GSM and TD-SCDMA, physical layer also need to be in cell initial search, pattern community switch and pattern between carry out frame timing adjustment in cell switch process.
The present inventor's discovery, according to terminal capabilities, existing dual-card dual-standby terminal can be divided into three kinds:
1. two cards that terminal is supported must belong to same operator.
2. two cards that terminal is supported at one time must be in same network schemer.
3. two same times of card that terminal is supported can be arbitrarily in arbitrary network pattern.
The first situation, two cards belong to same operator, too inflexible to user's restriction, very inconvenient for user.The second situation, although user can insert the SIM card of two different operators, but terminal limitations double card must be in same network schemer at synchronization, this just requires user's two SIM cards must be double-mode card, if wherein one is single mode card, as GSM single mode card, user is when using the business of TD-SCDMA network so, its GSM single mode card just can not have been used, and the use that is similarly user brings very big inconvenience.
And for the third situation, if terminal is supported two SIM cards of different operators, and every card can select arbitrarily network schemer according to demand, adopting the baseband processing chip of existing support single deck tape-recorder dual-mode handset to carry out frame interior synchronization timing has following defect:
Because corresponding each network schemer in the frame interior synchronization timing structure of existing single deck tape-recorder bimodulus baseband processing chip only has a frame timer, thereby in the situation that two cards are selected network schemer arbitrarily, adopt existing frame synchronization timing mode, a set of baseband processing chip (base band+radio frequency chip) can only support a SIM card to realize the frame synchronization under model identical and different mode, from hardware configuration, for dual-card dual-standby terminal, need to support respectively two SIM cards to carry out frame synchronization with the base band+radio frequency chip of two covers, although employing aforesaid way, the implementation method of software is fairly simple, because two cover chips are supported different SIM card, so two cover base-band softwares (comprise physical layer, high-rise) independent operating, only need multiplexing a set of application software.But in order to make two SIM cards all in open state, battery will, to two cover chip power supplies, inevitably increase power consumption than single deck tape-recorder mobile phone.And the price of base band and radio frequency chip is higher, can improve undoubtedly the cost of the terminal that adopts above-mentioned technology.
Specifically, if adopt a set of base band+radio frequency chip to carry out the frame synchronization of double card double standby mobile phone terminal, in two resident same pattern situations of card, owing to only having a frame timer under a pattern, regularly maintaining method cannot be simultaneously for two cards provide frame regularly to rely on above-mentioned frame; At two resident different modes of card, be arranged to again in the situation of bimodulus automatic mode, just may switch by emergence pattern at any time, and may be a card switch mode, it is constant that another still resides in original pattern, and the mode switching method of prior art need to start in certain time the frame timer of another pattern, but the frame timer of another pattern is now also being safeguarded the frame timing of another SIM card, once restart, another SIM card will regularly be lost and off-grid because of frame.The frame synchronization mode of a set of base band+radio frequency chip of visible employing cannot be simultaneously for double card double standby mobile phone terminal be carried out frame regularly.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of many card terminals frames synchronous method and structure, make to support that the terminal of many cards standby simultaneously can realize the frame synchronization of many cards by a set of base band and radio frequency chip, reduced energy consumption and the cost of manufacture of many cards terminal.
In order to solve the problems of the technologies described above, the invention provides a kind of many card terminals frames synchronous method, in described terminal, comprise at least two SIM cards, at least two network schemers of at least one SIM card support wherein, each network schemer is a corresponding frame timer respectively, and the comparator matching with SIM card number;
The frame timer of each network schemer carries out periodicity counting according to subframe lengths and timing accuracy under present networks pattern;
For every SIM card starts the comparator under the residing network schemer of this SIM card, in this comparator, be provided with a comparative parameter, frame bias internal value by SIM card community of living in corresponding to this comparator is determined, described each comparator is compared set comparative parameter with the frame timer count value of map network pattern, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted;
According to the frame interrupt signal of comparator triggering corresponding to described each SIM card, complete the frame synchronization of this SIM card and network side.
As further improvement, the method can also comprise following steps:
When in described SIM card is carried out pattern, switch community, according to the frame bias internal value of switching Hou Xin community reset this SIM card comparative parameter in corresponding comparator, described comparator is by the frame timer count value comparison of newly-installed comparative parameter and described network schemer, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted.
As further improvement, the method can also comprise following steps:
Described SIM card is carried out between pattern community while switching, obtain the frame synchronization information that switches Hou Xin community, obtain the count value of the frame timer of former network schemer before switching and the frame timer of the rear new network schemer of switching simultaneously, select next idle comparator of new network schemer as comparator corresponding to described SIM card, in conjunction with the frame synchronization information of described new community and two frame timer count values obtaining, determine the start-up time of the comparator that described SIM card is corresponding, and comparative parameter, when arriving described start-up time, start this comparator, this comparator is by the count value comparison of the frame timer of comparative parameter and described new network schemer, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted.
As further improvement, the frame timer of described each network schemer comprises frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under present networks pattern in described frame bias internal counting region, cycle is present networks pattern subframe lengths, often reaches sub-frame count region described in one-period and adds 1.
As further improvement, in the frame synchronization information of described switching Hou Xin community, comprise: the frame head position of new community, the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value;
The frame synchronization information of the new community of described combination and two frame timer count values obtaining, determine that the mode of the comparative parameter of the comparator that described SIM card is corresponding is:
Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
As further improvement, the frame synchronization information of the new community of described combination and two frame timer count values obtaining, determine that the mode of the start-up time of the comparator that described SIM card is corresponding is:
The described migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time, when the sub-frame count value of described new network schemer frame timer arrives described start-up time, start described comparator.
The present invention also provides a kind of many card terminals frames synchronization structures, in this terminal, comprise at least two SIM cards, at least two network schemers of at least one SIM card support wherein, in this structure, comprise the frame timer with supported network schemer same number, the corresponding network schemer of each frame timer, the frame timer of each network schemer is for carrying out periodicity counting according to subframe lengths and timing accuracy under present networks pattern;
Under each network schemer, also comprise and the same number of comparator of SIM card, every SIM card starts the comparator under the residing network schemer of this SIM card,
This structure also comprises parameter module is set, for according to the frame bias internal value of SIM card community of living in corresponding to comparator, for this comparator arranges a comparative parameter;
Described each comparator is for set comparative parameter is compared with the frame timer count value of map network pattern, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted;
In this structure, also comprise a synchronization module, for the frame interrupt signal triggering according to comparator corresponding to described each SIM card, complete the frame synchronization of this SIM card and network side.
As further improvement, described parameter arranges module while also switching for community in described SIM card is carried out pattern, according to the frame bias internal value of switching Hou Xin community reset this SIM card comparative parameter in corresponding comparator;
Described comparator is by the frame timer count value comparison of newly-installed comparative parameter and described network schemer, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted.
As further improvement, this structure can also comprise:
Acquisition of information module, for carrying out between pattern community in described SIM card while switching, obtains the frame synchronization information that switches Hou Xin community, and, obtain the frame timer of former network schemer before switching simultaneously and switch after the count value of frame timer of new network schemer;
Parameter calculating module, for the frame synchronization information in conjunction with described new community and two frame timer count values obtaining, determines start-up time and the comparative parameter of comparator under new network schemer corresponding to described SIM card;
Described parameter arranges module also for selecting next idle comparator of new network schemer as comparator corresponding to described SIM card, according to the result of calculation of parameter calculating module, the comparative parameter of this comparator is set;
Also comprise startup module, for when arriving described start-up time, start corresponding comparator;
Comparator under this new network schemer is by the count value comparison of the frame timer of comparative parameter and described new network schemer, when described count value is corresponding with described comparative parameter, for the SIM card trigger frame that this comparator is corresponding is interrupted.
As further improvement, the frame timer of described each network schemer comprises frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under present networks pattern in described frame bias internal counting region, cycle is present networks pattern subframe lengths, often reaches sub-frame count region described in one-period and adds 1.
As further improvement, in the frame synchronization information of described switching Hou Xin community, comprise: the frame head position of new community, the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value;
Described parameter calculating module determines that the mode of the comparative parameter of the comparator that described SIM card is corresponding is:
Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
As further improvement, described parameter calculating module determines that the mode of the start-up time of the comparator that described SIM card is corresponding is:
The described migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time;
Described startup module, when the sub-frame count value of described new network schemer frame timer arrives described start-up time, starts described comparator.
Embodiment of the present invention compared with prior art, the main distinction and effect thereof are: the network schemer of supporting according to terminal, for each network schemer arranges a frame timer, according to the subframe lengths of this network schemer and timing accuracy, carry out periodicity counting, under each network schemer, be that every SIM card distributes a comparator, when the resident community to one of them network schemer of SIM card, according to the frame bias internal value of this community, for the comparator under this network schemer corresponding to this SIM card arranges a comparative parameter, by comparator, from being about to the frame timer count value of map network pattern, compared with comparative parameter, it when both are consistent, is corresponding SIM card trigger frame interrupt signal, complete the frame synchronization of this SIM card and network side.Frame bias internal due to unmodified frame timer in whole synchronizing process, so no matter terminal is supported several SIM cards simultaneously, each network schemer all can be shared a frame timer, thereby do not need many cover base band+radio frequency chips or overlap the frame synchronization that frame timer is realized multiple SIM card more, having reduced energy consumption and the cost of manufacture of many cards terminal.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Fig. 1 is the frame synchronization timing structural representation of the baseband processing chip of single deck tape-recorder dual-mode handset in prior art;
Fig. 2 is TD-SCDMA frame timer structure in prior art;
Fig. 3 is frame timing controlled state conversion process schematic diagram in prior art;
Fig. 4 is that in prior art, single deck tape-recorder bimodulus regularly keeps schematic diagram;
Fig. 5 is single deck tape-recorder bimodulus timing adjustment schematic diagram in prior art;
Fig. 6 is single deck tape-recorder bimodulus pattern switch frame timing adjustment schematic diagram in prior art;
Fig. 7 is the frame synchornization method flow charts that block terminals and network side in first embodiment of the invention more;
Fig. 8 is dual-card dual-standby terminal frame synchronization structure schematic diagram in first embodiment of the invention;
Fig. 9 is frame timer structural representation in first embodiment of the invention;
Figure 10 is SIM card 1 and SIM card 2 frame synchronization schematic diagram under resident GSM pattern in first embodiment of the invention;
Figure 11 is the frame synchronization schematic diagram under the resident GSM pattern of SIM card 1 in first embodiment of the invention, the resident TD-SCDMA pattern of SIM card 2;
Figure 12 is frame synchronization schematic diagram when dual-card dual-standby terminal carries out the switching of the interior community of pattern in first embodiment of the invention;
Figure 13 is that when in first embodiment of the invention, many card terminals carry out between pattern that community is switched, frame synchronization is adjusted flow chart;
Figure 14 is frame synchronization schematic diagram while carrying out in first embodiment of the invention between pattern that community is switched during the resident different mode of dual-card dual-standby terminal double card.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiments of the present invention are described in further detail.
First embodiment of the invention relates to a kind of many card terminals frames synchronous method, in this terminal, comprise at least two SIM cards, at least two network schemers of at least one SIM card support wherein, each network schemer is a corresponding frame timer respectively, and the comparator matching with SIM card number.Wherein, frame timer comprises frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under map network pattern in frame bias internal counting region, and the cycle is map network pattern subframe lengths, often reaches one-period sub-frame count region and adds 1.
Generally the frame synchornization method of many card terminals and network side as shown in Figure 7.The frame timer of each network schemer continues to carry out periodicity counting according to subframe lengths and timing accuracy under present networks pattern.
In step 701, every SIM card starts the comparator under the residing network schemer of this SIM card, is provided with a comparative parameter in this comparator, by the frame bias internal value of SIM card community of living in corresponding to this comparator, is determined.
In step 702, each comparator is compared set comparative parameter with the frame timer frame bias internal count value of map network pattern, if count value and set comparative parameter match, enter step 703, be that the SIM card trigger frame that this comparator is corresponding is interrupted; If count value is not mated with comparative parameter, return to step 702, continue relatively.
In step 704, terminal, according to the frame interrupt signal of comparator triggering corresponding to each SIM card, completes the frame synchronization of this SIM card and network side.
The dual-mode dual-card dual-standby terminal of TD-SCDMA and GSM of take is example, in terminal, comprise two SIM cards, every SIM card is all supported two network schemers, in terminal, comprise a TD-SCDMA frame timer and a GSM frame timer, and two comparators under TD-SCDMA pattern and two comparators under GSM pattern, as shown in Figure 8.Frame timer adopts loop cycle structure, uses 32 bit clocks, and bit0~15 are for representing frame bias internal, and bit31~16 represent subframe numbers, as shown in Figure 9.The precision of TD-SCDMA frame timer and GSM frame timer is respectively the minimum timing precision of these two kinds of patterns, and TD-SCDMA is 1/8chip=1/10.24MHz, and GSM is Qbit=12/13MHz; Two frame timer are all periodic frame timer, and its cycle is respectively the subframe lengths 5ms of TD-SCDMA and the subframe lengths 4.615ms of GSM; Because a TD-SCDMA 5ms subframe comprises 6400chip, i.e. 51200 1/8chip, so the span of the frame bias internal of TD-SCDMA frame timer is 0~51199, same, GSM frame timer frame bias internal scope is 0~4999.After TD-SCDMA/GSM frame timer frame bias internal count value reaches 51199/4999, count value is clear 0, and high-order subframe numbers adds 1 simultaneously, after subframe numbers overflows again since 0 counting.TD-SCDMA and GSM frame timer carry out the uninterrupted counting of periodicity.Suppose current two SIM cards resident GSM mode cell simultaneously, belong to different operators frame and interrupt safeguarding scene.SIM card 1 is used GSM comparator 0, and SIM card 2 is used GSM comparator 1, and comparative parameter is respectively phase place 0 and phase place 200.GSM comparator 0 and GSM comparator 1 are compared the current frame bias internal value of GSM frame timer respectively with the comparative parameter of self, frame bias internal value at GSM frame timer is 0 o'clock, GSM comparator 0 is SIM card 1 trigger frame interrupting information, frame bias internal value at GSM frame timer is 200 o'clock, GSM comparator 1 is SIM card 2 trigger frame interrupting informations, thereby guarantee that SIM card 1 and SIM card 2 all can keep synchronizeing with network side, as shown in figure 10.
Equally, in the situation of the two SIM cards resident TD-SCDMA of difference and GSM mode cell, SIM card 1 is used TD-SCDMA comparator 0, and SIM card 2 is used GSM comparators 0, and comparative parameter is respectively phase place 0 and phase place 200.TD-SCDMA comparator 0 is compared the current frame bias internal value of GSM frame timer with the comparative parameter of self, in the frame bias internal value of TD-SCDMA frame timer, be 0 o'clock, and TD-SCDMA comparator 0 is SIM card 1 trigger frame interrupting information; GSM comparator 0 is compared the current frame bias internal value of GSM frame timer with the comparative parameter of self, frame bias internal value at GSM frame timer is 200 o'clock, GSM comparator 0 is SIM card 2 trigger frame interrupting informations, thereby guarantee that SIM card 1 and SIM card 2 all can keep synchronizeing with network side, as shown in figure 11.
In present embodiment, when in terminal SIM card is carried out pattern, switch community, it is as follows that frame synchronization is adjusted mode:
Directly according to the frame bias internal value of switching Hou Xin community reset this SIM card comparative parameter in corresponding comparator, this comparator is by the frame timer frame bias internal count value comparison of newly-installed comparative parameter and map network pattern, when count value and comparative parameter match, be that the SIM card trigger frame that this comparator is corresponding is interrupted.Obtain the frame number that switches Hou Xin community, the frame number of this SIM card of having no progeny in trigger frame for the first time changes to Gai Xin community frame number.
The first search of each SIM card resident during to community during starting up of terminal, frame synchronization is adjusted mode and roughly the same above-mentioned.
Due in whole synchronizing process without the frame bias internal of revising frame timer, so no matter terminal is supported several SIM cards simultaneously, whether the SIM card of supporting resides in same network schemer, all can not interact, each network schemer can be shared a frame timer, thereby do not need many cover base band+radio frequency chips or overlap the frame synchronization that frame timer is realized multiple SIM card more, energy consumption and the cost of manufacture (a plurality of timers are set in a set of base band+radio frequency chip, and its cost is higher than the cost that comparator is set in present embodiment equally) of many cards terminal have been reduced.Figure 12 represents that certain SIM card carries out community switching under TD-SCDMA pattern, adjusts the process of frame bias internal value, and adjustment amount is positive and negative n.
In SIM card, carry out between pattern community while switching, frame synchronization is adjusted mode as shown in figure 13.
In step 1301, obtain the frame synchronization information that switches Hou Xin community, the frame head position of Ru Xin community, and, the count value of simultaneously obtaining the frame timer of former network schemer before switching and the frame timer of the rear new network schemer of switching, the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value.
In step 1302, select next idle comparator of new network schemer as comparator corresponding to this SIM card, in conjunction with the frame synchronization information of new community and two frame timer count values obtaining, determine start-up time and the comparative parameter of the comparator that this SIM card is corresponding.
Specifically, can be according to measuring frame head position, Xin community, calculate the time gap between the frame head of frame head Yu Yuan community, new community, time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
The migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time.
In step 1303, the comparative parameter that arranges for corresponding comparator, when the sub-frame count value of new network schemer frame timer arrives start-up time, start this comparator, this comparator is the count value comparison with the frame timer of new network schemer by newly-installed comparative parameter, when count value and described comparative parameter match, be that the SIM card trigger frame that this comparator is corresponding is interrupted.
Still the dual-mode dual-card dual-standby terminal of TD-SCDMA and GSM of take is example, supposes that SIM1 resides in TD-SCDMA pattern, uses TD-SCDMA comparator 0 as frame regularly, timing cycle 5ms.SIM2 resides in GSM pattern, uses GSM comparator 0 as frame regularly, timing cycle 4.615ms.The comparative parameter of supposing two comparators is 0, and two comparators produce the phase place of interrupting all at frame bias internal 0 place of associative mode frame timer.Before switching, their frame number is respectively N, N+1 ... and P, P+1 ....
SIM1 prepares to be switched to GSM mode cell when N+2 frame, and physical layer calculates next GSM frame head apart from N+2 frame head 6ms (time gap between the frame head Yu Yuan community frame head of Ji Xin community) according to GSM measurement result, and frame number is M.
Terminal is obtained TD-SCDMA and GSM frame timer current count value simultaneously, and obtaining TD-SCDMA frame timer current count value is sub-frame count value x, frame bias internal 15000, and GSM frame timer current count value is sub-frame count value y, frame bias internal 1000.Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, the frame bias internal count value that adds the frame timer of new network schemer obtains: 6ms-15000 (1/10.24MHz)+1000 (12/13MHz)=5913 (12/13MHz), by this result of calculation to GSM network schemer subframe lengths 5000 (12/13MHz) divide exactly with remainder after, the frame head position that can find out M frame should be in the y+1 of GSM frame timer subframe, be offset 913 places, be y+1 subframe the start-up time of determining the GSM network schemer comparator that this SIM card switching is corresponding, comparative parameter is 913.
Stop TD-SCDMA comparator 0 corresponding to this SIM card switching, select GSM comparator 1 to safeguard the frame synchronization of SIM card 1, the comparative parameter that GSM comparator 1 is set is 913, when the sub-frame count value of GSM frame timer arrives y+1, starts GSM comparator 1.GSM comparator 1 is compared the frame bias internal count value of GSM frame timer with the comparative parameter of this comparator, arriving, within 913 o'clock, be that SIM card 1 produces interrupting information, and the frame number that SIM card 1 is set is M.So far, SIM card 1 completes switching, and from M frame, SIM card 1 enters GSM pattern, as shown in figure 14.
Second embodiment of the invention relates to a kind of many card terminals frames synchronization structures, in this terminal, comprise at least two SIM cards, at least two network schemers of at least one SIM card support wherein, in this structure, comprise the frame timer with supported network schemer same number, the corresponding network schemer of each frame timer, the frame timer of each network schemer is for carrying out periodicity counting according to subframe lengths and timing accuracy under present networks pattern;
Under each network schemer, also comprise and the same number of comparator of SIM card, every SIM card starts the comparator under the residing network schemer of this SIM card,
This structure also comprises parameter module is set, for according to the frame bias internal value of SIM card community of living in corresponding to comparator, for this comparator arranges a comparative parameter;
Each comparator is for comparing set comparative parameter with the frame timer count value of map network pattern, when count value and comparative parameter match, be the SIM card trigger frame interruption that this comparator is corresponding;
In this structure, also comprise a synchronization module, for the frame interrupt signal triggering according to comparator corresponding to each SIM card, complete the frame synchronization of this SIM card and network side.
As further improvement, parameter arranges module while also switching for community in SIM card is carried out pattern, according to the frame bias internal value of switching Hou Xin community reset this SIM card comparative parameter in corresponding comparator; Comparator is the frame timer count value comparison of newly-installed comparative parameter and this network schemer, when count value and comparative parameter match, is that the SIM card trigger frame that this comparator is corresponding is interrupted.
As further improvement, this frame synchronization structure can also comprise:
Acquisition of information module, for carrying out between pattern community in SIM card while switching, obtains the frame synchronization information that switches Hou Xin community, and, obtain the frame timer of former network schemer before switching simultaneously and switch after the count value of frame timer of new network schemer;
Parameter calculating module, for the frame synchronization information in conjunction with new community and two frame timer count values obtaining, determines start-up time and the comparative parameter of comparator under new network schemer corresponding to this SIM card;
Parameter arranges module also for selecting next idle comparator of new network schemer as comparator corresponding to this SIM card, according to the result of calculation of parameter calculating module, the comparative parameter of this comparator is set;
Also comprise startup module, for when arriving this start-up time, start corresponding comparator;
Comparator under this new network schemer is the count value comparison with the frame timer of new network schemer by comparative parameter, when count value and comparative parameter match, is that the SIM card trigger frame that this comparator is corresponding is interrupted.
In present embodiment, the frame timer of each network schemer can comprise frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under present networks pattern in frame bias internal counting region, cycle is present networks pattern subframe lengths, often reaches one-period sub-frame count region and adds 1.
Switch in the frame synchronization information of Hou Xin community and comprise: the time gap between the frame head Yu Yuan community frame head of new community, the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value;
Parameter calculating module determines that the mode of the comparative parameter of the comparator that this SIM card is corresponding is:
Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
Parameter calculating module determines that the mode of the start-up time of the comparator that this SIM card is corresponding is:
The migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time;
Start module when the sub-frame count value of this new network schemer frame timer arrives start-up time, start corresponding comparator.
Due in whole synchronizing process without the frame bias internal of revising frame timer, so no matter terminal is supported several SIM cards simultaneously, whether the SIM card of supporting resides in same network schemer, all can not interact, each network schemer can be shared a frame timer, thereby interrupt not needing to adopt many cover base band+radio frequency chips or overlapping the frame synchronization that frame timer is realized multiple SIM card more, reduced energy consumption and the cost of manufacture of many cards terminal.
Although pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and described, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (12)

1. one kind, block terminals frames synchronous method more, in described terminal, comprise at least two Subscriber Identity Modules, wherein at least two network schemers of at least one Subscriber Identity Module support, is characterized in that, each network schemer is a corresponding frame timer respectively, and the comparator matching with Subscriber Identity Module number;
The frame timer of each network schemer carries out periodicity counting according to subframe lengths and timing accuracy under present networks pattern;
For every Subscriber Identity Module starts the comparator under the residing network schemer of this Subscriber Identity Module, in this comparator, be provided with a comparative parameter, frame bias internal value by Subscriber Identity Module community of living in corresponding to this comparator is determined, described each comparator is compared set comparative parameter with the frame timer count value of map network pattern, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted;
According to the frame interrupt signal of comparator triggering corresponding to described each Subscriber Identity Module, complete the frame synchronization of this Subscriber Identity Module and network side.
2. many card terminals frames synchronous method according to claim 1, is characterized in that, also comprise following steps:
When in described Subscriber Identity Module carries out pattern, switch community, according to the frame bias internal value of switching Hou Xin community reset this Subscriber Identity Module comparative parameter in corresponding comparator, described comparator is by the frame timer count value comparison of newly-installed comparative parameter and described network schemer, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted.
3. many card terminals frames synchronous method according to claim 1, is characterized in that, also comprise following steps:
Described Subscriber Identity Module carries out between pattern community while switching, obtain the frame synchronization information that switches Hou Xin community, obtain the count value of the frame timer of former network schemer before switching and the frame timer of the rear new network schemer of switching simultaneously, select next idle comparator of new network schemer as comparator corresponding to described Subscriber Identity Module, in conjunction with the frame synchronization information of described new community and two frame timer count values obtaining, determine the start-up time of the comparator that described Subscriber Identity Module is corresponding, and comparative parameter, when arriving described start-up time, start this comparator, this comparator is by the count value comparison of the frame timer of comparative parameter and described new network schemer, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted.
4. many card terminals frames synchronous method according to claim 3, it is characterized in that, the frame timer of described each network schemer comprises frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under present networks pattern in described frame bias internal counting region, cycle is present networks pattern subframe lengths, often reaches sub-frame count region described in one-period and adds 1.
5. many card terminals frames synchronous method according to claim 4, is characterized in that, in the frame synchronization information of described switching Hou Xin community, comprise: the frame head position of new community, and the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value;
The frame synchronization information of the new community of described combination and two frame timer count values obtaining, determine that the mode of the comparative parameter of the comparator that described Subscriber Identity Module is corresponding is:
Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
6. many card terminals frames synchronous method according to claim 5, is characterized in that the frame synchronization information of the new community of described combination and two frame timer count values obtaining determine that the mode of the start-up time of the comparator that described Subscriber Identity Module is corresponding is:
The described migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time, when the sub-frame count value of described new network schemer frame timer arrives described start-up time, start described comparator.
7. one kind, block terminals frames synchronization structure more, in this terminal, comprise at least two Subscriber Identity Modules, at least two network schemers of at least one Subscriber Identity Module support wherein, it is characterized in that, in this structure, comprise the frame timer with supported network schemer same number, the corresponding network schemer of each frame timer, the frame timer of each network schemer is for carrying out periodicity counting according to subframe lengths and timing accuracy under present networks pattern;
Under each network schemer, also comprise and the same number of comparator of Subscriber Identity Module, every Subscriber Identity Module starts the comparator under the residing network schemer of this Subscriber Identity Module,
This structure also comprises parameter module is set, for according to the frame bias internal value of Subscriber Identity Module community of living in corresponding to comparator, for this comparator arranges a comparative parameter;
Described each comparator is for set comparative parameter is compared with the frame timer count value of map network pattern, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted;
In this structure, also comprise a synchronization module, for the frame interrupt signal triggering according to comparator corresponding to described each Subscriber Identity Module, complete the frame synchronization of this Subscriber Identity Module and network side.
8. many card terminals frames synchronization structures according to claim 7, is characterized in that,
Described parameter arranges module while also switching for community in described Subscriber Identity Module carries out pattern, according to the frame bias internal value of switching Hou Xin community reset this Subscriber Identity Module comparative parameter in corresponding comparator;
Described comparator is by the frame timer count value comparison of newly-installed comparative parameter and described network schemer, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted.
9. many card terminals frames synchronization structures according to claim 7, is characterized in that, also comprise:
Acquisition of information module, for carrying out between pattern community at described Subscriber Identity Module while switching, obtain the frame synchronization information of switching Hou Xin community, and, the frame timer that switches front former network schemer and the count value of switching the frame timer of rear new network schemer obtained simultaneously;
Parameter calculating module, for the frame synchronization information in conjunction with described new community and two frame timer count values obtaining, determines start-up time and the comparative parameter of comparator under the new network schemer that described Subscriber Identity Module is corresponding;
Described parameter arranges module also for selecting next idle comparator of new network schemer as comparator corresponding to described Subscriber Identity Module, according to the result of calculation of parameter calculating module, the comparative parameter of this comparator is set;
Also comprise startup module, for when arriving described start-up time, start corresponding comparator;
Comparator under this new network schemer is by the count value comparison of the frame timer of comparative parameter and described new network schemer, when described count value is corresponding with described comparative parameter, for the Subscriber Identity Module trigger frame that this comparator is corresponding is interrupted.
10. according to many card terminals frames synchronization structures claimed in claim 9, it is characterized in that, the frame timer of described each network schemer comprises frame bias internal counting region and sub-frame count region two parts, periodicity counting is carried out according to the timing accuracy under present networks pattern in described frame bias internal counting region, cycle is present networks pattern subframe lengths, often reaches sub-frame count region described in one-period and adds 1.
11. according to many card terminals frames synchronization structures claimed in claim 10, it is characterized in that, in the frame synchronization information of described switching Hou Xin community, comprise: the frame head position of new community, and the frame timer count value of obtaining comprises: frame bias internal count value and sub-frame count value;
Described parameter calculating module determines that the mode of the comparative parameter of the comparator that described Subscriber Identity Module is corresponding is:
Time gap between the frame head Yu Yuan community frame head of Jiang Xin community deducts the frame bias internal count value of the frame timer of former network schemer, add the frame bias internal count value of the frame timer of new network schemer, to calculate resulting migration result to new network schemer subframe lengths remainder, the remainder obtaining is parameter as a comparison.
12. according to the many cards terminals frames synchronous method described in claim 11, it is characterized in that, described parameter calculating module determines that the mode of the start-up time of the comparator that described Subscriber Identity Module is corresponding is:
The described migration result calculating is divided exactly to new network schemer subframe lengths, the business who obtains with the sub-frame count value sum of the new network schemer frame timer that obtains as start-up time;
Described startup module, when the sub-frame count value of described new network schemer frame timer arrives described start-up time, starts described comparator.
CN201010236992.XA 2010-07-26 2010-07-26 Multi-card terminal frame synchronization method and structure thereof Active CN102340862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010236992.XA CN102340862B (en) 2010-07-26 2010-07-26 Multi-card terminal frame synchronization method and structure thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010236992.XA CN102340862B (en) 2010-07-26 2010-07-26 Multi-card terminal frame synchronization method and structure thereof

Publications (2)

Publication Number Publication Date
CN102340862A CN102340862A (en) 2012-02-01
CN102340862B true CN102340862B (en) 2014-03-19

Family

ID=45516294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010236992.XA Active CN102340862B (en) 2010-07-26 2010-07-26 Multi-card terminal frame synchronization method and structure thereof

Country Status (1)

Country Link
CN (1) CN102340862B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664777B (en) * 2012-05-07 2014-12-10 大唐移动通信设备有限公司 Ethernet frame processing method and device
CN103856992B (en) * 2012-11-30 2017-04-26 展讯通信(天津)有限公司 Mobile terminal and synchronous tracking method and device
WO2016086345A1 (en) * 2014-12-01 2016-06-09 华为技术有限公司 Recognition method and device for heartbeat packet timer
CN108702719A (en) * 2017-06-27 2018-10-23 深圳市大疆创新科技有限公司 Time synchronization method, system and the unmanned plane of unmanned plane
US10931499B2 (en) * 2019-05-28 2021-02-23 Qualcomm Incorporated Systems and methods for wireless communication
WO2023065358A1 (en) * 2021-10-22 2023-04-27 Oppo广东移动通信有限公司 Mg configuration method and apparatus in multi-sim scenario, device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1977556A (en) * 2004-07-02 2007-06-06 飞思卡尔半导体公司 Arrangement and method for dual mode operation in a communication system terminal
CN101127976A (en) * 2007-09-30 2008-02-20 王亚盛 Multi-terminal public SMS/phone receiving and transmission device for dual network mobile communication mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4812066B2 (en) * 2003-10-09 2011-11-09 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1977556A (en) * 2004-07-02 2007-06-06 飞思卡尔半导体公司 Arrangement and method for dual mode operation in a communication system terminal
CN101127976A (en) * 2007-09-30 2008-02-20 王亚盛 Multi-terminal public SMS/phone receiving and transmission device for dual network mobile communication mode

Also Published As

Publication number Publication date
CN102340862A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
CN102340862B (en) Multi-card terminal frame synchronization method and structure thereof
CN102014466B (en) Synchronizing method and device for non-business card of multi-card and multi-standby mobile terminal
CN101217747B (en) A method of paging channel monitoring of the dual-card dual-standby mobile telephone
CN102711201B (en) A kind of switching method and apparatus of multi-mode wireless access
EP2410797B1 (en) Air interface synchronization method and system for home nodeb
US20150257199A1 (en) User Equipment with Improved Tune-Away Performance During Measurement
CN103259939B (en) Terminal dormant method and terminal
CN102036352B (en) Multimode mobile communication terminal and working method thereof
CN101188835A (en) Power on and network search method for dual-card and dual-standby mobile phone
US20160353516A1 (en) Idle Mode Operations in Multi-Subscriber Identity Module (SIM) Mobile Communication Devices
CN102355704B (en) Processing method for task conflict of mobile terminal
CN102361517B (en) Multi-card mobile terminal and synchronization method and device thereof
CN100556213C (en) The method of conversation in the double card double standby mobile phone sub-district
CN101217739A (en) A single-baseband single radio frequency dual-card dual-standby communication terminal and the corresponding communication method
CN110418383A (en) The measurement method and device, storage medium, terminal of the double LTE terminals of double card
CN101217813B (en) A method of cross-district calling of dual-card dual-standby mobile telephone
JP2005260426A (en) Dual wireless terminal device and dual wireless system
US9386626B1 (en) Idle mode operations in multi-subscriber identity module (SIM) mobile communication devices during a voice call
CN101977372A (en) Number switching method and system as well as intelligent card
CN101102567A (en) Implementation method for mobile phone shutdown alarm clock and mobile phone using this method
CN107396338A (en) User identification card control method, mobile terminal and computer readable storage medium
CN103841617A (en) Communication network switching method and communication network switching device
CN1937808A (en) PHS and GSM dual-mode mobile terminal mode switching method
CN103906276A (en) Mobile terminal and message processing method and device thereof
CN102196487A (en) Method for measuring neighbor cells of 3G system by multi-card multi-mode mobile terminal

Legal Events

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