CN103581881B - Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side - Google Patents
Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side Download PDFInfo
- Publication number
- CN103581881B CN103581881B CN201310597944.7A CN201310597944A CN103581881B CN 103581881 B CN103581881 B CN 103581881B CN 201310597944 A CN201310597944 A CN 201310597944A CN 103581881 B CN103581881 B CN 103581881B
- Authority
- CN
- China
- Prior art keywords
- phone number
- taking
- short message
- subscriber phone
- subscriber
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000015572 biosynthetic process Effects 0.000 claims description 89
- 238000003786 synthesis reaction Methods 0.000 claims description 89
- 238000001514 detection method Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000010926 purge Methods 0.000 description 1
Abstract
A comprehensive number-obtaining device as well as a system and a method for obtaining a cell phone number of a user on a network side relate to a process of obtaining the cell phone number of the user through a cell phone terminal, and the obtaining timeliness and accuracy of the cell phone number of the user can be guaranteed. An application client sends a short message to a short message gateway access number preset by the comprehensive number-obtaining device; an application server sends number-obtaining requesting information to the comprehensive number-obtaining device; a short message gateway sends the short message to the comprehensive number-obtaining device; the comprehensive number-obtaining device inquire a cell phone number management information table according to the number-obtaining requesting information; when the cell phone number management information table is found out, the comprehensive number-obtaining device returns the cell phone number of the user; when the cell phone number management information table isn't found out, the comprehensive number-obtaining device sends terminal inquiry information to a terminal management platform and online inquiry information to an online number-obtaining platform; the terminal management platform and the online number-obtaining platform obtain the cell phone number of the user and send the number to the comprehensive number-obtaining device; and the comprehensive number-obtaining device returns the cell phone number of the user to the application server according to the number-obtaining accuracy.
Description
Technical field
The present invention relates to the process that mobile phone terminal obtains user mobile phone number, and in particular to the comprehensive number of taking device and network side are obtained
The system and method for taking subscriber phone number.
Background technology
Client application is required for rapid accurate acquisition user mobile phone number under the scenes such as registration, login, bill payment,
Prior art can obtain phone number or by application server in network side acquisition subscriber phone number by client,
(a kind of mode is to be synchronized to client by application server again:Applications client actively takes from application service end;Another way
When:Application service end is pushed to applications client);
Current mobile Internet application, much all recommended user uses cell-phone number as account.The user's registration of client
The page, by identifying user cell-phone number, points out user to only need to set modification logging, you can to complete registration, simplifies user's operation.
When user opens client, if using identifying user cell-phone number, landfall process can be done directly, it is not necessary to user input mobile phone
Number and modification logging.The existing mode for obtaining user mobile phone number mainly has:
1:User mobile phone number is read by the function of mobile phone operating system;
The above method is read the function of mobile phone operating system by client, so as to obtain cell-phone number, but can be existed as follows
Problem:Not all mobile phone can.Such as apple terminal API management is strict, and application cannot call API to obtain user mobile phone
Number.Android mobile phone can call getLine1Number (), can be with the cell-phone number of reading SIM card.But the storage hand of SIM
The file of machine number is possible for sky, i.e., full F.Do not ensure accuracy thus.
2:User mobile phone number is obtained by mobile phone uplink short message;
The above method sends a short message to the Number for access of Short Message Service Gateway by client, and Short Message Service Gateway receives user mobile phone
After the short message of transmission, subscriber phone number is pushed to application server, application server is cooperateed with by with applications client
Mechanism, the cell-phone number of user is obtained by applications client.But there are the following problems for meeting:Typically the application is first in operator Shen
Please Number for access, when needing to obtain number, using the function of sending short messages by call operation system, automatic editor one is up short
Believe the Number for access of application.Using short message is received, cell-phone number is obtained, short message expense may be taken off.Time of the short message according to network
Sometimes it is fast, even 1 minute more than ten seconds sometimes.In addition, if when mobile phone is poisoned, can be trapped, send number and be replaced.
3:Inquired about by network side end message management platform and obtain cell-phone number;
The above method is that client sends the request message for obtaining phone number to application server, is led to by application server
Cross terminal management platform and obtain subscriber phone number, then client is synchronized to by application server.But there are the following problems for meeting:
Terminal information inquiry is required to terminal.I.e. terminal must be non-smuggled cell phone, and meet OMA (Open Mobile
Alliance, Open Mobile Alliance) DM (Device management, terminal management) agreement.It is thus impossible to find each
Mobile phone, success rate is not very high.
4:Cell-phone number is obtained by user's internet records;
When the above method is that client is surfed the Net, an only string of code key is returned to by application server, client is by unique
When string code key accesses webpage, application server obtains subscriber phone number by the online number of taking platform, then same by application server
Walk to client.But there are the following problems for meeting:By the packet of internet records from IP layers of conversion or when reverting to application layer,
There is error.Other factors, for example, acquisition system is restarted, will not collect user's internet records data during use
Bag, it is impossible to which service is provided, therefore the successful return rate of the online number of taking platform there is also problem.It cannot be guaranteed that 100% is accurate.
Conventional method is single, not in place according to method, will obtain less than cell-phone number or obtains wrong cell-phone number.
The content of the invention
In order to realize that network side obtains user mobile phone number, and ensure to obtain the real-time and accuracy of user mobile phone number, this
Invention provides the system and method that the comprehensive number of taking device and network side obtain subscriber phone number,
In order to solve the above-mentioned technical problem, the invention provides the comprehensive number of taking device, sent for receiving application server
The number of taking solicited message, according to the number of the taking solicited message inquiry mobile phone management information table;The number of the taking solicited message includes
Authentication token, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user mobile phone
Access only string of code key, short message random code and the number of the taking accuracy of web page address;The cell-phone number management information table includes user
Phone number, the corresponding IMSI of the phone number, the corresponding IMEI of the phone number and timestamp;
The synthesis number of the taking device, is additionally operable to be inquired in the cell-phone number management information table user mobile phone number of matching
Code, the subscriber phone number that the inquiry is obtained is returned to the application server;In the cell-phone number management information table not
The subscriber phone number of matching is inquired, terminal inquiry information is sent to terminal management platform and is sent to the online number of taking platform
Net Query Information;
The synthesis number of the taking device, is additionally operable to the user mobile phone number that receiving terminal management platform and the online number of taking platform are returned
Code;It is additionally operable to receive the uplink short message with subscriber phone number and short message random code that Short Message Service Gateway sends, it is described up short
Believe the short message sent to the default Short Message Service Gateway Number for access of the synthesis number of the taking device by user mobile phone for applications client;
The synthesis number of the taking device, is additionally operable to return to user mobile phone number to the application server according to the number of taking accuracy
Code.
Further, when the number of the taking accuracy is high, the synthesis number of the taking device is returned in terminal management platform
The subscriber phone number that the subscriber phone number and Short Message Service Gateway that subscriber phone number, the online number of taking platform are returned are returned is returned most
When fast two are identical, the identical subscriber phone number is sent to application server;Returned in terminal management platform
The subscriber phone number that the subscriber phone number and Short Message Service Gateway that subscriber phone number, the online number of taking platform are returned are returned is not
Together, the number of taking failure information is returned to application server;
The number of the taking accuracy for it is low when, the synthesis number of the taking device, by terminal management platform, online the number of taking platform and
Short Message Service Gateway returns to most fast subscriber phone number and sends to application server.
Further, the synthesis number of the taking device, is additionally operable to the IMEI in the detection number of the taking solicited message, when described
When IMEI is non-full 0 or non-default names, the synthesis number of the taking device is additionally operable to the user mobile phone returned in terminal management platform
The all or part of phase of subscriber phone number that the subscriber phone number and Short Message Service Gateway that number, the online number of taking platform are returned are returned
Meanwhile, identical subscriber phone number is stored into cell-phone number management information table, and safeguard cell-phone number management information table
IMSI, IMEI and timestamp.
Further, setting time stamp threshold value, the synthesis number of the taking device, for detecting cell-phone number management information table in
Timestamp information, when the corresponding timestamp of subscriber phone number that inquiry is obtained is more than or equal to timestamp threshold value, to end
End pipe platform sends terminal inquiry information and sends online Query Information to the online number of taking platform.
Further, when the corresponding timestamp of subscriber phone number that inquiry is obtained is more than or equal to timestamp threshold value
When, the synthesis number of the taking device is additionally operable to delete the record of the subscriber phone number in the cell-phone number management information table, or
The synthesis number of the taking device is additionally operable to according to whole subscriber phone numbers in the setting cycle detection cell-phone number management information table
Record, erasing time stamp more than or equal to timestamp threshold value subscriber phone number record.
In order to solve the above-mentioned technical problem, present invention also offers the system that a kind of network side obtains subscriber phone number,
Including:The above-mentioned synthesis number of taking device, application server, Short Message Service Gateway, terminal management platform and the online number of taking platform,
The application server, for sending the number of taking solicited message to the synthesis number of taking device;The number of the taking request packet
Authentication token is included, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user's hand
Machine accesses only string of code key, short message random code and the number of the taking accuracy of web page address;
The Short Message Service Gateway, for obtaining subscriber phone number according to the short message for receiving, and will carry according to Number for access
The uplink short message of subscriber phone number and short message random code issues the comprehensive number of taking device;The short message includes short message random code;
Terminal management platform, for according to the terminal inquiry acquisition of information subscriber phone number that receives, and by institute
Number is stated to send to the comprehensive number of taking device;
The online number of taking platform, for obtaining subscriber phone number according to the online Query Information that receives, and by institute
Number is stated to send to the comprehensive number of taking device.
In order to solve the above-mentioned technical problem, present invention also offers a kind of method that network side obtains subscriber phone number,
Including:
A, applications client send short message by user mobile phone to the default Short Message Service Gateway Number for access of the synthesis number of taking device;Institute
Stating short message includes short message random code;
Applications client is networked by user mobile phone, is accessed with the only page of string of code key;
Application server sends the number of taking solicited message to the synthesis number of taking device;The number of the taking solicited message makes including certification
Board, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user mobile phone access net
The identifying code of page address only string of code key, short message random code and the number of taking accuracy;
B, the Short Message Service Gateway, subscriber phone number is obtained according to the short message that receives, and according to Number for access by band
The uplink short message for having subscriber phone number and short message random code issues the comprehensive number of taking device;
The synthesis number of the taking device number of taking solicited message inquiry mobile phone management information table according to;The cell-phone number pipe
Reason information table includes subscriber phone number, the corresponding IMSI of the phone number, the corresponding IMEI of the phone number and time
Stamp;
When the synthesis number of the taking device inquires the subscriber phone number of matching in the cell-phone number management information table, hold
Row step E;When not inquiring the subscriber phone number of matching in the cell-phone number management information table, step C is performed;
C, the synthesis number of the taking device send terminal inquiry information and are sent to the online number of taking platform to terminal management platform
Online Query Information;
D, terminal management platform, according to the terminal inquiry acquisition of information subscriber phone number for receiving, and will be described
Number is sent to the comprehensive number of taking device;
The online number of taking platform, subscriber phone number is obtained according to the online Query Information for receiving, and by described number
Code is sent to the comprehensive number of taking device;Perform step E2;
E, the synthesis number of the taking device return to subscriber phone number to the application server;
E2, the synthesis number of the taking device return to subscriber phone number according to the number of taking accuracy to the application server.
Further, in stepb, also include:
IMEI in the detection number of the taking solicited message;
When the IMEI is non-full 0 or non-default names, after step E2, step F is performed;
Subscriber phone number that F, the synthesis number of the taking device are returned in terminal management platform, the online number of taking platform are returned
When the subscriber phone number that subscriber phone number and Short Message Service Gateway are returned is all or part of identical, by identical user mobile phone number
Code is stored into cell-phone number management information table, and safeguards IMSI, the IMEI and timestamp in cell-phone number management information table.
Further, the step E2 includes:The synthesis number of the taking device judges to receive Short Message Service Gateway, terminal management platform
It is whether identical with subscriber phone number that the online number of taking platform is returned or whether return to most fast two identical, when identical,
Subscriber phone number is returned to the application server, flow terminates, when different, perform step G;
G, the synthesis number of the taking device return to the number of taking failure information to application server.
Further, the step E2 includes:
The number of the taking accuracy for it is high when, the synthesis number of the taking device judge Short Message Service Gateway, terminal management platform and on
Whether two that the subscriber phone number return of the net number of taking platform return is most fast are identical, when identical, to the application server
Identical subscriber phone number is returned to, flow terminates, when different, perform step H;
The number of the taking accuracy for it is low when, the synthesis number of the taking device, obtain Short Message Service Gateway and terminal management platform and
The most fast subscriber phone number that the online number of taking platform is returned, most fast subscriber phone number is returned to the application server,
Flow terminates;
H, the 3rd subscriber phone number of return of wait, if the user mobile phone number of the 3rd return is with return most
Any one in fast two is identical, then the synthesis number of the taking device returns to identical user mobile phone to the application server
Number, flow terminates;
If the subscriber phone number of the 3rd return is differed with most fast two are put back to, the synthesis number of the taking dress
Put and return to the number of taking failure information to application server.
Compared with prior art, the present invention provide the synthesis number of taking device can mitigate using each exploitation realize it is same set of
The burden of logic, is used for each application server, and system and the side of subscriber phone number are obtained using network side of the invention
Method, can quick and precisely obtain phone number.
Brief description of the drawings
Fig. 1 obtains the structural representation of the system of subscriber phone number for the network side of the embodiment of the present invention;
Fig. 2 obtains the flow chart of the method for subscriber phone number for the network side of the embodiment of the present invention;
Fig. 3 obtains the flow chart of the method for subscriber phone number for the network side of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
The synthesis number of the taking device of the embodiment of the present invention, the number of the taking solicited message for receiving application server transmission, according to
The number of the taking solicited message inquiry mobile phone management information table;The number of the taking solicited message includes authentication token, also including user
The mobile station identification code IMEI in the world of mobile phone, international mobile subscriber identity IMSI, user mobile phone access the unique of web page address
String code key, short message random code and the number of taking accuracy;The cell-phone number management information table includes subscriber phone number, the mobile phone
The corresponding IMSI of number, the corresponding IMEI of the phone number and timestamp;
The synthesis number of the taking device, is additionally operable to be inquired in the cell-phone number management information table user mobile phone number of matching
Code, the subscriber phone number that the inquiry is obtained is returned to the application server;In the cell-phone number management information table not
The subscriber phone number of matching is inquired, terminal inquiry information is sent to terminal management platform and is sent to the online number of taking platform
Net Query Information;
The synthesis number of the taking device, is additionally operable to the user mobile phone number that receiving terminal management platform and the online number of taking platform are returned
Code;It is additionally operable to receive the uplink short message with subscriber phone number and short message random code that Short Message Service Gateway sends, it is described up short
Believe the short message sent to the default Short Message Service Gateway Number for access of the synthesis number of the taking device by user mobile phone for applications client;
The synthesis number of the taking device, is additionally operable to return to user mobile phone number to the application server according to the number of taking accuracy
Code.
Preferably, the synthesis number of the taking device returns to subscriber phone number according to the number of taking accuracy to the application server
It is specifically as follows:
When the number of the taking accuracy is high, in subscriber phone number, the online number of taking platform that terminal management platform is returned
The subscriber phone number of return and subscriber phone number that Short Message Service Gateway is returned return most fast two it is identical when, will be described identical
Subscriber phone number send to application server;In subscriber phone number, the online number of taking platform that terminal management platform is returned
The subscriber phone number that the subscriber phone number and Short Message Service Gateway of return are returned is different, or returns to two most fast differences
When, return to the number of taking failure information to application server;
The number of the taking accuracy for it is low when, the synthesis number of the taking device, by terminal management platform, online the number of taking platform and
Short Message Service Gateway returns to most fast subscriber phone number and sends to application server.
The synthesis number of the taking device, is additionally operable to the IMEI in the detection number of the taking solicited message, when the IMEI is non-full 0
Or during non-default names, the synthesis number of the taking device, be additionally operable to terminal management platform return subscriber phone number, online take
When the subscriber phone number that the subscriber phone number and Short Message Service Gateway that number platform is returned are returned is all or part of identical, will be identical
Subscriber phone number store into cell-phone number management information table, and safeguard IMSI, IMEI in cell-phone number management information table and
Timestamp.
Setting time stabs threshold value, the synthesis number of the taking device, for detecting that the timestamp in cell-phone number management information table is believed
Breath, when the corresponding timestamp of subscriber phone number that inquiry is obtained is more than or equal to timestamp threshold value, pats to terminal conduit
Platform sends terminal inquiry information and sends online Query Information to the online number of taking platform.
When the corresponding timestamp of subscriber phone number that inquiry is obtained is more than or equal to timestamp threshold value, the synthesis
The number of taking device is additionally operable to delete the record of the subscriber phone number in the cell-phone number management information table, or the synthesis number of taking
Device detects the record of whole subscriber phone numbers in the cell-phone number management information table according to setting cycle, and erasing time stamp is big
In or equal to timestamp threshold value subscriber phone number record.
The synthesis number of the taking device, access authentication API (Application Programming are provided to application server
Interface, application programming interface), the application access authentication request that application server sends is received, and answer according to described
Asked with access authentication, verify the legitimacy of application, when the application is legal, made to the application server return authentication
Board.Application server |input paramete is that platform accesses account and password, comprehensively the number of taking device return authentication token token.Mainly
Preventing any application can at will call the comprehensive number of taking apparatus function.
The number of taking solicited message includes:Key, IMSI, IMEI, random code, the number of taking accuracy, authentication token.Authentication token is
Mandatory parameter, there is token, just indicates by access authentication, and comprehensively the number of taking device just continues with follow-up process, is otherwise considered as
Illegal request.At least carry one or more of following parameter:Key, IMSI, IMEI, random code, the number of taking precision, when above-mentioned
Parameter one or more when not carrying, replaced with default value.
Using the synthesis number of taking device provided in an embodiment of the present invention, in the number of taking solicited message as far as possible carry Key, IMSI,
IMEI, random code, the number of taking accuracy.If do not carried, the number of taking success return rate is reduced.
As shown in figure 1, the system that the network side of the embodiment of the present invention obtains subscriber phone number, including the comprehensive number of taking dress
Put, application server, Short Message Service Gateway, terminal management platform, the online number of taking platform,
Comprehensively the number of taking device is as described above;
The application server, for sending the number of taking solicited message to the synthesis number of taking device;The number of the taking request packet
Authentication token is included, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user's hand
Machine accesses only string of code key, short message random code and the number of the taking accuracy of web page address;
The Short Message Service Gateway, for obtaining subscriber phone number according to the short message for receiving, and will according to Number for access
Uplink short message with subscriber phone number and short message random code issues the comprehensive number of taking device;The short message includes that short message is random
Code;
Terminal management platform, for according to the terminal inquiry acquisition of information subscriber phone number that receives, and by institute
Number is stated to send to the comprehensive number of taking device;
The online number of taking platform, for obtaining subscriber phone number according to the online Query Information that receives, and by institute
Number is stated to send to the comprehensive number of taking device.
As shown in Figures 2 and 3, the method that network side obtains subscriber phone number, including:
A, applications client send short message by user mobile phone to the default Short Message Service Gateway Number for access of the synthesis number of taking device;Institute
Stating short message includes short message random code;
Applications client is networked by user mobile phone, is accessed with the only page of string of code key;
Application server sends the number of taking solicited message to the synthesis number of taking device;The number of the taking solicited message makes including certification
Board, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user mobile phone access net
The identifying code of page address only string of code key, short message random code and the number of taking accuracy;
B, the Short Message Service Gateway, subscriber phone number is obtained according to the short message that receives, and according to Number for access by band
The uplink short message for having subscriber phone number and short message random code issues the comprehensive number of taking device;
The synthesis number of the taking device number of taking solicited message inquiry mobile phone management information table according to;The cell-phone number pipe
Reason information table includes subscriber phone number, the corresponding IMSI of the phone number, the corresponding IMEI of the phone number and time
Stamp;
When the synthesis number of the taking device inquires the subscriber phone number of matching in the cell-phone number management information table, hold
Row step E;When not inquiring the subscriber phone number of matching in the cell-phone number management information table, step C is performed;
C, the synthesis number of the taking device send terminal inquiry information and are sent to the online number of taking platform to terminal management platform
Online Query Information;
D, terminal management platform, according to the terminal inquiry acquisition of information subscriber phone number for receiving, and will be described
Number is sent to the comprehensive number of taking device;
The online number of taking platform, subscriber phone number is obtained according to the online Query Information for receiving, and by described number
Code is sent to the comprehensive number of taking device;Perform step E2;
E, the synthesis number of the taking device return to subscriber phone number to the application server;
E2, the synthesis number of the taking device return to subscriber phone number according to the number of taking accuracy to the application server.
In stepb, also include:
IMEI in the detection number of the taking solicited message;
When the IMEI is non-full 0 or non-default names, after step E2, step F is performed;
Subscriber phone number that F, the synthesis number of the taking device are returned in terminal management platform, the online number of taking platform are returned
When the subscriber phone number that subscriber phone number and Short Message Service Gateway are returned is all or part of identical, by identical user mobile phone number
Code is stored into cell-phone number management information table, and safeguards IMSI, the IMEI and timestamp in cell-phone number management information table.
The step E2 includes:The synthesis number of the taking device judges that receiving Short Message Service Gateway, terminal management platform and online takes
Whether the subscriber phone number that number platform is returned identical or whether return to most fast two identical, when identical, to it is described should
Subscriber phone number is returned to server, flow terminates, when different, perform step G;
G, the synthesis number of the taking device return to the number of taking failure information to application server.
The step E2 includes:
The number of the taking accuracy for it is high when, the synthesis number of the taking device judge Short Message Service Gateway, terminal management platform and on
Whether two that the subscriber phone number return of the net number of taking platform return is most fast are identical, when identical, to the application server
Identical subscriber phone number is returned to, flow terminates, when different, perform step H;
The number of the taking accuracy for it is low when, the synthesis number of the taking device, obtain Short Message Service Gateway and terminal management platform and
The most fast subscriber phone number that the online number of taking platform is returned, most fast subscriber phone number is returned to the application server,
Flow terminates;
G, the 3rd subscriber phone number of return of wait, if the user mobile phone number of the 3rd return is with return most
Any one in fast two is identical, then the synthesis number of the taking device returns to identical user mobile phone to the application server
Number, flow terminates;
If the subscriber phone number of the 3rd return is differed with most fast two are put back to, the synthesis number of the taking dress
Put and return to the number of taking failure information to application server.
Or when the number of the taking accuracy is high, the synthesis number of the taking device judges Short Message Service Gateway, terminal management platform
It is whether identical with the subscriber phone number that the online number of taking platform is returned, when identical, identical is returned to the application server
Subscriber phone number, flow terminates, and when different, the number of taking failure information is returned to the application server.
Wherein, to prevent any application from can at will call the comprehensive number of taking apparatus function, before step A, also include:
A1, the application server send application access authentication and ask to the synthesis number of the taking device;
A2, the synthesis number of the taking device are asked according to the application access authentication, verify the legitimacy of application, are answered described
When using legal, to the application server return authentication token.
Embodiment
Applications client:Application program on user mobile phone.
Application server:The server of the treatment applied business that applications client is connected to.
Short Message Service Gateway:Complete subscriber phone number to obtain, the uplink short message of receiving terminal, and be pushed to Number for access sensing
Platform.
Terminal management platform:Management terminal information, there is provided the function of cell-phone number is obtained by IMSI.
The online number of taking platform:When user is surfed the Net using Net APN (Access Point Name, access point), Ke Yiji
The address employed the cell-phone number at family and access.And URL (the Uniform of user mobile phone number query interface, i.e. mobile phone access are provided
Resource Locator, URL), a unique key is taken, then looked into the online number of taking platform by key
Ask, return to user mobile phone number.
As Figure 1-3, the comprehensive major function point of the number of taking device,
1st, realize to Short Message Service Gateway, the function of the uplink short message number of taking is carried out by random code.
Comprehensively the number of taking device Short Message Service Gateway set a short message Number for access A, this Number for access can be according to white list at
Reason, user mobile phone sends short message to Number for access A, and expense does not occur.After Short Message Service Gateway receives the short message of user mobile phone transmission, will
Subscriber phone number is pushed to the comprehensive number of taking device.Comprehensively the number of taking device preserves the short message random code in cell-phone number and short message content
Corresponding relation and the time.
Comprehensively the number of taking device safeguards cell-phone number management information table, preserves the IMSI-IMEI- cell-phone numbers-time for checking in every time
The information of the four-tuple of stamp, before preservation, inspection IMSI and IMEI is virtual value.If IMSI and IMEI full 0s and non-numeric string,
It is invalid to be considered as.If timestamp>=1 year, the then record purge.
2nd, realize to terminal management platform, by the function of IMSI inquiry mobile phones number.
The terminal management platform is OMA protocol definitions, using the IMSI- of terminal management platform in the present embodiment
IMEI- cell-phone number triples, realization obtains subscriber phone number by IMSI.
3rd, realize to the online number of taking platform, by the function of key inquiry mobile phones number.
Comprehensively the number of taking device according to please the number of asking for accuracy, return the number of taking result.If the number of taking high precision, according to not Tongfang
The formula number of taking, is returned to 2 most fast Comparative results, when judging identical, returns to subscriber phone number, when different, waits the 3rd
The subscriber phone number of individual return, if any one phase in the 3rd two most fast with return of the user mobile phone number of return
Together, then the synthesis number of the taking device to the application server return identical subscriber phone number, if, the 3rd return
Subscriber phone number is differed with most fast two are returned, and returns to failed message.If the number of taking precision is low, can be according to difference
The mode number of taking, 1 most fast result is returned.
The applications client installed in user mobile phone needs the API provided by mobile phone operating system to obtain IMSI, IMEI.
And allow user to open a webpage with key parameters, similar to http://xxx/key=certain unique value, generally for holding
Unique value, can be with long;The function of sending short messages of call operation system, to the access that the synthesis number of taking device is set in Short Message Service Gateway
Number send a short message, short message content is a unique short message random number, can be with long.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, reference only to preferred embodiment to this hair
It is bright to be described in detail.It will be understood by those within the art that, technical scheme can be modified
Or equivalent, without deviating from the spirit and scope of technical solution of the present invention, all should cover in claim model of the invention
In the middle of enclosing.
Claims (10)
1. the comprehensive number of taking device, it is characterised in that:
The synthesis number of the taking device, the number of the taking solicited message for receiving application server transmission asks to believe according to the number of taking
Breath inquiry mobile phone management information table;The number of the taking solicited message includes authentication token, and the world also including user mobile phone is mobile
Station identification code IMEI, international mobile subscriber identity IMSI, user mobile phone access the only string of code key of web page address, short message with
Machine code and the number of taking accuracy;The cell-phone number management information table include subscriber phone number, the corresponding IMSI of the phone number,
The corresponding IMEI of the phone number and timestamp;
The synthesis number of the taking device, is additionally operable to be inquired in the cell-phone number management information table subscriber phone number of matching,
The subscriber phone number that the inquiry is obtained is returned to the application server;Do not inquired about in the cell-phone number management information table
To the subscriber phone number of matching, send terminal inquiry information and send online to the online number of taking platform to terminal management platform and look into
Inquiry information;
The synthesis number of the taking device, is additionally operable to the subscriber phone number that receiving terminal management platform and the online number of taking platform are returned;
It is additionally operable to receive the uplink short message with subscriber phone number and short message random code that Short Message Service Gateway sends, the uplink short message is
The short message that applications client is sent by user mobile phone to the default Short Message Service Gateway Number for access of the synthesis number of the taking device;
The synthesis number of the taking device, is additionally operable to return to subscriber phone number to the application server according to the number of taking accuracy.
2. the number of taking device as claimed in claim 1 comprehensive, it is characterised in that:It is described comprehensive when the number of the taking accuracy is high
Conjunction device, subscriber phone number that the subscriber phone number returned in terminal management platform, the online number of taking platform are returned and
The subscriber phone number that Short Message Service Gateway is returned return most fast two it is identical when, by the identical subscriber phone number send to
Application server;Subscriber phone number that the subscriber phone number that returns in terminal management platform, the online number of taking platform are returned and
The subscriber phone number that Short Message Service Gateway is returned is different, and the number of taking failure information is returned to application server;
When the number of the taking accuracy is low, the synthesis number of the taking device, by terminal management platform, the online number of taking platform and short message
Gateway returns to most fast subscriber phone number and sends to application server.
3. the number of taking device as claimed in claim 1 comprehensive, it is characterised in that:
The synthesis number of the taking device, is additionally operable to the IMEI in the detection number of the taking solicited message, when the IMEI be non-full 0 or
During non-default names, the synthesis number of the taking device is additionally operable to be put down in the terminal management platform subscriber phone number for returning, the number of taking of surfing the Net
When the subscriber phone number that the subscriber phone number and Short Message Service Gateway that platform is returned are returned is all or part of identical, identical is used
Family phone number is stored into cell-phone number management information table, and safeguards IMSI, the IMEI in cell-phone number management information table and time
Stamp.
4. the number of taking device as claimed in claim 1 comprehensive, it is characterised in that:Setting time stabs threshold value, the synthesis number of the taking dress
Put, for detecting the timestamp information in cell-phone number management information table, when the subscriber phone number corresponding time that inquiry is obtained
When stamp is more than or equal to timestamp threshold value, sends terminal inquiry information to terminal management platform and sent to the online number of taking platform
Online Query Information.
5. the number of taking device as claimed in claim 4 comprehensive, it is characterised in that:When the subscriber phone number that inquiry is obtained is corresponding
When timestamp is more than or equal to timestamp threshold value, the synthesis number of the taking device is additionally operable to delete the cell-phone number management information table
In the subscriber phone number record, or the synthesis number of the taking device is additionally operable to detect the cell-phone number pipe according to setting cycle
The record of whole subscriber phone numbers in reason information table, user mobile phone number of the erasing time stamp more than or equal to timestamp threshold value
The record of code.
6. the system that network side obtains subscriber phone number, it is characterised in that:Taken including any described synthesis of claim 1-5
Number device, application server, Short Message Service Gateway, terminal management platform and the online number of taking platform,
The application server, for sending the number of taking solicited message to the synthesis number of taking device;The number of the taking solicited message includes recognizing
Card token, the mobile station identification code IMEI in the world also including user mobile phone, international mobile subscriber identity IMSI, user mobile phone are visited
Ask only string of code key, short message random code and the number of the taking accuracy of web page address;
The Short Message Service Gateway, for obtaining subscriber phone number according to the short message for receiving, and will be with user according to Number for access
The uplink short message of phone number and short message random code issues the comprehensive number of taking device;The short message includes short message random code;
Terminal management platform, for the terminal inquiry acquisition of information subscriber phone number that basis is received, and by described number
Code is sent to the comprehensive number of taking device;
The online number of taking platform, for obtaining subscriber phone number according to the online Query Information for receiving, and by described number
Code is sent to the comprehensive number of taking device.
7. the method that network side obtains subscriber phone number, it is characterised in that:Including:
A, applications client send short message by user mobile phone to the default Short Message Service Gateway Number for access of the synthesis number of taking device;It is described short
Letter includes short message random code;
Applications client is networked by user mobile phone, is accessed with the only page of string of code key;
Application server sends the number of taking solicited message to the synthesis number of taking device;The number of the taking solicited message includes authentication token, also
The mobile station identification code IMEI in the world including user mobile phone, international mobile subscriber identity IMSI, user mobile phone access webpage ground
The identifying code of location only string of code key, short message random code and the number of taking accuracy;
B, the Short Message Service Gateway, subscriber phone number is obtained according to the short message for receiving, and will be with useful according to Number for access
The uplink short message of family phone number and short message random code issues the comprehensive number of taking device;
The synthesis number of the taking device number of taking solicited message inquiry mobile phone management information table according to;The cell-phone number management letter
Breath table includes subscriber phone number, the corresponding IMSI of the phone number, the corresponding IMEI of the phone number and timestamp;
When the synthesis number of the taking device inquires the subscriber phone number of matching in the cell-phone number management information table, step is performed
Rapid E;When not inquiring the subscriber phone number of matching in the cell-phone number management information table, step C is performed;
C, the synthesis number of the taking device send terminal inquiry information and are sent to the online number of taking platform and surf the Net to terminal management platform
Query Information;
D, terminal management platform, according to the terminal inquiry acquisition of information subscriber phone number for receiving, and by the number
Send to the comprehensive number of taking device;
The online number of taking platform, obtains subscriber phone number, and the number is sent out according to the online Query Information for receiving
Deliver to the comprehensive number of taking device;Perform step E2;
E, the synthesis number of the taking device return to subscriber phone number to the application server;
E2, the synthesis number of the taking device return to subscriber phone number according to the number of taking accuracy to the application server.
8. method as claimed in claim 7, it is characterised in that:In stepb, also include:
IMEI in the detection number of the taking solicited message;
When the IMEI is non-full 0 or non-default names, after step E2, step F is performed;
Subscriber phone number, the user of the online number of taking platform return that F, the synthesis number of the taking device are returned in terminal management platform
When the subscriber phone number that phone number and Short Message Service Gateway are returned is all or part of identical, identical subscriber phone number is deposited
In storage to cell-phone number management information table, and safeguard IMSI, the IMEI and timestamp in cell-phone number management information table.
9. method as claimed in claim 7, it is characterised in that:
The step E2 includes:The synthesis number of the taking device judges that receiving Short Message Service Gateway, terminal management platform and the online number of taking puts down
The subscriber phone number that platform is returned it is whether identical or return most fast two it is whether identical, when identical, taken to the application
Business device returns to subscriber phone number, and flow terminates, and when different, performs step G;
G, the synthesis number of the taking device return to the number of taking failure information to application server.
10. method as claimed in claim 7, it is characterised in that:The step E2 includes:
When the number of the taking accuracy is high, the synthesis number of the taking device judges that Short Message Service Gateway, terminal management platform and online take
Whether the subscriber phone number that number platform is returned returns to most fast two identical, when identical, is returned to the application server
Identical subscriber phone number, flow terminates, and when different, performs step H;
When the number of the taking accuracy is low, the synthesis number of the taking device obtains Short Message Service Gateway and terminal management platform and online
The most fast subscriber phone number that the number of taking platform is returned, most fast subscriber phone number, flow are returned to the application server
Terminate;
H, the 3rd subscriber phone number of return of wait, if the user mobile phone number of the 3rd return is most fast with return
Any one in two is identical, then the synthesis number of the taking device returns to identical user mobile phone number to the application server
Code, flow terminates;
If, the 3rd return subscriber phone number differed with most fast two are put back to, the synthesis number of the taking device to
Application server returns to the number of taking failure information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310597944.7A CN103581881B (en) | 2013-11-22 | 2013-11-22 | Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310597944.7A CN103581881B (en) | 2013-11-22 | 2013-11-22 | Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103581881A CN103581881A (en) | 2014-02-12 |
CN103581881B true CN103581881B (en) | 2017-05-24 |
Family
ID=50052611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310597944.7A Active CN103581881B (en) | 2013-11-22 | 2013-11-22 | Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103581881B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI640189B (en) * | 2017-12-25 | 2018-11-01 | 中華電信股份有限公司 | System for verifying a user's identity of telecommunication certification and method thereof |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202338B (en) * | 2014-09-23 | 2016-01-20 | 中国南方电网有限责任公司 | A kind of safety access method being applicable to enterprise-level Mobile solution |
CN108712439B (en) * | 2018-05-31 | 2021-06-29 | 中国联合网络通信集团有限公司 | User information management method, device, server and storage medium |
CN109167759B (en) * | 2018-08-09 | 2021-03-30 | 中国联合网络通信集团有限公司 | Mobile phone number acquisition method and device |
CN110062376A (en) * | 2019-05-06 | 2019-07-26 | 中国联合网络通信集团有限公司 | Number acquisition methods, parking field control method, server, platform, system |
CN112616144B (en) * | 2020-12-11 | 2023-03-03 | 北京鼎普科技股份有限公司 | Method and device for acquiring terminal mobile phone number based on cloud service and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123362A (en) * | 2011-03-02 | 2011-07-13 | 厦门雅迅网络股份有限公司 | Method for automatically acquiring mobile phone number by mobile equipment |
CN103167444A (en) * | 2011-12-19 | 2013-06-19 | 中国电信股份有限公司 | Method, system, client and server of acquiring user cell phone number from website |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010161589A (en) * | 2009-01-07 | 2010-07-22 | Neikusu:Kk | Caller's phone number acquiring device for call type fraud warning, method thereof, and call type fraud warning system |
-
2013
- 2013-11-22 CN CN201310597944.7A patent/CN103581881B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123362A (en) * | 2011-03-02 | 2011-07-13 | 厦门雅迅网络股份有限公司 | Method for automatically acquiring mobile phone number by mobile equipment |
CN103167444A (en) * | 2011-12-19 | 2013-06-19 | 中国电信股份有限公司 | Method, system, client and server of acquiring user cell phone number from website |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI640189B (en) * | 2017-12-25 | 2018-11-01 | 中華電信股份有限公司 | System for verifying a user's identity of telecommunication certification and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103581881A (en) | 2014-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103581881B (en) | Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side | |
CN102695167B (en) | Mobile subscriber identity management method and apparatus thereof | |
CN104580074A (en) | Logging method of client end application and corresponding server of logging method | |
CN107086979B (en) | User terminal verification login method and device | |
CN105873055B (en) | Wireless network access authentication method and device | |
CN104995891B (en) | The method, apparatus and gateway of processing business message | |
CN106411825A (en) | WeChat access token acquisition method and system thereof | |
CN103905399A (en) | Account registration management method and apparatus | |
US20140019957A1 (en) | Method, apparatus, and system for sharing software among terminals | |
CN104767614B (en) | A kind of information authentication method and device | |
CN103023727B (en) | Portal Performance Test System and method | |
CN108259457B (en) | WEB authentication method and device | |
CN106982430B (en) | Portal authentication method and system based on user use habits | |
CN105992204A (en) | Access authentication method of applications of mobile intelligent terminal and device | |
CN113271299B (en) | Login method and server | |
CN103200159A (en) | Network access method and equipment | |
CN106850225A (en) | Identifying code transfer approach and system | |
US20110173277A1 (en) | Method of authenticating a user of a service on a mobile terminal | |
CN104253787A (en) | Service authentication method and system | |
CN107948979B (en) | Information processing method and device and auditing equipment | |
CN108207012A (en) | A kind of flow control methods, device, terminal and system | |
CN108880923A (en) | The method and apparatus that policer operation applied to application server is requested | |
CN109992940A (en) | Auth method, device, system and proof of identity server | |
CN106656934B (en) | User identifier mapping method and device based on operator gateway log | |
CN105184559B (en) | A kind of payment system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |