CN105813033B - Method, device and system for communication between instant message and short message - Google Patents
Method, device and system for communication between instant message and short message Download PDFInfo
- Publication number
- CN105813033B CN105813033B CN201410840674.2A CN201410840674A CN105813033B CN 105813033 B CN105813033 B CN 105813033B CN 201410840674 A CN201410840674 A CN 201410840674A CN 105813033 B CN105813033 B CN 105813033B
- Authority
- CN
- China
- Prior art keywords
- message
- instant message
- short message
- instant
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The embodiment of the invention discloses a method, a device and a system for communication between instant messages and short messages, wherein the method comprises the following steps: acquiring an instant message; carrying out format conversion on the instant message to obtain a corresponding short message; and sending the short message and an information type identifier of the short message, wherein the information type identifier indicates that the short message is an instant message simulation short message. Through the technical scheme of the embodiment of the invention, the network equipment can accurately distinguish different types of short messages, thereby being beneficial to executing further distinguishing processing and improving the flexibility of information processing.
Description
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a method, an apparatus, and a system for communicating an instant message and a short message.
Background
At present, multiple operators and internet companies put forward instant message services and realize the intercommunication between instant messages and short messages. Some systems are realized by adding a service prefix code when an instant message is converted into a short message, and a receiver can distinguish the message from a common short message when receiving the message, but the displayed number is the prefix code added in front of the number of a sender, so the number cannot be matched with the name of a contact person locally stored by the user frequently, and the user may not know who the sender is. Therefore, some systems translate the instant message sent by the sender into a short message through protocol conversion, simulate the short message into a common short message and send the common short message to the receiver through the short message center.
However, based on the prior art, network devices such as a short message center and a short message gateway cannot distinguish a short message converted from an instant message from a normal short message, and further cannot perform relevant processing such as differentiated charging.
Disclosure of Invention
In view of this, in order to solve the existing technical problems, embodiments of the present invention provide:
a method for communication between instant message and short message includes:
acquiring an instant message;
carrying out format conversion on the instant message to obtain a corresponding short message;
and sending the short message and an information type identifier of the short message, wherein the information type identifier indicates that the short message is an instant message simulation short message.
In a specific embodiment, before the instant message is converted to obtain the corresponding short message, the method further includes:
and determining that the instant message receiver user is not an instant message user or that the instant message receiver user is an instant message user but is not online currently by querying a number resolution server and/or an instant message service platform.
In a specific embodiment, the information type identifier is a preset information type identifier or an address of an instant messaging service platform.
In one embodiment, the method further comprises:
the charging platform acquires the short message and the information type identifier of the short message;
and the charging platform carries out charging processing according to the short message and the information type identifier of the short message.
The embodiment of the invention also provides a device for communication between the instant message and the short message, which comprises the following steps: the device comprises an acquisition module, a conversion module and a sending module; wherein the content of the first and second substances,
the acquisition module is used for acquiring the instant message;
the conversion module is used for carrying out format conversion on the instant message to obtain a corresponding short message;
the sending module is used for sending the short message and the information type identifier of the short message, wherein the information type identifier indicates that the short message is an instant message simulation short message.
In one embodiment, the apparatus further comprises a determining module.
The judging module is used for inquiring a number analysis server and/or an instant message service platform after the instant message is acquired by the acquiring module, judging whether the instant message receiver user is an instant message user, and further judging whether the user is online when the instant message receiver user is determined to be the instant message user;
the conversion module is specifically configured to, when the determination module determines that the instant message recipient user is not an instant message user, or that the instant message recipient user is an instant message user but is not currently online, perform format conversion on the instant message to obtain a corresponding short message.
The embodiment of the invention also provides a system for communication between the instant message and the short message, which comprises the following steps: the device for communication between the instant message and the short message, and the number analysis server and/or the instant message service platform; wherein the content of the first and second substances,
the device for communication between the instant message and the short message is the device for communication between the instant message and the short message;
and the number analysis server and/or the instant message service platform are used for responding to the query request of the judgment module.
In one embodiment, the system further comprises a billing platform,
the charging platform is used for acquiring the short message and the information type identifier of the short message; and then, carrying out charging processing according to the short message and the information type identifier of the short message.
The method, the device and the system for communication between the instant message and the short message acquire the instant message; carrying out format conversion on the instant message to obtain a corresponding short message; and sending the short message and an information type identifier of the short message, wherein the information type identifier indicates that the short message is an instant message simulation short message. Through the technical scheme of the embodiment of the invention, the network equipment can accurately distinguish different types of short messages, thereby being beneficial to executing further distinguishing processing and improving the flexibility of information processing.
Drawings
FIG. 1 is a flowchart illustrating a method for communication between an instant message and a short message according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a device for communicating between an instant message and a short message according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an apparatus for communicating between an instant message and a short message according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a system for communication between an instant message and a short message according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a system for communication between an instant message and a short message according to another embodiment of the present invention;
fig. 6 is a schematic view of a system structure for communication between an instant message and a short message in embodiment 1 of the present invention;
fig. 7 is a schematic diagram of an internal structure of a calling-side instant message service platform in embodiment 1 of the present invention;
fig. 8 is a schematic view of a flow of sending an instant message simulating a normal short message when the called subscriber is a non-instant message subscriber in embodiment 1 of the present invention;
fig. 9 is a schematic view of a system structure for communication between an instant message and a short message in embodiment 2 of the present invention;
fig. 10 is a schematic view of a flow of sending an instant message by simulating a normal short message when a called user is an offline instant message user according to embodiment 2 of the present invention.
Detailed Description
In order to enable network equipment to accurately distinguish different types of short messages and improve the flexibility of information processing, the embodiment of the invention provides a method for communication between an instant message and a short message, as shown in fig. 1, the method comprises the following steps:
step 101: acquiring an instant message;
step 102: carrying out format conversion on the instant message to obtain a corresponding short message;
step 103: and sending the short message and an information type identifier of the short message, wherein the information type identifier indicates that the short message is an instant message simulation short message.
In a specific embodiment, before the instant message is converted to obtain the corresponding short message, the method further includes:
and determining that the instant message receiver user is not an instant message user or that the instant message receiver user is an instant message user but is not online currently by querying a number resolution server and/or an instant message service platform.
In a specific embodiment, the information type identifier is a preset information type identifier or an address of an instant messaging service platform.
In one embodiment, the method further comprises:
a charging platform acquires a short message and an information type identifier of the short message;
and the charging platform carries out charging processing according to the short message and the information type identifier of the short message.
The embodiment of the present invention further provides a device for communication between an instant message and a short message, as shown in fig. 2, the device includes: an acquisition module 21, a conversion module 22 and a sending module 23; wherein the content of the first and second substances,
the obtaining module 21 is configured to obtain an instant message;
the conversion module 22 is configured to perform format conversion on the instant message to obtain a corresponding short message;
the sending module 23 is configured to send the short message and an information type identifier of the short message, where the information type identifier indicates that the short message is an instant message simulation short message.
In one embodiment, as shown in FIG. 3, the apparatus further comprises a determining module 24.
The judging module 24 is configured to, after the obtaining module 21 obtains the instant message, query a number resolution server and/or an instant message service platform, judge whether the instant message recipient user is an instant message user, and further judge whether the instant message recipient user is online when it is determined that the instant message recipient user is an instant message user;
the conversion module 22 is specifically configured to, when the determination module determines that the instant message recipient user is not an instant message user, or that the instant message recipient user is an instant message user but is not online currently, perform format conversion on the instant message to obtain a corresponding short message.
The embodiment of the present invention further provides a system for communication between an instant message and a short message correspondingly, as shown in fig. 4, the system includes: a device 41 for communication between instant message and short message, and a number resolution server 42 and/or an instant message service platform 43; wherein the content of the first and second substances,
the instant message and short message communication device 41 is the instant message and short message communication device shown in fig. 2 or fig. 3;
the number resolution server 42 and/or the instant message service platform 43 are configured to respond to the query request of the determination module 24.
In one embodiment, as shown in fig. 5, the system further includes a billing platform 44,
the charging platform 44 is configured to obtain the short message and an information type identifier of the short message; and then, carrying out charging processing according to the short message and the information type identifier of the short message.
The technical solution of the present invention is further described in detail by the following specific examples.
Example 1
The embodiment provides an instant message and short message intercommunication system and a method for distinguishing an instant message analog short message from a common short message, which can be used for distinguishing charging or other possible scenes.
Fig. 6 is a schematic diagram of a system structure for communication between an instant message and a short message in embodiment 1 of the present invention, as shown in fig. 6, the system includes an instant message user, a calling side instant message service platform, a number resolution server, a calling side instant message-short message conversion platform, a calling home short message center, a short message gateway, a charging platform, a user data storage server, and a called access mobile switching center, wherein,
the internal structure of the calling side instant message service platform is shown in fig. 7, and comprises a service access module and an instant message function module, wherein the service access module is responsible for routing an instant message sent by an instant message user to the instant message function module and for inquiring whether a called user is an instant message user from a number resolution server. If the called user is not the instant message user, the instant message function module is responsible for sending the instant message to the instant message-short message conversion platform;
the instant message-short message conversion platform is responsible for protocol conversion, converts instant messages into simulated common short messages and sends the simulated short messages to a short message center, and the address of the instant message service platform is required to be carried when the simulated short messages are sent;
the short message center is responsible for distinguishing the source of the short message, identifying whether the short message is the analog MO short message from the instant message service platform, and distinguishing when the short message center reports the charging system, so that the charging system can charge according to the short message center call bill in a distinguishing manner.
Specifically, the short message center judges whether the short message is a simulated short message from the instant message service platform according to whether the address of the instant message service platform is carried during sending. There are two following ways to distinguish instant message analog short messages from ordinary short messages:
the first method is as follows: the short message center carries the address of the instant message service platform and reports the address to other platforms (such as a charging platform), and the charging platform can perform different charging after determining the message source according to the address of the instant message service platform.
The second method comprises the following steps: the short message center reports the message type identification to other platforms (such as a charging platform), the identifications adopted by the instant message analog short message or the common short message are different, and the charging platform carries out different charging according to different identifications.
In addition, after the short message center recognizes that the message is a simulated message from the instant message service platform, the message source identifier is used to identify the short message gateway (such as an industry gateway, an interconnection gateway, a value added service gateway, etc.) when the message is sent to the short message gateway, the short message gateway recognizes the identifier and distinguishes the identifier when reporting other platforms (such as a charging platform), the simulated message is identified as the source of the instant message service platform, and the charging platform performs different charging according to the identifier.
Based on the structure shown in fig. 6, this embodiment describes a flow of sending an instant message by simulating a normal short message when the called user is a non-instant message user, and as shown in fig. 8, the flow includes:
step 801: the calling side instant message service platform receives the instant message sent by the user, inquires the number analysis server, judges whether the called user is an instant message user, and sends the instant message to the instant message-short message conversion platform if the called user is not the instant message user.
Step 802: the instant message-short message conversion platform converts the instant message into a short message, sends the short message to a short message center to which the calling belongs, and carries the address of the instant message service platform.
Step 803: the calling home short message center inquires the called user from the user data storage server, judges whether the called user is a common personal user of the local network, if the called user is the common personal user of the local network, the step 804 is executed; otherwise, step 805 is performed.
Step 804: the calling home short message center sends the short message simulated by the instant message to the called access mobile switching center, and reports to other platforms (such as a charging platform) after receiving the status success report. The charging platform carries out differentiated charging according to the address of the instant message service platform or different message type identifications
Step 805: the calling home short message center sends the short message to the short message gateway and distinguishes the short message by adopting different message source identifiers. The short message gateway identifies the identifier, sends the message to the called user, and identifies different message types when reporting to other platforms (such as a charging platform).
The embodiment of the invention provides an instant message and short message intercommunication system and a method for distinguishing an instant message simulation short message from a common short message, on one hand, the experience of the instant message simulation short message on a receiving user side is not different from that of the common short message, the better experience of the instant message and the short message intercommunication is kept, on the other hand, the two types of messages can be distinguished on the system side, and charging can be conveniently carried out aiming at different message types or other possible scenes.
Example 2
Fig. 9 is a schematic diagram of a system structure for communication between an instant message and a short message in embodiment 2 of the present invention, and as shown in fig. 8, the system includes an instant message user, a calling side instant message service platform, a called side instant message service platform, a number resolution server, a called side instant message-short message conversion platform, a calling home short message center, a charging platform, a user data storage server, and a called access mobile switching center.
Referring to fig. 9, this embodiment describes a process of sending an instant message by simulating a normal short message when the called user is an offline instant message user, and as shown in fig. 10, the process includes:
step 1001: the calling side instant message service platform receives the instant message sent by the user, inquires the number analysis server, judges whether the called user is an instant message user, and sends the instant message to the called side instant message service platform if the called user is the instant message user.
Step 1002: the called side instant message service platform judges whether the called user is on-line, if not, the instant message is sent to the called side instant message-short message conversion platform.
Step 1003: the called side instant message-short message conversion platform converts the instant message into a short message, sends the short message to the short message center to which the calling belongs, and carries the address of the instant message service platform.
Step 1004: the calling home short message center sends the short message simulated by the instant message to the called access mobile switching center, and reports to other platforms (such as a charging platform) after receiving the state success report. The charging platform can perform differentiated charging according to the address of the instant message service platform or different message type identifications.
The embodiment provides a system for realizing the intercommunication of instant messages and short messages, which can realize the intercommunication of instant messages of instant message users and short messages of non-instant message users or non-online instant message users; in addition, the instant message simulated short message and the common short message can be distinguished, so that charging can be conveniently carried out aiming at different message types or other possible scenes.
In summary, the technical solution of the embodiment of the present invention can keep a better experience of the intercommunication between the instant message and the short message, so that the experience of the instant message simulation short message on the receiving side is not different from that of the ordinary short message; and, the system side can distinguish the two types of messages: facilitating billing for different message types or for other possible scenarios.
Each Unit may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable logic Array (FPGA) in the electronic device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (6)
1. A method for communication between instant message and short message, the method includes:
acquiring an instant message;
determining whether the instant message receiver user is an instant message user by inquiring a number analysis server;
when the instant message receiver user is determined not to be an instant message user, format conversion is carried out on the instant message through a calling side instant message-short message conversion platform to obtain a corresponding short message; when the instant message receiver user is determined to be a common personal user of the local network by inquiring a user data storage server, the short message and the information type identifier of the short message are sent by a called access mobile switching center; when the instant message receiver user is determined to be other users except the ordinary personal user of the local network, the short message and the information type identification of the short message are sent through a short message gateway;
when the instant message receiver user is determined to be the instant message user, inquiring an instant message service platform of a called side, and determining that the instant message receiver user is not online currently; format conversion is carried out on the instant message through a called side instant message-short message conversion platform to obtain a corresponding short message; the short message and the information type identification of the short message are sent by a called access mobile switching center;
the information type identification indicates that the short message is an instant message simulation short message.
2. The method of claim 1, wherein the information type identifier is a preset information type identifier or an instant messaging service platform address.
3. The method of claim 1, further comprising:
the charging platform acquires the short message and the information type identifier of the short message;
and the charging platform carries out charging processing according to the short message and the information type identifier of the short message.
4. An apparatus for communicating between an instant message and a short message, the apparatus comprising: the device comprises an acquisition module, a conversion module, a sending module and a judgment module; wherein the content of the first and second substances,
the acquisition module is used for acquiring the instant message;
the judging module is used for inquiring the number analysis server after the instant message is acquired by the acquiring module, and judging whether the instant message receiver user is an instant message user; when the instant message receiver user is determined not to be the instant message user, further inquiring a user data storage server to judge whether the instant message receiver user is a local network common personal user or other users except the local network common personal user; when the instant message receiver user is determined to be the instant message user, further inquiring the instant message service platform of the called side to judge whether the user is online at present;
the conversion module is used for carrying out format conversion on the instant message through the instant message-short message conversion platform at the calling side to obtain a corresponding short message when the instant message receiver user is determined not to be the instant message user; when the instant message receiver user is determined to be an instant message user but is not on line currently, format conversion is carried out on the instant message through a called side instant message-short message conversion platform to obtain a corresponding short message;
the sending module is used for sending the short message and the information type identifier of the short message through a called access mobile switching center when the instant message receiver user is determined to be a common personal user of the home network; when the instant message receiver user is determined to be other users except the ordinary personal user of the local network, the short message and the information type identification of the short message are sent through a short message gateway; when the instant message receiver user is determined to be an instant message user but is not on line currently, the short message and the information type identifier of the short message are sent through a called access mobile switching center; wherein, the information type mark indicates that the short message is an instant message simulation short message.
5. A system for communicating between instant messages and short messages, the system comprising: the device for communication between the instant message and the short message, and the number analysis server and/or the instant message service platform; wherein the content of the first and second substances,
the device for communicating between instant message and short message is the device for communicating between instant message and short message as claimed in claim 4;
and the number analysis server and/or the instant message service platform are/is used for responding to the query request of the judgment module in the device for communication between the instant message and the short message.
6. The system of claim 5, further comprising a billing platform,
the charging platform is used for acquiring the short message and the information type identifier of the short message; and then, carrying out charging processing according to the short message and the information type identifier of the short message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410840674.2A CN105813033B (en) | 2014-12-30 | 2014-12-30 | Method, device and system for communication between instant message and short message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410840674.2A CN105813033B (en) | 2014-12-30 | 2014-12-30 | Method, device and system for communication between instant message and short message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105813033A CN105813033A (en) | 2016-07-27 |
CN105813033B true CN105813033B (en) | 2020-03-31 |
Family
ID=56981058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410840674.2A Active CN105813033B (en) | 2014-12-30 | 2014-12-30 | Method, device and system for communication between instant message and short message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105813033B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107465603A (en) * | 2017-08-24 | 2017-12-12 | 深圳双创科技发展有限公司 | Transmit the terminal and Related product of message |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1474585A (en) * | 2002-05-06 | 2004-02-11 | System and method for starting instant news transmission on mobile device | |
CN1633115A (en) * | 2004-12-30 | 2005-06-29 | 中国科学院计算技术研究所 | Method for implementing instant communication software intercommunication based on handset short message |
CN101227652A (en) * | 2008-02-04 | 2008-07-23 | 中国移动通信集团公司 | Instant communicating method, device and system |
CN101364880B (en) * | 2007-08-09 | 2013-10-09 | 华为技术有限公司 | Charging method, system and apparatus and message processing apparatus |
-
2014
- 2014-12-30 CN CN201410840674.2A patent/CN105813033B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1474585A (en) * | 2002-05-06 | 2004-02-11 | System and method for starting instant news transmission on mobile device | |
CN1633115A (en) * | 2004-12-30 | 2005-06-29 | 中国科学院计算技术研究所 | Method for implementing instant communication software intercommunication based on handset short message |
CN101364880B (en) * | 2007-08-09 | 2013-10-09 | 华为技术有限公司 | Charging method, system and apparatus and message processing apparatus |
CN101227652A (en) * | 2008-02-04 | 2008-07-23 | 中国移动通信集团公司 | Instant communicating method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN105813033A (en) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135563B (en) | A kind of communication processing method and system | |
CN104144106B (en) | A kind of message forwarding method, Apparatus and system | |
CN104967557A (en) | Communication message sending method and apparatus | |
WO2008119266A1 (en) | Prompt method and apparatus of short message splitting | |
CN106162714A (en) | A kind of calling information processing method and processing device | |
CN107360247B (en) | The method and the network equipment of processing business | |
CN102098640B (en) | Method, device and system for distinguishing and stopping equipment from sending SMS (short messaging service) spam | |
CN104618853B (en) | A kind of information push method, apparatus and system | |
CN105848083A (en) | Method, terminal and system for realizing communication | |
CN102143010A (en) | Method for detecting message revision, sender equipment and receiver equipment | |
CN105813033B (en) | Method, device and system for communication between instant message and short message | |
CN113423120A (en) | Data distribution processing method and device based on private network terminal and electronic equipment | |
CN103490984B (en) | A kind of method and apparatus obtaining user profile | |
CN108647315A (en) | Collecting method and system | |
CN103037329A (en) | Short message function testing platform and short message function testing method | |
CN104158728B (en) | Social network sites plus group's method, plus group's system and server | |
CN105516933A (en) | Message processing method, message processing device, mobile terminal and server | |
CN105721231A (en) | Service quality sensing detection method and service quality sensing detection device | |
CN105553935B (en) | A kind of data package processing method, device and terminal | |
CN111277449B (en) | Safety testing method and device for voice service equipment | |
CN106161715A (en) | A kind of communication control method, the webserver and electronic equipment | |
CN112954667A (en) | Detection method and device for hotspot mobile terminal, computer equipment and storage medium | |
CN106331270B (en) | Method and device for managing numbers of contact persons | |
CN108243446B (en) | Network communication problem judgment processing method and device | |
CN104717243A (en) | Method, device and system for cooperatively downloading data through multiple mobile terminals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |