Disclosure of Invention
The invention is completed in order to at least partially solve the technical problem that the registration or notification information of the service system cannot be received after the number portability exists in the prior art.
The technical scheme adopted for solving the technical problem of the invention is as follows:
the invention provides a method for managing a number portability number, which comprises the following steps:
an enterprise short message service number access number accesses a service provider short message gateway, and the number access service provider short message gateway inquires an operator to which a certain mobile phone number belongs through a number portability number management center;
judging whether the operator to which the mobile phone number belongs is inquired, if so, returning the inquiry result to a short message gateway of a number access service provider, and sending the short message content to be sent to the user by the short message gateway of the number access service provider through a short message service center of the operator to which the mobile phone number belongs; if not, the short message content to be sent by the short message gateway of the number access service provider is copied to the number management center for number portability, and the short message content to be sent is sent to the user by the number management center.
Further, the step that the number portability number management center sends the short message content to be sent to the user comprises the following steps: the number portability number management center uses a 12xxx special short message number to copy and send the short message content to the user through all the operator short message service centers.
Furthermore, after the number portability number management center uses the special short message number of 12xxx and the short message content is copied to the user through all the short message service centers of the operators, the method also comprises the following steps: the number portability network number management center obtains the information of the home operator of the mobile phone number through the feedback information of whether the copied short message is sent or not.
Further, after the number portability number management center obtains the home operator information of the mobile phone number through the feedback message of whether the copied short message is sent, the number portability number management center further comprises: and storing the operator attribution information of the mobile phone number into a number attribution database.
Furthermore, after the number portability number management center sends the short message content to be sent to the user, the method further comprises the following steps: the number portability number management center sends a notification short message to the user to prompt the user to enter the operator attribution information, and generates a unique and time-efficient login URL at the end of the short message, so that the user can open a related webpage and enter the operator attribution information.
Further, after the user logs in the URL to open a relevant webpage and completes the entry of the operator attribution information, the method further includes: storing the operator attribution information of the user into a number attribution database, wherein the number attribution database records the mobile phone number operator attribution information, and the number portability number management center inquires the operator to which the mobile phone number belongs through the number attribution database.
Further, the method for managing the number portability number further comprises the following steps: further comprising: when a user handles the change of the mobile phone number attribution operator through an operator, the operator transaction system records the changed information of the mobile phone number attribution operator and sends the information to the number portability management center according to the short message verification code received by the user in the process of handling the change service of the mobile phone number attribution operator, and the number portability management center stores the changed information of the mobile phone number attribution operator into the number attribution database.
In another aspect, the present invention provides a system for managing a number portability, comprising:
number access service provider short message gateway: the short message service number access service is provided for enterprises, an operator to which a certain mobile phone number belongs is inquired through a number portability number management center, short message contents to be sent are sent to a corresponding operator short message service center when the operator to which the mobile phone number belongs is inquired, and the short message contents to be sent are copied to the number portability number management center when the operator to which the mobile phone number belongs is not inquired;
operator short message service center: when the number access service provider short message gateway inquires the home operator of the mobile phone number, the short message content to be sent by the number access service provider short message gateway is sent to the user;
number portability number management center: the short message service system is used for providing mobile phone number operator attribution inquiry service for the number access service provider short message gateway and sending the short message content needing to be sent by the number access service provider short message gateway to a user when the number access service provider short message gateway does not inquire the attribution operator of the mobile phone number.
Furthermore, the number portability number management center is specifically used for copying the short message content to the user through all the operator short message service centers by using the 12xxx special short message number;
furthermore, the number portability number management center is also used for obtaining the home operator information of the mobile phone number through the feedback information of whether the copied short message is sent or not.
Further, the system for managing the number portability and the number further comprises: further comprising: a number attribution database; the number attribution database is used for storing operator attribution information of the mobile phone number.
Furthermore, the number portability number management center is also used for sending a notification short message to the user after the content of the short message to be sent reaches the user, prompting the user to enter the attribution information of the operator, and generating a unique and time-efficient login URL at the end of the short message
And opening the related webpage by the user to enter the attribution information.
Further, the system for managing the number portability and the number further comprises: a number attribution database; and the number attribution database is used for storing the mobile phone number operator attribution information after the user logs in the URL to open a related webpage and completes the entry of the operator attribution information.
Furthermore, the number portability number management center is also used for interacting with the user or the operator to inform, enter and change the number attribution information service; when a user handles the change of the mobile phone number attribution operator through an operator, the changed mobile phone number attribution operator information from the operator transaction system is sent to a number attribution database; the number attribution database is also used for storing the changed mobile phone number attribution operator information.
Has the advantages that:
the method and the system for managing the number portability and the number affiliation are characterized in that by means of a number portability number management center and a number affiliation database, number affiliation inquiry, short message content copying and number affiliation input notification services are provided for a number access service provider short message gateway,
on the premise of ensuring the information security of the user, the condition that the short message sending fails due to the number portability can be effectively avoided, convenient and credible number portability number attribution inputting or changing services are provided for the user or an operator, and the condition that the user cannot normally receive the registration or notification service short messages sent by a plurality of service systems due to the number portability can be avoided.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention is further described in detail below with reference to the accompanying drawings and examples.
Example 1
As shown in fig. 1, the present invention provides a method for managing a number portability number, which comprises the following steps:
step S1: an enterprise short message service number access number accesses a service provider short message gateway, and the number access service provider short message gateway inquires an operator to which a certain mobile phone number belongs through a number portability number management center;
step S2: judging whether the mobile phone number attribution operator is found, if so, executing the step S3; if not, go to step S4;
step S3: returning the query result to the number access service provider short message gateway, wherein the number access service provider short message gateway sends the short message content to be sent to the user to the client through the operator short message service center to which the mobile phone number belongs;
step S4: the short message content to be sent by the short message gateway of the number access service provider is copied to the number management center of the number portability network, and the short message content to be sent is sent to the user by the number management center.
At present, when an enterprise sends a registration short message to a mobile phone number, after the operator attribution of the number is judged according to the first 3 digits of the mobile phone number, the short message is sent to a mobile phone of a user through a short message service center of the mobile phone number attribution operator, but if the mobile phone number is already carried out number portability and transferred to other operators, the user cannot obtain the registration short message information.
As shown in fig. 2, further, the step of sending the content of the short message to be sent to the user by the number portability management center includes:
step S401: the number portability number management center uses a 12xxx special short message number to copy and send the short message content to the user through all the operator short message service centers.
When the number portability number management center can not inquire the home operator of the mobile phone number, the number access service provider short message gateway copies the short message content to the number portability number management center, the number portability number management center uses the 12xxx special short message number, and the short message content is copied to the user through all the operator short message service centers (such as the operator A, B, C), so as to ensure that the user normally receives the short message of the related service system. The number portability number management center sends the short message to all the operator short message service centers, so that the user can be ensured to receive the short message, no short message sending cost exists, and meanwhile, the 5-bit short message service number of the 12xxx has the characteristics of uniformity, high identifiability, credibility and the like, and cannot be listed in a blacklist by each operator short message service center.
Furthermore, the number portability number management center uses a 12xxx special short message number, and after the short message content is copied to the user by all the operator short message service centers, the method also comprises the following steps:
step S402: the number portability network number management center obtains the information of the home operator of the mobile phone number through the feedback information of whether the copied short message is sent or not.
When the number portability number management center successfully copies the short message to one of the short message centers of the operator A, the number portability number management center indicates that the mobile phone number belongs to the operator A.
Further, after the number portability number management center obtains the home operator information of the mobile phone number through the feedback message of whether the copied short message is sent, the number portability number management center further comprises: storing the operator attribution information of the mobile phone number into a number attribution database, wherein the number attribution database records the mobile phone number operator attribution information, and the number portability number management center inquires the operator to which the mobile phone number belongs through the number attribution database.
If the mobile phone number obtained through the feedback message belongs to a certain operator, the attribution information of the number is updated to a number attribution database.
In order to more accurately confirm the information of the home operator of the mobile phone number, as shown in fig. 3, further, after the number portability number management center sends the content of the short message to be sent to the user, the method further includes:
step S403: the number portability number management center sends a notification short message to the user to prompt the user to enter the operator attribution information, and generates a unique and time-efficient login URL at the end of the short message, so that the user can open a related webpage and enter the operator attribution information.
After receiving the feedback message sent by the short message, the number portability number management center sends a notification short message to inform a user that the operator attribution information of the number of the user is updated by using a uniform 5-bit short message service number (such as 12xxx), and the user asks for confirmation; and additionally generating a unique and time-efficient URL at the end of the notification short message for the user to log in for operation, such as prompting by a' number portability number management center: updating the attribution information of the operator of the mobile phone number, and asking for confirming whether the attribution information of the operator is wrong, and if so, asking for manually setting the attribution information of the operator of the mobile phone number so as to avoid influencing the normal use of the short message function of the related service, and asking for clicking http://1 urD2MEWf.number.gov.cn "; the user can directly skip to a webpage to confirm or manually set the operator attribution information of the mobile phone number by clicking the URL; if the user sets the attribution information of the number manually, the number portability number management center sends the short message verification code to the number of the user by using the operator short message service center set by the user to ensure the correctness of the operator attribution information set by the user, namely, if the user cannot receive the short message verification code sent by the number portability number management center, the user cannot set the number manually successfully.
Further, after the user logs in the URL to open a relevant webpage and completes the entry of the operator attribution information, the method further includes: storing the operator attribution information of the user into a number attribution database, wherein the number attribution database records the mobile phone number operator attribution information, and the number portability number management center inquires the operator to which the mobile phone number belongs through the number attribution database.
Further, the method for managing the number portability number further comprises the following steps: when a user handles the change of the mobile phone number attribution operator through an operator, the operator transaction system records the changed information of the mobile phone number attribution operator and sends the information to the number portability management center according to the short message verification code received by the user in the process of handling the change service of the mobile phone number attribution operator, and the number portability management center stores the changed information of the mobile phone number attribution operator into the number attribution database.
After the number portability number management system stores the attribution place of the user number, if the user carries out the number portability service again, the accuracy of the number attribution database can be ensured by finishing the final change of the number attribution in the number portability management center.
Example 2
On the other hand, as shown in fig. 4, the present invention provides a system for number portability management, comprising:
number access service provider short message gateway 1: the short message service number access service is provided for enterprises, an operator to which a certain mobile phone number belongs is inquired through the number portability number management center 2, short message contents to be sent are sent to the corresponding operator short message service center 3 when the operator to which the mobile phone number belongs is inquired, and the short message contents to be sent are copied to the number portability number management center 2 when the operator to which the mobile phone number belongs is not inquired;
the operator short message service center 3: when the number access service provider short message gateway 1 inquires the home operator of the mobile phone number, the short message content to be sent by the number access service provider short message gateway 1 is sent to the user;
number portability number management center 2: the short message service system is used for providing mobile phone number operator attribution inquiry service for the number access service provider short message gateway 1 and sending the short message content needing to be sent by the number access service provider short message gateway 1 to a user when the number access service provider short message gateway 1 does not inquire the attribution operator of the mobile phone number.
The number access service provider short message gateway 1 provides short message service number access service for enterprises, for example, provides 1069xxxxx and 1065xxxxx short message access numbers for the enterprises; the number access service provider short message gateway 1 inquires about the home operator of the mobile phone number through the number portability number management center 2, after inquiring about the home operator of the user, directly sends the short message to the operator short message service center 3 to which the mobile phone number belongs, and then sends the short message to the user through the operator short message service center 3; when the home operator of the mobile phone number is not inquired, the short message is sent to the customer through the number portability number management center 2.
Further, the number portability number management center 2 is specifically configured to use a 12xxx dedicated short message number to copy short message content to the user through all the operator short message service centers 3.
Each operator has a short message service center in different areas and is responsible for relaying, storing or forwarding short messages between a base station and a mobile station (ME); when the number portability number management center 2 does not inquire the attribution information of a certain number operator of a user, the number portability number management center sends a short message to short message service centers of all operators and virtual operators in China.
Further, the number portability number management center 2 is also configured to obtain the home operator information of the mobile phone number through a feedback message indicating whether the copied short message is sent.
Further, the system for managing the number portability and the number further comprises: a number attribution database 4; the number attribution database 4 is used for storing operator attribution information of the mobile phone number; after obtaining the information of the home operator of the number through the feedback information sent by the short message copied by the number portability number management center 2, the home information of the operator of the user is stored in the number home database 4, the number home database 4 records the home information of the mobile phone number operator, and the number portability number management center 2 inquires the operator to which the mobile phone number belongs through the number home database 4.
Further, the number portability number management center 2 is further configured to: after the short message content needing to be sent is sent to the user, a notification short message is sent to the user, the user is prompted to carry out operator attribution information input, and a unique and timeliness login URL is generated at the end of the short message for the user to open a related webpage to input attribution information.
Further, the system for managing the number portability and the number further comprises: a number attribution database 4; and the number attribution database is used for storing the mobile phone number operator attribution information after the user logs in the URL to open a related webpage and completes the entry of the operator attribution information.
Further, the number portability number management center 2 is also used for interacting with the user or the operator for notification, entry and change of number attribution information service; when a user handles the change of the mobile phone number attribution operator through an operator, the changed mobile phone number attribution operator information from the operator transaction system is sent to the number attribution database 4; the number attribution database 4 is also used for storing the changed mobile phone number attribution operator information.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.