CN101646152A - Mobile terminal charging method and device - Google Patents
Mobile terminal charging method and device Download PDFInfo
- Publication number
- CN101646152A CN101646152A CN200910168118A CN200910168118A CN101646152A CN 101646152 A CN101646152 A CN 101646152A CN 200910168118 A CN200910168118 A CN 200910168118A CN 200910168118 A CN200910168118 A CN 200910168118A CN 101646152 A CN101646152 A CN 101646152A
- Authority
- CN
- China
- Prior art keywords
- sign
- portable terminal
- remote server
- charging
- file
- 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.)
- Granted
Links
Images
Landscapes
- Meter Arrangements (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a mobile terminal charging method and a device. The method comprises: 1. starting a charging program on the mobile terminal; 2. obtaining a first identification from a SIM card of the mobile terminal and storing; 3. judging whether the mobile terminal stores a second identification or not; if yes, executing step 5, if not, executing step 4; 4. establishing a second identification, and executing step 5 when the second identification is equal to the first identification; 5. sending the first identification and the second identification to a remote server; 6. judging whether the first identification is equal to the second identification or not by the remote server; if yes, entering a fee accounting flow; if not, entering a fee charging program instead of the fee accounting flow. The device comprises a program application module, a storing module, a judging module, a sending module and a remote server. The invention ensures that the same mobile terminal does not repeatedly account fees when respectively using two different SIM cards.
Description
Technical field
The present invention relates to portable terminal charging program application, particularly relate to a kind of charging method and device that uses the portable terminal of charging program.
Background technology
At present, along with the continuous development of mobile communication technology, portable terminal has been deep in people's the life, and mobile communication has also become the most widely used communication mode.Here, the alleged portable terminal of the present invention is meant mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc. based on SIM card small hand-held formula mobile communication equipment (SubscriberIdentity Module, user identification module), that have wireless communication function.
With the mobile phone is example, and people are except obtaining the various information from voice or manual board, also needs to realize the download service such as Online Music, picture of mobile phone.General value-added service all is according to the IMSI of unique correspondence of SIM card (International mobile subscriber identity, international mobile subscriber identity) number charges as unique identification, but such situation can appear, same mobile terminal user cause because change different SIM card having charged on that original SIM card can be in a specified time arbitrarily used service when the other SIM card of use, can duplicate the situation of charging, make troubles to mobile phone users.
Summary of the invention
At defective that exists in the prior art and deficiency, the objective of the invention is to propose a kind of mobile terminal charging method and device, when using the different SIM card, avoid duplicating the situation of charging to be implemented in same portable terminal.
In order to achieve the above object, the present invention proposes a kind of mobile terminal charging method, comprising:
Charging program on step 1, the startup portable terminal;
Step 4, establishment second sign, and described second sign equals described first sign, execution in step 5;
Preferred as technique scheme, described step 2 is specially:
Preferred as technique scheme, described step 3 is specially:
Preferred as technique scheme, described step 4 is specially: in described second file, create second sign, and described second sign and described first identity equality, execution in step 5.
Preferred as technique scheme, described step 5 is specially: described first sign and described second is identified add in the HTTP header, be sent to remote server.
Preferred as technique scheme, it is international mobile subscriber identity IMSI that described first sign and described second identifies.
The present invention also proposes a kind of portable terminal message accounting, comprising:
The program application module is used for storage and uses charging program;
Memory module is used for obtaining first sign and storage from the SIM card of portable terminal;
Judge module is used to judge whether have second sign in the portable terminal; If described first sign and described second sign are sent to remote server by described sending module; If not, create second sign and also be stored in the described memory module, and described second sign equals described first sign, will described first sign and described second identify by described sending module then and be sent to remote server;
Sending module is used for described first sign and described second sign are sent to remote server;
Remote server is used to judge whether described first sign that receives equates with described second sign; If enter charging flow; If not, not entering charging flow directly calls described program application module and enters described charging program.
Preferred as technique scheme, described sending module are used for described first sign and described second identified adds the HTTP header to and is sent to remote server.
Preferred as technique scheme, described memory module also is used to create described first sign of first file storage and creates described second sign of second file storage.
Preferred as technique scheme, it is international mobile subscriber identity IMSI that described first sign and described second identifies.
Mobile terminal charging method proposed by the invention judges at first with device whether same portable terminal uses different SIM card, if use different SIM card, then finish charging flow, directly enter charging program, if use same SIM card, then enter normal charging flow, therefore, make this portable terminal respectively when using different SIM card, can not duplicate the situation of charging.
Description of drawings
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Fig. 1 is the composition schematic diagram of the portable terminal message accounting of the present invention's proposition;
Fig. 2 is the schematic flow sheet of first preferred embodiment of the mobile terminal charging method of the present invention's proposition;
Fig. 3 is the schematic flow sheet of the another preferred embodiment of the mobile terminal charging method of the present invention's proposition.
Embodiment
Below be the preferred embodiments of the present invention, as shown in Figure 1, a kind of portable terminal message accounting comprises: program application module 101, memory module 102, judge module 103, sending module 104, remote server 105; Wherein,
The portable terminal charging program that program application module 101 is used to store and user application need use;
Wherein, above-mentioned sending module 104 is described first sign and described second to be identified to add to be sent to remote server 105 in the HTTP header.
Described memory module 102 can also be created first file and store described first sign, creates second file and stores described second sign.
Described first sign and described second sign are international mobile subscriber identity IMSI, and each SIM card all has unique IMSI sign indicating number.
First preferred embodiment of a kind of mobile terminal charging method that the present invention proposes is as follows, as shown in Figure 2, comprising:
Charging program on step 1, the startup portable terminal;
Step 4, the establishment second sign MID2, and the described second sign MID2 equals the described first sign MID1, execution in step 5;
Step 8, do not enter charging flow, enter described charging program.
Wherein, store after above-mentioned first sign and second identifies in the file that can also be stored in earlier separately, safety is managed with being easy to so more again.Therefore, as shown in Figure 3, the step 2 in above-mentioned first preferred embodiment can be specially following step:
Correspondingly, the step 3 in first preferred embodiment can be specially:
Correspondingly, the step 4 in the foregoing description can be specially:
The step 5 of the foregoing description can be specially:
Described first sign MID1 and the described second sign MID2 are international mobile subscriber identity IMSI, and each SIM card all has unique IMSI sign indicating number.
Below, specify the situation that duplicates charging when how mobile terminal charging method that the present invention proposes avoids same portable terminal to use the different SIM card respectively for example:
Portable terminal A uses SIM card 1 to use charging program a for the first time, and the IMSI MID1 of supposition SIM card 1 is 001, at first judge FILE1, whether FILE2 exists, this moment FILE1, FILE2 does not exist, then create FILE1, FILE2, and to obtain MID1 from SIM card 1 be 001 and be stored among the FILE1, judge then whether MID2 exists among the FILE2, this moment, MID2 did not exist, and creates MID2 in FILE2, and the value of MID1 is composed to MID2, make MID2=MID1=001,, then MID1 and MID2 are added in the HTTP header file, and are sent in the remote server by network, remote server receives MID1 and MID2, and judging whether MID1 equates with MID2, MID2=MID1=001 then entered into normal charging flow and chargeed this moment;
If use the portable terminal A of SIM card 2 to pay the fees in SIM card 1, when the random time in the disposable time limit reuses charging program a, the IMSI MID that supposes SIM card 2 is 002, this moment, portable terminal A was deducted expense, can enjoy any use in the specified time, according to above-mentioned step, at first judge FILE1, whether FILE2 exists, because used SIM card 1 before, so FILE1, FILE2 exists, read MID1 this moment from SIM card 2 be 002, and it is stored among the FILE1, judge then and whether have MID2 among the FILE2, because used SIM card 1 before, so MID2 exists, MID2 is 001, then MID1 and the MID2 that obtains added in the HTTP header file, and be sent in the remote server by network, remote server receives MID1 and MID2, and judges whether MID1 equates with MID2, at this moment, MID1 is 002, MID2 is 001, and both are unequal, and then explanation is that same portable terminal is using two different SIM card respectively, then finish charging flow, directly enter charging program a.Duplicate the situation of charging when so just having avoided same portable terminal A to use SIM card 1 and SIM card 2 respectively.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection range of claim of the present invention.
Claims (10)
1, a kind of mobile terminal charging method is characterized in that, comprising:
Charging program on step 1, the startup portable terminal;
Step 2, from the SIM card of portable terminal, obtain first the sign and the storage;
Step 3, judge whether existed in the portable terminal second the sign; If, execution in step 5; If not, execution in step 4;
Step 4, establishment second sign, and described second sign equals described first sign, execution in step 5;
Step 5, described first sign and described second sign are sent to remote server;
Step 6, described remote server judge whether described first sign equates with described second sign; If enter charging flow; If not, do not enter charging flow and enter described charging program.
2, mobile terminal charging method according to claim 1 is characterized in that, described step 2 is specially:
Step 21, judge whether have first file and second file in the portable terminal; If, execution in step 23; If not, execution in step 22;
Step 22, establishment first file and second file;
Step 23, from the SIM card of portable terminal, obtain first sign, and be stored in described first file.
3, mobile terminal charging method according to claim 2 is characterized in that, described step 3 is specially:
Step 31, judge whether there is second sign in the portable terminal in described second file; If, execution in step 5; If not, execution in step 4.
4, according to right 3 described mobile terminal charging methods, it is characterized in that described step 4 is specially: in described second file, create second sign, and described second sign and described first identity equality, execution in step 5.
5, according to the described mobile terminal charging method of arbitrary claim in the claim 1 to 4, it is characterized in that described step 5 is specially: described first sign and described second sign are added in the HTTP header, be sent to remote server.
6, mobile terminal charging method according to claim 1 is characterized in that, described first sign and described second sign are international mobile subscriber identity IMSI.
7, a kind of portable terminal message accounting is characterized in that, comprising:
The program application module is used for storage and uses charging program;
Memory module is used for obtaining first sign and storage from the SIM card of portable terminal;
Judge module is used to judge whether have second sign in the portable terminal; If described first sign and described second sign are sent to remote server by described sending module; If not, create second sign and also be stored in the described memory module, and described second sign equals described first sign, will described first sign and described second identify by described sending module then and be sent to remote server;
Sending module is used for described first sign and described second sign are sent to remote server;
Remote server is used to judge whether described first sign that receives equates with described second sign; If enter charging flow; If not, not entering charging flow directly calls described program application module and enters described charging program.
8, portable terminal message accounting according to claim 7 is characterized in that, described sending module is used for described first sign and described second identified and adds the HTTP header to and be sent to remote server.
9, portable terminal message accounting according to claim 7 is characterized in that, described memory module also is used to create described first sign of first file storage and creates described second sign of second file storage.
According to the described portable terminal message accounting of arbitrary claim in the claim 7 to 9, it is characterized in that 10, described first sign and described second sign are international mobile subscriber identity IMSI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101681184A CN101646152B (en) | 2009-08-28 | 2009-08-28 | Mobile terminal charging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101681184A CN101646152B (en) | 2009-08-28 | 2009-08-28 | Mobile terminal charging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101646152A true CN101646152A (en) | 2010-02-10 |
CN101646152B CN101646152B (en) | 2012-04-25 |
Family
ID=41657819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101681184A Expired - Fee Related CN101646152B (en) | 2009-08-28 | 2009-08-28 | Mobile terminal charging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101646152B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368846A (en) * | 2011-11-25 | 2012-03-07 | 深圳市五巨科技有限公司 | Cell phone charging method and cell phone charging system |
CN102404707A (en) * | 2011-11-28 | 2012-04-04 | 深圳市五巨科技有限公司 | Charging method for video chat of mobile terminal and mobile terminal thereof |
CN102427580A (en) * | 2011-12-30 | 2012-04-25 | 深圳市五巨科技有限公司 | Mobile terminal charging method and system |
CN103067902A (en) * | 2012-12-07 | 2013-04-24 | 华为终端有限公司 | Charging method, server, mobile terminal and charging system |
CN103428176A (en) * | 2012-05-18 | 2013-12-04 | 中国电信股份有限公司 | Mobile user accessing mobile Internet application method and system and application server |
CN111199395A (en) * | 2018-11-20 | 2020-05-26 | 千寻位置网络有限公司 | Control method and device for equipment charging and charging system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6359975B1 (en) * | 2000-03-17 | 2002-03-19 | Lucent Technologies, Inc. | Intelligent-networked telecommunication system which strategically creates and employs service-dependent pseudo calling line identities to eliminate redundant billing errors |
CN100420171C (en) * | 2003-03-25 | 2008-09-17 | 华为技术有限公司 | Method for user identification byusing user mark module information |
CN101068415A (en) * | 2007-05-29 | 2007-11-07 | 中国网络通信集团公司 | Mobile terminal machine card matching information logon method and device |
CN101489208B (en) * | 2009-02-11 | 2010-10-06 | 深圳市五巨科技有限公司 | Intelligent fee counting method for mobile terminal |
-
2009
- 2009-08-28 CN CN2009101681184A patent/CN101646152B/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368846A (en) * | 2011-11-25 | 2012-03-07 | 深圳市五巨科技有限公司 | Cell phone charging method and cell phone charging system |
CN102404707A (en) * | 2011-11-28 | 2012-04-04 | 深圳市五巨科技有限公司 | Charging method for video chat of mobile terminal and mobile terminal thereof |
CN102427580A (en) * | 2011-12-30 | 2012-04-25 | 深圳市五巨科技有限公司 | Mobile terminal charging method and system |
CN103428176A (en) * | 2012-05-18 | 2013-12-04 | 中国电信股份有限公司 | Mobile user accessing mobile Internet application method and system and application server |
CN103067902A (en) * | 2012-12-07 | 2013-04-24 | 华为终端有限公司 | Charging method, server, mobile terminal and charging system |
CN103067902B (en) * | 2012-12-07 | 2016-08-10 | 华为终端有限公司 | Charging method, server, mobile terminal and charge system |
CN111199395A (en) * | 2018-11-20 | 2020-05-26 | 千寻位置网络有限公司 | Control method and device for equipment charging and charging system |
Also Published As
Publication number | Publication date |
---|---|
CN101646152B (en) | 2012-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101646152A (en) | Mobile terminal charging method and device | |
CN101304575A (en) | Method and communication terminal capable of automatically matching incoming call number or note number | |
KR20070028570A (en) | System and method for background download of digital content to an intermittently connected peripheral device via a wireless device | |
CN103501374A (en) | Telephone book sequencing method and device as well as terminal | |
CN101499911B (en) | Fee charging system, apparatus and method | |
CN103517228A (en) | Contact information prompting method of mobile terminal and system of mobile terminal and mobile terminal | |
CN102014148A (en) | Method for automatically recommending friend of same region in instant communication of mobile phone | |
CN104602242A (en) | Method and device for preventing voice phishing | |
CN103369100A (en) | Mobile terminal and method for generating head portrait of contact person | |
CN102833699A (en) | Method and system for simulating two-way functions and mobile communication terminal | |
CN102149068B (en) | Roaming access method and terminal | |
WO2013174334A2 (en) | Mobile terminal-based number display method and apparatus, and mobile terminal | |
CN106790927A (en) | Telephone number updating method and device | |
CN108271130B (en) | Communication system and method for identifying pseudo base station short message | |
CN102469442B (en) | Method and device for determining service supported by user terminal | |
CN103167177A (en) | Method and system for displaying urban landscape pictures on call interface | |
CN104079698A (en) | Incoming call information display method and device | |
CN101415268B (en) | Method for automatically identifying double numbers of double-mode mobile terminal | |
CN103888230B (en) | timer dynamic setting method and device | |
CN102158532A (en) | Communication connection method and data card | |
CN101924824A (en) | Mobile terminal as well as short message background display method and device thereof | |
CN101163277A (en) | Information processing method and subscriber terminal | |
CN104079697A (en) | Contact avatar setting method and mobile terminal | |
CN103634453A (en) | Face recognition anti-theft mobile phone | |
KR101435192B1 (en) | System for integrating cellular phone information by using cloud computing and Method for devising Avatar Phone using the same |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120425 Termination date: 20150828 |
|
EXPY | Termination of patent right or utility model |