CN106100979B - Instant messaging method and device - Google Patents

Instant messaging method and device Download PDF

Info

Publication number
CN106100979B
CN106100979B CN201610594913.XA CN201610594913A CN106100979B CN 106100979 B CN106100979 B CN 106100979B CN 201610594913 A CN201610594913 A CN 201610594913A CN 106100979 B CN106100979 B CN 106100979B
Authority
CN
China
Prior art keywords
communication account
communication
account
machine
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610594913.XA
Other languages
Chinese (zh)
Other versions
CN106100979A (en
Inventor
王亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bangyan Technology Co ltd
Original Assignee
Bangyan Technology Co ltd
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 Bangyan Technology Co ltd filed Critical Bangyan Technology Co ltd
Priority to CN201610594913.XA priority Critical patent/CN106100979B/en
Priority to PCT/CN2016/096496 priority patent/WO2018018688A1/en
Publication of CN106100979A publication Critical patent/CN106100979A/en
Application granted granted Critical
Publication of CN106100979B publication Critical patent/CN106100979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]
    • 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/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an instant messaging method, which comprises the following steps: when communication data sent by a sending end through an IMS multimedia subsystem network based on a first communication account which is logged in at present is received, a second communication account corresponding to the receiving end and contained in the communication data is obtained; judging whether the second communication account is a one-number multi-machine communication account or not according to prestored communication account information, and judging whether the first communication account is a one-number multi-machine communication account or not; when the second communication account is a one-number multi-machine communication account, an IMS network is adopted to send the communication data to at least one receiving terminal which logs in the second communication account currently; and when the first communication account is a one-number multi-machine communication account, sending the instant message to other terminals, except the sending terminal, which currently log in the first communication account. The invention also provides an instant communication device. The invention improves the reliability of instant messaging in the IMS network.

Description

Instant messaging method and device
Technical Field
The present invention relates to the field of IMS (IP Multimedia Subsystem) network communication technologies, and in particular, to an instant messaging method and apparatus.
Background
An IMS (IP Multimedia system) is a brand new Multimedia service form, and can implement convergence of a mobile network and a fixed network, and triple convergence of voice, data, and video, and can meet the demand of more diverse Multimedia services for users. In the current IMS network, a user can log in his or her own communication account on a terminal such as a PC (personal computer), a smart phone, a PAD (PAD), or a videophone, thereby achieving communication with other users. However, one communication account can only be logged in on one terminal at the same time, and the same communication account cannot be logged in on a plurality of terminals at the same time. Therefore, when the terminal of the user currently logging in the communication account is in a fault or is turned off, the user cannot receive the messages such as calls and voices sent by other users in time, and therefore, in the current IMS network, the reliability of instant messaging is not high.
Disclosure of Invention
The invention mainly aims to provide an instant messaging method and an instant messaging device, and aims to solve the technical problem that the reliability of instant messaging is not high in the current IMS network.
In order to achieve the above object, the present invention provides an instant messaging method, which comprises the following steps:
when communication data sent by a sending end through an IMS multimedia subsystem network based on a first communication account which is logged in at present is received, a second communication account corresponding to the receiving end and contained in the communication data is obtained;
judging whether the second communication account is a one-number multi-machine communication account or not according to prestored communication account information;
and when the second communication account is a one-number multi-machine communication account, sending the communication data to at least one receiving terminal which currently logs in the second communication account by adopting an IMS network.
Preferably, while the step of acquiring the second communication account corresponding to the receiving end included in the communication data is executed, the following steps are executed:
acquiring a practical communication account number corresponding to the sending terminal contained in the communication data, wherein when the first communication account number is a one-number multi-machine communication account number, the sending terminal generates the practical communication account number corresponding to the sending terminal according to the first communication account number and identification information of the sending terminal;
analyzing the actual communication account number, and determining a first communication account number corresponding to the sending end;
when the second communication account is a one-number multi-machine communication account, the step of sending the communication data to at least one receiving terminal currently logging in the second communication account by adopting an IMS network comprises the following steps:
replacing the actual communication account corresponding to the sending terminal contained in the communication data with the first communication account, and updating the communication data;
and when the second communication account is a one-number multi-machine communication account, sending updated communication data to at least one receiving terminal which currently logs in the second communication account by adopting an IMS network.
Preferably, the instant messaging method further comprises the steps of:
saving communication account information corresponding to each communication account, wherein the communication account information comprises an account type corresponding to the communication account;
the step of judging whether the second communication account is a one-number multi-machine communication account or not according to the pre-stored communication account information comprises the following steps:
inquiring the stored communication account information to obtain an account type corresponding to the second communication account;
and judging whether the second communication account is a one-number multi-machine communication account or not according to the account type corresponding to the second communication account.
Preferably, the instant messaging method further comprises the steps of:
and sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
Preferably, when the communication data is an instant message, the instant communication method further includes:
judging whether the first communication account is a one-number multi-machine communication account or not according to prestored communication account information;
and when the first communication account is a one-number multi-machine communication account, sending the instant message to other terminals, except the sending terminal, which currently log in the first communication account.
In addition, to achieve the above object, the present invention further provides an instant messaging device, including:
the communication data acquisition module is used for acquiring a second communication account corresponding to a receiving end contained in communication data when the communication data sent by a sending end through an IMS multimedia subsystem network based on a first communication account which is currently logged in is received;
the analysis module is used for judging whether the second communication account is a one-number multi-machine communication account or not according to prestored communication account information;
and the processing module is used for sending the communication data to at least one receiving terminal which currently logs in the second communication account by adopting an IMS network when the second communication account is a one-number multi-machine communication account.
Preferably, the obtaining module is further configured to obtain an actual communication account corresponding to the sending end included in the communication data, where when the first communication account is a one-number-multiple-machine communication account, the sending end generates the actual communication account corresponding to the sending end according to the first communication account and identification information of the sending end;
the analysis module is further configured to analyze the actual communication account and determine a first communication account corresponding to the sending end;
the processing module is further configured to replace the actual communication account corresponding to the sending end included in the communication data with the first communication account, and update the communication data; and when the second communication account is a one-number multi-machine communication account, sending updated communication data to at least one receiving terminal which logs in the second communication account currently by adopting an IMS network.
Preferably, the instant communication device further comprises:
the storage module is used for storing communication account information corresponding to each communication account, wherein the communication account information comprises account types corresponding to the communication accounts;
the analysis module includes:
the query unit is used for querying the stored communication account information and acquiring the account type corresponding to the second communication account;
and the analysis unit is used for judging whether the second communication account is a one-number multi-machine communication account or not according to the account type corresponding to the second communication account.
Preferably, the processing module is further configured to:
and sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
Preferably, when the communication data is an instant message, the analysis module is further configured to determine whether the first communication account is a one-number-multiple-machine communication account according to prestored communication account information;
the processing module is further configured to send the instant message to other terminals, except the sending terminal, currently logging in the first communication account when the first communication account is a one-number-multiple-machine communication account.
According to the instant communication method and device, when communication data sent by a sending end based on a currently logged first communication account and adopting an IMS multimedia subsystem network are received, a second communication account corresponding to a receiving end contained in the communication data is firstly obtained, when the second communication account is a one-number multi-machine communication account, the IMS network is adopted to send the communication data to a plurality of receiving ends currently logged in the second communication account, even if one receiving end cannot receive the communication data, other receiving ends receive the communication data, and therefore the reliability of instant communication is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of an instant messaging method according to the present invention;
fig. 2 is a detailed flowchart illustrating a first embodiment of the instant messaging method according to the present invention, wherein the first embodiment of the instant messaging method is configured to determine whether the second communication account is a one-number-multiple-machine communication account according to pre-stored communication account information;
FIG. 3 is a functional block diagram of an instant messaging device according to a first embodiment of the present invention;
fig. 4 is a schematic diagram of a detailed functional module of an analysis module in a first embodiment of the instant messaging device according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an instant messaging method. Referring to fig. 1, fig. 1 is a flowchart illustrating an instant messaging method according to a first embodiment of the present invention. In this embodiment, the instant messaging method includes the following steps:
step S10, when receiving communication data sent by a sending terminal based on a first communication account registered currently and adopting an IMS multimedia subsystem network, acquiring a second communication account corresponding to a receiving terminal contained in the communication data;
in this embodiment, the sending end, the receiving end, and the communication server form a communication system through an IMS (IP multimedia subsystem) network, thereby implementing communication functions such as telephone call answering and message transceiving. Before communication is carried out between users, the users need to register corresponding communication account numbers, and the communication account numbers have two types, one is a one-number multi-machine communication account number, and the other is a one-number one-machine communication account number. If the communication account is a one-phone communication account, the user can log in the communication account at the same time on a plurality of terminals such as a smart phone, a pad (tablet computer), a PC (personal computer), and the like, and if the communication account is a one-phone communication account, the user can only log in the communication account on one terminal at one moment and cannot log in the communication account on other terminals at the same time.
When the communication account is a one-phone communication account, the communication account is in an online state when logging in a certain terminal, otherwise, the communication account is in an offline state. When the communication account is a one-number multi-machine communication account, the online state of the communication account is determined by the condition that the user logs in the communication account. For example, if the user includes four terminals a1, a2, A3, and a4, the communication account is online as long as one of the terminals logs in the communication account, and is offline only when none of the four terminals logs in the communication account. For example, if the terminals a1, a2 log in the communication account and the terminals A3, A4 do not log in the communication account, the presence states of the communication account are respectively displayed on the four terminals a1, a2, A3, and A4 as follows: a1 and A2 are online, and A3 and A4 are offline.
When a sender user wants to communicate with a receiver user, for example, the sender user registers a first communication account, the receiver user registers a second communication account, the sender user logs in the first communication account through a sending end, and the receiver user logs in the second communication account through a receiving end. When a sending user sends communication data to a receiving user through a sending end, the communication data may be a call request, or an instant message, or may also be other multimedia service data. And the sending end sends communication data communicated with the receiving end to the communication server by adopting the IMS network based on the currently logged first communication account. The communication data comprises a second communication account corresponding to the receiving end. When receiving communication data sent by a sending end, a communication server firstly acquires a second communication account corresponding to a receiving end contained in the communication data.
Step S20, judging whether the second communication account is a one-number multi-machine communication account according to the pre-stored communication account information;
after the communication server acquires a second communication account corresponding to the receiving terminal contained in the communication data, the communication server judges whether the second communication account is a one-number multi-machine communication account or not according to prestored communication account information. Specifically, in this embodiment, the instant messaging method further includes the steps of:
step a, storing communication account information corresponding to each communication account, wherein the communication account information comprises an account type corresponding to the communication account;
as shown in fig. 2, the step S20 includes:
step S21, inquiring the stored communication account information, and acquiring the account type corresponding to the second communication account;
step S22, determining whether the second communication account is a one-number-multiple-machine communication account according to the account type corresponding to the second communication account.
In this embodiment, the communication server stores communication account information corresponding to each communication account. The communication account information includes information such as each communication account, an account type corresponding to each communication account, and a communication record corresponding to each communication account. After the communication server acquires the second communication account corresponding to the receiving end contained in the communication data, the communication server inquires the stored communication account information and acquires the communication account information corresponding to the second communication account. For example, if the communication server stores the communication account information corresponding to each communication account in a preset database, when the second communication account corresponding to the receiving end included in the communication data is acquired, the communication server queries the database to acquire the communication account information corresponding to the second communication account. And then determining the account type of the second communication account according to the communication account information corresponding to the second communication account, and judging whether the second communication account is a one-number multi-machine communication account or not according to the account type of the second communication account, namely judging whether the second communication account can be logged in at a plurality of receiving terminals at the same time.
Step S30, when the second communication account is a one-number-multiple-machine communication account, sending the communication data to at least one receiving end currently logging in the second communication account by using an IMS network.
When the second communication account is a one-number-multi-machine communication account, that is, a plurality of receiving terminals may log in the second communication account at the same time, at this time, the communication server sends communication data to at least one receiving terminal currently logging in the second communication account by using the IMS network.
For example, if the receiving-side user logs in the second communication account at the multiple receiving sides of the smart phone, the pad, the PC, the video phone, and the like at the same time, the communication server sends the communication data to the multiple receiving sides of the smart phone, the pad, the PC, the video phone, and the like of the receiving-side user by using the IMS network. When a plurality of receiving terminals of the receiving party user, such as a smart phone, a pad, a PC, a video phone, and the like, receive the communication data, the receiving party user can select any one of the receiving terminals to execute response operation according to actual conditions. For example, when the communication data is a call request, the receiver user may select a nearest receiver to perform an answering operation, so as to feed back a corresponding answering response message, thereby implementing call communication between the first communication account and the second communication account.
When the second communication account is the one-phone communication account, that is, only one receiving terminal can log in the second communication account currently, at this time, the communication server sends the communication data to one receiving terminal which logs in the second communication account currently by adopting the IMS network.
Further, in this embodiment, the instant messaging method further includes the steps of:
and b, sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
In this embodiment, the communication server stores communication account information corresponding to each communication account, and then the communication server sends the stored communication account information corresponding to each communication account to at least one terminal corresponding to the communication account. And when the communication account is the one-phone communication account, the communication server sends the corresponding communication account information to a terminal corresponding to the one-phone communication account. And when the communication account number is a one-number multi-machine communication account number, the communication server sends the corresponding communication account number information to a plurality of terminals corresponding to the one-number multi-machine communication account number. For example, when the terminals corresponding to a certain one-number multi-machine communication account are terminals a1, a2, A3 and a4, the communication server simultaneously sends the communication account information corresponding to the one-number multi-machine communication account to the terminals a1, a2, A3 and a 4. Therefore, the terminals a1, a2, A3 and a4 can share the communication account information corresponding to the one-machine communication account. When a user changes the communication account information corresponding to the one-number multi-machine communication account through any one of the terminals a1, a2, A3 and a4, for example, the user joins a certain group or exits a certain group, the communication server stores the changed communication account information and simultaneously sends the changed communication account information to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the communication account information of the plurality of terminals corresponding to the one-number multi-machine communication account is ensured to be synchronous.
According to the scheme provided by the embodiment, when the communication data sent by the sending terminal based on the currently logged first communication account and the IMS multimedia subsystem network is received, the second communication account corresponding to the receiving terminal contained in the communication data is firstly obtained, and when the second communication account is the one-number-multiple-machine communication account, the IMS network is adopted to send the communication data to the multiple receiving terminals currently logged in the second communication account, even if some receiving terminal cannot receive the communication data, other receiving terminals receive the communication data, so that the reliability of instant communication is improved, and the user experience is improved.
Further, a second embodiment of the instant messaging method of the present invention is provided based on the first embodiment. In the second embodiment, while the step S10 is being executed, the following steps are executed:
step c, acquiring a practical communication account corresponding to the sending terminal contained in the communication data, wherein when the first communication account is a one-number multi-machine communication account, the sending terminal generates the practical communication account corresponding to the sending terminal according to the first communication account and the identification information of the sending terminal;
d, analyzing the actual communication account number, and determining a first communication account number corresponding to the sending end;
the step S30 includes:
step e, replacing the actual communication account number corresponding to the sending end contained in the communication data with the first communication account number, and updating the communication data;
and f, when the second communication account is a one-number multi-machine communication account, sending updated communication data to at least one receiving terminal which currently logs in the second communication account by adopting an IMS network.
In this embodiment, each sending end has corresponding identification information, for example, the identification information of the smart phone is a phone, the identification information of the tablet computer is a pad, and the like. When a sending terminal sends communication data by adopting an IMS network based on a first communication account logged in currently, if the first communication account is a one-number multi-machine communication account, in order to enable a communication server to identify the sending terminal, the sending terminal generates an actual communication account corresponding to the sending terminal according to identification information and the first communication account. For example, if the first communication account is xiaoang, when the identification information of the sending end is phone, the actual communication account xiaoang-phone corresponding to the sending end is generated, when the identification information of the sending end is pc, the actual communication account xiaoang-pc corresponding to the sending end is generated, and when the identification information of the sending end is pad, the actual communication account xiaoang-pad corresponding to the sending end is generated. And the sending end sends communication data containing the second communication account corresponding to the receiving end and the actual communication account corresponding to the sending end to the communication server.
When receiving the communication data sent by the sending end, the communication server obtains a second communication account corresponding to the receiving end and also obtains an actual communication account corresponding to the sending end.
After the actual communication account corresponding to the sending terminal is obtained, the communication server analyzes the actual communication account and determines a first communication account corresponding to the sending terminal. For example, if the actual communication account corresponding to the sender is obtained as xiaowang-phone, the communication server analyzes the actual communication account, and determines that phone is the identification information corresponding to the sender, and xiaowang is the first communication account corresponding to the sender.
And then, the communication server updates the communication data and replaces the actual communication account number corresponding to the sending end contained in the communication data with the first communication account number. For example, if the actual communication account corresponding to the sender is xiaowang-phone, replace it with xiaowang. And when the second communication account is a one-number multi-machine communication account, the communication server sends updated communication data to at least one receiving terminal which logs in the second communication account currently by adopting an IMS network.
When the receiving end receives the updated communication data sent by the communication server, the first communication account corresponding to the sending end contained in the communication data can be obtained. For example, if the first communication account corresponding to the sending end included in the updated communication data is xiaowang, the receiving-side user can know that the communication data is sent by the sending-side user with the communication account xiaowang by checking the communication data received by the receiving end.
And if the first communication account is the one-machine communication account, the sending end directly sends communication data containing the second communication account corresponding to the receiving end and the first communication account corresponding to the sending end to the communication server. When the communication server receives the passing data, if the second communication account is a one-number multi-machine communication account, the communication server directly forwards the communication data to at least one receiving terminal which currently logs in the second communication account.
Specifically, when the communication data sent by the sending end is an instant message, the instant communication method further includes:
step g, judging whether the first communication account is a one-number multi-machine communication account or not according to prestored communication account information;
and h, when the first communication account is a one-number multi-machine communication account, sending the instant message to other terminals, except the sending terminal, which currently log in the first communication account.
When the communication server receives an instant message sent by a sending terminal, and a first communication account corresponding to the sending terminal is determined, whether the first communication account is a one-number multi-machine communication account is judged according to prestored communication account information and a mode of judging a second communication account. And when the first communication account is a one-number multi-machine communication account, the communication server also sends the instant message to other terminals which currently log in the first communication account except the sending terminal.
For example, if the sender user logs in the first communication account on the terminals a1, a2, A3, and a4, and sends an instant message to the communication server through the terminal a1 based on the first communication account by using the IMS network, that is, the terminal a1 is the sender. When the communication server receives the instant message and judges that the first communication account is a one-number-multiple-machine communication account, the communication server sends the received instant message to terminals A2, A3 and A4, so that the instant message is displayed on all terminals logging in the first communication account.
According to the scheme provided by the embodiment, when the sending terminal sends the instant message to the communication server based on the logged first communication account, if the first communication account is a one-number multi-machine communication account, the communication server sends the instant message to other terminals, except the sending terminal, of the first communication account, so that the instant message is displayed on all terminals logged in the first communication account, and user experience is further improved.
The invention further provides an instant communication device.
Referring to fig. 3, fig. 3 is a functional module diagram of the instant messaging device according to the first embodiment of the present invention. In this embodiment, the instant messaging device includes:
an obtaining module 10, configured to obtain a second communication account corresponding to a receiving end included in communication data when receiving the communication data sent by a sending end through an IMS multimedia subsystem network based on a currently logged first communication account;
in this embodiment, the sending end, the receiving end, and the communication server form a communication system through an IMS (IP multimedia subsystem) network, thereby implementing communication functions such as telephone call answering and message transceiving. The instant communication device is arranged on the communication server. Before communication is carried out between users, the users need to register corresponding communication account numbers, and the communication account numbers have two types, one is a one-number multi-machine communication account number, and the other is a one-number one-machine communication account number. If the communication account is a one-phone communication account, the user can log in the communication account at the same time on a plurality of terminals such as a smart phone, a pad (tablet computer), a PC (personal computer), and the like, and if the communication account is a one-phone communication account, the user can only log in the communication account on one terminal at one moment and cannot log in the communication account on other terminals at the same time.
When a sender user wants to communicate with a receiver user, for example, the sender user registers a first communication account, the receiver user registers a second communication account, the sender user logs in the first communication account through a sending end, and the receiver user logs in the second communication account through a receiving end. When a sending user sends communication data to a receiving user through a sending end, the communication data may be a call request, or an instant message, or may also be other multimedia service data. And the sending end sends communication data communicated with the receiving end to the communication server by adopting the IMS network based on the currently logged first communication account. The communication data comprises a second communication account corresponding to the receiving end. When the communication server receives the communication data sent by the sending end, the obtaining module 10 first obtains a second communication account corresponding to the receiving end included in the communication data.
The analysis module 20 is configured to determine whether the second communication account is a one-number-multiple-machine communication account according to pre-stored communication account information;
after the obtaining module 10 obtains the second communication account corresponding to the receiving end included in the communication data, the analyzing module 20 determines whether the second communication account is a one-number-multiple-machine communication account according to the pre-stored communication account information. Specifically, in this embodiment, the instant messaging device further includes:
the storage module is used for storing communication account information corresponding to each communication account, wherein the communication account information comprises account types corresponding to the communication accounts;
as shown in fig. 4, the analysis module 20 includes:
the query unit 21 is configured to query the stored communication account information, and acquire an account type corresponding to the second communication account;
and the analysis unit 22 is configured to determine whether the second communication account is a one-number-multiple-machine communication account according to the account type corresponding to the second communication account.
In this embodiment, the storage module stores the communication account information corresponding to each communication account. The communication account information includes information such as each communication account, an account type corresponding to each communication account, and a communication record corresponding to each communication account. After the obtaining module 10 obtains the second communication account corresponding to the receiving end included in the communication data, the querying unit 21 queries the stored communication account information, and obtains the communication account information corresponding to the second communication account. For example, if the storage module stores the communication account information corresponding to each communication account in a preset database, when the obtaining module 10 obtains the second communication account corresponding to the receiving end included in the communication data, the querying unit 21 queries the database to obtain the communication account information corresponding to the second communication account, and then determines the account type of the second communication account according to the communication account information corresponding to the second communication account. The analysis unit 22 determines whether the second communication account is a one-number-multiple-machine communication account according to the account type of the second communication account, that is, whether the second communication account can be logged in at multiple receiving terminals at the same time.
And the processing module 30 is configured to send the communication data to at least one receiving end currently logging in the second communication account by using an IMS network when the second communication account is a one-number-multiple-machine communication account.
When the second communication account is a one-number-multiple-machine communication account, that is, there may be multiple receiving terminals simultaneously logging in the second communication account, at this time, the processing module 30 sends the communication data to at least one receiving terminal currently logging in the second communication account by using the IMS network.
For example, if the receiving-side user logs in the second communication account at the multiple receiving terminals of the smart phone, the pad, the PC, the video phone, and the like at the same time, at this time, the processing module 30 uses the IMS network to send the communication data to the multiple receiving terminals of the receiving-side user, such as the smart phone, the pad, the PC, the video phone, and the like. When a plurality of receiving terminals of the receiving party user, such as a smart phone, a pad, a PC, a video phone, and the like, receive the communication data, the receiving party user can select any one of the receiving terminals to execute response operation according to actual conditions. For example, when the communication data is a call request, the receiver user may select a nearest receiver to perform an answering operation, so as to feed back a corresponding answering response message, thereby implementing call communication between the first communication account and the second communication account.
When the second communication account is the one-phone communication account, that is, only one receiving end can log in the second communication account currently, at this time, the processing module 30 sends the communication data to one receiving end currently logging in the second communication account by using the IMS network.
Further, in this embodiment, the processing module 30 is further configured to:
and sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
In this embodiment, the storage module stores communication account information corresponding to each communication account, and then the processing module 30 sends the stored communication account information corresponding to each communication account to at least one terminal corresponding to the communication account. When the communication account is the one-phone communication account, the processing module 30 sends the corresponding communication account information to a terminal corresponding to the one-phone communication account. When the communication account is a one-number-multiple-machine communication account, the processing module 30 sends the corresponding communication account information to a plurality of terminals corresponding to the one-number-multiple-machine communication account. For example, when the terminals corresponding to a certain one-number-multiple-machine communication account are terminals a1, a2, A3 and a4, the processing module 30 sends the communication account information corresponding to the one-number-multiple-machine communication account to the terminals a1, a2, A3 and a4 at the same time. Therefore, the terminals a1, a2, A3 and a4 can share the communication account information corresponding to the one-machine communication account. When a user changes the communication account information corresponding to the one-number multi-machine communication account through any one of the terminals a1, a2, A3 and a4, for example, the user joins a certain group or exits a certain group, the storage module stores the changed communication account information, and the processing module 30 simultaneously sends the changed communication account information to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the communication account information of the plurality of terminals corresponding to the one-number multi-machine communication account is synchronized.
According to the scheme provided by this embodiment, when receiving communication data sent by a sending end based on a currently logged-in first communication account and by using an IMS multimedia subsystem network, the obtaining module 10 first obtains a second communication account corresponding to a receiving end included in the communication data, and when the second communication account is a one-number-multiple-machine communication account, the processing module 30 sends the communication data to multiple receiving ends currently logged in the second communication account by using an IMS network, even if some receiving end cannot receive the communication data, other receiving ends receive the communication data, so that the reliability of instant communication is improved, and the user experience is improved.
Further, a second embodiment of the instant messaging device of the present invention is provided based on the first embodiment. In the second embodiment, the obtaining module 10 is further configured to:
acquiring a practical communication account number corresponding to the sending terminal contained in the communication data, wherein when the first communication account number is a one-number multi-machine communication account number, the sending terminal generates the practical communication account number corresponding to the sending terminal according to the first communication account number and identification information of the sending terminal;
the analysis module 20 is further configured to:
analyzing the actual communication account number, and determining a first communication account number corresponding to the sending end;
the processing module 30 is further configured to:
replacing the actual communication account corresponding to the sending terminal contained in the communication data with the first communication account, and updating the communication data; and when the second communication account is a one-number multi-machine communication account, sending updated communication data to at least one receiving terminal which logs in the second communication account currently by adopting an IMS network.
In this embodiment, each sending end has corresponding identification information, for example, the identification information of the smart phone is a phone, the identification information of the tablet computer is a pad, and the like. When a sending terminal sends communication data by adopting an IMS network based on a first communication account logged in currently, if the first communication account is a one-number multi-machine communication account, in order to enable a communication server to identify the sending terminal, the sending terminal generates an actual communication account corresponding to the sending terminal according to identification information and the first communication account. For example, if the first communication account is xiaoang, when the identification information of the sending end is phone, the actual communication account xiaoang-phone corresponding to the sending end is generated, when the identification information of the sending end is pc, the actual communication account xiaoang-pc corresponding to the sending end is generated, and when the identification information of the sending end is pad, the actual communication account xiaoang-pad corresponding to the sending end is generated. And the sending end sends communication data containing the second communication account corresponding to the receiving end and the actual communication account corresponding to the sending end to the communication server.
When the communication server receives the communication data sent by the sending end, the obtaining module 10 obtains the actual communication account number corresponding to the sending end, which is included in the communication data, in addition to the second communication account number corresponding to the receiving end, which is included in the communication data.
After the obtaining module 10 obtains the actual communication account corresponding to the sending end, the analyzing module 20 analyzes the actual communication account to determine the first communication account corresponding to the sending end. For example, if the actual communication account corresponding to the sender is obtained as xiaowang-phone, the analysis module 20 analyzes the actual communication account, and determines that phone is the identification information corresponding to the sender, and xiaowang is the first communication account corresponding to the sender.
Then, the processing module 30 updates the communication data, and replaces the actual communication account corresponding to the sending end included in the communication data with the first communication account. For example, if the actual communication account corresponding to the sender is xiaowang-phone, replace it with xiaowang. When the second communication account is a one-number-multiple-machine communication account, the processing module 30 sends updated communication data to at least one receiving end currently logging in the second communication account by using the IMS network.
When the receiving end receives the updated communication data sent by the communication server, the first communication account corresponding to the sending end contained in the communication data can be obtained. For example, if the first communication account corresponding to the sending end included in the updated communication data is xiaowang, the receiving-side user can know that the communication data is sent by the sending-side user with the communication account xiaowang by checking the communication data received by the receiving end.
And if the first communication account is the one-machine communication account, the sending end directly sends communication data containing the second communication account corresponding to the receiving end and the first communication account corresponding to the sending end to the communication server. When the communication server receives the pass data, if the second communication account is a one-number-multiple-machine communication account, the processing module 30 directly forwards the communication data to at least one receiving end currently logging in the second communication account.
Specifically, when the communication data sent by the sending end is an instant message, the analysis module 20 is further configured to:
judging whether the first communication account is a one-number multi-machine communication account or not according to prestored communication account information;
the processing module 30 is further configured to:
and when the first communication account is a one-number multi-machine communication account, sending the instant message to other terminals, except the sending terminal, which currently log in the first communication account.
When the communication server receives an instant message sent by a sending end, the analysis module 20 determines a first communication account corresponding to the sending end, and then judges whether the first communication account is a one-number-multiple-machine communication account according to the prestored communication account information and in a manner of judging a second communication account. When the first communication account is a one-number-multiple-machine communication account, the processing module 30 further sends the instant message to other terminals, except the sending terminal, which currently log in the first communication account.
For example, if the sender user logs in the first communication account on the terminals a1, a2, A3, and a4, and sends an instant message to the communication server through the terminal a1 based on the first communication account by using the IMS network, that is, the terminal a1 is the sender. When the messaging server receives the instant message and the analysis module 20 determines that the first messaging account is a one-number-multiple-machine messaging account, the processing module 30 further sends the received instant message to the terminals a2, A3 and a4, so that the instant message is displayed on all terminals logging in the first messaging account.
According to the scheme provided by the embodiment, when the sending terminal sends the instant message to the communication server based on the logged first communication account, if the analysis module 20 determines that the first communication account is the one-number-multiple-machine communication account, the processing module 30 sends the instant message to other terminals, except the sending terminal, which are currently logged in the first communication account, so that the instant message is displayed on all terminals logged in the first communication account, and the user experience is further improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. An instant messaging method, characterized in that the instant messaging method comprises the following steps:
when communication data sent by a sending end through an IMS multimedia subsystem network based on a first communication account which is logged in at present is received, a second communication account corresponding to the receiving end and contained in the communication data is obtained;
judging whether the second communication account is a one-number multi-machine communication account or not according to prestored communication account information, and judging whether the first communication account is a one-number multi-machine communication account or not;
acquiring a practical communication account number corresponding to the sending terminal and contained in the communication data while executing the step of acquiring a second communication account number corresponding to a receiving terminal and contained in the communication data, wherein when the first communication account number is a one-number-multiple-machine communication account number, the sending terminal generates the practical communication account number corresponding to the sending terminal according to the first communication account number and identification information of the sending terminal;
analyzing the actual communication account number, and determining a first communication account number corresponding to the sending end;
replacing the actual communication account corresponding to the sending terminal contained in the communication data with the first communication account, and updating the communication data;
when the second communication account is a one-number multi-machine communication account, an IMS network is adopted to send the communication data to at least one receiving terminal which logs in the second communication account currently;
and when the first communication account is a one-number multi-machine communication account and the communication data is an instant message, sending the instant message to other terminals, except the sending terminal, which currently log in the first communication account.
2. The instant messaging method of claim 1, wherein the instant messaging method further comprises the steps of:
saving communication account information corresponding to each communication account, wherein the communication account information comprises an account type corresponding to the communication account;
the step of judging whether the second communication account is a one-number multi-machine communication account or not according to the pre-stored communication account information comprises the following steps:
inquiring the stored communication account information to obtain an account type corresponding to the second communication account;
and judging whether the second communication account is a one-number multi-machine communication account or not according to the account type corresponding to the second communication account.
3. The instant messaging method of claim 2, wherein the instant messaging method further comprises the steps of:
and sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
4. An instant messaging device, the instant messaging device comprising:
the communication data acquisition module is used for acquiring a second communication account corresponding to a receiving end contained in communication data when the communication data sent by a sending end through an IMS multimedia subsystem network based on a first communication account which is currently logged in is received; the obtaining module is further configured to obtain a practical communication account corresponding to the sending terminal included in the communication data, where when the first communication account is a one-number-multiple-machine communication account, the sending terminal generates the practical communication account corresponding to the sending terminal according to the first communication account and identification information of the sending terminal;
the analysis module is used for judging whether the second communication account is a one-number multi-machine communication account according to prestored communication account information and also used for judging whether the first communication account is a one-number multi-machine communication account according to prestored communication account information; the analysis module is further configured to analyze the actual communication account and determine a first communication account corresponding to the sending end;
the processing module is used for sending the communication data to at least one receiving terminal which currently logs in the second communication account by adopting an IMS network when the second communication account is a one-number-multiple-machine communication account, and is also used for sending the instant message to other terminals which currently log in the first communication account except the sending terminal when the first communication account is the one-number-multiple-machine communication account and the communication data is the instant message; the processing module is further configured to replace the actual communication account corresponding to the sending end included in the communication data with the first communication account, and update the communication data.
5. The instant messaging apparatus of claim 4, wherein the instant messaging apparatus further comprises:
the storage module is used for storing communication account information corresponding to each communication account, wherein the communication account information comprises account types corresponding to the communication accounts;
the analysis module includes:
the query unit is used for querying the stored communication account information and acquiring the account type corresponding to the second communication account;
and the analysis unit is used for judging whether the second communication account is a one-number multi-machine communication account or not according to the account type corresponding to the second communication account.
6. The instant messaging apparatus of claim 5, wherein the processing module is further to:
and sending the stored communication account information corresponding to each one-number multi-machine communication account to a plurality of terminals corresponding to the one-number multi-machine communication account, so that the plurality of terminals corresponding to the one-number multi-machine communication account can share the communication account information corresponding to the one-number multi-machine communication account.
CN201610594913.XA 2016-07-26 2016-07-26 Instant messaging method and device Active CN106100979B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610594913.XA CN106100979B (en) 2016-07-26 2016-07-26 Instant messaging method and device
PCT/CN2016/096496 WO2018018688A1 (en) 2016-07-26 2016-08-24 Instant messaging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610594913.XA CN106100979B (en) 2016-07-26 2016-07-26 Instant messaging method and device

Publications (2)

Publication Number Publication Date
CN106100979A CN106100979A (en) 2016-11-09
CN106100979B true CN106100979B (en) 2019-12-24

Family

ID=57450268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610594913.XA Active CN106100979B (en) 2016-07-26 2016-07-26 Instant messaging method and device

Country Status (2)

Country Link
CN (1) CN106100979B (en)
WO (1) WO2018018688A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065656A (en) * 2022-05-31 2022-09-16 北京京东拓先科技有限公司 Message processing method and device, electronic equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
US7590696B1 (en) * 2002-11-18 2009-09-15 Aol Llc Enhanced buddy list using mobile device identifiers
CN102368764A (en) * 2011-09-10 2012-03-07 上海量明科技发展有限公司 Method for carrying out communication through multiple points of presence, system and client thereof

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610277B (en) * 2008-06-18 2012-07-04 中兴通讯股份有限公司 Method for processing information transmission
CN102281205B (en) * 2010-06-10 2016-01-20 腾讯科技(深圳)有限公司 The method of the text importing in a kind of instantaneous communication system, terminal and system
CN102546640B (en) * 2012-01-13 2017-03-01 百度在线网络技术(北京)有限公司 Information flow method when the many equipment of single account logs in and server
CN102638416B (en) * 2012-03-27 2015-09-09 上海量明科技发展有限公司 The method of IM message, client and system is checked when multi-client logs in
CN102868819B (en) * 2012-09-13 2016-08-03 中兴通讯股份有限公司 A kind of process the method and device of communication service under common account
CN104348697B (en) * 2013-07-25 2019-08-13 腾讯科技(深圳)有限公司 The processing method of video communication information, apparatus and system
CN104092646B (en) * 2013-10-28 2016-10-12 腾讯科技(深圳)有限公司 Operation synchronous method and device
KR20150057452A (en) * 2013-11-19 2015-05-28 삼성전자주식회사 Display device and control method thereof
CN104301378A (en) * 2014-08-28 2015-01-21 小米科技有限责任公司 User information updating method and device
CN105516640B (en) * 2015-12-15 2019-11-12 Tcl集团股份有限公司 A kind of detection method and system of video communication session exception

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7590696B1 (en) * 2002-11-18 2009-09-15 Aol Llc Enhanced buddy list using mobile device identifiers
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
CN102368764A (en) * 2011-09-10 2012-03-07 上海量明科技发展有限公司 Method for carrying out communication through multiple points of presence, system and client thereof

Also Published As

Publication number Publication date
WO2018018688A1 (en) 2018-02-01
CN106100979A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
US7227937B1 (en) Monitoring natural interaction for presence detection
CN100536442C (en) System and method for routing communication sessions
EP3206377B1 (en) Synchronizing messages on connected devices
CN101558601B (en) A method and arrangement for handling client data
EP2741541B1 (en) Capability inquiry method, communication terminal and application server
WO2011163087A2 (en) Automated mobile intelligent communication processing system
CN105282730A (en) Method and system for acquiring terminal communication state in IMS (IP multimedia subsystem) and application server
US9743439B2 (en) Mobile devices having a common communication mode
CN105376136B (en) Instant communication method, server and system
EP2974159B1 (en) Method, device and system for voice communication
CN106027380A (en) Message pushing method and device
US9456323B2 (en) Methods and devices for delivery of naming information of a called party to a calling party
US10594859B2 (en) Communication method, apparatus, and system
US20080013704A1 (en) Communication System and Method
US20140112336A1 (en) Telephony usage derived presence information
CN106100979B (en) Instant messaging method and device
CN102724214B (en) Calling device and method and device for establishing conversation based on instant messaging (IM) client-side
US20080117916A1 (en) VoIP TERMINAL APPARATUS, VoIP COMMUNICATION SYSTEM AND PRESENCE CHECK METHOD THEREOF
CN101729516B (en) Method and system for registering internet protocol multimedia subsystem (IMS) service
CN103124300B (en) A kind ofly realize the method that instant messaging IM client binds SIP phone automatically
CN107517235B (en) Number prompting method, device and system
US8229454B1 (en) Personal location information management
CN114710757A (en) Information processing method, network side equipment and terminal
CN106331270B (en) Method and device for managing numbers of contact persons
US20200314237A1 (en) Method for managing a failure to establish a communication between a first and a second terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 518000 2101, No. 100, Zhihe Road, Dakang community, Yuanshan street, Longgang District, Shenzhen, Guangdong

Patentee after: BANGYAN TECHNOLOGY Co.,Ltd.

Address before: 518000 room 901, block B, building 5, Shenzhen software industry base, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: BANGYAN TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder