Summary of the invention
For the deficiencies in the prior art, one is the object of the present invention is to provide to meet users ' individualized requirement, the implementation method of anonymous note simple to operate.
For achieving the above object, the technical solution used in the present invention is as follows: a kind of implementation method of anonymous note, and the method comprises the following steps:
Anonymous note request instruction is sent to anonymous short message server by sender, and anonymous short-message instruction comprises sender, short message content and recipient's data;
Anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number;
Anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, call the interface that third party's short message server sends note, portal number and short message content are sent to recipient;
Recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender, to reach the anonymous object sending note.
Preferably, anonymous note request instruction is sent to anonymous short message server by XMPP by described sender.
Preferably, described anonymous short message server uses http agreement to call the interface of third party's short message server transmission note.
Further, described method also comprises:
Recipient is to the portal number answer short message content of third party's short message server, and the recipient received, answer short message content and portal number data are returned to anonymous short message server by third party's short message server;
Anonymous short message server inquires about according to recipient and portal number the short message sending relation table formerly recorded, and draws sender, and then draws transmission relation: recipient | portal number | and sender;
The short message content of reply and the data of recipient are sent to corresponding sender according to transmission relation by anonymous short message server.
Preferably, the recipient received, answer short message content and portal number data are returned to anonymous short message server by http agreement by described third party's short message server;
Preferably, the short message content of reply and the data of recipient are sent to corresponding sender according to transmission relation by XMPP by described anonymous short message server.
Further, described method also comprises:
Before anonymous short message server selects the portal number of third party's short message server, anonymous short message server first inquires about the used all of the port number mailing to recipient, after used portal number is got rid of, original portal number is selected to send, to guarantee the uniqueness of transmission relation.
Further, described method also comprises:
The short message sending relation data of anonymous short message server timing cleaning outside the term of validity, makes the portal number of used third party's short message server to reclaim use.
Relative to prior art, anonymous note request instruction is sent to anonymous short message server by sender by technical solutions according to the invention, and anonymous short-message instruction comprises sender, short message content and recipient's data; Anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number; Anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, call the interface that third party's short message server sends note, portal number and short message content are sent to recipient; Recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender, to reach the anonymous object sending note, meets the individual demand of user.
In order to understand object of the present invention, characteristic sum effect fully, be described further below with reference to the technique effect of accompanying drawing to design of the present invention, concrete structure and generation.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific implementation method, be used for explaining the present invention in exemplary embodiment and description of the present invention, but not as a limitation of the invention.
Embodiment one
As shown in Figure 1, a kind of implementation method of anonymous note, the method comprises the following steps:
S101: anonymous note request instruction is sent to anonymous short message server by sender, anonymous short-message instruction comprises sender, short message content and recipient's data;
S102: anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number;
S103: anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, call the interface that third party's short message server sends note, portal number and short message content are sent to recipient;
S104: recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender, to reach the anonymous object sending note.
Anonymous note request instruction is sent to anonymous short message server by sender by technical solutions according to the invention, and anonymous short-message instruction comprises sender, short message content and recipient's data; Anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number; Anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, call the interface that third party's short message server sends note, portal number and short message content are sent to recipient; Recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender, to reach the anonymous object sending note, meets the individual demand of user.
Embodiment two
As shown in Figure 2, a kind of implementation method of anonymous note, the method comprises the following steps:
S201: anonymous note request instruction is sent to anonymous short message server by XMPP by sender, anonymous short-message instruction comprises sender, short message content and recipient's data;
S202: anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number;
S203: anonymous short message server first inquires about the used all of the port number mailing to recipient, after used portal number is got rid of, selects original portal number to send, to guarantee the uniqueness of transmission relation;
S204: anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, uses http agreement to call the interface of third party's short message server transmission note;
S205: recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender;
S206: recipient is to the portal number answer short message content of third party's short message server, and the recipient received, answer short message content and portal number data are returned to anonymous short message server by third party's short message server;
S207: anonymous short message server inquires about according to recipient and portal number the short message sending relation table formerly recorded, and draws sender, and then draws transmission relation: recipient | portal number | sender;
S208: the short message content of reply and the data of recipient are sent to corresponding sender according to transmission relation by anonymous short message server, sender receives the answer short message content showing recipient's phone number.
Embodiment three
As shown in Figure 3, a kind of implementation method of anonymous note, the method comprises the following steps:
S301: anonymous note request instruction is sent to anonymous short message server by XMPP by sender, anonymous short-message instruction comprises sender, short message content and recipient's data;
S302: anonymous short message server is connected with third party's short message server network, and third party's short message server is provided with multiple portal number;
S303: anonymous short message server first inquires about the used all of the port number mailing to recipient, after used portal number is got rid of, selects original portal number to send, to guarantee the uniqueness of transmission relation;
S304: anonymous short message server selects the portal number of third party's short message server, and record the transmission relation of sender, portal number, recipient: sender | portal number | recipient, uses http agreement to call the interface of third party's short message server transmission note;
S305: recipient receives the short message content being shown as portal number and sending, and can not show the phone number of sender;
S306: recipient is to the portal number answer short message content of third party's short message server, and the recipient received, answer short message content and portal number data are returned to anonymous short message server by http agreement by third party's short message server;
S307: anonymous short message server inquires about according to recipient and portal number the short message sending relation table formerly recorded, and draws sender, and then draws transmission relation: recipient | portal number | sender;
S308: the short message content of reply and the data of recipient are sent to corresponding sender according to transmission relation by XMPP by anonymous short message server, sender receives the answer short message content showing recipient's phone number;
S309: the short message sending relation data of anonymous short message server timing cleaning outside the term of validity, makes the portal number of used third party's short message server to reclaim use.
If the function described in the present embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present invention contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.