CN107249181B - Contact number acquisition methods, device, terminal and non-volatile memory medium - Google Patents
Contact number acquisition methods, device, terminal and non-volatile memory medium Download PDFInfo
- Publication number
- CN107249181B CN107249181B CN201710359432.5A CN201710359432A CN107249181B CN 107249181 B CN107249181 B CN 107249181B CN 201710359432 A CN201710359432 A CN 201710359432A CN 107249181 B CN107249181 B CN 107249181B
- Authority
- CN
- China
- Prior art keywords
- terminal
- short message
- contact number
- hardware information
- verifying
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of contact number acquisition methods are applied to terminal, comprising: obtain the hardware information of the contact number and the terminal in the short message of the terminal;The hardware information of contact number and the terminal in the short message is sent to service platform;Receive the verifying short message that the SMS platform that the service platform calls is sent according to the contact number;The verifying short message includes the hardware information of the contact number and the terminal;Obtain the hardware information of the terminal in the verifying short message;Judge whether the hardware information of the terminal in the verifying short message matches with the hardware information for the terminal for receiving the verifying short message;When the hardware information of the terminal in the verifying short message is matched with the hardware information of the terminal for receiving the verifying short message, the contact number is obtained from the verifying short message.The present invention also provides a kind of contact number acquisition device, terminal and non-volatile memory mediums, can obtain the contact number of terminal without extra charge.
Description
Technical field
The present invention relates to field of terminal, and in particular to a kind of contact number acquisition methods, contact number acquisition device, terminal
And non-volatile memory medium.
Background technique
Currently, terminal needs to know in the business of progress the connection number of the subscriber identification card of installation on the terminal
Code.But the subscriber identification card of terminal cannot directly provide contact number.In order to obtain contact number, terminal can be sent out automatically
Send short message to system, system is sent to terminal after receiving short message, using contact number as response short message, at this point, system needs
Common carrier is used, and common carrier is to need to collect certain expense.
Summary of the invention
In consideration of it, it is necessary to provide a kind of contact number acquisition methods, contact number acquisition device, terminals and non-volatile
Storage medium can obtain the contact number of terminal without extra charge.
The first aspect of the application provides a kind of contact number acquisition methods, is applied to terminal, which comprises
Obtain the hardware information of the contact number and the terminal in the short message of the terminal;
The hardware information of contact number and the terminal in the short message is sent to service platform;
Receive the verifying short message that the SMS platform that the service platform calls is sent according to the contact number;The verifying
Short message includes the hardware information of the contact number and the terminal;
Obtain the hardware information of the terminal in the verifying short message;
Judge it is described verifying short message in the terminal hardware information whether with receive it is described verifying short message terminal
Hardware information matching;
Hardware information and the terminal for receiving the verifying short message when the terminal in the verifying short message
When hardware information matches, the contact number is obtained from the verifying short message.
In alternatively possible implementation, the short message including contact number is stored in the terminal.
Contact number and the terminal in alternatively possible implementation, in the short message for obtaining the terminal
Hardware information before, the method also includes:
When not having storage in the terminal includes the short message of contact number, inquiry request is sent to operator to obtain
State the flow or calling charge information of terminal;
The short message for the flow or calling charge information including the terminal that the operator sends is received, includes in the short message
Contact number.
In alternatively possible implementation, the hardware information of the terminal includes at least one of IMSI and IMEI.
In alternatively possible implementation, the terminal is communicated with the service platform by network.
The second aspect of the application provides a kind of contact number acquisition device, is applied to terminal, and described device includes:
First obtains module, the hardware information of the contact number in short message for obtaining the terminal and the terminal;
Sending module is flat for the hardware information of contact number and the terminal in the short message to be sent to service
Platform;
Receiving module, the verifying sent for receiving the SMS platform that the service platform calls according to the contact number
Short message;The verifying short message includes the hardware information of the contact number and the terminal;
Second obtains module, for obtaining the hardware information of the terminal in the verifying short message;
Judgment module, for judge the terminal in the verifying short message hardware information whether with receive described test
Demonstrate,prove the hardware information matching of the terminal of short message;
Second obtains module, is also used to receive institute with described when the hardware information of the terminal in the verifying short message
When stating the hardware information matching of the terminal of verifying short message, the contact number is obtained from the verifying short message.
In alternatively possible implementation, the short message including contact number is stored in the terminal.
In alternatively possible implementation, in the contact number obtained in the short message that the terminal is stored and institute
Before the hardware information for stating terminal:
The sending module is also used to send inquiry when not having storage in the terminal includes the short message of contact number
Request obtains the flow or calling charge information of the terminal to operator;
The receiving module is also used to receive the operator sends including the terminal flow or calling charge information
Short message includes contact number in the short message.
In alternatively possible implementation, the hardware information of the terminal includes at least one of IMSI and IMEI.
In alternatively possible implementation, the terminal is communicated with the service platform by network.
The third aspect of the application provides a kind of terminal, and the terminal includes non-volatile memory medium and processor, institute
Non-volatile memory medium is stated for storing at least one instruction, the processor is for executing at least one described instruction with reality
Now the step of contact number acquisition methods as described above.
The fourth aspect of the application provides a kind of non-volatile memory medium, the non-volatile memory medium be stored with to
A few instruction, at least one described instruction are executed by processor the step realized and realize contact number acquisition methods as described above
Suddenly.
The embodiment of the present invention passes through the hardware information hair of contact number and the terminal in the short message for the terminal that will acquire
It send to service platform, and will include the contact number according to the contact number by service platform calling SMS platform
And the verifying short message of the hardware information of the terminal is sent to the terminal, the end of the terminal in the verifying short message
When the hardware information at end is matched with the hardware information for the terminal for receiving the verifying short message, institute is obtained from the verifying short message
Contact number is stated, so as to obtain the contact number of terminal without extra charge.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart for the contact number acquisition methods that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of contact number acquisition methods provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the preferred embodiment for the terminal that the present invention realizes contact number acquisition methods;
Fig. 4 is the structure chart for the contact number acquisition device that the embodiment of the present invention four provides.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment
In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
Fig. 1 is the schematic flow diagram for the contact number acquisition methods that the embodiment of the present invention one provides.The method is applied to
In terminal, the terminal can be the equipment that mobile phone, plate etc. can receive short message.As shown in Figure 1, the contact number obtains
Method can comprise the following steps that
S101: the hardware information of the contact number and terminal in the short message of terminal is obtained.
The short message of the terminal can be the short message that pre-stored contact person sends in terminal, be also possible in nonterminal
The short message that the contact person of storage sends can also be short message, various advertisement SMSs and refuse messages that telecom operators send
Deng.Contact number in the short message of the terminal is the contact number of 11 bit digitals.The front three of the contact number is China
Number section 134,135,136,137,138,139,147,150,151,152,157,158,159,187,188 etc. has been opened in movement,
It perhaps is that China Unicom has opened number section 130,131,132,155,156,185,186 etc. or is China Telecom's number of opening
Section 133,153,180,189 etc..It obviously, if the content in the short message is not 11 numbers, or is 11 numbers
But the front three of number is not that China Mobile has opened number section, has not opened number section for China Unicom, and is not China Telecom
Number section is opened, then the content is not contact number.The hardware information of the terminal includes IMSI (International
Mobile Subscriber Identification Number, international mobile subscriber identity) and IMEI
At least one of (International Mobile Equipment Identity, International Mobile Equipment Identity code).It is described
The hardware information of terminal is the unique identifier of the terminal.
S102: the hardware information of contact number and the terminal in the short message is sent to service platform.
The terminal is communicated with the service platform by network.The network includes, but are not limited to internet, wide
Domain net, Metropolitan Area Network (MAN), local area network, Virtual Private Network (Virtual Private Network, VPN) etc..The terminal passes through net
The hardware information of contact number and the terminal in the short message is sent to the service platform by network.The service platform is
Cloud platform.
S103: the verifying short message that the SMS platform that the service platform calls is sent according to the contact number is received;Institute
State the hardware information that verifying short message includes the contact number and the terminal.
The service platform can call the SMS platform.The SMS platform be based on China Mobile, China Unicom and
The short message interface that China Telecom directly provides realizes the mesh that short message Batch sending and customized transmission are carried out with client's designated number
's.Contact number that the SMS platform is received according to the service platform sends verifying short message to having the contact number
Terminal.Obviously, when the contact number in the short message of aforementioned terminals is the contact number of aforementioned terminals, the short message
Platform sends the verifying short message to the aforementioned terminals, but the contact number worked as in the short message of aforementioned terminals is not aforementioned end
When the contact number at end, the SMS platform transmission verifying short message to another terminal, rather than aforementioned terminals.
S104: the hardware information of the terminal in the verifying short message is obtained.
The hardware information for obtaining the terminal in the verifying short message includes: the parsing verifying short message, and is mentioned
The hardware information of the terminal in verifying short message after taking the parsing.
S105: judge the terminal in the verifying short message hardware information whether with receive the verifying short message
The hardware information of terminal matches.
The terminal for receiving the verifying short message is the terminal with the contact number.The judgement verifying
It includes: to sentence that whether the hardware information of the terminal in short message matches with the hardware information for the terminal for receiving the verifying short message
Break it is described verifying short message in the terminal hardware information whether with receive it is described verifying short message terminal hardware information
It is identical.
S106: hardware information and the end for receiving the verifying short message when the terminal in the verifying short message
When the hardware information matching at end, the contact number is obtained from the verifying short message.
The hardware information of the terminal in the verifying short message is hard with the terminal for receiving the verifying short message
Part information matches include: that the hardware information of the terminal in the verifying short message receives the end for verifying short message with described
The hardware information at end is identical.Wherein, when the hardware information of the terminal in the verifying short message receives described test with described
When demonstrate,proving the hardware information matching of the terminal of short message, it may be determined that the contact number in the verifying short message receives described test to be described
Demonstrate,prove the contact number of the terminal of short message.It is described that the contact number is obtained from the verifying short message includes: the parsing verifying
Short message, and the contact number is extracted from the verifying short message after the parsing.
The hardware information of contact number and the terminal in short message of the embodiment of the present invention one by obtaining the terminal;
The hardware information of contact number and the terminal in the short message is sent to service platform;The service platform is received to call
The verifying short message that is sent according to the contact number of SMS platform;The verifying short message includes the contact number and the end
The hardware information at end;Obtain the hardware information of the terminal in the verifying short message;Judge described in the verifying short message
Whether the hardware information of terminal matches with the hardware information of the terminal of the acquisition;When the terminal in the verifying short message
When hardware information is matched with the hardware information of the terminal of the acquisition, the contact number is obtained from the verifying short message.By
The hardware information that the contact number and the terminal in the short message of terminal are obtained in the embodiment of the present invention one, passes through service platform
SMS platform is called to send the verifying short message of the hardware information including contact number and the terminal to having the connection number
The terminal of code, when the hardware information and the hardware for the terminal for receiving the verifying short message of the terminal in the verifying short message
When information is identical, it may be determined that the contact number in the verifying short message is the connection of the terminal for receiving the verifying short message
Number, then only need to obtain the contact number from the verifying short message just and can be obtained and described receive the verifying short message
The contact number of terminal, so as to obtain the contact number of the terminal without extra charge, cost is relatively low.
Embodiment two
Fig. 2 is the schematic flow diagram of contact number acquisition methods provided by Embodiment 2 of the present invention.The method is applied to
In terminal, the terminal can be the equipment that mobile phone, plate etc. can receive short message.As shown in Fig. 2, the contact number obtains
Method can comprise the following steps that
S201: it when not having storage in the terminal includes the short message of contact number, sends inquiry request to operator and comes
Obtain the flow or calling charge information of the terminal.
The operator includes telecom operators, connection operator and mobile operator.The transmission inquiry request is extremely transported
Seeking quotient includes in a manner of short message or in a manner of phone to operator's transmitted traffic or calling charge information inquiry request.Wherein, when
When in a manner of phone to operator's transmitted traffic or calling charge information inquiry request, the operator answers short message automatically informing stream
Amount or calling charge information.Wherein, the terminal is in a manner of short message or in a manner of phone to operator's transmitted traffic or words
Charge information inquiry request is free.
S202: the short message for the flow or calling charge information including the terminal that the operator sends, the short message are received
In include contact number.
The operator returns to corresponding flow or telephone expenses according to the flow or calling charge information inquiry request and uses feelings
Condition.It is free that the terminal, which receives the short message that the operator sends,.The contact number for including in the short message
Can for present terminal contact number or also may not be present terminal contact number.For example, when sending inquiry request to fortune
After seeking flow or calling charge information of the quotient to obtain the terminal, the terminal uses new SIM card instead, at this point, wrapping in the short message
The contact number included is not the contact number of present terminal.
S203: the hardware information of the contact number and terminal in the short message of terminal is obtained.
Step S203 is consistent with step S101 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S101, herein without repeating.
S204: the hardware information of contact number and the terminal in the short message is sent to service platform.
Step S204 is consistent with step S102 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S102, herein without repeating.
S205: the verifying short message that the SMS platform that the service platform calls is sent according to the contact number is received;Institute
State the hardware information that verifying short message includes the contact number and the terminal.
Step S205 is consistent with step S103 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S103, herein without repeating.
S206: the hardware information of the terminal in the verifying short message is obtained.
Step S206 is consistent with step S104 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S104, herein without repeating.
S207: judge the terminal in the verifying short message hardware information whether with receive the verifying short message
The hardware information of terminal matches.
Step S207 is consistent with step S105 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S105, herein without repeating.
S208: hardware information and the end for receiving the verifying short message when the terminal in the verifying short message
When the hardware information matching at end, the contact number is obtained from the verifying short message.
Step S208 is consistent with step S106 described in embodiment one in the present embodiment, referring specifically to institute in embodiment one
The associated description for stating step S106, herein without repeating.
In other embodiments, the short message including contact number is stored in the terminal.To which the terminal is without hair
Sending inquiry request obtains the flow or calling charge information of the terminal to operator, and receive operator's transmission includes institute
The flow of terminal or the short message of calling charge information are stated, includes contact number in the short message.The short message for being stored in the terminal
In contact number can for present terminal contact number or also may not be present terminal contact number.For example, when storage
After the short message including contact number, the terminal uses new SIM card instead, at this point, the institute for including in the short message of the storage
Stating contact number not is the contact number of present terminal.
When not having to store the short message including contact number in the excessive terminal of two-way of the embodiment of the present invention, sends inquiry and ask
It asks to operator and obtains the flow or calling charge information of the terminal;Receive the stream including the terminal that the operator sends
The short message of amount or calling charge information includes contact number in the short message;Obtain the contact number in the short message of the terminal and institute
State the hardware information of terminal;The hardware information of contact number and the terminal in the short message is sent to service platform;It connects
Receive the verifying short message that the SMS platform that the service platform calls is sent according to the contact number;The verifying short message includes institute
State the hardware information of contact number and the terminal;Obtain the hardware information of the terminal in the verifying short message;Judge institute
Whether the hardware information for stating the terminal in verifying short message matches with the hardware information of the terminal of the acquisition;When the verifying
When the hardware information of the terminal in short message is matched with the hardware information of the terminal of the acquisition, obtained from the verifying short message
Take the contact number.Or the short message including contact number is stored in the terminal, without sending inquiry request to fortune
Battalion quotient obtains the flow or calling charge information of the terminal, and the flow including the terminal that receives that the operator sends or
The short message of calling charge information includes contact number in the short message.
The hardware information of the contact number in short message due to obtaining terminal in the embodiment of the present invention two and the terminal, leads to
It crosses service platform and calls SMS platform to send the verifying short message of the hardware information including contact number and the terminal to having
The terminal of the contact number when the hardware information for verifying the terminal in short message and receives the verifying short message
When the hardware information of terminal is identical, it may be determined that the contact number in the verifying short message receives the verifying short message for described in
The contact number of terminal, then only needing to obtain the contact number just from the verifying short message can be obtained described in described receive
The contact number of the terminal of short message is verified, so as to obtain the contact number of the terminal without extra charge, cost is relatively low.
Meanwhile when not having in the terminal includes the short message of contact number, it is automatic send inquiry request obtained to operator including
The short message of contact number, thus executable present invention when not having to store the short message including contact number even if in terminal.
It is the detailed description carried out to method provided by the present invention above.According to different requirements, in shown flow chart
The execution sequence of square can change, and certain squares can be omitted, and the method for optimization aim application is also in above-mentioned optimization method
Selectivity is applied in combination, or is applied in combination with other above-mentioned unmentioned optimization methods.Below to provided by the present invention
Device is described.
Embodiment three
As shown in figure 3, the present invention realizes the structural schematic diagram of the terminal of the preferred embodiment of contact number acquisition methods.Institute
Contact number acquisition device is stated applied to the equipment that in terminal, the terminal can receive short message for mobile phone, plate etc..Institute
Stating terminal 10 includes contact number acquisition device 20.The terminal 10 further include non-volatile memory medium 30, processor 40 and
Show equipment 50.
Preferably, contact number acquisition methods of the invention by the contact number acquisition device 20 in the terminal 10 come
It realizes.
The terminal 10 is that one kind can be automatic to carry out numerical value calculating and/or letter according to the instruction for being previously set or storing
The equipment of processing is ceased, hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number
Word processing device (Digital Signal Processor, DSP), embedded device etc..
The terminal 10, which may be, but not limited to, any one, to pass through keyboard, mouse, remote controler, touch tablet with user
Or the modes such as voice-operated device carry out the electronic product of human-computer interaction, for example, tablet computer, smart phone, personal digital assistant
(Personal Digital Assistant, PDA), game machine, intellectual wearable device etc..
Network locating for the terminal 10 includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, virtual private
Network (Virtual Private Network, VPN) etc..
The contact number acquisition device 20 can obtain the hard of contact number in the short message of the terminal and the terminal
Part information;The hardware information of contact number and the terminal in the short message is sent to service platform;Receive the service
The verifying short message that the SMS platform that platform calls is sent according to the contact number;The verifying short message includes the contact number
And the hardware information of the terminal;Obtain the hardware information of the terminal in the verifying short message;Judge the verifying short message
In the hardware information of the terminal whether matched with the hardware information of the terminal of the acquisition;Institute in the verifying short message
When stating the hardware information of terminal and matching with the hardware information of the terminal of the acquisition, the connection is obtained from the verifying short message
Number, so as to obtain the contact number of the terminal without extra charge, cost is relatively low.
The non-volatile memory medium 30 is for storing at least one instruction.At least one described instruction includes described
It is the program code of each program segment in number acquisition device 20.The non-volatile memory medium 30 can be smart media card
(smart media card), safe digital card (secure digital card), flash memory cards (flash card) etc.
Storage facilities.
The processor 40 may include one or more microprocessor, digital processing unit.The processor 40 is used for
At least one described instruction is executed to realize the contact number acquisition methods.
It is described display equipment 50 can be touch screen or display screen etc. other be used for show picture equipment.
Example IV
Fig. 4 is the schematic diagram for the contact number acquisition device that the embodiment of the present invention four provides.The contact number obtains dress
It sets and is applied in terminal, the equipment that the terminal can receive short message for mobile phone, plate etc..As shown in figure 4, the connection
Number acquisition device 20 may include the first acquisition module 410, sending module 420, receiving module 430, second obtain module 440 and
Judgment module 450.The so-called module of the present invention, which refers to, a kind of performed by processor and can complete fixed function
Series of computation machine program segment, is stored in non-volatile memory medium.
Described first obtains module 410, the hardware information of the contact number in short message for obtaining terminal and terminal.
The short message of the terminal can be the short message that pre-stored contact person sends in terminal, be also possible in nonterminal
The short message that the contact person of storage sends can also be short message, various advertisement SMSs and refuse messages that telecom operators send
Deng.Contact number in the short message of the terminal is the contact number of 11 bit digitals.The front three of the contact number is China
Number section 134,135,136,137,138,139,147,150,151,152,157,158,159,187,188 etc. has been opened in movement,
It perhaps is that China Unicom has opened number section 130,131,132,155,156,185,186 etc. or is China Telecom's number of opening
Section 133,153,180,189 etc..It obviously, if the content in the short message is not 11 numbers, or is 11 numbers
But the front three of number is not that China Mobile has opened number section, has not opened number section for China Unicom, and is not China Telecom
Number section is opened, then the content is not contact number.The hardware information of the terminal includes IMSI (International
Mobile Subscriber Identification Number, international mobile subscriber identity) and IMEI
At least one of (International Mobile Equipment Identity, International Mobile Equipment Identity code).It is described
The hardware information of terminal is the unique identifier of the terminal.
The sending module 420, for the hardware information of contact number and the terminal in the short message to be sent to
Service platform.
The terminal is communicated with the service platform by network.The network includes, but are not limited to internet, wide
Domain net, Metropolitan Area Network (MAN), local area network, Virtual Private Network (Virtual Private Network, VPN) etc..The terminal passes through net
The hardware information of contact number and the terminal in the short message is sent to the service platform by network.The service platform is
Cloud platform.
The receiving module 430 is sent out for receiving the SMS platform that the service platform calls according to the contact number
The verifying short message sent;The verifying short message includes the hardware information of the contact number and the terminal.
The service platform can call the SMS platform.The SMS platform be based on China Mobile, China Unicom and
The short message interface that China Telecom directly provides realizes the mesh that short message Batch sending and customized transmission are carried out with client's designated number
's.Contact number that the SMS platform is received according to the service platform sends verifying short message to having the contact number
Terminal.Obviously, when the contact number in the short message of aforementioned terminals is the contact number of aforementioned terminals, the short message
Platform sends the verifying short message to the aforementioned terminals, but the contact number worked as in the short message of aforementioned terminals is not aforementioned end
When the contact number at end, the SMS platform transmission verifying short message to another terminal, rather than aforementioned terminals.
Described second obtains module 440, for obtaining the hardware information of the terminal in the verifying short message.
The hardware information for obtaining the terminal in the verifying short message includes: the parsing verifying short message, and is mentioned
The hardware information of the terminal in verifying short message after taking the parsing.
The judgment module 450, for judge it is described verifying short message in the terminal hardware information whether with reception
To the hardware information matching of the terminal of the verifying short message.
The terminal for receiving the verifying short message is the terminal with the contact number.The judgement verifying
It includes: to sentence that whether the hardware information of the terminal in short message matches with the hardware information for the terminal for receiving the verifying short message
Break it is described verifying short message in the terminal hardware information whether with receive it is described verifying short message terminal hardware information
It is identical.
It is described second obtain module 440, be also used to when it is described verifying short message in the terminal hardware information with it is described
When receiving the hardware information matching of the terminal of the verifying short message, the contact number is obtained from the verifying short message.
The hardware information of the terminal in the verifying short message is hard with the terminal for receiving the verifying short message
Part information matches include: that the hardware information of the terminal in the verifying short message receives the end for verifying short message with described
The hardware information at end is identical.Wherein, when the hardware information of the terminal in the verifying short message receives described test with described
When demonstrate,proving the hardware information matching of the terminal of short message, it may be determined that the contact number in the verifying short message receives described test to be described
Demonstrate,prove the contact number of the terminal of short message.It is described that the contact number is obtained from the verifying short message includes: the parsing verifying
Short message, and the contact number is extracted from the verifying short message after the parsing.
The hardware information of contact number and the terminal in short message of the embodiment of the present invention four by obtaining the terminal;
The hardware information of contact number and the terminal in the short message is sent to service platform;The service platform is received to call
The verifying short message that is sent according to the contact number of SMS platform;The verifying short message includes the contact number and the end
The hardware information at end;Obtain the hardware information of the terminal in the verifying short message;Judge described in the verifying short message
Whether the hardware information of terminal matches with the hardware information of the terminal of the acquisition;When the terminal in the verifying short message
When hardware information is matched with the hardware information of the terminal of the acquisition, the contact number is obtained from the verifying short message.By
The hardware information that the contact number and the terminal in the short message of terminal are obtained in the embodiment of the present invention four, passes through service platform
SMS platform is called to send the verifying short message of the hardware information including contact number and the terminal to having the connection number
The terminal of code, when the hardware information and the hardware for the terminal for receiving the verifying short message of the terminal in the verifying short message
When information is identical, it may be determined that the contact number in the verifying short message is the connection of the terminal for receiving the verifying short message
Number, then only need to obtain the contact number from the verifying short message just and can be obtained and described receive the verifying short message
The contact number of terminal, so as to obtain the contact number of the terminal without extra charge, cost is relatively low.
Embodiment five
Fig. 4 is the schematic diagram for the contact number acquisition device that the embodiment of the present invention five provides.The contact number obtains dress
It sets and is applied in terminal, the equipment that the terminal can receive short message for mobile phone, plate etc..As shown in figure 4, the connection
Number acquisition device 20 may include the first acquisition module 410, sending module 420, receiving module 430, second obtain module 440 and
Judgment module 450.The so-called module of the present invention, which refers to, a kind of performed by processor and can complete fixed function
Series of computation machine program segment, is stored in non-volatile memory medium.
The sending module 420, for sending inquiry when not having storage in the terminal includes the short message of contact number
Request obtains the flow or calling charge information of the terminal to operator.
The operator includes telecom operators, connection operator and mobile operator.The transmission inquiry request is extremely transported
Seeking quotient includes in a manner of short message or in a manner of phone to operator's transmitted traffic or calling charge information inquiry request.Wherein, when
When in a manner of phone to operator's transmitted traffic or calling charge information inquiry request, the operator answers short message automatically informing stream
Amount or calling charge information.Wherein, the terminal is in a manner of short message or in a manner of phone to operator's transmitted traffic or words
Charge information inquiry request is free.
The receiving module 430, the flow or calling charge information including the terminal sent for receiving the operator
Short message, include contact number in the short message.
The operator returns to corresponding flow or telephone expenses according to the flow or calling charge information inquiry request and uses feelings
Condition.It is free that the terminal, which receives the short message that the operator sends,.The contact number for including in the short message
Can for present terminal contact number or also may not be present terminal contact number.For example, when sending inquiry request to fortune
After seeking flow or calling charge information of the quotient to obtain the terminal, the terminal uses new SIM card instead, at this point, wrapping in the short message
The contact number included is not the contact number of present terminal.
Described first obtains module 410, the hardware information of the contact number in short message for obtaining terminal and terminal.
First obtains module 410 unanimously in first acquisition module 410 described in the present embodiment and example IV, please specifically join
The detailed description for readding the first acquisition module 410 in example IV, herein without repeating.
The sending module 420 is also used to send the contact number in the short message and the hardware information of the terminal
To service platform.
Sending module 420 is consistent in sending module 420 described in the present embodiment and example IV, referring specifically to embodiment
The detailed description of sending module 420 in four, herein without repeating.
The receiving module 430 is also used to receive the SMS platform of the service platform calling according to the contact number
The verifying short message of transmission;The verifying short message includes the hardware information of the contact number and the terminal.
Receiving module 430 is consistent in receiving module 430 described in the present embodiment and example IV, referring specifically to embodiment
The detailed description of receiving module 430 in four, herein without repeating.
Described second obtains module 440, for obtaining the hardware information of the terminal in the verifying short message.
Second obtains module 440 unanimously in second acquisition module 440 described in the present embodiment and example IV, please specifically join
The detailed description for readding the second acquisition module 440 in example IV, herein without repeating.
The judgment module 450, for judge it is described verifying short message in the terminal hardware information whether with reception
To the hardware information matching of the terminal of the verifying short message.
Judgment module 450 is consistent in judgment module 450 described in the present embodiment and example IV, referring specifically to embodiment
The detailed description of judgment module 450 in four, herein without repeating.
It is described second obtain module 440, be also used to when it is described verifying short message in the terminal hardware information with it is described
When receiving the hardware information matching of the terminal of the verifying short message, the contact number is obtained from the verifying short message.
Second obtains module 440 unanimously in second acquisition module 440 described in the present embodiment and example IV, please specifically join
The detailed description for readding the second acquisition module 440 in example IV, herein without repeating.
The embodiment of the present invention five is asked by when not having storage in the terminal includes the short message of contact number, sending inquiry
It asks to operator and obtains the flow or calling charge information of the terminal;Receive the stream including the terminal that the operator sends
The short message of amount or calling charge information includes contact number in the short message;Obtain the contact number in the short message of the terminal and institute
State the hardware information of terminal;The hardware information of contact number and the terminal in the short message is sent to service platform;It connects
Receive the verifying short message that the SMS platform that the service platform calls is sent according to the contact number;The verifying short message includes institute
State the hardware information of contact number and the terminal;Obtain the hardware information of the terminal in the verifying short message;Judge institute
Whether the hardware information for stating the terminal in verifying short message matches with the hardware information of the terminal of the acquisition;When the verifying
When the hardware information of the terminal in short message is matched with the hardware information of the terminal of the acquisition, obtained from the verifying short message
Take the contact number.Or the short message including contact number is stored in the terminal, without sending inquiry request to fortune
Battalion quotient obtains the flow or calling charge information of the terminal, and the flow including the terminal that receives that the operator sends or
The short message of calling charge information includes contact number in the short message.
The hardware information of the contact number in short message due to obtaining terminal in the embodiment of the present invention five and the terminal, leads to
It crosses service platform and calls SMS platform to send the verifying short message of the hardware information including contact number and the terminal to having
The terminal of the contact number when the hardware information for verifying the terminal in short message and receives the verifying short message
When the hardware information of terminal is identical, it may be determined that the contact number in the verifying short message receives the verifying short message for described in
The contact number of terminal, then only needing to obtain the contact number just from the verifying short message can be obtained described in described receive
The contact number of the terminal of short message is verified, so as to obtain the contact number of the terminal without extra charge, cost is relatively low.
Meanwhile when not having in the terminal includes the short message of contact number, it is automatic send inquiry request obtained to operator including
The short message of contact number, thus executable present invention when not having to store the short message including contact number even if in terminal.
In several embodiments provided by the present invention, it should be understood that disclosed contact number acquisition methods and dress
It sets, may be implemented in other ways.For example, the embodiment of contact number acquisition device described above is only to illustrate
Property, for example, the division of the module, only a kind of logical function partition can have other division side in actual implementation
Formula.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in same treatment module
It is that modules physically exist alone, can also be integrated in equal modules with two or more modules.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by the same unit or device.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (12)
1. a kind of contact number acquisition methods are applied to terminal, which is characterized in that the described method includes:
Obtain the hardware information of the contact number and the terminal in the short message stored in the terminal;
The hardware information of contact number and the terminal in the short message is sent to service platform;
Receive the verifying short message that the SMS platform that the service platform calls is sent according to the contact number;The verifying short message
Hardware information including the contact number and the terminal;
Obtain the hardware information of the terminal in the verifying short message;
Judge it is described verifying short message in the terminal hardware information whether with receive it is described verifying short message terminal it is hard
Part information matches;
When the hardware information of the terminal in the verifying short message and the hardware of the terminal for receiving the verifying short message
When information matches, the contact number is obtained from the verifying short message.
2. contact number acquisition methods as described in claim 1, it is characterised in that:
The short message including contact number is stored in the terminal.
3. contact number acquisition methods as described in claim 1, which is characterized in that in the short message for obtaining the terminal
Contact number and the terminal hardware information before, the method also includes:
When not having storage in the terminal includes the short message of contact number, sends inquiry request and obtain the end to operator
The flow or calling charge information at end;
The short message for the flow or calling charge information including the terminal that the operator sends is received, includes connection in the short message
Number.
4. contact number acquisition methods as described in claim 1, it is characterised in that:
The hardware information of the terminal includes at least one of IMSI and IMEI.
5. contact number acquisition methods as described in claim 1, it is characterised in that:
The terminal is communicated with the service platform by network.
6. a kind of contact number acquisition device, it is applied to terminal, which is characterized in that described device includes:
First obtains module, and the hardware for obtaining the contact number in the short message stored in the terminal and the terminal is believed
Breath;
Sending module, for the hardware information of contact number and the terminal in the short message to be sent to service platform;
Receiving module, it is short for receiving the verifying that the SMS platform that the service platform calls is sent according to the contact number
Letter;The verifying short message includes the hardware information of the contact number and the terminal;
Second obtains module, for obtaining the hardware information of the terminal in the verifying short message;
Judgment module, for judge it is described verifying short message in the terminal hardware information whether with receive it is described verifying it is short
The hardware information of the terminal of letter matches;
Second obtains module, is also used to receive described test with described when the hardware information of the terminal in the verifying short message
When demonstrate,proving the hardware information matching of the terminal of short message, the contact number is obtained from the verifying short message.
7. contact number acquisition device as claimed in claim 6, it is characterised in that:
The short message including contact number is stored in the terminal.
8. contact number acquisition device as claimed in claim 6, which is characterized in that obtain what the terminal was stored described
Contact number in short message and before the hardware information of the terminal:
The sending module is also used to send inquiry request when not having storage in the terminal includes the short message of contact number
The flow or calling charge information of the terminal are obtained to operator;
The receiving module is also used to receive the short of the operator sends including the terminal flow or calling charge information
Believe, includes contact number in the short message.
9. contact number acquisition device as claimed in claim 6, it is characterised in that:
The hardware information of the terminal includes at least one of IMSI and IMEI.
10. contact number acquisition device as claimed in claim 6, it is characterised in that:
The terminal is communicated with the service platform by network.
11. a kind of terminal, which is characterized in that the terminal includes non-volatile memory medium and processor, described non-volatile
Storage medium is for storing at least one instruction, and the processor is for executing at least one described instruction to realize claim
Described in 1 to 5 any one the step of contact number acquisition methods.
12. a kind of non-volatile memory medium, which is characterized in that the non-volatile memory medium is stored at least one and refers to
It enables, at least one described instruction, which is executed by processor, realizes realization contact number acquisition side described in claim 1 to 5 any one
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710359432.5A CN107249181B (en) | 2017-05-19 | 2017-05-19 | Contact number acquisition methods, device, terminal and non-volatile memory medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710359432.5A CN107249181B (en) | 2017-05-19 | 2017-05-19 | Contact number acquisition methods, device, terminal and non-volatile memory medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107249181A CN107249181A (en) | 2017-10-13 |
CN107249181B true CN107249181B (en) | 2019-11-26 |
Family
ID=60016911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710359432.5A Active CN107249181B (en) | 2017-05-19 | 2017-05-19 | Contact number acquisition methods, device, terminal and non-volatile memory medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107249181B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769603B (en) * | 2011-05-03 | 2016-06-22 | 中国移动通信集团公司 | The method of a kind of data transmission, system and equipment |
CN104754556A (en) * | 2013-12-25 | 2015-07-01 | 阿里巴巴集团控股有限公司 | Method and device for maintaining effectiveness of mobile terminal, method and device for uploading information of mobile terminal as well as system for maintaining effectiveness of mobile terminal |
US20160005036A1 (en) * | 2014-07-03 | 2016-01-07 | Mistral Mobile | Hce token secure delivery without data connectivity |
CN105578461B (en) * | 2014-11-10 | 2019-08-02 | 阿里巴巴集团控股有限公司 | Communication, communication access/call-out method, apparatus and system are established between mobile terminal |
-
2017
- 2017-05-19 CN CN201710359432.5A patent/CN107249181B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107249181A (en) | 2017-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747132B (en) | The method of display message and terminal | |
CN107872772B (en) | Method and device for detecting fraud short messages | |
CN104618312B (en) | A kind of remote login methods, devices and systems of M2M application | |
CN107800901B (en) | User call processing method, device, computer equipment and storage medium | |
CN105721659B (en) | Incoming call processing method and device | |
CN109510758A (en) | Session establishing method, terminal, third-party application server and system | |
CN101909281B (en) | Mobile terminal-based user social contact method, device and system | |
CN109040050A (en) | Data interactive method and Related product | |
CN103222288A (en) | Processing method and network equipment of international mobile equipment identification information IMEI | |
CN107046547B (en) | Abnormal operation identification method and device | |
CN102244695A (en) | Contact person grouping system and method | |
CN107249181B (en) | Contact number acquisition methods, device, terminal and non-volatile memory medium | |
CN103036762A (en) | Method and device for information processing in instant messaging | |
CN205902086U (en) | Emergent notice device and system | |
CN101873580B (en) | Download method of business application and business application management platform system | |
CN105681737A (en) | Examination-room-based mobile command platform and monitoring method thereof | |
CN105163297B (en) | Cross operating system receives the method and system of multimedia message | |
CN114374614B (en) | Network topology configuration method and device | |
CN105897867A (en) | Share processing method of interaction information, vehicle terminal, server and system | |
CN104821979A (en) | Telephone number identification processing method and device thereof | |
CN105933352B (en) | Method of data synchronization, client and system between client-based server | |
CN105025482B (en) | Communication information processing method and equipment thereof | |
CN109450885B (en) | Network data interception method and device, electronic equipment and storage medium | |
CN105744035B (en) | Mobile communication terminal carries out the method and mobile communication terminal that harassing and wrecking communication intercepts | |
CN106713581A (en) | Communication number identification method, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |