Communication method, communication device, and electronic device
By forwarding the message to other communication accounts for reply in the target account status, the problem of the other party being unable to reply is solved, and the efficiency and effectiveness of communication are improved.
Patent Information
- Application Number
- CN202211718656.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In communication applications, when users send messages, the other party cannot reply, resulting in low communication efficiency, and the message sender needs to find a new communication partner and send the message repeatedly.
Forward the message in the target account status to other communication accounts, and let them reply to realize the inheritance and forwarding of messages.
It improves communication efficiency, ensures that the message sender receives a timely reply, reduces the steps of repeated sending, and improves the effectiveness of communication.
Smart Images

Figure CN116016414B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a communication method, a communication device and an electronic device. Background Art
[0002] With the popularity of communication applications, users often use communication applications to communicate, whether in life or at work.
[0003] When using messaging apps, it's common to encounter situations where user A sends a message to user B, perhaps asking for advice. However, user B can't reply for some reason, and user A doesn't know anyone else to consult, leaving user A stranded. For example, at work, a business manager may no longer be responsible for a specific area due to a transfer or resignation. However, some company employees, unaware of their situation, continue to contact them for business inquiries. Without receiving a response, they continue searching for someone else to consult.
[0004] Based on the above content, it can be seen that in the prior art, when communicating through communication applications, there is a problem of low communication efficiency. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a communication method, a communication device, and an electronic device, which can set a communication account to a target account status. In the target account status, messages sent to the communication account will be forwarded to other communication accounts, and users using other communication accounts can reply to the messages. In this way, it can not only solve the problem of users being unable to reply to messages, but also meet the message sender's demand for message replies. Moreover, when the message sender is unable to reply to the message, the message sender does not need to re-search for the message communication object and re-send the first message, thereby improving communication efficiency and ensuring that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness.
[0006] In a first aspect, an embodiment of the present application provides a communication method, the method comprising:
[0007] Receiving a first message sent by a first communication account; wherein the first message is sent to a second communication account;
[0008] When the second communication account is in the target account state, the first message is forwarded to a third communication account.
[0009] In a second aspect, an embodiment of the present application provides a communication method, the method comprising:
[0010] receiving a first input;
[0011] In response to the first input, setting the second communication account to a target account state;
[0012] Wherein, in the target account state, the first message sent from the first communication account to the second communication account is forwarded to the third communication account.
[0013] In a third aspect, an embodiment of the present application provides a communication method, the method comprising:
[0014] Sending a first message to a second communication account via the first communication account; wherein the second communication account is in a target account state;
[0015] A target conversation window is displayed; wherein the target conversation window includes the first message, and the target conversation window is used for the first communication account and the third communication account to conduct a conversation.
[0016] In a fourth aspect, an embodiment of the present application provides a communication device, comprising:
[0017] a message receiving module, configured to receive a first message sent by a first communication account; wherein the first message is sent to a second communication account;
[0018] The message sending module is configured to forward the first message to a third communication account when the second communication account is in a target account state.
[0019] In a fifth aspect, an embodiment of the present application provides a communication device, comprising:
[0020] An input receiving module, configured to receive a first input;
[0021] a setting module, configured to set the second communication account to a target account state in response to the first input;
[0022] Wherein, in the target account state, the first message sent from the first communication account to the second communication account is forwarded to the third communication account.
[0023] In a sixth aspect, an embodiment of the present application provides a communication device, comprising:
[0024] a message sending module, configured to send a first message to a second communication account via a first communication account; wherein the second communication account is in a target account state;
[0025] The display module is configured to display a target conversation window; wherein the target conversation window includes the first message, and the target conversation window is used for the first communication account to conduct a conversation with the third communication account.
[0026] In the seventh aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps in the communication method described in the first aspect are implemented.
[0027] In an eighth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps in the communication method described in the second aspect are implemented.
[0028] In the ninth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps in the communication method described in the third aspect are implemented.
[0029] In the tenth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the communication method described in the first aspect, the second aspect or the third aspect are implemented.
[0030] In the eleventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the communication method described in the first aspect, the second aspect or the third aspect.
[0031] In the twelfth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one frame processor to implement the communication method described in the first aspect, the second aspect or the third aspect.
[0032] In the embodiment of the present application, a communication account can be set to a target account status. In the target account status, messages sent to the communication account will be forwarded to other communication accounts, and users using other communication accounts can reply to the messages. In this way, the problem of users being unable to reply to messages can be solved, and the message sender's need for message replies can be met. Moreover, when the message recipient is unable to reply to the message, the message sender does not need to re-search for the message communication recipient or re-send the first message. This improves communication efficiency and ensures that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a flowchart of a communication method provided by some embodiments of the present application;
[0034] Figure 2 is a schematic diagram of a conversation window interface of a communication group provided in some embodiments of the present application;
[0035] Figure 3 Schematic diagram of a conversation window interface between communication account C and communication account B provided in some embodiments of the present application;
[0036] Figure 4 is a schematic diagram of a target communication application homepage provided by some embodiments of the present application;
[0037] Figure 5 is a flowchart of a communication method provided by some embodiments of the present application;
[0038] Figure 6 is a flowchart of a communication method provided by some embodiments of the present application;
[0039] Figure 7 Schematic diagram of a conversation window interface between communication account C and communication account A provided in some embodiments of the present application;
[0040] Figure 8 Schematic diagram of a conversation window interface between communication account C and communication account A provided in some embodiments of the present application;
[0041] Figure 9 Schematic diagram of a conversation window interface between communication account C and communication account A provided in some embodiments of the present application;
[0042] Figure 10 is a schematic block diagram of a communication device provided by some embodiments of the present application;
[0043] Figure 11 is a schematic block diagram of a communication device provided by some embodiments of the present application;
[0044] Figure 12 is a schematic block diagram of a communication device provided by some embodiments of the present application;
[0045] Figure 13 Schematic block diagram of an electronic device provided by some embodiments of the present application;
[0046] Figure 14 This is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0048] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0049] The communication method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0050] Figure 1 This is a flow diagram of a communication method provided in an embodiment of the present application. This communication method is applicable to scenarios where a user using a communication account is unable to reply to messages sent to the communication account by other users due to reasons such as vacation, job transfer, or resignation. The steps in this communication method can be performed by a first electronic device. The first electronic device can be a server or a terminal device with a relay function.
[0051] The communication method may include:
[0052] Step 101: Receive a first message sent by a first communication account.
[0053] The destination of the first message is the second communication account, that is, the first message is sent from the first communication account to the second communication account.
[0054] For example, user A registers communication account A in the target communication application, opens the chat interface between communication account A and communication account B, and sends a first message to communication account B through communication account A. Communication account A in this example corresponds to the first communication account, and communication account B in this example corresponds to the second communication account.
[0055] Step 102: When the second communication account is in the target account state, forward the first message to the third communication account.
[0056] Among them, the target account status indicates that the conversation function of the second communication account has been inherited by other communication accounts. The conversation function here refers to the message reply function. That is, when the second communication account is in the target account status, the reply operation for the conversation message sent to the second communication account will be performed by the other communication accounts that have inherited the message reply function of the second communication account.
[0057] In an embodiment of the present application, upon receiving a first message from a first communication account and determining that the first message is intended for a second communication account, a first electronic device first determines whether the second communication account is in the target account state. If the second communication account is in the target account state, the first message is forwarded to a third communication account, and the user using the third communication account replies to the first message through the third communication account. The third communication account inherits the conversation functionality of the second communication account.
[0058] The above solution is illustrated by taking the example of a company employee on vacation and setting the communication account used for communicating with company personnel to vacation status. In this scenario, the first communication account is communication account C, the second communication account is communication account A, the third communication account is communication account B, and the first electronic device is a server.
[0059] For example, when employee A of a company is on vacation, they can set communication account A, used for communicating with company personnel, to vacation status, which is a target account status. At the same time, they can also set employee B's communication account B to inherit the conversation function of communication account A. When employee C sends a first message to communication account A, which is on vacation, through communication account C, communication account C first sends the first message to the server. After receiving the first message, the server determines that the first message is sent to communication account A and that communication account A is on vacation. It then forwards the first message to communication account B, which is associated with communication account A, so that employee B can reply to the first message through communication account B.
[0060] In the embodiments of the present application, in the case that the first communication account sends a first message to a second communication account in a target account state, the first message can be forwarded to a third communication account that inherits the session function of the second communication account, so that the user of the third communication account replies to the received first message. In this way, the problem that the user using the second communication account is inconvenient to reply to the message is solved, and the demand of the user using the first communication account for message reply is met. Moreover, the user using the first communication account does not need to find the message communication object again and resend the first message when the user using the second communication account is inconvenient to reply to the message, the communication efficiency is improved, the message sent to the user inconvenient to reply to the message can be effectively delivered, the message sender can get the reply in time, and the communication efficiency and effectiveness are improved.
[0061] Optionally, the second communication account can be associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
[0062] In the embodiments of the present application, the second communication account can be associated with at least one session inheritance account, so that these session inheritance accounts inherit the session function thereof. For example, the communication account A can be associated with only the communication account B, and the communication account B is taken as a session inheritance account; or the communication account A can be associated with multiple communication accounts such as the communication account B and the communication account D, and the communication account B and the communication account D are taken as session inheritance accounts. In the case of associating multiple session inheritance accounts, the first message can be forwarded to at least one session inheritance account.
[0063] Optionally, the association relationship between the communication accounts can be stored through a mapping table. Of course, the association relationship between the communication accounts can also be recorded through other manners, and the specific manner can be determined according to actual needs.
[0064] In the embodiments of the present application, by associating the session inheritance account, when the user using the second communication account is inconvenient to reply to the message, the user using the session inheritance account can reply to the first message sent to the second communication account, and the demand of the message sender for message reply is met. When multiple session inheritance accounts are associated, more forwarding objects can be provided for the first message, the message reply probability is improved, the communication efficiency is improved, the message sent to the user inconvenient to reply to the message can be effectively delivered, the message sender can get the reply in time, and the communication efficiency and effectiveness are improved.
[0065] Optionally, the session inheritance account can be set by default on the electronic device or manually by the user. For example, when grouping employee communication accounts based on projects, the other communication accounts in the same project group can be set as the session inheritance account by default, or the user can select other communication accounts in the same project group and set the selected communication account as the session inheritance account.
[0066] Optionally, the first communication account is any communication account, or the first communication account is a communication account that meets the session inheritance condition.
[0067] In this embodiment of the present application, the first communication account can be any communication account. That is, when any communication account sends a first message to a second communication account in the target account state, the first message can be forwarded to the third communication account that serves as the session inheritance account. For example, if Employee A's target communication application includes 10 communication accounts, and these 10 communication accounts do not include Employee A's communication account, then the first communication account can be any of these 10 communication accounts except the communication account set as the session inheritance account.
[0068] In an embodiment of the present application, the first communication account may also be a specific communication account, that is, a communication account that meets the session inheritance conditions. Only when the first message is sent to the second communication account that is in the target account state can the first message be forwarded to the third communication account that serves as the session inheritance account. The session inheritance conditions described herein may be capable of triggering the session inheritance function. The session inheritance conditions may specifically include at least one of the following: a communication account in the same organizational relationship as the second communication account, a communication account in a target relationship with the second communication account, and the first message sent includes a target keyword. The communication account in the same organizational relationship as the second communication account may include, for example, a communication account in the same department; the communication account in a target relationship with the second communication account may include, for example, a colleague, friend, or family member; and the first message sent includes a target keyword, such as a keyword that matches a keyword associated with the session inheritance account. That is, if the first message includes a keyword that matches a keyword associated with the session inheritance account, the session inheritance function is triggered and the first message is sent to the corresponding session inheritance account. If the first message does not include a keyword that matches a keyword associated with the session inheritance account, the session inheritance function is not triggered, and the first message is sent to the first communication account.
[0069] Optionally, when the first communication account is a communication account that meets the session inheritance conditions, the first communication account can be set by the user. For example, after the user sets the second communication account as the target account status, he can not only set the session inheritance account, but also set the communication account that can trigger the session inheritance function.
[0070] In the embodiments of the present application, a user can flexibly set a communication account that can trigger the conversation inheritance function according to actual needs, thereby meeting the personalized needs of the user.
[0071] Optionally, the third communication account can be associated with at least one keyword.
[0072] Before forwarding the first message to the third communication account in step 102, the communication method can further include: including a target keyword in the first message, and in the case that the target keyword matches at least part of the keywords associated with the third communication account, determining the third communication account as the forwarding object of the first message.
[0073] Here, the at least part of the keywords refers to at least one keyword.
[0074] In the embodiments of the present application, a user using the second communication account can set keywords for the conversation inheritance account according to the message content and the like that the user using the conversation inheritance account can respond to.
[0075] For the first message sent to the second communication account in the target account state, the first electronic device can first determine whether the first message includes a keyword matching the keyword associated with the conversation inheritance account. If yes, the keyword included in the first message is extracted, and then it is judged which conversation inheritance account the keyword matching the extracted keyword is associated with, and then the first message is forwarded to the conversation inheritance account associated with the keyword matching the extracted keyword. The extracted keyword can be at least one.
[0076] Specifically, in the case that the first message includes a target keyword, and the target keyword matches at least part of the keywords associated with the third communication account, the third communication account can be determined as the forwarding object of the first message. If the first message does not include a keyword matching the keyword associated with the conversation inheritance account, the first message can be forwarded to all conversation inheritance accounts.
[0077] For one conversation inheritance account, at least one keyword can be set. In the case that the conversation inheritance account is multiple, keywords can be set for all or part of the conversation inheritance accounts. In the case that the conversation inheritance account with the set keyword is multiple, different keywords can be set for different conversation inheritance accounts, or the same keyword can be set for different conversation inheritance accounts, which can be set according to actual needs.
[0078] The following example illustrates the above solution, using the example of a company employee on vacation and setting the communication account used to communicate with company personnel to vacation status. In this scenario, the first communication account is communication account C, the second communication account is communication account A, and the third communication account is communication account B.
[0079] For example, when employee A is on vacation, he or she sets account A, used for communicating with company personnel, to the target account status of vacation, and sets account B and account D as session inheritance accounts. At work, employee A is primarily responsible for the development of mobile phone central processing units (CPUs) and graphics processing units (GPUs).
[0080] For example, if the employee using communication account B is responsible for the CPU development project and can respond to questions related to the CPU development project, and communication account D is responsible for the GPU development project and can respond to questions related to the GPU development project, then keywords such as "CPU" and "Central Processing Unit" can be set for communication account B, and keywords such as "GPU" and "Graphics Processing Unit" can be set for communication account D. When a message sent to communication account A includes keywords such as "CPU" and "Central Processing Unit", the message will be forwarded to communication account B; when a message sent to communication account A includes keywords such as "GPU" and "Graphics Processing Unit", the message will be forwarded to communication account D; if a message sent to communication account A does not include keywords, the message will be forwarded to communication account B and communication account D.
[0081] For example, if Employee A is currently working on a CPU development project and isn't currently working on GPU development, company personnel are more likely to communicate with Employee A about CPU development matters than GPU development. Therefore, communication can focus on CPU development. In this case, keywords such as "CPU" and "Central Processing Unit" can be set only for Communication Account B, while keywords are not set for Communication Account D. In this way, if a message sent to Communication Account A includes keywords such as "CPU" and "Central Processing Unit," the message will be forwarded to Communication Account B. If a message sent to Communication Account A does not include keywords, the message will be forwarded to both Communication Account B and Communication Account D. It's understandable that if Communication Account B and Communication Account D are both responsible for responding to CPU development matters, the same keywords, such as "CPU" and "Central Processing Unit," can be set for both Communication Accounts B and D.
[0082] In an embodiment of the present application, by setting keywords for the session inheritance account, targeted replies to messages can be achieved, that is, a specific session inheritance account replies to the message, making it easier for the sender of the first message to obtain the required reply content, thereby improving communication efficiency and effectiveness.
[0083] Optionally, when the target keywords contained in the first message match at least some of the keywords associated with the third communication account, in addition to determining the third communication account as the forwarding object of the first message, the first message can also be set as a strong reminder message, so that after the third communication account receives the first message set as a strong reminder message, the first message can be highlighted or specially reminded in a corresponding strong reminder method, so that the user of the third communication account can promptly discover the first message and reply to the first message in a timely manner.
[0084] Setting the first message as a strong reminder message can include adding strong reminder information to the first message, such as adding "@+nickname of the third communication account" to provide a special reminder to the user of the third communication account. It is understood that other methods can also be used to set the first message as a strong reminder message, such as adding instruction information in the first message to indicate a strong reminder by window shaking. This instruction information is hidden information and is not displayed. Specific settings can be made based on actual needs.
[0085] Optionally, before step 102: forwarding the first message to the third communication account, the communication method may further include: receiving an account selection message sent by the first communication account.
[0086] The account selection message is generated after the user using the first communication account selects a third communication account from at least two session inheritance accounts. The account selection message is used to indicate that the forwarding destination of the first message is the third communication account.
[0087] In an embodiment of the present application, when a first communication account sends a first message to a second communication account that is in the target account state, and there are at least two session inheritance accounts associated with the second communication account, the login device of the first communication account - the third electronic device can provide all session inheritance accounts for the user to select as needed to meet the user's personalized needs.
[0088] For example, if the inherited account for a session includes communication account B and communication account D, both communication accounts can be displayed for the user to select. After the user selects communication account B, the third electronic device (the login device for communication account C) generates an account selection message and sends it to the first electronic device. After receiving the account selection message, the first electronic device determines, based on the account selection message, that the first message is to be forwarded to communication account B, and then forwards the first message to communication account B.
[0089] Optionally, after step 101, the method further comprises: creating the communication group after receiving the first message sent by the first communication account.
[0090] The group members of the communication group can include the first communication account, the second communication account and the third communication account.
[0091] Correspondingly, step 102 of forwarding the first message to the third communication account can include: publishing the first message into a conversation window of the communication group.
[0092] In the embodiment, after the first electronic device receives the first message and determines that the forwarding object of the first message is the third communication account, the first electronic device can create a communication group including the first communication account, the second communication account and the third communication account. Then the first electronic device publishes the first message into a conversation window of the communication group, thereby forwarding the first message to the third communication account. Meanwhile, the second communication account can also receive the first message through the communication group. In this way, the first communication account, the second communication account and the third communication account can synchronously see all group messages, which facilitates users of the communication accounts to understand the communication content.
[0093] For example, a communication account A of an employee A of a company is in a vacation state in a target account state, a communication account B is a conversation inheritance account, a communication account C sends a first message to the communication account A, and a first electronic device receives the first message, creates a communication group including the communication account A, the communication account B and the communication account C, and publishes the first message into the communication group. As shown in FIG. 2, a conversation window interface 200 of the communication group is shown, in which a first message 201 sent by the communication account C, i.e., “How to solve this problem of CPU?”, and a reply message 202 of the communication account B, i.e., “It can be solved in this way, …”, are displayed. In this way, the communication account B can receive the first message, and the communication account A can also receive the first message. Figure 2
[0094] Optionally, for a third electronic device which is a login device of the communication account C, if a current display interface of the third electronic device includes a conversation window between the communication account C and the communication account A in a target communication application, the third electronic device can call up the conversation window of the communication group and display the first message in the conversation window of the communication group. If a user using the communication account C sends the first message and then closes the conversation window between the communication account C and the communication account A, the third electronic device can display the first message as an unread message. After the user clicks the unread message, the third electronic device displays the conversation window of the communication group.
[0095] Optionally, step 102: forwarding the first message to the third communication account may include: publishing the first message to a conversation window between the first communication account and the third communication account.
[0096] In an embodiment of the present application, when the first message is forwarded to a third communication account, the first message can be sent only to the third communication account, that is, the first message is published in the conversation window between the first communication account and the third communication account. This can reduce the disturbance of the conversation message between the two to the user using the second communication account.
[0097] For example, after employee A of a company resigns, he sets the communication account A used for communicating with company personnel to the resigned status in the target account status, and the communication account B is the session inheritance account. When the communication account C sends a first message to the communication account A, after the first electronic device receives the first message, it determines that the communication account A is in the resigned status, and then only sends the first message to the communication account B. Figure 3 The illustrated conversation window interface 300 between communication account C and communication account B displays a first message 301 from communication account C, which reads, "How do I solve this CPU problem?" It also displays a reply message 302 from communication account B, which reads, "This is how it can be solved..." Since employee A has already left the company and no longer needs to follow company affairs, the first message does not need to be sent to communication account A.
[0098] Of course, if communication account A is in the vacation state of the target account, it still needs to handle company matters after the vacation ends. In this case, the conversation messages between communication account B and communication account C can be generated into a chat record, and then the chat record can be sent to communication account A. The implementation method is as follows:
[0099] In step 102 : after forwarding the first message to the third communication account, the communication method may further include: generating a chat record from the conversation messages between the first communication account and the third communication account; and sending the chat record to the second communication account.
[0100] In an embodiment of the present application, in order to facilitate users using the second communication account to understand the conversation content between the first communication account and the third communication account, the conversation messages between the first communication account and the third communication account can be generated into a chat record and sent to the second communication account, so that users using the second communication account can trace the communication content.
[0101] For example, after employee A of a company goes on leave, the communication account A used for communication with the employees of the company is set as a target account in a leave state, and the communication account B is a session inheritance account. When the communication account C sends a first message to the communication account A, the first message is forwarded to the communication account B, and the communication account C and the communication account B can communicate through the session window interface 300 shown in FIG. 6. The first electronic device can send the chat record between the two to the communication account A. Figure 3 Alternatively, after the first communication account and the third communication account end the session, the session messages therebetween can be generated into a chat record and sent to the second communication account. For example, when there is no new session message between the first communication account and the third communication account for more than or equal to a preset time length, it can be considered that the session between the two ends, and the session messages therebetween are generated into a chat record and sent to the second communication account.
[0102] Alternatively, after the first communication account and the third communication account end the session, the session messages therebetween can be generated into a chat record and sent to the second communication account. For example, when there is no new session message between the first communication account and the third communication account for more than or equal to a preset time length, it can be considered that the session between the two ends, and the session messages therebetween are generated into a chat record and sent to the second communication account.
[0103] As shown in FIG. 6, after the second communication account receives the chat record, a to-be-viewed item 401 can be formed on the home page 400 of the target communication application, and the user can click the to-be-viewed item 401 to display the chat record interface, so that the user can view the chat record information displayed in the chat record interface. Figure 4
[0104] Figure 5 FIG. 7 is a flow diagram of another communication method provided by an embodiment of the present application. The communication method is suitable for an application scenario in which a user using a communication account cannot reply to the messages sent to the communication account due to some reasons such as leave, job transfer, resignation, etc. The steps of the communication method can be executed by a second electronic device, and the second electronic device can be a terminal device.
[0105] The communication method can include the following steps.
[0106] Step 501: receiving a first input.
[0107] In an embodiment of the present application, the above-mentioned first input is used to set the second communication account to the target account state, and the first input can be a first operation. Exemplarily, the above-mentioned first input includes but is not limited to: touch input of the user to the touch screen through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements and is not limited by the embodiment of the present invention. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above-mentioned first input can be: a user's click input on the first control in the setting interface of the target communication application, and the first control is used to set the second communication account to the target account state.
[0108] Step 502: In response to the first input, the second communication account is set to the target account state.
[0109] In the target account state, the first message sent from the first communication account to the second communication account is forwarded to the third communication account.
[0110] In an embodiment of the present application, a target account status setting function can be added to the target communication application, such as adding a target account status setting function in the setting interface of the target communication application, and different target account status options can be provided, such as vacation status, resignation status, etc.
[0111] When a first communication account sends a first message to a second communication account in the target account state, the first message can be forwarded to a third communication account, and the user using the third communication account can reply to the first message, eliminating the need for the user using the second communication account to reply to the message.
[0112] The above solution is illustrated by taking the example of a company employee on vacation and setting the communication account used for communicating with company personnel to vacation status. In this scenario, the first communication account is communication account C, the second communication account is communication account A, and the third communication account is communication account B.
[0113] For example, when employee A of a company is on vacation, they can set communication account A, used to communicate with company personnel, to vacation status. This vacation status is a target account status, and simultaneously associate communication account B with communication account A. Later, when employee C sends a first message to communication account A, which is on vacation, through communication account C, communication account C first sends the first message to a first electronic device. After receiving the first message, the first electronic device determines that the first message is sent to communication account A and that communication account A is on vacation. It then forwards the first message to communication account B, which is associated with communication account A, so that employee B can reply to the first message through communication account B. The first electronic device can be a server or a terminal device with relay functionality.
[0114] In an embodiment of the present application, when a first communication account sends a first message to a second communication account that is in the target account state, the first message can be forwarded to a third communication account that inherits the conversation function of the second communication account, so that the user using the third communication account can reply to the received first message. In this way, the problem of the user using the second communication account being unable to reply to messages can be solved, while the user using the first communication account's need for message replies can be met. Moreover, when the user using the first communication account is unable to reply to messages using the second communication account, the user does not need to search for a new message communication partner or resend the first message. This improves communication efficiency and ensures that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness.
[0115] Optionally, the second communication account may be associated with at least one session inheritance account, which is used to inherit the session function of the second communication account. The at least one session inheritance account may include a third communication account. The session function referred to herein refers to the message reply function. That is, when the second communication account is in the target account state, replies to session messages sent to the second communication account are executed by another communication account that inherits the message reply function of the second communication account.
[0116] In this embodiment of the present application, the second communication account can be associated with at least one session inheritance account, so that these session inheritance accounts inherit its session functions. For example, communication account A can be associated only with communication account B, with communication account B serving as the session inheritance account. Alternatively, communication account A can be associated with multiple communication accounts, such as communication account B and communication account D, with communication account B and communication account D serving as the session inheritance accounts. When multiple session inheritance accounts are associated, the first message can be forwarded to at least one of the session inheritance accounts.
[0117] Optionally, the association relationship between the communication accounts may be stored in a mapping table. Of course, the association relationship between the communication accounts may also be recorded in other ways, which may be determined according to actual needs.
[0118] In this embodiment of the present application, by associating a session inheritance account, the user using the session inheritance account can reply to the first message sent to the second communication account when the user using the second communication account is unable to reply to the message, thereby meeting the message sender's need for a message reply. When associating multiple session inheritance accounts, more forwarding targets can be provided for the first message, increasing the probability of a message reply, thereby improving communication efficiency. This ensures that messages sent to users who are unable to reply can be effectively delivered, allowing the message sender to receive a timely reply, thereby improving communication efficiency and effectiveness.
[0119] Optionally, after step 302: setting the second communication account to the target account state, the communication method may further include: receiving a second input; and setting at least one communication account as a session inheritance account in response to the second input.
[0120] In an embodiment of the present application, the above-mentioned second input is used to set the communication account as a session inheritance account, and the second input can be a second operation. Exemplarily, the above-mentioned second input includes but is not limited to: the user's touch input to the touch screen through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements and is not limited by the embodiment of the present invention. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above-mentioned second input can be: the user's click input on the communication account.
[0121] In embodiments of the present application, the session inheritance account can be user-configured. For example, upon detecting that the user has set the second communication account as the target account, the second electronic device can automatically display the second communication account's contact list, allowing the user to select the communication account from the contact list as the session inheritance account. This configuration approach increases the flexibility of session inheritance account settings, allowing users to flexibly configure them based on their needs.
[0122] For example, the contact list of communication account A used by employee A at a company includes communication account B, communication account C, communication account D, communication account E, communication account F, and communication account G. Employee A is about to go on vacation. Employee A can first set communication account A to vacation status in the target account status, then select communication account B and communication account D in the contact list and set them as session inheritance accounts.
[0123] Optionally, in an embodiment of the present application, the session inheritance account may also be a default setting of the electronic device. For example, when employees' communication accounts are grouped based on projects, other communication accounts in the same project group may be set as session inheritance accounts by default.
[0124] Optionally, after step 302: setting the second communication account to the target account state, the communication method may further include: receiving a third input to a third communication account; and in response to the third input, setting at least one keyword as a keyword associated with the third communication account.
[0125] In an embodiment of the present application, the third input is used to set keywords for the communication account, and the third input can be a third operation. Exemplarily, the third input includes but is not limited to: touch input of the touch screen by the user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements and are not limited in the embodiment of the present invention. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.
[0126] The third communication account is a session inheriting account associated with the second communication account, and the input content of the third input includes at least one keyword. In the target account state, if a conversation message sent to the second communication account contains a target keyword that matches at least some of the keywords associated with the third communication account, the first message can be determined to be forwarded to the third communication account. The "at least some of the keywords" here refers to at least one keyword.
[0127] In this embodiment of the present application, the user using the second communication account can set keywords for the inherited session account based on the message content that the user using the inherited session account can respond to. This allows for targeted replies to messages, making it easier for the sender of the first message to receive the desired reply content, thereby improving communication efficiency and effectiveness.
[0128] For example, after the user selects a session inheritance account, a keyword input box may be displayed, in which the user may enter at least one keyword. Different keywords may be separated by spaces or commas for easier device recognition.
[0129] For a session inheritance account, you can set at least one keyword. If there are multiple session inheritance accounts, you can set keywords for all or some of them. If there are multiple session inheritance accounts with keywords, you can set different keywords for different session inheritance accounts, or you can set the same keyword for different session inheritance accounts. The specific setting can be based on actual needs.
[0130] For a first message sent to a second communication account in the target account state, the first electronic device may first determine whether the first message includes keywords that match keywords associated with the session inheritance account. If so, the first electronic device may extract the keywords contained in the first message, determine which session inheritance account the extracted keywords are associated with, and then forward the first message to the session inheritance account associated with the extracted keywords. The extracted keywords may be at least one.
[0131] Specifically, if the first message contains a target keyword and the target keyword matches at least some of the keywords associated with the third communication account, the third communication account can be determined as the forwarding destination for the first message. If the first message does not contain a keyword that matches a keyword associated with a session inheritance account, the first message can be forwarded to all session inheritance accounts.
[0132] The following example illustrates the above solution, using the example of a company employee on vacation and setting the communication account used to communicate with company personnel to vacation status. In this scenario, the first communication account is communication account C, the second communication account is communication account A, and the third communication account is communication account B.
[0133] For example, when employee A is on vacation, he or she sets account A, used for communicating with company personnel, to the target account status of vacation, and sets account B and account D as session inheritance accounts. At work, employee A is primarily responsible for the development of mobile phone central processing units (CPUs) and graphics processing units (GPUs).
[0134] For example, if the employee using communication account B is responsible for the CPU development project and can respond to questions related to the CPU development project, and communication account D is responsible for the GPU development project and can respond to questions related to the GPU development project, then keywords such as "CPU" and "Central Processing Unit" can be set for communication account B, and keywords such as "GPU" and "Graphics Processing Unit" can be set for communication account D. When a message sent to communication account A includes keywords such as "CPU" and "Central Processing Unit", the message will be forwarded to communication account B; when a message sent to communication account A includes keywords such as "GPU" and "Graphics Processing Unit", the message will be forwarded to communication account D; if a message sent to communication account A does not include keywords, the message will be forwarded to communication account B and communication account D.
[0135] For example, if Employee A is currently working on a CPU development project and isn't currently working on GPU development, company personnel are more likely to communicate with Employee A about CPU development matters than GPU development. Therefore, communication can focus on CPU development. In this case, keywords such as "CPU" and "Central Processing Unit" can be set only for Communication Account B, while keywords are not set for Communication Account D. In this way, if a message sent to Communication Account A includes keywords such as "CPU" and "Central Processing Unit," the message will be forwarded to Communication Account B. If a message sent to Communication Account A does not include keywords, the message will be forwarded to both Communication Account B and Communication Account D. It's understandable that if Communication Account B and Communication Account D are both responsible for responding to CPU development matters, the same keywords, such as "CPU" and "Central Processing Unit," can be set for both Communication Accounts B and D.
[0136] Optionally, after step 202: setting the second communication account to the target account state, the communication method may further include: sending historical chat record information to the session inheritance account through the second communication account.
[0137] The historical chat record information is chat record information between the second communication account and the fourth communication account, and the fourth communication account is any communication account.
[0138] For example, employee A's target communication app includes communication accounts B, C, D, E, and F. Employee A's registered communication account in the target communication app is communication account A, which corresponds to the second communication account. After setting communication account B as the session inheritance account, the second electronic device, used as the login device for communication account A, can send historical chat records between communication account A and communication accounts C, D, E, and F to communication account B. Communication accounts C, D, E, and F correspond to the fourth communication account.
[0139] In an embodiment of the present application, after the second communication account is set to the target account status, the historical chat records between the second communication account and some communication accounts can also be sent to the session inheritance account, so that the user using the session inheritance account can understand the historical communication content between the second communication account and other communication accounts, and thus better reply to the first message.
[0140] Optionally, the historical chat record information can be sent by the second electronic device, the login device of the second communication account, to the login device of the session-inheriting account via a short-range transmission method such as Bluetooth. It is understood that the second electronic device can also send the historical chat record information to the first electronic device, which then sends the historical chat record information to the login device of the session-inheriting account. The first electronic device can be a server or a terminal device with a transfer function.
[0141] Optionally, the first communication account is any communication account, or the first communication account is a communication account that meets the session inheritance condition.
[0142] In this embodiment of the present application, the first communication account can be any communication account. That is, when any communication account sends a first message to a second communication account in the target account state, the first message can be forwarded to the third communication account that serves as the session inheritance account. For example, if Employee A's target communication application includes 10 communication accounts, and these 10 communication accounts do not include Employee A's communication account, then any of these 10 communication accounts, except the communication account set as the session inheritance account, can be the first communication account.
[0143] In an embodiment of the present application, the first communication account may also be a specific communication account, i.e., a communication account that meets the session inheritance conditions. Only when a first message is sent to a second communication account that is in the target account state can the first message be forwarded to the third communication account that serves as the session inheritance account. The session inheritance conditions described herein may be capable of triggering the session inheritance function. The session inheritance conditions may specifically include at least one of the following: a communication account in the same organizational relationship as the second communication account, a communication account in a target relationship with the second communication account, or the inclusion of a target keyword in the first message sent. Examples of examples of examples include a communication account in the same organizational relationship as the second communication account, such as a communication account in the same department; a communication account in a target relationship with the second communication account, such as a colleague, friend, or family member; and the inclusion of a specific keyword in the first message sent, such as a keyword that matches a keyword associated with the session inheritance account. In other words, if the first message includes a keyword that matches a keyword associated with the session inheritance account, the session inheritance function is triggered, and the first message is sent to the corresponding session inheritance account. If the first message does not include a keyword that matches a keyword associated with the session inheritance account, the session inheritance function is not triggered, and the first message is sent to the first communication account.
[0144] Optionally, when the first communication account is a communication account that meets the session inheritance conditions, the first communication account can be set by the user. For example, after the user sets the second communication account as the target account status, he can not only set the session inheritance account, but also set the communication account that can trigger the session inheritance function.
[0145] In the embodiment of the present application, the user can flexibly set the communication account that can trigger the session inheritance function according to actual needs, thereby meeting the user's personalized needs.
[0146] Figure 6 This is a flow chart of another communication method provided in an embodiment of the present application. This communication method is applicable to scenarios where a user using a communication account is unable to reply to messages sent to the communication account by other users due to some reason, such as vacation, job transfer, or resignation. The steps in this communication method can be performed by a third electronic device, which can be a terminal device.
[0147] The communication method may include:
[0148] Step 601: Send a first message to a second communication account via a first communication account.
[0149] The second communication account is in a target account state, and the target account state indicates that the conversation function of the second communication account has been inherited by other communication accounts.
[0150] In an embodiment of the present application, when a user is unable to reply to a message sent to their communication account for some reason, they can set the communication account to target account status. In the target account status, messages sent to their communication account will be forwarded to other communication accounts, and users of the other communication accounts will reply to the messages.
[0151] Step 602: Display the target session window.
[0152] The target conversation window includes the first message, and the target conversation window is used for the first communication account and the third communication account to conduct a conversation.
[0153] In an embodiment of the present application, when a first communication account sends a first message to a second communication account, and the second communication account is in the target account state, the first message will be forwarded to a third communication account that inherits the conversation function of the second communication account, and the user using the third communication account will reply to the first message through the third communication account. Therefore, for the login device of the first communication account, the third electronic device, after sending the first message, a target conversation window for the first communication account and the third communication account to communicate with each other will be displayed, so that the two can communicate through the conversation window. In this way, it can solve the problem that the user using the second communication account is inconvenient to reply to the message, and meet the message reply needs of the user using the first communication account. Moreover, when the user using the first communication account is inconvenient to reply to the message using the user of the second communication account, there is no need to re-search for the message communication object and repeat the first message, thereby improving communication efficiency and ensuring that the message sent to the user who is inconvenient to reply to the message can be effectively delivered, so that the message sender can receive a reply in time, thereby improving communication efficiency and effectiveness.
[0154] The following example illustrates the above solution, using the example of a company employee on vacation and setting the communication account used to communicate with company personnel to vacation status. In this scenario, the first communication account is communication account C, the second communication account is communication account A, and the third communication account is communication account B.
[0155] For example, when employee A of a company is on vacation, they can set communication account A, used for communicating with company personnel, to vacation status, which is a target account status. At the same time, they can also set employee B's communication account B to inherit the conversation function of communication account A. When employee C sends a first message to communication account A, which is on vacation, through communication account C, communication account C first sends the first message to a first electronic device. After receiving the first message, the first electronic device determines that the first message is sent to communication account A and that communication account A is on vacation. It then forwards the first message to communication account B, which is associated with communication account A, so that employee B can reply to the first message through communication account B. Communication account C then displays a conversation window for communicating with communication account B. The first electronic device can be a server or a terminal device with relay functionality.
[0156] Optionally, the target conversation window may be displayed according to the instruction information sent by the first electronic device.
[0157] The first message sent by the third electronic device can first be sent to the first electronic device, and the first electronic device can determine whether the recipient of the first message, that is, the second communication account, is in the target account state. If the second communication account is in the target account state, the forwarding destination of the first message can be determined. If it is determined that the forwarding destination is the third communication account, an instruction information can be sent to the third electronic device, and the instruction information is used to instruct the creation of a session window for the conversation with the third communication account. Based on the instruction information, the third electronic device can create a target session window and display the target session window.
[0158] Before displaying the target conversation window, if the third electronic device also displays a conversation window between the first communication account and the second communication account (hereinafter referred to as the first conversation window), then when displaying the target conversation window, the first conversation window may be switched to the target conversation window, i.e., the target conversation window may replace the first conversation window, the first conversation window and the target conversation window may be displayed stacked, or the first conversation window and the target conversation window may be displayed in a split-screen manner. Specific settings may be made based on actual needs.
[0159] Optionally, the second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account, and the at least one session inheritance account includes a third communication account.
[0160] In this embodiment of the present application, the second communication account can be associated with at least one session inheritance account, so that these session inheritance accounts inherit its session functions. For example, communication account A can be associated only with communication account B, with communication account B serving as the session inheritance account. Alternatively, communication account A can be associated with multiple communication accounts, such as communication account B and communication account D, with communication account B and communication account D serving as the session inheritance accounts. When multiple session inheritance accounts are associated, the first message can be forwarded to at least one of the session inheritance accounts.
[0161] Optionally, the association relationship between the communication accounts may be stored in a mapping table. Of course, the association relationship between the communication accounts may also be recorded in other ways, which may be determined according to actual needs.
[0162] In this embodiment of the present application, by associating a session inheritance account, the user using the session inheritance account can reply to the first message sent to the second communication account when the user using the second communication account is unable to reply to the message, thereby meeting the message sender's need for a message reply. When associating multiple session inheritance accounts, more forwarding targets can be provided for the first message, increasing the probability of a message reply. This ensures that messages sent to users who are unable to reply can be effectively delivered, allowing the message sender to receive a timely reply, thereby improving communication efficiency and effectiveness.
[0163] Optionally, the session inheritance account can be set by default on the electronic device or manually by the user. For example, when grouping employee communication accounts based on projects, the other communication accounts in the same project group can be set as the session inheritance account by default, or the user can select other communication accounts in the same project group and set the selected communication account as the session inheritance account.
[0164] Optionally, the first communication account is any communication account, or the first communication account is a communication account that meets the session inheritance condition.
[0165] In this embodiment of the present application, the first communication account can be any communication account. That is, when a first message is sent to a second communication account in the target account state, the first message can be forwarded to a third communication account that serves as the session inheritance account. For example, if Employee A's target communication application includes 10 communication accounts, and these 10 communication accounts do not include Employee A's communication account, then any of these 10 communication accounts, except the communication account set as the session inheritance account, can be the first communication account.
[0166] In an embodiment of the present application, the first communication account may also be a specific communication account, namely, a communication account that meets the session inheritance conditions. Only when the first message is sent to the second communication account in the target account state can the first message be forwarded to the third communication account, which serves as the session inheritance account. The session inheritance conditions described herein may be capable of triggering the session inheritance function. The session inheritance conditions may specifically include at least one of the following: the communication account being in the same organizational relationship as the second communication account, the communication account being in a target relationship with the second communication account, and the first message sent containing a target keyword. The communication account being in the same organizational relationship as the second communication account may include, for example, a communication account in the same department; the communication account being in a target relationship with the second communication account may include, for example, a colleague, friend, or family member; and the first message sent containing specific keywords, such as keywords that match keywords associated with the session inheritance account. In other words, if the first message includes keywords that match keywords associated with the session inheritance account, the session inheritance function is triggered and the first message is sent to the corresponding session inheritance account. If the first message does not include keywords that match keywords associated with the session inheritance account, the session inheritance function is not triggered and the first message is sent to the first communication account.
[0167] Optionally, when the first communication account is a communication account that meets the session inheritance conditions, the first communication account can be set by the user. For example, after the user sets the second communication account as the target account status, he can not only set the session inheritance account, but also set the communication account that can trigger the session inheritance function.
[0168] In the embodiment of the present application, the user can flexibly set the communication account that can trigger the session inheritance function according to actual needs, thereby meeting the user's personalized needs.
[0169] Optionally, the target conversation window may include a group conversation window of a communication group.
[0170] The group members of the communication group may include: a first communication account, a second communication account and a third communication account.
[0171] In an embodiment of the present application, communication between the first communication account and the third communication account can be achieved through a group method. Therefore, the target conversation window can be a conversation window of the communication group. The group members of the communication group can include the first communication account, the second communication account, and the third communication account. In this way, the first communication account, the second communication account, and the third communication account can simultaneously see all group messages, making it easier for users of each communication account to understand the content of the communication.
[0172] For example, the communication account A of a company employee A is in the vacation state in the target account state, the communication account B is the session inheritance account, and the communication account C sends a first message to the communication account A. After the first electronic device receives the first message, it forms a communication group including the communication accounts A, B and C, and publishes the first message to the communication group. Figure 2 As shown, a conversation window interface 200 of a communication group is shown. In this conversation window interface 200, a first message 201 sent by communication account C, namely, "How do I solve this CPU problem?", is displayed, along with a reply message 202 from communication account B, namely, "This can be solved like this...". This allows not only communication account B to receive the first message, but also communication account A to receive the first message.
[0173] For the login device of communication account C - the third electronic device, if its current display interface includes a conversation window between communication account C and communication account A in the target communication application, the conversation window of the communication group can be called out, and the first message can be displayed in the conversation window of the communication group; if the user using communication account C sends the first message and closes the conversation window between communication account C and communication account A, the first message can be displayed as an unread message, and after the user clicks on the unread message, the conversation window of the communication group is displayed.
[0174] Optionally, the target conversation window may include conversation windows of the first communication account and the third communication account.
[0175] In the embodiment of the present application, the first message can be sent only to the third communication account. Therefore, the target conversation window can be the conversation window between the first communication account and the third communication account. This can reduce the conversation messages between the two and disturb the user using the second communication account.
[0176] For example, after employee A of a company resigns, he sets the communication account A used for communicating with company personnel to the resigned status in the target account status, and the communication account B is the session inheritance account. When the communication account C sends a first message to the communication account A, after the first electronic device receives the first message, it determines that the communication account A is in the resigned status, and then only sends the first message to the communication account B. Figure 3 As shown, a conversation window interface 300 between communication account C and communication account B is displayed. In this conversation window interface 300, a first message 301 sent by communication account C, namely, "How do I solve this CPU problem?", is displayed, along with a reply message 302 from communication account B, namely, "This is how it can be solved..." Since employee A has already left the company and no longer needs to follow company affairs, the first message does not need to be sent to communication account A.
[0177] Optionally, the third communication account is associated with at least one keyword. When the second communication account is in the target account state, the first message contains the target keyword, and the target keyword matches at least some of the keywords associated with the third communication account, the forwarding target of the first message is the third communication account.
[0178] The at least part of the keywords mentioned here refers to at least one keyword.
[0179] In this embodiment of the present application, the user using the second communication account can set keywords for the conversation inheritance account based on the content that other users may communicate. In this way, when the second communication account is in the target account state, the forwarding recipient of the conversation message can be determined based on the keywords contained in the conversation message sent to the second communication account.
[0180] In an embodiment of the present application, by setting keywords for the conversation inheritance account, targeted replies to messages can be achieved, making it easier for the sender of the first message to obtain the required reply content, thereby improving communication efficiency.
[0181] Optionally, at least one keyword can be set for a session inheritance account. If there are multiple session inheritance accounts, keywords can be set for all or some of the session inheritance accounts. If there are multiple session inheritance accounts for which keywords are set, different keywords can be set for different session inheritance accounts, or the same keyword can be set for different session inheritance accounts. The specific setting can be based on actual needs.
[0182] For a first message sent to a second communication account in the target account state, the first electronic device can first determine whether the first message includes a keyword that matches a keyword associated with a session inheritance account. If so, the first electronic device extracts the keyword contained in the first message, then determines which session inheritance account the keyword matching the keyword is associated with, and then forwards the first message to the session inheritance account associated with the keyword matching the keyword. Specifically, if the first message includes a target keyword, and the target keyword matches at least some of all keywords associated with a third communication account, the third communication account can be determined as the forwarding target of the first message. If the first message does not include a keyword associated with a session inheritance account, the first message can be forwarded to all session inheritance accounts.
[0183] Optionally, before step 401: sending the first message to the second communication account, the communication method may further include:
[0184] Step A1: Display at least two session inheritance account identifiers.
[0185] The session inheritance account identifier is used to indicate the session inheritance account.
[0186] In an embodiment of the present application, when the third electronic device detects that the first message is sent through the first communication account, it can display an identifier for indicating the session inheritance account, i.e., the session inheritance account identifier, on the current display interface, such as the conversation window interface between the first communication account and the second communication account.
[0187] Specifically, the third electronic device can send the first message to the first electronic device. After the first electronic device receives the first message, it determines that the second communication account to which the first message is sent is in the target account state, and the second communication account is associated with at least two session inheritance accounts. Then, the first electronic device can send the session inheritance account information to the third electronic device, so that the third electronic device displays at least two session inheritance account identifiers based on the received session inheritance account information.
[0188] Step A2: receiving a user's selection input of a target session inheritance account identifier among at least two session inheritance account identifiers.
[0189] After the session inheritance account identifier is displayed, the user can select the session inheritance account identifier according to his / her needs to select the forwarding target of the first message. The user can select at least one session inheritance account identifier.
[0190] Step A3: In response to the selection input, the third communication account indicated by the target session inheritance account identifier is set as the forwarding destination of the first message, and an account selection message is generated based on the third communication account.
[0191] After receiving the user's selection input for the target session inheritance account identifier, the third electronic device responds to the selection input, determines the third communication account indicated by the target session inheritance account identifier as the forwarding destination of the first message, and then generates an account selection message based on the third communication account. The account selection message is used to indicate that the forwarding destination of the first message is the third communication account.
[0192] Step A4: Sending an account selection message to the target device via the first communication account.
[0193] The target device is the device that forwards the first message.
[0194] After generating the account selection message, the third electronic device may send the message to the target device for forwarding the first message through the first communication account. In the embodiment of the present application, the target device may be the first electronic device.
[0195] In order to better understand the above embodiment, an example is given below to illustrate.
[0196] For example, Xiao Wang uses communication account A, which is in the target account state. Communication account B and communication account D are the session inheritance accounts associated with communication account A. Figure 7 As shown, communication account C sends a first message 701, namely, "Can I have a meeting tomorrow?", to communication account A. In the conversation window interface 700 between communication account C and communication account A, a prompt message 702 is displayed, namely, "Xiao Wang is on vacation. The original business will be temporarily handled by Xiao Zhang and Xiao Li. Do you want to switch the conversation?" and two options "Yes" 703 and "No" 704 are displayed.
[0197] If “No” 704 is selected, the conversation window remains the conversation window between communication account C and communication account A.
[0198] If you select "Yes" 703, then Figure 8 As shown, communication account B logo 705 and communication account D logo 706 are displayed, and a prompt message 707 may be displayed, namely, "Please select the conversation switch object. You can select one or more." Among them, Xiao Zhang uses communication account B and Xiao Li uses communication account D. If the user selects communication account B logo 705, the conversation window interface can be switched to the conversation window between communication account C and communication account B. If the user selects communication account B logo 705 and communication account D logo 706, the conversation window between communication account C and communication account B, as well as the conversation window between communication account C and communication account D, can be displayed. The two conversation windows can be displayed in split screen or stacked.
[0199] In an embodiment of the present application, when the second communication account is associated with multiple session inheritance accounts, a session inheritance account selection function can be provided for the first communication account that sends the first message to the second communication account, and the user can select the required session inheritance account to meet the user's personalized needs.
[0200] Optionally, in an embodiment of the present application, when the first communication account sends a first message to the second communication account in the target account state, the conversation window between the first communication account and the second communication account can be directly switched to the conversation window between the first communication account and the third communication account.
[0201] For example, Xiao Wang uses communication account A, which is in the target account state, and communication account B is the session inheritance account associated with communication account A. Figure 9As shown, communication account C sends a first message 701, namely, "Can I have a meeting tomorrow?", to communication account A. In the conversation window interface 700 between communication account C and communication account A, a prompt message 708 is displayed, namely, "Xiao Wang has resigned and the conversation window will be switched to the new interface person, Xiao Zhang." In the conversation window interface 700, a prompt message 709, namely, "Switching chat partner..." can also be displayed to inform the user of the conversation window status.
[0202] In summary, in the embodiments of the present application, when a user is unable to reply to a message sent to their communication account for some reason, the communication account can be set to a target account status. In the target account status, messages sent to the communication account will be forwarded to other communication accounts, and users using other communication accounts can reply to the messages. In this way, the problem of users being unable to reply to messages can be solved, and the message sender's need for message replies can be met. Moreover, when the message recipient is unable to reply to the message, the message sender does not need to re-search for the message communication recipient or re-send the first message, thereby improving communication efficiency and ensuring that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness.
[0203] The communication method provided in the embodiment of the present application can be executed by a communication device. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication method executed by the communication device as an example.
[0204] Figure 10 This is a schematic block diagram of a communication device provided in an embodiment of the present application, which is applied to a first electronic device.
[0205] like Figure 10 As shown, the communication device 1000 may include:
[0206] The message receiving module 1001 is configured to receive a first message sent by a first communication account.
[0207] The first message is sent to the second communication account.
[0208] The message sending module 1002 is configured to forward the first message to a third communication account when the second communication account is in the target account state.
[0209] Optionally, the second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account, and the at least one session inheritance account includes the third communication account.
[0210] Optionally, the third communication account is associated with at least one keyword.
[0211] The apparatus 1000 may further include:
[0212] The forwarding target determining module is configured to determine the third communication account as a forwarding target of the first message when the first message contains a target keyword and the target keyword matches at least part of the at least one keyword.
[0213] Optionally, the apparatus 1000 may further include:
[0214] The group creation module is used to create communication groups.
[0215] The group members of the communication group include: the first communication account, the second communication account and the third communication account;
[0216] The message sending module 1001 is specifically configured to publish the first message to the conversation window of the communication group.
[0217] Optionally, the message sending module 1001 is specifically configured to publish the first message to a conversation window between the first communication account and the third communication account.
[0218] Optionally, the apparatus 1000 may further include:
[0219] The chat record generating module is used to generate a chat record from the conversation messages between the first communication account and the third communication account.
[0220] The message sending module 1001 may also be used to send the chat history to the second communication account.
[0221] Optionally, the message receiving module 1002 may also be configured to: receive an account selection message sent by the first communication account.
[0222] The account selection message is generated after the user using the first communication account selects the third communication account from at least two session inheritance accounts. The account selection message is used to indicate that the forwarding destination of the first message is the third communication account.
[0223] The communication device provided in the embodiment of the present application for the first electronic device can achieve Figure 1 To avoid repetition, the various processes implemented in the communication method embodiment are not described again here.
[0224] Figure 11 This is a schematic block diagram of a communication device provided in an embodiment of the present application, which is applied to a second electronic device.
[0225] like Figure 11 As shown, the communication device 1100 may include:
[0226] The input receiving module 1101 is configured to receive a first input.
[0227] The setting module 1102 is configured to set the second communication account to a target account state in response to the first input.
[0228] Wherein, in the target account state, the first message sent from the first communication account to the second communication account is forwarded to the third communication account.
[0229] Optionally, the second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
[0230] Optionally, the input receiving module 1101 may also be used to: receive a second input; and the setting module 1102 may be further used to: in response to the second input, set at least one communication account as a session inheritance account.
[0231] Optionally, the input receiving module 1101 may be further configured to receive a third input to a third communication account, wherein the third communication account is a session inheritance account associated with the second communication account, and the input content of the third input includes at least one keyword.
[0232] The setting module 1102 may also be configured to: in response to the third input, set the at least one keyword as a keyword associated with the third communication account.
[0233] Among them, in the target account state, when the conversation message sent to the second communication account contains a target keyword, and the target keyword matches at least part of the at least one keyword, the forwarding object of the first message is the third communication account; the target keyword is at least one of the keywords.
[0234] Optionally, the apparatus 1100 may further include:
[0235] An information sending module is used to send historical chat record information to the session inheritance account through the second communication account.
[0236] The historical chat record information is chat record information between the second communication account and a fourth communication account, and the fourth communication account is any one communication account.
[0237] Optionally, the first communication account is any communication account, or the first communication account is a communication account that meets a session inheritance condition.
[0238] The communication device provided in the embodiment of the present application for the second electronic device can achieve Figure 3 To avoid repetition, the various processes implemented in the communication method embodiment are not described again here.
[0239] Figure 12 This is a schematic block diagram of a communication device provided in an embodiment of the present application, which is applied to a third electronic device.
[0240] like Figure 12 As shown, the communication device 1200 may include:
[0241] The message sending module 1201 is configured to send a first message to a second communication account via the first communication account.
[0242] Wherein, the second communication account is in the target account state.
[0243] The display module 1202 is configured to display the target session window.
[0244] The target conversation window includes the first message, and the target conversation window is used for the first communication account to conduct a conversation with a third communication account.
[0245] Optionally, the second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
[0246] Optionally, the target conversation window includes a group conversation window of a communication group or a conversation window between the first communication account and a third communication account.
[0247] The group members of the communication group include: the first communication account, the second communication account and the third communication account.
[0248] Optionally, the third communication account is associated with at least one keyword. When the second communication account is in the target account state, the first message contains the target keyword, and the target keyword matches at least part of the at least one keyword, the forwarding destination of the first message is the third communication account.
[0249] Optionally, the display module 1202 may further be configured to: display at least two session inheritance account identifiers, wherein the session inheritance account identifier is used to indicate the session inheritance account;
[0250] The apparatus 1200 may further include: an input receiving module and a setting module.
[0251] The input receiving module is configured to receive a user's selection input of a target session inheritance account identifier among the at least two session inheritance account identifiers.
[0252] The setting module is configured to, in response to the selection input, set the third communication account indicated by the target session inheritance account identifier as a forwarding destination of the first message, and generate an account selection message based on the third communication account.
[0253] The message sending module 1201 may also be configured to: send the account selection message to a target device via the first communication account; wherein the target device is a device that forwards the first message.
[0254] The communication device provided in the embodiment of the present application for the third electronic device can achieve Figure 4 To avoid repetition, the various processes implemented in the communication method embodiment are not described again here.
[0255] In summary, in the embodiments of the present application, when a user is unable to reply to a message sent to their communication account for some reason, the communication account can be set to a target account status. In the target account status, messages sent to the communication account will be forwarded to other communication accounts, and users using other communication accounts can reply to the messages. In this way, the problem of users being unable to reply to messages can be solved, and the message sender's need for message replies can be met. Moreover, when the message recipient is unable to reply to the message, the message sender does not need to re-search for the message communication recipient or re-send the first message, thereby improving communication efficiency and ensuring that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness.
[0256] The communication device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0257] The communication device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0258] Alternatively, as Figure 13 As shown, an embodiment of the present application also provides an electronic device 1300, including: a processor 1301 and a memory 1302, the memory 1302 storing a program or instruction that can be run on the processor 1301, and the program or instruction, when executed by the processor 1301, implements the various steps of the above-mentioned communication method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0259] It should be noted that the electronic device 1300 in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0260] Figure 14 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0261] The electronic device 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409 and a processor 1410.
[0262] Those skilled in the art will understand that the electronic device 1400 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0263] When the electronic device is a first electronic device, the input unit 1404 can be used to: receive a first message sent by a first communication account; wherein the sending destination of the first message is a second communication account; the processor 1410 can be used to forward the first message to a third communication account when the second communication account is in the target account state.
[0264] Optionally, when the third communication account is associated with at least one keyword, the processor 1410 may further be configured to: determine the third communication account as a forwarding target for the first message when the first message contains a target keyword and the target keyword matches at least part of the at least one keyword.
[0265] Optionally, the processor 1410 may be further configured to: create a communication group, and publish the first message to a conversation window of the communication group; wherein group members of the communication group include: the first communication account, the second communication account, and the third communication account.
[0266] Optionally, the processor 1410 may be further configured to publish the first message to a conversation window between the first communication account and the third communication account.
[0267] Optionally, the processor 1410 may be further configured to: generate a chat record from the conversation messages between the first communication account and the third communication account, and send the chat record to the second communication account.
[0268] Optionally, the input unit 1404 can also be used to: receive an account selection message sent by the first communication account; wherein, the account selection message is generated after the user using the first communication account selects the third communication account from at least two session inheritance accounts, and the account selection message is used to indicate that the forwarding object of the first message is the third communication account.
[0269] When the electronic device is the second electronic device, the user input unit 1407 may be configured to receive a first input; and the processor 1410 may be configured to, in response to the first input, set the second communication account to a target account state. In the target account state, a first message sent from the first communication account to the second communication account is forwarded to the third communication account.
[0270] Optionally, the user input unit 1407 may be further configured to receive a second input; and the processor 1410 may be further configured to: in response to the second input, set at least one communication account as a session inheritance account.
[0271] Optionally, user input unit 1407 may also be configured to receive a third input to a third communication account; wherein the third communication account is a session inheritance account associated with the second communication account, and the third input includes at least one keyword; and processor 1410 may also be configured to, in response to the third input, set the at least one keyword as a keyword associated with the third communication account. In the target account state, if a conversation message sent to the second communication account includes a target keyword, and the target keyword matches at least some of the at least one keyword, the first message is forwarded to the third communication account.
[0272] Optionally, the processor 1410 can also be used to: send historical chat record information to the session inheritance account through the second communication account; wherein the historical chat record information is the chat record information between the second communication account and a fourth communication account, and the fourth communication account is any communication account.
[0273] When the electronic device is a third electronic device, the processor 1410 can be used to: send the first message to the second communication account through the first communication account; wherein the second communication account is in the target account state; the display unit 1406 can be used to: display a target conversation window; wherein the target conversation window includes the first message, and the target conversation window is used for the first communication account to conduct a conversation with the third communication account.
[0274] Optionally, the display unit 1406 can also be used to: display at least two session inheritance account identifiers; wherein the session inheritance account identifier is used to indicate the session inheritance account; the user input unit 1407 can be used to: receive a user's selection input of a target session inheritance account identifier among the at least two session inheritance account identifiers; the processor 1410 can be used to: in response to the selection input, set a third communication account indicated by the target session inheritance account identifier as the forwarding object of the first message, and generate an account selection message based on the third communication account; and send the account selection message to a target device through the first communication account; wherein the target device is a device that forwards the first message.
[0275] In an embodiment of the present invention, when a user is unable to reply to a message sent to their communication account for some reason, they can set the communication account to a target account status. In the target account status, messages sent to the communication account will be forwarded to other communication accounts, and users using other communication accounts can reply to the messages. In this way, the problem of users being unable to reply to messages can be solved, and the message sender's need for message replies can be met. Moreover, when the message recipient is unable to reply to the message, the message sender does not need to re-search for the message communication recipient or re-send the first message, thereby improving communication efficiency and ensuring that messages sent to users who are unable to reply to messages can be effectively delivered, so that the message sender can receive a reply in a timely manner, thereby improving communication efficiency and effectiveness.
[0276] It should be understood that in an embodiment of the present application, the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and at least one of other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0277] The memory 1409 can be used to store software programs and various data. The memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1409 may include a volatile memory or a non-volatile memory, or the memory 1409 may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0278] Processor 1410 may include one or more processing units. Optionally, processor 1410 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1410.
[0279] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned communication method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0280] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0281] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions to realize the processes of the above communication method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0282] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize the processes of the above communication method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0283] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system or a system on chip, etc.
[0284] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in the opposite order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to certain examples can be combined in other examples.
[0285] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server or network device, etc.) to execute the methods described in each embodiment of the present application.
[0286] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A communication method, characterized in that: The method comprises: Receiving a first message sent by a first communication account; wherein the first message is sent to a second communication account; When the first message contains a target keyword and the target keyword matches at least part of the at least one keyword, determining the third communication account as a forwarding destination of the first message; When the second communication account is in the target account state, the first message is forwarded to the third communication account; and the third communication account is associated with the at least one keyword.
2. The communication method according to claim 1, wherein: The second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
3. The communication method according to claim 1, wherein: After receiving the first message sent by the first communication account, the method further includes: Creating a communication group; wherein the group members of the communication group include: the first communication account, the second communication account and the third communication account; The forwarding the first message to the third communication account includes: The first message is published to the conversation window of the communication group.
4. The communication method according to claim 1, wherein: The forwarding the first message to the third communication account includes: The first message is published to a conversation window between the first communication account and the third communication account.
5. The communication method according to claim 3, wherein: After forwarding the first message to the third communication account, the method further includes: generating a chat record of the conversation messages between the first communication account and the third communication account; Send the chat history to the second communication account.
6. The communication method according to claim 1, wherein: Before forwarding the first message to the third communication account, the method further includes: receiving an account selection message sent by the first communication account; The account selection message is generated after the user using the first communication account selects the third communication account from at least two session inheritance accounts. The account selection message is used to indicate that the first message is to be forwarded to the third communication account.
7. A communication method, characterized in that: The method comprises: receiving a first input; In response to the first input, setting the second communication account to a target account state; In which case, when the target account is in status and the conversation message sent to the second communication account contains a target keyword, and the target keyword matches at least part of the at least one keyword, the first message sent from the first communication account to the second communication account is forwarded to the third communication account, and the third communication account is associated with the at least one keyword.
8. The communication method according to claim 7, wherein: The second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
9. The communication method according to claim 7, wherein: After setting the second communication account to the target account status, the method further includes: receiving a second input; In response to the second input, at least one communication account is set as a session inheritance account.
10. The communication method according to claim 7, wherein: After setting the second communication account to the target account status, the method further includes: receiving a third input to a third communication account; wherein the third communication account is a session inheritance account associated with the second communication account, and the input content of the third input includes at least one keyword; In response to the third input, the at least one keyword is set as a keyword associated with the third communication account.
11. The communication method according to claim 8, wherein: After setting the second communication account to the target account status, the method further includes: Sending historical chat record information to the session inheritance account via the second communication account; The historical chat record information is chat record information between the second communication account and a fourth communication account, and the fourth communication account is any one communication account.
12. The communication method according to claim 7, wherein: The first communication account is any communication account, or the first communication account is a communication account that meets the session inheritance condition.
13. A communication method, characterized in that: The method comprises: Sending a first message to a second communication account via the first communication account; wherein the second communication account is in a target account state; Displaying a target conversation window; wherein the target conversation window includes the first message, and the target conversation window is used for the first communication account to conduct a conversation with a third communication account; The third communication account is associated with at least one keyword; When the second communication account is in the target account state, the first message contains a target keyword, and the target keyword matches at least part of the at least one keyword, the first message is forwarded to the third communication account.
14. The communication method according to claim 13, wherein: The second communication account is associated with at least one session inheritance account, and the session inheritance account is used to inherit the session function of the second communication account. The at least one session inheritance account includes the third communication account.
15. The communication method according to claim 13, wherein: The target conversation window includes a group conversation window of a communication group or a conversation window between the first communication account and a third communication account; The group members of the communication group include: the first communication account, the second communication account and the third communication account.
16. The communication method according to claim 13, wherein: Before sending the first message to the second communication account, the method further includes: Displaying at least two session inheritance account identifiers; wherein the session inheritance account identifier is used to indicate the session inheritance account; receiving a user's selection input of a target session inheritance account identifier among the at least two session inheritance account identifiers; In response to the selection input, setting the third communication account indicated by the target session inheritance account identifier as a forwarding destination of the first message, and generating an account selection message based on the third communication account; The account selection message is sent to a target device via the first communication account; wherein the target device is a device that forwards the first message.
17. A communication device, characterized in that: The device comprises: a message receiving module, configured to receive a first message sent by a first communication account; wherein the first message is sent to a second communication account; a message sending module, configured to forward the first message to a third communication account when the second communication account is in a target account state; The third communication account is associated with at least one keyword; Before forwarding the first message to the third communication account, the device is configured to determine the third communication account as a forwarding destination for the first message if the first message contains a target keyword and the target keyword matches at least part of the at least one keyword.
18. A communication device, characterized in that: The device comprises: An input receiving module, configured to receive a first input; a setting module, configured to set the second communication account to a target account state in response to the first input; In which case, when the target account is in status and the conversation message sent to the second communication account contains a target keyword, and the target keyword matches at least part of the at least one keyword, the first message sent from the first communication account to the second communication account is forwarded to the third communication account, and the third communication account is associated with the at least one keyword.
19. A communication device, characterized in that: The device comprises: a message sending module, configured to send a first message to a second communication account via a first communication account; wherein the second communication account is in a target account state; a display module configured to display a target conversation window; wherein the target conversation window includes the first message, and the target conversation window is used for a conversation between the first communication account and the third communication account; The third communication account is associated with at least one keyword; When the second communication account is in the target account state, the first message contains a target keyword, and the target keyword matches at least part of the at least one keyword, the first message is forwarded to the third communication account.
20. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the communication method according to any one of claims 1 to 6 are implemented.
21. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the communication method according to any one of claims 7 to 12 are implemented.
22. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the communication method according to any one of claims 13 to 16 are implemented.
Citation Information
Patent Citations
Group establishment method and device, electronic equipment and storage medium
CN112202582A