CN101742730B - Intelligent card-based machine-card binding method and mobile terminal used for same - Google Patents
Intelligent card-based machine-card binding method and mobile terminal used for same Download PDFInfo
- Publication number
- CN101742730B CN101742730B CN200810177413A CN200810177413A CN101742730B CN 101742730 B CN101742730 B CN 101742730B CN 200810177413 A CN200810177413 A CN 200810177413A CN 200810177413 A CN200810177413 A CN 200810177413A CN 101742730 B CN101742730 B CN 101742730B
- Authority
- CN
- China
- Prior art keywords
- file
- word
- portable terminal
- card
- memory space
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides an intelligent card-based machine-card binding method, which comprises a splitting step and a recombination step. In the method, a kernel image file is split into a first file and a second file according to a reversible splitting algorithm; and in a starting process, the first file and the second file are recombined into the kernel image file.
Description
Technical field
The present invention relates to a kind of based on the binding machine and card method of smart card and the portable terminal that is used for this binding machine and card method.
Background technology
Along with the continuous development of mobile communication technology, the competition between the operator is more and more fierce also.Because the service network of each operator is different, selected the necessary usually portable terminal of selecting to be fit to this kind service network of user of certain service network.So in order to improve occupation rate of market, grab the customer group, operator usually takes some preferential measures, prompt delivery mobile phone or customize services prompt delivery mobile phone etc. for example network.The portable terminal that will get like this for fear of the user diverts to some other purposes, and operator selects the Subscriber Identity Module of portable terminal and this operator is bound usually.
In the portable terminal of existing binding machine and card, bind and only in portable terminal, to implement usually, when operation, discern and judge employed Subscriber Identity Module by portable terminal.The shortcoming of this mode is that the cracker might use leak wherein to revise or the deception portable terminal, makes this portable terminal in the service network of other operators, to use, thereby the operator that this portable terminal is provided is caused damage.An exemplary of this respect is iPhone.The operation mode of iPhone is to cooperate with communication operator, with the network bound of iPhone terminal and cooperation operator, in the expense that the user produced in every month, extracts certain ratio then, reaches the purpose of profit with this.In the process of cooperation, operator undersells the iPhone end product for attracting clients thereby also can subsidize a part of price difference sometimes.But exist a large amount of edition iPhone that cracks in the market, this means that promptly manufacturer's apple (Apple) company of iPhone has lost a large amount of deduction incomes; Simultaneously, the price of on the iPhone end product, subsidizing has then been lost in cooperation operator aspect.
In addition, under current this binding mode, with when the contract expires of operator after portable terminal can not do his usefulness more usually, concerning the user, also caused waste.
Summary of the invention
Therefore; The present invention is directed to the problems referred to above; Provide a kind of portable terminal and Subscriber Identity Module physically separated binding machine and card method; This method can prevent the free portable terminal that the cracker illegally cracks operator to be provided, thereby makes that the special mobile terminal that operator customized is safer.
According to an aspect of the present invention; A kind of binding machine and card method is provided; Comprise: splitting step: according to a kind of reversible fractionation algorithm; The kernel mirror image file is split as first file and second file, and wherein said first file and second file are stored in respectively in first memory and the second memory; And reconfigure step: in start-up course, said first file and second file reconfigured be the kernel mirror image file.
In this way, use the portable terminal of non-matching user identification card can not normally start because lacking complete kernel mirror image file.And, compare with current binding machine and card mode, even cracked the start-up routine of portable terminal,, also still can not obtain complete kernel mirror image file, thereby can not normally start portable terminal like Bootloader.
According to one embodiment of present invention, said fractionation algorithm is self-defining as required by operator, thereby has increased the reverse difficulty that cracks.
According to another aspect of the present invention, a kind of portable terminal is provided, has comprised: started module, be used for when said portable terminal starts, carrying out initialization; And reconfigure module, and be used for start-up course at said portable terminal, first file of storing in the identification card in second file of storing in the said portable terminal and the said portable terminal of insertion is made up, to generate the kernel mirror image file.
Utilize the present invention; After the when the contract expires of user and operator; The user can go to the operator place that the software of portable terminal is upgraded; With unbind, and can this portable terminal be used in combination with the different Subscriber Identity Module of same operator or different operators, thereby avoid waste.
Description of drawings
Through following detailed description with the accompanying drawing, the object of the invention and characteristic will be clearer, wherein:
Fig. 1 is the flow chart of kernel mirror image file split process according to an embodiment of the invention;
Fig. 2 is the flow chart of the process that reconfigures of kernel mirror image file according to an embodiment of the invention; And
Fig. 3 is the sketch map that is used to realize the portable terminal 300 of binding machine and card method of the present invention according to an embodiment of the invention.
Embodiment
In the present invention, said portable terminal is commonly referred to as mobile phone, but is not limited thereto, and it can also comprise that inside is inserted with the PDA of intellective IC card (personal digital assistant) etc.Below, for for simplicity, use mobile phone to describe as an example.
Here said Subscriber Identity Module is the integrated circuit card (IC-card) that meets the ISO7816 standard, and it has independent CPUs and memory, is a kind of smart card.The instance of this smart card includes but not limited to be used for the SIM of GSM mobile communication, is used for the PIM card of PHS Personal Handyphone System mobile communication, is used for the UIM card of cdma mobile communication, and the usim card that is used for following 3G mobile communication.Below, for for simplicity, use SIM to describe as an example.
In an embodiment of the present invention, mobile phone is implemented on the Linux platform, but the present invention is not limited to the Linux platform, but can be applied to other cell phone platforms, for example Symbian, WindowsMobile, Palm etc.
In an embodiment of the present invention; The realization of binding machine and card realizes through kernel image file (KernelImage) being split and reconfiguring the kernel mirror image file when the handset starting; But the present invention is not limited to the kernel image file is split and reconfigures; Can also or move any other required file to handset starting and split and reconfigure, like Baseband, File System etc.
Under the Linux platform; The start-up course of mobile phone is following: after mobile phone power-on powers on; At first move Bootloader (boot); Bootloader carries out initialization to the hardware device of system and sets up the mapping table of memory headroom, then from the memory of mobile phone, the kernel mirror image file is imported to internal memory, and kernel program then brings into operation.Therefore, the kernel mirror image file is split and is stored in respectively will make in SIM and the mobile phone that the SIM that has only coupling and mobile phone could the normal boot-strap operations.
Operator utilized a kind of reversible fractionation algorithm that the required kernel mirror image file of mobile phone operation is split before seeing mobile phone off.Fig. 1 shows the flow chart of kernel mirror image file split process according to an embodiment of the invention, and it comprises the steps:
Step S101 begins to carry out kernel mirror image file split process.
Step S103 reads the kernel mirror image file.
Step S105 judges whether the sequence number of the current word of the kernel mirror image file that is read is prime number.If prime number (step S105: be) then proceeds to step S107, this word is stored among the file A in the SIM memory.If not prime number (step S105: not), then proceed to step S109, this word is stored among the file B in the mobile phone memory.
To each word in the kernel mirror image file that is read execution in step S105 to S109 successively, up to the end of file.After above-mentioned processing all carried out in all words in the file, kernel mirror image file split process finished (step S111).
Operator moved required kernel mirror image file according to above-mentioned split process with mobile phone and splits before mobile phone being offered the user, and the file after will splitting is stored in respectively in SIM memory and the mobile phone memory.
The user takes after the mobile phone and SIM that operator provides, and in the handset starting process, carries out the process that reconfigures of kernel mirror image file at initial phase.Fig. 2 shows the flow chart that kernel mirror image file according to an embodiment of the invention reconfigures process, and it comprises the steps:
Step S201, the mobile phone electrifying startup, Bootloader carries out initialization to system.
Step S203 confirms a memory space in the memory of mobile phone, for each word of this memory space distributes a continuous sequence number successively.The size of this memory space is equal to or greater than the size of whole kernel mirror image file.
Step S205 is this memory space of unit sequence traversal with the word, judges whether the sequence number of the word of this memory space is prime number.If be prime number (step S205: be), then process proceeds to step S207, from the file A of SIM memory, reads a word and stores in this memory space.If be not that (step S205: not), then process proceeds to step S209 to prime number, from the file B of mobile phone memory, reads a word and stores in this memory space.
Above-mentioned steps S205 to S209 carried out in each word that is followed successively by this memory space, finishes or file A and B finish up to this memory space.After above-mentioned processing all carried out in each word in this memory space, the kernel mirror image file reconfigured process and finishes (step S211), had just stored the required kernel mirror image file of mobile phone operation this moment in this memory space.
After the kernel mirror image file reconfigured the process end, Bootloader imported to internal memory with this kernel mirror image file, and kernel program then brings into operation.
In this embodiment, whether selected fractionation algorithm is to be that prime number is confirmed to be stored in the SIM it or in the mobile phone according to the sequence number of each word in the kernel mirror image file, but the present invention is not limited thereto.Can also be odd number or even number splits according to the sequence number of each word; Perhaps simply with the file storage before certain sequence number in SIM; Remainder is stored in the mobile phone, and perhaps any other fractionation algorithm is as long as this fractionation algorithm is reversible.It is self-defining as required by operator splitting algorithm.
In this embodiment, the least unit that splits is " word ", but the present invention is not limited thereto.As required, the least unit that splits can also be double word, byte, perhaps than top grade.
Binding machine and card method of the present invention can realize with software, also can realize with the method that hardware or software and hardware combine.
Fig. 3 shows the sketch map of portable terminal 300 that is used to realize binding machine and card method of the present invention according to an embodiment.
As shown in Figure 3, portable terminal 300 comprises: start module 301, be used for when portable terminal 300 starts, system being carried out initialization; Reconfigure module 303; Be used in portable terminal 300 start-up courses; Another part kernel mirror image file of storing in a part of kernel mirror image file stored in the portable terminal 300 and the SIM in the portable terminal 300 is made up, to generate complete kernel mirror image file.Wherein, this another part kernel mirror image file of storing in this part kernel mirror image file and the SIM of storage in the portable terminal 300 is before the said portable terminal of startup, according to a kind of reversible fractionation algorithm the kernel image file is split to obtain.
Generate after the complete kernel mirror image file, start module 301 the kernel mirror image file is imported internal memory, move kernel then.
Wherein reconfiguring module 303 comprises again: create module 305; System has been carried out initialization when starting module 301; In the time of need the kernel mirror image file being imported internal memory; Create module 305 and in the memory of portable terminal, confirm a memory space, be used to deposit the complete kernel mirror image file that will synthesize; Judge module 307 is used for when with the word being this memory space of unit sequence traversal, judging whether the sequence number of the word of this memory space is prime number; And read module 309; When the sequence number of the word of this memory space is prime number; From the memory of SIM, read a word and put into this memory space, when the sequence number of the word of this memory space is not prime number, from the memory of portable terminal 300, reads a word and put into this memory space.
The present invention has been described with reference to specific embodiment.Can be under the situation that does not depart from essence of the present invention but it will be apparent to one skilled in the art that, disclosed binding machine and card method of the present invention and the portable terminal that is used for this method are made various distortion and modification.Therefore, protection scope of the present invention is not by the above-mentioned specific embodiment decision that provides but is limited by the accompanying claims.
Claims (9)
1. binding machine and card method comprises:
Splitting step: before operator offers the user with portable terminal; According to a kind of reversible fractionation algorithm; The kernel mirror image file that this running of mobile terminal is required is split as first file and second file, and wherein said first file and second file are stored in respectively in smart card memory and the mobile terminal memory; And
Reconfigure step: in start-up course, said first file and second file reconfigured be the kernel mirror image file.
2. binding machine and card method as claimed in claim 1, wherein said fractionation algorithm is self-defining by operator.
3. binding machine and card method as claimed in claim 1, wherein splitting with word, double word, byte or bit in said splitting step to said kernel mirror image file is unit.
4. binding machine and card method as claimed in claim 1, wherein said splitting step is carried out as follows:
A) read said kernel mirror image file;
B) if the sequence number of the word in the said kernel mirror image file is a prime number, then this word is stored in said first file,, then this word is stored in said second file if the sequence number of this word is not a prime number.
5. binding machine and card method as claimed in claim 4, the wherein said step that reconfigures is carried out as follows:
A ') confirms a memory space;
B ') in start-up course; With the word is that unit sequence travels through said memory space; If the sequence number of the word of said memory space is a prime number, then from said first file, read a word in order, if the sequence number of the word of said memory space is not a prime number; Then from said second file, read a word in order, and the word that is read is write said memory space successively.
6. binding machine and card method as claimed in claim 1, wherein said smart card are SIM, PIM card, UIM card or usim card.
7. binding machine and card method as claimed in claim 1, wherein said portable terminal are mobile phone or PDA.
8. portable terminal comprises:
Start module, be used for when said portable terminal starts, carrying out initialization; And
Reconfigure module, be used for start-up course, first file of storing in the identification card in second file of storing in the said portable terminal and the said portable terminal of insertion is made up at said portable terminal, with generation kernel mirror image file,
Said first file and second file are before operator offers the user with this portable terminal, according to a kind of reversible fractionation algorithm, the required said kernel mirror image file of this running of mobile terminal split obtain.
9. portable terminal as claimed in claim 8, the wherein said module that reconfigures also comprises:
Create module, be used for when said portable terminal starts at the definite memory space of the memory of said portable terminal, to deposit the kernel mirror image file that will synthesize;
Judge module is used for judging when with the word being unit sequence when traveling through said memory space whether the sequence number of the word of said memory space is prime number; And
Read module; When the sequence number of the word of said memory space is prime number; From the memory of identification card, read a word and put into said memory space; And when the sequence number of the word of said memory space is not prime number, from the memory of said portable terminal, reads a word and put into said memory space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810177413A CN101742730B (en) | 2008-11-27 | 2008-11-27 | Intelligent card-based machine-card binding method and mobile terminal used for same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810177413A CN101742730B (en) | 2008-11-27 | 2008-11-27 | Intelligent card-based machine-card binding method and mobile terminal used for same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101742730A CN101742730A (en) | 2010-06-16 |
CN101742730B true CN101742730B (en) | 2012-10-10 |
Family
ID=42465402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810177413A Expired - Fee Related CN101742730B (en) | 2008-11-27 | 2008-11-27 | Intelligent card-based machine-card binding method and mobile terminal used for same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101742730B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833395B (en) * | 2012-04-27 | 2017-07-28 | 闻泰通讯股份有限公司 | It is a kind of to prevent customization software mobile phone to be cracked the method and system used |
CN103237118B (en) * | 2013-03-26 | 2015-07-22 | 东莞宇龙通信科技有限公司 | Mobile terminal startup method and system, and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005015802A2 (en) * | 2003-07-23 | 2005-02-17 | Innopath Software, Inc. | DYNAMICALLY BINDING SUBSCRIBER IDENTITY MODULES (SIMs)/USER IDENTITY MODULES (UIMs) WITH PORTABLE COMMUNICATION DEVICES |
CN101034991A (en) * | 2007-04-06 | 2007-09-12 | 中兴通讯股份有限公司 | Secure guiding system, method, code signature construction method and authentication method |
CN101043327A (en) * | 2007-03-16 | 2007-09-26 | 中兴通讯股份有限公司 | Anti-symmetric algorithmic based mobile terminal security lock network locking card protection and unlocking method |
-
2008
- 2008-11-27 CN CN200810177413A patent/CN101742730B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005015802A2 (en) * | 2003-07-23 | 2005-02-17 | Innopath Software, Inc. | DYNAMICALLY BINDING SUBSCRIBER IDENTITY MODULES (SIMs)/USER IDENTITY MODULES (UIMs) WITH PORTABLE COMMUNICATION DEVICES |
CN101043327A (en) * | 2007-03-16 | 2007-09-26 | 中兴通讯股份有限公司 | Anti-symmetric algorithmic based mobile terminal security lock network locking card protection and unlocking method |
CN101034991A (en) * | 2007-04-06 | 2007-09-12 | 中兴通讯股份有限公司 | Secure guiding system, method, code signature construction method and authentication method |
Also Published As
Publication number | Publication date |
---|---|
CN101742730A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2649823B1 (en) | Method for switching between a first and a second logical uicc comprised in a same physical uicc | |
EP2735180B1 (en) | Application selection for multi-sim environment | |
CN102783121B (en) | Communications device | |
CN105338515B (en) | Data service transmission method and mobile communication equipment | |
CN100496165C (en) | Mobile telecommunication mobile phone and method for recognizing one or more cards using one socket | |
CN101025782B (en) | Method and apparatus for contactless interface on ICC supporting high speed interface | |
JP2011170859A (en) | Storage medium | |
CN101253789A (en) | Customization of mobile stations | |
CN104683971A (en) | Communication method and terminal | |
CN110809255A (en) | Card information activation method and device and storage medium | |
CN105430738B (en) | A kind of method and device for initiating registration | |
WO2024130943A1 (en) | Network access method and system for communication device | |
CN100488304C (en) | A method and device for binding and unbinding the terminal device with the user identification card | |
US8121581B2 (en) | Wireless communications methods and devices selecting configurations from multiple configurations stored in nonvolatile memory | |
CN101742730B (en) | Intelligent card-based machine-card binding method and mobile terminal used for same | |
CN101150800A (en) | A method for multi-mode terminal to support multi-card combination | |
CN102984330A (en) | Contact person data management method of communication device | |
CN102184375A (en) | Management method and terminal of data in subscriber identity module (SIM) card | |
CN108882222B (en) | Method for realizing one card with multiple numbers of terminal | |
CN105979552A (en) | Method and system for usage of manual plmn selection mode | |
CN101651865B (en) | Method and terminal for calling number in multi-mode terminal | |
CN103369721A (en) | Wireless communication module and operation method thereof | |
CN108668270A (en) | Burn chucking method, device and user equipment | |
CN112887958A (en) | Data storage method, storage medium and terminal equipment | |
CN108834127B (en) | Terminal loss reporting method, device, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121010 Termination date: 20121127 |