CN103268262A - Method for multiple basebands to access single-user identification card, and processor - Google Patents

Method for multiple basebands to access single-user identification card, and processor Download PDF

Info

Publication number
CN103268262A
CN103268262A CN2013101570135A CN201310157013A CN103268262A CN 103268262 A CN103268262 A CN 103268262A CN 2013101570135 A CN2013101570135 A CN 2013101570135A CN 201310157013 A CN201310157013 A CN 201310157013A CN 103268262 A CN103268262 A CN 103268262A
Authority
CN
China
Prior art keywords
baseband chip
subscriber identity
visit order
identity module
processor
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
Application number
CN2013101570135A
Other languages
Chinese (zh)
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.)
Innofidei Technology Co Ltd
Original Assignee
Innofidei 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 Innofidei Technology Co Ltd filed Critical Innofidei Technology Co Ltd
Priority to CN2013101570135A priority Critical patent/CN103268262A/en
Publication of CN103268262A publication Critical patent/CN103268262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method for multiple basebands to access a single-user identification card, and a processor. The method includes that the processor receives access commands sent by at least one baseband chip when the baseband chips access the user identification card and is provided with multiple first user identification card interfaces, each first user identification card interface sends the access command corresponding to each baseband chip to the processor, each received access command is added into a command queue, the access commands in the command queue are extracted one by one for access processing, and the access processing includes sending the extracted access commands to the user identification card, receiving response information aiming at the access commands and returned by the user identification card and returning the response information to the baseband chips corresponding to the access commands. By the method and the processor, power consumption of a main baseband chip can be reduced, and the circumstance that the service life of the main baseband chip is influenced by the fact that the main baseband chip cannot enter a sleep mode is avoided.

Description

A kind of many base band are visited method and a kind of processor of single Subscriber Identity Module
Technical field
The present invention relates to the mobile communication technology field, particularly relate to method and a kind of processor that a kind of many base band are visited single Subscriber Identity Module.
Background technology
Along with development of wireless communication devices, cordless communication network based on the different wireless communication technology can provide different services for the user of communication terminal, when communication terminal is connected into different mobile communication network, to different communication standards should be arranged, for example GSM/EDGE pattern, CDMA pattern, WCDMA pattern, TD-SCDMA pattern, LTE pattern etc.
The communication terminal that possesses a plurality of communication standards standby simultaneously ability, can in a plurality of networks, carry out inter-related task, this Terminal Type comprises single deck tape-recorder list baseband chip, blocks many baseband chips and these three kinds of implementations of the many baseband chips of single deck tape-recorder more, wherein, the many baseband chips of single deck tape-recorder refer to that terminal is made of a plurality of baseband chip share and access 1 SIM cards a plurality of baseband chips.
As shown in Figure 1, provided a kind of specific implementation of many baseband chips of single deck tape-recorder terminal, one of them single baseband chip (as the main baseband chip of figure) is gone up a plurality of false SIM card interfaces of design, other baseband chips will be ordered by false SIM card interface and will be sent to main baseband chip, main baseband chip sends to SIM card with the order of other baseband chips or the order of oneself by true SIM card interface.
Above problems of the prior art are, common main baseband chip all adopts powerful CPU core, power consumption is bigger, need be under the lower state of power consumption and chip enters sleep pattern, main baseband chip need receive the order from the visit SIM card of other single baseband chips, therefore, main baseband chip need be in running status always, not only cause a large amount of power consumptions, and make main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.
Summary of the invention
Technical matters to be solved by this invention provides the method that a kind of many baseband chips are visited single Subscriber Identity Module, to reduce the power consumption of main baseband chip, avoids main baseband chip can't enter sleep pattern, influences the serviceable life of main baseband chip.
The present invention also provides a kind of processor, in order to guarantee said method application and realization in practice.
In order to address the above problem, the invention discloses the method that a kind of many baseband chips are visited single Subscriber Identity Module, comprising:
Processor receives the visit order that at least one baseband chip sends when the calling party identification card, described processor possesses a plurality of first Subscriber Identity Module interfaces, and each first Subscriber Identity Module interface sends to described processor with the visit order of the baseband chip of correspondence respectively;
Each visit order that receives is added in the command queue;
Extract the processing that conducts interviews of visit order in the described command queue one by one, wherein, described access process comprises: the described visit order that will extract is sent to described Subscriber Identity Module, receive the response message at described visit order that described Subscriber Identity Module returns, and described response message is turned back to the baseband chip corresponding with described visit order.
Preferably, the described visit order that extracts one by one in the command queue step of handling that conducts interviews comprises:
Visit order in the described command queue is just sorted according to time of reception priority or pre-setting priority;
Extract in the described command queue processing that conducts interviews of the forward visit order of ordering successively.
Preferably, add to each visit order that receives in the command queue before, described method also comprises:
Record the sign of the baseband chip corresponding with each visit order, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order;
Then, the described step that response message is turned back to the baseband chip corresponding with described visit order comprises:
Search the sign of the baseband chip corresponding with described visit order of record and the sign of the first Subscriber Identity Module interface;
By the first Subscriber Identity Module interface corresponding with the sign of the described first Subscriber Identity Module interface that finds described response message is sent to the baseband chip corresponding with the sign of the described baseband chip that finds.
Preferably, described baseband chip is main baseband chip or from baseband chip, described processor is positioned on the described main baseband chip or is positioned on the single-chip microcomputer that is independent of main baseband chip.
Preferably, the step that the described described visit order that will extract is sent to described Subscriber Identity Module is, described processor is sent to Subscriber Identity Module by the second Subscriber Identity Module interface of described main baseband chip or the second Subscriber Identity Module interface of described single-chip microcomputer with the described visit order that extracts.
Preferably, after the described visit order that extracts one by one in the described command queue conducted interviews and handles, described method also comprised:
If determining does not have pending visit order in the described command queue, then trigger described processor and enter the low consumption pattern.
The present invention also provides a kind of processor, it is characterized in that, described processor possesses a plurality of first Subscriber Identity Module interfaces, and described processor comprises:
The order receiver module is used for receiving the visit order that at least one baseband chip sends by the first corresponding Subscriber Identity Module interface when the calling party identification card;
Module is added in order, is used for adding each visit order that receives to command queue;
Command processing module, the visit order that is used for extracting the one by one described command queue processing that conducts interviews, wherein, described access process comprises: the described visit order that will extract is sent to described Subscriber Identity Module, receive the response message at described visit order that described Subscriber Identity Module returns, and described response message is turned back to the baseband chip corresponding with described visit order.
Preferably, described command processing module comprises:
The ordering submodule is used for the visit order of described command queue is just sorted according to time of reception priority or pre-setting priority;
Processing sub is extracted in order, is used for extracting successively the processing that conducts interviews of the forward visit order of described command queue's ordering.
Preferably, described processor also comprises:
The identification record module, for the sign of the record baseband chip corresponding with each visit order, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order;
Then, described command processing module comprises:
Sign is searched submodule, for the sign of the baseband chip corresponding with described visit order of searching record and the sign of the first Subscriber Identity Module interface;
Send submodule, be used for by the first Subscriber Identity Module interface corresponding with the sign of the described first Subscriber Identity Module interface that finds, described response message is sent to the baseband chip corresponding with the sign of the described baseband chip that finds.
Preferably, described baseband chip is main baseband chip or from baseband chip, described processor is positioned on the described main baseband chip or is positioned on the single-chip microcomputer that is independent of main baseband chip.
Preferably, described processor is sent to Subscriber Identity Module by the second Subscriber Identity Module interface of described main baseband chip or the second Subscriber Identity Module interface of described single-chip microcomputer with described visit order.
Preferably, described processor also comprises:
The power consumption state control module is used for if after determining that described command queue does not have pending visit order, trigger described processor and enter the low consumption pattern.
Compared with prior art, the present invention has the following advantages:
According to the embodiment of the invention, possess a plurality of first Subscriber Identity Module interfaces on the processor, main baseband chip or from baseband chip in visit during SIM card, visit order is sent to processor, be forwarded to SIM card by processor then, owing to do not visit SIM card by main baseband chip from baseband chip, when other baseband chip work, main baseband chip can powered-down, thereby can reduce the power consumption of main baseband chip, avoid main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.When adopting ARM CORTEX M0 processor, because the power consumption of M0 processor is little more a lot of than main baseband chip, can reduce the power consumption of many baseband chips terminal greatly.
In the embodiment of the invention, processor is one by one to the visit order processing that conducts interviews, and control and the priority when managing many base band share and access SIM card, produce conflict when having avoided different baseband chips visit, guaranteed the accuracy of APDU instruction integrality and each base band visit SIM card.
Description of drawings
Fig. 1 is the synoptic diagram of a kind of implementation of the many baseband chips of single deck tape-recorder;
Fig. 2 is the synoptic diagram of the implementation of single deck tape-recorder list baseband chip;
Fig. 3 is the synoptic diagram of the implementation of the many baseband chips of many cards;
Fig. 4 is the synoptic diagram of the another kind of implementation of the many baseband chips of single deck tape-recorder;
Fig. 5 and Fig. 6 are the annexation synoptic diagram of processor and baseband chip and Subscriber Identity Module in the embodiment of the invention;
Fig. 7 is the process flow diagram that many baseband chips that one embodiment of the invention provides are visited the method for single Subscriber Identity Module;
Fig. 8 is the process flow diagram that many baseband chips that another embodiment of the present invention provides are visited the method for single Subscriber Identity Module;
Fig. 9 is the structured flowchart of the processor that provides of one embodiment of the invention;
Figure 10 is the structured flowchart of the processor that provides of another embodiment of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Communication terminal can possess a plurality of communication standards, and possesses the ability of standby simultaneously in multiple standard, and this Terminal Type comprises single deck tape-recorder list baseband chip, blocks many baseband chips and these three kinds of implementations of the many baseband chips of single deck tape-recorder more.
A, single deck tape-recorder list baseband chip
With reference to figure 2, be the synoptic diagram of the implementation of single deck tape-recorder list baseband chip, terminal only comprises single baseband chip, at the integrated a plurality of communication standards of single baseband chip, and single baseband chip is coordinated a plurality of communication standards to the visit of single SIM card thus.
B, block many baseband chips more
With reference to figure 3, be the synoptic diagram that block the implementation of many baseband chips more, terminal comprises a plurality of baseband chips, the corresponding a kind of communication standard of each baseband chip, each baseband chip is visited a corresponding SIM card separately by the SIM card interface, and each baseband chip can not be visited the SIM card that other baseband chip is responsible for visiting.
C, the many baseband chips of single deck tape-recorder
Terminal comprises a plurality of baseband chips, a plurality of baseband chip share and access one SIM cards, and implementation comprises following two kinds:
With reference to figure 1, synoptic diagram for a kind of implementation of the many baseband chips of single deck tape-recorder, main baseband chip and all send to SIM card by the true SIM card interface of main baseband chip from the order of baseband chip, adopt this scheme, as long as from baseband chip visit SIM card, main baseband chip just need be in running status, not only causes a large amount of power consumptions, make main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.
With reference to figure 4, synoptic diagram for the another kind of implementation of the many baseband chips of single deck tape-recorder, design an access chip that comprises a plurality of false SIM card interfaces, main baseband chip and all by false SIM card interface order is sent to access chip from baseband chip, access chip comprises the arbitration modules that is realized by logical device, when receiving a plurality of baseband chips to the order of SIM card visit, a plurality of orders are carried out the management of priority by arbitration modules.
The problem that the mode of above-mentioned Fig. 4 exists is, logical device is difficult to accomplish (the Application Protocol Data Unit to APDU, Application Protocol Data Unit) management of instruction integrality, namely when each base band share and access SIM card, be difficult to realize for the mutually exclusive operation order that with APDU is the unit, thereby the generation access conflict can not be satisfied the accuracy that each base band is visited SIM card; And when the employing logical device was realized the management of a plurality of orders, R﹠D costs were higher.
The present invention proposes a kind of many baseband chips and visit the method for single Subscriber Identity Module, at processor a plurality of first Subscriber Identity Module interfaces are set, each baseband chip is when the visit SIM card, order is sent to processor, processor adds visit order in the command queue to, and sends to SIM card one by one, thereby can reduce the power consumption of main baseband chip, avoid main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.
With reference to figure 7, many baseband chips that showing one embodiment of the invention provides are visited the process flow diagram of the method for single Subscriber Identity Module, specifically can may further comprise the steps:
Step 101, processor receive the visit order that at least one baseband chip sends when the calling party identification card.
Baseband chip is used for synthesizing the baseband signal that is about to emission, or the baseband signal that receives is decoded, and baseband chip can be divided into five sub-pieces: CPU processor, channel encoder, digital signal processor, modulator-demodular unit and interface module.When terminal comprises a plurality of baseband chip, different baseband chips can corresponding be finished different communication standards, a plurality of baseband chips can comprise main baseband chip and from baseband chip, the baseband chip that sends visit order can be baseband chip or from baseband chip, the preferred a kind of communication standard of terminal (for example LTE standard) under the corresponding proper communication connection state of main baseband chip, from the preferred communication standard of the right and wrong of baseband chip correspondence, when the signal of main baseband chip can't connect, can select to be connected to the communication standard (for example CDMA standard) from the baseband chip correspondence.
In the embodiment of the invention, Subscriber Identity Module can be the smart card that SIM or usim card etc. can be used for the storage terminal subscriber identity information.SIM (Subscriber Identity Module, user identification module) is a smart card that includes large scale integrated circuit, is used for registered user's identification data and information; USIM (Universal Subscriber Identity Module, universal subscriber identity module) also is called the upgrading SIM card, when supporting authenticating user identification, also aspect security, algorithm is upgraded, and having increased the authentication function of smart card to network, this two-way authentication can prevent effectively that the hacker is to the attack of card.
The processor of the embodiment of the invention is preferably ARM (Advanced RISC Machines) processor, arm processor is a kind of embedded microprocessor, in the embodiment of the invention, arm processor can be ARM CORTEX M0 processor, average current is no more than 10 milliamperes during the work of M0 processor, processing speed is exceedingly fast, and per second can be handled up to ten million instructions, is existing volume minimum, energy consumption is minimum and efficiency is the highest arm processor.
In the embodiment of the invention, processor possesses a plurality of first Subscriber Identity Module interfaces, each baseband chip has the first corresponding Subscriber Identity Module interface respectively, each first Subscriber Identity Module interface sends to processor with the visit order of the baseband chip of correspondence respectively, and namely each baseband chip sends to processor by the first Subscriber Identity Module interface of correspondence with visit order respectively.The first Subscriber Identity Module interface can be the interface that meets the ISO7816-3 international standard.
In concrete realization, processor can be positioned on the main baseband chip, also can be positioned on the single-chip microcomputer that is independent of main baseband chip.As shown in Figure 5 and Figure 6, provided the annexation synoptic diagram of processor and baseband chip and Subscriber Identity Module in the embodiment of the invention.
Wherein, processor is arm processor, and Subscriber Identity Module is SIM card, and false SIM card interface i.e. the first Subscriber Identity Module interface, and true SIM card interface i.e. the second Subscriber Identity Module interface, and arm processor adopts ARM CORTEX M0 processor.The difference of two synoptic diagram is that the arm processor of Fig. 5 is positioned on the main baseband chip, and the arm processor of Fig. 6 is positioned on the single-chip microcomputer, and single-chip microcomputer and main baseband chip are separate.
When needing the calling party identification card at main baseband chip or from baseband chip, visit order can be sent to arm processor by the first Subscriber Identity Module interface.
Step 102, each visit order that receives is added in the command queue.
Processor is behind the visit order that receives at least one baseband chip transmission, each visit order is added in the command queue of presetting, in concrete realization, each baseband chip can be distinguished corresponding command queue, also can be all corresponding command queues of baseband chip.
Step 103, extract the processing that conducts interviews of visit order in the command queue one by one, wherein, access process comprises: the visit order that extracts is sent to Subscriber Identity Module, receive the response message at visit order that Subscriber Identity Module returns, and this response message is turned back to the baseband chip corresponding with visit order.
For the visit order in the command queue, processor extracts the visit order processing that conducts interviews one by one, the access process that visit order is carried out comprises, extract visit order and be sent to Subscriber Identity Module, receive the response message at visit order that Subscriber Identity Module returns, and with response message turn back to corresponding baseband chip the entire process process.
Because main baseband chip and from baseband chip all by the processor access Subscriber Identity Module, do not pass through main baseband chip calling party identification card from baseband chip, when other baseband chip work, main baseband chip can powered-down, thereby can reduce the power consumption of main baseband chip, avoid main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.When adopting ARM CORTEX M0 processor, because the power consumption of M0 processor is little more a lot of than main baseband chip, can reduce the power consumption of many baseband chips terminal greatly.
Adopt the method for the embodiment of the invention, it is various strict to power consumption that winner's baseband chip can be applied to, and require to support the occasion of multiple base band, such as being used as the chip for cell phone of supporting multiple standard.
And, the embodiment of the invention has changed main baseband chip and the closely-coupled mode of Subscriber Identity Module in the background technology, make main baseband chip not need to increase new software simultaneously and come leading subscriber identification card and processor, it is well compatible to have reached former software version.
Particularly, extracting visit order in the command queue treatment step that conducts interviews one by one can comprise:
Substep S11, with the visit order in the command queue according to time of reception successively or pre-setting priority just sort;
Substep S12, extract in the command queue processing that conducts interviews of the forward visit order of ordering successively.After receiving new visit order, processor can sort all orders in the command queue, extracts the processing that conducts interviews of the forward visit order of ordering then.The mode that visit order is sorted arranges according to concrete applied environment and demand, can sort according to the time order and function of received access command, also can different priority be set at each baseband chip, the priority of visit order according to corresponding baseband chip is sorted.
Because the priority the when embodiment of the invention adopts processor to handle each baseband chip visit, control and manage many base band share and access SIM card, produce conflict when having avoided different baseband chips to visit, guaranteed that APDU instructs integrality and each base band to visit the accuracy of SIM card.
In the embodiment of the invention, when the described visit order that will extract is sent to Subscriber Identity Module, if processor is positioned on the main baseband chip, possess the second Subscriber Identity Module interface that is connected with Subscriber Identity Module on the main baseband chip, processor can send to the visit order that the extracts second Subscriber Identity Module interface by main baseband chip in the Subscriber Identity Module; If processor is positioned at and possesses the second Subscriber Identity Module interface that is connected with Subscriber Identity Module on the single-chip microcomputer that is independent of main baseband chip, then the visit order that the extracts second Subscriber Identity Module interface by single-chip microcomputer can be sent in the Subscriber Identity Module.
After Subscriber Identity Module receives visit order, generate the response message at visit order, response message returns to processor by the second Subscriber Identity Module interface, and processor further returns to the response message that receives corresponding baseband chip.
With reference to figure 8, many baseband chips that showing another embodiment of the present invention provides are visited the process flow diagram of the method for single Subscriber Identity Module, specifically can may further comprise the steps:
Step 201, processor receive the visit order that at least one baseband chip sends when the calling party identification card.
Wherein, processor possesses a plurality of first Subscriber Identity Module interfaces, and each first Subscriber Identity Module interface sends to processor with the visit order of the baseband chip of correspondence respectively.
The sign of step 202, the record baseband chip corresponding with each visit order, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order.
Step 203, the visit order that receives is added in the command queue.
Step 204, the visit order that extracts in the command queue one by one are sent to Subscriber Identity Module.
The response message at visit order that step 205, reception Subscriber Identity Module return.
Step 206, the sign of the baseband chip corresponding with visit order of searching record and the sign of the first Subscriber Identity Module interface;
Step 207, by the first Subscriber Identity Module interface corresponding with the sign of the first Subscriber Identity Module interface that finds response message is turned back to the baseband chip corresponding with the sign of the described baseband chip that finds.
Be that with last embodiment difference present embodiment also discloses the concrete mode that the visit order corresponding response information is turned back to baseband chip.Particularly, as described in step 202, processor after receiving the order that baseband chip sends, note the baseband chip corresponding with each visit order sign and with the sign of the corresponding first Subscriber Identity Module interface of each visit order.After receiving the response message that Subscriber Identity Module returns, according to the sign of the baseband chip of visit order correspondence and the sign of first Subscriber Identity Module, by the first Subscriber Identity Module interface corresponding with the sign of the first Subscriber Identity Module interface that finds response message is sent to the baseband chip corresponding with the sign of the baseband chip that finds.
Step 208, if determine not have pending visit order in the command queue, then trigger processor and enter the low consumption pattern.
In the embodiment of the invention, processor extract one by one visit order in the command queue conduct interviews handle after, if further determine to have handled the all-access order in the command queue, when namely not having pending visit order in the command queue, can enter low-power consumption mode.When baseband chip needs the calling party identification card, after the first SIM card interface receives visit order, can interrupt the wake up process device, thereby can further reduce the power consumption of processor.
In order to make those skilled in the art better understand the present invention, below many baseband chips among Fig. 7 and Fig. 8 are visited single Subscriber Identity Module management process describe, specifically can comprise:
Step 1, when baseband chip need be visited SIM card, baseband chip sends visit order to false SIM card interface.
Step 2, M0 kernel detect visit order, received access command, and the numbering of the baseband chip of record access order correspondence, the numbering of false SIM card interface, and visit order is put in the command queue of correspondence.
Step 3, M0 kernel are judged the visit order formation of all baseband chip correspondences, judge whether the order higher than the current command priority.If the higher order of priority is arranged, then notice sends the baseband chip wait of this visit order, and current visit order is hung up, and the visit order that execution priority is higher after determining there is not the higher visit order of priority, is carried out current visit order; If there is not the higher order of priority, then directly carry out current visit order.
Step 4, M0 kernel send to SIM card with the current accessed order.
Step 5, SIM card send to the M0 kernel with the response message of visit order.
Step 6, M0 kernel send to response message the false SIM card interface of visit order correspondence.
Step 7, M0 kernel judge whether pending visit order is arranged in each command queue etc.If have, then 3-step 6 is carried out visit order set by step; If no, then enter the state of wait command, and enter the low-power consumption mode of M0 kernel, under low-power consumption mode, after receiving baseband chip transmission visit order, can wake the M0 kernel up and enter running status.
The embodiment of the invention increases an ARM CORTEX M0 chip and 3 false SIM card interfaces in main baseband chip or single-chip microcomputer, be to be easier to realize the work less with cost, so, the CPU of main baseband chip is used for managing base band specially and gets final product, and the M0 inner core managing is to the visit of SIM card.The CPU of main baseband chip can enter the pass electricity condition when not working, can realize the requirement to the low-power consumption of main baseband chip, and, because M0 kernel power consumption is very low, can reduce the power consumption of many baseband chips terminal greatly.
In sum, according to the embodiment of the invention, possess a plurality of first Subscriber Identity Module interfaces on the processor, main baseband chip or from baseband chip in visit during SIM card, visit order is sent to processor, be forwarded to SIM card by processor then, owing to do not visit SIM card by main baseband chip from baseband chip, when other baseband chip work, main baseband chip can powered-down, thereby can reduce the power consumption of main baseband chip, avoid main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.When adopting ARM CORTEX M0 processor, because the power consumption of M0 processor is little more a lot of than main baseband chip, can reduce the power consumption of many baseband chips terminal greatly.
In the embodiment of the invention, processor is one by one to the visit order processing that conducts interviews, and control and the priority when managing many base band share and access SIM card, produce conflict when having avoided different baseband chips visit, guaranteed the accuracy of APDU instruction integrality and each base band visit SIM card.
Visit the method for single Subscriber Identity Module according to many baseband chips of the embodiment of the invention, through overtesting and simulation, can well finish this function of many base band share and access SIM card, the power consumption of whole main baseband chip reduces greatly simultaneously, stand-by power consumption has reduced by 75% after tested, can satisfy the needs of low-power consumption occasion.
For method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to figure 9, show the structured flowchart of the processor that one embodiment of the invention provides, processor possesses a plurality of first Subscriber Identity Module interfaces, and processor specifically can comprise with lower module:
Order receiver module 301 is used for receiving the visit order that at least one baseband chip sends by the first corresponding Subscriber Identity Module interface when the calling party identification card;
Order is added module 302 and is linked to each other with order receiver module 301, and the visit order that each order receiver module 301 that order interpolation module 302 is used for receiving receives adds command queue to;
Command processing module 303 is added module 302 with order and is linked to each other, command processing module 303 is used for extracting one by one order and adds the processing that conducts interviews of visit order that module 302 adds command queue to, wherein, access process comprises: the visit order that extracts is sent to Subscriber Identity Module, receive the response message at visit order that Subscriber Identity Module returns, and response message is turned back to the baseband chip corresponding with visit order.
The processor of the embodiment of the invention is preferably arm processor, more preferably ARM CORTEX M0 processor.
In the embodiment of the invention, command processing module 303 modules can comprise:
The ordering submodule is used for the visit order of command queue is just sorted according to time of reception priority or pre-setting priority;
Order is extracted processing sub and is linked to each other with the ordering submodule, and order is extracted submodule and is used for extracting successively after the ordering of ordering submodule, the forward visit order that sorts in the command queue processing that conducts interviews.
In the embodiment of the invention, baseband chip can be for main baseband chip or from baseband chip, and processor can be positioned on the main baseband chip or be positioned on the single-chip microcomputer that is independent of main baseband chip.
In the embodiment of the invention, processor can be sent to Subscriber Identity Module with visit order by the second Subscriber Identity Module interface of main baseband chip or the second Subscriber Identity Module interface of single-chip microcomputer.
With reference to Figure 10, show the structured flowchart of the processor that another embodiment of the present invention provides, processor possesses a plurality of first Subscriber Identity Module interfaces, and processor specifically can comprise with lower module:
Order receiver module 401 is used for receiving the visit order that at least one baseband chip sends by the first corresponding Subscriber Identity Module interface when the calling party identification card;
Identification record module 402 links to each other with order receiver module 401, identification record module 402 is used for the sign of the record baseband chip corresponding with each visit order of ordering receiver module 401 to receive, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order of ordering receiver module 401 to receive;
Order is added module 403 and is linked to each other with order receiver module 401, and order is added module 403 and is used for adding each visit order that order receiver module 401 receives to command queue;
Command processing module 404 is added module 403 with order and is linked to each other, command processing module 404 is used for extracting one by one order and adds the processing that conducts interviews of visit order that module 403 adds command queue to, wherein, access process comprises: the visit order that extracts is sent to Subscriber Identity Module, receive the response message at visit order that Subscriber Identity Module returns, and response message is turned back to the baseband chip corresponding with visit order;
Command processing module module 404 comprises identifying searches submodule 4041 and sends submodule 4042.
Sign is searched submodule 4041 and is linked to each other with identification record module 402, and sign is searched submodule 4041 and is used for searching that identification record module 402 records, the sign of the sign of the baseband chip corresponding with visit order and the first Subscriber Identity Module interface;
Transmission submodule 4042 is searched submodule 4041 with sign and is linked to each other, send submodule 4042 and be used for by searching the first corresponding Subscriber Identity Module interface of the sign of the first Subscriber Identity Module interface that submodule 4041 finds with sign, response message is sent to the baseband chip corresponding with identifying the sign of searching the baseband chip that submodule 4041 finds.
Power consumption state control module 405 links to each other with command processing module 40, and if power consumption state control module 405 is used for triggering processor and entering the low consumption pattern after determining that command queue does not have pending visit order.
In sum, according to the embodiment of the invention, possess a plurality of first Subscriber Identity Module interfaces on the processor, main baseband chip or from baseband chip in visit during SIM card, visit order is sent to the order receiver module of processor, order is added module visit order is added in the access queue, send to SIM card one by one by the order sending module then, owing to do not visit SIM card by main baseband chip from baseband chip, when the work of other baseband chips, main baseband chip can powered-down, thereby can reduce the power consumption of main baseband chip, avoid main baseband chip can't enter sleep pattern, influence the serviceable life of main baseband chip.When adopting ARM CORTEX M0 processor, because the power consumption of M0 processor is little more a lot of than main baseband chip, can reduce the power consumption of many baseband chips terminal greatly.
In the embodiment of the invention, processor is one by one to the visit order processing that conducts interviews, and control and the priority when managing many base band share and access SIM card, produce conflict when having avoided different baseband chips visit, guaranteed the accuracy of APDU instruction integrality and each base band visit SIM card.
Because described device embodiment is substantially corresponding to earlier figures 7 and method embodiment shown in Figure 8, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment etc.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
In this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having under the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
More than a kind of many baseband chips provided by the present invention are visited the method for single Subscriber Identity Module, and, a kind of processor is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. baseband chip more than a kind is visited the method for single Subscriber Identity Module, it is characterized in that, comprising:
Processor receives the visit order that at least one baseband chip sends when the calling party identification card, described processor possesses a plurality of first Subscriber Identity Module interfaces, and each first Subscriber Identity Module interface sends to described processor with the visit order of the baseband chip of correspondence respectively;
Each visit order that receives is added in the command queue;
Extract the processing that conducts interviews of visit order in the described command queue one by one, wherein, described access process comprises: the described visit order that will extract is sent to described Subscriber Identity Module, receive the response message at described visit order that described Subscriber Identity Module returns, and described response message is turned back to the baseband chip corresponding with described visit order.
2. method according to claim 1 is characterized in that, the described visit order that extracts one by one in the command queue step of handling that conducts interviews comprises:
Visit order in the described command queue is just sorted according to time of reception priority or pre-setting priority;
Extract in the described command queue processing that conducts interviews of the forward visit order of ordering successively.
3. method according to claim 1 is characterized in that, add to each visit order that receives in the command queue before, described method also comprises:
Record the sign of the baseband chip corresponding with each visit order, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order;
Then, the described step that response message is turned back to the baseband chip corresponding with described visit order comprises:
Search the sign of the baseband chip corresponding with described visit order of record and the sign of the first Subscriber Identity Module interface;
By the first Subscriber Identity Module interface corresponding with the sign of the described first Subscriber Identity Module interface that finds described response message is sent to the baseband chip corresponding with the sign of the described baseband chip that finds.
4. method according to claim 1 is characterized in that, described baseband chip is main baseband chip or from baseband chip, described processor is positioned on the described main baseband chip or is positioned on the single-chip microcomputer that is independent of main baseband chip.
5. method according to claim 4, it is characterized in that, the step that the described described visit order that will extract is sent to described Subscriber Identity Module is, described processor is sent to Subscriber Identity Module by the second Subscriber Identity Module interface of described main baseband chip or the second Subscriber Identity Module interface of described single-chip microcomputer with the described visit order that extracts.
6. method according to claim 1 is characterized in that, after the described visit order that extracts one by one in the described command queue conducted interviews and handles, described method also comprised:
If determining does not have pending visit order in the described command queue, then trigger described processor and enter the low consumption pattern.
7. a processor is characterized in that, described processor possesses a plurality of first Subscriber Identity Module interfaces, and described processor comprises:
The order receiver module is used for receiving the visit order that at least one baseband chip sends by the first corresponding Subscriber Identity Module interface when the calling party identification card;
Module is added in order, is used for adding each visit order that receives to command queue;
Command processing module, the visit order that is used for extracting the one by one described command queue processing that conducts interviews, wherein, described access process comprises: the described visit order that will extract is sent to described Subscriber Identity Module, receive the response message at described visit order that described Subscriber Identity Module returns, and described response message is turned back to the baseband chip corresponding with described visit order.
8. processor according to claim 7 is characterized in that, described command processing module comprises:
The ordering submodule is used for the visit order of described command queue is just sorted according to time of reception priority or pre-setting priority;
Processing sub is extracted in order, is used for extracting successively the processing that conducts interviews of the forward visit order of described command queue's ordering.
9. processor according to claim 7 is characterized in that, also comprises:
The identification record module, for the sign of the record baseband chip corresponding with each visit order, and the sign that records the first Subscriber Identity Module interface corresponding with each visit order;
Then, described command processing module comprises:
Sign is searched submodule, for the sign of the baseband chip corresponding with described visit order of searching record and the sign of the first Subscriber Identity Module interface;
Send submodule, be used for by the first Subscriber Identity Module interface corresponding with the sign of the described first Subscriber Identity Module interface that finds, described response message is sent to the baseband chip corresponding with the sign of the described baseband chip that finds.
10. processor according to claim 7 is characterized in that, described baseband chip is main baseband chip or from baseband chip, described processor is positioned on the described main baseband chip or is positioned on the single-chip microcomputer that is independent of main baseband chip.
11. processor according to claim 10 is characterized in that, described processor is sent to Subscriber Identity Module by the second Subscriber Identity Module interface of described main baseband chip or the second Subscriber Identity Module interface of described single-chip microcomputer with described visit order.
12. processor according to claim 9 is characterized in that, described processor also comprises:
The power consumption state control module is used for if after determining that described command queue does not have pending visit order, trigger described processor and enter the low consumption pattern.
CN2013101570135A 2013-04-28 2013-04-28 Method for multiple basebands to access single-user identification card, and processor Pending CN103268262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101570135A CN103268262A (en) 2013-04-28 2013-04-28 Method for multiple basebands to access single-user identification card, and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101570135A CN103268262A (en) 2013-04-28 2013-04-28 Method for multiple basebands to access single-user identification card, and processor

Publications (1)

Publication Number Publication Date
CN103268262A true CN103268262A (en) 2013-08-28

Family

ID=49011894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101570135A Pending CN103268262A (en) 2013-04-28 2013-04-28 Method for multiple basebands to access single-user identification card, and processor

Country Status (1)

Country Link
CN (1) CN103268262A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954250A (en) * 2017-03-14 2017-07-14 中国电子科技集团公司第五十四研究所 It is a kind of to reduce the device of baseband processing chip power consumption
CN107395530A (en) * 2017-06-07 2017-11-24 北京东土军悦科技有限公司 A kind of exchange chip, the network equipment and power consumption control method
CN110806925A (en) * 2018-08-06 2020-02-18 成都鼎桥通信技术有限公司 Audio playing method and equipment
CN110896536A (en) * 2019-11-25 2020-03-20 深圳传音控股股份有限公司 SIM card control method, mobile terminal and computer storage medium
CN111382823A (en) * 2020-03-23 2020-07-07 北京智联安科技有限公司 Cellular communication chip for safely connecting SIM (subscriber identity Module) and eSIM (embedded subscriber identity Module)
CN112395242A (en) * 2020-11-30 2021-02-23 重庆紫光华山智安科技有限公司 Multi-chip control method, device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6141564A (en) * 1999-09-30 2000-10-31 Motorola, Inc. Method of sharing a SIM card between two masters
CN102223735A (en) * 2011-05-30 2011-10-19 北京创毅视讯科技有限公司 Method and equipment for multi-baseband chips to share and access smart card
CN103068076A (en) * 2011-10-20 2013-04-24 中国移动通信集团公司 Single card multiple standby terminal, adapter module and subscriber identity module (SIM) card access method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6141564A (en) * 1999-09-30 2000-10-31 Motorola, Inc. Method of sharing a SIM card between two masters
CN102223735A (en) * 2011-05-30 2011-10-19 北京创毅视讯科技有限公司 Method and equipment for multi-baseband chips to share and access smart card
CN103068076A (en) * 2011-10-20 2013-04-24 中国移动通信集团公司 Single card multiple standby terminal, adapter module and subscriber identity module (SIM) card access method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954250A (en) * 2017-03-14 2017-07-14 中国电子科技集团公司第五十四研究所 It is a kind of to reduce the device of baseband processing chip power consumption
CN107395530A (en) * 2017-06-07 2017-11-24 北京东土军悦科技有限公司 A kind of exchange chip, the network equipment and power consumption control method
CN110806925A (en) * 2018-08-06 2020-02-18 成都鼎桥通信技术有限公司 Audio playing method and equipment
CN110896536A (en) * 2019-11-25 2020-03-20 深圳传音控股股份有限公司 SIM card control method, mobile terminal and computer storage medium
CN111382823A (en) * 2020-03-23 2020-07-07 北京智联安科技有限公司 Cellular communication chip for safely connecting SIM (subscriber identity Module) and eSIM (embedded subscriber identity Module)
CN112395242A (en) * 2020-11-30 2021-02-23 重庆紫光华山智安科技有限公司 Multi-chip control method, device, electronic equipment and computer readable storage medium
CN112395242B (en) * 2020-11-30 2024-01-30 重庆紫光华山智安科技有限公司 Multi-chip control method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103268262A (en) Method for multiple basebands to access single-user identification card, and processor
CN101350852B (en) Dialing method, system and mobile terminal
KR20190046995A (en) Memory Return Method and Device
CN104572727A (en) Data querying method and device
US10009891B2 (en) Communication method, server and terminal
CN104166738A (en) Database query processing method and device
CN103298074A (en) Network terminal equipment and network switching method for same
US20100248783A1 (en) Mobile terminal and method for providing terminal related information in power-off state
CN101500335B (en) Dual mode terminal and method for processing data service thereof
CN103024023B (en) Digital Reading Room network audit method
KR20110066336A (en) Method for storing rfid tag information and near field communication terminal using thereof
CN108009036B (en) Method for positioning operation causing data abnormity and server
EP3468261B1 (en) Control method and apparatus for smart card, terminal device, and smart card
US8761833B2 (en) Apparatus and method for power saving using predictive polling in a portable terminal
CN103227846A (en) Dialing mode determination method and terminal equipment
CN106374988A (en) Downlink inter-band carrier aggregation configuration method and apparatus, and terminal
US20030162559A1 (en) Mobile communications terminal, information transmitting system and information receiving method
CN203324896U (en) Cloud terminal computer with RFID
US10169572B2 (en) Starting an application on a mobile device
CN109992394B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN114116699A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN101609397B (en) Memory exchange invalidation method for micro memory system based on wireless portable device
CN101873689A (en) Mobile terminal and method of multiplex packet switching service
CN104965718A (en) Method and apparatus for desktop loading
CN106295360A (en) The method and device of data storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130828