CN106792653B - Communication number information processing method, device and system - Google Patents
Communication number information processing method, device and system Download PDFInfo
- Publication number
- CN106792653B CN106792653B CN201510834106.6A CN201510834106A CN106792653B CN 106792653 B CN106792653 B CN 106792653B CN 201510834106 A CN201510834106 A CN 201510834106A CN 106792653 B CN106792653 B CN 106792653B
- Authority
- CN
- China
- Prior art keywords
- communication
- communication number
- state
- hash value
- information
- 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
Images
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/2753—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
- H04M1/2757—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a communication number information processing method, which comprises the following steps: determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number; acquiring the latest state information of the communication number from a target communication operator side; and generating communication number prompt information based on the latest state information. The invention also discloses a device and a system for processing the communication number information. By adopting the technical scheme of the invention, the accuracy of the communication numbers stored in the user terminal can be improved, and the use experience of the user is improved.
Description
Technical Field
The present invention relates to a service processing technology in the field of communications, and in particular, to a method, an apparatus, and a system for processing communication number information.
Background
The user can store the communication number of the contact person in the communication management software of the terminal, the communication is carried out with the contact person through the stored number, once the number of the contact person changes, for example, the contact person changes the number, cancels the number or applies for a new number, and the contact person does not inform the user in time, or after the contact person informs the user, the user forgets to update the number of the contact person stored in the terminal, and particularly for the contact person with low contact frequency, the user can hardly find that the telephone number of the contact person is incorrect, so that the correctness of the communication number stored in the user terminal is low.
At present, once the number of a contact changes, it is desirable to prompt a user with a change message, which is generally based on the following 2 ways:
mode 1. group sending short message. The number changing party actively sends short messages to the contact persons in the address list of the number changing party in a mass mode to carry out broadcast type notification. However, the method 1 has at least the following disadvantages: the cost is high, the use experience is not good, and the information can not be completely notified. Specifically, the cost of the short message cost needs to be paid out when the short messages are sent in a group mode, and the number changing party needs to select the short message informing party in the address list software in sequence and then send the broadcast short messages, so that the use experience is poor; meanwhile, suppose that the first and the second have a communication contact relation, the first is a number changing party, if the first does not store the second number, but the second stores the first number, the second cannot receive the notification short message sent by the first in such a way.
And 2, manually judging. The user can obtain information through other channels, and through subjective judgment, some communication numbers determined to be the same owner are combined in the address book software, or some numbers which are already stopped are deleted. However, the mode 2 has at least the following disadvantages: the information is inaccurate and incomplete. Specifically, the user may be interfered by inaccurate and incomplete information, which may cause an erroneous update operation on the communication number information.
Disclosure of Invention
In view of this, the present invention is expected to provide a method, an apparatus, and a system for processing communication number information, which can improve the accuracy of a communication number stored in a user terminal and improve the user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a communication number information processing method, which comprises the following steps:
determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number;
acquiring the latest state information of the communication number from a target communication operator side;
and generating communication number prompt information based on the latest state information.
In the foregoing solution, preferably, after generating the communication number prompt information based on the latest status information, the method further includes:
and pushing the communication number prompt information to a terminal so that the terminal displays the communication number prompt information.
In the foregoing solution, preferably, the latest status information at least includes:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the status encoding includes, but is not limited to:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
In the foregoing aspect, preferably, the generating of the communication number prompt information based on the latest status information includes:
analyzing the latest state information;
at least acquiring a state code corresponding to the communication number, an ID card number hash value and an administrative region hash value of a resident physical base station;
combining the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and marking a label for the communication number according to a first preset rule;
and generating prompt information based on the identified label.
In the foregoing solution, preferably, the identifying, according to a first preset rule, the communication number label by combining the state code, the id card number hash value, and the administrative domain hash value to which the permanent physical base station belongs includes:
according to the state code, a first type label corresponding to the state code on the communication number identifier is identified; wherein the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; or, the e label is used for representing that the state of the communication number is number portability;
identifying a second type of label for the communication number according to the identity card number hash value and the administrative region hash value of the resident physical base station; wherein the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; or g label, used for representing the number state in the number group as the suggested update.
In the foregoing solution, preferably, the identifying a second type of label for the communication number according to the identity card number hash value and the administrative domain hash value to which the resident physical base station belongs includes:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class tags of each communication number in the number group are a tags, identifying f tags in the second-class tags for the number group, wherein the f tags are used for representing that the number state in the number group is a suggested combination; and if the first type of tags of all the communication numbers in the number group are not all the a tags, g tags in the second type of tags are identified for the number group, and the g tags are used for representing that the number state in the number group is recommended to be updated.
In the foregoing solution, preferably, if the state code of the communication number is a number portability, the method further includes:
acquiring roll-out information of a communication number;
determining a target communication operator of a roll-out party corresponding to the communication number according to the roll-out information;
acquiring the latest state information of the communication number from the transfer party target communication operator;
and re-identifying the label for the communication number according to a first preset rule.
The invention also provides a method for processing the communication number information, which comprises the following steps:
when a communication operator initiates state change of a communication number, acquiring a state code, an identity card number hash value and a administrative region hash value of a resident physical base station corresponding to the communication number;
generating the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and storing the latest state information;
providing an inquiry interface for inquiring the latest state information of the communication number by the terminal side so as to provide support for inquiring the latest state information of the communication number by the terminal side;
wherein the status encoding includes, but is not limited to: normal, shut down, sales off, invalid, number portability.
In the foregoing solution, preferably, when storing the latest status information corresponding to a communication number, if the status code of the communication number is a number portability, the method further includes:
and acquiring the roll-out information of the communication number and storing the roll-out information of the communication number.
The invention also provides a communication number information processing device, which is applied to a terminal side and comprises:
the determining module is used for determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number;
the first acquisition module is used for acquiring the latest state information of the communication number from a target communication operator side;
and the first generating module is used for generating communication number prompt information based on the latest state information.
In the foregoing solution, preferably, the apparatus further includes:
and the prompting module is used for pushing the communication number prompting information to a terminal so as to display the communication number prompting information by the terminal.
In the foregoing solution, preferably, the latest status information at least includes:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the status encoding includes, but is not limited to:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
In the foregoing solution, preferably, the first generating module includes:
the analysis submodule is used for analyzing the latest state information;
the obtaining submodule is used for at least obtaining a state code corresponding to the communication number, an identity card number hash value and a administrative region hash value of the resident physical base station;
the identification submodule is used for identifying a label for the communication number according to a first preset rule by combining the state code, the ID card number hash value and the administrative region hash value of the resident physical base station;
and the generation submodule is used for generating prompt information based on the identified label.
In the foregoing solution, preferably, the identifier sub-module includes:
the first identification submodule is used for identifying a first type of label corresponding to the state code on the communication number according to the state code; wherein the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; or, the e label is used for representing that the state of the communication number is number portability;
the second identification submodule is used for identifying a second type of label for the communication number according to the identity card number hash value and the administrative region hash value of the resident physical base station; wherein the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; or g label, used for representing the number state in the number group as the suggested update.
In the foregoing solution, preferably, the second identifier sub-module is further configured to:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class tags of each communication number in the number group are a tags, identifying f tags in the second-class tags for the number group, wherein the f tags are used for representing that the number state in the number group is a suggested combination; and if the first type of tags of all the communication numbers in the number group are not all the a tags, g tags in the second type of tags are identified for the number group, and the g tags are used for representing that the number state in the number group is recommended to be updated.
In the foregoing scheme, preferably, the obtaining sub-module is further configured to obtain forwarding information of the communication number if the obtained status code corresponding to the communication number is a number portability;
correspondingly, the determining module determines a target communication operator of the transfer party corresponding to the communication number according to the transfer-out information; the first obtaining module is further configured to obtain the latest status information of the communication number from the transfer party target communication operator;
correspondingly, the identification submodule is also used for identifying the label for the communication number again according to a first preset rule.
The invention also provides a communication number information processing device, which is applied to a network side, and comprises:
the second acquisition module is used for acquiring a state code, an identity card number hash value and a administrative region hash value of the resident physical base station corresponding to the communication number when the communication operator initiates the state change of the communication number; wherein the status encoding includes, but is not limited to: normal, shut down, sale, invalid, number portability
The second generation module is used for generating the latest state information of the communication number according to the state code, the identity card number hash value and the administrative region hash value of the resident physical base station;
the storage module is used for storing the latest state information;
and the interface module is used for providing an inquiry interface for the terminal side to inquire the latest state information of the communication number so as to provide support for the terminal side to inquire the latest state information of the communication number.
In the foregoing scheme, preferably, the second obtaining module is further configured to obtain roll-out information of the communication number if the state code of the communication number is number portability;
correspondingly, the storage module is further configured to store the roll-out information of the communication number when the latest state information corresponding to the communication number is stored.
The invention also provides a communication number information processing system, which comprises:
the terminal is used for determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number; acquiring the latest state information of the communication number from a target communication operator side; generating communication number prompt information based on the latest state information;
the server is used for acquiring a state code, an identity card number hash value and a administrative region hash value to which the resident physical base station belongs, corresponding to the communication number when the communication operator initiates the state change of the communication number; generating the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and storing the latest state information; providing an inquiry interface for inquiring the latest state information of the communication number by the terminal side so as to provide support for inquiring the latest state information of the communication number by the terminal side;
wherein the status encoding includes, but is not limited to: normal, shut down, sales off, invalid, number portability.
In the above aspect, it is preferable that the terminal includes the communication number information processing apparatus applied to the terminal side described above; the server comprises the communication number information processing device applied to the network side.
The communication number information processing method, the communication number information processing device and the communication number information processing system can enable the user terminal to automatically acquire the latest state information of the communication numbers of the contact persons in the address list and assist the user in carrying out corresponding updating operation, so that the accuracy of the communication numbers stored in the user terminal is improved, the use experience of the user is improved, and the technical scheme provided by the invention is high in feasibility, easy to popularize and strong in practicability.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a method for processing communication number information according to the present invention;
fig. 2 is a flowchart illustrating another implementation of a method for processing communication number information according to the present invention;
fig. 3 is a schematic diagram of a structure of a communication number information processing apparatus according to the present invention;
fig. 4 is a schematic diagram of a structure of another communication number information processing apparatus according to the present invention;
fig. 5 is a schematic diagram of a composition structure of a communication number information processing system provided in the present invention;
fig. 6 is a schematic view of an interaction flow between a terminal and a server according to the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
Fig. 1 is a flowchart of an implementation of a method for processing communication number information, which is applied to a terminal side, as shown in fig. 1, the method mainly includes the following steps:
step 101: and determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number.
Preferably, the trigger condition for determining the target communication operator to which the communication number belongs according to the number segment characteristics of the communication number may be: periodic triggers, or event triggers.
For example, the target communications carrier to which the communications number belongs may be determined periodically based on the number segment characteristics of the stored communications number in the terminal.
For another example, when receiving an inquiry instruction from a user, a target communications carrier to which a communications number belongs is determined according to a number segment characteristic of the communications number stored in a terminal.
Generally, a number segment table of communication numbers assigned by the Ministry of industry and telecommunication for specifying the relationship between a communication carrier and a number segment to which a issuable number belongs, may be stored in a pattern as follows:
communication operator | Communication number section |
CMCC | 138 |
CU | 186 |
CU | 130 |
CT | 133 |
CT | 153 |
CMCC | 158 |
… | … |
In the communication number segment table, CT represents china telecom, CU represents china unicom, and CMCC represents china mobile.
Taking a domestic operator as an example, the data in the communication number segment table can refer to the following number segment standards currently used in China: as follows:
step 102: and acquiring the latest state information of the communication number from the target communication operator side.
Here, an inquiry interface provided by the target communications carrier for the terminal side to inquire about the latest status information of the communication number may be called, and the latest status information of the communication number may be acquired from the inquiry interface.
Preferably, the latest status information includes at least:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the status encoding includes, but is not limited to:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
Here, the preset Algorithm may be Message Digest Algorithm (chinese name is Message Digest Algorithm), for example, fifth version Message Digest Algorithm (abbreviated as MD 5).
Of course, the preset algorithm is not limited to the above-listed message digest algorithm, and may be other algorithms, which are not described herein again.
Step 103: and generating communication number prompt information based on the latest state information.
Preferably, after generating the communication number prompt information based on the latest status information, the method further includes:
and pushing the communication number prompt information to a terminal so that the terminal displays the communication number prompt information.
Preferably, the generating of the communication number prompt information based on the latest state information may include:
analyzing the latest state information;
at least acquiring a state code corresponding to the communication number, an ID card number hash value and an administrative region hash value of a resident physical base station;
combining the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and marking a label for the communication number according to a first preset rule;
and generating prompt information based on the identified label.
In the foregoing solution, preferably, the identifying, according to a first preset rule, the communication number label by combining the state code, the id card number hash value, and the administrative domain hash value to which the permanent physical base station belongs includes:
according to the state code, a first type label corresponding to the state code on the communication number identifier is identified; wherein the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; or, the e label is used for representing that the state of the communication number is number portability;
identifying a second type of label for the communication number according to the identity card number hash value and the administrative region hash value of the resident physical base station; wherein the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; or g label, used for representing the number state in the number group as the suggested update.
In the foregoing scheme, preferably, the identifying a second type of label for the communication number according to the identity card number hash value and the administrative domain hash value to which the resident physical base station belongs may include:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class tags of each communication number in the number group are a tags, identifying f tags in the second-class tags for the number group, wherein the f tags are used for representing that the number state in the number group is a suggested combination; and if the first type of tags of all the communication numbers in the number group are not all the a tags, g tags in the second type of tags are identified for the number group, and the g tags are used for representing that the number state in the number group is recommended to be updated.
In the foregoing solution, preferably, if the state code of the communication number is a number portability, the method may further include:
acquiring roll-out information of a communication number;
determining a target communication operator of a roll-out party corresponding to the communication number according to the roll-out information;
acquiring the latest state information of the communication number from the transfer party target communication operator;
and re-identifying the label for the communication number according to a first preset rule.
The execution subjects of steps 101 to 103 may be communication number information processing apparatuses disposed on the terminal.
According to the communication number information processing method, a traditional mode of judging the state of a communication number through manual judgment or short message group sending is changed into a mode of using an IT means to obtain the latest communication number change information of a carrier side, and the corresponding state (including normal, invalid, shut down, sold, suggested merging and suggested updating) of the number is judged according to the obtained information, so that the corresponding number prompt information is generated and displayed; therefore, the user terminal can automatically acquire the latest state information of the communication numbers of the contacts in the address list, and the user is assisted to perform corresponding updating operation, so that the accuracy of the communication numbers stored in the user terminal is improved, the use experience of the user is improved, and the technical scheme provided by the invention has the advantages of high feasibility, easiness in popularization and strong practicability.
Example two
Fig. 2 is a flowchart of another implementation of the method for processing communication number information according to the present invention, and as shown in fig. 2, the method mainly includes the following steps:
step 201: when a communication operator initiates the state change of the communication number, the state code corresponding to the communication number, the ID card number hash value and the administrative region hash value of the resident physical base station are obtained.
Wherein the status encoding includes, but is not limited to: normal, shut down, sales off, invalid, number portability.
Specifically, when a communication carrier initiates a communication number state change, the system automatically generates 5 different communication number states corresponding to the communication number according to the communication service change condition, as shown in the following table
It should be noted that, since the carrier of the current individual province has the number portability service, the above table is designed for this case (code 4), and after the number portability, the latest status of the number will not be known by the original carrier, and it will be described later how to obtain the latest status information of such number.
Step 202: and generating and storing the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station.
And the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
Here, the preset Algorithm may be Message Digest Algorithm (chinese name is Message Digest Algorithm), for example, fifth version Message Digest Algorithm (abbreviated as MD 5).
Of course, the preset algorithm is not limited to the above-listed message digest algorithm, and may be other algorithms, which are not described herein again.
Preferably, the latest state information may be stored in a communication number state table.
Specifically, the state code, and the hash value of the user identity number and the hash value of the administrative area to which the resident physical base station belongs, which are generated by using the MD5 algorithm, may be stored in a communication number state table, where the communication number state table is stored in a form as follows:
in the communication number state table, the state codes are 5 different state codes defined previously.
The third column and the fourth column in the above table are respectively the identity card number hash value calculated and generated by using the MD5 algorithm and the administrative area hash value to which the resident physical base station belongs, and the last two columns are left empty for the case that the communication number state is 3 (invalid) or 4 (number portability).
For example, assuming that the id number is 110108198703030418, after calculation by the MD5 algorithm, the hash value corresponding to the id number is: 47b001d4d0a82a0bded729813561f 608.
The hash value of the administrative domain to which the resident physical base station belongs is as follows:
a sea area: d0aaa449f73677efb7b7514c6ef52eb4
Stone landscape mountain area: 708ae67ec1fb19a52ac5246fd95d2eb1
Here, the reason why the resident physical base station is used instead of the resident physical base station is that: the base station positions, names and identifications established by different communication operators are all inconsistent and cannot be compared, but the administrative areas to which the resident physical base stations belong are completely formulated according to the national administrative area division standard and can be compared in a consistent manner.
The reason why the MD5 algorithm is used here to encrypt the user identification number and the administrative area to which the resident physical base station belongs is that: the user identity card number and the administrative region to which the resident physical base station belongs belong to user privacy information, and an operator cannot directly provide the user identity card number and the administrative region to which the resident physical base station belongs to a third party according to relevant legal provisions, but after the user identity card number and the administrative region to which the resident physical base station belongs are encrypted by using the MD5 algorithm, the encrypted hash value is no longer privacy data because of the irreversibility of the MD5 algorithm (namely, the original information cannot be deduced from the encrypted hash value). The user identity card number hash value generated by the MD5 algorithm is compared with the administrative region hash value of the resident physical base station, and the comparison is used as a basis for judging whether a plurality of communication numbers belong to the same user, so that the completeness and the accuracy of the number prompt information are improved.
Note: HASH (HASH) is the conversion of an input of arbitrary length into a fixed length output, which is a HASH value, by a hashing algorithm. This transformation is a compression mapping, i.e. the space of hash values is usually much smaller than the space of inputs, different inputs may hash to the same output, and it is not possible to uniquely determine the input value from the hash value. In short, it is a function of compressing a message of an arbitrary length to a message digest of a certain fixed length.
Specifically, when the latest state information of a number is stored, if the record of the number is judged to exist before, the number is stored in a rewriting mode (namely, the original record is deleted firstly and then the new record is written in); and if the record of the number does not exist, directly writing.
Preferably, if the latest state information corresponding to the communication number is stored, if the state code of the communication number is a number portability, the method further includes:
and acquiring the roll-out information of the communication number and storing the roll-out information of the communication number.
Specifically, after the number portability, the communication number not only needs to be written with the current latest state information of the number, but also needs to record the forwarding information of the number in a number portability forwarding party information table, and the storage style of the number portability forwarding party information table is as follows:
communication number | Roll-out operator | Time of roll-out |
13891423474 | CT China telecom | 2012/10/1 |
13202428233 | CU China Unicom | 2013/9/12 |
13302010737 | CT China telecom | 2014/12/8 |
15810471544 | CU China Unicom | 2014/1/2 |
Wherein CT represents China telecom, CU represents China Unicom, and CMCC represents China Mobile.
In the table of the communication number state table, all the records with the state code of 0, 1, 2 and 4 are actively written, and the record with the state code of 3(3 represents invalid) is the record with the state code of 3, when the user terminal side requests the latest state of the communication number, if the communication number can not be checked, the state information of the communication number (the communication number, the state code of 3, null and empty) is written into the communication number state table.
Step 203: an inquiry interface for the terminal side to inquire the latest state information of the communication number is provided to provide support for the terminal side to inquire the latest state information of the communication number.
Specifically, an inquiry interface can be provided for a user terminal side in a Service mode of a network Service (Web Service), the user terminal side can inquire the latest state information of the communication number through the inquiry interface, wherein the latest state information comprises a state code of the communication number, a hash value of a user identity card number and a hash value of an administrative area to which a resident physical base station belongs, and if the number is in a number portability state, the number portability roll-out information is returned at the same time.
For example, the communication number status query interface provided by three domestic communication operators can be designed as follows:
moving in China: http:// xxxx.xxx.xxx.xxx: 8080/CMCC/getNoCurState.wsdl;
china Unicom: http:// xxxx.xxx.xxx.xxx: 8080/CU/getNoCurState.wsdl;
china telecom: http:// xxxx. xxx: 8080/CT/getNoCurState.wsdl.
The execution subjects of the above steps 201 to 203 may be communication number information processing apparatuses located on the operator side.
In the method for processing the communication number information in the embodiment, the advantage that an operator can record the change state of the communication number of the user is utilized, and the state of the communication number is accurately distinguished into various types; under the condition of real-name authentication, whether a plurality of numbers belong to the same user is identified based on the hash value of the user identity card number and the hash value of the administrative region to which the resident physical base station belongs, and the method is favorable for helping the user to accurately know the latest state information of the communication numbers of the contacts stored in the address book; therefore, the data specialization of a communication operator can be exerted, and more accurate, real-time and refined communication number state information is provided for a user by a technical means.
EXAMPLE III
Fig. 3 is a schematic diagram of a composition structure of a communication number information processing apparatus according to the present invention, the communication number information processing apparatus is applied to a terminal side, and as shown in fig. 3, the communication number information processing apparatus mainly includes:
the determining module 31 is configured to determine, according to a number segment characteristic of a communication number, a target communication operator to which the communication number belongs;
a first obtaining module 32, configured to obtain the latest status information of the communication number from the target communication operator side;
and a first generating module 33, configured to generate a communication number prompt message based on the latest status information.
In the foregoing solution, preferably, the apparatus further includes:
and the prompt module 34 is configured to push the communication number prompt information to a terminal, so that the terminal displays the communication number prompt information.
In the foregoing solution, preferably, the latest status information at least includes:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the status encoding includes, but is not limited to:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
In the foregoing solution, preferably, the first generating module 33 includes:
the analysis submodule 331 is configured to analyze the latest status information;
the obtaining submodule 332 is configured to obtain at least a state code corresponding to the communication number, an identity card number hash value, and a hash value of an administrative area to which the resident physical base station belongs;
the identification submodule 333 is configured to identify a label for the communication number according to a first preset rule by combining the state code, the identity card number hash value, and the administrative domain hash value to which the resident physical base station belongs;
and a generating submodule 334, configured to generate a prompt message based on the identified tag.
In the foregoing solution, preferably, the identifier sub-module 333 includes:
the first identification submodule 3331 is configured to identify, according to the state code, a first type of tag corresponding to the state code on the communication number; wherein the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; the e label is used for representing that the state of the communication number is number portability;
the second identification submodule 3332 is configured to identify a second type of label for the communication number according to the identity card number hash value and the administrative domain hash value to which the resident physical base station belongs; wherein the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; and g, the tag is used for representing the number state in the number group as the suggested update.
In the foregoing solution, preferably, the second identifier sub-module 3332 is further configured to:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class tags of each communication number in the number group are a tags, identifying f tags in the second-class tags for the number group, wherein the f tags are used for representing that the number state in the number group is a suggested combination; and if the first type of tags of all the communication numbers in the number group are not all the a tags, g tags in the second type of tags are identified for the number group, and the g tags are used for representing that the number state in the number group is recommended to be updated.
In the foregoing solution, preferably, the obtaining sub-module 332 is further configured to obtain forwarding information of the communication number if the obtained status code corresponding to the communication number is a number portability;
correspondingly, the determining module 31 determines a target communication operator of the forwarding party corresponding to the communication number according to the forwarding information; the first obtaining module is further configured to obtain the latest status information of the communication number from the transfer party target communication operator;
correspondingly, the identifying sub-module 333 is further configured to re-identify the label for the communication number according to a first preset rule.
The communication number information processing device can be deployed on a terminal.
It should be understood by those skilled in the art that the functions of the modules in the communication number information processing apparatus of the present embodiment may be understood by referring to the description related to the aforementioned communication number information processing method, and the modules in the communication number information processing apparatus of the present embodiment may be implemented by analog circuits that implement the functions described in the present embodiment, or by running software that executes the functions described in the present embodiment on an intelligent terminal.
In practical applications, the specific structures of the determining module 31, the first obtaining module 32, the first generating module 33, and the prompting module 34 may all correspond to a processor. The specific structure of the processor may be a Central Processing Unit (CPU), a Micro Controller Unit (MCU), a Digital Signal Processor (DSP), a Programmable Logic Controller (PLC), or other electronic components or a collection of electronic components having a Processing function. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected to the storage medium through a communication interface such as a bus, and when the corresponding functions of the specific modules are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The communication number information processing device of the embodiment can enable the user terminal to automatically acquire the latest state information of the communication number of the contact person in the address list, and assist the user in performing corresponding updating operation, so that the accuracy of the communication number stored in the user terminal is improved, the use experience of the user is improved, and the technical scheme provided by the invention has the advantages of high feasibility, easiness in popularization and strong practicability.
Example four
Fig. 4 is a schematic diagram of a composition structure of a communication number information processing apparatus according to the present invention, the communication number information processing apparatus is applied to a network side, and as shown in fig. 4, the communication number information processing apparatus mainly includes:
a second obtaining module 41, configured to obtain a state code, an identity card number hash value, and an administrative area hash value to which the resident physical base station belongs, which correspond to the communication number when the communication operator initiates a state change of the communication number; wherein the status encoding includes, but is not limited to: normal, shut down, sale, invalid, number portability
A second generating module 42, configured to generate latest state information of the communication number according to the state code, the identity card number hash value, and the administrative domain hash value to which the resident physical base station belongs;
a storage module 43, configured to store the latest status information;
an interface module 44, configured to provide an inquiry interface for the terminal side to inquire the latest status information of the communication number, so as to provide support for the terminal side to inquire the latest status information of the communication number.
In the foregoing solution, preferably, the second obtaining module 41 is further configured to obtain roll-out information of the communication number if the state code of the communication number is a number portability;
correspondingly, the storage module 43 is further configured to, when storing the latest state information corresponding to the communication number, further store roll-out information of the communication number.
The communication number information processing device can be deployed on a network side.
It should be understood by those skilled in the art that the functions of the modules in the communication number information processing apparatus of the present embodiment may be understood by referring to the description related to the aforementioned communication number information processing method, and the modules in the communication number information processing apparatus of the present embodiment may be implemented by analog circuits that implement the functions described in the present embodiment, or by running software that executes the functions described in the present embodiment on an intelligent terminal.
In practical applications, the specific structures of the second obtaining module 41, the second generating module 42, the storing module 43, and the interface module 44 may all correspond to a processor. The specific structure of the processor can be an electronic component or a collection of electronic components with processing functions, such as a CPU, an MCU, a DSP or a PLC. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected to the storage medium through a communication interface such as a bus, and when the corresponding functions of the specific modules are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The communication number information processing device in the embodiment can give full play to the data specialization of a communication operator, and provides more accurate, real-time and refined communication number state information for a user by a technical means.
EXAMPLE five
Fig. 5 is a schematic diagram of a composition structure of a communication number information processing system provided in the present invention, where the communication number information processing system includes:
the terminal 51 is used for determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number; acquiring the latest state information of the communication number from a target communication operator side; generating communication number prompt information based on the latest state information;
the server 52 is configured to obtain a state code, an identity card number hash value, and an administrative domain hash value to which the resident physical base station belongs, which correspond to the communication number when the communication operator initiates a state change of the communication number; generating the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and storing the latest state information; providing an inquiry interface for inquiring the latest state information of the communication number by the terminal side so as to provide support for inquiring the latest state information of the communication number by the terminal side;
wherein the status encoding includes, but is not limited to: normal, shut down, sales off, invalid, number portability.
In the above solution, it is preferable that the terminal includes a communication number information processing apparatus applied to a terminal side shown in fig. 3; the server includes the communication number information processing apparatus applied to the network side shown in fig. 4.
The communication number information processing system provided by the invention can give full play to the data expertise of a communication operator, and provides more accurate, real-time and refined communication number state information for a user by a technical means; the method and the device have the advantages that the user terminal can automatically acquire the latest state information of the communication numbers of the contact persons in the address list, and the user is assisted in carrying out corresponding updating operation, so that the accuracy of the communication numbers stored in the user terminal is improved, the use experience of the user is improved, and the technical scheme is high in feasibility, easy to popularize and high in practicability.
EXAMPLE six
Fig. 6 is a schematic view of an interaction flow between a terminal and a server provided by the present invention, and as shown in fig. 6, the flow mainly includes the following steps:
step 601: when the operator initiates the communication number state change, the second acquisition module is triggered to generate 5 different communication number states.
Step 602: and generating a hash value of the user identity card number and a hash value of an administrative region to which the resident physical base station belongs by utilizing an MD5 algorithm.
Specifically, a second generation module in the communication number information processing device at the communication operator side generates a user identity card number hash value and an administrative district hash value to which the resident physical base station belongs.
Step 603: and storing the communication number, the communication number state, the user identity card number hash value and the administrative region hash value of the resident physical base station in a communication number state table.
Specifically, a communication number state, a user identity card number hash value and a resident physical base station belonging administrative region hash value are stored in a communication number state table by a storage module in a communication number information processing device located on the communication operator side.
Step 603 a: after the communication number is ported, the module not only needs to write the current latest state information of the number, but also needs to record the ported-out information of the number in a ported-out information table of the ported-out party of the number.
Step 604: a communication number information processing device on the user terminal side automatically performs state detection of a communication number of a user stored on the terminal side periodically.
Step 605: and based on the communication number segment characteristics, retrieving the communication number segment table and determining the communication operator to which the communication number belongs.
Specifically, a communication carrier to which a communication number belongs is determined based on a communication number segment characteristic by a determination module in a communication number information processing apparatus located on a user terminal side.
Step 606: an interface provided by the target communications carrier for querying the status of the communications number is invoked.
Specifically, an interface for inquiring the status of a communication number provided by a target communication carrier is called by a first acquisition module in a communication number information processing apparatus on the user terminal side.
Step 607: and inquiring the latest state information of the communication number in the communication number state table, wherein the latest state information comprises the latest state of the communication number, the hash value of the user identity card number and the hash value of the administrative region to which the resident physical base station belongs.
Specifically, the latest state information of the communication number is acquired from the storage module by an interface module in a communication number information processing apparatus on the communication carrier side.
Step 607 a: if the number is in the number portability state, the number portability network forwarding and forwarding party information of the communication number is returned at the same time.
Specifically, the number portability forwarding party information is acquired from the storage module by an interface module in the communication number information processing device located at the communication carrier side.
608: all information such as the latest state information of the communication number is returned.
Specifically, all information such as the latest status information of the communication number is returned to the first acquisition module in the communication number information processing apparatus on the user terminal side by the interface module in the communication number information processing apparatus on the communication carrier side.
Step 609: and generating prompt information of the communication number according to the obtained latest state information of the communication number, and pushing the prompt information to the user terminal.
Specifically, the communication number prompt information is generated based on the latest state information by a first acquisition module in a communication number information processing apparatus on the user terminal side.
Generating prompt information of the communication number according to the obtained latest state information of the communication number, pushing the prompt information to the user terminal, and mainly executing the following 5 steps:
step 609 a: the number status is read.
Specifically, reading the number status includes: firstly, all information such as the communication number state and the like acquired by a communication number state inquiry module are read, and the information comprises the following steps: the method comprises the following steps of communication number, communication number state code, ID card number hash value (MD5 algorithm), and administrative region hash value (MD5 algorithm) of the resident physical base station. If the number is in the number portability state, the number portability forwarding party information is also acquired.
Step 609 b: and (5) labeling the number.
Specifically, labeling a number includes: labeling all communication numbers according to the acquired number state codes:
the state code of the communication number is 0, and the communication number is marked as 'normal';
the state code of the communication number is 1, and the communication number is marked as 'stopped';
the state code of the communication number is 2, and the communication number is labeled as 'sold';
the state code of the communication number is 3, and the communication number is marked as invalid;
the state code of the communication number is 4, and the label is 'number portability'.
Step 609 c: and updating the number portability label.
Specifically, the updating of the number portability label includes:
and aiming at the communication number with the state code of 4, determining that the communication number is transferred out of the target communication operator by reading a returned 'number portability network transfer exit information table', calling a communication number state query interface provided by the target communication operator to acquire the latest state information of the communication number, and re-labeling the number according to the labeling rule of step 609 b.
Step 609 d: and labeling the number group.
Specifically, tagging a group of numbers includes: and dividing the two numbers with consistent comparison results into a group according to the hash value of the identity card number of the returned communication number belonging to the user and the hash value of the administrative region to which the resident physical base station belongs, wherein each group can be regarded as different numbers of the same user. Comparing the labels of each group of numbers, and marking the labels for the groups of numbers according to the following rules:
the communication numbers in the number group are all 'normal' when the current labels are 'normal', then the number group is labeled 'suggestion combination'
If the existing communication number in the number group is currently labeled as 'stopped', 'sold' or 'invalid', the number group is labeled as 'update proposed'
Step 609 e: and generating number prompt information and pushing the number prompt information to the user terminal.
Specifically, number prompt information is generated and pushed to the user terminal. And generating number prompt information according to the labels printed in the steps and pushing the number prompt information to the user terminal.
The number prompt information generated for the communication number includes the following:
in the embodiments provided by the present invention, it should be understood that the disclosed method, apparatus and system can be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (19)
1. A method for processing communication number information, the method comprising:
determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number;
acquiring the latest state information of the communication number from a target communication operator side;
generating communication number prompt information based on the latest state information;
wherein the generating of the communication number prompt information based on the latest state information includes:
according to the state code in the latest state information, a first type label corresponding to the state code is identified for the communication number; the first type of label represents one of normal, invalid, shut down, account cancellation and number portability states of the communication number;
according to the identity card number hash value in the latest state information and the administrative region hash value of the resident physical base station, and in combination with the first type of label, identifying a second type of label for the communication number; the second type of tag characterizes one of a proposed merge, a proposed update state of the communication number.
2. The method of claim 1, wherein after generating the communication number prompt based on the latest status information, the method further comprises:
and pushing the communication number prompt information to a terminal so that the terminal displays the communication number prompt information.
3. The method of claim 1, wherein the latest state information comprises at least:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the state encoding comprises:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
4. The method of claim 1,
the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; or, the e label is used for representing that the state of the communication number is number portability;
the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; or g label, used for representing the number state in the number group as the suggested update.
5. The method as claimed in claim 4, wherein the identifying a second type of label for the communication number according to the identity card number hash value in the latest status information and the administrative domain hash value of the resident physical base station, in combination with the first type of label, comprises:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class labels of all the communication numbers in the number group are a labels, identifying f labels in the second-class labels for the number group; and if the first-class labels of all the communication numbers in the number group are not all the a labels, g labels in the second-class labels are identified for the number group.
6. The method of claim 1, wherein if the state code of the communication number is a number portability, the method further comprises:
acquiring roll-out information of a communication number;
determining a target communication operator of a roll-out party corresponding to the communication number according to the roll-out information;
acquiring the latest state information of the communication number from the transfer party target communication operator;
and re-identifying the label for the communication number according to a first preset rule.
7. A method for processing communication number information, the method comprising:
when a communication operator initiates state change of a communication number, acquiring a state code, an identity card number hash value and a administrative region hash value to which a resident physical base station belongs, which correspond to the communication number;
generating the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and storing the latest state information;
providing an inquiry interface for inquiring the latest state information of the communication number by the terminal side so as to provide support for inquiring the latest state information of the communication number by the terminal side;
wherein the state encoding comprises: normal, shut down, sale, invalid, number portability;
the state code is used for enabling the terminal to identify a first type of label corresponding to the state code for the communication number; the first type of label represents one of normal, invalid, shut down, account cancellation and number portability states of the communication number;
the identity card number hash value and the administrative region hash value of the resident physical base station are used for the terminal to combine the first type of label and identify a second type of label for the communication number; the second type of tag characterizes one of a proposed merge, a proposed update state of the communication number.
8. The method of claim 7, wherein if the latest status information corresponding to the communication number is stored, if the status code of the communication number is a number portability, the method further comprises:
and acquiring the roll-out information of the communication number and storing the roll-out information of the communication number.
9. A communication number information processing apparatus applied to a terminal side, the apparatus comprising:
the determining module is used for determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number;
the first acquisition module is used for acquiring the latest state information of the communication number from a target communication operator side;
the first generating module is used for generating communication number prompt information based on the latest state information;
the first generating module is specifically configured to identify, according to a state code in the latest state information, a first type of tag corresponding to the state code for a communication number; the first type of label represents one of normal, invalid, shut down, account cancellation and number portability states of the communication number; according to the identity card number hash value in the latest state information and the administrative region hash value of the resident physical base station, and in combination with the first type of label, identifying a second type of label for the communication number; the second type of tag characterizes one of a proposed merge, a proposed update state of the communication number.
10. The apparatus of claim 9, further comprising:
and the prompting module is used for pushing the communication number prompting information to a terminal so as to display the communication number prompting information by the terminal.
11. The apparatus of claim 9, wherein the latest state information comprises at least:
state codes corresponding to the communication numbers, hash values of the identity card numbers and hash values of administrative areas to which the resident physical base stations belong;
wherein the state encoding comprises:
normal, shut down, sale, invalid, number portability;
and the identity card number hash value and the administrative region hash value of the resident physical base station are generated according to a preset algorithm.
12. The apparatus of claim 9, wherein the first generating module comprises:
the analysis submodule is used for analyzing the latest state information;
the obtaining submodule is used for at least obtaining a state code corresponding to the communication number, an identity card number hash value and a administrative region hash value of the resident physical base station;
the identification submodule is used for identifying a label for the communication number according to a first preset rule by combining the state code, the ID card number hash value and the administrative region hash value of the resident physical base station;
and the generation submodule is used for generating prompt information based on the identified label.
13. The apparatus of claim 12, wherein the identification submodule comprises:
the first identification submodule is used for identifying a first type of label corresponding to the state code on the communication number according to the state code; wherein the first type of tag comprises: a, a label used for representing the state of the communication number as normal; b, label, use for represent communication number state for already shut down; c, the label is used for representing the state of the communication number as a sold user; d, label, use for represent communication number state as invalid; or, the e label is used for representing that the state of the communication number is number portability;
the second identification submodule is used for identifying a second type of label for the communication number according to the identity card number hash value and the administrative region hash value of the resident physical base station; wherein the second type of tag comprises: f, the label is used for representing that the number state in the number group is the suggestion combination; or g label, used for representing the number state in the number group as the suggested update.
14. The apparatus of claim 13, wherein the apparatus comprises the second identification submodule, and is further configured to:
comparing the hash value of the identity card number corresponding to each communication number with the hash value of the administrative region to which the resident physical base station belongs;
dividing communication numbers with identity card number hash values consistent with administrative region hash values of the resident physical base station into a number group;
for a number group, if all the first-class labels of all the communication numbers in the number group are a labels, identifying f labels in the second-class labels for the number group; and if the first-class labels of all the communication numbers in the number group are not all the a labels, g labels in the second-class labels are identified for the number group.
15. The apparatus of claim 14,
the obtaining sub-module is further used for obtaining the forwarding information of the communication number if the obtained state code corresponding to the communication number is number portability;
correspondingly, the determining module determines a target communication operator of the transfer party corresponding to the communication number according to the transfer-out information; the first obtaining module is further configured to obtain the latest status information of the communication number from the transfer party target communication operator;
correspondingly, the identification submodule is also used for identifying the label for the communication number again according to a first preset rule.
16. A communication number information processing apparatus applied to a network side, the apparatus comprising:
the second acquisition module is used for acquiring a state code, an identity card number hash value and a administrative region hash value of the resident physical base station corresponding to the communication number when the communication operator initiates the state change of the communication number; wherein the state encoding comprises: normal, shut down, sale, invalid, number portability
The second generation module is used for generating the latest state information of the communication number according to the state code, the identity card number hash value and the administrative region hash value of the resident physical base station;
the storage module is used for storing the latest state information;
the interface module is used for providing an inquiry interface for the terminal side to inquire the latest state information of the communication number so as to provide support for the terminal side to inquire the latest state information of the communication number;
the state code is used for enabling the terminal to identify a first type of label corresponding to the state code for the communication number; the first type of label represents one of normal, invalid, shut down, account cancellation and number portability states of the communication number;
the identity card number hash value and the administrative region hash value of the resident physical base station are used for the terminal to combine the first type of label and identify a second type of label for the communication number; the second type of tag characterizes one of a proposed merge, a proposed update state of the communication number.
17. The apparatus of claim 16,
the second obtaining module is further configured to obtain forwarding information of the communication number if the state code of the communication number is number portability;
correspondingly, the storage module is further configured to store the roll-out information of the communication number when the latest state information corresponding to the communication number is stored.
18. A communication number information processing system, characterized by comprising:
the terminal is used for determining a target communication operator to which the communication number belongs according to the number segment characteristics of the communication number; acquiring the latest state information of the communication number from a target communication operator side; generating communication number prompt information based on the latest state information;
the server is used for acquiring a state code, an identity card number hash value and a administrative district hash value to which the resident physical base station belongs, corresponding to the communication number when the communication operator initiates the state change of the communication number; generating the latest state information of the communication number according to the state code, the ID card number hash value and the administrative region hash value of the resident physical base station, and storing the latest state information; providing an inquiry interface for inquiring the latest state information of the communication number by the terminal side so as to provide support for inquiring the latest state information of the communication number by the terminal side;
wherein the state encoding comprises: normal, shut down, sale, invalid, number portability;
the generating of the communication number prompt information based on the latest state information includes:
according to the state code in the latest state information, a first type label corresponding to the state code is identified for the communication number; the first type of label represents one of normal, invalid, shut down, account cancellation and number portability states of the communication number;
according to the identity card number hash value in the latest state information and the administrative region hash value of the resident physical base station, and in combination with the first type of label, identifying a second type of label for the communication number; the second type of tag characterizes one of a proposed merge, a proposed update state of the communication number.
19. The system according to claim 18, characterized in that the terminal includes the communication number information processing apparatus according to any one of claims 9 to 15; the server includes the communication number information processing apparatus of claim 16 or 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510834106.6A CN106792653B (en) | 2015-11-25 | 2015-11-25 | Communication number information processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510834106.6A CN106792653B (en) | 2015-11-25 | 2015-11-25 | Communication number information processing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106792653A CN106792653A (en) | 2017-05-31 |
CN106792653B true CN106792653B (en) | 2020-03-24 |
Family
ID=58965156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510834106.6A Active CN106792653B (en) | 2015-11-25 | 2015-11-25 | Communication number information processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106792653B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197147B (en) * | 2017-11-29 | 2021-02-09 | 中国联合网络通信集团有限公司 | Operation and maintenance method and device for number card database |
CN110266825B (en) * | 2018-03-12 | 2022-04-15 | 中国移动通信集团有限公司 | Virtual number generation method and device |
CN108924270B (en) * | 2018-06-19 | 2021-07-06 | 湖南人文科技学院 | Method for updating terminal contact information, server and storage medium |
CN108965563B (en) * | 2018-06-19 | 2021-03-30 | 湖南人文科技学院 | Terminal address book confirmation method, server and storage medium |
CN109635164B (en) * | 2018-11-12 | 2020-12-04 | 同盾控股有限公司 | Number detection method and device |
CN114640983B (en) * | 2020-12-15 | 2024-05-24 | 中国移动通信集团山东有限公司 | User identification method and device, server and storage medium |
CN113630766B (en) * | 2021-08-25 | 2023-02-17 | 中国联合网络通信集团有限公司 | Network access method and base station |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686446A (en) * | 2008-09-22 | 2010-03-31 | 中国移动通信集团甘肃有限公司 | System, device and method for processing mistake of short message of mobile telephone of user |
CN103369097A (en) * | 2012-03-26 | 2013-10-23 | 富泰华工业(深圳)有限公司 | Mobile communication terminal and method for managing telephone numbers |
CN104580637A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Telephone number marking method, terminal and cloud server |
CN104836901A (en) * | 2015-04-02 | 2015-08-12 | 深圳市金立通信设备有限公司 | Terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100665133B1 (en) * | 2004-08-09 | 2007-01-04 | 주식회사 케이티프리텔 | System and method for providing telephone number mapping service terminal location confirmation |
KR100665819B1 (en) * | 2004-11-23 | 2007-01-09 | 엘지전자 주식회사 | Method for Updating Telephone Book of Mobile Communication Device |
CN101404627B (en) * | 2008-11-13 | 2011-12-14 | 腾讯科技(深圳)有限公司 | Instant communication system and method for updating contact information |
CN103188654A (en) * | 2011-12-27 | 2013-07-03 | 富泰华工业(深圳)有限公司 | System and device for updating mobile phone states |
KR20130104175A (en) * | 2012-03-13 | 2013-09-25 | 삼성전자주식회사 | Method for providing phone book service and an electronic device thereof |
CN107743165A (en) * | 2013-11-15 | 2018-02-27 | 上海触乐信息科技有限公司 | Telephone number labeling method and system |
-
2015
- 2015-11-25 CN CN201510834106.6A patent/CN106792653B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686446A (en) * | 2008-09-22 | 2010-03-31 | 中国移动通信集团甘肃有限公司 | System, device and method for processing mistake of short message of mobile telephone of user |
CN103369097A (en) * | 2012-03-26 | 2013-10-23 | 富泰华工业(深圳)有限公司 | Mobile communication terminal and method for managing telephone numbers |
CN104580637A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Telephone number marking method, terminal and cloud server |
CN104836901A (en) * | 2015-04-02 | 2015-08-12 | 深圳市金立通信设备有限公司 | Terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106792653A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106792653B (en) | Communication number information processing method, device and system | |
CN104270521A (en) | Method for processing incoming call number and mobile terminal | |
CN112422709B (en) | Identification management method, terminal equipment, identification analysis secondary node and medium | |
CN109213758B (en) | Data access method, device, equipment and computer readable storage medium | |
CN104219265B (en) | Label information update method, equipment and system | |
CN104243661A (en) | Method, server and mobile terminal for determining types of incoming call numbers | |
CN104581690A (en) | Network access implementing method of intelligent card, wireless card-writing platform and intelligent card | |
CN104484958A (en) | Express delivery pickup method and system for intelligent express delivery cabinet | |
CN114328632A (en) | User data analysis method and device based on bitmap and computer equipment | |
CN109542841B (en) | Method for creating data snapshot in cluster and terminal equipment | |
CN106682146A (en) | Method and system for retrieving evaluation of scenic spot according to keyword | |
CN111954300A (en) | Offline positioning method, device, equipment and storage medium | |
CN116303250A (en) | Accounting archive data management method and device, electronic equipment and medium | |
CN107992538B (en) | Message log generation method and device, query method and information processing system | |
CN111027093A (en) | Access right control method and device, electronic equipment and storage medium | |
CN100479577C (en) | Method for operating resource in device management | |
CN114218258A (en) | User label management method, system, equipment and storage medium | |
CN108268545A (en) | A kind of method and apparatus of the establishment in the user tag library of classification | |
CN112995900B (en) | SIM card distribution method, device, server and computer readable storage medium | |
CN113590907A (en) | Camera management method and device, electronic equipment and storage medium | |
CN102662995A (en) | Method for quickly positioning data updating of mobile phone applications | |
CN102651859B (en) | Method, equipment and network for identifying of operator ownership of number portability users | |
CN106789315B (en) | System configuration method and device | |
CN110837606A (en) | Spatio-temporal data fusion query method, device, server and storage medium | |
CN106488412B (en) | Communication service control method, system, server and client |
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 |