CN113535021A - Method, apparatus, medium, and program product for transmitting session message - Google Patents

Method, apparatus, medium, and program product for transmitting session message Download PDF

Info

Publication number
CN113535021A
CN113535021A CN202110825428.XA CN202110825428A CN113535021A CN 113535021 A CN113535021 A CN 113535021A CN 202110825428 A CN202110825428 A CN 202110825428A CN 113535021 A CN113535021 A CN 113535021A
Authority
CN
China
Prior art keywords
session
mode
message
user
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110825428.XA
Other languages
Chinese (zh)
Other versions
CN113535021B (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202110825428.XA priority Critical patent/CN113535021B/en
Publication of CN113535021A publication Critical patent/CN113535021A/en
Application granted granted Critical
Publication of CN113535021B publication Critical patent/CN113535021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An object of the present application is to provide a method, apparatus, medium, and program product for transmitting a session message, the method including: determining whether a first session is set to an attentive mode in response to a messaging trigger operation performed by a first user with respect to the first session message; if so, sending the first session message to the first session; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information. The method and the device can avoid the message withdrawal trace, avoid various embarrassments possibly caused by the message withdrawal, greatly reduce the probability of sending the message by mistake, improve the message sending experience of the user and enhance the message sending efficiency of the user.

Description

Method, apparatus, medium, and program product for transmitting session message
Technical Field
The present application relates to the field of communications, and in particular, to a technique for sending a session message.
Background
In the current instant messaging tool, when a message is sent by mistake, a user can withdraw the message within a certain time, but the method has the following problems: firstly, the withdrawal is limited in time, the withdrawal cannot be carried out after the withdrawal time passes, and the withdrawal cannot be set to be infinite in time, secondly, the withdrawal still can keep the mark of wrong sending, the sent content can still be seen before the withdrawal, if the content can be seen by a plurality of people in a group, thirdly, when the user sends messages in different interfaces by mistake, the user often knows the later, a reminding mode is not provided in advance, and the user is not aware of the fact that the withdrawal is too late after the wrong sending.
Disclosure of Invention
It is an object of the present application to provide a method, apparatus, medium, and program product for sending a session message.
According to an aspect of the present application, there is provided a method for transmitting a session message, the method including:
determining whether a first session is set to an attentive mode in response to a messaging trigger operation performed by a first user with respect to the first session message;
if so, sending the first session message to the first session; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information.
According to another aspect of the present application, there is provided a method for transmitting a session message, the method including:
receiving a first session message sent by a first user in a first session, determining whether the first session is set to an attentive mode;
if so, sending the first session message to the first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information.
According to an aspect of the present application, there is provided a user equipment for transmitting a session message, the user equipment comprising:
a module for determining whether a first session is set to an attentive mode in response to a messaging trigger operation performed by a first user with respect to the first session in relation to the first session message;
a second module, configured to send the first session message to the first session if the first session message is a second session message; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information.
According to another aspect of the present application, there is provided a network device for transmitting a session message, the device including:
a module for receiving a first session message sent by a first user in a first session, and determining whether the first session is set to a focus mode;
a second module, configured to send the first session message to the first session if the first session message is a second session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information.
According to an aspect of the present application, there is provided a computer device for sending a conversation message, comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the operations of any of the methods described above.
According to an aspect of the application, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the operations of any of the methods described above.
According to an aspect of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, carries out the steps of any of the methods as described above.
Compared with the prior art, the method and the device for processing the first conversation message have the advantages that whether the first conversation is set to be in the concentration mode or not is determined in response to the message sending triggering operation, executed by the first user, of the first conversation message; if so, sending the first session message to the first session; otherwise, presenting sending prompt information related to the first session message, and responding to a cancelling operation executed by the first user aiming at the sending prompt information to cancel the sending of the first session message, so that message withdrawal traces can be avoided, various embarrassments possibly occurring in message withdrawal can be avoided, the probability of mistakenly sending messages is greatly reduced, the message sending experience of the user is improved, and the message sending efficiency of the user is enhanced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for sending session messages according to one embodiment of the present application;
FIG. 2 illustrates a block diagram of a user equipment for sending session messages according to one embodiment of the present application;
FIG. 3 illustrates a flow diagram of a method for sending session messages according to one embodiment of the present application;
FIG. 4 illustrates a network device architecture diagram for sending session messages, according to one embodiment of the present application;
FIG. 5 illustrates a flow diagram of a method for sending session messages according to one embodiment of the present application;
FIG. 6 illustrates a flow diagram of a method for sending session messages according to one embodiment of the present application;
FIG. 7 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include forms of volatile Memory, Random Access Memory (RAM), and/or non-volatile Memory in a computer-readable medium, such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The device referred to in the present application includes, but is not limited to, a terminal, a network device, or a device formed by integrating a terminal and a network device through a network. The terminal includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the terminal, the network device, or a device formed by integrating the terminal and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a flowchart of a method for sending a conversation message, the method including step S11 and step S12, according to one embodiment of the present application. In step S11, the user equipment determines whether the first session is set to an attentive mode in response to a messaging trigger operation performed by the first user with respect to the first session message; in step S12, if yes, the ue sends the first session message to the first session; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information.
In step S11, the user equipment determines whether the first session is set to focus mode in response to a messaging trigger operation performed by the first user with respect to the first session message. In some embodiments, the first session may be a private chat session of the first user with a friend in the social application, or may also be a group chat session of a session group to which the first user joins in the social application. In some embodiments, the message sending triggering operation may be a message sending operation performed by the first user for a first session message entered in a message entry box of a first session page of the first session, or may also be a message forwarding operation performed by the first user for a first session message presented on the first session page or other session pages to forward the first session message to the first session. In some embodiments, at least one of the first user's corresponding one or more sessions in the social application may be set to attentive mode, i.e., there may be multiple sessions set to attentive mode for the first user at the same time, or only one of the first user's corresponding one or more sessions in the social application may be set to attentive mode, i.e., there may be only one session set to attentive mode for the first user at the same time. In some embodiments, the first user may manually set a certain session to the attentive mode, or the user device or the network device may set a certain session of the first user that satisfies a predetermined condition to the attentive mode, where the predetermined condition may be that the messaging activity corresponding to the session within a predetermined time range is greater than or equal to a predetermined activity threshold, or that the presentation time length of the session page corresponding to the session within the predetermined time range on the user device is greater than or equal to a predetermined time length threshold.
In step S12, if yes, the ue sends the first session message to the first session; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information. In some embodiments, if the first session has been set to attentive mode, the first session message is sent directly into the first session, for example, directly to users of the first session other than the first user, or via a network device. In some embodiments, if the first session is not set to attentive mode, sending reminder information about the first session message is presented on a current page (the first session page of the first session, or session pages of other sessions), the sending reminder information being used to remind the first user that a session message is currently being sent to a non-attentive session that is not set to attentive mode, and if the first user performs a cancel operation with respect to the sending reminder information, the sending of the first session message is abandoned. In some embodiments, if the first user performs a confirmation operation or does not perform any operation with respect to the sending of the reminder information, the first session message is still continued to be sent into the first session. For example, a first user inputs a first session message on a first session page of a first session and clicks on sending, and at this time, if it is determined that the first session is not set to the concentration mode, a prompt box of a response pops up on the first session page for the user to select, and the prompt box may be presented in various ways, without limitation, wherein one presentation manner may be to present "you input in a non-concentration session and confirm sending" and the first user selects yes or no, and if the first user selects no, no sending action is performed, and if the first user selects yes, the first user indicates that the first user wants to communicate with other users of the non-concentration session at this time, and still continues sending the first session message; another presentation mode may be to present "you input in the non-focused session, and will automatically send out after 5 seconds, you can click the cancel key to cancel sending", if the first user does not click the cancel key, the first session message is directly sent out after 5 seconds, and if the first user clicks the cancel key, no sending action is performed. The method and the device can avoid the message withdrawal trace, avoid various embarrassments possibly caused by the message withdrawal, greatly reduce the probability of sending the message by mistake, improve the message sending experience of the user and enhance the message sending efficiency of the user.
In some embodiments, if the first session is set to focus mode; wherein the method further comprises performing, before the step S11: the user equipment sets the first session to an attentive mode. In some embodiments, the first user may manually set a certain session to the attentive mode, or the user device or the network device may set a certain session of the first user that satisfies a predetermined condition to the attentive mode, where the predetermined condition may be that the messaging activity corresponding to the session within a predetermined time range is greater than or equal to a predetermined activity threshold, or that the presentation time length of the session page corresponding to the session within the predetermined time range on the user device is greater than or equal to a predetermined time length threshold. In some embodiments, only one session set to attentive mode can exist at the same time for the first user, while the first session is set to attentive mode, the attentive state of the other session set to attentive mode at that time needs to be released, the other session is set to normal mode, i.e. the other session is restored to normal chat mode.
In some embodiments, said setting said first session to focus mode comprises: setting the first session to an attentive mode in response to an attentive setting operation performed by the first user for the first session. In some embodiments, the first user may manually set a session to focus mode. In some embodiments, the first user may also manually set a session that has currently been set to attentive mode to normal mode, i.e., actively remove the attentive state of the session, and restore the session to normal chat mode. In some embodiments, the first user may set a session in the session page of the session to focus mode, or the first user may select a session in the session list page to focus mode before opening the session page, or the first user may select a friend or group of sessions in the address book page to focus the corresponding session to focus mode.
In some embodiments, said setting said first session to focus mode comprises: and setting the first conversation into a concentration mode according to the interaction statistical information of the first user within a current preset time range from the first conversation page of the first conversation. In some embodiments, the interaction statistics within the current predetermined time range (e.g., 10 minutes) include, but are not limited to, last interaction times information in a first session page of the first session of the first user, and last interaction duration information, where the last interaction times information includes, but is not limited to, a number of times the first user received a session message in the first session page within the last predetermined time range, a number of times the session message was sent, and a number of times the session message was sent and received, and the last interaction duration information includes, but is not limited to, a presentation duration of the first session page on the user device from a last entry of the first user into the first session page within the last predetermined time range, and a presentation duration of the first session page on the user device from a last entry of the first user into the first session page. In some embodiments, a recent interaction activity corresponding to the first session may be determined according to recent interaction statistics of the first user in the first session page, and the first session may be automatically set to the focus mode if the recent interaction activity is greater than or equal to a predetermined activity threshold.
In some embodiments, the interaction statistical information includes interaction times information and/or interaction duration information; wherein the setting the first session to a focus mode according to the interaction statistical information of the first user within a current predetermined time range from the first session page of the first session comprises: and if the interaction frequency information and/or the interaction duration information of the first user in the first session page within the current preset time range reaches a preset frequency threshold and/or a preset duration threshold, setting the first session to be in a concentration mode. In some embodiments, the first session is automatically set to focus mode if the number of recent interactions is greater than or equal to a predetermined number threshold. In some embodiments, the first session is automatically set to focus mode if the most recent interaction duration is greater than or equal to a predetermined duration threshold. In some embodiments, the first session needs to be automatically set to focus mode if the number of recent interactions is greater than or equal to the predetermined number threshold and the duration of the recent interactions is greater than or equal to the predetermined duration threshold are both met.
In some embodiments, said setting said first session to focus mode comprises: setting the first conversation to be in a concentration mode according to at least one historical conversation message which is recently transceived in a first conversation page of the first conversation by the first user. In some embodiments, it is determined whether to automatically set the first session to attentive mode based on at least one historical session message historically transceived (or only historically sent or only historically received) by the first user in a first session page of the first session within a recent predetermined time range. In some embodiments, the first session may be automatically set to focus mode if the quantity information is greater than or equal to a predetermined quantity threshold based on the quantity information of the at least one historical session message. In some embodiments, semantic recognition may be further performed through the at least one historical conversation message, a last discussion topic corresponding to the first conversation is determined, and if the last discussion topic belongs to one of at least one preset target topic, the first conversation is automatically set to be in a concentration mode.
In some embodiments, said setting said first session to focus mode based on at least one historical session message recently transceived by said first user in a first session page of said first session comprises: and if the first user comprises at least one preset keyword in at least one history conversation message which is recently sent and received in the first conversation page, setting the first conversation to be in a concentration mode. In some embodiments, the predetermined keyword may be a money-related keyword, such as "red envelope," or may be a privacy-related keyword, such as "private messages. In some embodiments, the first session is automatically set to focus mode if the first user includes at least one predetermined keyword in at least one historical session message recently transceived (or only historically sent, or only historically received) in the first session page. In some embodiments, the first conversation is automatically set to focus mode if the at least one historical conversation message includes at least one term that is semantically similar or analogous to some predetermined keyword.
In some embodiments, the method further comprises: the user equipment sets the first session to the normal mode starting from the first session being set to the attentive mode if the first session reaches the first attentive period information. In some embodiments, the first concentration period information includes, but is not limited to, first concentration duration information, first concentration times information. In some embodiments, the first concentration period information is pre-configured by the user device or the network device by default, and the session corresponds to a default first concentration period information no matter which session is set to the concentration mode, without separately setting the first concentration period information corresponding to the session when the session is set to the concentration mode, i.e., different sessions correspond to the same first concentration period information in the concentration mode. In some embodiments, it is necessary to set the first attention period information corresponding to a session while the session is set to attention mode, for example, when a first user manually sets the first session to attention mode, the first attention period information corresponding to the first session needs to be set simultaneously, and for example, when the session is automatically set to attention mode, the user equipment or the network device further determines and sets the first attention period information corresponding to the first session according to the latest interaction statistics of the first user in a first session page of the first session or the messaging activity corresponding to the first session within a predetermined time range. In some embodiments, starting with the first session set to attentive mode, if the time interval between the current time and the set time reaches the first attentive duration, the attentive state of the first session is removed, the first session is set to normal mode, i.e., the first session is restored to normal chat mode. In some embodiments, starting with the first session set to attentive mode, if the first user reaches the first attentive number historically receiving and sending session messages in the first session (or only historically sending session messages, or only historically receiving session messages), the attentive state of the first session is removed and the first session is set to normal mode. In some embodiments, when the first concentration period information is set, only the first concentration duration information may be set alone, or only the first concentration number information may be set alone, or the first concentration duration information and the first concentration number information may be set at the same time. In some embodiments, the first session is set to the normal mode when the first session reaches one of the first concentration duration and the first concentration number, or the first session reaches the first concentration duration first and then the first concentration number, and the first session is set to the normal mode when the first session reaches the first concentration number, or the first session reaches the first concentration number first and then the first concentration duration, and the first session is set to the normal mode when the first session reaches the first concentration duration.
In some embodiments, said setting said first session to focus mode comprises: and setting the first conversation to be in an attention mode, and setting first attention period information corresponding to the first conversation. In some embodiments, when the first user manually sets the first session to the concentration mode, the first user needs to set the first concentration period information corresponding to the first session at the same time. In some embodiments, when a session is automatically set to attentive mode, the user equipment or the network device further determines and sets first attentive period information corresponding to the first session according to recent interaction statistics of the first user in a first session page of the first session or messaging activity corresponding to the first session within a predetermined time range.
In some embodiments, the first concentration period information includes first concentration duration information; wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises: setting the first session to a normal mode if the first concentration duration information is reached, starting from the first session being set to the concentration mode. In some embodiments, starting with the first session set to attentive mode, if the time interval between the current time and the set time reaches the attentive duration (e.g., 30 minutes), the attentive state of the first session is removed, the first session is set to normal mode, and the first session is restored to normal chat mode.
In some embodiments, said setting said first session to normal mode, starting with said first session set to said attentive mode, if said first attentive duration information is reached, comprises: setting the first conversation to be in a normal mode if the presentation time length of the first conversation page of the first conversation reaches the first concentration time length information from the beginning of setting the first conversation to be in the concentration mode. In some embodiments, starting with the first session being set to attentive mode, if the duration of presentation of the first session page of the first session on the user device reaches the attentive duration, the attentive state of the first session is removed, setting the first session to normal mode. In some embodiments, the first session is set to the normal mode if a presentation duration of the first session page of the first session on the user device reaches the duration of focus, starting from the last time the first user entered the first session page.
In some embodiments, the first concentration period information includes first concentration transmission number information; wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises: setting the first session to a normal mode if the number of session messages sent by the first user in the first session reaches the first concentration sending time information, starting from the setting of the first session to the concentration mode. In some embodiments, starting with the first session set to attentive mode, if the first user reaches the attentive number historically receiving and sending session messages in the first session (or only historically sending session messages, or only historically receiving session messages), the attentive state of the first session is removed and the first session is set to normal mode.
In some embodiments, said canceling sending said first session message comprises: canceling sending the first session message, presenting jump hint information about a target session page of a target session set to the focus mode; and jumping to the target session page in response to a confirmation operation executed by the first user for the jump prompt information. In some embodiments, if the first session is not set to attentive mode, the sending of the first session message is aborted, and jump hint information regarding a target session page of a target session currently set to attentive mode is presented on a current page (e.g., the first session page of the first session), the jump hint information being used to prompt the first user to jump directly to the target session page by clicking on the jump hint information, in response to a confirmation operation performed by the first user with respect to the jump hint information, to jump from the current page to the target session page.
In some embodiments, said canceling sending said first session message comprises: canceling sending the first session message, and executing a copy operation on the first session message; wherein the method further comprises: the user device pastes the first session message in a message input box of a target session page set to the focus mode in response to the first user entering the target session page. In some embodiments, if the first session is not set to attentive mode, the sending of the first session message is aborted and the first session message is copied, and then when a subsequent first user enters a target conversation page of a target conversation currently set to attentive mode, the first session message is automatically pasted directly in a message input box of the target conversation page, or the first session message is pasted in the message input box in response to a paste operation performed by the first user in the message input box.
In some embodiments, the method further comprises: and the user equipment responds to the confirmation operation executed by the first user for the prompt information sending, and sends the first session message to the first session. As shown in fig. 5, the first session message is sent to the first session in response to a confirmation operation performed by the first user for the sending of the reminder information. For example, a first user inputs a first session message on a first session page of a first session and clicks on sending, at this time, if it is determined that the first session is not set to the concentration mode, a prompt box of a response pops up on the first session page for the user to select, and "you input in a non-concentration session, whether to confirm sending" is shown in the prompt box, and yes or no is selected by the first user, if no is selected by the first user, no sending action is performed, and if yes is selected by the first user, it is stated that the first user wants to communicate with other users of the non-concentration session at this time, and the sending of the first session message is continued.
In some embodiments, canceling sending the first session message in response to a canceling operation performed by the first user for the sending of the prompt message includes: starting from the presentation time corresponding to the sending prompt message, responding to the cancel operation executed by the first user aiming at the sending prompt message in a preset time range, and canceling the sending of the first session message; wherein the method further comprises: and if the user equipment exceeds the preset time range, sending the first session message to the first session. As shown in fig. 6, starting from the presentation time of the sending prompt message, in response to a cancellation operation performed by the first user for the sending prompt message within a predetermined time range (e.g., 5 seconds), the sending of the first session message is abandoned, and if the first user has not performed the cancellation operation until the predetermined time range is exceeded, the first session message is sent to the first session. For example, a first user inputs a first session message on a first session page of a first session and clicks on sending, at this time, if it is determined that the first session is not set to the concentration mode, a prompt box of a response pops up on the first session page for the user to select, and "you input in a non-concentration session, will automatically issue after 5 seconds, and you can click on a cancel key to cancel sending" is presented in the prompt box, and if the first user does not click on the cancel key, the first session message is directly issued after 5 seconds, and if the first user clicks on the cancel key, no sending action is performed.
In some embodiments, the method further comprises: the user equipment sets the first session to the normal mode if at least one second session not set to the concentration mode reaches the second concentration switching cycle information. In some embodiments, the second concentration switching cycle information includes, but is not limited to, second concentration duration information, second concentration times information. In some embodiments, the second focused handover period information may be pre-configured by the user equipment or the network device by default. In some embodiments, the first user may set the second attentive switching period information by himself. In some embodiments, starting with the first session set to attentive mode, if the presentation duration on the user device of a second session page of a second session not currently set to attentive mode reaches the second attentive duration, the attentive state of the first session is removed, setting the first session to normal mode. In some embodiments, the first session is set to focus mode on, and if the total presentation duration on the user device for at least one of the one or more second sessions that are not currently set to focus mode reaches the second focus duration, the focus state for the first session is removed and the first session is set to normal mode. In some embodiments, starting with the first session set to attentive mode, if the first user has historically received and sent session messages (or only historically sent session messages, or only historically received session messages) for a certain second session that is not currently set to attentive mode, the attentive state of the first session is removed and the first session is set to normal mode. In some embodiments, starting with the first session set to attentive mode, if the first user has historically received a total number of session messages (or only historically sent session messages, or only historically received session messages) for at least one of the one or more second sessions not currently set to attentive mode, the attentive state of the first session is removed and the first session is set to normal mode. In some embodiments, the first session may be set to normal mode only, or, on the basis thereof, the at least one second session may be set to focus mode as well.
In some embodiments, the method further comprises: the user equipment sets the at least one second session to the focus mode. In some embodiments, one or more of the at least one second session is set to attentive mode in addition to removing the attentive state of the first session and setting the first session to normal mode. In some embodiments, if the at least one second session is one, the second session is directly set to focus mode. In some embodiments, if the at least one second session is multiple, then the multiple second sessions may each be set to attentive mode, or alternatively, some of the multiple second sessions may also be set to attentive mode, e.g., a second session of the multiple second sessions that reached the second attentive switching period information first or last is set to attentive mode.
In some embodiments, the second concentration switching cycle information comprises second concentration duration information; wherein the setting the first session to the normal mode, if the at least one second session not set to the attentive mode reaches the second attentive switching period information, comprises: setting the first conversation to be in a normal mode if the presentation time length of the second conversation page of the at least one second conversation reaches the second concentration time length information from the beginning of setting the first conversation to be in the concentration mode. In some embodiments, starting with the first session set to attentive mode, if the duration of presentation on the user device of a second session page of a second session not currently set to attentive mode reaches the attentive duration, the attentive state of the first session is removed, setting the first session to normal mode. In some embodiments, the first session is set to focus mode on, and if the total presentation duration on the user device for at least one of the one or more second sessions not currently set to focus mode reaches the focus duration, the focus state for the first session is removed and the first session is set to normal mode.
In some embodiments, wherein the second concentration switching cycle information comprises second concentration transmission number information; wherein the setting of the first session to the normal mode, if the at least one second session not set to the concentration mode reaches the second concentration switching cycle information, comprises setting the first session to the normal mode, starting from the setting of the first session to the concentration mode, if the number of session messages that the first user has sent in the second session page of the at least one second session reaches the second concentration sending number information. In some embodiments, starting with the first session set to attentive mode, if the first user has historically received session messages for the number of times (or only historically sent session messages, or only historically received session messages) in some second session that is not currently set to attentive mode, the attentive state of the first session is removed and the first session is set to normal mode. In some embodiments, starting with the first session set to attentive mode, if the total number of times the first user historically transceived session messages (or only historically sent session messages, or only historically received session messages) in at least one of the one or more second sessions not currently set to attentive mode reaches the attentive number, the attentive state of the first session is removed and the first session is set to normal mode.
In some embodiments, the method further comprises: the user equipment sets the first session to a normal mode in response to a focus release operation performed by the first user for the first session. In some embodiments, the first user may also actively release the attentive state of the first session that has currently been set to attentive mode, set the first session to normal mode, i.e., restore the first session to normal chat mode.
In some embodiments, the method further comprises: the user equipment sets the first session to a normal mode and the third session to the attentive mode in response to an attentive switch operation performed by the first user for the third session that is not set to the attentive mode. In some embodiments, the focus toggle operation may be the first user clicking a focus toggle button on a third session page of a third session not currently set to focus mode, setting the third session to focus mode, and contacting a focus state of the first session previously set to focus mode, setting the first session to normal mode, thereby switching a focus session corresponding to focus mode from the first session to the third session.
In some embodiments, the method further comprises: the user equipment acquires the remaining concentration period information corresponding to the first session; setting the third session to the normal mode if the third session reaches the remaining concentration period information, starting with the third session being set to the concentration mode. In some embodiments, the first concentration period information corresponding to the concentration mode or the first concentration period information corresponding to the first session includes, but is not limited to, first concentration duration information, first concentration times information, the remaining concentration period information includes, but is not limited to, remaining concentration duration information equal to the first concentration duration information minus the concentration duration information currently reached by the first session, remaining concentration times information equal to the first concentration times information minus the concentration times information currently reached by the first session. In some embodiments, when the third session is set to attentive mode, the remaining attentive cycle information is configured to the third session, i.e., the remaining attentive cycle information not used by the first session continues to be used by the third session. In some embodiments, the first user may also perform a numerical adjustment based on the remaining concentration period information, and configure the numerically adjusted remaining concentration period information to the third session. In some embodiments, the first user may also adjust the remaining concentration period information from a manner of duration of concentration to a manner of number of concentrations.
In some embodiments, the method further comprises: the user equipment sets third concentration period information corresponding to the third conversation; setting the third session to the normal mode if the third session reaches the third concentration period information, starting with the third session being set to the concentration mode. In some embodiments, when the concentration switching operation is performed for the third session, the third concentration period information corresponding to the third session may be reset, and the third concentration period information includes, but is not limited to, at least one of the third concentration duration information and the third concentration sending time information, or the first concentration period information corresponding to the first session may also be directly set to the third session. In some embodiments, starting with the third session being switched to attentive mode, if the third session reaches the third attentive period information, the third session is set to normal mode, and the attentive mode of the third session is released.
Fig. 2 shows a block diagram of a user equipment for sending a session message according to an embodiment of the present application, the user equipment comprising a one-module 11 and a two-module 12. A module 11 for determining, in response to a message sending triggering operation performed by a first user with respect to a first session message, whether the first session is set to an attentive mode; a second module 12, configured to send the first session message to the first session if the first session message is received; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information.
A module 11 for determining whether the first session is set to focus mode in response to a messaging trigger operation performed by the first user with respect to the first session message. In some embodiments, the first session may be a private chat session of the first user with a friend in the social application, or may also be a group chat session of a session group to which the first user joins in the social application. In some embodiments, the message sending triggering operation may be a message sending operation performed by the first user for a first session message entered in a message entry box of a first session page of the first session, or may also be a message forwarding operation performed by the first user for a first session message presented on the first session page or other session pages to forward the first session message to the first session. In some embodiments, at least one of the first user's corresponding one or more sessions in the social application may be set to attentive mode, i.e., there may be multiple sessions set to attentive mode for the first user at the same time, or only one of the first user's corresponding one or more sessions in the social application may be set to attentive mode, i.e., there may be only one session set to attentive mode for the first user at the same time. In some embodiments, the first user may manually set a certain session to the attentive mode, or the user device or the network device may set a certain session of the first user that satisfies a predetermined condition to the attentive mode, where the predetermined condition may be that the messaging activity corresponding to the session within a predetermined time range is greater than or equal to a predetermined activity threshold, or that the presentation time length of the session page corresponding to the session within the predetermined time range on the user device is greater than or equal to a predetermined time length threshold.
A second module 12, configured to, if yes, send the first session message to the first session by the ue; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information. In some embodiments, if the first session has been set to attentive mode, the first session message is sent directly into the first session, for example, directly to users of the first session other than the first user, or via a network device. In some embodiments, if the first session is not set to attentive mode, sending reminder information about the first session message is presented on a current page (the first session page of the first session, or session pages of other sessions), the sending reminder information being used to remind the first user that a session message is currently being sent to a non-attentive session that is not set to attentive mode, and if the first user performs a cancel operation with respect to the sending reminder information, the sending of the first session message is abandoned. In some embodiments, if the first user performs a confirmation operation or does not perform any operation with respect to the sending of the reminder information, the first session message is still continued to be sent into the first session. For example, a first user inputs a first session message on a first session page of a first session and clicks on sending, and at this time, if it is determined that the first session is not set to the concentration mode, a prompt box of a response pops up on the first session page for the user to select, and the prompt box may be presented in various ways, without limitation, wherein one presentation manner may be to present "you input in a non-concentration session and confirm sending" and the first user selects yes or no, and if the first user selects no, no sending action is performed, and if the first user selects yes, the first user indicates that the first user wants to communicate with other users of the non-concentration session at this time, and still continues sending the first session message; another presentation mode may be to present "you input in the non-focused session, and will automatically send out after 5 seconds, you can click the cancel key to cancel sending", if the first user does not click the cancel key, the first session message is directly sent out after 5 seconds, and if the first user clicks the cancel key, no sending action is performed. The method and the device can avoid the message withdrawal trace, avoid various embarrassments possibly caused by the message withdrawal, greatly reduce the probability of sending the message by mistake, improve the message sending experience of the user and enhance the message sending efficiency of the user.
In some embodiments, if the first session is set to focus mode; wherein the device is further configured to: setting the first session to focus mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to focus mode comprises: setting the first session to an attentive mode in response to an attentive setting operation performed by the first user for the first session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to focus mode comprises: and setting the first conversation into a concentration mode according to the interaction statistical information of the first user within a current preset time range from the first conversation page of the first conversation. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the interaction statistical information includes interaction times information and/or interaction duration information; wherein the setting the first session to a focus mode according to the interaction statistical information of the first user within a current predetermined time range from the first session page of the first session comprises: and if the interaction frequency information and/or the interaction duration information of the first user in the first session page within the current preset time range reaches a preset frequency threshold and/or a preset duration threshold, setting the first session to be in a concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to focus mode comprises: setting the first conversation to be in a concentration mode according to at least one historical conversation message which is recently transceived in a first conversation page of the first conversation by the first user. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to focus mode based on at least one historical session message recently transceived by said first user in a first session page of said first session comprises: and if the first user comprises at least one preset keyword in at least one history conversation message which is recently sent and received in the first conversation page, setting the first conversation to be in a concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting the first session to a normal mode if the first session reaches first concentration period information, starting from the first session being set to the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to focus mode comprises: and setting the first conversation to be in an attention mode, and setting first attention period information corresponding to the first conversation. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the first concentration period information includes first concentration duration information; wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises: setting the first session to a normal mode if the first concentration duration information is reached, starting from the first session being set to the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said setting said first session to normal mode, starting with said first session set to said attentive mode, if said first attentive duration information is reached, comprises: setting the first conversation to be in a normal mode if the presentation time length of the first conversation page of the first conversation reaches the first concentration time length information from the beginning of setting the first conversation to be in the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the first concentration period information includes first concentration transmission number information; wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises: setting the first session to a normal mode if the number of session messages sent by the first user in the first session reaches the first concentration sending time information, starting from the setting of the first session to the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said canceling sending said first session message comprises: canceling sending the first session message, presenting jump hint information about a target session page of a target session set to the focus mode; and jumping to the target session page in response to a confirmation operation executed by the first user for the jump prompt information. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, said canceling sending said first session message comprises: canceling sending the first session message, and executing a copy operation on the first session message; wherein the method further comprises: the user device pastes the first session message in a message input box of a target session page set to the focus mode in response to the first user entering the target session page. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: and responding to a confirmation operation executed by the first user for the sending prompt information, and sending the first session message to the first session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, canceling sending the first session message in response to a canceling operation performed by the first user for the sending of the prompt message includes: starting from the presentation time corresponding to the sending prompt message, responding to the cancel operation executed by the first user aiming at the sending prompt message in a preset time range, and canceling the sending of the first session message; wherein the device is further configured to: and if the preset time range is exceeded, sending the first session message to the first session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting the first session to the normal mode if at least one second session not set to the attentive mode reaches the second attentive switching period information. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting the at least one second session to the focus mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the second concentration switching cycle information comprises second concentration duration information; wherein the setting the first session to the normal mode, if the at least one second session not set to the attentive mode reaches the second attentive switching period information, comprises: setting the first conversation to be in a normal mode if the presentation time length of the second conversation page of the at least one second conversation reaches the second concentration time length information from the beginning of setting the first conversation to be in the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, wherein the second concentration switching cycle information comprises second concentration transmission number information; wherein the setting of the first session to the normal mode, if the at least one second session not set to the concentration mode reaches the second concentration switching cycle information, comprises setting the first session to the normal mode, starting from the setting of the first session to the concentration mode, if the number of session messages that the first user has sent in the second session page of the at least one second session reaches the second concentration sending number information. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting the first session to a normal mode in response to a focus release operation performed by the first user for the first session. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting the first session to a normal mode and the third session to the focus mode in response to a focus switch operation performed by the first user for a third session that is not set to focus mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: acquiring the residual concentration period information corresponding to the first session; setting the third session to the normal mode if the third session reaches the remaining concentration period information, starting with the third session being set to the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: setting third concentration period information corresponding to the third conversation; setting the third session to the normal mode if the third session reaches the third concentration period information, starting with the third session being set to the concentration mode. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
Fig. 3 shows a flowchart of a method for sending a session message according to an embodiment of the present application, the method including step S21 and step S22. In step S21, the network device receives a first session message sent by a first user in a first session, and determines whether the first session is set to an attentive mode; in step S22, if yes, the network device sends the first session message to the first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information.
In step S21, the network device receives a first session message sent by a first user in a first session, and determines whether the first session is set to an attentive mode. In some embodiments, the operations performed by the network device are the same as or similar to the operations performed by the user equipment, and are not described herein again.
In step S22, if yes, the network device sends the first session message to the first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information. In some embodiments, the first session message is sent directly to the first session if the first session has been set to attentive mode, otherwise sending a sending alert message for the first session message to the first user, canceling sending the first session message if the first user performs a cancel operation for the sending alert message, and sending the first session message to the first session if the first user performs a confirm operation or does not perform any operation for the sending alert message. In some embodiments, the operations performed by the network device are the same as or similar to the operations performed by the user equipment, and are not described herein again.
Fig. 4 shows a structure diagram of a network device for sending a session message according to an embodiment of the present application, the device includes a two-in-one module 21 and a two-in-two module 22. A first module 21, configured to receive a first session message sent by a first user in a first session, and determine whether the first session is set to an attentive mode; a second module 22, configured to send the first session message to the first session if the first session message is a first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information.
A module 21 for receiving a first session message sent by a first user in a first session, and determining whether said first session is set to focus mode. In some embodiments, the operations performed by the network device are the same as or similar to the operations performed by the user equipment, and are not described herein again.
A second module 22, configured to send the first session message to the first session if the first session message is a first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information. In some embodiments, the first session message is sent directly to the first session if the first session has been set to attentive mode, otherwise sending a sending alert message for the first session message to the first user, canceling sending the first session message if the first user performs a cancel operation for the sending alert message, and sending the first session message to the first session if the first user performs a confirm operation or does not perform any operation for the sending alert message. In some embodiments, the operations performed by the network device are the same as or similar to the operations performed by the user equipment, and are not described herein again.
In addition to the methods and apparatus described in the embodiments above, the present application also provides a computer readable storage medium storing computer code that, when executed, performs the method as described in any of the preceding claims.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 7 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as shown in FIG. 7, the system 300 can be implemented as any of the devices in the various embodiments described. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used, for example, to load and store data and/or instructions for system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (28)

1. A method for sending session messages, which is applied to user equipment, wherein the method comprises the following steps:
determining whether a first session is set to an attentive mode in response to a messaging trigger operation performed by a first user with respect to the first session message;
if so, sending the first session message to the first session; and otherwise, presenting sending prompt information related to the first session message, and canceling the sending of the first session message in response to canceling operation executed by the first user for the sending prompt information.
2. The method of claim 1, wherein if the first session is set to focus mode;
wherein the method further comprises, prior to the determining whether the first session is set to attentive mode in response to a messaging trigger operation performed by the first user with respect to the first session message, performing:
setting the first session to focus mode.
3. The method of claim 2, wherein the setting the first session to focus mode comprises:
setting the first session to an attentive mode in response to an attentive setting operation performed by the first user for the first session.
4. The method of claim 2, wherein the setting the first session to focus mode comprises:
and setting the first conversation into a concentration mode according to the interaction statistical information of the first user within a current preset time range from the first conversation page of the first conversation.
5. The method according to claim 4, wherein the interaction statistical information includes interaction times information and/or interaction duration information;
wherein the setting the first session to a focus mode according to the interaction statistical information of the first user within a current predetermined time range from the first session page of the first session comprises:
and if the interaction frequency information and/or the interaction duration information of the first user in the first session page within the current preset time range reaches a preset frequency threshold and/or a preset duration threshold, setting the first session to be in a concentration mode.
6. The method of claim 2, wherein the setting the first session to focus mode comprises:
setting the first conversation to be in a concentration mode according to at least one historical conversation message which is recently transceived in a first conversation page of the first conversation by the first user.
7. The method of claim 6, wherein the setting the first session to focus mode according to at least one historical conversation message recently transceived by the first user in a first conversation page of the first session comprises:
and if the first user comprises at least one preset keyword in at least one history conversation message which is recently sent and received in the first conversation page, setting the first conversation to be in a concentration mode.
8. The method of claim 2, wherein the method further comprises:
setting the first session to a normal mode if the first session reaches first concentration period information, starting from the first session being set to the concentration mode.
9. The method of claim 8, wherein the setting the first session to focus mode comprises:
and setting the first conversation to be in an attention mode, and setting first attention period information corresponding to the first conversation.
10. The method of claim 8 or 9, wherein the first concentration cycle information includes first concentration duration information;
wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises:
setting the first session to a normal mode if the first concentration duration information is reached, starting from the first session being set to the concentration mode.
11. The method of claim 10, wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first attentive duration information is reached, comprises:
setting the first conversation to be in a normal mode if the presentation time length of the first conversation page of the first conversation reaches the first concentration time length information from the beginning of setting the first conversation to be in the concentration mode.
12. The method of claim 8 or 9, wherein the first concentration period information includes first concentration transmission times information;
wherein said setting the first session to the normal mode, starting with the first session being set to the attentive mode, if the first session reaches first attentive period information, comprises:
setting the first session to a normal mode if the number of session messages sent by the first user in the first session reaches the first concentration sending time information, starting from the setting of the first session to the concentration mode.
13. The method of claim 1, wherein the canceling of the sending of the first session message comprises:
canceling sending the first session message, presenting jump hint information about a target session page of a target session set to the focus mode;
and jumping to the target session page in response to a confirmation operation executed by the first user for the jump prompt information.
14. The method of claim 1, wherein the canceling of the sending of the first session message comprises:
canceling sending the first session message, and executing a copy operation on the first session message;
wherein the method further comprises:
in response to the first user entering a target conversation page of a target conversation set to the focus mode, pasting the first conversation message in a message input box of the target conversation page.
15. The method of claim 1, wherein the method further comprises:
and responding to a confirmation operation executed by the first user for the sending prompt information, and sending the first session message to the first session.
16. The method of claim 1, wherein canceling the transmission of the first session message in response to a cancellation operation performed by the first user with respect to the transmission prompt information comprises:
starting from the presentation time corresponding to the sending prompt message, responding to the cancel operation executed by the first user aiming at the sending prompt message in a preset time range, and canceling the sending of the first session message;
wherein the method further comprises:
and if the preset time range is exceeded, sending the first session message to the first session.
17. The method of claim 2, wherein the method further comprises:
setting the first session to the normal mode if at least one second session not set to the attentive mode reaches the second attentive switching period information.
18. The method of claim 17, wherein the method further comprises:
setting the at least one second session to the focus mode.
19. The method of claim 17 or 18, wherein the second concentration switching cycle information includes second concentration duration information;
wherein the setting the first session to the normal mode, if the at least one second session not set to the attentive mode reaches the second attentive switching period information, comprises:
setting the first conversation to be in a normal mode if the presentation time length of the second conversation page of the at least one second conversation reaches the second concentration time length information from the beginning of setting the first conversation to be in the concentration mode.
20. The method of claim 17 or 18, wherein the second concentration switching cycle information includes second concentration transmission number information;
wherein the setting the first session to the normal mode, if the at least one second session not set to the attentive mode reaches the second attentive switching period information, comprises:
setting the first session to a normal mode if the number of session messages sent by the first user in the second session page of the at least one second session reaches the second concentration sending time information, starting from the first session being set to the concentration mode.
21. The method of claim 2, wherein the method further comprises:
setting the first session to a normal mode in response to a focus release operation performed by the first user for the first session.
22. The method of claim 2, wherein the method further comprises:
setting the first session to a normal mode and the third session to the focus mode in response to a focus switch operation performed by the first user for a third session that is not set to focus mode.
23. The method of claim 22, wherein the method further comprises:
acquiring the residual concentration period information corresponding to the first session;
setting the third session to the normal mode if the third session reaches the remaining concentration period information, starting with the third session being set to the concentration mode.
24. The method of claim 22, wherein the method further comprises:
setting third concentration period information corresponding to the third conversation;
setting the third session to the normal mode if the third session reaches the third concentration period information, starting with the third session being set to the concentration mode.
25. A method for sending session messages, which is applied to a network device, wherein the method comprises the following steps:
receiving a first session message sent by a first user in a first session, determining whether the first session is set to an attentive mode;
if so, sending the first session message to the first session; otherwise, sending the sending prompt information about the first session message to the first user, and canceling the sending of the first session message in response to a canceling operation executed by the first user for the sending prompt information.
26. A computer device for sending a conversation message, comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method according to any of claims 1 to 25.
27. A computer-readable storage medium, on which a computer program/instructions is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 25.
28. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method according to any one of claims 1 to 25 when executed by a processor.
CN202110825428.XA 2021-07-21 2021-07-21 Method, apparatus, medium, and program product for transmitting session message Active CN113535021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110825428.XA CN113535021B (en) 2021-07-21 2021-07-21 Method, apparatus, medium, and program product for transmitting session message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110825428.XA CN113535021B (en) 2021-07-21 2021-07-21 Method, apparatus, medium, and program product for transmitting session message

Publications (2)

Publication Number Publication Date
CN113535021A true CN113535021A (en) 2021-10-22
CN113535021B CN113535021B (en) 2022-12-06

Family

ID=78100770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110825428.XA Active CN113535021B (en) 2021-07-21 2021-07-21 Method, apparatus, medium, and program product for transmitting session message

Country Status (1)

Country Link
CN (1) CN113535021B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729413A (en) * 2013-12-12 2014-04-16 小米科技有限责任公司 Method and device for ordering conversation items in instant messaging and mobile terminal
CN104065628A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Session processing method and device thereof
US20140304346A1 (en) * 2013-04-03 2014-10-09 Samsung Electronics Co., Ltd. Method and apparatus for assigning conversation level in portable terminal
CN107295173A (en) * 2017-06-21 2017-10-24 广东欧珀移动通信有限公司 Delete the method and Related product of chat messages
CN107533417A (en) * 2015-04-16 2018-01-02 微软技术许可有限责任公司 Message is presented in a communication session
CN110519153A (en) * 2019-08-15 2019-11-29 连尚(新昌)网络科技有限公司 A kind of method and apparatus sending group session message
CN110730120A (en) * 2019-10-31 2020-01-24 北京小米移动软件有限公司 Instant communication message processing method, device, equipment and storage medium
CN112540712A (en) * 2020-12-07 2021-03-23 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065628A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Session processing method and device thereof
US20140304346A1 (en) * 2013-04-03 2014-10-09 Samsung Electronics Co., Ltd. Method and apparatus for assigning conversation level in portable terminal
CN103729413A (en) * 2013-12-12 2014-04-16 小米科技有限责任公司 Method and device for ordering conversation items in instant messaging and mobile terminal
CN107533417A (en) * 2015-04-16 2018-01-02 微软技术许可有限责任公司 Message is presented in a communication session
CN107295173A (en) * 2017-06-21 2017-10-24 广东欧珀移动通信有限公司 Delete the method and Related product of chat messages
CN110519153A (en) * 2019-08-15 2019-11-29 连尚(新昌)网络科技有限公司 A kind of method and apparatus sending group session message
CN110730120A (en) * 2019-10-31 2020-01-24 北京小米移动软件有限公司 Instant communication message processing method, device, equipment and storage medium
CN112540712A (en) * 2020-12-07 2021-03-23 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113535021B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN110417641B (en) Method and equipment for sending session message
CN110266505B (en) Method and equipment for managing session group
CN110765395B (en) Method and equipment for providing novel information
CN110336733B (en) Method and equipment for presenting emoticon
CN112685121A (en) Method and equipment for presenting session entrance
CN111162990B (en) Method and equipment for presenting message notification
CN110290058B (en) Method and equipment for presenting session message in application
CN110535755B (en) Method and equipment for deleting session message
CN110768894A (en) Method and equipment for deleting session message
CN110795635A (en) Method and device for presenting books
CN112822430B (en) Conference group merging method and device
CN110166955B (en) Method and equipment for reminding schedule
CN113535021B (en) Method, apparatus, medium, and program product for transmitting session message
CN111932230A (en) Method and equipment for modifying red envelope
CN113157162B (en) Method, apparatus, medium and program product for revoking session messages
CN112688856B (en) Method and device for releasing friend relationship
CN112702257B (en) Method and device for deleting friend application
CN110460642B (en) Method and device for managing reading mode
CN112583696B (en) Method and equipment for processing group session message
CN111934981A (en) Method and equipment for withdrawing red packet
CN112702462B (en) Method and equipment for adding packets
CN112422410B (en) Method and equipment for sharing information in session window of social application
CN111552906B (en) Method and equipment for responding to page access request in reading application
CN112750436B (en) Method and equipment for determining target playing speed of voice message
CN115061985A (en) Method, apparatus, medium, and program product for presenting a session message

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