+

WO2018033015A1 - Method and device for communicating between terminals in multiple systems - Google Patents

Method and device for communicating between terminals in multiple systems Download PDF

Info

Publication number
WO2018033015A1
WO2018033015A1 PCT/CN2017/096803 CN2017096803W WO2018033015A1 WO 2018033015 A1 WO2018033015 A1 WO 2018033015A1 CN 2017096803 W CN2017096803 W CN 2017096803W WO 2018033015 A1 WO2018033015 A1 WO 2018033015A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
type
message
login
terminals
Prior art date
Application number
PCT/CN2017/096803
Other languages
French (fr)
Chinese (zh)
Inventor
刘悦
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2018033015A1 publication Critical patent/WO2018033015A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a method and apparatus for communication between terminals in a multiple system.
  • OTT private system the terminal used is called OTT APP
  • OTT APP such as China Mobile's Fetion and China Telecom.
  • E-mail, etc. this way completely uses the Internet solution, users need to download and install a specific APP, and register a account (for the operator's OTT instant messaging software, usually use the mobile phone number as the user account to progress registration, that is, the user name Mobile phone number, and actual message routing distribution, etc. use OTT internal identification);
  • the second is to use the international standard of telecommunications to realize the instant messaging system (hereinafter referred to as the converged communication standard instant messaging system) through the support of the GSMA RCS (Global System for Mobile Communications Association Rich Communication Suite), such as China Mobile Fusion. Communication.
  • GSMA RCS Global System for Mobile Communications Association Rich Communication Suite
  • This method is further divided into three major communication portals for promoting the original call, short/mMS and address book on the upgrade terminal of the mobile phone manufacturer, and supporting the instant message in the terminal native mode (Native, that is, the terminal has the function at the time of leaving the factory) (hereinafter referred to as Standard Native mode, the terminal used is called Native Terminal), and downloading an instant message implemented by an APP based on the converged communication standard (hereinafter referred to as a standard APP method, the terminal used is referred to as an RCS APP). Due to the use of international standards, this method guarantees the global accessibility of carrier basic communication services and the quality of carrier-class services. It can be said that this method is based on communication capabilities.
  • Some of the larger operators such as China Mobile, have strong technical capabilities and strong industrial driving force, so they have a converged communication standard instant messaging system and OTT private instant messaging system, so that the same user It is possible to use the APP while having a Native terminal, and the APP may be an OTT APP or an RCS APP.
  • this user may also have various clients such as a PC client and a Pad client, so that the same user will have There are many different terminals, and there may be more than one APP or Native portal with the same function on the same terminal. In this way, if the message is sent to different portals of different terminals, the user needs to repeatedly switch between different portals of different terminals. Will cause trouble for the user's use.
  • the operator's traditional short MMS system still exists, which will further increase the difficulty of users.
  • the present disclosure provides a method and apparatus for communication between terminals in a multi-system, thereby enabling the same communication between terminals in a plurality of communication systems.
  • an embodiment of the present disclosure provides the following solution:
  • a method for communication between terminals in a multi-system includes:
  • first login status information that the first type terminal uses to log in using the first communication system
  • second login status information that the second type terminal uses to log in using the second communication system
  • first login status information and the first The second login status information is stored in the user status database;
  • the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
  • the login conflict rule includes: the first type end
  • the terminal is a native terminal that supports instant messaging and supports other instant messaging applications
  • the second type of terminal is factory-supported for instant messaging but does not support installation of other instant messaging applications other than non-Native terminals. All types of terminals can be online at the same time.
  • the login conflict rule includes: the first type terminal is a terminal that installs an instant messaging application rich media communication RCS APP1, and the second type terminal is a terminal that installs an RCS APP1, Both types of terminals can be online at the same time, but the terminals that are installed with RCS APP2, OTT APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in before are logged off; wherein, RCS APP1 and RCS APP2 is a different application based on the same communication protocol, and OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
  • the login conflicting rule includes: the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time.
  • the terminals that are installed with RCS APP1, OTT APP 1, and OTT APP 2 are not online at the same time, and the logins that are logged in before are logged off; wherein RCS APP1 and RCS APP2 are different applications based on the same communication protocol.
  • OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
  • the login conflicting rule includes: the first type of terminal is a terminal that installs an instant messaging application OTT APP 1 of a private communication protocol, and when the second type of terminal is an OTT APP 1, both types of terminals can be online at the same time. However, the terminals that are installed with RCS APP1, RCS APP 2, and OTT APP 2 are not online at the same time, and the logins that will be logged in before are offline; wherein, RCS APP1 and RCS APP2 are different based on the same communication protocol. Applications, OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
  • the login conflicting rule includes: the first type of terminal is a terminal that installs the OTT APP 2 of the instant messaging application of the private communication protocol, and when the second type of terminal is the terminal that installs the OTT APP 2, both types of terminals may be used. Simultaneously online, but the terminals that install RCS APP1, RCS APP 2, and OTT APP1 are not online at the same time, and the logins that will be logged in before are offline; wherein RCS APP1 and RCS APP2 are based on the same communication protocol. For different applications, OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
  • the login conflict rule includes: when the first type of terminal is the computer PC1, and when the second type of terminal is the computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in before. Kick off the line; PC1 and PC2 are different computers.
  • the terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1; the terminal that installs OTT APP 2, the corresponding terminal identifier is Eid2;
  • the PC1 terminal, the corresponding terminal identifier is PCid1; the PC2 terminal, the corresponding terminal identifier is PCid2; wherein Eid1 is different from Eid2, and PCid1 is different from PCid2.
  • the method for communicating between the terminals in the multiple system further includes: acquiring a message sent by the sending terminal, and storing the message in the first message queue of the sending terminal;
  • a notification message is respectively written in the notification queue of the at least one type of access terminal, and the notification message in the queue is notified by the system server corresponding to the at least one type of receiver terminal. They are sent to the receiver terminal separately.
  • the method for communication between terminals in the multiple system further includes: performing, by the first message queue of the sending terminal, message synchronization to the second message queue of the receiver terminal.
  • the message sent by the sending terminal has an identifier, where the identifier is used to identify that the sending terminal is the same as the sending terminal and is in the login state and is based on the same application.
  • the receiving terminal of the account sent has an identifier, where the identifier is used to identify that the sending terminal is the same as the sending terminal and is in the login state and is based on the same application.
  • the method further includes: at least one type of receiving terminal corresponding to the communication system, which will be updated this time. The message is sent to the recipient terminal.
  • the method for communication between terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is already in the at least one type. If the other recipient terminal receives it, the receiver terminal performs silent processing.
  • the method for communication between terminals in multiple systems further includes: if at least one type of receiver terminal, only the factory can support instant messaging but does not support When the non-Native terminal that installs other instant messaging applications is in the login state, the communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the receiving terminal through the short message center.
  • An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
  • An acquiring module configured to acquire first login status information that is used by the first type terminal to log in using the first communication system, and second login status information that is used by the second type terminal to log in using the second communication system, and the first login status is The information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
  • a sending module configured to send the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state
  • the login conflict rule includes: the first type of terminal is a native terminal that is ready to support instant messaging and supports other instant messaging applications, and the second type of terminal is Both types of terminals can be online at the same time when the factory supports instant messaging but does not support the installation of other non-Native terminals for instant messaging applications; or
  • the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1
  • the second type terminal is a terminal for installing an RCS APP1
  • both types of terminals can be online at the same time, but with RCS APP2 and OTT installed.
  • the terminals of APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
  • the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time, but with the installation of RCS APP1, OTT The terminals of APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
  • the first type of terminal is a terminal of an instant messaging application OTT APP 1 that installs a private communication protocol.
  • the second type of terminal is an OTT APP 1
  • both types of terminals can be online at the same time, but the RCS APP1 is installed.
  • the terminals of RCS APP 2 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
  • the first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol
  • the second type of terminal is a terminal for installing an OTT APP 2
  • both types of terminals can be online at the same time, but with the installation of RCS
  • the terminals of APP1, RCS APP 2, and OTT APP 1 cannot be online at the same time, and the logins that are logged in after the login are offline; or
  • the first type of terminal is a computer PC1
  • the second type of terminal is a computer PC2
  • the two types of terminals cannot be online at the same time, and the later logins are logged in.
  • the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol
  • the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol
  • PC1 and PC2 are different computers.
  • the terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1; the terminal that installs OTT APP 2, the corresponding terminal identifier is Eid2; PC1, the corresponding terminal identifier is PCid1; PC2, the corresponding terminal identifier is PCid2; wherein Eid1 is different from Eid2, and PCid1 is different from PCid2.
  • the device for communicating between the terminals in the multiple system further includes: a message synchronization module, configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal; Obtaining at least one type of receiver terminal that is currently in a login state in the user state database; and writing a notification message to the notification queue of the at least one type of access party terminal according to the message, and by the The system server corresponding to the at least one type of receiver terminal sends the notification message in the notification queue to the receiver terminal.
  • a message synchronization module configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal.
  • Obtaining at least one type of receiver terminal that is currently in a login state in the user state database and writing a notification message to the notification queue of the at least one type of access party terminal according to the message, and by the The system server corresponding to the at least one type of receiver terminal sends the notification message in the notification queue to the receiver terminal.
  • the message synchronization module is further configured to: perform a message synchronization by using a first message queue of the sending terminal to a second message queue of the receiving terminal.
  • the message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is the same as the sending terminal is in the login state and is based on the same application.
  • the receiving terminal of the account sent has an identifier, where the identifier is used to identify that the message is the same as the sending terminal is in the login state and is based on the same application.
  • the device for communication between terminals in the multiple systems further includes: The communication system corresponding to the at least one type of recipient terminal transmits the message of the update to the receiver terminal.
  • the device for communicating between the terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is already in the at least one type. If the other recipient terminal receives it, the receiver terminal performs silent processing.
  • the device for communication between the terminals in the multiple system further includes: if at least one type of the receiver terminal, only the factory can support instant messaging but does not support installing other instant messaging applications.
  • the communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the recipient terminal through the short message center.
  • An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
  • a memory is stored with computer readable instructions executable by the processor, the processor performing the following operations when the computer readable instructions are executed:
  • first login status information that the first type terminal uses to log in using the first communication system
  • second login status information that the second type terminal uses to log in using the second communication system
  • first login status information and the first The second login status information is stored in the user status database;
  • the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer readable instructions executable by a processor, the processor executing when the computer readable instructions are executed by a processor The following operations:
  • first login status information that the first type terminal uses to log in using the first communication system
  • second login status information that the second type terminal uses to log in using the second communication system
  • the second login status information is stored in the user status database
  • One type of terminal and the second type of terminal are different types of terminals that log in based on the same account of the same application
  • the foregoing solution of the present disclosure by acquiring first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first
  • the login status information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application; a login status information and a second login status information are sent to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login status information and the second login status information, and
  • a login conflict rule between different types of terminals stored in advance determines whether the second type terminal is allowed to log in. Realize multi-terminal online state management and message communication management between different systems.
  • FIG. 1 is a related art IMS multi-terminal message communication mechanism
  • FIG. 3 is a schematic diagram of an instant messaging delivery channel of each type of terminal in the related art
  • FIG. 4 is a flow chart of a method for communication between terminals in a multiple system of the present disclosure
  • FIG. 5 is a system architecture diagram of communication between terminals in a multiple system of the present disclosure
  • FIG. 6 is a schematic diagram of a state of an initial user terminal in a method for communication between terminals in a multi-system according to the present disclosure
  • FIG. 7 is a schematic diagram of a user OTT APP 1 going online at the terminal B in the method for communication between terminals in the multiple systems of the present disclosure
  • FIG. 8 is a schematic diagram of a user OTT APP logging in on a Native terminal in a method for communication between terminals in a multiple system according to the present disclosure
  • FIG. 9 is a schematic diagram of a state in which a user PC APP is deregistered in a method for communication between terminals in a multi-system according to the present disclosure
  • FIG. 10 is another flow chart of a method for communication between terminals in a multiple system of the present disclosure.
  • FIG. 11 is a flow chart of sending a multi-terminal message on the calling side in the process shown in FIG. 10;
  • FIG. 12 is a flow of receiving a multi-terminal message on the called side in the flow shown in FIG. 10;
  • FIG. 13 is a flow chart showing that only the short message terminal is online in the flow shown in FIG. 10;
  • Figure 14 is a diagram showing the structure of a computer system of a device suitable for implementing communication between terminals in a multi-system of the embodiment of the present application or a device for communication between terminals in a plurality of systems.
  • each communication system is independent of each other, and the message cannot be distributed between terminals in different systems.
  • the messages in the IMS system can only be sent to the terminals in the IMS system, and the messages in the OTT system can only be sent to
  • the embodiment of the present disclosure realizes the multi-terminal online state management between different systems by establishing a unified data layer, integrating the terminal state data and the message data of each system into the unified data layer. And message management.
  • the related technologies are generally classified into a multi-terminal processing method in an IMS (IP Multimedia Subsystem) system and a multi-terminal processing method in an OTT system, where:
  • the IMS multi-terminal message mechanism is shown in Figure 1.
  • This method requires all terminals used by the same user to be based on SIP. They all have the same SIP user identity (IMPI/IMPU) and pass different SIP instances (sip.instance or GRUU). ) registering in IMS, for different terminals, There are two types of processing: the terminal identifiers are identical. The terminal that is registered later kicks the terminal that is registered first, and only the online terminal receives the message.
  • Different terminals can be distinguished by parameters such as GRUU or sip.instance, and can be registered at the same time. All messages are stored in the centralized message storage platform. When receiving the message, the same message is copied into multiple copies through the IMS forking mechanism. To each terminal instance, for a terminal that is not online, the message synchronization is implemented by using a push mode through a centralized message storage platform after being online.
  • the OTT instant messaging system uses a similar method, but generally multiple terminals are classified into a master terminal and a slave terminal (for example, WeChat and WeChat web versions). Generally, on a device, only one terminal can log in to the same account (for example, two mobile phones cannot log in to the same account). In addition, the login from the terminal depends on the main terminal. For example, when the mobile phone logs in, the PC can be used. Personal computer) side web client login, etc.
  • the receiver has multiple devices, the messages are respectively written into multiple message queues according to the login state of the receiver, and each terminal of the receiver is notified of the message update, and the receiver compares the local message records.
  • the server pulls the corresponding message, after which the receiving device notifies the server that a message has been received, and the server can set the part of the message of the device to be read in the message queue.
  • each message system is a separate vertical structure, and multiple terminals and message entry relationships owned by the user are also complicated.
  • the existing technical solutions cannot implement multi-terminal management and message requirements in such a scenario.
  • FIG. 1 and FIG. 2 whether the multi-terminal solution in the IMS system or the multi-terminal solution in the OTT system, cannot coexist with the unified operator IMS message system and the OTT message system, and the multiple terminals exist in different systems respectively.
  • a scenario that is, multiple terminals in different systems cannot be uniformly managed. Because the systems are independent of each other and cannot distribute messages between terminals in different systems, messages in the IMS system can only be sent to terminals in the IMS system, and messages in the OTT system can only be sent to the OTT system. terminal.
  • an embodiment of the present disclosure provides a method for communication between terminals in a multiple system, including:
  • Step 41 Acquire first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and And storing the first login status information and the second login status information in a user status database; the first type terminal and the second type terminal are different types of terminals that are logged in based on the same account of the same application. ;
  • Step 42 Send the first login state information and the second login state information to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login state information and The second login status information, and the login conflict rule between the different types of terminals stored in advance, determines whether the second type terminal is allowed to log in.
  • the multiple systems may be a plurality of different instant messaging systems and a traditional short multimedia messaging system for the same operator, the user has multiple different terminals, and there may be different Native/APP entries on the same terminal.
  • the scenario realizes multi-terminal online state management and message management between different systems by establishing a unified data layer and integrating terminal data and message data of each system into a unified data layer.
  • the client can be classified into the following four types:
  • PC-type client An APP on a PC implemented based on the PC OTT proprietary protocol.
  • RCS APP client An APP on a mobile phone based on the RCS standard.
  • OTT APP client An APP on a mobile phone based on the mobile phone OTT proprietary protocol.
  • Native The original message portal of the mobile phone. If the RCS message capability has been upgraded, the RCS instant message and short multimedia message can be sent and received. Otherwise, the short multimedia message can only be sent and received.
  • the type is an independent type, and the mobile client APP and native can be online at the same time regardless of whether the APP and the native are on the same terminal.
  • the online rules of the client that is, the login conflict rules of each type of terminal are as follows:
  • the Native terminal is bound to the user SIM card. Each user can only have a unique Native terminal, and the terminal cannot be kicked off the line by other terminals.
  • the Native terminal When the Native terminal has a data connection, it has RCS instant messaging capability.
  • Non-Native terminals only short MMS receiving capabilities.
  • Both the RCS APP and the OTT APP can be installed on a Native terminal or a non-Native terminal.
  • the RCS APP and the OTT APP can only have one online, and the client that goes online will kick the other client off the line.
  • the instant message will be sent only to the Native terminal regardless of the version of the APP. If the user enters directly from the APP portal, the APP reads the history from the database of the Native terminal.
  • the PC client can be online at the same time as the mobile phone Native/APP and will receive all messages.
  • N/A means that online is allowed
  • means that online is not allowed.
  • the difference is identified by their device identifier:
  • OTT allows registration of logins on different devices.
  • the OTT server assigns a device identifier to the device, such as: APP1: the identifier is eid1, and APP2: the identifier is eid2.
  • PC client 1 ID is PCid1
  • PC client 2 ID is PCid2
  • Eid1 is different from Eid2
  • PCid1 is different from PCid2.
  • a unified user state database is set on the same operator having multiple different instant messaging systems and a traditional short multimedia messaging system.
  • a unified message queue is set on each instant messaging system and SMS system.
  • a one-way solid arrow indicates that the message is delivered
  • a two-way dotted arrow indicates that it can be installed
  • a two-way solid arrow indicates that the message can be read.
  • silo-type message systems that are independent of each other need to be docked in the newly created user state database, and the login status of the respective terminal in the own system is submitted to the user state database through the data interface, and the user is all logged in to the device returned by the user state database. status information.
  • the vertical silo message systems that are independent of each other need to be connected to the newly created unified message queue.
  • the message queue is divided into two parts: a message queue and a notification queue.
  • the message queue is used to store the sent and received messages themselves, and the notification queue is used to notify each corresponding.
  • the terminal has a new message coming.
  • a specific implementation example of the multi-terminal login management method when the user's various devices log in or log out, the corresponding server in the access system (IM AS (application server) in the RCS instant messaging system, OTT in the OTT instant messaging system)
  • IM AS application server
  • OTT OTT instant messaging system
  • the AS, the PC AS in the PC system needs to write the login or logout information of the device to the user status database (the user's SMS defaults online, and the user status database has SMS terminal information by default unless the user is in the CS (circuit) domain. Up), the information returned by the user status database to the server carries the information of all the users logging in to the device.
  • the server in each system determines whether it is necessary to kick the other end off the line according to the database return and the device mutual exclusion policy, and if necessary, initiates a logout request to the server where the end is located. Because the short multimedia messaging system is not mutually exclusive with other systems, the short multimedia messaging center does not need to initiate a logout request to other systems.
  • the user's Native terminal (number 138XXXXXXX) is online. As shown in Figure 6, an RCS APP is installed on the Native terminal.
  • the information in the user status database is as shown in Table 3 below:
  • the user logs in on the terminal B (number is 139XXXXXXX) with the OTT APP.
  • the OTT AS allocates eid1 and writes the information of the OTT APP in the terminal B login.
  • the user status database the user status database returns all current online terminal information to the OTT AS, and the OTT AS determines that there is no conflict according to the conflict rule, and does not need to initiate a logout request.
  • the user OTT APP logs in on the Native terminal, as shown in FIG.
  • the OTT AS allocates the eid2 and writes the information of the OTT APP in the terminal B to the user status database.
  • the user status database returns all the current online terminal information to the OTT AS.
  • the OTT AS determines that the RCS APP exists on the same terminal according to the conflict rule.
  • the status of the user at this time is as shown in Table 5 below:
  • an embodiment of the present disclosure provides a method for communication between terminals in a multiple system, including:
  • Step 101 Acquire first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and The second login status information is stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
  • Step 102 Send the first login state information and the second login state information to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login state information and a second login status information, and a login conflict rule between different types of terminals stored in advance, determining whether the second type terminal is allowed to log in;
  • Step 103 Acquire a message sent by the sending terminal in the login state, and store the message in the first message queue of the sending terminal.
  • the message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is Transmitting the terminal to the receiving terminal that is in the login state at the same time as the sending terminal and based on the same account of the same application;
  • Step 104 Obtain, from the user state database, at least one type of receiver terminal that is currently in a login state;
  • Step 105 Write a notification message to the notification queue of the at least one type of access terminal according to the message, and notify the queue by the system server corresponding to the at least one type of receiver terminal.
  • the notification message is sent to the receiver terminal separately;
  • the method may further include:
  • Step 106 The first message queue of the sending terminal performs message synchronization with the second message queue of the receiving terminal.
  • Step 107 The communication system corresponding to the at least one type of receiver terminal sends the message of the update to the receiver terminal.
  • Step 108 When the receiving terminal receives the message of the update, if the message of the current update has been received on the other receiving terminal of the at least one type, the receiving terminal performs a silent process.
  • the method of setting a unified message queue on the short message system implements multi-terminal message transmission, which may further include a multi-terminal message sending mechanism on the calling side and a multi-terminal message receiving mechanism on the called side.
  • the calling side multi-terminal message sending mechanism is as follows:
  • Each user has a home message queue as the main queue.
  • the message queue of another node that is not owned by the user acts as a slave queue and keeps synchronization with the main queue; the message sent by the caller is simultaneously written into the self-receiving message queue.
  • Medium used to achieve the CC at the other end of the calling side.
  • the message is delivered in the same way as the receiver, but the message has a special identifier indicating that it is a message of its own.
  • the calling other terminal does not form a delivery report message.
  • the server to which it belongs writes the message to its own receiving message queue.
  • This message has a special flag indicating that it is a message sent by itself;
  • the message queue database service queries which end of user A is online according to the information in the A user status database, and writes the corresponding notification queue;
  • the notification queue notifies the corresponding server of the new message
  • the corresponding server sends the message to the other end of the calling party A.
  • the other end judges that this is a message sent by itself according to the flag in the message, and is displayed in the sending message. Because these messages are not prompted to the sending user, although the other end of the sender user will receive the same message record from the user, the user does not need to switch between their respective message entries.
  • the message queue of the sender user A performs message synchronization with the message queue of the receiver user B.
  • the called side also uses the unified message queue to provide multi-terminal message reception on the called side, and the processing rules are as follows. under:
  • Different terminal devices of the same user respectively set different pointers in a message notification queue to identify messages received by the terminal.
  • the mobile phone number of the called user B except for the short message, no terminal is online, that is, when there is no notification queue to be written, the online list of users obtained by each server is also Empty, in this state, the RCS AS will pull the instant message and convert it into a short message and deliver it to the called user B via SMS. Since only the TCS converged communication instant messaging system based on the telecommunication standard has the ability to interact with the short message in the telecommunication signaling network, the function of transferring the short message needs to be completed by the RCS AS.
  • Each terminal delivery report is also written to the message queue in accordance with the message rules. For the delivered and read reports, the message queue is weighted and only the first delivery report is retained. For the forwarded SMS report, the IMS AS writes a new message as a new message to the message queue, and does not perform weighting processing with other delivery reports.
  • the called side multi-terminal message receiving process First, the user B message queue writing/synchronization is completed, and the queue writing is notified.
  • the current B online terminal is queried according to the user B user status database. For example, at this time, the receiving user B has a Native and a PC client, and the status of the latest message is as follows:
  • the process includes:
  • 2IMS AS obtains the message (73-85) after the current pointer of the IMS client, updates the native pointer to 85, and the latest read update to 85;
  • 3IMS server is pushed to RCS Native by IMS;
  • the 4PC client goes online or the user clicks to receive the message
  • the 5PC server obtains the message (56-85) after the current pointer of the PC client, and updates the PC pointer to 85;
  • the pointer 55 is smaller than the highest read pointer 85, and the PC needs to perform silent processing.
  • the PCAS adds a silent flag to the sent message, that is, the other online terminals of the user still receive the same message, but will not remind the user. Users also do not need to switch back and forth between individual message entries. When the user actively enters from another message entry, the same message record can still be seen because the entry has been received before.
  • the process includes:
  • the user status database query finds that all the instant messaging capable terminals on the mobile phone that is sent to the called user B's mobile phone number are not online, and then need to notify the RCS AS with the short message capability to pull a new message;
  • 2RCS AS query currently has 3 messages (86-88) between the latest news, then pull these 3 messages down to local, and set the latest read pointer of RCS Native to 88;
  • 3RCS AS converts these three messages into short messages and sends them to the SMS center of the calling user through the No. 7 signaling network;
  • the call center of the calling user sends 3 short messages to the called user B according to the standard short message process.
  • the plurality of systems may be a plurality of different instant messaging systems owned by the same operator and a conventional short multimedia messaging system, and the above embodiments of the present disclosure have multiple different instant messaging systems by the same operator.
  • the database realizes online state management of multiple terminals by uniformly storing information of the online end of the user in the database; and realizing message distribution between multiple terminals by setting a unified message queue on each instant messaging system and the short message system.
  • the unified management of the terminal online state between the respective message systems which are independent of each other is realized; and the message distribution between the plurality of terminals originally belonging to the respective independent message systems is realized, and different terminals can see the same message record.
  • only the terminal currently operated by the user will prompt the user, and the user does not need to repeatedly switch between the terminals, thereby improving the user experience.
  • An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
  • An acquiring module configured to acquire first login status information that is used by the first type terminal to log in using the first communication system, and second login status information that is used by the second type terminal to log in using the second communication system, and the first login status is The information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
  • a sending module configured to send the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state
  • the login conflict rule includes: the first type terminal is a native terminal that can support instant messaging and supports other instant messaging applications, and the second type terminal is factory-supported for instant messaging but does not support installation. When instant messaging is applied to a non-Native terminal, both types of terminals can be online at the same time; or
  • the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1
  • the second type of terminal is a terminal for installing an RCS APP1
  • both types of terminals can be online at the same time, but with the installation of RCS APP2, OTT APP 1 and OTT APP 2 terminals cannot be online at the same time. Recorded kicking off the line before logging in; or
  • the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2
  • the second type of terminal is a terminal for installing an RCS APP2
  • both types of terminals can be online at the same time, but with RCS APP1, OTT APP 1 and OTT installed
  • the terminals of APP 2 cannot be online at the same time, and those who log in later will log in before the line; or
  • the first type of terminal is a terminal that installs the instant messaging application OTT APP 1 of the private communication protocol, and when the second type of terminal is installed with the OTT APP 1, both types of terminals can be online at the same time, but with the installation of RCS APP1, RCS APP 2 and The terminals of OTT APP 2 cannot be online at the same time, and the logins that will be logged in before will be offline; or
  • the first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol
  • the second type of terminal is a terminal for installing an OTT APP 2
  • both types of terminals can be online at the same time, but with the installation of RCS APP1, RCS APP 2 and the terminal of OTT APP 1 cannot be online at the same time, and the login that is logged in later will be kicked off the line; or
  • the two types of terminals cannot be online at the same time, and the later logins are logged in before the kick-off line;
  • the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol, and PC1 and PC2 are different computers.
  • the device for communicating between the terminals in the multiple system further includes: a message synchronization module, configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal; and obtain the current status from the user state database. At least one type of recipient terminal of the login state; according to the message, respectively writing a notification cancellation in the notification queue of the at least one type of access terminal And transmitting, by the system server corresponding to the at least one type of receiver terminal, the notification message in the notification queue to the receiver terminal.
  • a message synchronization module configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal; and obtain the current status from the user state database.
  • At least one type of recipient terminal of the login state according to the message, respectively writing a notification cancellation in the notification queue of the at least one type of access terminal
  • transmitting by the system server corresponding to the at least one type of receiver terminal, the notification message in the notification queue to the receiver terminal.
  • the message synchronization module is further configured to: perform message synchronization on the first message queue of the sending terminal to the second message queue of the receiver terminal.
  • the message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is sent by the sending terminal to the receiving terminal that is in the login state with the sending terminal and is based on the same account of the same application.
  • the device for communicating between the terminals in the multiple system further includes: a communication system corresponding to the at least one type of the receiver terminal, and sending the updated message to the receiver terminal.
  • the device for communicating between the terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is received on the other receiving terminal of the at least one type. Then, the receiver terminal performs silent processing.
  • the device for communicating between the terminals in the multiple systems further includes: if at least one type of the receiver terminal is in a login state only if the non-Native terminal that supports the instant messaging service but does not support the installation of other instant messaging applications is in the login state,
  • the communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the receiver terminal through the short message center.
  • the device is a device corresponding to the above method, and all implementations in the above method are applicable to the embodiment of the terminal, and the same technical effects can be achieved.
  • the multiple systems may be multiple different instant messaging systems owned by the same operator and the traditional short multimedia messaging system.
  • the above embodiments of the present disclosure have multiple different instant messages by the same operator.
  • a unified user state database is set on the system and the traditional short multimedia message system, and the online state management of the multi-terminal is realized by uniformly storing the information of the user online end in the database; setting a unified message queue on each instant messaging system and the short message system The way to achieve message distribution between multiple terminals.
  • the unified management of the terminal online state between the respective message systems which are independent of each other is realized; and the message distribution between the plurality of terminals originally belonging to the respective independent message systems is realized, and different terminals can see the same message record.
  • only the terminal currently operated by the user will prompt the user, and the user does not need to repeatedly switch between the terminals, thereby improving the user experience.
  • FIG. 14 a block diagram of a computer system 1400 suitable for use in implementing the means for communicating between terminals in a multi-system of embodiments of the present application is shown.
  • computer system 1400 includes a central processing unit (CPU) 1401 that can be loaded into a program in random access memory (RAM) 1403 in accordance with a program stored in read only memory (ROM) 1402 or from storage portion 1408. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 1403 various programs and data required for the operation of the system 1400 are also stored.
  • the CPU 1401, the ROM 1402, and the RAM 1403 are connected to each other through a bus 1404.
  • An input/output (I/O) interface 1405 is also coupled to bus 1404.
  • the following components are connected to the I/O interface 1405: an input portion 1406 including a keyboard, a mouse, etc.; an output portion 1407 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 1408 including a hard disk or the like And a communication portion 1409 including a network interface card such as a LAN card, a modem, or the like.
  • the communication section 1409 performs communication processing via a network such as the Internet.
  • Driver 1410 is also coupled to I/O interface 1405 as needed.
  • a removable medium 1411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 1410 as needed so that a computer program read therefrom is installed into the storage portion 1408 as needed.
  • an embodiment of the present disclosure includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for performing the method of the above flow chart.
  • the computer program can be downloaded and installed from the network via the communication portion 1409, and/or installed from the removable medium 1411.
  • each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more logic for implementing the specified.
  • Functional executable instructions can also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • the units or modules described in the embodiments of the present application may be implemented by software or by hardware.
  • the described unit or module can also be provided in the processor.
  • the names of these units or modules do not in any way constitute a limitation on the unit or module itself.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention provide a method and device for communicating between terminals in multiple systems. The method comprises: acquiring first login state information of a first type of terminal logging in to a first communication system, and second login state information of a second type of terminal logging in to a second communication system, and storing the first login information and the second login information into a user state database, wherein the first type of terminal and the second type of terminal log in on the basis of a same application and a same account; transmitting, to the second communication system corresponding to the second type of terminal logging in secondly, to enable the second communication system to determine, according to the first login information and the second login information, and a prestored rule for login conflict between different types of terminals, whether to log in the second type of terminal. The disclosed solution is utilized to deal with the same communication between terminals in a plurality of communication systems.

Description

多系统中的终端之间通信的方法及装置Method and device for communication between terminals in multiple systems
相关申请的交叉引用Cross-reference to related applications
本申请主张在2016年8月16日在中国国家知识产权局提交的第201610674892.2号中国专利申请的优先权,其全部内容通过引用包含于此。Priority is claimed on Japanese Patent Application No. 201610674892.2, filed on Aug.
技术领域Technical field
本公开涉及通信技术领域,具体涉及一种多系统中的终端之间通信的方法及装置。The present disclosure relates to the field of communications technologies, and in particular, to a method and apparatus for communication between terminals in a multiple system.
背景技术Background technique
在4G移动互联网时代,互联网厂家在移动应用领域快速发展,出现了微信、QQ、米聊等一批OTT(Over The Top)应用,它们具有免费、体验丰富等特色,并且迭代快速,能不断为用户提供新业务特性,因此逐渐蚕食着运营商的用户群与收入。In the era of 4G mobile Internet, Internet manufacturers have developed rapidly in the field of mobile applications, and there have been a number of OTT (Over The Top) applications such as WeChat, QQ, and Mi Chat. They have the features of free and rich experience, and they are fast and iterative. Users provide new business features, which gradually eroded the operator's user base and revenue.
为解决这个问题,运营商大多采用了两种不同的方式,推出了自身的融合通信即时消息业务:To solve this problem, operators have adopted two different ways to launch their own converged communication instant messaging services:
第一种是运营商直接学习互联网厂家,推出自身使用OTT技术,基于私有通信协议实现的即时消息软件(以下称OTT私有系统,使用的终端称为OTT APP),例如中国移动的飞信和中国电信的易信等,这种方式完全使用互联网解决方案,用户需要下载安装特定的APP,并进行注册账户(对于运营商的OTT即时消息软件,通常使用手机号作为用户账号进展注册,即用户名为手机号,而实际消息路由分发等使用OTT内部标识);The first is that operators directly learn Internet vendors and launch their own instant messaging software based on private communication protocols using OTT technology (hereinafter referred to as OTT private system, the terminal used is called OTT APP), such as China Mobile's Fetion and China Telecom. E-mail, etc., this way completely uses the Internet solution, users need to download and install a specific APP, and register a account (for the operator's OTT instant messaging software, usually use the mobile phone number as the user account to progress registration, that is, the user name Mobile phone number, and actual message routing distribution, etc. use OTT internal identification);
第二种是使用电信国际标准,通过对GSMA RCS(Global System for Mobile Communications Association Rich Communication Suite)即融合通信国际协议的支持实现即时消息系统(以下称融合通信标准即时消息系统),如中国移动融合通信。该方式又分为推动手机厂家升级终端上原有的通话、短/彩信和通讯录三大通信入口,以终端原生方式(Native,即终端在出厂时就已具备功能)的支持即时消息(以下称标准Native方式,使用的终端称为Native 终端),和下载基于融合通信标准的APP实现的即时消息(以下称标准APP方式,使用的终端称为RCS APP)。由于使用国际标准,该方式保证了运营商基础通信业务全球可达性和电信级服务质量,可以说,该方式是以通信能力为核心的方式。The second is to use the international standard of telecommunications to realize the instant messaging system (hereinafter referred to as the converged communication standard instant messaging system) through the support of the GSMA RCS (Global System for Mobile Communications Association Rich Communication Suite), such as China Mobile Fusion. Communication. This method is further divided into three major communication portals for promoting the original call, short/mMS and address book on the upgrade terminal of the mobile phone manufacturer, and supporting the instant message in the terminal native mode (Native, that is, the terminal has the function at the time of leaving the factory) (hereinafter referred to as Standard Native mode, the terminal used is called Native Terminal), and downloading an instant message implemented by an APP based on the converged communication standard (hereinafter referred to as a standard APP method, the terminal used is referred to as an RCS APP). Due to the use of international standards, this method guarantees the global accessibility of carrier basic communication services and the quality of carrier-class services. It can be said that this method is based on communication capabilities.
部分较大的运营商,如中国移动,由于自身具备较强的技术能力,同时具有较强的产业推动力,因此同时具有融合通信标准即时消息系统和OTT私有即时消息系统,这样,同一个用户可能在拥有Native终端的同时使用APP,而APP可能是OTT APP也可能是RCS APP,同时,这个用户还可能具有PC客户端、Pad客户端等各种客户端,这样,同一个用户就会拥有很多不同的终端,而同一终端上具有相同功能的APP或Native入口也可能有多个,这样,如果消息分别发到他的不同终端不同入口,这个用户就需要在不同终端不同入口间反复切换,会给用户的使用带来困扰。同时,运营商传统的短彩信系统仍然存在,这就会进一步加大用户使用的困难。Some of the larger operators, such as China Mobile, have strong technical capabilities and strong industrial driving force, so they have a converged communication standard instant messaging system and OTT private instant messaging system, so that the same user It is possible to use the APP while having a Native terminal, and the APP may be an OTT APP or an RCS APP. At the same time, this user may also have various clients such as a PC client and a Pad client, so that the same user will have There are many different terminals, and there may be more than one APP or Native portal with the same function on the same terminal. In this way, if the message is sent to different portals of different terminals, the user needs to repeatedly switch between different portals of different terminals. Will cause trouble for the user's use. At the same time, the operator's traditional short MMS system still exists, which will further increase the difficulty of users.
发明内容Summary of the invention
本公开提供了一种多系统中的终端之间通信的方法及装置,从而实现多个通信系统中的终端之间相同通信。The present disclosure provides a method and apparatus for communication between terminals in a multi-system, thereby enabling the same communication between terminals in a plurality of communication systems.
为解决上述技术问题,本公开的实施例提供如下方案:In order to solve the above technical problem, an embodiment of the present disclosure provides the following solution:
一种多系统中的终端之间通信的方法,包括:A method for communication between terminals in a multi-system includes:
获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
在本公开的可选实施方式中,所述登录冲突规则包括:所述第一类型终 端为出厂即可支持即时消息收发并支持安装其它即时消息应用的Native的终端,所述第二类型终端为出厂即可支持即时消息收发但不支持安装其它即时消息应用非Native的终端时,两种类型的终端均可同时在线。In an optional implementation manner of the disclosure, the login conflict rule includes: the first type end The terminal is a native terminal that supports instant messaging and supports other instant messaging applications, and the second type of terminal is factory-supported for instant messaging but does not support installation of other instant messaging applications other than non-Native terminals. All types of terminals can be online at the same time.
在本公开的可选实施方式中,所述登录冲突规则包括:所述第一类型终端为安装即时消息应用富媒体通信RCS APP1的终端,所述第二类型终端为安装RCS APP1的终端时,两种类型的终端均可同时在线,但与安装RCS APP2、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。In an optional implementation manner of the present disclosure, the login conflict rule includes: the first type terminal is a terminal that installs an instant messaging application rich media communication RCS APP1, and the second type terminal is a terminal that installs an RCS APP1, Both types of terminals can be online at the same time, but the terminals that are installed with RCS APP2, OTT APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in before are logged off; wherein, RCS APP1 and RCS APP2 is a different application based on the same communication protocol, and OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
所述登录冲突规则包括:所述第一类型终端为安装即时消息应用富媒体通信RCS APP2的终端,所述第二类型终端为安装RCS APP2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。The login conflicting rule includes: the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time. However, the terminals that are installed with RCS APP1, OTT APP 1, and OTT APP 2 are not online at the same time, and the logins that are logged in before are logged off; wherein RCS APP1 and RCS APP2 are different applications based on the same communication protocol. OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
所述登录冲突规则包括:所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 1的终端,所述第二类型终端为安装OTT APP 1时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。The login conflicting rule includes: the first type of terminal is a terminal that installs an instant messaging application OTT APP 1 of a private communication protocol, and when the second type of terminal is an OTT APP 1, both types of terminals can be online at the same time. However, the terminals that are installed with RCS APP1, RCS APP 2, and OTT APP 2 are not online at the same time, and the logins that will be logged in before are offline; wherein, RCS APP1 and RCS APP2 are different based on the same communication protocol. Applications, OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
所述登录冲突规则包括:所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 2的终端,所述第二类型终端为安装OTT APP 2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP1的终端均不可同时在线,在后登录的将在前登录的踢下线;其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。The login conflicting rule includes: the first type of terminal is a terminal that installs the OTT APP 2 of the instant messaging application of the private communication protocol, and when the second type of terminal is the terminal that installs the OTT APP 2, both types of terminals may be used. Simultaneously online, but the terminals that install RCS APP1, RCS APP 2, and OTT APP1 are not online at the same time, and the logins that will be logged in before are offline; wherein RCS APP1 and RCS APP2 are based on the same communication protocol. For different applications, OTT APP 1 and OTT APP 2 are different applications based on the same communication protocol.
所述登录冲突规则包括:所述第一类型终端为计算机PC1,所述第二类型终端为计算机PC2时,两种终端不可同时在线,在后登录的将在前登录的 踢下线;其中,PC1与PC2为不同的计算机。The login conflict rule includes: when the first type of terminal is the computer PC1, and when the second type of terminal is the computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in before. Kick off the line; PC1 and PC2 are different computers.
在本公开的可选实施方式中,不同类型的终端,用终端标识进行区分:Native的终端,通过基于会话初始协议的实例sip.instance=imei,获得终端标识;安装RCS APP 1的终端,通过基于会话初始协议的实例sip.instance=UUid1获得终端标识;安装RCS APP 2的终端,通过基于会话初始协议的实例sip.instance=UUid2获得终端标识;安装OTT APP 1的终端,对应的终端标识为Eid1;安装OTT APP 2的终端,对应的终端标识为Eid2;PC1终端,对应的终端标识为PCid1;PC2终端,对应的终端标识为PCid2;其中,Eid1与Eid2不同,PCid1与PCid2不同。In an optional implementation manner of the present disclosure, different types of terminals are distinguished by a terminal identifier: a terminal of a Native obtains a terminal identifier by using an instance of the session initiation protocol sip.instance=imei; and a terminal that installs the RCS APP 1 The terminal identifier is obtained based on the instance sip.instance=UUid1 of the session initiation protocol; the terminal that installs the RCS APP 2 obtains the terminal identifier by using the instance sip.instance=UUid2 of the session initiation protocol; the terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1; the terminal that installs OTT APP 2, the corresponding terminal identifier is Eid2; the PC1 terminal, the corresponding terminal identifier is PCid1; the PC2 terminal, the corresponding terminal identifier is PCid2; wherein Eid1 is different from Eid2, and PCid1 is different from PCid2.
在本公开的可选实施方式中,多系统中的终端之间通信的方法还包括:获取发送终端发送的消息,存储在该发送终端的第一消息队列中;In an optional implementation manner of the present disclosure, the method for communicating between the terminals in the multiple system further includes: acquiring a message sent by the sending terminal, and storing the message in the first message queue of the sending terminal;
从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;Obtaining, from the user state database, at least one type of receiver terminal that is currently in a login state;
根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端。And according to the message, a notification message is respectively written in the notification queue of the at least one type of access terminal, and the notification message in the queue is notified by the system server corresponding to the at least one type of receiver terminal. They are sent to the receiver terminal separately.
在本公开的可选实施方式中,多系统中的终端之间通信的方法还包括:发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。In an optional implementation manner of the present disclosure, the method for communication between terminals in the multiple system further includes: performing, by the first message queue of the sending terminal, message synchronization to the second message queue of the receiver terminal.
在本公开的可选实施方式中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处于登录状态且基于相同应用的相同帐户的接收终端发送的。In an optional implementation manner of the disclosure, the message sent by the sending terminal has an identifier, where the identifier is used to identify that the sending terminal is the same as the sending terminal and is in the login state and is based on the same application. The receiving terminal of the account sent.
在本公开的可选实施方式中,发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步后还包括:至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。In an optional implementation manner of the present disclosure, after the first message queue of the sending terminal performs message synchronization to the second message queue of the receiving terminal, the method further includes: at least one type of receiving terminal corresponding to the communication system, which will be updated this time. The message is sent to the recipient terminal.
在本公开的可选实施方式中,多系统中的终端之间通信的方法还包括:接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。In an optional implementation manner of the present disclosure, the method for communication between terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is already in the at least one type. If the other recipient terminal receives it, the receiver terminal performs silent processing.
在本公开的可选实施方式中,多系统中的终端之间通信的方法还包括:若至少一个类型的接收方终端中,只有出厂即可支持即时消息收发但不支持 安装其它即时消息应用的非Native终端处于登录状态,则由非Native终端采用的通信系统将此次更新的消息转为短信或者彩信,通过短信中心发送给接收方终端。In an optional implementation manner of the present disclosure, the method for communication between terminals in multiple systems further includes: if at least one type of receiver terminal, only the factory can support instant messaging but does not support When the non-Native terminal that installs other instant messaging applications is in the login state, the communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the receiving terminal through the short message center.
本公开的实施例还提供一种多系统中的终端之间通信的装置,包括:An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
获取模块,用于获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;An acquiring module, configured to acquire first login status information that is used by the first type terminal to log in using the first communication system, and second login status information that is used by the second type terminal to log in using the second communication system, and the first login status is The information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
发送模块,用于将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。a sending module, configured to send the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state The information and the second login status information, and the login conflict rule between the different types of terminals stored in advance, determine whether the second type terminal is allowed to log in.
在本公开的可选实施方式中,所述登录冲突规则包括:所述第一类型终端为出厂即可支持即时消息收发并支持安装其它即时消息应用的Native的终端,所述第二类型终端为出厂即可支持即时消息收发但不支持安装其它即时消息应用非Native的终端时,两种类型的终端均可同时在线;或者In an optional implementation manner of the disclosure, the login conflict rule includes: the first type of terminal is a native terminal that is ready to support instant messaging and supports other instant messaging applications, and the second type of terminal is Both types of terminals can be online at the same time when the factory supports instant messaging but does not support the installation of other non-Native terminals for instant messaging applications; or
所述第一类型终端为安装即时消息应用富媒体通信RCS APP1的终端,所述第二类型终端为安装RCS APP1的终端时,两种类型的终端均可同时在线,但与安装RCS APP2、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1, and when the second type terminal is a terminal for installing an RCS APP1, both types of terminals can be online at the same time, but with RCS APP2 and OTT installed. The terminals of APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
所述第一类型终端为安装即时消息应用富媒体通信RCS APP2的终端,所述第二类型终端为安装RCS APP2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time, but with the installation of RCS APP1, OTT The terminals of APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 1的终端,所述第二类型终端为安装OTT APP 1时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者 The first type of terminal is a terminal of an instant messaging application OTT APP 1 that installs a private communication protocol. When the second type of terminal is an OTT APP 1, both types of terminals can be online at the same time, but the RCS APP1 is installed. The terminals of RCS APP 2 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 2的终端,所述第二类型终端为安装OTT APP 2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 1的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol, and when the second type of terminal is a terminal for installing an OTT APP 2, both types of terminals can be online at the same time, but with the installation of RCS The terminals of APP1, RCS APP 2, and OTT APP 1 cannot be online at the same time, and the logins that are logged in after the login are offline; or
所述第一类型终端为计算机PC1,所述第二类型终端为计算机PC2时,两种终端不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a computer PC1, and when the second type of terminal is a computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in.
在本公开的可选实施方式中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用,PC1与PC2为不同的计算机。In an alternative embodiment of the present disclosure, the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol, and PC1 and PC2 are different computers.
在本公开的可选实施方式中,不同类型的终端,用终端标识进行区分:Native的终端,通过基于会话初始协议的实例sip.instance=imei,获得终端标识;安装RCS APP 1的终端,通过基于会话初始协议的实例sip.instance=UUid1获得终端标识;安装RCS APP 2的终端,通过基于会话初始协议的实例sip.instance=UUid2获得终端标识;安装OTT APP 1的终端,对应的终端标识为Eid1;安装OTT APP 2的终端,对应的终端标识为Eid2;PC1,对应的终端标识为PCid1;PC2,对应的终端标识为PCid2;其中,Eid1与Eid2不同,PCid1与PCid2不同。In an optional implementation manner of the present disclosure, different types of terminals are distinguished by a terminal identifier: a terminal of a Native obtains a terminal identifier by using an instance of the session initiation protocol sip.instance=imei; and a terminal that installs the RCS APP 1 The terminal identifier is obtained based on the instance sip.instance=UUid1 of the session initiation protocol; the terminal that installs the RCS APP 2 obtains the terminal identifier by using the instance sip.instance=UUid2 of the session initiation protocol; the terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1; the terminal that installs OTT APP 2, the corresponding terminal identifier is Eid2; PC1, the corresponding terminal identifier is PCid1; PC2, the corresponding terminal identifier is PCid2; wherein Eid1 is different from Eid2, and PCid1 is different from PCid2.
在本公开的可选实施方式中,多系统中的终端之间通信的装置还包括:消息同步模块,用于获取发送终端发送的消息,存储在该发送终端的第一消息队列中;从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端。In an optional implementation of the present disclosure, the device for communicating between the terminals in the multiple system further includes: a message synchronization module, configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal; Obtaining at least one type of receiver terminal that is currently in a login state in the user state database; and writing a notification message to the notification queue of the at least one type of access party terminal according to the message, and by the The system server corresponding to the at least one type of receiver terminal sends the notification message in the notification queue to the receiver terminal.
在本公开的可选实施方式中,所述消息同步模块还用于:发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。In an optional implementation manner of the disclosure, the message synchronization module is further configured to: perform a message synchronization by using a first message queue of the sending terminal to a second message queue of the receiving terminal.
在本公开的可选实施方式中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处于登录状态且基于相同应用的相同帐户的接收终端发送的。In an optional implementation manner of the disclosure, the message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is the same as the sending terminal is in the login state and is based on the same application. The receiving terminal of the account sent.
在本公开的可选实施方式中,多系统中的终端之间通信的装置还包括: 至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。In an optional implementation manner of the present disclosure, the device for communication between terminals in the multiple systems further includes: The communication system corresponding to the at least one type of recipient terminal transmits the message of the update to the receiver terminal.
在本公开的可选实施方式中,多系统中的终端之间通信的装置还包括:接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。In an optional implementation manner of the present disclosure, the device for communicating between the terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is already in the at least one type. If the other recipient terminal receives it, the receiver terminal performs silent processing.
在本公开的可选实施方式中,多系统中的终端之间通信的装置还包括:若至少一个类型的接收方终端中,只有出厂即可支持即时消息收发但不支持安装其它即时消息应用的非Native终端处于登录状态,则由非Native终端采用的通信系统将此次更新的消息转为短信或者彩信,通过短信中心发送给接收方终端。In an optional implementation manner of the present disclosure, the device for communication between the terminals in the multiple system further includes: if at least one type of the receiver terminal, only the factory can support instant messaging but does not support installing other instant messaging applications. When the non-Native terminal is in the login state, the communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the recipient terminal through the short message center.
本公开的实施例还提供一种多系统中的终端之间通信的装置,包括:An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
处理器;processor;
存储器,存储有能够被所述处理器执行的计算机可读指令,在所述计算机可读指令被执行时,所述处理器执行以下操作:A memory is stored with computer readable instructions executable by the processor, the processor performing the following operations when the computer readable instructions are executed:
获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
本公开的实施例还提供一种非易失性计算机可读存储媒介,存储有能够被处理器执行的计算机可读指令,当所述计算机可读指令被处理器执行时,所述处理器执行以下操作:Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer readable instructions executable by a processor, the processor executing when the computer readable instructions are executed by a processor The following operations:
获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第 一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; One type of terminal and the second type of terminal are different types of terminals that log in based on the same account of the same application;
将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
本公开的上述方案至少包括以下有益效果:The above aspects of the present disclosure include at least the following beneficial effects:
本公开的上述方案,通过获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。实现不同系统间的多终端在线状态管理和消息通信管理。The foregoing solution of the present disclosure, by acquiring first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first The login status information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application; a login status information and a second login status information are sent to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login status information and the second login status information, and A login conflict rule between different types of terminals stored in advance determines whether the second type terminal is allowed to log in. Realize multi-terminal online state management and message communication management between different systems.
附图说明DRAWINGS
图1为相关技术中,IMS多终端消息通信机制;FIG. 1 is a related art IMS multi-terminal message communication mechanism;
图2为相关技术中,OTT系统多终端消息通信机制;2 is a multi-terminal message communication mechanism of an OTT system in the related art;
图3为相关技术中,各类型终端的即时消息下发通道的示意图;3 is a schematic diagram of an instant messaging delivery channel of each type of terminal in the related art;
图4为本公开的多系统中的终端之间通信的方法流程图;4 is a flow chart of a method for communication between terminals in a multiple system of the present disclosure;
图5为本公开的多系统中的终端之间通信的系统架构图;5 is a system architecture diagram of communication between terminals in a multiple system of the present disclosure;
图6为本公开的多系统中的终端之间通信的方法中,初始时用户终端状态示意图;6 is a schematic diagram of a state of an initial user terminal in a method for communication between terminals in a multi-system according to the present disclosure;
图7为本公开的多系统中的终端之间通信的方法中,用户OTT APP 1在终端B上线的示意图;7 is a schematic diagram of a user OTT APP 1 going online at the terminal B in the method for communication between terminals in the multiple systems of the present disclosure;
图8为本公开的多系统中的终端之间通信的方法中,用户OTT APP在Native终端上登录的示意图; 8 is a schematic diagram of a user OTT APP logging in on a Native terminal in a method for communication between terminals in a multiple system according to the present disclosure;
图9为本公开的多系统中的终端之间通信的方法中,用户PC APP注销的状态示意图;FIG. 9 is a schematic diagram of a state in which a user PC APP is deregistered in a method for communication between terminals in a multi-system according to the present disclosure;
图10为本公开的多系统中的终端之间通信的方法的另一流程图;10 is another flow chart of a method for communication between terminals in a multiple system of the present disclosure;
图11为图10所示流程中,主叫侧多终端消息发送流程;FIG. 11 is a flow chart of sending a multi-terminal message on the calling side in the process shown in FIG. 10;
图12为图10所示流程中,被叫侧多终端消息接收流程;12 is a flow of receiving a multi-terminal message on the called side in the flow shown in FIG. 10;
图13为图10所示流程中,被叫只有短信终端在线的流程;以及FIG. 13 is a flow chart showing that only the short message terminal is online in the flow shown in FIG. 10;
图14表示适于用来实现本申请实施例的多系统中的终端之间通信的方法或多系统中的终端之间通信的装置的计算机系统的结构示意图。Figure 14 is a diagram showing the structure of a computer system of a device suitable for implementing communication between terminals in a multi-system of the embodiment of the present application or a device for communication between terminals in a plurality of systems.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings.
针对相关技术中,各个通信系统相互独立,无法实现消息在不同系统内的终端之间的分发,IMS系统内的消息只能发到IMS系统内的终端,OTT系统内的消息也只能发到OTT系统内的终端的问题,本公开的实施例通过建立统一数据层,将各系统的终端状态数据和消息数据等数据整合到统一数据层中的方式,实现不同系统间的多终端在线状态管理和消息管理。In the related art, each communication system is independent of each other, and the message cannot be distributed between terminals in different systems. The messages in the IMS system can only be sent to the terminals in the IMS system, and the messages in the OTT system can only be sent to The problem of the terminal in the OTT system, the embodiment of the present disclosure realizes the multi-terminal online state management between different systems by establishing a unified data layer, integrating the terminal state data and the message data of each system into the unified data layer. And message management.
将运营商拥有的众多消息通道,包括电信标准即时消息通道、OTT即时消息通道、传统短彩信通道进行合理整合,使用户具有的不同消息入口具有较好使用感受,是运营商提升用户消息体验,增加用户粘性的重要手段。例如:对于不同终端,保证都收到全量消息,用户看不同终端时,都可以有完整消息历史,但是,只在用户目前有操作的终端进行声音等提示,其他终端进行静默处理;对于同一终端,只有1个消息入口显示消息(或者是终端Native原生消息入口,或者是唯一一个APP消息入口,不需要在各消息入口反复切换)。Reasonable integration of many message channels owned by operators, including telecom standard instant messaging channels, OTT instant messaging channels, and traditional short multimedia messaging channels, enables users to have different usages of different message portals, and is an operator to enhance user message experience. An important means of increasing user stickiness. For example, for different terminals, all messages are guaranteed to be received. When users look at different terminals, they can have a complete message history. However, only the terminals that the user currently operates can make prompts such as voices, and other terminals perform silent processing; for the same terminal. Only one message entry displays the message (either the terminal Native native message entry, or the only one APP message entry, which does not need to be repeatedly switched at each message entry).
对于多终端场景,目前相关技术一般分为IMS(IP Multimedia Subsystem)系统内的多终端处理方式和OTT系统内的多终端处理方式两种,其中:For a multi-terminal scenario, the related technologies are generally classified into a multi-terminal processing method in an IMS (IP Multimedia Subsystem) system and a multi-terminal processing method in an OTT system, where:
IMS多终端消息机制如图1所示,该方式要求同一用户使用的全部终端均基于SIP实现,都具有同样的SIP用户身份标识(IMPI/IMPU),通过不同的SIP实例(sip.instance或GRUU)在IMS中进行注册,对于不同的终端, 有2种处理方式:终端标识完全相同,后注册的终端将先注册的终端踢下线,只有在线的终端会收到消息。The IMS multi-terminal message mechanism is shown in Figure 1. This method requires all terminals used by the same user to be based on SIP. They all have the same SIP user identity (IMPI/IMPU) and pass different SIP instances (sip.instance or GRUU). ) registering in IMS, for different terminals, There are two types of processing: the terminal identifiers are identical. The terminal that is registered later kicks the terminal that is registered first, and only the online terminal receives the message.
不同终端通过GRUU或sip.instance等参数进行区别,可同时注册,所有消息都被存入集中消息存储平台中,在接收消息时,通过IMS的forking机制将同一个消息复制成多份,分别发到每一个终端实例,对于不在线的终端,在其上线后通过集中消息存储平台使用推送的方式实现消息同步。Different terminals can be distinguished by parameters such as GRUU or sip.instance, and can be registered at the same time. All messages are stored in the centralized message storage platform. When receiving the message, the same message is copied into multiple copies through the IMS forking mechanism. To each terminal instance, for a terminal that is not online, the message synchronization is implemented by using a push mode through a centralized message storage platform after being online.
OTT即时消息系统使用的方式与之类似,但一般多个终端分为主终端和从终端(例如微信与微信web版)。通常,一个设备上,同一个账户只能有一个终端登录(例如手机上不能登录2个同账户的微信),此外,从终端的登录需要依赖于主终端,如手机登录时,才能有PC(personal computer)侧Web客户端登录等。对于接收方有多个设备的场景,一般发送时根据接收方登录状态将消息分别写入多个消息队列中,并且分别通知接收方的各个终端有消息更新,由接收方对比本地消息记录后,到服务器拉取相应消息,此后接收设备通知服务器某消息已接收,服务器可以将该设备的这部分消息在应消息队列中置为已读。The OTT instant messaging system uses a similar method, but generally multiple terminals are classified into a master terminal and a slave terminal (for example, WeChat and WeChat web versions). Generally, on a device, only one terminal can log in to the same account (for example, two mobile phones cannot log in to the same account). In addition, the login from the terminal depends on the main terminal. For example, when the mobile phone logs in, the PC can be used. Personal computer) side web client login, etc. For a scenario where the receiver has multiple devices, the messages are respectively written into multiple message queues according to the login state of the receiver, and each terminal of the receiver is notified of the message update, and the receiver compares the local message records. The server pulls the corresponding message, after which the receiving device notifies the server that a message has been received, and the server can set the part of the message of the device to be read in the message queue.
对于具有多个消息系统的运营商,各类型终端的即时消息下发通道如图3所示。可见,各消息系统是分别独立的竖井式结构,用户拥有的多个终端和消息入口关系也较为复杂,现有的技术方案无法实现这种场景下的多终端管理与消息需求。For an operator with multiple messaging systems, the instant messaging delivery channel of each type of terminal is shown in FIG. 3. It can be seen that each message system is a separate vertical structure, and multiple terminals and message entry relationships owned by the user are also complicated. The existing technical solutions cannot implement multi-terminal management and message requirements in such a scenario.
上述图1和图2,不管是IMS系统中的多终端方案,还是OTT系统中的多终端方案,均不能满足统一运营商IMS消息系统与OTT消息系统共存,多终端分别存在于不同系统内的场景,即不能统一管理不同系统内的多个终端。也因为各个系统相互独立,无法实现消息在不同系统内的终端之间的分发,IMS系统内的消息只能发到IMS系统内的终端,OTT系统内的消息也只能发到OTT系统内的终端。The above-mentioned FIG. 1 and FIG. 2, whether the multi-terminal solution in the IMS system or the multi-terminal solution in the OTT system, cannot coexist with the unified operator IMS message system and the OTT message system, and the multiple terminals exist in different systems respectively. A scenario, that is, multiple terminals in different systems cannot be uniformly managed. Because the systems are independent of each other and cannot distribute messages between terminals in different systems, messages in the IMS system can only be sent to terminals in the IMS system, and messages in the OTT system can only be sent to the OTT system. terminal.
如图4所示,本公开的实施例提供一种多系统中的终端之间通信的方法,包括:As shown in FIG. 4, an embodiment of the present disclosure provides a method for communication between terminals in a multiple system, including:
步骤41:获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并 将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Step 41: Acquire first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and And storing the first login status information and the second login status information in a user status database; the first type terminal and the second type terminal are different types of terminals that are logged in based on the same account of the same application. ;
步骤42:将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Step 42: Send the first login state information and the second login state information to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login state information and The second login status information, and the login conflict rule between the different types of terminals stored in advance, determines whether the second type terminal is allowed to log in.
本公开的该实施例中,多系统可以是针对同一运营商拥有多个不同的即时消息系统以及传统短彩信系统,用户具有多个不同的终端,并且同一终端上可能有不同的Native/APP入口的场景,通过建立统一数据层,将各系统的终端数据和消息数据等数据整合到统一数据层中的方式,实现不同系统间的多终端在线状态管理和消息管理。In this embodiment of the disclosure, the multiple systems may be a plurality of different instant messaging systems and a traditional short multimedia messaging system for the same operator, the user has multiple different terminals, and there may be different Native/APP entries on the same terminal. The scenario realizes multi-terminal online state management and message management between different systems by establishing a unified data layer and integrating terminal data and message data of each system into a unified data layer.
本公开的实施例中,客户端可以类型分为以下4类:In the embodiment of the present disclosure, the client can be classified into the following four types:
1.1)PC类客户端:基于PC OTT私有协议实现的PC上的APP。1.1) PC-type client: An APP on a PC implemented based on the PC OTT proprietary protocol.
1.2)RCS APP类客户端:基于RCS标准实现的手机上的APP。1.2) RCS APP client: An APP on a mobile phone based on the RCS standard.
1.3)OTT APP类客户端:基于手机OTT私有协议实现的手机上的APP。1.3) OTT APP client: An APP on a mobile phone based on the mobile phone OTT proprietary protocol.
1.4)Native:手机原生消息入口,若已升级具备RCS消息能力,则可以收发RCS即时消息、短彩信,否则只能收发短彩信。该类型为独立类型,手机客户端APP与native,不论APP与native是否处于同一终端上,均可以同时在线。1.4) Native: The original message portal of the mobile phone. If the RCS message capability has been upgraded, the RCS instant message and short multimedia message can be sent and received. Otherwise, the short multimedia message can only be sent and received. The type is an independent type, and the mobile client APP and native can be online at the same time regardless of whether the APP and the native are on the same terminal.
客户端的在线规则,即各类型的终端的登录冲突规则如下:The online rules of the client, that is, the login conflict rules of each type of terminal are as follows:
2.1)Native终端因为与用户SIM卡绑定,每个用户只能有唯一的Native终端,并且该终端不能被其他终端踢下线。2.1) The Native terminal is bound to the user SIM card. Each user can only have a unique Native terminal, and the terminal cannot be kicked off the line by other terminals.
2.2)当Native终端具有数据连接时,它具有RCS即时消息接收能力。2.2) When the Native terminal has a data connection, it has RCS instant messaging capability.
2.3)当Native终端没有数据连接时,依然具有传统短彩信接收能力。2.3) When the Native terminal has no data connection, it still has the traditional short multimedia message receiving capability.
2.4)非Native终端,只有短彩信接收能力。2.4) Non-Native terminals, only short MMS receiving capabilities.
2.5)RCS APP与OTT APP都可以安装在Native终端或非Native终端上。2.5) Both the RCS APP and the OTT APP can be installed on a Native terminal or a non-Native terminal.
2.6)同一终端上,RCS APP与OTT APP只能有一个在线,后上线的客户端将另外的客户端踢下线。 2.6) On the same terminal, the RCS APP and the OTT APP can only have one online, and the client that goes online will kick the other client off the line.
2.7)同一类型客户端不同版本不能同时在线。2.7) Different versions of the same type of client cannot be online at the same time.
2.8)当Native终端上安装APP时,不管是哪一个版本的APP,即时消息都将只送给Native终端,若用户直接从APP入口进入,则APP从Native终端的数据库中读取历史记录。2.8) When the APP is installed on the Native terminal, the instant message will be sent only to the Native terminal regardless of the version of the APP. If the user enters directly from the APP portal, the APP reads the history from the database of the Native terminal.
2.9)PC客户端可与手机Native/APP同时在线,并且会收到全部消息。2.9) The PC client can be online at the same time as the mobile phone Native/APP and will receive all messages.
各类终端之间的冲突关系如表1所示。若有不同的冲突规则,则可以通过重新对该冲规则表进行配置的方式实现新的规则。The conflict relationship between various types of terminals is shown in Table 1. If there are different conflict rules, you can implement the new rules by reconfiguring the rules table.
Figure PCTCN2017096803-appb-000001
Figure PCTCN2017096803-appb-000001
表1Table 1
其中,上述表格中,N/A表示允许在线,×表示不允许在线。当登录的终端间存在冲突时,均为后登录的终端将先登录的终端踢下线。Among them, in the above table, N/A means that online is allowed, and × means that online is not allowed. When there is a conflict between the logged-in terminals, the terminal that is logged in will kick the terminal that is logged in first.
对于不同终端,通过其设备标识进行区别:For different terminals, the difference is identified by their device identifier:
3.1)Native终端以及RCS APP都是基于融合通信标准即时消息系统的,使用基于IMS的RCS标准,其标识都基于IMS码号体系:Native设备标识和设备类型通过sip.instance=imei获得;RCS APP设备标识和设备类型通过sip.instance=uuid获得。 3.1) Native terminal and RCS APP are based on the integrated communication standard instant messaging system, using IMS-based RCS standard, the identification is based on IMS code number system: Native device identification and device type are obtained by sip.instance=imei; RCS APP The device identification and device type are obtained by sip.instance=uuid.
3.2)OTT允许在不同设备上分别注册登录,每在一个设备上注册时,由OTT服务器为该设备分配一个设备标识,形如:APP1:标识为eid1,APP2:标识为eid2;3.2) OTT allows registration of logins on different devices. Each time a device is registered, the OTT server assigns a device identifier to the device, such as: APP1: the identifier is eid1, and APP2: the identifier is eid2.
3.3)PC客户端与OTT APP类似:PC客户端1:标识为PCid1,PC客户端2:标识为PCid2;其中,Eid1与Eid2不同,PCid1与PCid2不同。3.3) The PC client is similar to the OTT APP: PC client 1: ID is PCid1, PC client 2: ID is PCid2; Eid1 is different from Eid2, and PCid1 is different from PCid2.
各类终端标识如表2所示。The types of terminal identifiers are shown in Table 2.
Figure PCTCN2017096803-appb-000002
Figure PCTCN2017096803-appb-000002
表2Table 2
如图5所示,为实现上述方法的系统架构,为在同一运营商拥有多个不同的即时消息系统以及传统短彩信系统之上设置统一的用户状态数据库,在 各即时消息系统和短信系统之上设置统一消息队列。图中,单向实线箭头表示消息下发,双向虚线箭头表示可安装,双向实线箭头表示可读取消息。As shown in FIG. 5, in order to implement the system architecture of the above method, a unified user state database is set on the same operator having multiple different instant messaging systems and a traditional short multimedia messaging system. A unified message queue is set on each instant messaging system and SMS system. In the figure, a one-way solid arrow indicates that the message is delivered, a two-way dotted arrow indicates that it can be installed, and a two-way solid arrow indicates that the message can be read.
原本相互独立的各竖井式消息系统需要于新设的用户状态数据库对接,将各自终端在自身系统内的登录状态经过数据接口提交给用户状态数据库,接收用户状态数据库返回的该用户全部登录设备的状态信息。The silo-type message systems that are independent of each other need to be docked in the newly created user state database, and the login status of the respective terminal in the own system is submitted to the user state database through the data interface, and the user is all logged in to the device returned by the user state database. status information.
原本相互独立的各竖井式消息系统需要于新设的统一消息队列对接,该消息队列又分为消息队列和通知队列两部分,消息队列用于存储收发的消息本身,通知队列用于通知各对应终端有新消息到来。The vertical silo message systems that are independent of each other need to be connected to the newly created unified message queue. The message queue is divided into two parts: a message queue and a notification queue. The message queue is used to store the sent and received messages themselves, and the notification queue is used to notify each corresponding. The terminal has a new message coming.
多终端登录管理方法的一具体实现实例:用户的各类设备登录或注销时,其接入系统中的对应服务器(RCS即时消息系统中的IM AS(application server),OTT即时消息系统中的OTT AS,PC系统中的PC AS)均需要将设备的登录或注销信息写入用户状态数据库(用户的短信默认在线,用户状态数据库中默认有短信终端信息,除非用户在CS(电路)域已不可达),用户状态数据库向该服务器返回的信息中带有该用户全部登录设备的信息。A specific implementation example of the multi-terminal login management method: when the user's various devices log in or log out, the corresponding server in the access system (IM AS (application server) in the RCS instant messaging system, OTT in the OTT instant messaging system) The AS, the PC AS in the PC system needs to write the login or logout information of the device to the user status database (the user's SMS defaults online, and the user status database has SMS terminal information by default unless the user is in the CS (circuit) domain. Up), the information returned by the user status database to the server carries the information of all the users logging in to the device.
各系统中的服务器根据数据库返回和设备互斥策略判断是否需要将其他端踢下线,若需要则向该端所在服务器发起注销请求。因为短彩信系统不与其他系统互斥,所以短彩信中心不需要向其他系统发起注销请求。The server in each system determines whether it is necessary to kick the other end off the line according to the database return and the device mutual exclusion policy, and if necessary, initiates a logout request to the server where the end is located. Because the short multimedia messaging system is not mutually exclusive with other systems, the short multimedia messaging center does not need to initiate a logout request to other systems.
举例步骤如下:The example steps are as follows:
(1)用户Native终端(号码为138XXXXXXXX)在线,如图6所示,有一个RCS APP安装在Native终端上,则此时用户状态数据库内的信息如下表3所示:(1) The user's Native terminal (number 138XXXXXXXX) is online. As shown in Figure 6, an RCS APP is installed on the Native terminal. The information in the user status database is as shown in Table 3 below:
Figure PCTCN2017096803-appb-000003
Figure PCTCN2017096803-appb-000003
表3table 3
(2)用户用OTT APP在终端B(号码为139XXXXXXXX)上登录,如图7所示,OTT AS为其分配eid1,并将OTT APP在终端B登录的信息写入 用户状态数据库,用户状态数据库返回当前全部在线终端信息给OTT AS,OTT AS根据冲突规则,判断目前不存在冲突,不需要发起注销请求。(2) The user logs in on the terminal B (number is 139XXXXXXXX) with the OTT APP. As shown in FIG. 7, the OTT AS allocates eid1 and writes the information of the OTT APP in the terminal B login. The user status database, the user status database returns all current online terminal information to the OTT AS, and the OTT AS determines that there is no conflict according to the conflict rule, and does not need to initiate a logout request.
此时,用户的状态信息如下表4:At this point, the user's status information is as shown in Table 4 below:
Figure PCTCN2017096803-appb-000004
Figure PCTCN2017096803-appb-000004
表4Table 4
(3)用户OTT APP在Native终端上登录,如图8所示。OTT AS为其分配eid2,并将OTT APP在终端B登录的信息写入用户状态数据库,用户状态数据库返回当前全部在线终端信息给OTT AS,OTT AS根据冲突规则,判断同一终端上存在RCS APP与OTT APP2之间的冲突,因此后登录的OTT APP2需要将先登录的RCS APP踢下线,因此,OTT AS通过Network API调用方式,向RCS AS发起注销请求,将RCS即时消息系统中的RCS APP踢下线。此时用户的状态如下表5所示:(3) The user OTT APP logs in on the Native terminal, as shown in FIG. The OTT AS allocates the eid2 and writes the information of the OTT APP in the terminal B to the user status database. The user status database returns all the current online terminal information to the OTT AS. The OTT AS determines that the RCS APP exists on the same terminal according to the conflict rule. The conflict between OTT APP2, so the OTT APP2 that logs in later needs to kick the RCS APP that is logged in first. Therefore, the OTT AS initiates a logout request to the RCS AS through the Network API call mode, and the RCS APP in the RCS instant messaging system is used. Kick off the line. The status of the user at this time is as shown in Table 5 below:
Figure PCTCN2017096803-appb-000005
Figure PCTCN2017096803-appb-000005
表5table 5
(4)终端注销时,同理。如图9所示。例如,用户PC APP注销,则PC AS将此信息写入用户状态数据库,用户状态数据库返回当前全部在线终端信息给PC AS,此时终端无冲突,不需要发起注销。(4) When the terminal is revoked, the same reason. As shown in Figure 9. For example, if the user PC APP logs out, the PC AS writes the information to the user state database, and the user state database returns all the current online terminal information to the PC AS. At this time, the terminal has no conflict and does not need to initiate the logout.
此时用户的状态如下表6所示: The status of the user at this time is as shown in Table 6 below:
Figure PCTCN2017096803-appb-000006
Figure PCTCN2017096803-appb-000006
表6Table 6
如图10所示,本公开的实施例提供一种多系统中的终端之间通信的方法,包括:As shown in FIG. 10, an embodiment of the present disclosure provides a method for communication between terminals in a multiple system, including:
步骤101:获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Step 101: Acquire first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and The second login status information is stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
步骤102:将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录;Step 102: Send the first login state information and the second login state information to the second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is based on the first login state information and a second login status information, and a login conflict rule between different types of terminals stored in advance, determining whether the second type terminal is allowed to log in;
步骤103:获取处于登录状态的发送终端发送的消息,存储在该发送终端的第一消息队列中;其中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处于登录状态且基于相同应用的相同帐户的接收终端发送的;Step 103: Acquire a message sent by the sending terminal in the login state, and store the message in the first message queue of the sending terminal. The message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is Transmitting the terminal to the receiving terminal that is in the login state at the same time as the sending terminal and based on the same account of the same application;
步骤104:从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;Step 104: Obtain, from the user state database, at least one type of receiver terminal that is currently in a login state;
步骤105:根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端;Step 105: Write a notification message to the notification queue of the at least one type of access terminal according to the message, and notify the queue by the system server corresponding to the at least one type of receiver terminal. The notification message is sent to the receiver terminal separately;
并进一步的,该方法还可以包括:And further, the method may further include:
步骤106:发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。 Step 106: The first message queue of the sending terminal performs message synchronization with the second message queue of the receiving terminal.
步骤107:至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。Step 107: The communication system corresponding to the at least one type of receiver terminal sends the message of the update to the receiver terminal.
步骤108:接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。Step 108: When the receiving terminal receives the message of the update, if the message of the current update has been received on the other receiving terminal of the at least one type, the receiving terminal performs a silent process.
本公开的该实施例中,在短信系统之上设置统一消息队列的方式实现多终端消息收发,其中又可以包括主叫侧的多终端消息发送机制和被叫侧的多终端消息接收机制。主叫侧多终端消息发送机制如下:In this embodiment of the present disclosure, the method of setting a unified message queue on the short message system implements multi-terminal message transmission, which may further include a multi-terminal message sending mechanism on the calling side and a multi-terminal message receiving mechanism on the called side. The calling side multi-terminal message sending mechanism is as follows:
每个用户(电话号码)具有一个归属的消息队列,作为主队列,非用户归属的另一节点的消息队列作为从队列,与主队列保持同步;主叫发出的消息同时写入自身接收消息队列中,用于实现主叫侧其他端的抄送。消息下发方式与接收方相同,但消息中带有特殊标识,表明这是一条自身的消息。主叫其他终端不形成递送报告消息。Each user (telephone number) has a home message queue as the main queue. The message queue of another node that is not owned by the user acts as a slave queue and keeps synchronization with the main queue; the message sent by the caller is simultaneously written into the self-receiving message queue. Medium, used to achieve the CC at the other end of the calling side. The message is delivered in the same way as the receiver, but the message has a special identifier indicating that it is a message of its own. The calling other terminal does not form a delivery report message.
如图11所示,主叫侧多终端消息发送流程:As shown in Figure 11, the calling side multi-terminal message sending process:
①主叫A发送一条消息;1 Caller A sends a message;
②其归属的服务器将消息写入自身的接收消息队列,此消息有特殊标志标明是一条自身发送的消息;2 The server to which it belongs writes the message to its own receiving message queue. This message has a special flag indicating that it is a message sent by itself;
③消息队列数据库服务根据A用户状态数据库内的信息,查询用户A有哪些端在线,写入相应通知队列;3 The message queue database service queries which end of user A is online according to the information in the A user status database, and writes the corresponding notification queue;
④通知队列通知相应服务器由新消息;4 The notification queue notifies the corresponding server of the new message;
⑤相应服务器从消息队列拉取消息;5 The corresponding server pulls the message from the message queue;
⑥相应服务器将消息下发给主叫A其他端,其他端根据消息内标志判断这是一条自身发送的消息,显示在发送消息中。因为这些消息不会提示给发送用户,因此虽然发送方用户的其他端都会收到该用户发出的同样的消息记录,但是该用户不需要在自己的各个消息入口之间切换。6 The corresponding server sends the message to the other end of the calling party A. The other end judges that this is a message sent by itself according to the flag in the message, and is displayed in the sending message. Because these messages are not prompted to the sending user, although the other end of the sender user will receive the same message record from the user, the user does not need to switch between their respective message entries.
此后,发送方用户A的消息队列向接收方用户B的消息队列进行消息同步。Thereafter, the message queue of the sender user A performs message synchronization with the message queue of the receiver user B.
被叫侧多终端消息接收机流程如下:The process of the called side multi-terminal message receiver is as follows:
被叫侧同样采用统一消息队列提供被叫侧多终端消息接收,处理规则如 下:The called side also uses the unified message queue to provide multi-terminal message reception on the called side, and the processing rules are as follows. under:
同一用户的不同终端设备在一个消息通知队列中分别设置不同的指针,用于标识该终端所取到的消息。若当前被叫用户B状态数据库中,被叫用户B的手机号码的那部手机上除了短信外,没有任何终端在线,即没有通知队列需要被写入时,各服务器获得的用户在线列表也为空,这种状态下,RCS AS会将此即时消息拉取过来,并将其转为短信,通过短信方式投递给被叫用户B。因为只有基于电信标准的RCS融合通信即时消息系统具有与电信信令网内的短信交互的能力,因此转短信的功能需要由RCS AS完成。若某一设备的指针低于该用户的最高指针,则表明该终端的消息需要进行静默处理。各终端递送报告同样按照消息规则写入消息队列,对于已送达和已读报告,消息队列进行排重处理,只保留第一个递送报告。对于已转短信报告,由IMS AS单独作为新一条消息写入消息队列,与其他递送报告不做排重处理。Different terminal devices of the same user respectively set different pointers in a message notification queue to identify messages received by the terminal. If the currently called user B status database, the mobile phone number of the called user B, except for the short message, no terminal is online, that is, when there is no notification queue to be written, the online list of users obtained by each server is also Empty, in this state, the RCS AS will pull the instant message and convert it into a short message and deliver it to the called user B via SMS. Since only the TCS converged communication instant messaging system based on the telecommunication standard has the ability to interact with the short message in the telecommunication signaling network, the function of transferring the short message needs to be completed by the RCS AS. If the pointer of a device is lower than the highest pointer of the user, it indicates that the message of the terminal needs to be silently processed. Each terminal delivery report is also written to the message queue in accordance with the message rules. For the delivered and read reports, the message queue is weighted and only the first delivery report is retained. For the forwarded SMS report, the IMS AS writes a new message as a new message to the message queue, and does not perform weighting processing with other delivery reports.
如图12所示,被叫侧多终端消息接收流程:首先,完成用户B消息队列写入/同步,以及通知队列写入。根据用户B用户状态数据库查询当前B的在线终端,例如,此时接收方用户B有Native和PC客户端,且最新消息的状态如下:As shown in FIG. 12, the called side multi-terminal message receiving process: First, the user B message queue writing/synchronization is completed, and the queue writing is notified. The current B online terminal is queried according to the user B user status database. For example, at this time, the receiving user B has a Native and a PC client, and the status of the latest message is as follows:
最新消息latest news 8585
最新已读Recently read 7272
RCS NativeRCS Native 7272
RCS APPRCS APP 6060
OTT APP 1 OTT APP 1 6868
OTT APP 2 OTT APP 2 33
PCPC 5555
流程包括:The process includes:
①通知Native和PC客户端有新消息;1Notify the Native and PC clients that there is new news;
②IMS AS获取IMS客户端当前指针以后的消息(73-85),将Native指针更新到85,最新已读更新到85;2IMS AS obtains the message (73-85) after the current pointer of the IMS client, updates the native pointer to 85, and the latest read update to 85;
③IMS服务器采用IMS方式推送给RCS Native;3IMS server is pushed to RCS Native by IMS;
④PC客户端上线或用户点击接收消息; The 4PC client goes online or the user clicks to receive the message;
⑤PC服务器获取PC客户端当前指针以后的消息(56-85),将PC指针更新到85;The 5PC server obtains the message (56-85) after the current pointer of the PC client, and updates the PC pointer to 85;
⑥PC客户端获取消息前指针55小于最高已读指针85,PC需做静默处理,PCAS在下发消息中添加静默标志,即用户其他在线终端虽然仍会收到同样的消息,但是不会提醒用户,用户也不需要在各个消息入口之间来回切换。当用户主动从另一个消息入口进入时,因为之前该入口已经收到过消息,因此仍能看到同样的消息记录。Before the 6PC client obtains the message, the pointer 55 is smaller than the highest read pointer 85, and the PC needs to perform silent processing. The PCAS adds a silent flag to the sent message, that is, the other online terminals of the user still receive the same message, but will not remind the user. Users also do not need to switch back and forth between individual message entries. When the user actively enters from another message entry, the same message record can still be seen because the entry has been received before.
如图13所示,当被叫方只有短信在线时,流程包括:As shown in FIG. 13, when the called party only has the short message online, the process includes:
完成用户B消息队列写入/同步,以及通知队列写入。根据用户B用户状态数据库查询当前B的在线终端。且最新消息的状态如下:Complete user B message queue write/synchronization, and notify queue writes. The current B online terminal is queried according to the user B user status database. And the status of the latest news is as follows:
最新消息latest news 8585
最新已读Recently read 8585
RCS NativeRCS Native 8585
RCS APPRCS APP 6060
OTT APP 1 OTT APP 1 6868
OTT APP 2 OTT APP 2 33
PCPC 8585
流程如下:The process is as follows:
①用户状态数据库查询发现发往被叫用户B的手机号码的那部手机上目前所有具有即时消息能力的终端都不在线,则需要通知具有转短信能力的RCS AS来拉取新的消息;1 The user status database query finds that all the instant messaging capable terminals on the mobile phone that is sent to the called user B's mobile phone number are not online, and then need to notify the RCS AS with the short message capability to pull a new message;
②RCS AS查询目前最新已读到最新消息之间有3条消息(86-88),则将这3条消息拉倒本地,将RCS Native的最新已读指针置为88;2RCS AS query currently has 3 messages (86-88) between the latest news, then pull these 3 messages down to local, and set the latest read pointer of RCS Native to 88;
③RCS AS将这3条消息转为短信,通过7号信令网发往主叫用户的短信中心;3RCS AS converts these three messages into short messages and sends them to the SMS center of the calling user through the No. 7 signaling network;
④主叫用户的短信中心按照标准短信流程将3条短信发送给被叫用户B。4 The call center of the calling user sends 3 short messages to the called user B according to the standard short message process.
本公开的上述实施例中,多个系统可以是同一运营商拥有的多个不同的即时消息系统以及传统短彩信系统,本公开的上述实施例通过在同一运营商拥有多个不同的即时消息系统以及传统短彩信系统之上设置统一的用户状态 数据库,在该数据库中统一存储用户在线端的信息的方式实现多终端的在线状态管理;通过在各即时消息系统和短信系统之上设置统一消息队列的方式,实现多终端之间的消息分发。从而实现了原本相互独立的各个消息系统之间终端在线状态的统一管理;以及实现原本属于各个相互独立的消息系统的多个终端之间的消息分发,不同的终端都可以看到相同的消息记录,但是只有用户当前在操作的终端会对用户进行提示,用户不需要在各个终端之间反复切换,提高了用户体验。In the above embodiments of the present disclosure, the plurality of systems may be a plurality of different instant messaging systems owned by the same operator and a conventional short multimedia messaging system, and the above embodiments of the present disclosure have multiple different instant messaging systems by the same operator. And setting a unified user state on top of the traditional short multimedia messaging system The database realizes online state management of multiple terminals by uniformly storing information of the online end of the user in the database; and realizing message distribution between multiple terminals by setting a unified message queue on each instant messaging system and the short message system. Thereby, the unified management of the terminal online state between the respective message systems which are independent of each other is realized; and the message distribution between the plurality of terminals originally belonging to the respective independent message systems is realized, and different terminals can see the same message record. However, only the terminal currently operated by the user will prompt the user, and the user does not need to repeatedly switch between the terminals, thereby improving the user experience.
对于不同终端,保证都收到全量消息,用户看不同终端时,都可以有完整消息历史,但是,只在用户目前有操作的终端进行声音等提示,其他终端进行静默处理,对于同一终端,只有1个消息入口显示消息(或者是终端Native原生消息入口,或者是唯一的一个APP消息入口,不需要在各消息入口反复切换)。For different terminals, all messages are guaranteed to be received. When users look at different terminals, they can have a complete message history. However, only the terminals that the user currently operates can make sounds and other prompts, and other terminals perform silent processing. For the same terminal, only One message entry displays the message (either the terminal Native native message entry, or the only one APP message entry, which does not need to be repeatedly switched at each message entry).
本公开的实施例还提供一种多系统中的终端之间通信的装置,包括:An embodiment of the present disclosure further provides an apparatus for communication between terminals in a multiple system, including:
获取模块,用于获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;An acquiring module, configured to acquire first login status information that is used by the first type terminal to log in using the first communication system, and second login status information that is used by the second type terminal to log in using the second communication system, and the first login status is The information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
发送模块,用于将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。a sending module, configured to send the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state The information and the second login status information, and the login conflict rule between the different types of terminals stored in advance, determine whether the second type terminal is allowed to log in.
其中,所述登录冲突规则包括:第一类型终端为出厂即可支持即时消息收发并支持安装其它即时消息应用的Native的终端,第二类型终端为出厂即可支持即时消息收发但不支持安装其它即时消息应用非Native的终端时,两种类型的终端均可同时在线;或者The login conflict rule includes: the first type terminal is a native terminal that can support instant messaging and supports other instant messaging applications, and the second type terminal is factory-supported for instant messaging but does not support installation. When instant messaging is applied to a non-Native terminal, both types of terminals can be online at the same time; or
第一类型终端为安装即时消息应用富媒体通信RCS APP1的终端,第二类型终端为安装RCS APP1的终端时,两种类型的终端均可同时在线,但与安装RCS APP2、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登 录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1, and the second type of terminal is a terminal for installing an RCS APP1, both types of terminals can be online at the same time, but with the installation of RCS APP2, OTT APP 1 and OTT APP 2 terminals cannot be online at the same time. Recorded kicking off the line before logging in; or
第一类型终端为安装即时消息应用富媒体通信RCS APP2的终端,第二类型终端为安装RCS APP2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time, but with RCS APP1, OTT APP 1 and OTT installed The terminals of APP 2 cannot be online at the same time, and those who log in later will log in before the line; or
第一类型终端为安装私有通信协议的即时消息应用OTT APP 1的终端,第二类型终端为安装OTT APP 1时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal that installs the instant messaging application OTT APP 1 of the private communication protocol, and when the second type of terminal is installed with the OTT APP 1, both types of terminals can be online at the same time, but with the installation of RCS APP1, RCS APP 2 and The terminals of OTT APP 2 cannot be online at the same time, and the logins that will be logged in before will be offline; or
第一类型终端为安装私有通信协议的即时消息应用OTT APP 2的终端,第二类型终端为安装OTT APP 2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 1的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol, and when the second type of terminal is a terminal for installing an OTT APP 2, both types of terminals can be online at the same time, but with the installation of RCS APP1, RCS APP 2 and the terminal of OTT APP 1 cannot be online at the same time, and the login that is logged in later will be kicked off the line; or
第一类型终端为计算机PC1,第二类型终端为计算机PC2时,两种终端不可同时在线,在后登录的将在前登录的踢下线;When the first type of terminal is the computer PC1 and the second type of terminal is the computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in before the kick-off line;
其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用,PC1与PC2为不同的计算机。The RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol, and PC1 and PC2 are different computers.
其中,不同类型的终端,用终端标识进行区分:Native终端,通过基于会话初始协议的实例sip.instance=imei,获得终端标识;安装RCS APP 1终端,通过基于会话初始协议的实例sip.instance=UUid1获得终端标识;安装RCS APP 2终端,通过基于会话初始协议的实例sip.instance=UUid2获得终端标识;OTT APP 1终端,对应的终端标识为Eid1;OTT APP 2终端,对应的终端标识为Eid2;PC1终端,对应的终端标识为PCid1;PC2终端,对应的终端标识为PCid2。The terminal of different types is distinguished by the terminal identifier: the native terminal obtains the terminal identifier by using the instance sip.instance=imei based on the session initial protocol; the RCS APP 1 terminal is installed, and the instance based on the session initial protocol is sip.instance= UUid1 obtains the terminal identifier; installs the RCS APP 2 terminal, obtains the terminal identifier by using the instance of the session initial protocol sip.instance=UUid2; the OTT APP 1 terminal, the corresponding terminal identifier is Eid1; the OTT APP 2 terminal, and the corresponding terminal identifier is Eid2 PC1 terminal, the corresponding terminal identifier is PCid1; PC2 terminal, and the corresponding terminal identifier is PCid2.
其中,多系统中的终端之间通信的装置还包括:消息同步模块,用于获取发送终端发送的消息,存储在该发送终端的第一消息队列中;从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消 息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端。The device for communicating between the terminals in the multiple system further includes: a message synchronization module, configured to acquire a message sent by the sending terminal, and store the message in the first message queue of the sending terminal; and obtain the current status from the user state database. At least one type of recipient terminal of the login state; according to the message, respectively writing a notification cancellation in the notification queue of the at least one type of access terminal And transmitting, by the system server corresponding to the at least one type of receiver terminal, the notification message in the notification queue to the receiver terminal.
其中,所述消息同步模块还用于:发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。The message synchronization module is further configured to: perform message synchronization on the first message queue of the sending terminal to the second message queue of the receiver terminal.
其中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处于登录状态且基于相同应用的相同帐户的接收终端发送的。The message sent by the sending terminal has an identifier, where the identifier is used to identify that the message is sent by the sending terminal to the receiving terminal that is in the login state with the sending terminal and is based on the same account of the same application.
其中,多系统中的终端之间通信的装置还包括:至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。The device for communicating between the terminals in the multiple system further includes: a communication system corresponding to the at least one type of the receiver terminal, and sending the updated message to the receiver terminal.
其中,多系统中的终端之间通信的装置还包括:接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。The device for communicating between the terminals in the multiple system further includes: when the receiving terminal receives the message of the update, the message of the current update is received on the other receiving terminal of the at least one type. Then, the receiver terminal performs silent processing.
其中,多系统中的终端之间通信的装置还包括:若至少一个类型的接收方终端中,只有出厂即可支持即时消息收发但不支持安装其它即时消息应用的非Native终端处于登录状态,则由非Native终端采用的通信系统将此次更新的消息转为短信或者彩信,通过短信中心发送给接收方终端。The device for communicating between the terminals in the multiple systems further includes: if at least one type of the receiver terminal is in a login state only if the non-Native terminal that supports the instant messaging service but does not support the installation of other instant messaging applications is in the login state, The communication system adopted by the non-Native terminal converts the updated message into a short message or a multimedia message, and sends the message to the receiver terminal through the short message center.
该装置是与上述方法对应的装置,上述方法中所有实现方式均适用于该终端的实施例中,也能达到相同的技术效果。The device is a device corresponding to the above method, and all implementations in the above method are applicable to the embodiment of the terminal, and the same technical effects can be achieved.
本公开的该装置实施例中,多个系统可以是同一运营商拥有的多个不同的即时消息系统以及传统短彩信系统,本公开的上述实施例通过在同一运营商拥有多个不同的即时消息系统以及传统短彩信系统之上设置统一的用户状态数据库,在该数据库中统一存储用户在线端的信息的方式实现多终端的在线状态管理;通过在各即时消息系统和短信系统之上设置统一消息队列的方式,实现多终端之间的消息分发。从而实现了原本相互独立的各个消息系统之间终端在线状态的统一管理;以及实现原本属于各个相互独立的消息系统的多个终端之间的消息分发,不同的终端都可以看到相同的消息记录,但是只有用户当前在操作的终端会对用户进行提示,用户不需要在各个终端之间反复切换,提高了用户体验。In the device embodiment of the present disclosure, the multiple systems may be multiple different instant messaging systems owned by the same operator and the traditional short multimedia messaging system. The above embodiments of the present disclosure have multiple different instant messages by the same operator. A unified user state database is set on the system and the traditional short multimedia message system, and the online state management of the multi-terminal is realized by uniformly storing the information of the user online end in the database; setting a unified message queue on each instant messaging system and the short message system The way to achieve message distribution between multiple terminals. Thereby, the unified management of the terminal online state between the respective message systems which are independent of each other is realized; and the message distribution between the plurality of terminals originally belonging to the respective independent message systems is realized, and different terminals can see the same message record. However, only the terminal currently operated by the user will prompt the user, and the user does not need to repeatedly switch between the terminals, thereby improving the user experience.
下面参考图14,其示出了适于用来实现本申请实施例的多系统中的终端 之间通信的装置计算机系统1400的结构示意图。Referring next to Figure 14, a block diagram of a computer system 1400 suitable for use in implementing the means for communicating between terminals in a multi-system of embodiments of the present application is shown.
如图14所示,计算机系统1400包括中央处理单元(CPU)1401,其可以根据存储在只读存储器(ROM)1402中的程序或者从存储部分1408加载到随机访问存储器(RAM)1403中的程序而执行各种适当的动作和处理。在RAM 1403中,还存储有系统1400操作所需的各种程序和数据。CPU 1401、ROM 1402以及RAM 1403通过总线1404彼此相连。输入/输出(I/O)接口1405也连接至总线1404。As shown in FIG. 14, computer system 1400 includes a central processing unit (CPU) 1401 that can be loaded into a program in random access memory (RAM) 1403 in accordance with a program stored in read only memory (ROM) 1402 or from storage portion 1408. And perform various appropriate actions and processes. In the RAM 1403, various programs and data required for the operation of the system 1400 are also stored. The CPU 1401, the ROM 1402, and the RAM 1403 are connected to each other through a bus 1404. An input/output (I/O) interface 1405 is also coupled to bus 1404.
以下部件连接至I/O接口1405:包括键盘、鼠标等的输入部分1406;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1407;包括硬盘等的存储部分1408;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1409。通信部分1409经由诸如因特网的网络执行通信处理。驱动器1410也根据需要连接至I/O接口1405。可拆卸介质1411,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1410上,以便于从其上读出的计算机程序根据需要被安装入存储部分1408。The following components are connected to the I/O interface 1405: an input portion 1406 including a keyboard, a mouse, etc.; an output portion 1407 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 1408 including a hard disk or the like And a communication portion 1409 including a network interface card such as a LAN card, a modem, or the like. The communication section 1409 performs communication processing via a network such as the Internet. Driver 1410 is also coupled to I/O interface 1405 as needed. A removable medium 1411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 1410 as needed so that a computer program read therefrom is installed into the storage portion 1408 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行上述流程图的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分1409从网络上被下载和安装,和/或从可拆卸介质1411被安装。In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program in accordance with an embodiment of the present disclosure. For example, an embodiment of the present disclosure includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for performing the method of the above flow chart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication portion 1409, and/or installed from the removable medium 1411.
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,所述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。 The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products in accordance with various embodiments of the present disclosure. In this regard, each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more logic for implementing the specified. Functional executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中。这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules described in the embodiments of the present application may be implemented by software or by hardware. The described unit or module can also be provided in the processor. The names of these units or modules do not in any way constitute a limitation on the unit or module itself.
以上所述是本公开的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。 The above is an alternative embodiment of the present disclosure, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present disclosure. It should also be considered as the scope of protection of the present disclosure.

Claims (25)

  1. 一种多系统中的终端之间通信的方法,包括:A method for communication between terminals in a multi-system includes:
    获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
    将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
  2. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为出厂即可支持即时消息收发并支持安装其它即时消息应用的Native的终端,所述第二类型终端为出厂即可支持即时消息收发但不支持安装其它即时消息应用非Native的终端时,两种类型的终端均可同时在线。The first type of terminal is a native terminal that can support instant messaging and support other instant messaging applications. The second type of terminal is factory-supported for instant messaging but does not support installation of other instant messaging applications. Both types of terminals can be online at the same time.
  3. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为安装即时消息应用富媒体通信RCS APP1的终端,所述第二类型终端为安装RCS APP1的终端时,两种类型的终端均可同时在线,但与安装RCS APP2、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1, and when the second type terminal is a terminal for installing an RCS APP1, both types of terminals can be online at the same time, but with RCS APP2 and OTT installed. The terminals of APP 1 and OTT APP 2 cannot be online at the same time.
    其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。Wherein, the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol.
  4. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为安装即时消息应用富媒体通信RCS APP2的终端,所述第二类型终端为安装RCS APP2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线; The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time, but with the installation of RCS APP1, OTT The terminals of APP 1 and OTT APP 2 cannot be online at the same time.
    其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。Wherein, the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol.
  5. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 1的终端,所述第二类型终端为安装OTT APP 1时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a terminal of an instant messaging application OTT APP 1 that installs a private communication protocol. When the second type of terminal is an OTT APP 1, both types of terminals can be online at the same time, but the RCS APP1 is installed. The terminals of RCS APP 2 and OTT APP 2 cannot be online at the same time.
    其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。Wherein, the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol.
  6. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 2的终端,所述第二类型终端为安装OTT APP 2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 1的终端均不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol, and when the second type of terminal is a terminal for installing an OTT APP 2, both types of terminals can be online at the same time, but with the installation of RCS The terminals of APP1, RCS APP 2, and OTT APP 1 cannot be online at the same time, and the logins that will be logged in before are kicked off the line;
    其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用。Wherein, the RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol.
  7. 根据权利要求1所述的方法,其中,所述登录冲突规则包括:The method of claim 1 wherein said login conflicting rules comprise:
    所述第一类型终端为计算机PC1,所述第二类型终端为计算机PC2时,两种终端不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a computer PC1, and when the second type of terminal is a computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in.
    其中,PC1与PC2为不同的计算机。Among them, PC1 and PC2 are different computers.
  8. 根据权利要求2-7任一项所述的方法,其中,不同类型的终端,用终端标识进行区分:The method according to any of claims 2-7, wherein different types of terminals are distinguished by a terminal identifier:
    Native的终端,通过基于会话初始协议的实例sip.instance=imei,获得终端标识;The terminal of the Native obtains the terminal identifier by using the instance sip.instance=imei based on the session initial protocol;
    安装RCS APP 1的终端,通过基于会话初始协议的实例sip.instance=UUid1获得终端标识;The terminal that installs the RCS APP 1 obtains the terminal identifier by using the instance sip.instance=UUid1 of the session initial protocol;
    安装RCS APP 2的终端,通过基于会话初始协议的实例sip.instance=UUid2获得终端标识;The terminal that installs the RCS APP 2 obtains the terminal identifier by using the instance sip.instance=UUid2 of the session initial protocol;
    安装OTT APP 1的终端,对应的终端标识为Eid1; The terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1.
    安装OTT APP 2的终端,对应的终端标识为Eid2;Install the terminal of OTT APP 2, and the corresponding terminal identifier is Eid2;
    PC1,对应的终端标识为PCid1;PC1, the corresponding terminal identifier is PCid1;
    PC2,对应的终端标识为PCid2;PC2, the corresponding terminal identifier is PCid2;
    其中,Eid1与Eid2不同,PCid1与PCid2不同。Among them, Eid1 is different from Eid2, and PCid1 is different from PCid2.
  9. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    获取发送终端发送的消息,存储在该发送终端的第一消息队列中;Obtaining a message sent by the sending terminal, and storing the message in the first message queue of the sending terminal;
    从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;Obtaining, from the user state database, at least one type of receiver terminal that is currently in a login state;
    根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端。And according to the message, a notification message is respectively written in the notification queue of the at least one type of access terminal, and the notification message in the queue is notified by the system server corresponding to the at least one type of receiver terminal. They are sent to the receiver terminal separately.
  10. 根据权利要求9所述的方法,还包括:The method of claim 9 further comprising:
    发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。The first message queue of the sending terminal synchronizes the message with the second message queue of the receiving terminal.
  11. 根据权利要求9所述的方法,其中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处于登录状态且基于相同应用的相同帐户的接收终端发送的。The method according to claim 9, wherein the message sent by the sending terminal has an identifier, and the identifier is used to identify that the message is that the sending terminal is in a login state with the sending terminal and is based on the same application. The same account is sent by the receiving terminal.
  12. 根据权利要求10所述的方法,其中,发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步后还包括:The method according to claim 10, wherein after the first message queue of the transmitting terminal performs message synchronization to the second message queue of the receiving terminal, the method further comprises:
    至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。The communication system corresponding to the at least one type of recipient terminal transmits the message of the update to the receiver terminal.
  13. 根据权利要求12所述的方法,还包括:The method of claim 12 further comprising:
    接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。When the receiving terminal receives the message of the update, if the message of the current update has been received on the other receiving terminal of the at least one type, the receiving terminal performs a silent process.
  14. 根据权利要求12所述的方法,还包括:The method of claim 12 further comprising:
    若至少一个类型的接收方终端中,只有出厂即可支持即时消息收发但不支持安装其它即时消息应用的非Native终端处于登录状态,则由非Native终端采用的通信系统将此次更新的消息转为短信或者彩信,通过短信中心发送给接收方终端。 If at least one type of receiver terminal only has a non-Native terminal that is ready to support instant messaging but does not support installation of other instant messaging applications, the communication system adopted by the non-Native terminal will transfer the updated message. For SMS or MMS, send it to the recipient terminal through the SMS center.
  15. 一种多系统中的终端之间通信的装置,包括:A device for communication between terminals in a multi-system, comprising:
    获取模块,用于获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;An acquiring module, configured to acquire first login status information that is used by the first type terminal to log in using the first communication system, and second login status information that is used by the second type terminal to log in using the second communication system, and the first login status is The information and the second login status information are stored in a user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
    发送模块,用于将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。a sending module, configured to send the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state The information and the second login status information, and the login conflict rule between the different types of terminals stored in advance, determine whether the second type terminal is allowed to log in.
  16. 根据权利要求15所述的装置,其中,所述登录冲突规则包括:The apparatus of claim 15, wherein the login conflict rule comprises:
    所述第一类型终端为出厂即可支持即时消息收发并支持安装其它即时消息应用的Native的终端,所述第二类型终端为出厂即可支持即时消息收发但不支持安装其它即时消息应用非Native的终端时,两种类型的终端均可同时在线;或者所述第一类型终端为安装即时消息应用富媒体通信RCS APP1的终端,所述第二类型终端为安装RCS APP1的终端时,两种类型的终端均可同时在线,但与安装RCS APP2、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a native terminal that can support instant messaging and support other instant messaging applications. The second type of terminal is factory-supported for instant messaging but does not support installation of other instant messaging applications. When the terminal is used, both types of terminals can be online at the same time; or the first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP1, and the second type of terminal is a terminal for installing an RCS APP1, Terminals of the type can be online at the same time, but the terminals that are installed with RCS APP2, OTT APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
    所述第一类型终端为安装即时消息应用富媒体通信RCS APP2的终端,所述第二类型终端为安装RCS APP2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、OTT APP 1和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application rich media communication RCS APP2, and when the second type of terminal is a terminal for installing an RCS APP2, both types of terminals can be online at the same time, but with the installation of RCS APP1, OTT The terminals of APP 1 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
    所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 1的终端,所述第二类型终端为安装OTT APP 1时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 2的终端均不可同时在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal of an instant messaging application OTT APP 1 that installs a private communication protocol. When the second type of terminal is an OTT APP 1, both types of terminals can be online at the same time, but the RCS APP1 is installed. The terminals of RCS APP 2 and OTT APP 2 cannot be online at the same time, and the logins that are logged in after the login are offline; or
    所述第一类型终端为安装私有通信协议的即时消息应用OTT APP 2的终端,所述第二类型终端为安装OTT APP 2的终端时,两种类型的终端均可同时在线,但与安装RCS APP1、RCS APP 2和OTT APP 1的终端均不可同时 在线,在后登录的将在前登录的踢下线;或者The first type of terminal is a terminal for installing an instant messaging application OTT APP 2 of a private communication protocol, and when the second type of terminal is a terminal for installing an OTT APP 2, both types of terminals can be online at the same time, but with the installation of RCS The terminals of APP1, RCS APP 2 and OTT APP 1 cannot be simultaneously Online, after logging in, will be kicked off the line before signing in; or
    所述第一类型终端为计算机PC1,所述第二类型终端为计算机PC2时,两种终端不可同时在线,在后登录的将在前登录的踢下线;The first type of terminal is a computer PC1, and when the second type of terminal is a computer PC2, the two types of terminals cannot be online at the same time, and the later logins are logged in.
    其中,RCS APP1与所述RCS APP2是基于相同通信协议的不同应用,OTT APP 1与OTT APP 2是基于相同通信协议的不同应用,PC1与PC2为不同的计算机。The RCS APP1 and the RCS APP2 are different applications based on the same communication protocol, and the OTT APP 1 and the OTT APP 2 are different applications based on the same communication protocol, and PC1 and PC2 are different computers.
  17. 根据权利要求16所述的装置,其中,不同类型的终端,用终端标识进行区分:The apparatus of claim 16 wherein the different types of terminals are distinguished by a terminal identifier:
    Native的终端,通过基于会话初始协议的实例sip.instance=imei,获得终端标识;The terminal of the Native obtains the terminal identifier by using the instance sip.instance=imei based on the session initial protocol;
    安装RCS APP 1的终端,通过基于会话初始协议的实例sip.instance=UUid1获得终端标识;The terminal that installs the RCS APP 1 obtains the terminal identifier by using the instance sip.instance=UUid1 of the session initial protocol;
    安装RCS APP 2的终端,通过基于会话初始协议的实例sip.instance=UUid2获得终端标识;The terminal that installs the RCS APP 2 obtains the terminal identifier by using the instance sip.instance=UUid2 of the session initial protocol;
    安装OTT APP 1的终端,对应的终端标识为Eid1;The terminal of the OTT APP 1 is installed, and the corresponding terminal identifier is Eid1.
    安装OTT APP 2的终端,对应的终端标识为Eid2;Install the terminal of OTT APP 2, and the corresponding terminal identifier is Eid2;
    PC1,对应的终端标识为PCid1;PC1, the corresponding terminal identifier is PCid1;
    PC2,对应的终端标识为PCid2;PC2, the corresponding terminal identifier is PCid2;
    其中,Eid1与Eid2不同,PCid1与PCid2不同。Among them, Eid1 is different from Eid2, and PCid1 is different from PCid2.
  18. 根据权利要求15所述的装置,还包括:The apparatus of claim 15 further comprising:
    消息同步模块,用于获取发送终端发送的消息,存储在该发送终端的第一消息队列中;从所述用户状态数据库中获取当前处于登录状态的至少一个类型的接收方终端;根据所述消息,分别为所述至少一类型的接入方终端的通知队列中写入一个通知消息,并由所述至少一个类型的接收方终端对应的系统服务器,将通知队列中的通知消息分别发送给接收方终端。a message synchronization module, configured to acquire a message sent by the sending terminal, stored in a first message queue of the sending terminal, and obtain, from the user state database, at least one type of receiving terminal that is currently in a login state; according to the message Writing a notification message to the notification queue of the at least one type of access terminal, and transmitting, by the system server corresponding to the at least one type of the receiver terminal, the notification message in the notification queue to the receiving Party terminal.
  19. 根据权利要求18所述的装置,其中,所述消息同步模块还用于:发送终端的第一消息队列向接收方终端的第二消息队列进行消息同步。The apparatus according to claim 18, wherein the message synchronization module is further configured to: the first message queue of the sending terminal performs message synchronization with the second message queue of the receiving terminal.
  20. 根据权利要求18所述的装置,其中,所述发送终端发送的消息中具有一标识,所述标识用于标识:该消息是发送终端向与所述发送终端同时处 于登录状态且基于相同应用的相同帐户的接收终端发送的。The device according to claim 18, wherein the message sent by the sending terminal has an identifier, and the identifier is used to identify that the message is sent by the sending terminal to the same time as the sending terminal. Transmitted by the receiving terminal of the same account in the login state and based on the same application.
  21. 根据权利要求19所述的装置,还包括:The apparatus of claim 19, further comprising:
    至少一个类型的接收方终端对应的通信系统,将此次更新的消息发送给接收方终端。The communication system corresponding to the at least one type of recipient terminal transmits the message of the update to the receiver terminal.
  22. 根据权利要求21所述的装置,还包括:The apparatus of claim 21 further comprising:
    接收方终端在接收到此次更新的消息时,该此次更新的消息如果已经在所述至少一个类型的其它接收方终端上接收过,则该接收方终端进行静默处理。When the receiving terminal receives the message of the update, if the message of the current update has been received on the other receiving terminal of the at least one type, the receiving terminal performs a silent process.
  23. 根据权利要求21所述的装置,还包括:The apparatus of claim 21 further comprising:
    若至少一个类型的接收方终端中,只有出厂即可支持即时消息收发但不支持安装其它即时消息应用的非Native终端处于登录状态,则由非Native终端采用的通信系统将此次更新的消息转为短信或者彩信,通过短信中心发送给接收方终端。If at least one type of receiver terminal only has a non-Native terminal that is ready to support instant messaging but does not support installation of other instant messaging applications, the communication system adopted by the non-Native terminal will transfer the updated message. For SMS or MMS, send it to the recipient terminal through the SMS center.
  24. 一种多系统中的终端之间通信的装置,包括:A device for communication between terminals in a multi-system, comprising:
    处理器;processor;
    存储器,存储有能够被所述处理器执行的计算机可读指令,在所述计算机可读指令被执行时,所述处理器执行以下操作:A memory is stored with computer readable instructions executable by the processor, the processor performing the following operations when the computer readable instructions are executed:
    获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
    将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
  25. 一种非易失性计算机可读存储媒介,存储有能够被处理器执行的计算机可读指令,当所述计算机可读指令被处理器执行时,所述处理器执行以下操作: A non-transitory computer readable storage medium storing computer readable instructions executable by a processor, the processor performing the following operations when the computer readable instructions are executed by a processor:
    获取第一类型终端采用第一通信系统进行登录的第一登录状态信息以及第二类型终端采用第二通信系统进行登录的第二登录状态信息,并将所述第一登录状态信息和所述第二登录状态信息存储在用户状态数据库中;所述第一类型终端和所述第二类型终端是基于相同应用的相同帐户进行登录的不同类型的终端;Obtaining first login status information that the first type terminal uses to log in using the first communication system, and second login status information that the second type terminal uses to log in using the second communication system, and the first login status information and the first The second login status information is stored in the user status database; the first type terminal and the second type terminal are different types of terminals that log in based on the same account of the same application;
    将所述第一登录状态信息和第二登录状态信息发送给在后登录的第二类型终端对应的第二通信系统,使所述第二通信系统根据所述第一登录状态信息和第二登录状态信息,以及预先存储的不同类型终端之间的登录冲突规则,确定是否允许所述第二类型终端进行登录。 Transmitting the first login state information and the second login state information to a second communication system corresponding to the second type terminal that is logged in later, so that the second communication system is configured according to the first login state information and the second login The status information, and pre-stored login conflict rules between different types of terminals, determine whether the second type of terminal is allowed to log in.
PCT/CN2017/096803 2016-08-16 2017-08-10 Method and device for communicating between terminals in multiple systems WO2018033015A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610674892.2 2016-08-16
CN201610674892.2A CN107770033A (en) 2016-08-16 2016-08-16 A kind of method and device to be communicated between terminal in multisystem

Publications (1)

Publication Number Publication Date
WO2018033015A1 true WO2018033015A1 (en) 2018-02-22

Family

ID=61196410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096803 WO2018033015A1 (en) 2016-08-16 2017-08-10 Method and device for communicating between terminals in multiple systems

Country Status (2)

Country Link
CN (1) CN107770033A (en)
WO (1) WO2018033015A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988408A (en) * 2019-12-17 2021-06-18 北京沃东天骏信息技术有限公司 Multi-terminal interaction method and device
CN113326224A (en) * 2021-06-24 2021-08-31 卡斯柯信号有限公司 Serial port communication method based on 2-out-of-2 architecture
CN114125732A (en) * 2021-11-11 2022-03-01 中国电信股份有限公司 Message processing method and device, storage medium and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286904A (en) * 2018-10-15 2019-01-29 京信通信系统(中国)有限公司 IMS system, message treatment method, device and storage medium
CN111294327A (en) * 2019-01-28 2020-06-16 展讯半导体(成都)有限公司 Message conflict resolution method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259770A (en) * 2012-02-17 2013-08-21 腾讯科技(深圳)有限公司 Login method and login server
CN103532983A (en) * 2013-10-31 2014-01-22 北京云巢动脉科技有限公司 Multipoint login processing method and device
CN103701835A (en) * 2012-09-27 2014-04-02 中国电信股份有限公司 Browser based converged communication establishing method and converged communication system
US20140215078A1 (en) * 2013-01-29 2014-07-31 Qualcomm Incorporated Cross-platform module that is shared by client applications for access to rich communications suite resources on a client device
CN105024907A (en) * 2014-04-22 2015-11-04 中国电信股份有限公司 IM information pushing method and system, server and platform
CN105721408A (en) * 2014-12-05 2016-06-29 中国移动通信集团公司 RCS client realization method, terminal, relevant platform and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421431C (en) * 2005-11-03 2008-09-24 中国移动通信集团公司 A method for realizing instant message communication
CN101212719B (en) * 2006-12-31 2011-12-28 华为技术有限公司 Method and system for implementing converged message service in radio communication network
US9391788B2 (en) * 2013-04-18 2016-07-12 Infinite Convergence Solutions, Inc Method and devices to invite a user from an external chat service to a group chat session

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259770A (en) * 2012-02-17 2013-08-21 腾讯科技(深圳)有限公司 Login method and login server
CN103701835A (en) * 2012-09-27 2014-04-02 中国电信股份有限公司 Browser based converged communication establishing method and converged communication system
US20140215078A1 (en) * 2013-01-29 2014-07-31 Qualcomm Incorporated Cross-platform module that is shared by client applications for access to rich communications suite resources on a client device
CN103532983A (en) * 2013-10-31 2014-01-22 北京云巢动脉科技有限公司 Multipoint login processing method and device
CN105024907A (en) * 2014-04-22 2015-11-04 中国电信股份有限公司 IM information pushing method and system, server and platform
CN105721408A (en) * 2014-12-05 2016-06-29 中国移动通信集团公司 RCS client realization method, terminal, relevant platform and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988408A (en) * 2019-12-17 2021-06-18 北京沃东天骏信息技术有限公司 Multi-terminal interaction method and device
CN113326224A (en) * 2021-06-24 2021-08-31 卡斯柯信号有限公司 Serial port communication method based on 2-out-of-2 architecture
CN113326224B (en) * 2021-06-24 2022-08-02 卡斯柯信号有限公司 Serial port communication method based on 2-out-of-2 architecture
CN114125732A (en) * 2021-11-11 2022-03-01 中国电信股份有限公司 Message processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107770033A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
WO2018033015A1 (en) Method and device for communicating between terminals in multiple systems
AU2011353561B2 (en) Message push notification client improvements for multi-user devices
US9065788B2 (en) Method, device and system for voice communication
US10631193B2 (en) Method of and a network server and mobile user equipment for providing chat/VoIP services in a mobile telecommunications network
WO2019128682A1 (en) Convergent messaging system and message processing method
US9967355B2 (en) Methods and apparatus for aggregating and distributing contact and presence information
US10701112B2 (en) IP-based USSD communications
US20220131911A1 (en) Apparatus, methods, and computer programs
CN106487644A (en) A kind of communication means and system
CN110891123A (en) Interactive information transmission method and device
CN106487641A (en) A kind of method and apparatus for realizing online customer service
CN116134849A (en) Network repository function registration
EP2974159B1 (en) Method, device and system for voice communication
CN106028311B (en) A terminal registration method and device
US8983043B2 (en) Data communication
US20130329872A1 (en) Data Communication
CN110545527B (en) Call forwarding method, video communication server and calling terminal
US11275602B1 (en) Virtual communication service for mobile devices
WO2009054661A1 (en) Procedure for managing data synchronization under multiple devices environment
US20230055014A1 (en) Apparatus, method and computer program
US20130279675A1 (en) Data communication
US9641646B1 (en) Distributed multimedia system for IP networks
WO2023078210A1 (en) Packet processing method and apparatus, and communication system
US20230344893A1 (en) Third Party Application Control Of A Client
EP4274188A1 (en) Switchover to another outbound p-cscf initiated by an ims of a communication network

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: 17840989

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.05.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17840989

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载