CN113079084B - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN113079084B
CN113079084B CN202110322623.0A CN202110322623A CN113079084B CN 113079084 B CN113079084 B CN 113079084B CN 202110322623 A CN202110322623 A CN 202110322623A CN 113079084 B CN113079084 B CN 113079084B
Authority
CN
China
Prior art keywords
user
message
equipment
interface
group session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110322623.0A
Other languages
Chinese (zh)
Other versions
CN113079084A (en
Inventor
颜铁芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Software Technology Co Ltd
Original Assignee
Vivo Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Software Technology Co Ltd filed Critical Vivo Software Technology Co Ltd
Priority to CN202110322623.0A priority Critical patent/CN113079084B/en
Publication of CN113079084A publication Critical patent/CN113079084A/en
Application granted granted Critical
Publication of CN113079084B publication Critical patent/CN113079084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Landscapes

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

Abstract

The application discloses a message transmission method and device, and belongs to the technical field of communication. The method applied to the first device comprises the following steps: displaying a user identifier of a user in association with a user of a second device under the condition that the second device is detected to be in a preset mode, wherein the second device is a device for receiving a target message; and sending the target message to third equipment, wherein the third equipment is equipment of a user which has an association relationship with the user of the second equipment. Therefore, the embodiment of the application can timely send the working message to the working handover party and display the user identification of the working handover party to the sender of the working message, so that the sender of the working message and the handover party can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.

Description

Message transmission method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message transmission method and device.
Background
With the rapid development of communication technology, intelligent electronic devices have become an indispensable tool in various aspects of life and work of people. For example, the user can communicate with the colleague through chat software during the work process.
However, in implementing the present application, the inventors have found that, in some scenarios, there are problems in communicating between users via chat software. For example, the user a needs to communicate with the user B, but the user B has vacated, and the user a does not know who the work delivery person of the user B is, in this scenario, the user a needs to spend time to find the work delivery person of the user B, so that the transmission efficiency of the work message is low, and the corresponding work is delayed.
Therefore, in the prior art, under the condition that a certain user vacates, the transmission efficiency of the working message is lower, and the working processing efficiency is lower.
Content of the application
The embodiment of the application aims to provide a message transmission method and device, which can solve the problem that in the prior art, the transmission efficiency of a working message is low under the condition that a certain user is on holiday, so that the working processing efficiency is low.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a message transmission method, applied to a first device, where the method includes:
displaying a user identifier of a user in association with a user of a second device under the condition that the second device is detected to be in a preset mode, wherein the second device is a device for receiving a target message;
And sending the target message to third equipment, wherein the third equipment is equipment of a user which has an association relationship with the user of the second equipment.
In a second aspect, an embodiment of the present application provides a message transmission method, applied to a second device, where the method includes:
receiving a target message sent by first equipment;
sending first indication information to the first device under the condition that the second device is detected to be in a preset mode, so that the first device displays a user identifier of a user in association with the user of the second device, wherein the first indication information is used for indicating the user in association with the user of the second device;
and forwarding the target message to third equipment, wherein the third equipment is equipment of a user which has an association relationship with the user of the second equipment.
In a third aspect, an embodiment of the present application provides a message transmission apparatus, applied to a first device, where the apparatus includes:
the user identification display module is used for displaying the user identification of the user in association with the user of the second equipment under the condition that the second equipment is detected to be in a preset mode, wherein the second equipment is equipment for receiving the target message;
And the first sending module is used for sending the target message to third equipment, wherein the third equipment is equipment of a user with an association relationship with the user of the second equipment.
In a fourth aspect, an embodiment of the present application provides a message transmission apparatus, applied to a second device, where the apparatus includes:
the first receiving module is used for receiving a target message sent by the first equipment;
the second sending module is used for sending first indication information to the first equipment under the condition that the second equipment is detected to be in a preset mode, so that the first equipment displays user identification of a user with an association relationship with the user of the second equipment, wherein the first indication information is used for indicating the user with the association relationship with the user of the second equipment;
and the third sending module is used for forwarding the target message to third equipment, wherein the third equipment is equipment of a user with an association relationship with the user of the second equipment.
In a fifth aspect, an embodiment of the present application provides a message transmission system, including the message transmission device described in the third aspect and the message transmission device described in the fourth aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction implements the steps of the method according to the first or second aspect when executed by the processor.
In a seventh aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first or second aspect.
In an eighth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement a method according to the first aspect or the second aspect.
In the embodiment of the application, when the second device is detected to be in the preset mode, the first device can display the user identifier of the user having the association relationship with the user of the second device, and send the target message to the third device, where the second device is the device to receive the target message, and the third device is the device of the user having the association relationship with the user of the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
Drawings
Fig. 1 is one of flowcharts of a message transmission method provided in an embodiment of the present application;
FIG. 2 is a second flowchart of a message transmission method according to an embodiment of the present disclosure;
fig. 3 is a display interface diagram of a second device in a first implementation of a message transmission method according to an embodiment of the present application;
Fig. 4 is a display interface diagram of a third device in the first implementation manner of the message transmission method in the embodiment of the present application;
FIG. 5 is a display interface of a second device in a second implementation of the message transmission method of the embodiments of the present application;
fig. 6 is a display interface diagram of a second device in a second implementation manner or a fourth implementation manner of a message transmission method according to an embodiment of the present application;
fig. 7 is a display interface diagram of the second device in the third or fourth implementation of the message transmission method in the embodiment of the present application;
fig. 8 is a display interface diagram of a second device in a third implementation of a message transmission method according to an embodiment of the present application;
fig. 9 is a display interface diagram of a first device in a fifth implementation of a message transmission method according to an embodiment of the present application;
fig. 10 is a display interface diagram of a first device in a fifth implementation of a message transmission method according to an embodiment of the present application;
fig. 11 is a display interface diagram of a first device in a sixth implementation of a message transmission method according to an embodiment of the present application;
fig. 12 is a display interface diagram of a first device in a sixth implementation of a message transmission method according to an embodiment of the present application;
Fig. 13 is a display interface diagram of a first device in a seventh implementation of a message transmission method according to an embodiment of the present application;
fig. 14 is a display interface diagram of a first device in a seventh implementation of a message transmission method according to an embodiment of the present application;
fig. 15 is one of the block diagrams of the message transmission apparatus of the embodiment of the present application;
FIG. 16 is a second block diagram of a message transmission device according to an embodiment of the present application;
FIG. 17 shows one of the block diagrams of the electronic device provided by the embodiments of the present application;
fig. 18 shows a second block diagram of an electronic device provided by an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Referring to fig. 1, an embodiment of the present invention provides a message transmission method applied to a first device, the method may include the steps of:
step 101: and displaying the user identification of the user in association with the user of the second equipment under the condition that the second equipment is detected to be in the preset mode.
In the embodiment of the present application, a user of the second device may preset a target time interval in which the second device is in a preset mode, and if the current time is within the target time interval, the user indicates that the second device is in the preset mode. And, the user of the second device may also set a user having an association relationship with the user of the second device. The user with the association relation with the user of the second device is the user who replaces the user of the second device to process the target message sent by the first device.
Alternatively, the user identifier may be a user name, for example, a message is transmitted between the first device, the second device and the third device in the social application, and then the user identifier may be a nickname of the user in the social application.
Step 102: and sending the target message to third equipment.
The third device is a device of a user having an association relationship with the user of the second device.
As can be seen from the above steps 101 to 102, the second device is in the preset mode, which means that the message that needs to be sent to the second device is sent to the device of the user that has an association relationship with the user of the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
Optionally, before displaying the user identifier of the user having the association relationship with the user of the second device when the second device is detected to be in the preset mode, the method further includes:
transmitting the target message to the second device;
the sending the target message to a third device includes:
forwarding, by the second device, the target message to the third device.
The first device sends the target message to the second device, and triggers the second device to check whether the second device is in a preset mode or not, so that the target message is forwarded to the third device when the second device is detected to be in the preset mode.
It can be seen that in embodiments of the present application, the first device may send the target message to the second device, such that the target message is automatically forwarded by the second device to the third device. Thus, in embodiments of the present application, when a user is on holiday, the sender device (i.e., the first device) of the target message may send the working message to the device (i.e., the second device) of the holiday user, so that the device of the holiday user automatically forwards the target message to the handover device (i.e., the third device). Therefore, the embodiment of the application can timely send the working message to the working handover party, so that the transmission efficiency of the working message can be improved, and the processing efficiency of the work can be improved.
Optionally, when the second device sends the target message to the third device, the second device may also carry the user identifier of the initial sender of the target message, that is, the user identifier of the user of the first device, so that the user of the third device can learn that the target message is from the first device.
It should be noted that, when the first device displays the first interface, the user may input the target message in the first interface, so as to directly send the target message to the second device, where the first interface is a session interface between the user of the first device and the user of the second device; alternatively, the user may input the target message in the interface of the second group session when the first device displays the interface of the second group session, thereby transmitting the target message to the devices of the users in the second group session, wherein the second group session is a group session comprising the user of the first device and the user of the second device. In addition, a group session is a session including at least three users.
That is, the user of the first device may send the target message to the second device through a private chat session with the user of the second device, or may send the target message to the second device through a group session where the user of the first device and the user of the second device are co-located.
Optionally, after the sending the target message to the second device, the method further includes:
receiving first indication information sent by the second equipment when the second equipment detects that the second equipment is in the preset mode, wherein the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
before the displaying the user identification of the user having the association relationship with the user of the second device, the method further includes:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
Therefore, in the embodiment of the application, the first device sends the target message to the second device, and triggers the second device to detect whether the second device is in the preset mode, so that when the second device is detected to be in the preset mode, the first device is replied with the first indication information, and the first device can determine the user with the association relationship with the user of the second device.
It should be noted that, when the first device sends the target message to the second device to trigger the second device to detect whether the second device is in the preset mode, if the first device receives the first indication information replied by the second device, it indicates that the second device is in the preset mode; if the first device does not receive the first indication information replied by the second device, the second device is not in the preset mode.
Optionally, the receiving the first indication information sent when the second device detects that the second device is in the preset mode includes:
receiving the first indication information sent by the second device in a first group session under the condition that the user of the first device, the user of the second device and the user of the third device are added to the first group session;
wherein the first group session is created after the second device receives the target message.
Therefore, in the embodiment of the present application, after the second device receives the target message sent by the first device, a new group session (i.e., the first group session) may be automatically created, and then the user of the first device, the user of the second device, and the user of the third device are added to the first group session, so that the second device replies the first indication information in the first group session, so that the user of the first device and the user of the third device may both receive the first indication information, that is, the three users may both timely view the message sent by any party, thereby further improving the transmission efficiency of the working message, and further improving the efficiency of the working process.
Alternatively, the second device may create a first group session after receiving the target message, add the user of the first device, the user of the second device, and the user of the third device to the first group session, and send notification messages added to the first group session to the first device, the second device, and the third device, respectively; or after the second device receives the target message, the second device sends second indication information to the server, so that the server creates a first group session according to the second indication information, adds the user of the first device, the user of the second device and the user of the third device to the first group session, and sends notification messages added to the first group session to the first device, the second device and the third device respectively.
Here, it should be noted that, the process of receiving, by the first device, the first indication information sent by the second device is not limited to this, for example, the first group session including the first device, the second device, and the third device may not be created, but the first indication information sent by the second device may be received through a private chat session between the user of the first device and the user of the second device; or receiving the first indication information sent by the second device through the group session where the user of the first device and the user of the second device are located together.
Optionally, a user having an association relationship with the user of the second device is recorded in the server;
before the user identification of the user having the association relationship with the user of the second device is displayed under the condition that the second device is detected to be in the preset mode, the method further comprises:
receiving first indication information sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a session interface between a user of the first equipment and a user of the second equipment, and the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
before the displaying the user identification of the user having the association relationship with the user of the second device, the method further includes:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
Therefore, after the user with the association relation with the user of the second device is set on the second device, the second device can report the user with the association relation with the user of the second device to the server, so that the user is recorded on the server side, and the first indication information is issued to the first device by the server under the condition that the first interface is displayed by the first device.
The first device displays the first interface, and the first device recognizes that the user of the first device has an intention to send a message to the second device, so that the server can notify the user with the association relationship with the user of the second device when the first device displays the first interface.
Optionally, a target time interval of the second device in the preset mode is recorded in a server;
before the user identification of the user having the association relationship with the user of the second device is displayed under the condition that the second device is detected to be in the preset mode, the method further comprises:
receiving the target time interval sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a user session interface of a user of the first equipment and the second equipment;
the detecting that the second device is in the preset mode includes:
and determining that the second device is in the preset mode under the condition that the current time is within the target time interval.
Therefore, after the second device sets the target time interval in the preset mode with the second device, the second device can report the target time interval to the server, so that the target time interval is recorded on one side of the server, and the server issues the target time interval to the first device under the condition that the first device displays the first interface. The target time interval and the first indication information may be sent to the first device together.
In addition, the first device displays the first interface, which indicates that the user of the first device has an intention to send a message to the second device, so that the server can notify the target time interval in the preset mode with the second device when the first device displays the first interface, so that the first device can determine whether the second device is in the preset mode.
Optionally, before the target message is sent to the third device, the method further includes:
displaying a first preset control;
receiving a first operation of the first preset control;
responding to the first operation, and displaying a second interface, wherein the second interface is a session interface of a user of the third device and a user of the first device;
the sending the target message to a third device includes:
receiving first content input in the second interface;
and sending the first content to the third device as the target message.
The first operation may be a clicking operation on a first preset control. The user identifier of the user having an association relationship with the user of the second device may be used as the first preset control, or the first preset control may be an icon control having a preset shape (such as a circle or a square) or displaying a preset pattern. The first preset control can also display prompt information for prompting the user to jump to the second interface.
In this way, in the embodiment of the present application, the first preset control may be displayed on the first device, so that when the first operation on the first preset control is detected, a session interface (i.e., the second interface) between the user of the first device and the user of the third device is displayed, so that the user may input the target message in the second interface to send the target message to the third device. Therefore, in the embodiment of the application, the first preset control for jumping to the second interface can be provided, so that the first preset control can be operated to jump to the second interface directly, the user does not need to manually operate to call out the second interface, and the operation of the user is simplified.
In addition, from the above-mentioned process of calling out the second interface by operating the first preset control, so that the user can input the target message in the second interface to send the target message to the third device, it can be known that the first device can directly send the target message to the third device, but not to the second device, so that the disturbance of the message to the user of the second device, that is, the disturbance of the message to the holiday user, can be reduced.
Optionally, before displaying the user identifier of the user having the association relationship with the user of the second device when the second device is detected to be in the preset mode, the method further includes:
Receiving second content input in an interface of a second group session, wherein the second group session is a group session comprising a user of the first device and a user of the second device;
determining a device of a user to which the user identifier belongs as the second device when the user identifier is included in the second content and the user to which the user identifier belongs is in the second group session;
the sending the target message to a third device includes:
adding the user with the association relationship with the user of the second equipment to the second group session under the condition that the second group session does not comprise the user with the association relationship with the user of the second equipment;
and sending the target message to equipment of the user in the second group session.
It can be known that, in the embodiment of the present application, the user may input the second content in the second group session including the user of the first device and the user of the second device, so that the user identifier is included in the second content, and the user identifier belongs to a member in the second group session, and when the device of the user to which the user identifier belongs is in a preset mode and the user having an association relationship with the user identifier is not a member in the second group session, the user having an association relationship with the user to which the user identifier belongs may be added to the second group session, and then the user of the first device may send the target message in the second group session, so that devices of all users in the second group session may receive the target message.
That is, in embodiments of the present application, the first device may send the target message to the third device through the second group session.
It should be noted that, the user having an association relationship with the user of the second device may be added to the second group session through the first device, or the user having an association relationship with the user of the second device may be added to the second group session through the first device indication server.
Optionally, in the case that the second group session does not include a user having an association relationship with the user of the second device, the method further includes:
displaying a third preset control;
the adding the user with the association relation with the user of the second device to the second group session comprises:
receiving a fourth operation of the third preset control;
and in response to the fourth operation, adding the user with the association relation with the user of the second device into the second group session.
That is, in the embodiment of the present application, a third preset control for adding the user having an association relationship with the user of the second device to the second group session may be provided, so that the user may decide, according to his actual requirement, whether the user having an association relationship with the user of the second device needs to be added to the second group session.
Optionally, after the adding, to the second group session, the user having an association relationship with the user of the second device, the method further includes:
and modifying the user identification included in the second content into the user identification of the user with the association relation with the user of the second device.
Therefore, when the user identifier included in the second content belongs to a member in the second group session, and the device of the user to which the user identifier belongs is in a preset mode, and the user having an association relationship with the user identifier belongs to a member in the second group session, the user having an association relationship with the user identifier can be added to the second group session, and then the user identifier is automatically modified to the user identifier having an association relationship with the user identifier, so that the user is reminded that the second device is in the preset mode, a message required to be sent to the user of the second device can be sent to the user having an association relationship with the user of the second device, and further, the user can conveniently edit the content to be sent continuously based on the second content, and the trouble of manually modifying the user identifier by the user is eliminated.
Optionally, after the target message is sent to the third device, the method further includes:
displaying a second preset control;
receiving a second operation of the second preset control;
and responding to the second operation, displaying a second interface and displaying the target message in the second interface, wherein the second interface is a session interface of the user of the third device and the user of the first device.
It can be seen that, in the embodiment of the present application, after the first device sends the target message to the third device, the second preset control may be displayed on the first device, so that when the second operation on the second preset control is detected, the second interface is skipped, and the target message is displayed in the second interface. That is, in the embodiment of the present application, after the first device sends the target message to the third device, the second preset control may be provided, so that the user of the first device and the user of the third device may communicate with each other by jumping to the second interface through operating the second preset control, and the complexity of manually calling out the second interface by the user is omitted.
Optionally, the sending the target message to a third device includes:
Transmitting the target message to a device of a user in a third group session, in the case that the user of the first device, the user of the second device, and the user of the third device are all added to the third group session;
wherein the third group session is created after detecting that the second device is in the preset mode.
In addition, the third group session may be created by the first device or may be created by the first device indication server. When the first device determines that the second device is in the preset mode, the first device can create a third group session, and the user of the first device, the user of the second device and the user of the third device are added into the third group session; or when the first device determines that the second device is in the preset mode, the first device may instruct the server to create a third group session, and the server adds the user of the first device, the user of the second device, and the user of the third device to the third group session.
From the above, the first device may send the target message to the third device in the newly created third group session, so that the user of the second device may know whether the target message is sent to the third device.
Referring to fig. 2, an embodiment of the present invention provides a message transmission method applied to a second device, the method may include the steps of:
step 201: and receiving the target message sent by the first equipment.
Step 202: and under the condition that the second equipment is detected to be in a preset mode, sending first indication information to the first equipment, so that the first equipment displays the user identification of the user with the association relation with the user of the second equipment.
The first indication information is used for indicating a preset user with an association relationship with the user of the second device.
Step 203: and forwarding the target message to a third device.
Optionally, when the second device sends the target message to the third device, the second device may also carry the user identifier of the initial sender of the target message, that is, the user identifier of the user of the first device, so that the user of the third device can learn that the target message is from the first device.
The third device is a device of a user having an association relationship with the user of the second device.
As can be seen from the above steps 201 to 203, the second device is in the preset mode, which means that the message that needs to be sent to the second device is sent to the device of the user that has an association relationship with the user of the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
Optionally, the sending the first indication information to the first device includes:
transmitting the first indication information to the device of the user in the first group session in the case that the user of the first device, the user of the second device and the user of the third device are all added to the first group session;
Wherein the first group session is created after the second device receives the target message.
Therefore, in the embodiment of the present application, after the second device receives the target message sent by the first device, a new group session (i.e., the first group session) may be automatically created, and then the user of the first device, the user of the second device, and the user of the third device are added to the first group session, so that the second device replies the first indication information in the first group session, so that the user of the first device and the user of the third device may both receive the first indication information, that is, the three-party user may both timely view the message sent by any party, thereby further improving the transmission efficiency of the working message, and further improving the working processing message.
Alternatively, the second device may create a first group session after receiving the target message, add the user of the first device, the user of the second device, and the user of the third device to the first group session, and send notification messages added to the first group session to the first device, the second device, and the third device, respectively; or after the second device receives the target message, the second device sends second indication information to the server, so that the server creates a first group session according to the second indication, adds the user of the first device, the user of the second device and the user of the third device to the first group session, and sends notification messages added to the first group session to the first device, the second device and the third device respectively.
Optionally, the forwarding the target message to the third device includes:
in the event that the user of the first device, the user of the second device, and the user of the third device are all added to a first group session, sending the targeted message to the devices of the users in the first group session;
wherein the first group session is created after the second device receives the target message.
It can be seen that, in the embodiment of the present application, after the second device receives the target message sent by the first device, a new group session (i.e., the first group session) may be automatically created, and then the user of the first device, the user of the second device, and the user of the third device are added to the first group session, so that the second device sends the target message in the first group session, so that the user of the first device and the user of the third device can both know the transmission progress of the target message.
Optionally, a target time interval of the second device in the preset mode is recorded in the second device; the method further comprises, before sending first indication information to the first device when the second device is detected to be in the preset mode:
And determining that the second device is in the preset mode under the condition that the current time is within the target time interval.
Therefore, in the embodiment of the present application, the user of the second device may preset the target time interval in which the second device is in the preset mode, and if the current time is within the target time interval, the second device is indicated to be in the preset mode. I.e. when the expiration of the target time interval has arrived, the second device exits the preset mode. After the second device exits the preset mode, the message sent by the first device to the second device is not needed to be sent to the third device.
Optionally, the receiving the target message sent by the first device includes:
receiving the target message sent by the first device in a second group session, wherein the second group session is a group session comprising a user of the first device and a user of the second device;
the method further comprises the steps of:
adding the user with the association relationship with the user of the second equipment to the second group session under the condition that the second group session does not comprise the user with the association relationship with the user of the second equipment;
The sending first indication information to the first device includes:
and sending the first indication information to the equipment of the user in the second group session.
It is known that the user may input the target message in the interface of the second group session when the first device displays the interface of the second group session, thereby transmitting the target message to the device of the user in the second group session. Under the condition that the user with the association relationship with the user of the second equipment does not belong to the member in the second group session, the user with the association relationship with the user of the second equipment can be added into the second group session, so that the equipment of the user with the association relationship with the user of the second equipment can also receive the target message.
And, the second device may reply to the first indication information directly in the second group session, so that both the first device and the second device may receive the first indication information.
After the first device sends the target message to the second device in the second group session, if the second group session does not include the user having an association relationship with the user of the second device, the user having an association relationship with the user of the second device may be added to the second group session, so that the device (i.e., the third device) of the user having an association relationship with the user of the second device may receive the target message, without the first device or the second device having to send the target message to the third device again.
Optionally, before the first indication information is sent to the first device when the second device is detected to be in the preset mode, the method further includes:
receiving a third operation;
and responding to the third operation, setting a target time interval of the second equipment in the preset mode and a user with an association relationship with the user of the second equipment, and recording.
Therefore, in the embodiment of the application, the user can set the target time zone interval of the second device in the preset mode and the user with the association relationship with the user of the second device by himself, so that the actual use requirements of different users can be met.
Optionally, the method further comprises:
and sending the target time interval and the user with the association relation with the user of the second equipment to a server.
The server records a target time interval of the second device in a preset mode and a user having an association relationship with a user of the second device, so that when the first device displays a first interface (i.e., a session interface between the user of the first device and the user of the second device), the target time interval of the preset mode and the user having an association relationship with the user of the second device can be sent to the first device, and further, the first device can determine whether the second device is in the preset mode according to the target time interval, and when the second device is determined to be in the preset mode, the user identifier of the user having the association relationship with the user of the second device is displayed, and the target message to be sent to the second device is sent to the third device (i.e., the device of the user having the association relationship with the user of the second device).
In summary, specific embodiments of the message transmission method according to the embodiments of the present application may be described in the following first embodiment and seventh embodiment.
The first device is a device of the user a, the second device is a device of the user B, and the third device is a device of the user C, as described below. The first interface is a session interface between the user a and the user B, and the second interface is a session interface between the user a and the user C.
In addition, the user B presets the second equipment in a preset mode in a target time interval, the user with the association relationship with the user B is the user C, and the target time interval of the second equipment in the preset mode and the user C with the association relationship with the user B are synchronized to the server for storage.
First embodiment
After the first device sends the target message of 'please evaluate under XX demand' to the second device, the second device determines that the current time is within the target time interval, and then determines that the current time is in the preset mode, so that the first device is automatically replied with the indication information of 'i vacated today, work is handed over to C, and your message is forwarded to C'. As shown in fig. 3, after the second device returns the above indication information to the first device, a session interface (i.e., a first interface) between the user B and the user a displayed on the second device is schematically shown.
After the second device replies the indication information, the second device may automatically forward the target message to the third device and carry the identifier of the user a, so that the third device may display the target message together when displaying the target message, and forward the target message from the user a. As shown in fig. 4, a session interface of the user C and the user B, which are displayed after the third device receives the target message, is shown.
Second embodiment
After the first device sends the target message of "please evaluate under XX demand" to the second device, the second device determines that the current time is within the target time interval, and determines that the current time is in the preset mode, so as to reply to the first device that "i vacate today, work is handed over to C, and your message is forwarded to C". As shown in fig. 5, after the second device receives the target message, a session interface (i.e., a first interface) between the user B and the user a displayed on the second device is schematically shown.
When the second device receives the target message, it also determines whether the current time is within the target time interval, if yes, it determines that the current time is in a preset mode, so as to instruct the server to create a first group session, and the server adds the user a, the user B and the user C into the first group session.
Additionally, the second device may automatically reply to "i am on vacation today, work has been handed over to C" in the first group session, and automatically send in the first group session: the target message, the initial source of the target message and the prompt information for prompting the user C to check the target message. As shown in fig. 6, an interface diagram of the first group session displayed on the second device after the second device sends the information in the first group session is shown.
Third embodiment
If the first device includes a preset character in a target message sent in the second group session, and a character after the preset character and adjacent to the preset character is the name of the user B, or the target message includes the preset character and a character after the preset character and adjacent to the preset character is a "member in the body", or the target message includes the name of the user B (for example, the target message is "@ B please evaluate XX demand" or "@ member please evaluate XX demand", or "please B evaluate XX demand"), the second device determines whether the current time is within a target time interval after receiving the target message, if so, determines that the current time is in a preset mode, thereby further determining whether the user C having an association relationship with the user B is in the second group session. Fig. 7 is an interface schematic diagram of a second group session displayed on the second device after the second device receives the target message.
In case user C is not in the second group session, the second device automatically instructs the server to add user C to the second group session and automatically replies in the second group session with an indication that "i am on holiday, work has been handed over to C, your message has been forwarded to C". Fig. 8 is a schematic interface diagram of the second group session displayed on the second device after the second device replies the indication information in the second group session.
Fourth embodiment
If the first device is in the second group session, the first device determines whether the current time is within the target time interval after receiving the target message, if the target message includes a preset character and a character after the preset character and adjacent to the preset character is the name of the user B, or if the target message includes a preset character and a character after the preset character and adjacent to the preset character is a "member of the group", or if the target message includes the name of the user B (e.g., the target message is "@ B please evaluate under XX demand" or "@ member please evaluate under XX demand", or "please B evaluate under XX demand"), then the second device receives the target message, if so, determines that the target message is in the preset mode, thereby instructing the server to create the first group session, and the server adds the user a, the user B, and the user C to the first group session. Fig. 7 is an interface schematic diagram of a second group session displayed on the second device after the second device receives the target message.
Additionally, the second device may automatically reply to "i am on vacation today, work has been handed over to C" in the first group session, and automatically send in the first group session: the target message, the initial source of the target message and the prompt information for prompting the user C to check the target message. As shown in fig. 6, an interface diagram of the first group session displayed on the second device after the second device sends the information in the first group session is shown.
Fifth embodiment
When the first device displays the first interface, if the server records the target time interval of the second device in the preset mode and the user C having the association relationship with the user B, the server issues the target time interval and the user C having the association relationship with the user B to the first device, so that when the first device determines that the current time is in the target time interval, the first device displays the prompt message "B is vacated today, the work is handed over to C" in the first interface, and the first preset control 901 is shown in fig. 9. The first preset control 901 may display a prompt message "send message to C", which is used to prompt the user to operate the first preset control 901 and jump to the session interface (i.e. the second interface) between the user a and the user C.
When a click operation on the first preset control 901 is detected, the first device displays a second interface (as shown in fig. 10), so that the user a can input a target message in the second interface, and further, when a click operation on a "send" control in the second interface is detected, the target message can be sent to the third device.
Sixth embodiment
When the user a and the user B are both in the second group session, when the interface of the second group session is displayed on the first device, if the user a inputs a preset character and the name of the user B, for example "@ B", in the interface of the second group session, the server issues a target time interval and the user C having an association relationship with the user B to the first device, so that when the first device determines that the current time is in the target time interval, a prompt message of "B is vacated today, work is handed over to C" is displayed in the interface of the second group session, and a third preset control 1101 is displayed, wherein the third preset control 1101 may display a prompt message of "invite C to join group chat", and is used to prompt the user to operate the third preset control 1101 to add the user C to the second group session, as shown in fig. 11.
When detecting the clicking operation on the third preset control 1101, the first device instructs the server to add the user C to the second group session, and automatically modifies "@ B" input by the user a in the interface of the second group session to "@ C", as shown in fig. 12, so that the user a may continue to input the target message required to be sent to the user C after "@ C" in the interface of the second group session, and further may send the target message to all devices in the second group session when detecting the clicking operation on the "send" control in the interface of the second group session.
Seventh embodiment
When the first device displays the first interface, the user a may input a target message "please evaluate the XX demand" in the first interface, so as to click a "send" control in the first interface, so as to trigger the server to issue a target time interval in which the second device is in a preset mode and the user C having an association relationship with the user B to the first device, so that the first device determines whether the second device is in the preset mode according to the received target time interval, if the current time is within the target time interval, the second device is determined to be in the preset mode, so as to automatically forward the target message to the third device, and display "B is on holiday, work is handed over to C in the first interface, and a prompt message" see message sent to C "in the second preset control 1301 is displayed, where the second preset control 1301 may display a prompt message" see message sent to C "for prompting the user to operate the second preset control 1301 to skip to see the target message sent to the user C by the user a, as shown in fig. 13.
When a click operation on the second preset control 1301 is detected, the first device displays a second interface, and displays a target message sent by the user a to the user C in the second interface, as shown in fig. 14.
In this embodiment, the message that the user a needs to send to the user B is not sent to the second device during the second device is in the preset mode, that is, during the vacation period of the user B, so that the disturbance of the message to the user B during the vacation period can be reduced.
In summary, according to the message transmission method of the embodiment of the application, the working message can be transferred through the two aspects of the message receiver and the message sender, and the message is more timely transmitted to the working handover party, so that the problem that the working message cannot be timely transmitted to the working handover party when staff vacates is solved, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
It should be noted that, in the message transmission method provided in the embodiment of the present application, the execution body may be a message transmission device, or, a control module in the message transmission device for executing the loading message transmission method. In the embodiment of the present application, a message transmission device executes a method for loading a message, which is described in the embodiment of the present application.
Referring to fig. 15, an embodiment of the present invention provides a message transmission apparatus, which is applied to a first device, and the message transmission apparatus 1500 may include the following modules:
A user identifier display module 1501, configured to display, when detecting that a second device is in a preset mode, a user identifier of a user having an association relationship with a user of the second device, where the second device is a device to receive a target message;
a first sending module 1502, configured to send the target message to a third device, where the third device is a device of a user having an association relationship with a user of the second device.
Optionally, the apparatus further includes:
a fourth sending module, configured to send the target message to the second device;
the first sending module 1502 is specifically configured to:
forwarding, by the second device, the target message to the third device.
Optionally, the apparatus further includes:
the second receiving module is used for receiving first indication information sent by the second equipment when the second equipment detects that the second equipment is in the preset mode, wherein the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
and the associated user determining module is used for determining a user with an associated relation with the user of the second equipment according to the first indication information.
Optionally, the second receiving module is specifically configured to:
receiving the first indication information sent by the second device in a first group session under the condition that the user of the first device, the user of the second device and the user of the third device are added to the first group session;
wherein the first group session is created after the second device receives the target message.
Optionally, a user having an association relationship with the user of the second device is recorded in the server;
the apparatus further comprises:
the third receiving module is used for receiving first indication information sent by the server under the condition that the first device displays a first interface, wherein the first interface is a session interface between a user of the first device and a user of the second device, and the first indication information is used for indicating a user with an association relationship with the user of the second device;
and the associated user determining module is used for determining a user with an associated relation with the user of the second equipment according to the first indication information.
Optionally, a target time interval of the second device in the preset mode is recorded in a server;
The apparatus further comprises:
a fourth receiving module, configured to receive, when the first device displays a first interface, where the first interface is a user session interface between a user of the first device and the second device, where the target time interval is sent by the server;
and the mode determining module is used for determining that the second equipment is in the preset mode under the condition that the current time is within the target time interval.
Optionally, the apparatus further includes:
the first display module is used for displaying a first preset control;
a fifth receiving module, configured to receive a first operation on the first preset control;
the second display module is used for responding to the first operation and displaying a second interface, wherein the second interface is a session interface between a user of the third device and a user of the first device;
the first sending module 1502 is specifically configured to:
receiving first content input in the second interface;
and sending the first content to the third device as the target message.
Optionally, the apparatus further includes:
a sixth receiving module, configured to receive second content input in an interface of a second group session, where the second group session is a group session including a user of the first device and a user of the second device;
A device determining module, configured to determine, as the second device, a device of a user to which the user identifier belongs, where the second content includes the user identifier, and the user to which the user identifier belongs is in the second group session;
the first sending module 1502 is specifically configured to:
adding the user with the association relationship with the user of the second equipment to the second group session under the condition that the second group session does not comprise the user with the association relationship with the user of the second equipment;
and sending the target message to equipment of the user in the second group session.
Optionally, the apparatus further includes:
and the modification module is used for modifying the user identification included in the second content into the user identification of the user with the association relationship with the user of the second device.
Optionally, the apparatus further includes:
the third display module is used for displaying a second preset control;
a seventh receiving module, configured to receive a second operation on the second preset control;
and the fourth display module is used for responding to the second operation, displaying a second interface and displaying the target message in the second interface, wherein the second interface is a session interface between a user of the third device and a user of the first device.
Optionally, the first sending module 1502 is specifically configured to:
transmitting the target message to a device of a user in a third group session, in the case that the user of the first device, the user of the second device, and the user of the third device are all added to the third group session;
wherein the third group session is created after detecting that the second device is in the preset mode.
The message transmission device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The message transmission 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 embodiments of the present application.
The message transmission device provided in this embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
As can be seen from the foregoing, in the embodiment of the present application, when the second device is detected to be in the preset mode, the first device may display the user identifier of the user having an association relationship with the user of the second device, and send the target message to the third device, where the second device is a device to receive the target message, and the third device is a device of the user having an association relationship with the user of the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
Referring to fig. 16, an embodiment of the present invention provides a message transmission apparatus, applied to a second device, the message transmission apparatus 1600 may include the following modules:
a first receiving module 1601, configured to receive a target message sent by a first device;
a second sending module 1602, configured to send, when it is detected that the second device is in a preset mode, first indication information to the first device, so that the first device displays a user identifier of a user having an association with the user of the second device, where the first indication information is used to indicate a user having an association with the user of the second device;
and a third sending module 1603, configured to forward the target message to a third device, where the third device is a device of a user having an association relationship with a user of the second device.
Optionally, the second sending module 1602 is specifically configured to:
transmitting the first indication information to the device of the user in the first group session in the case that the user of the first device, the user of the second device and the user of the third device are all added to the first group session;
Wherein the first group session is created after the second device receives the target message.
Optionally, the third sending module 1603 is specifically configured to:
in the event that the user of the first device, the user of the second device, and the user of the third device are all added to a first group session, sending the targeted message to the devices of the users in the first group session;
wherein the first group session is created after the second device receives the target message.
Optionally, a target time interval of the second device in the preset mode is recorded in the second device; the apparatus further comprises:
and the mode determining module is used for determining that the second equipment is in the preset mode under the condition that the current time is within the target time interval.
Optionally, the first receiving module 1601 is specifically configured to:
receiving the target message sent by the first device in a second group session, wherein the second group session is a group session comprising a user of the first device and a user of the second device;
the apparatus further comprises:
an adding module, configured to add, in the case that the second group session does not include a user having an association relationship with the user of the second device, the user having an association relationship with the user of the second device to the second group session;
The second sending module 1602 is specifically configured to:
and sending the first indication information to the equipment of the user in the second group session.
The message transmission device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The message transmission 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 embodiments of the present application.
The message transmission device provided in this embodiment of the present application can implement each process implemented by the method embodiment of fig. 2, and in order to avoid repetition, a description is omitted here.
As can be seen from the foregoing, in the embodiment of the present application, the second device receives the target message sent by the first device, so that, when detecting that the second device is in the preset mode, first indication information for indicating a user having an association relationship with the user of the second device is sent to the first device, so that the first device displays a user identifier of the user having the association relationship with the user of the second device, and forwards the target message to a device (i.e., a third device) of the user having the association relationship with the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
Optionally, as shown in fig. 17, the embodiment of the present application further provides an electronic device, where the electronic device 1700 includes a processor 1710, a memory 1720, and a program or an instruction stored in the memory 1720 and capable of being executed on the processor 1710, where the program or the instruction implements each process of the above-mentioned embodiment of the message transmission method when executed by the processor 1710, and the process can achieve the same technical effect, and is not repeated herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 18 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1800 includes, but is not limited to: a radio frequency unit 1801, a network module 1802, an audio output unit 1803, an input unit 1804, a sensor 1805, a display unit 1806, a user input unit 1807, an interface unit 1808, a memory 1809, and a processor 1810.
Those skilled in the art will appreciate that the electronic device 1800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1810 by a power management system, such as to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in the drawings, or may combine some components, or may be arranged in different components, which will not be described in detail herein.
In a first aspect, when the electronic device 1800 is used as a first device, the display unit 1806 is configured to display, when detecting that a second device is in a preset mode, a user identifier of a user that has an association relationship with a user of the second device, where the second device is a device that is to receive a target message;
and the radio frequency unit 1801 is configured to send the target message to a third device, where the third device is a device of a user having an association relationship with a user of the second device.
Optionally, the radio frequency unit 1801 is further configured to: transmitting the target message to the second device;
the sending the target message to a third device includes:
forwarding, by the second device, the target message to the third device.
Optionally, the radio frequency unit 1801 is further configured to:
receiving first indication information sent by the second equipment when the second equipment detects that the second equipment is in the preset mode, wherein the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
the processor 1810 is also configured to:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
Optionally, when the radio frequency unit 1801 receives the first indication information sent by the second device when the second device detects that the second device is in the preset mode, the radio frequency unit is specifically configured to:
receiving the first indication information sent by the second device in a first group session under the condition that the user of the first device, the user of the second device and the user of the third device are added to the first group session;
wherein the first group session is created after the second device receives the target message.
Optionally, a user having an association relationship with the user of the second device is recorded in the server;
the radio frequency unit 1801 is further configured to:
receiving first indication information sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a session interface between a user of the first equipment and a user of the second equipment, and the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
the processor 1810 is also configured to:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
Optionally, a target time interval of the second device in the preset mode is recorded in a server;
the radio frequency unit 1801 is further configured to:
receiving the target time interval sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a user session interface of a user of the first equipment and the second equipment;
the processor 1810 is also configured to:
and determining that the second device is in the preset mode under the condition that the current time is within the target time interval.
Optionally, the display unit 1806 is further configured to display a first preset control;
the user input unit 1807 is configured to receive a first operation on the first preset control;
the display unit 1806 is further configured to display, in response to the first operation, a second interface, where the second interface is a session interface between a user of the third device and a user of the first device;
the radio unit 1801, when sending the target message to the third device, is specifically configured to:
after the user input unit 1807 receives the first content input in the second interface, the first content is transmitted to the third device as the target message.
Optionally, the user input unit 1807 is further configured to receive second content input in an interface of a second group session, where the second group session is a group session including a user of the first device and a user of the second device;
the processor 1810 is further configured to determine, as the second device, a device of a user to which the user identification belongs, in a case that the user identification is included in the second content and the user to which the user identification belongs is in the second group session;
when the radio frequency unit 1801 sends the target message to the third device, the radio frequency unit is specifically configured to:
adding the user with the association relationship with the user of the second equipment to the second group session under the condition that the second group session does not comprise the user with the association relationship with the user of the second equipment;
and sending the target message to equipment of the user in the second group session.
Optionally, the processor 1810 is further configured to:
and modifying the user identification included in the second content into the user identification of the user with the association relation with the user of the second device.
Optionally, the display unit 1806 is further configured to display a second preset control;
The user input unit 1807 is further configured to receive a second operation on the second preset control;
the display unit 1806 is further configured to display a second interface in response to the second operation, and display the target message in the second interface, where the second interface is a session interface between the user of the third device and the user of the first device.
Optionally, when the radio unit 1801 sends the target message to the third device, it is specifically configured to:
transmitting the target message to a device of a user in a third group session, in the case that the user of the first device, the user of the second device, and the user of the third device are all added to the third group session;
wherein the third group session is created after detecting that the second device is in the preset mode.
As can be seen from the foregoing, in the embodiment of the present application, when the second device is detected to be in the preset mode, the first device may display the user identifier of the user having an association relationship with the user of the second device, and send the target message to the third device, where the second device is a device to receive the target message, and the third device is a device of the user having an association relationship with the user of the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
In a second aspect, when the electronic device 1800 is used as a second device, the radio frequency unit 1801 is configured to receive a target message sent by the first device; when the processor 1810 detects that the second device is in a preset mode, first indication information is sent to the first device, so that the first device displays a user identifier of a user in association with the user of the second device, wherein the first indication information is used for indicating a preset user in association with the user of the second device;
The radio frequency unit 1801 is further configured to forward the target message to a third device, where the third device is a device of a user having an association relationship with a user of the second device.
Optionally, when the radio frequency unit 1801 sends first indication information to the first device, the radio frequency unit is specifically configured to:
transmitting the first indication information to the device of the user in the first group session in the case that the user of the first device, the user of the second device and the user of the third device are all added to the first group session;
wherein the first group session is created after the second device receives the target message.
Optionally, when the radio unit 1801 forwards the target message to the third device, it is specifically configured to:
in the event that the user of the first device, the user of the second device, and the user of the third device are all added to a first group session, sending the targeted message to the devices of the users in the first group session;
wherein the first group session is created after the second device receives the target message.
Optionally, a target time interval of the second device in the preset mode is recorded in the second device; the processor 1810 is specifically configured to, when detecting that the second device is in the preset mode:
And determining that the second device is in the preset mode under the condition that the current time is within the target time interval.
Optionally, when the radio frequency unit 1801 receives the target message sent by the first device, the radio frequency unit is specifically configured to:
receiving the target message sent by the first device in a second group session, wherein the second group session is a group session comprising a user of the first device and a user of the second device;
the processor 1810 is further configured to add a user having an association with a user of the second device to the second group session if the user having an association with the user of the second device is not included in the second group session;
when the radio frequency unit 1801 sends the first indication information to the first device, the radio frequency unit is specifically configured to:
and sending the first indication information to the equipment of the user in the second group session.
As can be seen from the foregoing, in the embodiment of the present application, the second device receives the target message sent by the first device, so that, when detecting that the second device is in the preset mode, first indication information for indicating a user having an association relationship with the user of the second device is sent to the first device, so that the first device displays a user identifier of the user having the association relationship with the user of the second device, and forwards the target message to a device (i.e., a third device) of the user having the association relationship with the second device.
Therefore, in the embodiment of the application, if a certain user needs to vacate, the device used by the certain user can be set to a preset mode, so that when the sender device needs to send a working message to the device of the vacating user and the device of the vacating user is in the preset mode, the user in association with the vacating user is displayed on the sender device, so that the user of the sender device can know the working handover party in time and automatically send the working message to the device of the working handover party. Therefore, in the embodiment of the application, under the condition that a certain user vacates, the working message can be timely sent to the working handover party, and the user identification of the working handover party is displayed to the sender of the working message, so that the sender and the handover party of the working message can timely process the working message, the transmission efficiency of the working message is improved, and the processing efficiency of the work is further improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above embodiment of the message transmission method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above message transmission method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A method of message transmission, for use with a first device, the method comprising:
transmitting the target message to the second device;
displaying a user identifier of a user in association with a user of the second device when the second device is detected to be in a preset mode, wherein the second device is a device for receiving a target message;
the target message is sent to third equipment, wherein the third equipment is equipment of a user with an association relationship with the user of the second equipment;
the sending the target message to a third device includes:
forwarding, by the second device, the target message to the third device; the target message is sent to the third device through a session interface between the user of the second device and the user of the third device;
wherein the method further comprises: displaying a first preset control, wherein the first preset control is used for displaying a second interface when a first operation is detected, and the second interface is a session interface between a user of the third device and a user of the first device;
wherein, before the user identification of the user having the association relationship with the user of the second device is displayed when the second device is detected to be in the preset mode, the method further comprises:
Receiving second content input in an interface of a second group session, wherein the second group session is a group session comprising a user of the first device and a user of the second device;
adding the user with the association relationship with the user of the second equipment to the second group session under the condition that the second group session does not comprise the user with the association relationship with the user of the second equipment;
and modifying the user identification included in the second content into the user identification of the user with the association relation with the user of the second device.
2. The message transmission method according to claim 1, wherein after the target message is transmitted to the second device, the method further comprises:
receiving first indication information sent by the second equipment when the second equipment detects that the second equipment is in the preset mode, wherein the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
before the displaying the user identification of the user having the association relationship with the user of the second device, the method further includes:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
3. The message transmission method according to claim 2, wherein the receiving the first indication information sent when the second device detects that the second device is in the preset mode includes:
receiving the first indication information sent by the second device in a first group session under the condition that the user of the first device, the user of the second device and the user of the third device are added to the first group session;
wherein the first group session is created after the second device receives the target message.
4. The message transmission method according to claim 1, wherein a user having an association relationship with the user of the second device is recorded in a server;
before the user identification of the user having the association relationship with the user of the second device is displayed under the condition that the second device is detected to be in the preset mode, the method further comprises:
receiving first indication information sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a session interface between a user of the first equipment and a user of the second equipment, and the first indication information is used for indicating a user with an association relationship with the user of the second equipment;
Before the displaying the user identification of the user having the association relationship with the user of the second device, the method further includes:
and determining the user with the association relation with the user of the second equipment according to the first indication information.
5. The message transmission method according to claim 1, wherein a target time interval in which the second device is in the preset mode is recorded in a server;
before the user identification of the user having the association relationship with the user of the second device is displayed under the condition that the second device is detected to be in the preset mode, the method further comprises:
receiving the target time interval sent by the server under the condition that the first equipment displays a first interface, wherein the first interface is a user session interface of a user of the first equipment and the second equipment;
the detecting that the second device is in the preset mode includes:
and determining that the second device is in the preset mode under the condition that the current time is within the target time interval.
6. The message transmission method according to any one of claims 1, 4, 5, wherein before the target message is sent to a third device, the method further comprises:
Receiving a first operation of the first preset control;
displaying the second interface in response to the first operation;
the sending the target message to a third device includes:
receiving first content input in the second interface;
and sending the first content to the third device as the target message.
7. The message transmission method according to any one of claims 1, 4, and 5, wherein before the step of displaying the user identifier of the user having an association relationship with the user of the second device in the case where the second device is detected to be in the preset mode, the method further comprises:
determining a device of a user to which the user identifier belongs as the second device when the user identifier is included in the second content and the user to which the user identifier belongs is in the second group session;
the sending the target message to a third device further includes:
and sending the target message to equipment of the user in the second group session.
8. A message transmission apparatus for use with a first device, the apparatus comprising:
a fourth sending module, configured to send the target message to the second device;
The user identification display module is used for displaying the user identification of the user in association with the user of the second device under the condition that the second device is detected to be in a preset mode, wherein the second device is the device for receiving the target message;
the first sending module is used for sending the target message to third equipment, wherein the third equipment is equipment of a user with an association relationship with the user of the second equipment;
the first sending module is specifically configured to forward, through the second device, the target message to the third device, where the target message is sent to the third device through a session interface between a user of the second device and a user of the third device;
wherein the apparatus further comprises:
the first display module is used for displaying a first preset control; the first preset control is used for displaying a second interface when a first operation is detected, wherein the second interface is a session interface between a user of the third device and a user of the first device;
the apparatus further comprises:
a sixth receiving module, configured to receive second content input in an interface of a second group session, where the second group session is a group session including a user of the first device and a user of the second device;
The first sending module is further configured to, when the second group session does not include a user having an association relationship with the user of the second device, add the user having an association relationship with the user of the second device to the second group session;
the apparatus further comprises:
and the modification module is used for modifying the user identification included in the second content into the user identification of the user with the association relationship with the user of the second device.
CN202110322623.0A 2021-03-25 2021-03-25 Message transmission method and device Active CN113079084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110322623.0A CN113079084B (en) 2021-03-25 2021-03-25 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110322623.0A CN113079084B (en) 2021-03-25 2021-03-25 Message transmission method and device

Publications (2)

Publication Number Publication Date
CN113079084A CN113079084A (en) 2021-07-06
CN113079084B true CN113079084B (en) 2023-05-05

Family

ID=76610308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110322623.0A Active CN113079084B (en) 2021-03-25 2021-03-25 Message transmission method and device

Country Status (1)

Country Link
CN (1) CN113079084B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095886B (en) * 2021-11-08 2023-07-28 维沃移动通信有限公司 Information transmission method, information transmission device and electronic equipment
CN115412524B (en) * 2022-08-25 2024-04-30 维沃移动通信有限公司 Message processing method, device, electronic equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181834A (en) * 2019-10-09 2020-05-19 腾讯科技(深圳)有限公司 Message processing method, device, server and storage medium
CN111880887A (en) * 2020-08-04 2020-11-03 腾讯科技(深圳)有限公司 Message interaction method and device, storage medium and electronic equipment
CN112242948A (en) * 2020-11-10 2021-01-19 腾讯科技(深圳)有限公司 Group session processing method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018060A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 Message back method and apparatus
US10447624B2 (en) * 2016-05-09 2019-10-15 Quazi Shamim Islam Method for streamlining communications between groups of primary and secondary users, wherein communication capabilities between primary and secondary users are based on whether the user is a primary or secondary user
CN112202582B (en) * 2020-09-29 2022-09-09 北京达佳互联信息技术有限公司 Group establishing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181834A (en) * 2019-10-09 2020-05-19 腾讯科技(深圳)有限公司 Message processing method, device, server and storage medium
CN111880887A (en) * 2020-08-04 2020-11-03 腾讯科技(深圳)有限公司 Message interaction method and device, storage medium and electronic equipment
CN112242948A (en) * 2020-11-10 2021-01-19 腾讯科技(深圳)有限公司 Group session processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113079084A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US10652175B2 (en) Message sending method and apparatus, computer terminal, and storage medium
CN108306810B (en) Group building method, server and terminal
US10958459B2 (en) Method and apparatus for processing group chat message
CN109921976B (en) Group-based communication control method, device and storage medium
CN113079084B (en) Message transmission method and device
JP6535815B2 (en) Information push method, device and system, and computer storage medium
CN107483320B (en) Group creation method and server
CN113364668B (en) Message reminding method and device and electronic equipment
CN105306662A (en) Information integration method and system for communication terminal
CN103019681A (en) Notification message handling method, notification message handling device and mobile terminal
CN113300938B (en) Message sending method and device and electronic equipment
CN104956650B (en) System and method for accessing discussion system
US20080205619A1 (en) Caller initiated communications interruption
CN105096230A (en) Flight notification method and device and flight setting method and device
CN112035087B (en) Information prompting method and device, electronic equipment and readable storage medium
CN112003781A (en) Chat message sending method and device and electronic equipment
WO2022247781A1 (en) Call processing method, call processing apparatus, and electronic device and medium
CN113993092B (en) Emergency call method and device, mobile terminal and network equipment
CN106535150B (en) Incoming call forwarding method and device
CN113360002B (en) Information collection method, device, electronic equipment and storage medium
US8935324B2 (en) Apparatus and method for providing instant messaging and presence service in mobile communication system
EP1942450B1 (en) System and method for providing information on a received communication for an electronic communication device
CN103188121A (en) Network establishing method and electronic terminals
CN107241515B (en) Incoming call rejection processing method and terminal
CN114051009B (en) Message sending method and electronic equipment

Legal Events

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