Summary of the invention
Main purpose of the present invention provides a kind of method and apparatus of realizing short message service, to solve the problem that the method that realizes short message service in the prior art can cause bringing to the user in some cases bad experience.
For addressing the above problem, the invention provides following technical scheme:
A kind of method that realizes short message service comprises:
Short message service device is preserved the configuration information that the user provides, and this configuration information comprises the time period information that described user is ready to receive note;
Receive the calling subscriber after the note that the called subscriber sends when short message service device, confirm to have preserved the described configuration information that the called subscriber provides, in the time period that in this configuration information, comprises this note is sent to the called subscriber then.
Described configuration information comprises:
The user comprises the note that this user is ready to receive the time period of note by what mobile communication terminal provided,
The user comprises the message that this user is ready to receive the time period of note by what internet terminal provided;
The described time period comprises the hour interval in one or more dates.
After the described configuration information that the called subscriber who confirms to have preserved this note provides, this method further comprises:
Short message service device confirms that the moment of the note that described calling subscriber sends is not in the time period that described called subscriber is ready to receive note, sends information to described calling subscriber then.
This method further comprises: this note is being sent information to described calling subscriber after the called subscriber sends.
After confirming to have preserved the described configuration information that the called subscriber provides, this method further comprises: preserve the note that described calling subscriber sends to the called subscriber.
This method further comprises: download interface is set, is used for sending to described called subscriber the note of preservation.
A kind of device of realizing short message service comprises:
Module is set, is used to preserve the configuration information that the user provides, this configuration information comprises the time period that described user is ready to receive note;
Analysis module is used for confirming that when receiving the calling subscriber after the note that the called subscriber sends module is set has preserved the described configuration information that the called subscriber provides;
Forwarding module is used for after analysis module is finished described affirmation, and the note that in the time period that comprises in the configuration information that the called subscriber provides the calling subscriber is sent sends to the called subscriber.
Described analysis module is further used for confirming that the moment of the note that described calling subscriber sends is not in the time period that described called subscriber is ready to receive note; Described device further comprises first sending module, is used for confirming that at described analysis module the moment of the note that described calling subscriber sends is not in after described called subscriber is ready to receive the time period of note, sends information to described calling subscriber.
Described device further comprises second sending module, is used at forwarding module the note that described calling subscriber sends being sent information to described calling subscriber after the called subscriber sends.
Described device further comprises:
Memory module is used for confirming that at described analysis module the moment of the note that described calling subscriber sends is not in after described called subscriber is ready to receive the time period of note, preserves the note that described calling subscriber sends to the called subscriber;
Sending module is used for sending the note that memory module is preserved to described called subscriber.
Technical scheme according to present embodiment, the user can the selective reception note time period, the note that mails to this user only just can arrive the user in the time period that the user is provided with, like this, the user just can make own in undesirable time period, for example give a lesson, avoid note in the meeting, rest equal time and bother, improved the service quality of operator, promoted user experience.
Embodiment
Embodiment to the application makes an explanation below in conjunction with accompanying drawing.Accompanying drawing is used to help to understand the technical scheme of embodiment, can be not limited to form shown in the drawings in various realizations.
In the method for realization short message service in the present embodiment, for study, work or the rest that does not influence the user, the user can be provided with the time period information of oneself being ready to receive note, realizes that the device of short message service only sends note in the time period that the user is provided with to the user.For this reason, need preserve the configuration information that the user provides at network side, this configuration information comprises the time period information that described user is ready to receive note.Preserving type can be to be the configuration information that sign is preserved this user with the user mobile phone number.Next as shown in Figure 1, for realizing realizing in the present embodiment method of short message service, realize that the device of short message service also will be carried out following steps:
Step 11: receive the note that the calling subscriber sends.The user has provided the time period that the user is ready to receive note in the configuration information that network side provides, can be some day or several days identical hour interval, also can be different hour intervals, the user can be provided with flexibly.The user sends to network side with the terminal of configuration information by mobile communications network mobile phone for example with short message mode in this step, in addition the user also can by internet terminal for example personal computer send the message that comprises configuration information.The user can specify some time period to be reluctant to receive note in addition, and the meaning is all is ready to receive note in time except that these time periods.
Step 12: judge whether the called subscriber provides configuration information.The called subscriber here is the relative called subscriber of the calling subscriber in the step 11.Search configuration information that should cell-phone number according to called cell-phone number,, think that then the user provides configuration information, entersstep 14 if can find; Otherwise think that then this user does not provide configuration information, entersstep 13.
Step 13: the note that the calling subscriber is sent is transmitted to the called subscriber.
Step 14: judge that the called subscriber is current and whether be ready to receive note.Because preserved the configuration information that the called subscriber provides,, just can judge the called current note of whether being ready to receive according to this configuration information and current time.If, then enteringstep 13, the note that the calling subscriber is sent is transmitted to the called subscriber, otherwise entersstep 15.
Step 15: preserve the note that the calling subscriber sends.It is in order in the called time period of being ready to receive note note to be sent to the called subscriber, only to carry out this preservation after the judgement in carry outstep 14 for the first time that the note that in this step the calling subscriber is sent is preserved.Next after default time-delay, judge the called current note of whether being ready to receive once more, enter the time period that the called subscriber is ready to receive note, enterstep 13 then up to the time.
Below for the device of realizing short message service among the above-mentioned steps 11-15 for example sms center some specific practices that can adopt be described further again.
Instep 14, be unwilling to receive note if the called subscriber is current, can send information to the calling subscriber so,, can inform also when this note of calling subscriber specifically mails in the called subscriber to express the meaning of " the other user is current to be reluctant to receive note; this note will send after a while ".If this note is sent after a while, then after sending, can point out this note of calling subscriber to send.
For the called subscriber, if having the people to send note oneself being reluctant to receive in the time period of note, these notes can be kept at network side so; The called subscriber can download by the Internet, and for this reason, network side can be provided with a download interface that is used for sending to the user note.The user can reply these notes by the Internet by after the Internet download note.
Based on above-mentioned method, the corresponding more below device with said method is done an explanation.Below will install branch for plurality of modules by function, these functional modules can realize with the form of software, hardware or the two combination, and these functional modules can be separately as autonomous device in realization, or are the part of same equipment.As shown in Figure 2, thedevice 20 of the realization short message service in the present embodiment comprisesmodule 21,analysis module 22 andforwarding module 23 is set.Module 21 is set is used to preserve the configuration information that the user provides, this configuration information comprises the time period that this user is ready to receivenote.Analysis module 22 is used for confirming that when receiving the calling subscriber after the note that the called subscriber sends module is set has preserved the described configuration information that the called subscriber provides.Forwarding module 23 is used for after analysis module is finished described affirmation, and the note that in the time period that comprises in the configuration information that the called subscriber provides the calling subscriber is sent sends to the called subscriber.
Foranalysis module 22, concrete working method can be to search configuration information by called subscriber's cell-phone number in the configuration information of preserving frommodule 21 is set.According to whether existing called subscriber's configuration information to confirm whether this user provides configurationinformation.Analysis module 22 can also be further used under the situation that finds called subscriber's configuration information further judging that the called subscriber is current whether is ready to receive note, confirms promptly whether the moment of the note that the calling subscriber sends is in the time period that described called subscriber is ready to receive note.Like this, thedevice 20 of the realization short message service in the present embodiment may further include first sending module, be used for not being in after the called subscriber is ready to receive the time period of note, send information to the calling subscriber in the moment thatanalysis module 22 acknowledges receipt of the note that the calling subscriber sends.
If the moment of the note that the calling subscriber sends is not in the time period that described called subscriber is ready to receive note, arrived the called subscriber so and be ready that interior this note of time period that receives note just is sent out, can send information this moment to the calling subscriber, and thedevice 20 of for this reason realizing short message service may further include second sending module and sends this information.
Thedevice 20 of realization short message service can be preserved those notes that can not send to the called subscriber immediately, specifically can finish by memory module, this memory module is used for not being in after the called subscriber is ready to receive the time period of note in the moment thatanalysis module 22 acknowledges receipt of the note that the calling subscriber sends, and preserves the note that the calling subscriber sends.The note that will mail to the called subscriber for preserving can send to the called subscriber by the Internet by sending module.
Below in conjunction with existing cordless communication network present embodiment is described further again.Concrete networking in the present embodiment can be adopted the form of Fig. 3, and each Network Element Function is described below among Fig. 3:
Terminal 31 andterminal 37 are terminal equipments of user, can be used for sending or receiving note, are connected withsms center 32 by airinterface.Sms center 32 is core network elements of point-to-point note, receivesservice server 33 with short message timing and joins.Receive the note ofterminal 31 transmissions when sms center after, send this note and receiveservice server 33 to short message timing, receive the request message that short message timing receivesservice server 33 simultaneously, this request message be used to asksms center 32 immediately or time-delay send note.
Short message timing receivesservice server 33 for the user provides the service of accepting, and preserves the user profile data, and professional concrete enforcement of control for operations such as web inquiry provide Data Source, receives the various operation requests of web side.Web Application Server 34 provides the approach that carries out message search, answer, management by web for the user, and this data in server receivesservice server 33 from short message timing and obtains.
Subscriber computer 35 can be connected toWeb Application Server 34 by the Internet network, and carries out various operations, for example downloads and answer short message.Short Message Service Gateway 36 can receive the message that short message timing receivesservice server 33, and the prompting message when having reached certain limit as system for the temporary transient note of preserving of user etc. also can receive user instruction message, carry out business setting.
Fig. 4 forms for short message timing receivesservice server 33 internal modules, and each functions of modules is described as follows:
331 modules are protocol gateway modules, be responsible for and other network elements between communication, to message encode, decoding etc.
332 modules are the modules of accepting of short message timing receiving system, are responsible for the opening an account of user, cancellation, time-out, activation; User profile is set (whether the prompting message of time period setting, system issues); User profile inquiry etc.
333 modules are business function control modules of short message timing receiving system, after the message that receives sms center, carry out service logic control by this module, realize regularly receiving professional concrete function, as: time set etc. is temporarily preserved, regularly issued to the note in the comparison of current time of reception and user time, period by system; The part solicit operation of web side also needs this module to handle.
334 modules are web application modules, and the management function of web form is provided for the user.The user can pass through web server lookup, deletion, download, modification, answer short message.
335 modules are database module, are the mutual core ties of each intermodule.Each module is all operated this database.332 modules are according to user's request, user profile and attribute are carried out additions and deletions change and look into; 333 modules are carried out subscription authentication by database module, information inquiry coupling, note preservation etc.; 334 modules according to user's solicit operation to the short message content of preserving in the database delete, revise, operation such as inquiry.
Fig. 5 is that short message timing receives operation flow, and sending note with user A to user B is example, and each message is as follows alternately in this flow process:
Step 501, user A sends point-to-point message to user B, and message at first is delivered to sms center.
Step 502, sms center is replied response message.
Step 503, sms center confirm that user B belongs to regularly to receive professional user, sends the message to then and regularly receives service server.Do not belong to the user who regularly receives business if confirm user B in this step, this note directly can be sent to user B.
Step 504, regularly receiving service server replys response message to sms center.
Step 505, regularly receive service server and carry out regularly receiving professional concrete logical process, comprise user B is carried out authentication, contrast the time period that current time of reception and user B set, the temporary transient note that is mail to user B by user A of preserving, the setting plan issues the time.
Forstep 505, specifically can carry out by following mode shown in Figure 6:
Step 61: judge that whether current time receives in the time period of note at being ready of setting of user B.If directly enterstep 64, otherwise enterstep 62.
Step 62: preserve the note that mails to user B.
Step 63: whether the regular check current time has arrived time period of being ready to receive note that user B sets, should the time period if arrived, enterstep 64.
Step 64: note is sent to sms center.
Afterstep 64, enterstep 506, as follows:
Step 506, the short message timing reception server sends a request message to sms center, and request is mail to user B in the time that issues of plan with the note of preserving.The time that issues of this plan can be to issue immediately according to the concrete execution result ofstep 505, also can be to issue by the time that the user sets.
Step 507, sms center is replied response message.
Step 508, sms center mails to user B to message.
Step 509, the terminal equipment of user B is replied response message and is given sms center.
Step 510, sms center are according to the response message in thestep 509, and the structural regime report message sends to the short message timing reception server to this status report messages, send information such as success or failure to indicate the note that mails to user B from user A.
Step 511, the short message timing reception server is replied response message to sms center.
Step 512, the short message timing reception server is the condition of information report message in smscenter return phase 503.
Step 513, sms center recoil state report response message, flow process finishes.
For the note that the short message timing reception server is preserved, operations such as the user can browse by website, web side door family, downloads, answer can be undertaken by following flow process, with being shown among Fig. 3:
Step 514, subscriber computer is initiated query requests by the Internet network to Web server.
Step 515, Web Application Server is to short message timing reception server inquiring user data.
Step 516, short message timing reception server are returned user data and are given Web Application Server.
Step 517, Web Application Server are returned user's relevant information and are given the user, for example mail to this user's note, for operations such as the user download or browses.
Technical scheme according to present embodiment, the user can the selective reception note time period, the note that mails to this user only just can arrive the user in the time period that the user is provided with, like this, the user just can make own in undesirable time period, for example give a lesson, avoid note in the meeting, rest equal time and bother, and these notes can be kept at network side, wish that up to the user time of receiving arrives, be handed down to the user again.Be kept at the note of network side, the user can at the convenient time browse, downloads, reply.For the note sender, he also can receive the feedback information of network side, with learn note that he sends by delay sending to the called subscriber.All these have all improved the service quality of operator, have promoted user experience.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.