CN102892091A - Scheme for acquiring own mobile phone number - Google Patents

Scheme for acquiring own mobile phone number Download PDF

Info

Publication number
CN102892091A
CN102892091A CN2012103386438A CN201210338643A CN102892091A CN 102892091 A CN102892091 A CN 102892091A CN 2012103386438 A CN2012103386438 A CN 2012103386438A CN 201210338643 A CN201210338643 A CN 201210338643A CN 102892091 A CN102892091 A CN 102892091A
Authority
CN
China
Prior art keywords
mobile phone
note
number
scheme
phone number
Prior art date
Application number
CN2012103386438A
Other languages
Chinese (zh)
Inventor
张少文
刘冲
唐敏
Original Assignee
佳都新太科技股份有限公司
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 佳都新太科技股份有限公司 filed Critical 佳都新太科技股份有限公司
Priority to CN2012103386438A priority Critical patent/CN102892091A/en
Publication of CN102892091A publication Critical patent/CN102892091A/en

Links

Abstract

The invention discloses a scheme for acquiring own mobile phone number, relates to the field of mobile phone communication, and is mainly a technology for acquiring own mobile phone number by using a mobile phone client (an Internet work operating system (IOS) platform is not involved when the technology is specifically implemented). The scheme for acquiring the number is implemented by two methods, wherein one method comprises the step of trying to read own mobile phone number from the mobile station international subscriber dialing number (MSISDN) information of a subscriber identity module (SIM) card of a mobile phone by reading the MSISDN information; and if the MSISDN cannot be read, the other method for acquiring own mobile phone number by utilizing short message transmission and receiving functions of the mobile phone is adopted, and is specifically implemented by inputting the mobile phone number, generating a short message with a six-bit verification code, transmitting the short message to a short message operator, receiving a short message with contents the same as those of the verification code, and reading the number of transmitter, namely own mobile phone number. The scheme is applied to almost all SIM cards, and is high universality and acquisition efficiency and quality.

Description

A kind of scheme of obtaining the machine phone number

Technical field

The present invention relates to communication field, be suitable for cell phone platform (except IOS), particularly relate to a kind of software, method and communication system that will obtain the machine phone number.

Technical background

In modern society, mobile phone has become the requisite instrument of people, and at present people not only carry out communication with mobile phone, and can be used for surfing the web and receiving and dispatching mail, enter the interactive and login of community and carry out meeting and exchange.Present many software programs all need login, many software application accounts, password are arranged as user's identifier, yet probably can use the number of the machine in the middle of communication process, and also exist certain safety issue, account password might be revealed.Therefore, use the number of mobile phone the machine as user's identifier, can guarantee user's uniqueness and authenticity, solve the potential safety hazard that some account password are revealed.And to the checking of mobile phone loCal number, more common method is that the information of MSISDN in the direct reading SIM card is obtained, but owing to be not the information that has loCal number on all SIM cards of mobile phones, so generally select following a kind of method as for subsequent use: send request by server, then come to read in the return information loCal number by server, but the efficient of this scheme is not high, and the threshold of the cost of exploitation and realization is higher, and the funds of input are too large; And this method of obtaining by server, because the change of some communication company's strategy, cell-phone number becomes the unique string number as the book from heaven, therefore directly obtains cell-phone number also dying from server end at present.

Summary of the invention

Technical problem to be solved by this invention provides a kind of scheme of obtaining the mobile phone loCal number, in order to a kind of mode that user identity is authenticated at cell-phone customer terminal to be provided, realize simple, cost and the threshold of exploitation are lower, reduce the possibility that authenticating user identification is made mistakes, improved the fail safe of user identity, and efficient and the quality of authentication.

For achieving the above object, the invention provides a kind of scheme of obtaining the mobile phone loCal number, comprise in the reading SIM card MSISDN information getting method and receive by note and obtain access method.First method is as pioneer's method, and second method method in support if namely obtain successfully in first method, then stops to carry out; Otherwise, carry out second method.

Described first method is used for the SIM card that mobile phone MSISDN has loCal number information, when client software will obtain loCal number, can carry out first this method.The API of the direct calling mobile phone of the method gets access to loCal number, and process is simple and clear relatively.

Described second method is used for the SIM card (first method fails to obtain) that mobile phone MSISDN does not have loCal number information, when client software will obtain loCal number, owing to first method can't be obtained successfully, so carry out the method.The method by utilizing note transmitting-receiving and it is carried out necessary checking, thereby from the note of receiving, read sender's number, then be loCal number.

The invention provides a kind of algorithm of avoiding user identity to admit one's mistake, for second method, probably the user can receive other notes in the time range of waiting for, can obtain loCal number to the user like this and cause authentication to make mistakes.On this problem, scheme is provided with the identifying code of six bit digital to the note that sends, and the identifying code of six simple digital can be avoided on the mobile phone some fail-safe softwares to think by mistake being refuse messages and it is tackled simultaneously.Then at receiving terminal the note that receives is verified, judged that whether whether its content (being identifying code) consistent with the short message content (identifying code) that sends, if unanimously, can remove to get access to the number of the machine.Otherwise, if do not receive the note of expection in setting time, return error message.

The invention provides a kind of solution fault-tolerant to operation and environment.At first identifying code is created on before note sends, i.e. identifying code in the note of every generation is different, and different identifying codes more is conducive to one to one checking between the note of corresponding send and receive, has avoided obscuring between the receiving terminal note.Secondly, after note sent, (according to present network environment, tentative is 60 seconds) was if can not receive the note of expectation at the appointed time, report an error, and prompting user, thereby prevent that the note of not receiving expectation because of receiving terminal has been absorbed in the unconfined wait, last, waiting for the time period that receives note, the user can click to cancel the wait to the expectation note, and corresponding the realization is to stop the note monitor, and returns relevant information to the user.Above-mentioned fault-tolerant method has improved the robustness that the present invention realizes program.

Can be found out by such scheme, among the present invention by to SIM card MSISDN information with therefrom get access to the loCal number of mobile phone by the process that sends and receives of note.By second method the strong of first method replenished, guaranteed that user program can get access to loCal number exactly, finishes corresponding user ID authentication function etc.And no matter this scheme with respect to former solution, is from the complexity that realizes, cost and the threshold of exploitation, or the effect and quality of carrying out, and all has greatly improved.

Description of drawings

In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do simple the introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.

Fig. 1 is schematic flow sheet in the embodiment of the invention one;

Fig. 2 is that sequential is carried out schematic diagram in the embodiment of the invention one.

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.Obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.

Embodiment one, referring to Fig. 2

The invention provides a kind of scheme of obtaining the mobile phone loCal number, described scheme includes two kinds of methods, and described first method is pioneer's method, and described second method is rear Preparation Method.

Described first method is used for: the MSISDN of SIM cards of mobile phones has the situation of loCal number information.Get access to this information by the API on the calling mobile phone.But owing to be not that all mobile phones all have loCal number among the MSISDN, so although the method is easy, be not to be applicable to all situations, do not have versatility.

Described second method is used for: fail to read the situation of loCal number on the MSISDN of SIM cards of mobile phones, utilize existing communication network, by note send and receive and note between the process verified, therefrom obtain loCal number.

The course of work of such scheme specifically may further comprise the steps referring to Fig. 1:

Step S01, cell-phone customer terminal call first API, come the MSISDN information in the reading SIM card;

Step S02 filters out the information of loCal number in the MSISDN information that obtains from S01, if return null, namely can not obtain, and then carries out S03; Otherwise, obtain loCal number information, finish.

Step S03 points out the input handset number to the user, and generates a note take this phone number as receiving number;

Step S04 generates the identifying code of 6 integers, and the content of the note that S03 generates is set is the identifying code of these 6 integers;

Step S05, the note that above-mentioned steps is obtained sends.

Step S06 opens the note monitor, waits for the reception of expectation note.

Step S07 judges whether and can receive note in setting time, if receive, then carry out S08, otherwise S03 is returned in redirect;

Step S08, whether the identifying code in the note of the content of the note that judgement receives is consistent, if consistent, this is the note that we expect, carries out S09, otherwise rebound S06 continues to wait for.

Step S09 the reception note that obtains, isolates sender's number of this note under above-mentioned steps, this number is the loCal number of mobile phone, finishes.

Scheme of the present invention is usually used in the bitcom to the authentication of user identity, and the login module of then quoting cell-phone customer terminal is that strength describes.

When the user want to sign in on the server with oneself cell-phone customer terminal, at first, the login of this server end was that cell-phone number take the user is as user identifier.This client at first can be attempted to call API and be checked CSISDN information in the SIM card therefrom whether can extract loCal number.

Secondly, in the time can not from SIM card, reading loCal number, client can be pointed out the phone number of inputting self as the user, but may there be the input error to own phone number own in user itself, if do not use the solution of the present invention, this user's identifier just can not be veritably binds together with self SIM cards of mobile phones, and the effect of this scheme, the SIM card of guaranteeing exactly mobile phone is one to one with the user ID that signs in to server, rather than simple this a series of numeral (loCal number) conduct of saying signs in to the sign of server, like this, any mobile phone can be logined with such number.After this, the client of this mobile phone just generates a note automatically, and the content that generates note is set to six identifying code, then, client can send the note that generates automatically, and starts the note monitor of mobile phone itself, monitors the situation of the reception of note.

Then, waiting in the time that receives, in 60 seconds.If the note of receiving, cell-phone customer terminal can listen to the content in the note that receives, and judges whether that then with the identifying code that has just sent be consistent.When client has obtained the consistent result of identifying code, just think that the note of this acceptance is exactly the note of expectation, this just proves the recipient's of the note that just now sent the number of really own mobile phone itself, so just finished obtaining own loCal number, in obtaining successfully, client just can realize the binding of number and SIM card, and then, client can connection server with this identifier.

Therefore a kind of scheme of obtaining the mobile phone loCal number provided by the invention has following advantage.

(1) realizes simply

The present invention only need to utilize mobile phone A PI and existing communication network, and in existing communication network, utilize reception transmission and the checking thereof of note just can realize obtaining loCal number, if obtain with server, at first, on client, add the corresponding module of obtaining, and on server, also to add the service module function that cell-phone number is obtained in to mobile phone terminal requirement, increased the difficulty of exploitation in certain degree.

(2) reduce cost and the threshold of developing

The present invention has reduced in exploitation, deployment, the maintenance cost of server end to this module because need to not develop at server end.Yet the scheme of employing server-side processes need to utilize the server of self taking structure to receive the transmission note, need each operator to support, and expense and the threshold of application is higher.

(3) fault-tolerant ability is strong

The present invention can tackle the situation of various bursts freely, as setting identifying code, guarantees to send note and receives being proved to be successful before the note; Limit to wait for receive the time of expectation note, prevent the unconfined wait of client and transfer to the user and carry out next step processing; Before waiting for that note arrives, the user can click cancellation and stop the operation of this note monitor, thereby stops the operation of this module, and upwards the user is carried out the operation indicating of relevant information.

By the description of above embodiment of the method, the those skilled in the art can be well understood to the present invention can add that note operator realizes short message service by software, and technology of the present invention mainly is that the application program by cell-phone customer terminal embodies.

For scheme implementation example, because it is substantially corresponding to embodiment of the method, so relevant part gets final product referring to the part explanation of embodiment of the method.Scheme implementation example described above only is that schematically those of ordinary skills namely can understand and implement in the situation of not paying creative work.

In several embodiment that the application provides, should be understood that disclosed scheme not surpassing in the application's the spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.

In addition, the schematic diagram of institute's description scheme and embodiment, in the scope that does not exceed the application, can with other system, module, technology or method in conjunction with or integrated.

The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1. a scheme of obtaining the machine phone number is characterized in that, comprises, reads this plane No. of MSISDN acquisition of information of SIM cards of mobile phones and obtains two kinds of methods of this plane No. with utilizing the transmission SMS; Described first method is used for there is the SIM card of loCal number information, but can not be used for all SIM card; Described second method is used for sending and receiving and verifying with crossing note in the situation that first method can not obtain, gets access to the number of the machine.
2. method according to claim 1 is characterized in that, comprises, the running of whole scheme is first manner of execution one, if still can not obtain, then manner of execution two; Get off so successively, just can access the high-quality solution of comparison high efficiency.
3. method according to claim 1 is characterized in that, comprises, the idiographic flow of method two is: first step elder generation input handset number; Second step is issued 6 random integers identifying codes that generate the mobile phone of first step input; The monitor of the 3rd step starting hand-set, and the note data storehouse of monitoring mobile phone; The 5th step was waited for note, if received short message content and consistent with the identifying code of second step generation in 60 seconds, then the sender of desirable reception note is loCal number, otherwise the prompting failure is also returned the first step.
4. a scheme of obtaining the machine phone number is characterized in that, comprises, obtaining of loCal number need not connection server, transmits after server process and returns to obtain number; But utilize existing communication network, in the situation of SIM card without number information, by note, can finish very easily this demand.
5. a scheme of obtaining the machine phone number is characterized in that, comprises, potential in the problem of the interception of some fail-safe softwares for solving, concrete method is: use simple 6 random integers, avoid being identified as refuse messages; In addition, directly monitor the note data storehouse, with respect to waiting system broadcasting, priority is higher.
6. scheme of obtaining the machine phone number, it is characterized in that, comprise, after starting note data storehouse monitor, receive possibly other notes, for certain bar note of determining to receive for the checking note, identify by the short message content (i.e. six identifying code) of setting characteristics, the content (identifying code) of the note of wherein receiving and the note of transmission is all mutually and is identified as merit.
CN2012103386438A 2012-09-07 2012-09-07 Scheme for acquiring own mobile phone number CN102892091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103386438A CN102892091A (en) 2012-09-07 2012-09-07 Scheme for acquiring own mobile phone number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103386438A CN102892091A (en) 2012-09-07 2012-09-07 Scheme for acquiring own mobile phone number

Publications (1)

Publication Number Publication Date
CN102892091A true CN102892091A (en) 2013-01-23

Family

ID=47535417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103386438A CN102892091A (en) 2012-09-07 2012-09-07 Scheme for acquiring own mobile phone number

Country Status (1)

Country Link
CN (1) CN102892091A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189362A2 (en) * 2013-05-21 2013-12-27 中兴通讯股份有限公司 Own number obtaining method and system, terminal and server
CN104270493A (en) * 2014-09-15 2015-01-07 倪敏俊 Method for safely managing unit address book
CN104618889A (en) * 2015-02-12 2015-05-13 南京守护宝信息技术有限公司 Method for acquiring own number through GPS terminal
CN106230597A (en) * 2016-07-28 2016-12-14 努比亚技术有限公司 Short message verification code checking device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435985A (en) * 2002-01-30 2003-08-13 鸿联九五信息产业股份有限公司 Dynamic cipher safety system and dynamic cipher generating method
CN1444414A (en) * 2002-03-12 2003-09-24 斯伦贝谢神码(北京)信息技术有限公司 User identification module card, method for activating user identification module card in sky and its system
CN102138347A (en) * 2008-04-02 2011-07-27 沃达方集团有限公司 Telecommunications network
CN102595455A (en) * 2012-02-09 2012-07-18 大唐移动通信设备有限公司 Method and device for managing test module in automatic road test system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435985A (en) * 2002-01-30 2003-08-13 鸿联九五信息产业股份有限公司 Dynamic cipher safety system and dynamic cipher generating method
CN1444414A (en) * 2002-03-12 2003-09-24 斯伦贝谢神码(北京)信息技术有限公司 User identification module card, method for activating user identification module card in sky and its system
CN102138347A (en) * 2008-04-02 2011-07-27 沃达方集团有限公司 Telecommunications network
CN102595455A (en) * 2012-02-09 2012-07-18 大唐移动通信设备有限公司 Method and device for managing test module in automatic road test system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189362A2 (en) * 2013-05-21 2013-12-27 中兴通讯股份有限公司 Own number obtaining method and system, terminal and server
WO2013189362A3 (en) * 2013-05-21 2014-04-17 中兴通讯股份有限公司 Own number obtaining method and system, terminal and server
CN104185168A (en) * 2013-05-21 2014-12-03 中兴通讯股份有限公司 Method of acquiring own number, system and terminal
CN104270493A (en) * 2014-09-15 2015-01-07 倪敏俊 Method for safely managing unit address book
CN104618889A (en) * 2015-02-12 2015-05-13 南京守护宝信息技术有限公司 Method for acquiring own number through GPS terminal
CN106230597A (en) * 2016-07-28 2016-12-14 努比亚技术有限公司 Short message verification code checking device and method

Similar Documents

Publication Publication Date Title
CN102970362B (en) The method of a kind of high in the clouds data sharing and device
CN101523859B (en) System and method for authenticating remote server access
CN101447872B (en) User identity authentication method, system thereof and identifying code generating maintenance subsystem
RU2370901C2 (en) Checking contact permissibility and updating reliable contacts of mobile wireless communication devices
CN100463405C (en) Communication method and system based on group
CN101242404B (en) A validation method and system based on heterogeneous network
CN1852094B (en) Method and system for protecting account of network business user
CN100558176C (en) Communication terminal device and communication control method
JP2012530311A (en) How to log into a mobile radio network
CN103295304B (en) Based on community intelligent entrance guard control method and the device thereof of mobile phone 3G network
US20140256312A1 (en) Method, terminal, and system for exchanging electronic name cards
KR100431563B1 (en) Mobile-station adapted for removable user identity modules
US8055558B2 (en) Method and system for authentication via communication terminal using short message
CN103944737A (en) User identity authentication method, third-party authentication platform and operator authentication platform
EP2688326A1 (en) Multi-card mobile terminal and method thereof for transferring sim card data
CN101217367B (en) An operation right judgment system and method realized by introducing right judgment client end
CN101242271B (en) Trusted remote service method and system
CN101534531B (en) A network switching method and system
CN104125062A (en) Login method, device, login authentication device, server, terminals and system
CN1647446B (en) Instant log-in method for authentificating a user and settling bills by using two different communication channels and a system thereof
CN102629351A (en) Automatic communication method based on express waybill and terminal
CN102546914A (en) Automatic login system based on smart phone and control method
CN102859962A (en) Establishing online communication sessions between client computing devices
CN101677442A (en) Method and equipment for automatically logging in application programs
CN107395903A (en) Communication means, data processing platform (DPP) and communication system

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130123

C02 Deemed withdrawal of patent application after publication (patent law 2001)