WO2015131478A1 - Procédé et appareil de traitement d'informations, serveur de messagerie instantanée, passerelle de convergence, et support de stockage - Google Patents
Procédé et appareil de traitement d'informations, serveur de messagerie instantanée, passerelle de convergence, et support de stockage Download PDFInfo
- Publication number
- WO2015131478A1 WO2015131478A1 PCT/CN2014/083328 CN2014083328W WO2015131478A1 WO 2015131478 A1 WO2015131478 A1 WO 2015131478A1 CN 2014083328 W CN2014083328 W CN 2014083328W WO 2015131478 A1 WO2015131478 A1 WO 2015131478A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- identifier
- user
- protocol
- destination end
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
Definitions
- the present invention relates to communication information processing technologies, and in particular, to an information processing method and apparatus, an instant messaging (IM) server, a converged gateway, and a storage medium.
- IM instant messaging
- IM refers to a service that can send and receive Internet messages instantly, which allows two or more people to instantly transmit text messages, files, voices, etc. using the network.
- the Internet IM system page represented by QQ and WeChat has been booming.
- the number of WeChat users reached 300 million in early 2013, and the number of QQ users in the same period was more than WeChat. amount of users. It can be seen that IM has become one of the major social platforms in China.
- SMS Short Message Service
- a mobile terminal such as a mobile phone or other telecommunication terminal.
- the number of characters that a user can receive and send a text message each time is 160 English or numeric characters. Or 70 Chinese characters.
- SMS remains one of its most important value-added services. According to statistics, text messaging is still the mobile service with the highest penetration rate of mobile phone users in the Asia- Pacific region. Even in the development of SMS, the usage rate of SMS services in Western Europe has reached 90%.
- More and more electronic device users communicate via the mobile Internet.
- the proportion of IM users in China's 1.1 billion mobile phone users is large.
- the number of WeChat users exceeds 300 million, and the penetration rate is 27.3%.
- the main users are users under the age of 40, of which, 20 to 30 years old accounted for 74%, 30 to 40 years old 8%, 40 years old and above only 2%.
- About 72% of mobile phone users do not use WeChat.
- the current method is to copy the information content in the IM application, and then find the user to share in the mobile phone address book.
- the mobile phone number is then sent to the user by text message through the mobile terminal.
- the existing method requires the user to copy the information content in the IM application first, and some electronic devices do not support direct copying. Then, the user needs to input the information content to be shared again; even if some electronic devices support direct copying, Since the interface of electronic devices such as mobile phones is very small, it is difficult to accurately copy information content when a mobile phone with a touch screen is being copied; and some non-touch screen mobile phones are more complicated in realizing copying information content; How to make instant and fast information content sharing between IM users and SM users becomes an urgent problem to be solved.
- the embodiments of the present invention provide an information processing method, an information processing method and device, an IM server, a converged gateway, and a storage medium, which enable instant and rapid information content sharing between an IM user and an SM user.
- an embodiment of the present invention provides an information processing method, where the method includes:
- the first message carries a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier;
- Parsing the first message according to the first protocol to obtain a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier;
- the first data content and the first identifier are encapsulated according to the protocol corresponding to the second category identifier, to obtain a second message;
- the second message is sent according to the second identifier.
- an embodiment of the present invention provides an information processing apparatus, where the apparatus includes a first a receiving unit, a first parsing unit, a first encapsulating unit, and a first transmitting unit, wherein:
- the first receiving unit is configured to receive a first message encapsulated according to the first protocol, where the first message carries a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier. ;
- the first parsing unit is configured to parse the first message according to the first protocol, to obtain a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier;
- the first encapsulating unit is configured to: when the first category identifier is different from the second category identifier, encapsulate the first data content and the first identifier according to a protocol corresponding to the second category identifier, Get the second message;
- the first sending unit is configured to send the second message according to the second identifier.
- an embodiment of the present invention provides an information processing method, where the method includes:
- the IM server receives the first IM message that the IM user encapsulates and sends to the destination end according to the IM protocol, and the first IM message carries the first data content, and the IM user uses the source end.
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the IM server parses the first IM message according to the IM protocol, and obtains the category identifier of the destination end;
- the IM server sends the first IM message when the user who holds the destination is an SM user according to the category identifier of the destination.
- an embodiment of the present invention provides an information processing method, where the method includes:
- the convergence gateway receives the first IM message sent by the IM server, where the first IM message carries the first data content, the IM account used by the IM user on the source end, the destination end identifier, and the category identifier of the destination end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the converged gateway parses the first IM message according to the IM protocol, and obtains the identifier of the first data content, the IM account, and the destination end;
- the converged gateway encapsulates the IM account and the first data content according to the SM protocol to obtain a first SM message.
- the converged gateway sends the first SM message according to the identifier of the target end.
- an embodiment of the present invention provides an instant messaging server, where the server includes a fourth receiving unit, a fourth parsing unit, and a fourth sending unit, where:
- the fourth sending unit is configured to receive a first IM message that is encapsulated by the IM user and is sent to the destination end according to the IM protocol, where the first IM message carries the first data content and the IM user.
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the fourth parsing unit is configured to parse the first IM message according to an IM protocol, and obtain a category identifier of the destination end;
- the fourth sending unit is configured to: when the user holding the destination end is an SM user, according to the category identifier of the destination end, send the first IM message.
- the embodiment of the present invention provides a convergence gateway, where the convergence gateway includes a sixth receiving unit, a sixth parsing unit, a sixth encapsulating unit, and a sixth sending unit, where:
- the sixth receiving unit is configured to receive a first IM message sent by the IM server, where the first IM message carries the first data content, and the IM used by the IM user on the source end Account number, destination identifier, and category identifier of the destination;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the sixth parsing unit is configured to parse the first IM message according to the IM protocol, and obtain the identifier of the first data content, the IM account, and the destination end;
- the sixth encapsulating unit is configured to encapsulate the IM account and the first data content according to an SM protocol to obtain a first SM message.
- the sixth sending unit is configured to send the first SM message according to the identifier of the target end.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to execute the foregoing first embodiment, the third aspect, and The information processing method provided by the embodiment of the fourth aspect.
- An information processing method and device, an instant messaging server, a converged gateway, and a storage medium provided by an embodiment of the present invention first receive a first message encapsulated according to a first protocol, where the first message carries a first data content, An identifier, a second identifier, a first category identifier, and a second category identifier; and then parsing the first message according to the first protocol to obtain a first data content, a first identifier, a second identifier, a first category identifier, and And determining, according to the protocol corresponding to the second category identifier, the first data content and the first identifier, and obtaining the second And finally sending the second message according to the second identifier; thus, enabling instant and fast information content sharing between the IM user and the SM user.
- 1-1 is a schematic flowchart 1 of an implementation process of an information processing method according to an embodiment of the present invention
- 1-2 is a schematic flowchart 2 of an implementation process of an information processing method according to an embodiment of the present invention.
- FIG. 2-1 is a schematic structural diagram 1 of a component of an information processing apparatus according to Embodiment 2 of the present invention.
- FIG. 2-2 is a second schematic diagram of an implementation flow of an information processing apparatus according to Embodiment 2 of the present invention.
- 3-1 is a schematic flowchart 1 of an implementation process of an information processing method according to Embodiment 3 of the present invention.
- 3-2 is a schematic flowchart 2 of an implementation process of an information processing method according to Embodiment 3 of the present invention.
- 3-3 is a schematic flowchart of an implementation process of step 303 in Embodiment 3 of the present invention.
- 3-4 is a schematic flowchart 3 of an implementation process of an information processing method according to Embodiment 3 of the present invention.
- 4-1 is a schematic structural diagram 1 of a component of an information processing apparatus according to Embodiment 4 of the present invention.
- FIG. 4-2 is a second schematic structural diagram of an information processing apparatus according to Embodiment 4 of the present invention.
- FIG. 4-3 is a schematic structural diagram of a first encapsulating unit 403 in an information processing apparatus according to Embodiment 4 of the present invention.
- FIG. 4-4 is a schematic flowchart 3 of an implementation flow of an information processing apparatus according to Embodiment 4 of the present invention.
- 5-1 is a schematic flowchart 1 of an implementation process of an information processing method according to Embodiment 5 of the present invention.
- 5-2 is a schematic flowchart 2 of an implementation process of an information processing method according to Embodiment 5 of the present invention.
- 5-3 is a schematic flowchart 3 of an implementation process of an information processing method according to Embodiment 5 of the present invention.
- 6-1 is a schematic flowchart 1 of an implementation process of an information processing method according to Embodiment 6 of the present invention.
- FIG. 6-2 is a schematic flowchart of an implementation process of step 603 in an information processing method according to Embodiment 6 of the present invention.
- 6-3 is a schematic flowchart 2 of an implementation process of an information processing method according to Embodiment 6 of the present invention.
- FIG. 7-1 is a schematic structural diagram 1 of a composition of an instant messaging server according to Embodiment 7 of the present invention.
- FIG. 7-2 is a second schematic structural diagram of an instant messaging server according to Embodiment 7 of the present invention.
- FIG. 7-3 is a schematic structural diagram 3 of a composition of an instant messaging server according to Embodiment 7 of the present invention.
- 8-1 is a first schematic structural diagram 1 of a converged gateway according to an embodiment of the present invention.
- FIG. 8-2 is a schematic structural diagram of a sixth encapsulating unit 803 in a converged gateway according to an eighth embodiment of the present invention.
- FIG. 8-3 is a second schematic structural diagram of a converged gateway according to Embodiment 8 of the present invention.
- FIG. 9 is a schematic diagram of the connection between the converged gateway and the IM server and the SM gateway according to the embodiment of the present invention. Schematic diagram
- FIG. 10 is a schematic diagram of a connection relationship between ten converged gateways and SM gateways of different operators according to an embodiment of the present invention.
- FIG. 1-1 is a schematic flowchart of an implementation process of an information processing method according to an embodiment of the present invention. As shown in FIG. 1-1, the method includes:
- Step 101 Receive a first message encapsulated according to the first protocol, where the first message carries a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier.
- the first data content is data content sent by the first user to the second user;
- the first identifier is an identity (ID) number of the first client used by the user or the first user is in the office
- An IM account used on the first client where the second identifier is an ID number of the second client used by the second user or an IM account used by the second user on the second client;
- the first category identifier is used to indicate whether the first user is the first protocol user or the second protocol user, and the second category identifier is used to indicate whether the second user is the first protocol user or The second protocol user;
- the ID number is a phone number or an International Device ID of an electronic device (IMEI).
- the client refers to a type of electronic device having a short message function, and/or capable of installing an IM application
- the electronic device having the short message function may be a certain ordinary mobile phone, and the ordinary mobile phone is a non-smart mobile phone
- the electronic device capable of installing the IM application may be a tablet, which does not have the function of making a call or sending an SM, and the electronic device having the short message function and capable of installing the IM application may be a smart phone.
- step 101 user A passes the data content to be shared by the first client,
- the first identifier, the second identifier, the first category identifier, and the second category identifier are encapsulated into a first message and sent.
- Step 102 Parse the first message according to the first protocol, and obtain a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier.
- Step 103 When the first category identifier is different from the second category identifier, the first data content and the first identifier are encapsulated according to the protocol corresponding to the second category identifier, to obtain a second message.
- Step 104 Send the second message according to the second identifier.
- Figure 1-2 is a schematic flowchart of the implementation of the information processing method according to the embodiment of the present invention. As shown in Figure 1-2, on the basis of the embodiment shown in Figure 1-1, the method further includes:
- Step 105 When it is determined that the first category identifier is the same as the second category identifier, forward the first request message to the second client according to the second identifier.
- the first protocol may be an SM protocol or an IM protocol; correspondingly, the second protocol is an IM protocol or an SM protocol.
- the SM protocol includes China Mobile Peer to Peer (CMPP), China Telecom's Short Message Gateway Protocol (SMGP), and China United Communications Corporation Short Message Gateway System Interface Protocol (SGIP).
- CMPP China Mobile Peer to Peer
- SMGP China Telecom's Short Message Gateway Protocol
- SGIP China United Communications Corporation Short Message Gateway System Interface Protocol
- the IM protocol includes a transmission control protocol (TCP) and a User Datagram Protocol (UDP).
- the sending according to the second identifier, the second message, including:
- the sending the second message to the message bearer corresponding to the second identifier specifically: sending the second message to the SM gateway when the second identifier is an ID number;
- the second message is sent to the IM server; it can be seen that the message bearer can be an SM gateway or an IM server.
- the technical solution provided by the embodiment of the present invention enables instant sharing of information content between an IM user and an SM user.
- the technical solution provided by the embodiment of the present invention can be combined with an existing SM gateway and an IM server to obtain an information processing device.
- the SM gateway is mainly used to solve each network and each operator.
- SP SMS interworking and service provider
- the second message encapsulated by the second protocol so that the first message sent by the first user is forwarded to the second user. It can be seen that the device can directly receive the SM message on the one hand, and can directly receive the IM message on the other hand, both of which directly interact with the IM user or the SM.
- the information processing device may also modify the SM gateway to obtain a device, and the device determines the SM user to share.
- the other party is an IM user
- the first message encapsulated by the SM protocol is converted into a second message encapsulated by the IM protocol, and then the second message is sent to the IM server, and the second message is sent by the IM server according to the second identifier.
- the device and the IM server are linked by using the TCP/UDP protocol. For example, the device needs to send a registration message to the IM server to register on the IM server, and the registration message carries the device.
- the IM server needs to return a verification message to authenticate the device; it can be seen that the device is linked to the IM server as a client, and The device interacts with the SM user on the one hand, and interacts with the IM server on the other hand, and sends the second message through the IM server. To the IM user.
- IP Internet Protocol
- the information processing device may also modify the IM server to obtain a device.
- the device determines that the other party shared by the IM user is the SM user
- the first message encapsulated by the IM protocol is converted into the second message encapsulated by the SM protocol, and then the second message is sent to the SM gateway, and the second gateway is configured by the SM gateway.
- the identifier sends the second message to the second user; it should be noted that the device is linked with the SM gateway by using the SM protocol.
- the device is similar to a service provider (SP). At this time, the SM gateway only needs to add an authentication account, and allocates an SP access number to the device, and adds a corresponding routing rule, and does not need to modify the function of the original SM gateway.
- SP service provider
- FIG. 2-1 is a schematic structural diagram of the information processing apparatus according to the second embodiment of the present invention.
- the first receiving unit 201, the first parsing unit 202, the first encapsulating unit 203, and the first sending unit 204 are included, where:
- the first receiving unit 201 is configured to receive a first message encapsulated according to the first protocol, where the first message carries a first data content, a first identifier, a second identifier, a first category identifier, and a second category. Identification
- the first data content is data content sent by the first user to the second user;
- the first identifier is an identity ID number of the first client used by the user, or the first user is in the first An IM account used by the client,
- the second identifier is an ID number of the second client used by the second user, or an IM account used by the second user on the second client;
- a category identifier is used to indicate whether the first user is the first protocol user or the second protocol user, and the second category identifier is used to indicate whether the second user is the first protocol user or the Second agreement user;
- the first parsing unit 202 is configured to parse the first message according to the first protocol, to obtain a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier;
- the first encapsulating unit 203 is configured to determine the first category identifier and the second category When the identifiers are different, the first data content and the first identifier are encapsulated according to the protocol corresponding to the second category identifier, to obtain a second message;
- the first sending unit 204 is configured to send the second message according to the second identifier.
- the first protocol may be an SM protocol or an IM protocol; correspondingly, the second protocol is an IM protocol or an SM protocol.
- the apparatus further includes a first forwarding unit 205, based on the embodiment shown in FIG. 2-1. And determining, when the first category identifier is the same as the second category identifier, forwarding the first request message to the second client according to the second identifier.
- the first sending unit 204 is specifically configured to send the second message to the second client according to the second identifier; or send the second message to the The message bearer corresponding to the second identifier.
- the first receiving unit, the first parsing unit, the first encapsulating unit, and the first sending unit, and the first forwarding unit and the first sending unit in the information processing apparatus provided by the embodiment of the present invention may all be processed by the apparatus.
- the device may be implemented by a specific logic circuit; the information processing device may be a device that combines the SM gateway and the IM server, or may be a device that is only modified by the IM server, in a specific embodiment.
- the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
- Embodiment 3 of the present invention provides an information processing method
- FIG. 3-1 is a schematic flowchart 1 of an implementation process of an information processing method according to Embodiment 3 of the present invention. As shown in FIG. 3-1, the method includes:
- Step 301 The receiving IM user is encapsulated and sent to the destination according to the IM protocol by using the source end.
- the first IM message carries the first data content, the IM account used by the IM user on the source end, the destination end identifier, and the category identifier of the destination end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is an SM user or an IM user; the destination end identifier is an ID number of the destination end or an IM account used by the user holding the destination end on the destination end;
- the source end refers to the client that sends the message, which can be understood as the first client in the foregoing embodiment
- the destination end refers to the destination client that receives the message, which can be understood as the second client in the above embodiment.
- the source end identifier is a first identifier
- the destination end identifier is a second identifier
- the category identifier of the destination end is a second category identifier.
- Step 302 Parse the first IM message according to the IM protocol, and obtain the first data content, the IM account, the identifier of the destination end, and the category identifier of the destination end.
- Step 303 Determine, according to the category identifier of the destination end, that the user who holds the destination end is an SM user, and encapsulate the IM account and the first data content according to an SM protocol to obtain a first SM message.
- Step 304 Send the first SM message according to the identifier of the target end.
- the step 304 may be: sending the SM message to the destination end according to the identifier of the target end; or
- the SM gateway After the sending the SM message to the SM gateway of the operator, the SM gateway sends the first SM message to the destination end according to the destination end identifier.
- FIG. 3-2 is a schematic flowchart 2 of an implementation process of an information processing method according to Embodiment 3 of the present invention. As shown in FIG. 3-2, on the basis of the embodiment shown in FIG. 3-2, the method further includes:
- Step 310 Determine, according to the category identifier of the destination end, that the user holding the destination end is an IM user, and forward the first IM message to the destination end according to the identifier of the target end.
- an existing SM gateway and an IM server may be combined to obtain an information processing device; when the device determines that the other party communicating with the IM user is an SM user, That is, when it is determined that the category identifier of the destination end is not an IM user, the first IM message encapsulated by the IM protocol can be converted into the first SM message encapsulated by the SM protocol, so that the first IM message sent by the IM user is forwarded to the SM. user. It can be seen that the device can directly receive the SM message sent by the IM user, and can directly send the SM message to the SM user, thereby directly interacting with the IM user or the SM.
- the device may be modified only by the IM server to obtain the foregoing device.
- the device converts the first IM message encapsulated by the IM protocol into The SM message encapsulates the first SM message, and then sends the first SM message to the SM gateway, and the SM gateway sends the first SM message to the destination end according to the identifier of the destination end;
- the device is linked with the SM gateway by using the SM protocol.
- the device is similar to an SP.
- the SM gateway only needs to add an authentication account, and allocates an SP access number to the device, and adds a corresponding routing rule, and does not need to modify the function of the original SM gateway.
- the SM information includes an identifier information field of the source end, and correspondingly, as shown in FIG. 3-3, the step 303 includes:
- Step 331 Determine, according to the category identifier of the destination end, the user who holds the destination end as the SM user, assign the corresponding sub-identity to the IM account, and write the sub-identity into the identifier of the source end of the SM message.
- Information field
- Step 332 Determine, according to the identifier of the target end, an operator to which the identifier of the target end belongs;
- Step 333 Encapsulate, according to the short message protocol used by the operator, the IM account and the first data content, to obtain a first SM message.
- the short message protocol used by the operator is at least one of the following short message protocols: CMPP, SMGP, and SGIP.
- FIG. 3-4 is a schematic flowchart of the implementation process of the information processing method according to Embodiment 3 of the present invention. As shown in FIG. 3-4, the method further includes:
- Step 305 Receive a second SM message that is encapsulated according to the SM protocol and is used to reply to the first SM message, where the second SM message carries the second data content and the sub-identity.
- Step 306 Parse the second SM message according to the SM protocol, to obtain a second data content and the sub-identity.
- Step 307 Search for a preset mapping relationship table between the IM account and the sub-identification according to the sub-identification, and obtain an IM account corresponding to the sub-ID.
- Step 308 the destination end identifier and the second data content are encapsulated according to the IM protocol, to obtain a second IM message.
- Step 309 Send the second IM message to the source end according to the IM account.
- the receiving, by the SM protocol, as the second SM message that is replied to the first SM message includes:
- the SM user when the SM user receives the first SM message, presents a normal short message on the client of the SM user, and the SM user reads the first SM. After the message, the first SM may be replied, and the replied message is the second SM message, and the second SM message is sent to the SM gateway through the SMS center of the operator, and is sent to the SM gateway by the SM network.
- the gateway sends the message to the information processing device, or the second SM message is sent to the device directly after passing through the SMS center of the operator.
- the foregoing apparatus After receiving the second SM message, the foregoing apparatus unpacks the second SM message according to the SM protocol, and then encapsulates the second IM message according to the requirements of the IM protocol, and then obtains the second IM message according to the mapping relationship table, and then finds the current IM account according to the mapping relationship table. IP address mapping, and then send the second IM message to the source.
- the label is set to indicate that the second IM message originates from the SM user and is a reply of the first IM message.
- the source client After receiving the second IM message, the source client directly unpacks the second IM message according to the IM protocol, so as to be displayed on the source end for the IM user to view.
- the technical solution provided by the embodiment of the present invention enables the IM user to forward the information content of interest to the traditional SM user group in the form of IM information directly through the IM client, and the traditional SM user performs the SM in the form of SM.
- Receiving; and the SM user can also reply to the IM user directly on the received SM information, and the SM user still replies in the form of SM; and the IM user still receives in the form of IM;
- the technical solution provided by the embodiment of the present invention is The server end of the service is modified by the server, and then the IM user can directly forward the information content of interest to the ordinary SM. Therefore, the embodiment of the present invention can truly realize the instant sharing of information without delay and without borders. .
- FIG. 4-1 is a schematic structural diagram 1 of the information processing apparatus according to the fourth embodiment of the present invention, as shown in FIG. 4-1.
- the device includes a first receiving unit 401, a first parsing unit 402, a first encapsulating unit 403, and a first transmitting unit 404, where:
- the first receiving unit 401 is configured to receive a first IM message that is encapsulated by the IM user and is sent to the destination end according to the IM protocol, where the first IM message carries the first data content, the IM The IM account number, the destination end identifier, and the category identifier of the destination end used by the user on the source end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the first parsing unit 402 is configured to parse the first IM message according to the IM protocol, and obtain the first data content, the IM account, the identifier of the destination end, and the category identifier of the destination end;
- the first encapsulating unit 403 is configured to, according to the category identifier of the destination end, determine that the user who holds the destination end is an SM user, and encapsulate the IM account and the first data content according to an SM protocol to obtain a first An SM message;
- the first sending unit 404 is configured to send the first SM message according to the identifier of the target end.
- the first sending unit 404 is configured to send the SM message to the destination end according to the identifier of the target end;
- the first sending unit 404 is configured to send the SM message to the SM gateway of the operator.
- FIG. 4-2 is a schematic structural diagram of a fourth embodiment of the information processing apparatus according to Embodiment 4 of the present invention.
- the apparatus further includes a first forwarding unit 410. And determining, according to the category identifier of the destination end, that the user holding the destination end is an IM user, and forwarding the first IM message to the destination end according to the identifier of the target end.
- the SM information includes an identifier information field of the source end.
- the first encapsulating unit 403 includes a first allocating module 431, a first writing module 432, and a first A determining module 433 and a first encapsulating module 434, wherein:
- the first allocation module 431 is configured to allocate a corresponding sub-ID to the IM account.
- the first writing module 432 is configured to write the sub-identifier into an identifier information field of a source end of the SM message;
- the first determining module 433 is configured to determine, according to the identifier of the target end, an operator to which the identifier of the target end belongs;
- the first encapsulating module 434 is configured to encapsulate, according to the short message protocol used by the operator, the IM account and the first data content, to obtain a first SM message.
- the short message protocol used by the operator is at least one of the following short message protocols: CMPP, SMGP, and SGIP.
- FIG. 4-4 is a schematic flowchart 3 of an implementation process of an information processing apparatus according to Embodiment 4 of the present invention.
- the apparatus further includes The third receiving unit 405, the third parsing unit 406, the first searching unit 407, the third encapsulating unit 408, and the third transmitting unit 409, wherein:
- the third receiving unit 405 is configured to receive a second SM message encapsulated according to the SM protocol and replied to the first SM message, where the second SM message carries the second data content and the sub-identity;
- the third parsing unit 406 is configured to parse the second SM message according to the SM protocol, to obtain the second data content and the sub-identifier;
- the first searching unit 407 is configured to: according to the sub-identification, search for a preset mapping relationship table between the IM account and the sub-identity, and obtain an IM account corresponding to the sub-ID;
- the third encapsulating unit 408 is configured to encapsulate the destination end identifier and the second data content according to an IM protocol to obtain a second IM message.
- the third sending unit 409 is configured to send the second IM message to the source end according to the IM account.
- the third receiving unit 409 is configured to receive, from the destination end, a second SM message encapsulated according to the SM protocol and replied to the first SM message; or
- the third receiving unit is configured to receive, from the SM gateway of the operator, a second SM message encapsulated according to the SM protocol and replied to the first SM message.
- the first receiving unit, the first analyzing unit, the first encapsulating unit, the first sending unit, and the like, and the modules included in each unit in the information processing apparatus provided in Embodiment 4 of the present invention may pass the
- the processor in the device is implemented; of course, it can also be implemented by a specific logic circuit; the information processing device may be a device that combines the SM gateway and the IM server, or may be a device obtained by modifying only the IM server.
- the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
- FIG. 5-1 is a schematic flowchart of the implementation of the information processing method according to the fifth embodiment of the present invention. As shown in FIG. 5-1, the method includes:
- Step 501 The IM server receives, by the source end, the first IM message that is encapsulated by the source end and sent to the destination end according to the IM protocol.
- the first IM message carries the first data content, the IM account used by the IM user on the source end, the destination end identifier, and the category identifier of the destination end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is an SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end;
- Step 502 The IM server parses the first IM message according to the IM protocol, and obtains a category identifier of the destination end.
- Step 503 The IM server sends the first IM message when the user who holds the destination end is an SM user according to the category identifier of the destination end.
- the step 503 may specifically be: sending the SM message to the destination end; or
- Figure 5-2 is a schematic flowchart 2 of the implementation of the information processing method in the fifth embodiment of the present invention. As shown in Figure 5-2, the method further includes:
- Step 504 The IM server determines, according to the category identifier of the destination end, that the user holding the destination end is an IM user, and forwards the first IM message to the destination end according to the identifier of the target end.
- Figure 5-3 is a schematic flowchart 3 of the implementation of the information processing method in the fifth embodiment of the present invention. As shown in Figure 5-3, the method further includes:
- Step 505 The IM server receives, according to the SM protocol, a second IM message that is replied to the first IM message, where the second IM message carries the destination end identifier, the IM account, and the second data content.
- Step 506 Send the second IM message to the IM account.
- the IM server may perform a slight modification on the existing IM server.
- the IM server determines that the other party shared by the IM user is the SM user, the IM message is sent. And receiving the second IM message as the reply to the first IM message, and sending the second IM message to the source end.
- the technical solution provided by the embodiment of the present invention enables the IM user to instantly share the information content with the SM user, and enables the IM user to receive the message that the SM user replies in the SM form.
- the sixth embodiment of the present invention provides an information processing method, which is applied to a converged gateway, where the converged gateway is capable of merging the IM server and the SM gateway, so that the IM user can quickly and automatically send the SM user.
- Figure 6-1 is a schematic flowchart 1 of an implementation process of an information processing method according to Embodiment 6 of the present invention. As shown in Figure 6-1, the method includes:
- Step 601 The convergence gateway receives the first IM message sent by the IM server.
- the first IM message carries the first data content, the IM account used by the IM user on the source end, the destination end identifier, and the category identifier of the destination end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- Step 602 The converged gateway parses the first IM message according to the IM protocol, and obtains the identifiers of the first data content, the IM account, and the destination end.
- Step 603 The convergence gateway encapsulates the IM account and the first data content according to the SM protocol to obtain a first SM message.
- Step 604 The converged gateway sends the first SM message according to the identifier of the target end.
- the step 604 includes: the converged gateway sends the first SM message to the destination end according to the identifier of the target end; or
- the step 604 includes: the converged gateway sends the first SM message to the SM gateway of the operator.
- the method further includes: the converged gateway registers and authenticates to the IM server by using an IM protocol as a client.
- the SM information includes an identifier information field of the source end.
- the step 603 includes:
- Step 631 The converged gateway allocates a corresponding sub-identity to the IM account, and writes the sub-identity into an identifier information field of the source end of the SM message.
- Step 632 The convergence gateway determines, according to the identifier of the target end, an operator to which the identifier of the target end belongs.
- Step 633 The converged gateway encapsulates the IM account and the first data content according to the short message protocol used by the operator, to obtain a first SM message.
- FIG. 6 is a schematic flowchart of the implementation process of the information processing method according to Embodiment 6 of the present invention. As shown in FIG. 6-3, the method includes:
- Step 605 The converged gateway receives the encapsulation according to the SM protocol and responds to the first SM cancellation. a second SM message, where the second SM message carries the second data content and the sub-identity;
- Step 606 The converged gateway parses the second SM message according to the SM protocol, to obtain the second data content and the sub-identity.
- Step 607 The converged gateway searches for a preset mapping relationship table between the IM account and the sub-identity according to the sub-identification, and obtains an IM account corresponding to the sub-ID.
- Step 608 The converged gateway encapsulates the destination end identifier, the IM account, and the second data content according to an IM protocol to obtain a second IM message.
- Step 609 The converged gateway sends the second IM message to the IM server, where the second IM message is used as a reply to the first IM message.
- the converged gateway can receive the IM message sent by the IM server, convert the first IM message encapsulated by the IM protocol into the first SM message encapsulated by the SM protocol, and then send the first SM message to the The SM gateway sends the first SM message to the destination end according to the identifier of the destination end by the SM gateway.
- the fusion gateway and the SM gateway use the SM protocol for linking.
- the device is similar to the one. SP. At this time, the SM gateway only needs to add an authentication account, and allocates an SP access number to the device, and adds a corresponding routing rule, and does not need to modify the function of the original SM gateway.
- the converged gateway and the IM server are linked by using the TCP/UDP protocol.
- the converged gateway needs to send a registration message to the IM server to register on the IM server, where the registration message carries the IP address, IP port, etc. of the device. Information; the IM server needs to return a verification message to authenticate the converged gateway; it can be seen that the converged gateway is linked with the IM server as the client.
- FIG. 7-1 is a schematic structural diagram of a composition of an instant messaging server according to Embodiment 7 of the present invention.
- the instant messaging server is provided.
- the fourth receiving unit 701, the fourth parsing unit 702, and the fourth sending list are included.
- the fourth sending unit 701 is configured to receive a first IM message that is encapsulated by the IM user and is sent to the destination end according to the IM protocol, where the first IM message carries the first data content, the IM The IM account number, the destination end identifier, and the category identifier of the destination end used by the user on the source end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the fourth parsing unit 702 is configured to parse the first IM message according to the IM protocol, and obtain a category identifier of the destination end;
- the fourth sending unit 703 is configured to: when the user holding the destination end is an SM user, according to the category identifier of the destination end, send the first IM message.
- the fourth sending unit 703 may be specifically configured to send the SM message to the destination end; or
- the fourth sending unit 703 may be specifically configured to send the SM message to the SM gateway of the SM operator.
- FIG. 7-2 is a schematic structural diagram of a composition structure of an instant messaging server according to Embodiment 7 of the present invention.
- the instant messaging server further includes a third forwarding.
- the unit 704 is configured to: according to the category identifier of the destination end, determine that the user holding the destination end is an IM user, and forward the first IM message to the destination end according to the identifier of the target end.
- FIG. 7-3 is a schematic structural diagram 3 of a composition of an instant messaging server according to Embodiment 7 of the present invention.
- the instant messaging server 700 further includes a fifth.
- the fifth receiving unit 705 is configured to receive the encapsulation according to the SM protocol and as a reply a second IM message of the first IM message, where the second IM message carries the destination identifier, the IM account, and the second data content;
- the fifth sending unit 706 is configured to send the second IM message to the IM account.
- the fourth receiving unit, the fourth analyzing unit, the fourth sending unit, and the like in the instant messaging server provided in the seventh embodiment of the present invention, and the modules included in each unit can pass the processor in the instant messaging server.
- the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or field programmable Gate array (FPGA), etc.
- FIG. 8-1 is a schematic structural diagram 1 of a converged gateway according to Embodiment 8 of the present invention.
- the converged gateway 800 includes a receiving unit 801, a sixth parsing unit 802, a sixth encapsulating unit 803, and a sixth transmitting unit 804, wherein:
- the sixth receiving unit 801 is configured to receive a first IM message sent by the IM server, where the first IM message carries the first data content, and the IM account used by the IM user on the source end , the destination end identifier and the category identifier of the destination end;
- the category identifier of the destination end is used to indicate whether the user holding the destination end is a short message SM user or an IM user; the destination end identifier is an identity identification ID number of the destination end or an IM account used by the user holding the destination end on the destination end. ;
- the sixth parsing unit 802 is configured to parse the first IM message according to the IM protocol, and obtain the identifiers of the first data content, the IM account, and the destination end;
- the sixth encapsulating unit 803 is configured to encapsulate the IM account and the first data content according to an SM protocol to obtain a first SM message.
- the sixth sending unit 804 is configured to: the first SM according to the identifier of the target end The message was sent.
- the sixth sending unit 804 is configured to send, by the fused gateway, the first SM message to the destination end according to the identifier of the target end; or
- the sixth sending unit 804 is configured to send, by the convergence gateway, the first SM message to the SM gateway of the operator.
- the converged gateway further includes a registration unit configured to register and authenticate to the IM server as an identity of the client by using an IM protocol.
- the SM information includes an identifier information field of the source end.
- the sixth encapsulating unit 803 includes a second allocation module 831. a second write module 832, a second determination module 833, and a second encapsulation module 834, wherein:
- the second allocation module 831 is configured to allocate a corresponding sub-ID to the IM account.
- the second writing module 832 is configured to write the sub-identifier into an identifier information field of a source end of the SM message
- the second determining module 833 is configured to determine, according to the identifier of the target end, an operator to which the identifier of the target end belongs;
- the second encapsulating module 834 is configured to encapsulate, according to the short message protocol used by the operator, the IM account and the first data content, to obtain a first SM message.
- FIG. 8-3 is a schematic structural diagram 2 of a converged gateway according to Embodiment 8 of the present invention.
- the converged gateway 800 further includes a seventh receiving.
- the seventh receiving unit 805 is configured to receive a second SM message that is encapsulated according to the SM protocol and is used to reply to the first SM message, where the second SM message carries the second data content and the sub-identifier;
- the seventh parsing unit 806 is configured to parse the second SM message according to the SM protocol. Obtaining a second data content and the sub-identification;
- the second searching unit 807 is configured to: according to the sub-identification, search for a preset mapping relationship table between the IM account and the sub-identity, and obtain an IM account corresponding to the sub-ID;
- the seventh encapsulating unit 808 is configured to encapsulate the destination end identifier, the IM account, and the second data content according to an IM protocol to obtain a second IM message.
- the seventh sending unit 809 is configured to send the second IM message to the IM server, where the second IM message is used as a reply to the first IM message.
- the processor is implemented; of course, it can also be implemented by a specific logic circuit; in the process of a specific embodiment, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or Field programmable gate array (FPGA), etc.
- An embodiment of the present invention provides an information processing method.
- an interworking between a traditional telecommunication network and a mobile Internet application is implemented by adding a converged gateway 903 between the IM server 901 and the SM gateway 902 of the operator.
- the converged gateway 903 is connected to the IM server 901 by using the TCP/UDP protocol.
- the converged gateway 903 is similar to a client, but the function is more powerful.
- the converged gateway 903 is connected to the short message gateway 902 by using a short message protocol. For the short message gateway, the converged gateway is similar to an SP.
- the IM server 901 determines whether the destination user of the IM message has opened the IM service; if the destination user activates the IM service, directly forwards the IM message to the corresponding IM account of the destination user; If the destination user does not open the IM service, the IM message is sent to the converged gateway 903, and the IM message is sent to the destination user by the converged SMS gateway 902.
- Step 911 The converged gateway is linked by using a TCP/UPD protocol and a WeChat server, and the converged gateway is similar to a WeChat client, and establishes a link with the WeChat server through registration and authentication;
- Step 912 The convergence gateway establishes a link between the SP identity and the SMS gateway through the short message protocol. At this time, the short message gateway only needs to add an authentication account, allocate an SP access number, and add a corresponding routing rule, and does not need to perform the function of the short message gateway. Carry out transformation;
- Step 913 Modify the WeChat application of the WeChat client: when sending the message, the user can select the address book in the WeChat application, or select the user in the mobile phone address book.
- the client sends the WeChat message to the WeChat server
- the WeChat The message needs to carry a category identifier, which is used to indicate whether the destination user is a WeChat user, that is, whether the source user is the destination user selected from the address book in the WeChat application or the destination user selected from the mobile phone address book;
- Step 914 When the WeChat server receives the WeChat message sent by the WeChat client, according to the category identifier reported by the WeChat client, if the category identifier indicates that the destination user is a WeChat user, the forwarding mechanism remains unchanged and is directly forwarded to the WeChat domain.
- Step 915 After receiving the WeChat message sent by the WeChat server, the converged gateway parses the WeChat message according to the WeChat protocol, and the converged gateway determines the operator used by the destination user according to the destination ID number, and then according to the SM protocol of the used carrier. Encapsulating the parsed WeChat message to obtain an SM message;
- the destination ID number it is judged whether the operator used by the destination user is China Mobile Communications Corporation, China Telecom Group Corporation or China United Communications Group Corporation. It is assumed that after the judgment, the operator used is China Mobile Communications Corporation, and then Encapsulated according to the CMPP used by China Mobile Communications Corporation, and then forwarded to the SMS gateway of China Mobile Communications Corporation according to the route;
- Step 916 After receiving the message of the converged gateway, the SMS gateway performs the storage and forwarding to the SMS center to which the destination user belongs, and then sends the message center to the destination user.
- Step 917 When the destination user receives the SM message, the destination user displays an ordinary short message; the target user can reply to the SM message after reading. The replies to the SM message pass through the SMS center, then go up to the SMS gateway and then route to the converged gateway;
- Step 918 After receiving the SM message replied by the SM domain, the converged gateway unpacks the replied SM message, and then according to the TCP/UDP protocol request packet, obtains a WeChat message, and then sends the WeChat message to the WeChat server, and simultaneously sets a category identifier, which is used to indicate that the WeChat message is originated from the SM user, and indicates that the message is a reply to the previously sent WeChat message;
- Step 919 After receiving the WeChat message sent by the converged gateway, the WeChat server searches for the IP address mapping of the current WeChat sender according to the locally saved mobile phone number, or the IMEI or the WeChat account, and then sends the IP address mapping to the WeChat client. .
- Step 920 When the WeChat client receives the WeChat message, the WeChat message is directly unpacked by TCP/UDP, and is displayed on the source end.
- the embodiment of the invention provides an information processing method, which can implement the text content forwarding on the IM system to the traditional SM user, and the method includes:
- Step 1001 The converged gateway starts, and logs in to the IM server by using a login in message. At this time, the IM server learns the IP address and port information of the converged gateway, and establishes a TCP/UPD link.
- Step 1002 The converged gateway establishes a link with the SMS gateway of each operator by using the SP through the short message protocol;
- the client will pass the CMPP connect message and the login response (connect resp, connect response).
- the message establishes a link with the SM gateway;
- a login (SMGP login) message and a login resp message are used to establish a link with the SM gateway;
- the client establishes a link with the SM gateway through a login (SGIP bind) message and a login resp message;
- the mobile SM gateway and the telecom SM gateway belong to the server for the converged gateway; and the mutual communication between the SM gateway and the converged gateway is a client, so the Unicom SM gateway and the converged gateway mutually send login messages and logins. Response message; the relationship between the Unicom SM Gateway, the Telecom SM Gateway, and the Mobile SM Gateway and the Converged Gateway is due to the different protocols used.
- the type of the login message to be sent is determined according to the type of the protocol used by the carrier to complete the login on the SM gateway of the operator. The same is true for the converged gateway to register with the SM gateway. The type of protocol used to determine the registration message sent.
- Step 1003 The IM client starts, logs in to the IM server through a login in message, and establishes a TCP/UDP link between the IM client and the IM server.
- the IM server saves information such as the IM account number, the mobile phone number, and the IP address of all successfully registered clients, that is, the phone number (or IMEI) and the IP address mapping list corresponding to the IM account.
- Step 1004 When the IM user sees interesting information and wants to share with a friend, the user in the IM address book is selected for sending, and the destination user is marked with the category identifier of the IM user at the destination address; when the IM address book does not have a search When you are a friend, you can select it through the phone address book, and then click Send. At this time, the SM user's category ID is marked on the destination address;
- the message sent by the source to the IM server must include at least the following: the destination identifier, the category identifier of the destination, the data content to be shared, and the source identifier.
- Step 1005 When receiving the IM message sent by the source, the IM server first parses the destination class identifier, determines the attribute of the destination user, and determines the destination user according to the category identifier of the destination end. If the IM user is an IM user, the IP address mapped by the destination user IM account is directly sent through the TCP/UDP link, and the IM message is sent; if the destination user is determined to be the SM user according to the category identifier of the destination end, the IP address is directly forwarded to the converged gateway;
- the IM message sent by the IM server to the destination end needs to include the following information: the destination identifier, the data content, and the source identifier;
- Step 1006 When receiving the IM message sent by the IM server, the converged gateway parses the IM message according to the IM protocol, and extracts the destination end identifier.
- the converged gateway needs to save a whole network segment table containing all operators. For example, in order to distinguish the three major operators in China, it is necessary to save the entire network number segment table of the three major operators in the converged gateway; according to the extracted destination end The longest matching operation is performed in the identifier to the number segment table. If it is a telecommunication number, the message is encapsulated according to the SMGP submit message; if it is a Unicom number, the message is encapsulated according to the SGIP submit message; if it is a mobile number, the message is sent. Encapsulation according to the CMPP submit message.
- the converged gateway expands on the basic access number assigned by the SM gateway, and then assigns a unique sub-access number to the IM account, when the SM message is encapsulated, and The sub-access number corresponding to the IM account of the source is filled in the source number field.
- the converged gateway needs to save a mapping table of the sub-access number and the IM account.
- the mapping table includes at least the following content: the only one allocated by the converged gateway. Sub-access number, IM account number;
- the destination user can choose to reply to the received message, and can also choose not to reply to the received message. Therefore, the sub-access number mapping relationship saved in the converged gateway can be set to an expiration date, which can be, for example, 72 hours. For mapped records that have been saved for more than 72 hours, delete them directly.
- a signature may be added after the content of the short message, and the IM account at the source end is added to the SM message by signature.
- Step 1007 since the converged gateway establishes a chain with the SM gateway by the SP identity, the SM gateway is The account needs to be opened to the converged gateway, and routes are configured.
- the SM gateway After receiving the SM message sent by the converged gateway, the SM gateway obtains the route through the destination end identifier, and after processing, the SM message is sent to the SMS center to which the destination user belongs by using the submit message.
- Step 1008 After receiving the SM message, the SMS center of the operator sends the SM message to the destination end through the wireless side interface.
- Step 1009 After the target user views the SM message, if the reply is selected, the content edited by the destination user is returned to the associated short message center by the wireless side in the manner of SM;
- Step 1010 After receiving the SM message sent by the SM user, the short message center forwards the message to the SM gateway by using a deliver message.
- Step 1011 After receiving the SM message, the SM gateway searches for a route according to the longest matching manner of the source end identifier carried in the SM message, and the route refers to the converged gateway.
- the SMGP deliver message is sent to the converged gateway
- the SGIP submit message is sent to the converged gateway
- the CMPP deliver message is sent to the converged gateway.
- Step 1012 After receiving the SM message of the SM gateway, the converged gateway searches the sub-access number table according to the source identifier, and finds the IM account corresponding to the sub-access number, and then sends the IM message to the IM message according to the IM encapsulation.
- IM server After receiving the SM message of the SM gateway, the converged gateway searches the sub-access number table according to the source identifier, and finds the IM account corresponding to the sub-access number, and then sends the IM message to the IM message according to the IM encapsulation.
- IM server After receiving the SM message of the SM gateway, the converged gateway searches the sub-access number table according to the source identifier, and finds the IM account corresponding to the sub-access number, and then sends the IM message to the IM message according to the IM encapsulation.
- Step 1013 After receiving the IM message, the IM server directly searches for the corresponding IP address according to the source identifier (in this case, an IM account), and directly forwards the IM message to the corresponding client.
- the source identifier in this case, an IM account
- Step 1014 at this time, the client user can see the message content replied by the SMS user on the interface.
- the technical solution provided by the embodiment of the present invention is a method for an IM user to directly forward text content to an ordinary SM user when using an IM tool or an IM application.
- the technical solutions provided by the foregoing Embodiments 5 to 10 of the present invention only need to slightly modify the IM application and the IM server; and add a converged gateway with protocol conversion and routing functions between the IM server and the SM gateway, where
- the modification of the IM application means that the user can add the destination user from the address book through the IM application; the modification of the IM server means that when the IM server determines that the destination user is not an IM user, directly forwards the received IM message to the fusion.
- the technical solutions provided in the foregoing embodiments 5 to 10 have minimal changes to the existing IM domain and the devices in the SM domain, and thus have the characteristics of low cost and easy implementation.
- the above information processing method is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
- the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information processing method provided in the embodiments of the present invention.
- the first message encapsulated according to the first protocol is received;
- the protocol parses the first message, and obtains a first data content, a first identifier, a second identifier, a first category identifier, and a second category identifier; and when determining that the first category identifier is different from the second category identifier,
- the protocol corresponding to the second category identifier encapsulates the first data content and the first identifier to obtain a second message; the second message is sent according to the second identifier; and the technical solution of the embodiment of the present invention is adopted. It enables instant and fast information content sharing between IM users and SM users.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
La présente invention concerne un procédé et un appareil de traitement d'informations, un serveur de messagerie instantanée (IM), une passerelle de convergence, et un support de stockage. Le procédé comprend les étapes consistant à : recevoir un premier message encapsulé selon un premier protocole, le premier message contenant un premier contenu de données, un premier identificateur, un second identificateur, un premier identificateur de classe et un second identificateur de classe ; analyser le premier message selon le premier protocole, de façon à obtenir le premier contenu de données, le premier identificateur, le second identificateur, le premier identificateur de classe et le second identificateur de classe ; lorsqu'il est déterminé que le premier identificateur de classe est différent du second identificateur de classe, encapsuler le premier contenu de données et le premier identificateur selon un protocole correspondant au second identificateur de classe, de façon à obtenir un second message ; et envoyer le second message selon le second identificateur.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410256410.2 | 2014-06-10 | ||
CN201410256410.2A CN105227427A (zh) | 2014-06-10 | 2014-06-10 | 一种信息处理方法及装置、即时通讯服务器、融合网关 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015131478A1 true WO2015131478A1 (fr) | 2015-09-11 |
Family
ID=54054415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/083328 WO2015131478A1 (fr) | 2014-06-10 | 2014-07-30 | Procédé et appareil de traitement d'informations, serveur de messagerie instantanée, passerelle de convergence, et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105227427A (fr) |
WO (1) | WO2015131478A1 (fr) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115242549B (zh) * | 2022-09-21 | 2023-04-07 | 佛山市元亨利贞信息科技有限公司 | 基于开放协议的数据安全共享方法、装置、设备及介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2107741A1 (fr) * | 2008-03-31 | 2009-10-07 | Nokia Siemens Networks Oy | Interfonctionnement entre des services de messagerie |
CN101971584A (zh) * | 2008-02-06 | 2011-02-09 | 高通股份有限公司 | 用于消息的递送确认的方法和设备 |
CN102150443A (zh) * | 2008-09-15 | 2011-08-10 | 微软公司 | 用于在即时消息用户和短消息服务用户之间进行通信的系统和方法 |
CN102238495A (zh) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | 一种短信与im消息互通系统 |
US20130040670A1 (en) * | 2001-05-03 | 2013-02-14 | Kyocera Corporation | Instant messaging to a mobile device |
-
2014
- 2014-06-10 CN CN201410256410.2A patent/CN105227427A/zh not_active Withdrawn
- 2014-07-30 WO PCT/CN2014/083328 patent/WO2015131478A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130040670A1 (en) * | 2001-05-03 | 2013-02-14 | Kyocera Corporation | Instant messaging to a mobile device |
CN101971584A (zh) * | 2008-02-06 | 2011-02-09 | 高通股份有限公司 | 用于消息的递送确认的方法和设备 |
EP2107741A1 (fr) * | 2008-03-31 | 2009-10-07 | Nokia Siemens Networks Oy | Interfonctionnement entre des services de messagerie |
CN102150443A (zh) * | 2008-09-15 | 2011-08-10 | 微软公司 | 用于在即时消息用户和短消息服务用户之间进行通信的系统和方法 |
CN102238495A (zh) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | 一种短信与im消息互通系统 |
Also Published As
Publication number | Publication date |
---|---|
CN105227427A (zh) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6054484B2 (ja) | 割り当てられたネットワークアドレスを有するデバイスにアクセスするクライアントローカルプロキシサーバを使用したシステムおよび方法 | |
CN108616490B (zh) | 一种网络访问控制方法、装置及系统 | |
US9401962B2 (en) | Traffic steering system | |
US10063547B2 (en) | Authorization authentication method and apparatus | |
WO2020073919A1 (fr) | Procédé et appareil de transmission de paquet | |
JP5739023B2 (ja) | 割り当てられたネットワークアドレスを有するデバイスにアクセスするウェブプロキシサーバを使用したシステムおよび方法 | |
US9307039B2 (en) | Method, system, push client, and user equipment for service communication | |
US9485177B2 (en) | Client applications communicating via a user tunnel | |
US10673680B2 (en) | Electronic device providing dialog contents, server and method thereof | |
WO2015158114A1 (fr) | Procédé de communications intelligentes, terminal et système | |
US9083693B2 (en) | Managing private information in instant messaging | |
US10924530B2 (en) | Inter-provider file transfer system and method | |
JP2021012710A (ja) | 非同期メッセージシステムにおける単一アカウントに対する複数プロファイルの管理 | |
US20120278854A1 (en) | System and method for device addressing | |
EP2408174A1 (fr) | Diffusion d'informations d'activité de messagerie | |
CN102355509A (zh) | 一种依托通讯录中移动号码进行消息收发的方法和装置 | |
EP2974159B1 (fr) | Procédé, dispositif et système permettant une communication vocale | |
US8861503B2 (en) | Method and system for synchronizing data between mobile terminal and internet phone | |
US8892139B2 (en) | Systems and methods enabling a short message service gateway via cloud computing services | |
JP2024511907A (ja) | ネットワーク機能登録方法、発見方法、装置、デバイス及び媒体 | |
WO2015131478A1 (fr) | Procédé et appareil de traitement d'informations, serveur de messagerie instantanée, passerelle de convergence, et support de stockage | |
WO2012155652A1 (fr) | Procédé de télécommunication, élément filet et système de réseaux sociaux croisés | |
US8731532B2 (en) | Method for delivering electronic documents using mobile telephony identifiers in a secure manner in conjunction with internet protocols and address systems | |
CN102761574B (zh) | 一种通过永远在线平台实现点对点业务的方法及系统 | |
JP2013126219A (ja) | 転送サーバおよび転送プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14884482 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14884482 Country of ref document: EP Kind code of ref document: A1 |