CN110855550B - Communication method, electronic device, and storage medium - Google Patents

Communication method, electronic device, and storage medium Download PDF

Info

Publication number
CN110855550B
CN110855550B CN201911039004.XA CN201911039004A CN110855550B CN 110855550 B CN110855550 B CN 110855550B CN 201911039004 A CN201911039004 A CN 201911039004A CN 110855550 B CN110855550 B CN 110855550B
Authority
CN
China
Prior art keywords
chat account
account
chat
virtual
message
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
CN201911039004.XA
Other languages
Chinese (zh)
Other versions
CN110855550A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911039004.XA priority Critical patent/CN110855550B/en
Publication of CN110855550A publication Critical patent/CN110855550A/en
Application granted granted Critical
Publication of CN110855550B publication Critical patent/CN110855550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/046Interoperability with other network applications or services
    • 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]

Abstract

The embodiment of the invention discloses a communication method, electronic equipment and a storage medium, wherein the method comprises the following steps: creating a mapping relation, wherein the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group consists of the first chat account in a first entity communication application program APP and at least one second chat account in at least one second entity communication application program APP; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account; receiving a first message, wherein the first message comprises information and content information of a first chat account which sends the first message; according to the mapping relation, sending a second message to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message includes information and content information of the first chat account.

Description

Communication method, electronic device, and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a communication method, electronic equipment and a storage medium.
Background
With the rapid development of scientific technology, different communication Applications (APPs) are rapidly emerging, and users can use different communication APPs to communicate and share messages.
However, there is an obvious boundary between different communication APPs, and communication exchange and message sharing between different communication APPs cannot be performed quickly and conveniently.
Disclosure of Invention
The embodiment of the invention provides a communication method, electronic equipment and a storage medium, which are used for solving the problem that communication and message sharing cannot be carried out between different communication APPs.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a communication method, where the communication method includes:
creating a mapping relation, wherein the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group consists of the first chat account in a first entity communication application program APP and at least one second chat account in at least one second entity communication application program APP; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
receiving a first message, wherein the first message comprises information and content information of a first chat account which sends the first message;
according to the mapping relation, sending a second message to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message includes information and content information of the first chat account.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the system comprises a creating module, a mapping module and a chat module, wherein the creating module is used for creating a mapping relation, the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group consists of the first chat account in a first entity communication application program APP and the at least one second chat account in at least one second entity communication application program APP; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
the receiving module is used for receiving a first message, wherein the first message comprises information and content information of a first chat account for sending the first message;
the sending module is used for sending a second message to at least one second chat account through the first virtual chat account and the at least one second virtual chat account according to the mapping relation; the second message includes information and content information of the first chat account.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the communication method described above.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the communication method are implemented as described above.
In the embodiment of the invention, according to the mapping relation, a second message is sent to at least one second chat account through the first virtual chat account and at least one second virtual chat account; the second message comprises the information and the content information of the first chat account; the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group consisting of the first chat account and the at least one second chat account; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account; according to the embodiment of the invention, through the mapping relation between the first chat account and the at least one second chat account, the quick and convenient communication exchange and message sharing among different entity communication APPs can be realized.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a mapping relationship provided by an embodiment of the invention;
fig. 3 is a flowchart of creating a mapping relationship according to an embodiment of the present invention;
fig. 4 is a flowchart of sending a second message according to an embodiment of the present invention;
fig. 5 is an application scenario diagram provided by an embodiment of the present invention;
fig. 6 is a flowchart of updating chat accounts in a virtual chat group according to an embodiment of the present invention;
fig. 7 is a flowchart of deleting a virtual chat group according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of another electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present invention. As shown in fig. 1, the communication method includes:
s101: creating a mapping relation, wherein the mapping relation is a relation between a first virtual chat account in a virtual chat group and at least one second virtual chat account, and the virtual chat group is composed of the first chat account in a first entity communication Application program (APP) and at least one second chat account in at least one second entity communication Application program (APP); the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
s102: receiving a first message, wherein the first message comprises information and content information of a first chat account which sends the first message;
s103: according to the mapping relation, sending a second message to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message includes information and content information of the first chat account.
In the embodiment of the invention, according to the mapping relation, a second message is sent to at least one second chat account through the first virtual chat account and at least one second virtual chat account; the second message comprises the information and the content information of the first chat account; the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group consisting of the first chat account and the at least one second chat account; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account; according to the embodiment of the invention, through the mapping relation between the first chat account and the at least one second chat account, the quick and convenient communication exchange and message sharing among different entity communication APPs can be realized.
In S101 of the embodiment of the present invention, an entity communication APP that needs to perform instant messaging is selected from entity communication APPs installed on an electronic device, and then a virtual chat group is created based on the selected entity communication APPs, for example, a first entity communication APP and at least one second entity communication APP; then, selecting a first chat account and at least one second chat account which need to be added into the virtual chat group from a first entity communication APP and at least one second entity communication APP, and then creating a mapping relation between the first virtual chat account and the at least one second virtual chat account; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account.
Specifically, S101 includes:
receiving selection operation of a first entity communication APP and at least one second entity communication APP; creating a virtual chat group; receiving an operation of selecting a first chat account from a first entity communication APP and selecting at least one second chat account from at least one second entity communication APP; a mapping relationship between the first virtual chat account and at least one second virtual chat account is created.
It should be noted that the mapping relationship is not limited to the mapping relationship between the first virtual chat account and at least one second virtual chat, and also includes the mapping relationship between the first chat account and the first virtual chat account, and the mapping relationship between the second chat account and the second virtual chat account. In fig. 2, a1 and a2 are a first entity communication APP and a second entity communication APP (taking a2 as an example); VA1 and VA2 are respectively a first virtual communication APP and a second virtual communication APP, A1-G1 (namely a first chat account) are chat members in A1, A2-G2 (namely a second chat account) are chat members in A2; VA1-G1 (i.e., the first virtual chat account) is a virtual chat member in VA1, VA2-G2 (i.e., the second virtual chat account) is a virtual chat member in VA2, and the virtual chat group includes VA-G1 and VA-G2.
In the embodiment of the present invention, selecting an entity communication APP that needs to perform instant messaging from among entity communication APPs installed on an electronic device specifically includes: receiving a first operation input by a user; acquiring a plurality of third entity communication APPs installed on the electronic equipment according to the first operation; receiving an operation of selecting a first entity communication APP and at least one second entity communication APP from a plurality of third entity communication APPs.
In the embodiment of the present invention, the number of virtual chat groups is not limited to one, and a plurality of virtual chat groups may be created according to the specific chat requirements of the user.
When a first chat account in a first entity communication APP and at least one second chat account in at least one second entity communication APP form a virtual chat group, before creating a mapping relationship between the first virtual chat account and the at least one second virtual chat account, the communication method further includes:
receiving an operation of selecting a first chat account from first entity communication APPs and selecting at least one second chat account from at least one second entity communication APP; receiving characters matched with at least one second chat account by a first chat account input by a user, wherein the matched characters are used for identity authentication when the first chat account and the second chat account establish a mapping relation.
After S101 in this embodiment of the present invention, the electronic device may prompt the user to select a first chat account from the first entity communication APPs and select at least one second chat account from the at least one second entity communication APPs by displaying a prompt message.
After S101 in the embodiment of the present invention, the communication method further includes:
generating message path information of the first chat account- > at least one second chat account, and the at least one second chat account- > the first chat account, and specifically including: and generating message path information, wherein the message path information comprises a transmission path of the second message from the first chat account to at least one second chat account, and a transmission path of the second message from the at least one second chat account to the first chat account.
In one example, creating a mapping relationship (as shown in FIG. 3) may include the steps of:
s301: scanning an installed entity communication APP on the electronic device, creating a mapping relationship between the entity communication APP and the virtual communication APP, updating table 1 in fig. 2, and generating an APP list based on the mapping between the entity communication APP and the virtual communication APP.
S302: and selecting an entity communication APP to be subjected to instant messaging from the APP list.
S303: judging whether the number of the selected entity communication APP is larger than 1; when the number is greater than 1, executing step S304; when the number is not more than 1, S302 is performed.
S304: after selecting the entity communication APP, a virtual chat group is created, and tables 3 and 7 in fig. 2 are updated.
S305: and prompting the virtual chat account number in the binding virtual chat group.
S306: monitoring to add a virtual chat account number to the virtual chat group, and judging whether a first message is received or not in the monitoring process; if the first message, execute step S307; and if the first message is not received, continuing to monitor the addition of the virtual chat account number to the virtual chat group.
S307: and analyzing the sender information in the first message to obtain the entity communication APP of the first message and the chat account number in the entity communication APP.
S308: judging whether the sender is a first entity communication APP; if the sender is the first entity communication APP, executing S309; and if the sender is not the first entity communication APP, continuing to monitor and add the virtual chat account number to the virtual chat group.
S309: judging whether the name of the first chat account in the first entity communication APP is determined (namely whether the matching rule in the table 7 is met, namely whether the name is a chat group name 1); if the chat account is the first chat account, executing S310; and if the chat account number is not the first chat account number, continuing to monitor the addition of the virtual chat account number to the virtual chat group. In addition, in the process of sending the message in a2, it needs to be determined whether the name is the name of the second chat account in a2 (i.e. whether the matching rule in table 7 is met, i.e. whether the name is chat group name 2).
S310: creating a mapping relation between the first virtual chat account and at least one second virtual chat account, adding the at least one second virtual chat account corresponding to the first virtual chat account to the virtual chat group, and completing tables 1-7 in fig. 2.
S311: judging whether the virtual chat accounts corresponding to the selected entity communication APP are added to the corresponding virtual chat group or not; if all the materials are added, the monitoring is finished; and if not, continuing to monitor the addition of the virtual chat account number to the virtual chat group. The mapping relationship between the first virtual chat account and the at least one second virtual chat account comprises a message subscription relationship. In table 4, the virtual account subscribed to the virtual chat account VA1-G1 is VA2-G1, and the virtual account subscribed to the virtual chat account VA2-G2 is VA 1-G2; the VA2-G1 and VA1-G1 can send messages to each other only when the VA2-G1 and VA1-G1 subscribe to each other.
In S102 in this embodiment of the present invention, after receiving the first message, the first message is analyzed to obtain sender information and content information of the first message; and then, determining which entity communication APP of the first message comes from and which chat account in the entity communication APP, and when the first message comes from the first chat account in the first entity communication APP, encapsulating the analyzed first message to obtain a second message.
In S103 of this embodiment, at least one second chat account and message path information are determined according to the mapping relationship; for example, the mapping relationship is a mapping relationship between a first chat account and at least one second chat account, or a mapping relationship between at least one second chat account and the first chat account, where a previous chat account is taken as a sender, a later chat account is taken as a receiver, and a mapping relationship between the first chat account and at least one second chat account is taken as an example below; determining at least one second chat account and message path information based on a mapping relation between the first chat account and at least one second chat account, wherein the message path information is the first chat account- > the first virtual chat account- > at least one second chat account; after determining the second chat account and the message path information, transmitting a transmission path to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; and sending a second message to at least one second chat account according to the message path information.
Specifically, S103 includes:
determining at least one second chat account and message path information according to the mapping relation, wherein the message path information comprises a transmission path of a second message from the first chat account to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account; and sending a second message to at least one second chat account according to the message path information.
In S103 of this embodiment of the present invention, in the process of sending the second message to the at least one second chat account according to the message path information, the sending of the second message to the at least one second chat account according to the message path information by using the proxy account further included in the message path information specifically includes:
the message path information also comprises a proxy account;
sending a second message to at least one second chat account according to the message path information, wherein the second message comprises: and sending a second message to at least one second chat account through the first virtual chat account, the proxy account and at least one second virtual chat account.
Taking the example that the first chat account sends the first message to at least one second chat account as an example, if the first message is forwarded through the proxy account, the method specifically includes:
the message path information includes: a first chat account- > an entity proxy account- > a first virtual chat account- > a virtual proxy account- > at least one second virtual chat account- > at least one second chat account.
It should be noted that, at this time, the entity proxy account is an account of at least one second entity communication APP on the first entity communication APP, and is used to send a first message sent by a first chat account in the first entity communication APP to the entity proxy account, and then the entity proxy account sends the first message to at least one second chat account through at least one second virtual chat account.
The message path information also refers to a virtual proxy account, which is after a mapping relationship between corresponding virtual communication APPs is created based on the entity communication APPs, at this time, a virtual proxy account exists on the virtual communication APPs, and the virtual proxy account is used for sending to at least one second chat account through at least one second virtual chat account.
In one example, a first chat account sends a second message (as shown in fig. 4 and 5) to at least one second chat account; specifically, the sending of the second message comprises the following steps:
wherein, the execution object is a message master control center;
s401: monitoring and distributing messages in the virtual chat group, and judging whether a first message is received or not; if the first message is received, executing S402; if the first message is not received, S404 is performed.
S402: analyzing message metadata of the first message; the message metadata is used for judging the chat account in which entity APP the message comes from.
S403: querying table 7 of fig. 2 to determine whether the first message is from the first entity communication APP; executing S404 when the first message comes from the first entity communication APP; if not, the messages sent between the virtual chat accounts in the virtual chat group are continuously monitored.
S404: querying table 3 in fig. 2 to determine whether the first message is from the first chat account in the first entity communication APP; if so, go to S405; if not, the messages sent between the virtual chat accounts in the virtual chat group are continuously monitored.
S405: and analyzing the message content of the first message, and then packaging the analyzed first message to obtain a second message.
S406: and querying table 2 in fig. 2, determining a first virtual chat account, and determining at least one second virtual chat account corresponding to the first virtual chat account based on the message subscription relationship.
A reality layer: various entity communication APPs;
a system layer to: monitoring, content extracting and other operations are carried out on the sent first message;
a virtual layer to: the method comprises the steps of distributing an entity communication APP, a chat account, a virtual chat account and a second message.
It should be noted that, in fig. 1, only the first chat account sends the second message to at least one second chat account as an example, and at this time, the first message corresponds to one virtual chat group; if at least one second chat account sends a second message to the first chat account, another virtual chat group exists at the moment.
In addition, second messages need to be sent respectively to one first chat account and at least one second chat account, and at the moment, the first chat account and the at least one second chat account correspond to a plurality of virtual chat accounts; when the first chat account sends a second message, the second virtual chat account having a message subscription relationship with the first chat account needs to be displayed in a list, and when the second message is sent, the list needs to be traversed until the list is traversed, that is, one message subscription relationship is traversed, and then the list is sent to the corresponding second virtual chat account.
S407: and querying table 2 and table 5 in fig. 2 to determine the entity proxy account and the at least one second chat account corresponding to the at least one second virtual chat account.
S408: referring to table 6 in fig. 2, the message path information corresponding to the first chat account is determined.
S409: sending the second message to at least one second chat account by the proxy account through message path information; wherein the message path information includes: the entity proxy account- > a first virtual chat account- > a virtual proxy account- > at least one second virtual chat account- > at least one second chat account; in table 6, the message path information corresponding to a1-G1 is a1- > G1, and the message path information corresponding to a2-G2 is a2- > G2.
Specifically, the second message is sent to a message routing table, forwarded to the proxy account by the message routing table, and finally sent to at least one second chat account; in table 6, VA 1-i is a virtual proxy account of VA1 on VA2, VA 2-i is a virtual proxy account of VA2 on VA1, a 1-i is an entity proxy account of a1 on a2, and a 2-i is an entity proxy account of a2 on a 1.
S410: judging whether the list is traversed completely; if not, executing S406; if the traversal is completed, S411 is performed.
S411: judging whether to end the virtual chat group; if so, executing S412; and if not, continuing to monitor the messages sent between the virtual chat accounts in the virtual chat group.
For example, an end flag is set, or the end flag is set by setting a preset time after the second message is sent, or the chat data with the proxy account is deleted by the user himself; all three above mentioned can end the purpose of the virtual chat group.
S412: the virtual chat group is ended.
In this embodiment of the present invention, after creating a mapping relationship between a first chat account in a first entity communication application APP and at least one second chat account in at least one second entity communication application APP, the communication method further includes: updating the mapping relationship specifically includes: receiving a second operation input by a user, wherein the second operation is used for adding a third chat account in a third entity communication APP to the virtual chat group, and the third chat account is a chat account except the first chat account and at least one second chat account; and/or receiving a second operation input by the user, wherein the second operation is used for deleting the first chat account and/or at least one second chat account in the virtual chat group.
In one example, updating the mapping relationship (as shown in FIG. 6) may include the steps of:
s601: updating a virtual chat account number in the virtual chat;
s602: stopping monitoring and sending the second message;
s603: deleting the virtual chat group;
s604: clearing the data corresponding to the deleted virtual chat account in the database;
s605: adding a virtual chat account;
s606: starting to monitor and add virtual chat accounts to the virtual chat group;
s607: monitoring for sending the second message.
In this embodiment of the present invention, after updating the mapping relationship, the communication method further includes: and deleting the mapping relation and the virtual chat group under the condition that the communication between the first chat account and at least one second chat account is determined to be finished.
In one example, ending the virtual chat group (as shown in fig. 7), may include the steps of:
s701: ending the virtual chat group;
s702: stopping monitoring and sending the second message;
s703: clearing the data corresponding to the deleted virtual chat account in the database;
s704: the virtual chat group is deleted.
In this embodiment of the present invention, after sending the second message, the communication method further includes: and displaying the information and the content information of the first chat account in a display area corresponding to the second chat account.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic apparatus includes:
a creating module 801, configured to create a mapping relationship, where the mapping relationship is a relationship between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group is composed of a first chat account in a first entity communication application APP and at least one second chat account in at least one second entity communication application APP;
the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
a receiving module 802, configured to receive a first message, where the first message includes information and content information of a first chat account that sends the first message;
a sending module 803, configured to send, according to the mapping relationship, a second message to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message includes information and content information of the first chat account.
In the embodiment of the invention, according to the mapping relation, a second message is sent to at least one second chat account through the first virtual chat account and at least one second virtual chat account; the second message comprises the information and the content information of the first chat account; the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group consisting of the first chat account and the at least one second chat account; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account; according to the embodiment of the invention, through the mapping relation between the first chat account and the at least one second chat account, the quick and convenient communication exchange and message sharing among different entity communication APPs can be realized.
Optionally, the receiving module 802 is further configured to receive a selection operation on a first entity communication APP and at least one second entity communication APP;
a creating module 801, configured to create a virtual chat group;
a receiving module 802, further configured to receive an operation of selecting a first chat account from a first entity communication APP and selecting at least one second chat account from at least one second entity communication APP;
the creating module 801 is further configured to create a mapping relationship between the first virtual chat account and at least one second virtual chat account.
Optionally, the receiving module 802 is further configured to:
receiving a first operation input by a user;
acquiring a plurality of third entity communication APPs installed on the electronic equipment according to the first operation;
receiving an operation of selecting a first entity communication APP and at least one second entity communication APP from a plurality of third entity communication APPs.
Optionally, the receiving module 802 is further configured to:
receiving an operation of selecting a first chat account from first entity communication APPs and selecting at least one second chat account from at least one second entity communication APP;
the receiving module 802 is further configured to receive characters, which are input by a user and matched with at least one second chat account, of the first chat account, where the matched characters are used for identity authentication when a mapping relationship is created between the first chat account and the second chat account.
Optionally, the electronic device further includes:
the display module is used for displaying prompt information, and the prompt information is used for prompting selection of a first chat account from the first entity communication APP and selection of at least one second chat account from at least one second entity communication APP.
Optionally, the electronic device further includes:
and the generating module is used for generating message path information, wherein the message path information comprises a transmission path from the first chat account to at least one second chat account of the second message, and a transmission path from the at least one second chat account to the first chat account of the second message.
Optionally, the sending module 803 is further configured to:
determining at least one second chat account and message path information according to the mapping relation, wherein the message path information comprises a transmission path of the second message from the first chat account to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account;
and sending a second message to at least one second chat account according to the message path information.
Optionally, the message path information further includes a proxy account; a sending module 803, further configured to: and sending a second message to at least one second chat account through the first virtual chat account, the proxy account and at least one second virtual chat account.
Optionally, the receiving module 802 is further configured to:
and receiving a second operation input by the user, wherein the second operation is used for adding a third chat account in a third entity communication APP to the virtual chat group, and the third chat account is a chat account except the first chat account and at least one second chat account.
Optionally, the electronic device further includes:
and the deleting module is used for deleting the mapping relation and the virtual chat group under the condition of determining to end the communication between the first chat account and the at least one second chat account.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
In the embodiment of the invention, according to the mapping relation, a second message is sent to at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message comprises the information and the content information of the first chat account; the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group consisting of the first chat account and the at least one second chat account; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account; according to the embodiment of the invention, through the mapping relation between the first chat account and the at least one second chat account, the quick and convenient communication exchange and message sharing among different entity communication APPs can be realized.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 apparatus 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 apparatus. 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 apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method of communication, comprising:
creating a mapping relation, wherein the mapping relation is the relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group consists of the first chat account in a first entity communication application program APP and at least one second chat account in at least one second entity communication application program APP; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
receiving a first message, wherein the first message comprises information and content information of a first chat account which sends the first message;
according to the mapping relation, sending a second message to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account; the second message comprises the information of the first chat account and the content information;
the sending a second message to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account according to the mapping relationship includes:
determining the at least one second chat account and message path information according to the mapping relationship, wherein the message path information comprises a transmission path of the second message from the first chat account to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account;
and sending a second message to the at least one second chat account according to the message path information.
2. The method of claim 1, wherein the creating a mapping relationship comprises:
receiving selection operation of the first entity communication APP and the at least one second entity communication APP;
creating the virtual chat group;
receiving an operation of selecting the first chat account from the first entity communication APP and selecting the at least one second chat account from the at least one second entity communication APP;
creating the mapping relationship between the first virtual chat account and the at least one second virtual chat account.
3. The method according to claim 2, wherein said receiving a selection operation of said first entity communication APP and said at least one second entity communication APP comprises:
receiving a first operation input by a user;
acquiring a plurality of third entity communication APPs installed on the electronic equipment according to the first operation;
receiving an operation of selecting the first entity communication APP and the at least one second entity communication APP from the plurality of third entity communication APPs.
4. The method of claim 2, wherein prior to creating the mapping relationship, the method further comprises:
receiving an operation of selecting the first chat account from the first entity communication APP and selecting the at least one second chat account from the at least one second entity communication APP;
receiving characters matched with the at least one second chat account by the first chat account input by the user, wherein the matched characters are used for identity authentication when the mapping relation is established between the first chat account and the second chat account.
5. The method of claim 1 or 2, wherein after creating the mapping relationship, the method further comprises:
generating message path information, wherein the message path information comprises a transmission path of the second message from the first chat account to the at least one second chat account, and a transmission path of the second message from the at least one second chat account to the first chat account.
6. The method of claim 3, wherein after creating the mapping relationship, the method further comprises:
receiving a second operation input by a user, where the second operation is used to add a third chat account in the third entity communication APP to the virtual chat group, and the third chat account is a chat account other than the first chat account and the at least one second chat account.
7. An electronic device, characterized in that the electronic device comprises:
the system comprises a creating module, a mapping module and a chat module, wherein the creating module is used for creating a mapping relation, the mapping relation is a relation between a first virtual chat account and at least one second virtual chat account in a virtual chat group, and the virtual chat group consists of a first chat account in a first entity communication application program APP and at least one second chat account in at least one second entity communication application program APP; the first virtual chat account is a virtual account corresponding to the first chat account, and the second virtual chat account is a virtual account corresponding to the second chat account;
the receiving module is used for receiving a first message, wherein the first message comprises information and content information of a first chat account which sends the first message;
a sending module, configured to send a second message to the at least one second chat account through the first virtual chat account and the at least one second virtual chat account according to the mapping relationship; the second message comprises the information of the first chat account and the content information;
the sending module is specifically configured to determine, according to the mapping relationship, the at least one second chat account and message path information, where the message path information includes a transmission path of the second message from the first chat account to the at least one second chat account via the first virtual chat account and the at least one second virtual chat account;
and sending a second message to the at least one second chat account according to the message path information.
8. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the communication method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the communication method according to one of claims 1 to 6.
CN201911039004.XA 2019-10-29 2019-10-29 Communication method, electronic device, and storage medium Active CN110855550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911039004.XA CN110855550B (en) 2019-10-29 2019-10-29 Communication method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911039004.XA CN110855550B (en) 2019-10-29 2019-10-29 Communication method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN110855550A CN110855550A (en) 2020-02-28
CN110855550B true CN110855550B (en) 2022-02-18

Family

ID=69599221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911039004.XA Active CN110855550B (en) 2019-10-29 2019-10-29 Communication method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN110855550B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035275A (en) * 2020-07-30 2020-12-04 长沙市到家悠享网络科技有限公司 Data processing method and server side equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1557991A1 (en) * 2004-01-22 2005-07-27 MCI, Inc. Method and system for providing universal relay services
CN101778053A (en) * 2009-12-23 2010-07-14 中兴通讯股份有限公司 Inter-instant messenger communication method and device
CN101883057A (en) * 2009-05-04 2010-11-10 上海赢思软件技术有限公司 Method and device for realizing instant messaging among multiple members in instant messaging group
CN102202015A (en) * 2011-06-09 2011-09-28 张李影 Method and system for realizing intercommunication among different kinds of instant messaging tools
CN102546464A (en) * 2011-12-22 2012-07-04 华为技术有限公司 Conference method and conference system crossing instant messaging (IM) system
CN105072093A (en) * 2015-07-20 2015-11-18 北京北信源软件股份有限公司 Interconnection device and method used for IM system
WO2018031765A1 (en) * 2016-08-11 2018-02-15 TruVerse, Inc. Systems and methods for providing cross-messaging application conversations
CN110213156A (en) * 2019-05-07 2019-09-06 中电莱斯信息系统有限公司 A kind of span centre heart group's instant communicating method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092839B (en) * 2014-07-21 2017-01-18 中国电信股份有限公司 Communication method, system, IM server and operator service platform and terminal
CN106506316A (en) * 2015-09-06 2017-03-15 中兴通讯股份有限公司 Information transferring method and device
CN108040000B (en) * 2017-11-24 2019-05-17 上海掌门科技有限公司 A kind of information transferring method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1557991A1 (en) * 2004-01-22 2005-07-27 MCI, Inc. Method and system for providing universal relay services
CN101883057A (en) * 2009-05-04 2010-11-10 上海赢思软件技术有限公司 Method and device for realizing instant messaging among multiple members in instant messaging group
CN101778053A (en) * 2009-12-23 2010-07-14 中兴通讯股份有限公司 Inter-instant messenger communication method and device
CN102202015A (en) * 2011-06-09 2011-09-28 张李影 Method and system for realizing intercommunication among different kinds of instant messaging tools
CN102546464A (en) * 2011-12-22 2012-07-04 华为技术有限公司 Conference method and conference system crossing instant messaging (IM) system
CN105072093A (en) * 2015-07-20 2015-11-18 北京北信源软件股份有限公司 Interconnection device and method used for IM system
WO2018031765A1 (en) * 2016-08-11 2018-02-15 TruVerse, Inc. Systems and methods for providing cross-messaging application conversations
CN110213156A (en) * 2019-05-07 2019-09-06 中电莱斯信息系统有限公司 A kind of span centre heart group's instant communicating method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Cross-Platform Instant Messaging System";Chengzhou Fu,等;《2015 12th Web Information System and Application Conference (WISA)》;20160204;第27-30页 *
"基于XMPP协议的即时通信软件的设计与实现";易丹;《南方职业教育学刊》;20171231;第92-98页 *
"基于XMPP协议的跨平台IM系统的设计与实现";姜仕军;《中国优秀硕士学位论文全文数据库信息科技辑》;20121015;I138-1634 *

Also Published As

Publication number Publication date
CN110855550A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108234289B (en) Message display method and device and mobile terminal
CN109194818B (en) Information processing method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111130989B (en) Information display and sending method and electronic equipment
CN111143005A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN110673770B (en) Message display method and terminal equipment
CN111130817B (en) Group creation method, electronic device and server
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109189303B (en) Text editing method and mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111061404A (en) Control method and first electronic device
CN111061446A (en) Display method and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN111130995B (en) Image control method, electronic device, and storage medium
CN111200648B (en) Service calling method, device, terminal equipment and storage medium
CN110796438B (en) Message sending method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant