CN106973172B - The querying method and device of phone number state - Google Patents

The querying method and device of phone number state Download PDF

Info

Publication number
CN106973172B
CN106973172B CN201610022429.XA CN201610022429A CN106973172B CN 106973172 B CN106973172 B CN 106973172B CN 201610022429 A CN201610022429 A CN 201610022429A CN 106973172 B CN106973172 B CN 106973172B
Authority
CN
China
Prior art keywords
state
mobile phones
target mobile
phones number
last
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
Application number
CN201610022429.XA
Other languages
Chinese (zh)
Other versions
CN106973172A (en
Inventor
解道成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610022429.XA priority Critical patent/CN106973172B/en
Publication of CN106973172A publication Critical patent/CN106973172A/en
Application granted granted Critical
Publication of CN106973172B publication Critical patent/CN106973172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Abstract

The application proposes the querying method and device of a kind of phone number state, wherein the querying method of the phone number state is the following steps are included: obtain the communication test result with target mobile phones number by telephone network system;Obtain the last detecting state of target mobile phones number;And the current state of target mobile phones number is determined according to the last detecting state of communication test result and target mobile phones number.The querying method of the phone number state of the embodiment of the present application can reduce Operator interface pressure, reduces Operator interface use cost and improve the real-time of inquiry.

Description

The querying method and device of phone number state
Technical field
This application involves Internet technical field, in particular to a kind of the querying method and device of phone number state.
Background technique
Currently in Internet application, many websites are the information of user and subscriber phone number binding, user Operation is verified by SMS, and phone number has been increasingly becoming the mark of user (for example, the phone number i.e. account of user Family).So this binding mode has a problem that: if being that user A is being used before a phone number, shutting down later not With again operator can reactivate this phone number give user B over time, and then user B can be in each website It is middle to give password, login, the account for operating user A for change with the phone number, and website can not distinguish that currently log in is user A Or user B, to bring security risk to user.If it is intended to guaranteeing that the account of user A is not used by others, then need User A oneself modification phone number before phone number is shut down.
At present at home in three big operator's mobile phone communication services, state for phone number and secondary distribute telephone numbers Mark is not all opened to the outside world, and (for example, BOSS system) is existed only in the built-in system of each operator.
The last state of phone number is detected by way of calling Operator interface in the related technology (such as 1 institute of attached drawing Show, the more new task of the timing in Fig. 1 refers to the final updating time of phone number state more than after specified time, and inquiry is transported again Battalion's quotient's interface detects the last state of the number).Due to the enormous amount (for example, 1,000,000,000+) of the whole network phone number, timing updates Task all calls Operator interface to be detected every time, therefore that there are Operator interface pressure is big, interface cost is high and real The problems such as when property is low.
Summary of the invention
The application is intended to the technical issues of solving in the related technology at least to a certain extent.
For this purpose, the purpose of the application is to propose a kind of querying method of phone number state, this method can drop Low Operator interface pressure reduces Operator interface use cost and improves the real-time of inquiry.
Second purpose of the application is to propose a kind of inquiry unit of phone number state.
In order to achieve the above object, proposing a kind of issuer of phone number state according to the application first aspect embodiment Method, comprising the following steps: the communication test result with target mobile phones number is obtained by telephone network system;Obtain the target The last detecting state of phone number;And it is examined according to the communication test result and the last of the target mobile phones number Survey state determines the current state of the target mobile phones number.
The querying method of the phone number state of the embodiment of the present application is obtained and target mobile phones number by telephone network system The communication test of code as a result, and obtain the last detecting state of target mobile phones number, and according to present communications test result Judge that the current state of target mobile phones number, this method call Operator interface without frequent with last detecting state, thus Reduce costs and improve the real-time of phone number status inquiry.
The application second aspect embodiment provides a kind of inquiry unit of phone number state, comprising: first obtains mould Block, for obtaining the communication test result with target mobile phones number by telephone network system;Second obtains module, for obtaining The last detecting state of the target mobile phones number;State generation module, for according to the communication test result and described The last detecting state of target mobile phones number determines the current state of the target mobile phones number.
The inquiry unit of the phone number state of the embodiment of the present application, first obtains module is obtained by telephone network system Communication test with target mobile phones number is as a result, second obtains the last detecting state of module acquisition target mobile phones number, shape State generation module judges the current state of target mobile phones number, inquiry dress according to communication test result and last detecting state It sets without frequently calling Operator interface, to reduce costs and improve the real-time of phone number status inquiry.
The additional aspect and advantage of the application will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart for detecting the last state of phone number by calling Operator interface in the related technology;
Fig. 2 is the flow chart according to the querying method of the phone number state of the application one embodiment;
Fig. 3 A is upper one according to present communications test result and target mobile phones number according to the application one embodiment Secondary detecting state determines the flow chart of the current state of target mobile phones number;
Fig. 3 B is according to the application another embodiment according to the upper of present communications test result and target mobile phones number One-time detection state determines the flow chart of the current state of target mobile phones number;
Fig. 3 C is according to the application another embodiment according to the upper of present communications test result and target mobile phones number One-time detection state determines the flow chart of the current state of target mobile phones number;
Fig. 4 is the flow chart according to the querying method of the phone number state of one specific embodiment of the application;
Fig. 5 is the structural schematic diagram according to the inquiry unit of the phone number state of the application one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the querying method and device of phone number state according to the embodiment of the present application are described.
Fig. 2 is the flow chart according to the querying method of the phone number state of the application one embodiment.The application is implemented The querying method of the phone number state of example is suitable for server.
As shown in Fig. 2, being included the following steps according to the querying method of the phone number state of the embodiment of the present application.
S101 obtains the communication test result with target mobile phones number by telephone network system.
In one embodiment of the application, telephone network system is short message dispatching centre system, topping up is System or telephone call system.
Wherein, telephone network system refers to the service interfacing platform of website and common carrier.
By telephone network system be short message dispatching centre system for, short message dispatching centre system refer to certain website with communicate One short message docking platform of operator, short message dispatching centre system can be sent out by common carrier to the mobile phone of website user Send short message (for example, recommendation short message that the businessman in shopping website sends to website user).Short message dispatching centre system sends short After letter, common carrier then sends result (for example, short message is sent successfully or short message is sent to short message dispatching centre system feedback Failure).
Specifically, server is communicated with short message dispatching centre system, to monitor and obtain short message dispatching centre system Receive sending as a result, the communication test result of target mobile phones number can be got for common carrier feedback.
S102 obtains the last detecting state of target mobile phones number.
Specifically, after server executes the querying method of the embodiment of the present application every time, all by query result (i.e. target mobile phones The state of number) it is saved.So, the subsequent last detecting state that can obtain the target mobile phones number.Namely It says, server obtains the last detecting state of the currently stored target mobile phones number (for example, last detecting state is Normal or shutdown status, absent-subscriber condition).
S103 determines target mobile phones number according to the last detecting state of present communications test result and target mobile phones number The current state of code.
Specifically, mesh can be determined with last detecting state with the present communications test result of combining target phone number Mark the current state of phone number.Wherein, the state of phone number can for it is normal, shut down, spacing or secondary distribute telephone numbers.Below into Row is described in detail.
In one embodiment of the application, as shown in Figure 3A, step S103 is specifically included:
S1031 further judges the last detection of target mobile phones number if present communications test result is failure Whether state is normal.
For example, by taking telephone network system is short message dispatching centre system as an example, if server is from short message dispatching centre system The transmission result (i.e. communication test result) got of uniting is that short message sends failure, then then further judging target mobile phones number Last detecting state it is whether normal.
S1032, if the last detecting state of target mobile phones number be it is normal, target mobile phones number mark is attached most importance to New detection.
Specifically, if the last detecting state of target mobile phones number be it is normal, be by target mobile phones number mark Again it detects, then, which is then provided with detection mark again.
More specifically, due to target mobile phones number varying environment use (for example, indoor environment, outdoor environment etc.) when its Signal strength can be different, then when signal strength is zero or is weaker, to be likely to result in test result be failure, then such as The last detecting state of fruit target mobile phones number is normal, then is target mobile phones number setting again detection mark.
Further, for having the target mobile phones number for detecting mark again, the embodiment of the present application phone number state Querying method, further includes: for the target mobile phones number increase a timed task, to detect the target mobile phones number in time Last state, to increase the real-time of detection.For example, can be visited by calling Operator interface after timing reaches Survey the last state of the target mobile phones number.
S1033 keeps target mobile phones number if the last detecting state of target mobile phones number is shutdown or spacing State it is constant.
Specifically, if the last detecting state that present communications test result is failure and target mobile phones number is shutdown Or spacing, then subsequent without processing, i.e. the state of holding target mobile phones number is shutdown or spacing.That is, current survey The detecting state of examination is shutdown or spacing, and the detecting state currently tested is saved.
In another embodiment of the application, as shown in Figure 3B, step S103 is specifically included:
S1034, if present communications test result is successfully, further to judge the last detection of target mobile phones number Whether state is normal or shuts down.
For example, by taking telephone network system is short message dispatching centre system as an example, if present communications test result is short message It sends successfully, then whether the last detecting state for then further judging target mobile phones number is normal or shuts down.
S1035 resets renewal time and incites somebody to action if the last detecting state of target mobile phones number is normal or shuts down The state of target mobile phones number is set as normal.
Specifically, if present communications test result is successfully and the last detecting state of target mobile phones number is normal Or shut down, then illustrate current goal phone number in normal use, then, renewal time of target mobile phones number state is carried out Refresh, and sets normal for the state of target mobile phones number.That is, the detecting state currently tested is normal, and will The detecting state currently tested is saved.
S1036 resets renewal time and by target hand if the last detecting state of target mobile phones number is spacing The state of machine number is set as normally, and is secondary distribute telephone numbers by target mobile phones number mark.
Specifically, if present communications test result is successfully and the last detecting state of target mobile phones number is empty Number, then illustrate that current goal phone number is redistributed, then, the renewal time of target mobile phones number state is brushed Newly, and by the state of target mobile phones number it is set as normally, and target mobile phones number mark is distributed telephone numbers to be secondary.Namely It says, the detecting state currently tested is normal, and the detecting state currently tested is saved.
In another embodiment of the application, as shown in Figure 3 C, after step S1035, further includes:
Whether S1037, detection target mobile phones number have detection mark again.
Specifically, after resetting renewal time and it is normal to set the state of target mobile phones number to, target is also detected Whether phone number has detection mark again.
S1038 will detect mark again and delete if having detection mark again.
Specifically, it in the case where the state of target mobile phones number is normal, is visited again if target mobile phones number has Mark is known, then will detect mark again and delete, subsequent, without executing timed task.
In addition, if target mobile phones number terminates without detection mark again.
The querying method of the phone number state of the application is described below by a specific embodiment.As shown in figure 4, electric By taking short breath dispatching centre system as an example, the querying method of the phone number state of the application includes the following steps telephone network system.
S201 obtains the communication test result with target mobile phones number by short message dispatching centre system.
S202 judges present communications test result to succeed, or is failure.If communication test result is successfully, to hold Row S203;If communication test result is failure, S211 is executed.
S203 inquires the last detecting state of target mobile phones number.
S204 judges that last detecting state to be normal or shut down, or is spacing.If normal or shutdown, then execute S205;If spacing, then S208 is executed.
S205, refreshes the final updating time of target mobile phones number state, and sets the state of target mobile phones number to Normally.
Whether S206, detection target mobile phones number have detection mark again.If so, then executing S207;If no, holding Row S210.
S207 deletes detection mark again.Then S210 is executed.
S208, refreshes the final updating time of target mobile phones number state, and sets the state of target mobile phones number to It normally, and by target mobile phones number mark is secondary distribute telephone numbers.
S209 records the secondary initial time distributed telephone numbers of target mobile phones number.Then S210 is executed.
S210, whole flow process terminate.
S211 inquires the last detecting state of target mobile phones number.
S212 judges that last detecting state is normal, or is shutdown or spacing.If normal, then S213 is executed;If For shutdown or spacing, then S214 is executed.
Target mobile phones number mark is to detect again by S213.Then S215 is executed.
S214 is not processed, and keeps the state of target mobile phones number constant.Then S215 is executed.
S215, whole flow process terminate.
The querying method of the phone number state of the embodiment of the present application is obtained and target mobile phones number by telephone network system The communication test of code as a result, and obtain the last detecting state of target mobile phones number, and according to present communications test result Judge that the current state of target mobile phones number, this method call Operator interface without frequent with last detecting state, thus Reduce costs and improve the real-time of phone number status inquiry.
By the querying method of the phone number state of the embodiment of the present application, the current shape of target mobile phones number can be determined State.So, in Internet application, can according to the current state of target mobile phones number to the corresponding account of the phone number into The measures such as some protections of row, release, to promote the safety of website account.For example, when the current of phone number is registered in discovery When state is spacing, the corresponding account of this phone number can be freezed.
The answering come the querying method of the phone number state to the embodiment of the present application in conjunction with a specific embodiment below It is illustrated with scene, specifically includes following steps.
S301, certain website receive the operation requests to account A.For example, resetting password request.
S302 obtains the target mobile phones number of the corresponding binding of account A.
S303 executes the querying method of the phone number state of the embodiment of the present application, to obtain working as target mobile phones number Preceding state.
S304 is handled according to operation requests of the current state of target mobile phones number to user.
For example, when the querying method of the phone number state by the embodiment of the present application judges the current of target mobile phones number When state is secondary distributes telephone numbers, then it can be determined that the account of corresponding user 1 before account A is target mobile phones number, rather than work as The account that preceding user 2 registers, then website should limit operation of the active user 2 to account A, to guarantee the safety of account A;Or Person, website can freeze account A, and distribute a new account for user 2, and the new account is bound the target mobile phones number Code, for 2 normal use of user.
Corresponding with the querying method of phone number state provided by the above embodiment, the application also proposes a kind of cell-phone number The inquiry unit of code state.
Fig. 5 is the structural schematic diagram according to the inquiry unit of the phone number state of the application one embodiment.
As shown in figure 5, according to the inquiry unit of the phone number state of the embodiment of the present application, comprising: first obtains module 10, second module 20 and state generation module 30 are obtained.
Wherein, first module 10 is obtained for obtaining the communication test knot with target mobile phones number by telephone network system Fruit.
In one embodiment of the application, telephone network system is short message dispatching centre system, topping up is System or telephone call system.
By telephone network system be short message dispatching centre system for, short message dispatching centre system refer to certain website with communicate One short message docking platform of operator, short message dispatching centre system can be sent out by common carrier to the mobile phone of website user Send short message (for example, recommendation short message that the businessman in shopping website sends to website user).Short message dispatching centre system sends short After letter, common carrier then sends result (for example, short message is sent successfully or short message is sent to short message dispatching centre system feedback Failure).
Specifically, the first acquisition module 10 is communicated with short message dispatching centre system, to monitor and obtain short message transmission Centring system receives the transmission of common carrier feedback as a result, the communication test knot of target mobile phones number can be got Fruit.
Second acquisition module 20 is used to obtain the last detecting state of target mobile phones number.
Specifically, target mobile phones number is inquired by the inquiry unit of the phone number state of the embodiment of the present application every time State after, all the state of target mobile phones number is saved.So, the second acquisition module 20 can get the target The last detecting state of phone number.That is, the second acquisition module 20 obtains the currently stored target mobile phones number The last detecting state (for example, last detecting state is normal or shutdown status, absent-subscriber condition) of code.
State generation module 30 is used to be determined according to communication test result and the last detecting state of target mobile phones number The current state of target mobile phones number.
Specifically, state generation module 30 can be with the present communications test result of combining target phone number and last inspection Survey state determines the current state of target mobile phones number.Wherein, the state of phone number can for it is normal, shut down, spacing or It is secondary to distribute telephone numbers.It is specifically described below.
In one embodiment of the application, state generation module 30 is further when judging communication test result for failure Whether the last detecting state for judging target mobile phones number is normally, if state generation module 30 judges target mobile phones number Last detecting state be normal, then be again to detect target mobile phones number mark, if state generation module 30 judges The last detecting state of target mobile phones number is shutdown or spacing, then keeps the state of target mobile phones number constant.
For example, by taking telephone network system is short message dispatching centre system as an example, if communication test result is short message transmission Failure, then state generation module 30 then further judges whether the last detecting state of target mobile phones number is normal.
If the last detecting state of target mobile phones number be it is normal, by target mobile phones number if state generation module 30 It is identified as and detects again, then, which is then provided with detection mark again.
Specifically, (for example, indoor environment, outdoor environment etc.) Shi Qixin is used in varying environment due to target mobile phones number Number intensity can be different, then to be likely to result in test result be failure when signal strength is zero or is weaker, if that The last detecting state of target mobile phones number is that normally, state generation module 30 is then visited for the setting of target mobile phones number again Mark is known.
Further, for having the target mobile phones number for detecting mark again, the phone number shape of the embodiment of the present application The inquiry unit of state can also increase a timed task for the target mobile phones number, to detect the target mobile phones number in time most New state, to increase the real-time of detection.For example, can be detected by calling Operator interface after timing reaches The last state of the target mobile phones number.
If the last detecting state that present communications test result is failure and target mobile phones number is shutdown or spacing, For succeeding state generation module 30 then without processing, i.e. the state of holding target mobile phones number is shutdown or spacing.That is, The detecting state currently tested is shutdown or spacing, and the detecting state currently tested is saved.
In one embodiment of the application, state generation module 30 judge present communications test result for success when into One step judges whether the last detecting state of target mobile phones number is normal or shuts down, if state generation module 30 judges mesh It marks the last detecting state of phone number to be normal or shut down, then resets renewal time and set the state of target mobile phones number It is set to normally, if state generation module 30 judges that the last detecting state of target mobile phones number for spacing, resets update Time simultaneously sets the state of target mobile phones number to normally, and is secondary distribute telephone numbers by target mobile phones number mark.
For example, by taking telephone network system is short message dispatching centre system as an example, if present communications test result is short message It sends successfully, then state generation module 30 then further judges whether the last detecting state of target mobile phones number is normal Or it shuts down.
If present communications test result is successfully and the last detecting state of target mobile phones number is normal or shuts down, Then illustrate current goal phone number in normal use, then, state generation module 30 is by the update of target mobile phones number state Time is refreshed, and sets normal for the state of target mobile phones number.That is, the detecting state currently tested is positive Often, and by the detecting state currently tested it saves.
If present communications test result is successfully and the last detecting state of target mobile phones number is spacing, illustrate Target mobile phones number is redistributed, then, state generation module 30 carries out the renewal time of target mobile phones number state Refresh, and set the state of target mobile phones number to normally, and target mobile phones number mark is distributed telephone numbers to be secondary.Namely It says, the detecting state currently tested is normal, and the detecting state currently tested is saved.
In one embodiment of the application, state generation module 30 is in resetting renewal time and by target mobile phones number After state is set as normal, it is also used to detect whether target mobile phones number has detection mark again, and in target mobile phones number Code will detect mark when having detection mark again again and delete.
Specifically, after resetting renewal time and it is normal to set the state of target mobile phones number to, state generates mould Block 30 also detects whether target mobile phones number has detection mark again, if target mobile phones number has detection mark again, Mark will be then detected again to delete, it is subsequent, without executing timed task.
The inquiry unit of the phone number state of the embodiment of the present application, first obtains module is obtained by telephone network system Communication test with target mobile phones number is as a result, second obtains the last detecting state of module acquisition target mobile phones number, shape State generation module judges the current state of target mobile phones number according to present communications test result and last detecting state, this is looked into Device is ask without frequently calling Operator interface, to reduce costs and improve the real-time of phone number status inquiry.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
While there has been shown and described that embodiments herein, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle and objective of the application, this The range of application is by claim and its equivalent limits.

Claims (10)

1. a kind of querying method of phone number state, which comprises the following steps:
The communication test result with target mobile phones number is obtained by telephone network system;
The last detecting state of the target mobile phones number is obtained, the last time detecting state is last target mobile phones Number state;And
The target mobile phones number are determined according to the last detecting state of the communication test result and the target mobile phones number The current state of code, the current state of the phone number be it is normal, shut down, spacing or it is secondary distribute telephone numbers in one.
2. the querying method of phone number state as described in claim 1, which is characterized in that described according to the communication test As a result determine that the current state of the target mobile phones number specifically includes with the last detecting state of the target mobile phones number:
If the communication test result is failure, further judge that the last detecting state of the target mobile phones number is No is normal;
If the last detecting state of the target mobile phones number be it is normal, by the target mobile phones number mark be again Detection;
If the last detecting state of the target mobile phones number is shutdown or spacing, the target mobile phones number is kept State is constant.
3. the querying method of phone number state as claimed in claim 1 or 2, which is characterized in that described according to the communication Test result and the last detecting state of the target mobile phones number determine that the current state of the target mobile phones number is specific Include:
If the communication test result is successfully, further to judge that the last detecting state of the target mobile phones number is No is normal or shutdown;
If the last detecting state of the target mobile phones number is normal or shuts down, renewal time is reset and by the mesh The state of mark phone number is set as normal;
If the last detecting state of the target mobile phones number is spacing, renewal time is reset and by the target mobile phones The state of number is set as normally, and is secondary distribute telephone numbers by the target mobile phones number mark.
4. the querying method of phone number state as claimed in claim 3, which is characterized in that the resetting renewal time simultaneously After setting normal for the state of the target mobile phones number, further includes:
Detect whether the target mobile phones number has detection mark again;
If having the detection mark again, the mark of detection again is deleted.
5. the querying method of phone number state as described in claim 1, which is characterized in that the telephone network system is short Believe dispatching centre system, the system that tops up or telephone call system.
6. a kind of inquiry unit of phone number state characterized by comprising
First obtains module, for obtaining the communication test result with target mobile phones number by telephone network system;
Second obtains module, for obtaining the last detecting state of the target mobile phones number, the last time detecting state For last target mobile phones number state;
State generation module, it is true for the last detecting state according to the communication test result and the target mobile phones number The current state of the fixed target mobile phones number, the current state of the phone number be it is normal, shut down, spacing or secondary distribute telephone numbers In one.
7. the inquiry unit of phone number state as claimed in claim 6, which is characterized in that the state generation module is being sentenced The communication test result of breaking further judges whether the last detecting state of the target mobile phones number is positive when being failure Often, if the state generation module judge the target mobile phones number last detecting state be it is normal, by the mesh Mark phone number is identified as to be detected again, if the state generation module judges the last detection of the target mobile phones number State is shutdown or spacing, then keeps the state of the target mobile phones number constant.
8. the inquiry unit of phone number state as claimed in claims 6 or 7, which is characterized in that the state generation module Judge the communication test result for success when further judge the target mobile phones number upper primary detecting state whether Be it is normal or shut down, if the state generation module judge the last detecting state of the target mobile phones number be normally or It shuts down, then resets renewal time and set the state of the target mobile phones number to normally, if the state generation module The last detecting state of the target mobile phones number is judged for spacing, then resets renewal time and by the target mobile phones number State be set as normally, and be secondary to distribute telephone numbers by the target mobile phones number mark.
9. the inquiry unit of phone number state as claimed in claim 8, which is characterized in that the state generation module is in weight After setting renewal time and setting normal for the state of the target mobile phones number, it is also used to detect the target mobile phones number Whether there is detection mark again, and detected again when the target mobile phones number has the mark of detection again by described Mark is deleted.
10. the inquiry unit of phone number state as claimed in claim 6, which is characterized in that the telephone network system is Short message dispatching centre system, the system that tops up or telephone call system.
CN201610022429.XA 2016-01-13 2016-01-13 The querying method and device of phone number state Active CN106973172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610022429.XA CN106973172B (en) 2016-01-13 2016-01-13 The querying method and device of phone number state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610022429.XA CN106973172B (en) 2016-01-13 2016-01-13 The querying method and device of phone number state

Publications (2)

Publication Number Publication Date
CN106973172A CN106973172A (en) 2017-07-21
CN106973172B true CN106973172B (en) 2019-11-15

Family

ID=59335154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610022429.XA Active CN106973172B (en) 2016-01-13 2016-01-13 The querying method and device of phone number state

Country Status (1)

Country Link
CN (1) CN106973172B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600738B (en) * 2018-12-10 2022-10-14 平安科技(深圳)有限公司 User information updating method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909102A (en) * 2010-07-22 2010-12-08 宇龙计算机通信科技(深圳)有限公司 Method and device for clearing information of contact person, and communication terminal
CN102831165A (en) * 2012-07-23 2012-12-19 宇龙计算机通信科技(深圳)有限公司 Managing method and system of expired numbers in address book
CN103095884A (en) * 2013-01-17 2013-05-08 东莞宇龙通信科技有限公司 Processing method and processing system for numbers of contact persons

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369097A (en) * 2012-03-26 2013-10-23 富泰华工业(深圳)有限公司 Mobile communication terminal and method for managing telephone numbers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909102A (en) * 2010-07-22 2010-12-08 宇龙计算机通信科技(深圳)有限公司 Method and device for clearing information of contact person, and communication terminal
CN102831165A (en) * 2012-07-23 2012-12-19 宇龙计算机通信科技(深圳)有限公司 Managing method and system of expired numbers in address book
CN103095884A (en) * 2013-01-17 2013-05-08 东莞宇龙通信科技有限公司 Processing method and processing system for numbers of contact persons

Also Published As

Publication number Publication date
CN106973172A (en) 2017-07-21

Similar Documents

Publication Publication Date Title
CN105491539B (en) Message pushes management method and device
US20120258691A1 (en) Adaptive notifications
CN105068974B (en) Information processing method and electronic equipment
KR102355973B1 (en) Apparatus and method for detecting smishing message
CN104270524A (en) Information processing method and device
US20210035062A1 (en) Information prompt
CN103218564A (en) Mobile terminal protection method and mobile terminal protection device
CN104602242A (en) Method and device for preventing voice phishing
CN106550031A (en) The method and device of data backup
CN105101132B (en) A kind of call forwarding setting reminding method and terminal
CN104754136A (en) Method and system for managing account numbers relevant to mobile phone numbers on basis of intelligent terminals
CN109145590A (en) A kind of function hook detection method, detection device and computer-readable medium
WO2020258102A1 (en) Content pushing method and apparatus, mobile terminal and storage medium
CN107360179B (en) Risk information sharing method, terminal and computer readable storage medium
CN110796552A (en) Risk prompting method and device
CN106973172B (en) The querying method and device of phone number state
CN106357684A (en) Login method and device of game application
CN106203119B (en) Hide processing method, device and the electronic equipment of cursor
CN109657469B (en) Script detection method and device
CN104767880A (en) Communication number management method
CN104836893A (en) Method, device and system for adding contact persons and mobile terminal
CN105744035B (en) Mobile communication terminal carries out the method and mobile communication terminal that harassing and wrecking communication intercepts
CN109672790B (en) Traffic request drainage method, device, equipment and readable storage medium
CN105701684B (en) Data processing method and device
CN104301358B (en) A kind of reprinting content processing method and device

Legal Events

Date Code Title Description
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