Detailed Description
The technical solutions of the embodiments of the present invention are further described in detail with reference to the accompanying drawings and embodiments.
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides a message processing method, including:
step 101, an enhanced service platform receives a source address and a destination address of a Mobile Originated (MO) message sent by a message service center MSC;
in an embodiment of the present invention, the source address or destination address of the message may be the number of the mobile terminal that sent or received the message. The message Service Center MSC may be a Short Message Service Center (SMSC) or a Multimedia Message Service Center (MMSC). When the mobile terminal receives the MO message sent by the mobile terminal, the MSC may send a delivery message to the enhanced service platform, where the delivery message includes a source address and a destination address of the MO message received by the MSC.
Step 102, the enhanced service platform queries an address book corresponding to the source address of the MO message, obtains identity information corresponding to the destination address of the MO message, and sets the destination address of a Mobile Terminated (MT) message according to the source address or the destination address of the MO message. The enhanced Service platform may be a Service Control Point (SCP), or a Service server, or other Service Control platforms.
After receiving the source address and the destination address of the MO message, the enhanced service platform queries the address book corresponding to the source address of the MO message to obtain the identification information corresponding to the destination address of the MO message, such as the name, nickname, group to which the destination address corresponds. The address book may be stored locally or in a Personal Information Management (PIM) server. The destination address of the MT message can be set according to the preset information of the destination address of the MO message in the enhanced service platform. If the destination address of the MO message is preset with a message forwarding or message copying operation, the destination address of the MT message is the preset forwarding or copying address, that is, the MT message is the forwarding or copying message of the MO message; if the destination address of the MO message does not preset message forwarding or message copying, the destination address of the MT message is the source address of the MO message, that is, the MT message is receipt information of the MO message. The enhanced service platform may construct a submit message, which includes the content of the MT message, such as the forwarding or copy message of the MO message, or the receipt information of the MO message, and in the submit message, all the content related to the destination address of the MO message is replaced by the queried identification information thereof.
The PIM service allows a user to keep personal information data, such as an address book, a schedule, a memo pad, etc., in a mobile terminal consistent with a PIM server, such as a computer or a mobile network server, etc., in a wireless or wired manner, and to query and manage the personal information data using various terminals and various access means. The user can backup the personal information data in the mobile terminal to the PIM server, and also can download the personal information data in the PIM server to the mobile terminal, namely, the data synchronization between the mobile terminal and the PIM server is kept, so that the personal information data loss caused by the replacement or loss of the mobile terminal is avoided. For group users, a group administrator may manage enterprise information data such as an enterprise address book through the PIM server.
Step 103, the enhanced service platform forms an MT message according to the identity information and the destination address of the MT message, and sends the MT message to the MSC.
The embodiment of the invention adds the identity identification information corresponding to the terminal address into the MT message to be sent by providing a message processing method, thereby enhancing the practicability of the message service.
On the basis of the above method embodiment, the step of the enhanced service platform querying the address book corresponding to the source address of the MO message and acquiring the identity information corresponding to the destination address of the MO message may include:
the method comprises the steps that an enhanced service platform sends a query request message to a PIM server, wherein the query request message comprises a source address and a destination address of an MO message, so that the PIM server obtains identity identification information corresponding to the destination address of the MO message according to an address book corresponding to the source address of the MO message;
and the enhanced service platform receives the identity identification information which is sent by the PIM server and corresponds to the destination address of the MO message.
The address book may be stored in the PIM server, and after the enhanced service platform receives the source address and the destination address of the MO message sent by the MSC, the identity information corresponding to the destination address of the MO message may be queried through the address book stored in the PIM server.
On the basis of the above method embodiment, the step of the enhanced service platform querying the address book corresponding to the source address of the MO message and acquiring the identity information corresponding to the destination address of the MO message may further include:
and the enhanced service platform acquires the identity identification information corresponding to the destination address of the MO message according to the local address book corresponding to the source address of the MO message.
Preferably, the enhanced service platform acquires the address list from the PIM server periodically, or receives the address list sent by the PIM server in real time as a local address list.
The enhanced service platform may locally store an address book, and after receiving a source address and a destination address of the MO message sent by the MSC, the enhanced service platform may directly query, through the local address book, identity information corresponding to the destination address of the MO message. Moreover, the local address book can be synchronized with an address book stored by the PIM server, for example, the enhanced service platform periodically obtains the content of the address book from the PIM server, or the PIM server notifies the enhanced service platform to update when the user address book changes. Namely, the data in the enhanced service platform and the PIM server are kept synchronous, so that the data loss caused by the replacement or loss of the mobile terminal is avoided.
The embodiment of the invention provides a message processing method, and the identity identification information corresponding to the terminal address is added into the MT message to be sent through the locally stored address list, so that the practicability of the message service is enhanced.
Fig. 2 is a flowchart of another embodiment of a message processing method according to the present invention. As shown in fig. 2, on the basis of the foregoing technical solution, an embodiment of the present invention further provides a message processing method, including:
step 201, an enhanced service platform receives a source address and a destination address of a mobile station originating MO message sent by a message service center MSC;
step 202, the enhanced service platform queries an address book corresponding to a source address of the MO message, and acquires identity information corresponding to a destination address of the MO message;
step 203, the enhanced service platform inquires whether a preset address associated with the destination address of the MO message is stored according to the destination address of the MO message; if the preset address is inquired, executing step 204, otherwise, executing step 205;
step 204, setting the preset address as the destination address of the MT message;
step 205, setting the source address of the MO message as the destination address of the MT message;
step 206, the enhanced service platform forms an MT message according to the identity information and the destination address of the MT message, and sends the MT message to the MSC.
In the embodiment of the present invention, the destination address of the MT message may be set according to the preset information of the destination address of the MO message in the enhanced service platform. If the destination address of the MO message is preset with a message forwarding or message copying operation, the destination address of the MT message is the preset forwarding or copying address, that is, the MT message is a forwarding or copying message of the MO message sent to the preset address, for example, the MT message formed by the subsequent MSC may include contents of "transfer from coworkers three" or "copy from friends lee four", and the like; if the destination address of the MO message does not preset message forwarding or message copy operation, the destination address of the MT message is the source address of the MO message, that is, the MT message is receipt information sent to the source address of the MO message, for example, the MT message formed by the subsequent MSC may include contents such as "message delivery success you send to king five of family" and the like.
The message in the above technical solution may be a short message, which is commonly called a "short message", or a multimedia message, which is commonly called a "multimedia message". Therefore, the message processing method provided by the embodiment of the invention can be applied to short message service and multimedia message service.
When the message is a short message, the MO message is an MO short message, the MT message is an MT short message, and a message service center MSC which is communicated with the enhanced service platform is a short message service center SMSC;
when the message is a multimedia message, the MO message is an MO multimedia message, and the MT message is an MT multimedia message, and at this time, the message service center MSC communicating with the enhanced service platform is a multimedia service center MMSC.
The embodiment of the invention adds the identity identification information corresponding to the terminal address into the MT message to be sent by providing a message processing method, thereby enhancing the practicability of the message service.
Fig. 3 is a flowchart of a message processing method according to an embodiment of the present invention. As shown in fig. 3, taking a short message service as an example, the message processing method provided in the embodiment of the present invention includes:
step 301, terminal a sends MO short message to SMSC, and the destination address is terminal B;
step 302, SMSC judges that terminal A signs the receipt service, then sends delivery (delivery _ sm) message to the enhanced service platform;
the delivery Message is a Short Message Peer to Peer protocol (SMPP) Message of an IP layer, and includes all information of the MO Short Message, such as a calling number, a called number, and a Short Message content.
Step 303, the enhanced service platform sends a submit message (submit _ sm) to the SMSC, which is used for indicating the SMSC to issue the MT short message to the terminal B;
step 304, SMSC sends MT short message to terminal B;
step 305, the terminal B returns a status report to the SMSC, wherein the status report is used for indicating whether the MT short message is successfully sent;
step 306, when receiving the status report sent by the terminal B, the SMSC sends a delivery (deliverer _ sr) message to the enhanced service platform, and informs the enhanced service platform of the status report;
step 307, the enhanced service platform sends a submit _ sr message to the SMSC according to the status report, and is used for informing the SMSC of the enhanced service logic processing result initiated by the sender _ sm of the enhanced service platform and instructing the SMSC to perform operations such as subsequent charging;
step 308, the enhanced service platform sends a query request to the PIM, where the query request includes the source address and the destination address of the MO short message, i.e. the numbers of the terminal a and the terminal B;
step 309, PIM sends the identification information corresponding to the destination address of the MO short message, i.e. the identification information of terminal B, to the enhanced service platform;
step 310, the enhanced service platform constructs a submit message according to the identity information corresponding to the destination address of the MO short message, and sends the submit message to the SMSC, so as to instruct the SMSC to issue the MT short message, i.e. the receipt information, to the terminal a;
and step 311, the SMSC forms an MT short message according to the submit _ sm message, and sends the MT short message to the terminal a.
The embodiment of the invention enhances the practicability of the short message receipt service by providing a message processing method and adding the identity identification information corresponding to the terminal address into the receipt information to be sent.
Fig. 4 is a flowchart of another embodiment of a message processing method according to the present invention. As shown in fig. 4, taking a short message service as an example, the message processing method provided in the embodiment of the present invention includes:
step 401, performing address book synchronization operation between the enhanced service platform and the PIM;
for steps 402 to 408, refer to steps 301 to 307 in the above-mentioned embodiment of the method, which are not described herein again;
step 409, the enhanced service platform acquires identity information corresponding to the terminal B according to the local address book of the terminal A, if the query in the local address book is successful, the step 412 is directly executed, otherwise, the step 410 is executed;
steps 410 to 413 refer to steps 308 to 311 in the above-mentioned embodiment of the method, and are not described herein again.
The embodiment of the invention enhances the practicability of the short message receipt service by providing a message processing method and adding the identity identification information corresponding to the terminal address into the receipt information to be sent.
Fig. 5 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention. As shown in fig. 5, an embodiment of the present invention provides a message processing apparatus, including: a receiving module 501, a processing module 502 and a sending module 503. The receiving module 501 is configured to receive a source address and a destination address of an MO message originated from a mobile station sent by a message service center MSC; the processing module 502 is configured to query the address book corresponding to the source address of the MO message obtained by the receiving module 501, obtain the identity information corresponding to the destination address of the MO message, and set the destination address of the MT message of the mobile station according to the source address or the destination address of the MO message; the sending module 503 is configured to form an MT message according to the identity information and a destination address of the MT message, and send the MT message to the MSC.
The message processing device in the embodiment of the present invention may be an enhanced service platform, and the source address or the destination address of the message may be a number of a mobile terminal that sends or receives the message. The message service center MSC may be an SMSC or an MMSC. When the mobile terminal receives the MO message sent by the mobile terminal, the MSC may send a delivery message to the enhanced service platform, where the delivery message includes a source address and a destination address of the MO message received by the MSC. When the receiving module 501 receives the source address and the destination address of the MO message, the processing module 502 queries the address book corresponding to the source address of the MO message to obtain the identification information corresponding to the destination address of the MO message, such as the name, nickname, group belonging to the destination address, and the like corresponding to the destination address. The address book can be stored locally or in the PIM server. The processing module 502 sets the destination address of the MT message according to the preset information of the destination address of the MO message in the enhanced service platform. If the destination address of the MO message is preset with a message forwarding or message copying operation, the destination address of the MT message is the preset forwarding or copying address, that is, the MT message is the forwarding or copying message of the MO message; if the destination address of the MO message does not preset message forwarding or message copying, the destination address of the MT message is the source address of the MO message, that is, the MT message is receipt information of the MO message. The processing module 502 may construct a submit message, which includes the content of the MT message, such as a forwarding or copy message of the MO message, or receipt information of the MO message, and in which all the content of the destination address of the MO message is replaced by the queried identification information thereof.
The embodiment of the invention enhances the practicability of the message service by providing the message processing device and adding the identity identification information corresponding to the terminal address into the MT message to be sent.
Fig. 6 is a schematic structural diagram of another embodiment of a message processing apparatus according to the present invention. As shown in fig. 6, on the basis of the above device embodiment, the processing module 502 may include: a transmitting unit 601 and a receiving unit 602. The sending unit 601 is configured to send a query request message to the PIM server, where the query request message includes a source address and a destination address of the MO message acquired by the receiving module 501, so that the PIM server acquires, according to an address book corresponding to the source address of the MO message, identity information corresponding to the destination address of the MO message; the receiving unit 602 is configured to receive identity information sent by the PIM server and corresponding to a destination address of the MO message.
In the embodiment of the present invention, the address book is stored in the PIM server, and after the receiving module 501 receives the source address and the destination address of the MO message sent by the MSC, the identity information corresponding to the destination address of the MO message is queried through the address book stored in the PIM server.
The embodiment of the invention enhances the practicability of the message service by providing the message processing device and adding the identity identification information corresponding to the terminal address into the MT message to be sent by utilizing the PIM server.
On the basis of the above apparatus embodiment, the processing module 502 may further be configured to obtain, according to the address book locally stored in the storage module 603 and corresponding to the source address of the MO message, the identity information corresponding to the destination address of the MO message.
Further, the message processing apparatus provided in the embodiment of the present invention may further include: an address list obtaining module 604, where the address list obtaining module 604 is configured to obtain an address list from the PIM server periodically, or receive an address list sent by the PIM server in real time as a local address list.
At this time, the storage module 603 of the enhanced service platform locally stores an address book, and after the receiving module 501 receives the source address and the destination address of the MO message sent by the MSC, the processing module 502 may directly query the identity information corresponding to the destination address of the MO message through the address book stored in the storage module 603. Moreover, the local address book may be synchronized with an address book stored in the PIM server, for example, the enhanced service platform periodically obtains the content of the address book from the PIM server, or the PIM server notifies the enhanced service platform of updating in real time when the user address book changes. Namely, the data in the enhanced service platform and the PIM server are kept synchronous, so that the data loss caused by the replacement or loss of the mobile terminal is avoided.
The embodiment of the invention provides a message processing method, and the identity identification information corresponding to the terminal address is added into the MT message to be sent through the locally stored address list, so that the practicability of the message service is enhanced.
Fig. 7 is a schematic structural diagram of a message processing apparatus according to still another embodiment of the present invention. As shown in fig. 7, on the basis of the foregoing technical solution, the processing module 502 may further include: an inquiry unit 701 and a setting unit 702. The querying unit 701 is configured to query whether a preset address associated with a destination address of the MO message is stored according to the destination address of the MO message; the setting unit 702 is configured to set the preset address as a destination address of the MT message if the querying unit 701 queries the preset address; otherwise, the source address of the MO message is set to the destination address of the MT message.
In the embodiment of the present invention, the destination address of the MT message may be set according to the preset information of the destination address of the MO message in the enhanced service platform. If the querying unit 701 queries that the destination address of the MO message is preset with a message forwarding or message copying operation, the destination address of the MT message is the preset forwarding or copying address, that is, the MT message is a forwarding message or a copying message of the MO message sent to the preset address, for example, the MT message formed by a subsequent MSC may include contents of "transfer from coworkers three" or "copy from friends lee four", and the like; if the querying unit 701 does not query the preset address, that is, the destination address of the MO message does not have the message forwarding or message copying operation set in advance, the destination address of the MT message is the source address of the MO message, that is, the MT message is receipt information sent to the source address of the MO message, for example, the MT message formed by the subsequent MSC may include contents such as "message delivery success that you send to king five of family" and the like.
The embodiment of the invention enhances the practicability of the message service by providing the message processing device and adding the identity identification information corresponding to the terminal address into the MT message to be sent.
Fig. 8 is a system block diagram of an embodiment of a message processing system of the present invention. As shown in fig. 8, an embodiment of the present invention provides a message processing system, including: a message service center MSC801, an enhanced service platform 802 and a personal information management PIM server 803. The MSC801 is configured to send a source address and a destination address of an MO message when receiving the MO message sent by the mobile terminal. The enhanced service platform 802 is configured to receive a source address and a destination address of an MO message sent by the MSC 801; inquiring an address book corresponding to a source address of the MO message, and acquiring identity identification information corresponding to a destination address of the MO message; setting a destination address of an MT message to be sent by the MSC801 according to a source address or a destination address of the MO message; and forming an MT message according to the identification information and the destination address of the MT message, and sending the MT message to the MSC. The PIM server 803 is configured to receive a query request message sent by the enhanced service platform 802; acquiring identity identification information corresponding to a destination address of the MO message according to an address book corresponding to a source address of the MO message; and sending the identity information corresponding to the destination address of the MO message to enhanced service platform 802.
The functions of the modules included in the message processing system are implemented as described in detail in the above method embodiments, and are not described herein again.
The embodiment of the invention enhances the practicability of the message service by providing a message processing system and adding the identity identification information corresponding to the terminal address into the MT message to be sent.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and certainly may be implemented by hardware, but in many cases, the former is a better embodiment. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the invention without departing from the spirit and scope of the invention.