Disclosure of Invention
The invention mainly aims to provide a method and a device for reminding missed calls with the same inventive concept, aiming at realizing the service of reminding the missed calls normally when the database is abnormal; meanwhile, differentiated missed call reminding services can be provided according to different user groups, so that the popularization capability of the missed call reminding service is improved.
In order to achieve the above object, the present invention provides a missed call reminding method, which comprises the following steps:
monitoring the abnormal state of the database;
when the database is abnormal and a call missing request of a core network is received, stopping data interaction with the database and generating a first call missing message;
and when the database is normal and a call missing request of the core network is received, generating a second call missing message or a third call missing message according to whether the called user is registered.
Preferably, when the database is abnormal and a missed call request of the core network is received, stopping data interaction with the database, and the step of generating the first missed call message further includes: the first missed call message is sent to a short message center, so that the short message center can send the first missed call message to a registered called user;
when the database is normal and a call missing request of the core network is received, the step of generating a second call missing message or a third call missing message according to whether the called user is registered further comprises: and sending the second missed call message or the third missed call message to a short message center so that the short message center can send the second missed call message or the third missed call message to a called user.
Preferably, the generating the second missed call message or the third missed call message according to whether the called subscriber is registered comprises:
when the called user is a registered user, generating a second missed call message;
and when the called user is a non-registered user, generating a third missed call message.
Preferably, the first missed call message and the second missed call message both include a calling number, dialing time and dialing times;
the third missed call message comprises dialing time and/or dialing times and advertisement information for ordering missed call reminding service.
Preferably, the step of sending the second missed call message or the third missed call message to a short message center for the short message center to send the second missed call message or the third missed call message to the called user further includes:
when the non-registered user receives the third missed call message and needs to acquire the second missed call message, corresponding acquisition information is sent to the short message center so that the short message center can forward the acquisition message in an uplink manner;
when the acquisition information forwarded by the short message center is received, the acquisition information is verified, and a verification result is obtained;
and sending the second missed call message to a short message center according to the verification result so that the short message center can send the second missed call message to the unregistered user.
Preferably, the unregistered user is dynamically set according to a preset number segment and a preset number of users.
The invention also provides a missed call reminding device, which comprises a database monitoring module, a missed call request receiving module, a missed call message generating module and a missed call message sending module; wherein,
the database monitoring module is used for monitoring the abnormal state of the database;
the missed call request receiving module is used for receiving a missed call request of a core network;
the missed call message generation module is used for stopping data interaction with the database and generating a first missed call message when the database monitoring module monitors that the database is abnormal and the missed call request receiving module receives a missed call request of a core network; and the system is used for generating a second missed call message or a third missed call message according to whether the called user is registered or not when the database monitoring module monitors that the database is normal and the missed call request receiving module receives the missed call request of the core network.
Preferably, when the database monitoring module monitors that the database is normal and the missed call request receiving module receives a missed call request of a core network, and the called subscriber is a registered subscriber, the missed call message generating module generates the second missed call message; and when the called user is a non-registered user, the missed call message generation module generates the third missed call message.
Preferably, the missed call reminding device further comprises a missed call message sending module, an acquired information receiving module and an acquired information checking module, wherein,
the missed call message sending module is used for sending the first missed call message to a short message center so that the short message center can send the first missed call message to a registered called user; the short message center is used for sending the second missed call message or the third missed call message to the short message center so that the short message center can send the second missed call message or the third missed call message to a called user;
the acquisition information receiving module is used for receiving acquisition information forwarded by the short message center;
the acquired information checking module is used for checking the acquired information when the acquired information receiving module receives the acquired information and obtaining a checking result;
the missed call message sending module is further configured to: and sending the second missed call message to a short message center according to the verification result so that the short message center can send the second missed call message to the unregistered user.
Preferably, the unregistered user is dynamically set according to a preset number segment and a preset number of users.
The invention provides a missed call reminding method, which comprises the steps of monitoring the abnormal state of a database; when the database is abnormal and a call missing request of a core network is received, stopping data interaction with the database and generating a first call missing message; and when the database is normal and a call missing request of the core network is received, generating a second call missing message or a third call missing message according to whether the called user is registered. When the database is abnormal, the invention can normally realize the missed call reminding service, avoid the interruption of the missed call reminding service caused by the abnormality of the database, improve the disaster tolerance capability of the missed call reminding service, save the backup resources of the database and reduce the cost. Meanwhile, the invention can provide differentiated missed call reminding service according to different user groups, and promotes the popularization capability of the missed call reminding service.
Detailed Description
The technical scheme of the invention is further explained by combining the drawings and the specific embodiments in the specification. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a missed call reminding method.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a missed call reminding method of the present invention.
The missed call reminding method in the embodiment comprises the following steps:
step S01: monitoring the abnormal state of the database;
specifically, the running state of the database includes a normal state and an abnormal state, and the missed call reminding method of the embodiment first monitors the abnormal state of the database, and when it is monitored that the database is abnormal, the step S02 is performed; when it is detected that the database is not abnormal, that is, the database is in a normal operation state, the process proceeds to step S03.
Step S02: when the database is abnormal and a call missing request of a core network is received, stopping data interaction with the database and generating a first call missing message;
specifically, in this embodiment, when it is detected in step S01 that the database is abnormal and a missed call request of the core network is received, any data interaction with the abnormal database is stopped (i.e., the database is not operated), the required configuration is read from the configuration file, and the data required to be interacted are stored in the physical memory of the operating system. In addition, when it is monitored that the database is abnormal and a missed call request of the core network is received, a corresponding first data packet is generated, where the first data packet carries an emergency mode identifier, and after the first data packet is generated, the first data packet is processed to generate a first missed call message, where the first missed call message is detailed missed call information, and the detailed missed call information includes a calling number, dialing time, and dialing times.
Step S021: the first missed call message is sent to a short message center, so that the short message center can send the first missed call message to a registered called user;
in this embodiment, when the called user corresponding to the missed call request sent by the core network is a registered user of the missed call reminding service, after the first missed call message is generated in step S02, the first missed call message (including the calling number, the dialing time, and the dialing times) is sent to the short message center, so that the short message center sends the detailed missed call information to the called user.
In this embodiment, when it is monitored that the database is abnormal, the triggering, generating and issuing of the missed call notification message (i.e., the first missed call message) to the called user all adopt the simplest manner, only the missed call notification message is ensured to be correctly sent to the short message center, and the user can obtain the missed call notification message (including the calling number, the dialing time and the dialing times). According to the missed call reminding method provided by the embodiment, when the database is monitored to be abnormal and a missed call request of a core network is received, any data interaction with the database is stopped, so that the embodiment realizes a database-free operation mode, and the process processing mechanism of the missed call reminding service is simplified.
Step S03: when the database is normal and a call missing request of a core network is received, generating a second call missing message or a third call missing message according to whether a called user is registered;
specifically, in this embodiment, when the database is in a normal state and a missed call request of the core network is received, a corresponding second data packet is generated; and then, processing the generated second data packet according to whether the called user is registered, and generating a second call missing message or a third call missing message. The second missed call message comprises a calling number, dialing time and dialing times; the third missed call message only comprises dialing time and/or dialing times and advertisement information for ordering the missed call reminding service.
In this embodiment, the called users are classified into registered users and non-registered users, the registered users are users who have subscribed the missed call reminding service to the operator, and the non-registered users are users who have not subscribed the missed call reminding service to the operator. In this embodiment, after the second data packet is generated, the second data packet is processed according to the type of the called user, and when the called user is a registered user of the missed call reminding service, the second data packet is processed to generate the second missed call message; and when the called user is a non-registered user of the missed call reminding service, processing the second data packet to generate a third missed call message, wherein the third missed call message comprises dialing time and/or dialing times and advertisement information for ordering the missed call reminding service, so that the third missed call message can arouse the interest of the non-registered user in acquiring detailed recent missed call information of the non-registered user, and the function of guiding the non-registered user to order the missed call reminding service is achieved.
Step S031: and sending the second missed call message or the third missed call message to a short message center so that the short message center can send the second missed call message or the third missed call message to a called user.
In this embodiment, after the second missed call message or the third missed call message is generated in step S03, the second missed call message or the third missed call message is sent to the short message center, so that the short message center sends the second missed call message or the third missed call message to the called user. According to the above, when the called subscriber is a registered subscriber of the missed call reminding service, the missed call message received by the called subscriber is the second missed call message; and when the called user is a non-registered user, the missed call message received by the called user is a third missed call message.
In addition, the unregistered user in this embodiment is dynamically set according to rules such as a preset number segment and a preset number of users, so that this embodiment can meet the requirement of user carrying capacity and promote the missed call reminding service to the maximum extent.
The method for reminding missed calls provided by the embodiment comprises the following steps of monitoring the abnormal state of a database; when the database is abnormal and a missed call request of a core network is received, stopping data interaction with the database, generating a first missed call message, and sending the first missed call message to a short message center so that the short message center can send the first missed call message to a registered called user; and when the database is normal and receives a call missing request of a core network, generating a second call missing message or a third call missing message according to whether a called user is registered, and sending the second call missing message or the third call missing message to a short message center so that the short message center sends the second call missing message or the third call missing message to the called user. When the database is abnormal, the embodiment can normally realize the missed call reminding service, avoid the interruption of the missed call reminding service caused by the abnormality of the database, improve the disaster tolerance capability of the missed call reminding service, save the backup resources of the database and reduce the cost. Meanwhile, the embodiment can provide differentiated missed call reminding service according to different user groups, and the popularization capability of the missed call reminding service is improved.
Fig. 2 is a schematic flow chart of another embodiment of the missed call reminding method of the present invention.
Referring to fig. 2, the present embodiment further includes the following steps after step S031 in the foregoing embodiment:
step S04: when the non-registered user receives the third missed call message and needs to acquire the second missed call message, corresponding acquisition information is sent to the short message center so that the short message center can forward the acquisition message in an uplink manner;
specifically, in this embodiment, when the non-registered user receives the third missed call message and the non-registered user needs to obtain the current detailed missed call information (that is, needs to obtain the second missed call message including the calling number, the dialing time, and the dialing times), the non-registered user needs to send corresponding uplink obtaining information (hereinafter referred to as get message) to the short message center, so that the short message center forwards the get message in an uplink manner.
Step S05: when the acquisition information (namely the get message) forwarded by the short message center is received, verifying the acquisition information to obtain a verification result;
specifically, in this embodiment, when the get message forwarded by the short message center is received, the get message is judged and verified, and a verification result is obtained.
Step S06: and sending the second missed call message to a short message center according to the verification result so that the short message center can send the second missed call message to the unregistered user.
Specifically, in this embodiment, after the step S05 correctly determines and verifies the get message forwarded by the short message center, a correct verification result is obtained, and then according to the correct verification result, the detailed missed call information (i.e., the second missed call message) including the calling number, the dialing time, and the dialing times is sent to the short message center, so that the short message center sends the detailed missed call information (the second missed call message) to the unregistered user.
The method for reminding missed calls provided by the embodiment comprises the following steps of monitoring the abnormal state of a database; when the database is abnormal and a missed call request of a core network is received, stopping data interaction with the database, generating a first missed call message, and sending the first missed call message to a short message center so that the short message center can send the first missed call message to a registered called user; when the database is normal and receives a call missing request of a core network, generating a second call missing message or a third call missing message according to whether a called user is registered, and sending the second call missing message or the third call missing message to a short message center so that the short message center can send the second call missing message or the third call missing message to the called user; when the unregistered user receives the second missed call message and needs to acquire the current detailed missed call information (namely, the second missed call message), the unregistered user needs to send corresponding acquisition information (get message) to the short message center so that the short message center can forward the get message in an uplink manner; when a get message forwarded by a short message center is received, verifying the get message to obtain a verification result; and finally, according to the verification result, sending the detailed missed call information (namely the second missed call message) to the short message center so that the short message center can send the detailed missed call information (the second missed call message) to the unregistered user. According to the method for reminding the missed call, when the database is abnormal, the missed call reminding service can be normally realized, the interruption of the missed call reminding service caused by the abnormality of the database is avoided, the disaster tolerance capability of the missed call reminding service is improved, in addition, the database backup resources can be saved, and the cost is reduced. Meanwhile, according to the embodiment, differential missed call reminding service can be provided according to different user groups and different requirements of the different user groups, and the popularization capability of the missed call reminding service is improved.
The invention also provides a missed call reminding device, and fig. 3 is a module structure diagram of an embodiment of the missed call reminding device.
Referring to fig. 3, the missed call reminding apparatus 100 in this embodiment includes a database monitoring module 101, a missed call request receiving module 102, a missed call message generating module 103, and a missed call message sending module 104, where:
a database monitoring module 101, configured to monitor an abnormal state of a database;
specifically, the operation state of the database includes a normal state and an abnormal state, and the database monitoring module 101 in this embodiment is configured to monitor the operation state of the database.
A missed call request receiving module 102, configured to receive a missed call request of a core network;
a missed call message generating module 103, configured to stop data interaction with the database and generate a first missed call message when the database monitoring module monitors that the database is abnormal and the missed call request receiving module receives a missed call request of the core network; and the call leakage request receiving module is used for generating a second call leakage message or a third call leakage message according to whether the called user is registered or not when the database monitoring module monitors that the database is normal and the call leakage request receiving module receives the call leakage request of the core network;
specifically, in this embodiment, when the database monitoring module 101 monitors that the database is abnormal and the missed call request receiving module 102 receives the missed call request of the core network, each module stops performing any data interaction with the database in which the abnormality occurs (that is, each module does not operate the database), the configuration required by each module is read from the configuration file, and the data required to be interacted is stored in the physical memory of the operating system.
In this embodiment, when the database monitoring module 101 monitors that an abnormality occurs in the database and the missed call request receiving module 102 receives a missed call request of the core network, the missed call message generating module 103 generates a corresponding first data packet, where the first data packet carries an emergency mode identifier, and processes the first data packet to generate a first missed call message; when the database monitoring module 101 monitors that the database is in a normal state and the missed call request receiving module 102 receives a missed call request of the core network, the missed call message generating module 103 generates a corresponding second data packet and processes the second data packet to generate a second missed call message or a third missed call message. Specifically, when the database monitoring module 101 monitors that the database is normal, and the missed call request receiving module 102 receives a missed call request of the core network, and when the called subscriber is a registered subscriber, the missed call message generating module 103 processes the second data packet to generate a second missed call message; when the called subscriber is a non-registered subscriber, the missed call message generation module 103 processes the second data packet to generate a third missed call message.
The first missed call message and the second missed call message both contain detailed missed call information, and the information content comprises a calling number, dialing time and dialing times; the third missed call message only comprises dialing time and/or dialing times and advertisement information for ordering the missed call reminding service.
A missed call message sending module 104, configured to send the first missed call message to a short message center, so that the short message center sends the first missed call message to a registered called subscriber; and the short message center is used for sending the second missed call message or the third missed call message to the short message center so as to send the second missed call message or the third missed call message to a called user.
In addition, the unregistered user in this embodiment is dynamically set according to rules such as a preset number segment and a preset number of users, so that this embodiment can meet the requirement of user carrying capacity and promote the missed call reminding service to the maximum extent.
The missed call reminding device provided by the embodiment is characterized in that firstly, the abnormal state of a database is monitored by a database monitoring module; when the database monitoring module monitors that the database is abnormal and the missed call request receiving module receives a missed call request of a core network, all the modules stop data interaction with the database, the missed call message generating module generates a first missed call message (comprising a calling number, dialing time and dialing times), and then the missed call message sending module sends the first missed call message to a short message center so that the short message center can send the first missed call message to a called user; when the database monitoring module monitors that the database is in a normal state and the missed call request receiving module receives a missed call request of the core network, the missed call message generating module generates a second missed call message (including a calling number, dialing time and dialing times) or a third missed call message (including dialing time and/or dialing times and advertisement information for ordering a missed call reminding service), and then the second missed call message or the third missed call message is sent to the short message center by the missed call message sending module so that the short message center can send the second missed call message or the third missed call message to a called user. The missed call reminding device provided by the embodiment can normally realize the missed call reminding service when the database is abnormal, avoid the interruption of the missed call reminding service caused by the abnormality of the database, improve the disaster tolerance capability of the missed call reminding service, save the backup resources of the database and reduce the cost. Meanwhile, the embodiment can provide differentiated missed call reminding service according to different user groups, and the popularization capability of the missed call reminding service is improved.
Fig. 4 is a block diagram of another embodiment of the missed call reminding device of the present invention.
Referring to fig. 4, the missed call reminding apparatus 100 of the present embodiment further includes an acquired information receiving module 105 and an acquired information verifying module 106 based on the above-mentioned embodiments, wherein,
the acquisition information receiving module 105 is configured to receive acquisition information forwarded by the short message center;
specifically, in this embodiment, when the non-registered user receives the third missed call message and the non-registered user needs to obtain the current detailed missed call information (that is, needs to obtain the second missed call message including the calling number, the dialing time, and the dialing times), the non-registered user needs to send corresponding uplink obtaining information (hereinafter referred to as get message) to the short message center, so that the short message center forwards the get message in an uplink manner, where the obtaining information receiving module 105 in this embodiment is configured to receive the get message forwarded by the short message center.
The obtained information verifying module 106 is configured to, when the obtained information receiving module 105 receives the obtained information (i.e., the get message) of the unregistered user, perform verification processing on the obtained information (get message), and obtain a verification result.
The missed call message sending module 104 in this embodiment is further configured to send the current detailed missed call information (i.e., the second missed call message) to the short message center according to the verification result obtained by the message verification module 106, so that the short message center sends the detailed missed call information (the second missed call message) to the non-registered user.
The missed call reminding device provided by the embodiment is characterized in that firstly, the abnormal state of a database is monitored by a database monitoring module; when the database monitoring module monitors that the database is abnormal and the missed call request receiving module receives a missed call request of a core network, all the modules stop data interaction with the database, the missed call message generating module generates a first missed call message (comprising a calling number, dialing time and dialing times), and then the missed call message sending module sends the first missed call message to a short message center so that the short message center can send the first missed call message to a called user; when the database monitoring module monitors that the database is in a normal state and the missed call request receiving module receives a missed call request of a core network, the missed call message generating module generates a second missed call message (comprising a calling number, dialing time and dialing times) or a third missed call message (comprising dialing time and/or dialing times and advertisement information for ordering missed call reminding services), and then the second missed call message or the third missed call message is sent to a short message center by a missed call message sending module so that the short message center can send the second missed call message or the third missed call message to a called user; when the non-registered user receives the third missed call message and the non-registered user needs to acquire the current detailed missed call information (namely, the second missed call message is acquired), the non-registered user needs to send corresponding acquisition information (get message) to the short message center so that the short message center can forward the get message in an uplink manner; then, when the get message receiving module receives the get message forwarded by the short message center, the get message verifying module verifies the get message and obtains a verifying result; and finally, the missed call message sending module sends the current detailed missed call information (namely the second missed call message) to the short message center according to the verification result so that the short message center can send the missed call information to the unregistered user. The missed call reminding device provided by the embodiment can normally realize the missed call reminding service when the database is abnormal, avoid the interruption of the missed call reminding service caused by the abnormality of the database, improve the disaster tolerance capability of the missed call reminding service, save the backup resources of the database and reduce the cost. Meanwhile, according to the embodiment, differential missed call reminding service can be provided according to different user groups and different requirements of the different user groups, and the popularization capability of the missed call reminding service is improved.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.