CN113495657A - Session message screening method and device, computer equipment and storage medium - Google Patents

Session message screening method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113495657A
CN113495657A CN202010260344.1A CN202010260344A CN113495657A CN 113495657 A CN113495657 A CN 113495657A CN 202010260344 A CN202010260344 A CN 202010260344A CN 113495657 A CN113495657 A CN 113495657A
Authority
CN
China
Prior art keywords
session message
message
area
session
screening
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.)
Pending
Application number
CN202010260344.1A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010260344.1A priority Critical patent/CN113495657A/en
Publication of CN113495657A publication Critical patent/CN113495657A/en
Pending legal-status Critical Current

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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • G06F3/04842Selection of displayed objects or displayed text elements

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

The application relates to a session message screening method, a session message screening device, computer equipment and a storage medium. The method comprises the following steps: detecting a session message screening event triggered in a session page; responding to a session message screening event, and displaying a session message selection page, wherein the session message selection page comprises a session message to be selected and a screening format of the message to be selected; when detecting the area selection operation acting on the session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting the area corresponding to the target session message to be selected to obtain a session message area; when the completion of the screening operation acting on the session message selection page is detected, the selected message screening format is obtained from the message screening formats to be selected, and the target session message to be selected in the session message area is screened according to the selected message screening format to obtain the target session message. The method can improve the efficiency of screening the session messages.

Description

Session message screening method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for screening session messages, a computer device, and a storage medium.
Background
With the development of internet technology, instant messaging technology has emerged. More and more people are beginning to communicate using instant messaging applications. Currently, there are many session messages involved in an instant messaging session. When a user needs to screen messages in a specific format in session messages, the user is required to manually screen messages in the specific format. For example, when pictures in the session message are screened, the user needs to manually screen the picture messages one by one. However, users have resulted in inefficient screening of conversational messages by manually screening out messages in a particular format.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for processing a session message, which can improve efficiency of screening the session message.
A method of session message screening, the method comprising:
detecting a session message screening event triggered in a session page;
responding to a session message screening event, and displaying a session message selection page, wherein the session message selection page comprises a session message to be selected and a screening format of the message to be selected;
when detecting the area selection operation acting on the session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting the area corresponding to the target session message to be selected to obtain a session message area;
when the completion of the screening operation acting on the session message selection page is detected, the selected message screening format is obtained from the message screening formats to be selected, and the target session message to be selected in the session message area is screened according to the selected message screening format to obtain the target session message.
An apparatus for screening session messages, the apparatus comprising:
the detection module is used for detecting a session message screening event triggered in a session page;
the page display module is used for responding to the session message screening event and displaying a session message selection page, and the session message selection page comprises the session message to be selected and a screening format of the message to be selected;
the area selection module is used for determining each target session message to be selected corresponding to the selected area selection operation when the area selection operation acting on the session message to be selected is detected, and selecting the area corresponding to each target session message to be selected to obtain a session message area;
and the screening module is used for acquiring the selected message screening format from the message screening formats to be selected when the completion of screening operation acting on the session message selection page is detected, and screening each target session message to be selected in the session message area according to the selected message screening format to obtain the target session message.
In one embodiment, the region selection module includes:
the cancelling unit is used for reducing a first specific area corresponding to a first specific session message to be selected from selected to unselected when detecting a cancelling operation of the first specific session message to be selected, which acts on the specific area, so as to obtain a target area of the unselected first specific area; and combining the first area, the specific area without selecting the first specific area and the second area to obtain a session message area.
In one embodiment, the screening module further includes:
the server screening unit is used for sending the selected message screening format and the target session messages to be selected in the session message area to the server, and the server is used for screening the target session messages to be selected in the session message area according to the selected message screening format to obtain the target session messages; and acquiring the target session message returned by the server.
In one embodiment, the session message screening apparatus further includes:
the menu display module is used for displaying an operation option menu related to the target session message;
and the operation option execution module is used for executing corresponding trigger operation by using the target session message when detecting an operation trigger event in the operation option menu.
In one embodiment, the operation option execution module includes:
the forwarding unit is used for responding to a forwarding operation trigger event when the forwarding operation trigger event in the operation option menu is detected, and displaying a list of identifiers to be forwarded; and when the selection operation acting on the to-be-forwarded identifier in the to-be-forwarded identifier list is detected, sending the target session message to the terminal corresponding to the to-be-forwarded identifier.
In one embodiment, the operation option execution module includes:
the sharing unit is used for responding to a sharing operation trigger event when detecting the sharing operation trigger event in the operation option menu and jumping to an identification page to be shared in a target application; and when the selection operation acting on the to-be-shared identifier in the to-be-shared identifier page is detected, sending a target session message to the terminal corresponding to the to-be-shared identifier.
In one embodiment, the operation option execution module includes:
and the storage unit is used for responding to the storage operation trigger event and storing the target session message into the memory when the storage operation trigger event in the operation option menu is detected.
In one embodiment, the operation option execution module includes:
the reprint unit is used for responding to a reprint operation trigger event when detecting the reprint operation trigger event in the operation option menu and displaying a reprint configuration page; and when detecting that the operation of the reprinting configuration acted on the reprinting configuration page is completed, storing the target session message into the reprinting address configured by the reprinting configuration page.
In one embodiment, the operation option execution module includes:
and the collection unit is used for responding to the collection operation trigger event when detecting the collection operation trigger event in the operation option menu, storing the target session message to the target address and displaying the prompt message.
In one embodiment, the detection module comprises:
the message triggering unit is used for detecting a session message screening event triggered by the operation on the first session message in the session page;
a page presentation module, comprising:
the first display unit is used for responding to a session message screening event triggered by the operation on the first session message and displaying a session message selection page for selecting the area corresponding to the first session message;
the region selection module comprises:
the message operation unit is used for selecting a third area corresponding to the third to-be-selected session message when detecting the selection operation acting on the third to-be-selected session message in the to-be-selected session message, determining a middle to-be-selected session message between the third area and the area corresponding to the first session message, and selecting a middle area corresponding to the middle to-be-selected session message;
and the area obtaining unit is used for combining the area corresponding to the first session message, the third area and the middle area to obtain a session message area.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
detecting a session message screening event triggered in a session page;
responding to a session message screening event, and displaying a session message selection page, wherein the session message selection page comprises a session message to be selected and a screening format of the message to be selected;
when detecting the area selection operation acting on the session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting the area corresponding to the target session message to be selected to obtain a session message area;
when the completion of the screening operation acting on the session message selection page is detected, the selected message screening format is obtained from the message screening formats to be selected, and the target session message to be selected in the session message area is screened according to the selected message screening format to obtain the target session message.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting a session message screening event triggered in a session page;
responding to a session message screening event, and displaying a session message selection page, wherein the session message selection page comprises a session message to be selected and a screening format of the message to be selected;
when detecting the area selection operation acting on the session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting the area corresponding to the target session message to be selected to obtain a session message area;
when the completion of the screening operation acting on the session message selection page is detected, the selected message screening format is obtained from the message screening formats to be selected, and the target session message to be selected in the session message area is screened according to the selected message screening format to obtain the target session message.
According to the session message screening method, the session message screening device, the computer equipment and the storage medium, after the session message screening event is triggered, the session message area and the message screening format are selected in the session message selection page, and when the screening completion operation is detected in the session message selection page, the session message area can be directly screened according to the selected message screening format to obtain the target session message, so that one message with a specific format is not required to be selected, and the efficiency of session message screening is improved.
Drawings
FIG. 1 is a diagram of an exemplary application environment for a method for session message screening;
FIG. 2 is a flowchart illustrating a method for screening session messages according to an embodiment;
FIG. 3 is a diagram illustrating a session page triggered session message screening events in accordance with an exemplary embodiment;
FIG. 4 is a diagram of a message selection page for unselected session messages in an exemplary embodiment;
FIG. 5 is a diagram illustrating a message selection page for selecting a session message region in the embodiment of FIG. 4;
FIG. 6 is a diagram illustrating a message selection page after selecting a text format in an exemplary embodiment;
FIG. 7 is a flow diagram illustrating obtaining a session message region, according to an embodiment;
FIG. 8 is a diagram illustrating a message selection page after a cancel operation is performed in an exemplary embodiment;
FIG. 9 is a diagram of an embodiment of a popup for an operation options menu;
FIG. 10 is a flowchart illustrating obtaining a session message area according to another embodiment;
FIG. 11 is a diagram illustrating a message selection page for selecting a region corresponding to a first session message in an exemplary embodiment;
FIG. 12 is a diagram illustrating a message selection page for selecting a session message region in the embodiment of FIG. 11;
fig. 13 is a flowchart illustrating a session message screening method according to an embodiment;
fig. 14 is a block diagram showing the structure of a session message screening apparatus according to an embodiment;
FIG. 15 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The session message screening method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 detects a session message screening event triggered in a session page; the terminal 102 responds to the session message screening event and displays a session message selection page, wherein the session message selection page comprises the session message to be selected and a screening format of the message to be selected; when detecting the area selection operation acting on the session message to be selected, the terminal 102 determines a target session message to be selected corresponding to the area selection operation, and selects an area corresponding to the target session message to be selected to obtain a session message area; when the terminal 102 detects that the screening completion operation acting on the session message selection page is completed, the selected message screening format is obtained from the message screening formats to be selected, the target session message to be selected in the session message area is screened according to the selected message screening format to obtain the target session message, and the terminal 102 can send the obtained target session message to the server 104 for storage, so that the server 104 can be ensured to have the screening record. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a session message screening method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
at step 202, a session message screening event triggered in a session page is detected.
The conversation page refers to a page for presenting a conversation message, and for example, may be a page for presenting a conversation message sent by a conversation party in a social application. The social application is an application which can help users perform network social interaction based on a social network. The social application typically has an instant messaging function, and the social application may be an instant messaging application or the like. For example, the page may be a page in a social networking website for presenting conversation messages sent between users of the website. The website with the social function refers to a website which can be used by website users for network social interaction. The session page may be a group page or a single chat page. The group page refers to a page on which a multi-person conversation is possible. A single chat page refers to a page that can conduct a single-to-single session.
The conversation message refers to the interactive content displayed in the conversation page, and is the interactive content which is input into the conversation page by the user. The session messages may be in different formats including at least one of a text format, a picture format, a voice format, a file format, a video format, and a live format.
The session message screening event refers to an event for triggering the screening of the session message in the session page. For example, the session message filtering event is triggered by clicking a session message in the session page, for example, the session message filtering event is triggered by clicking a session message filtering button in the session page. For example, the session message screening event is triggered by pressing the session page for a preset time length. Such as triggering session message screening events by sliding on a session page, etc.
Specifically, when the user operates in the session page according to the operation of triggering the session message screening event, the terminal detects the session message screening event triggered in the session page. The operation of triggering the session message screening event may include a click operation, a press operation, a move operation, a slide operation, or the like.
In a specific embodiment, as shown in fig. 3, a schematic diagram of triggering a session message screening event in a session page is shown. The user presses a conversation message 31 'crowd friend 3 picture message' corresponding to the crowd friend 3 in a preset time period in a group conversation page 30, the terminal detects the pressing operation, an operation menu bar 32 for the conversation message is displayed on the upper layer of the conversation message 31 'crowd friend 3 picture message', and the terminal detects that the user clicks the screening operation in the operation menu bar 32, so that a conversation message screening event is triggered.
Step 204, responding to the session message screening event, displaying a session message selection page, wherein the session message selection page comprises the session message to be selected and the screening format of the message to be selected.
The session message selection page is used for selecting session messages, and session messages to be selected and a screening format of the session messages to be selected are displayed in the session message selection page. The session message to be selected is the session message obtained by masking all the session messages in the session page, and masking refers to enabling the session messages in the session page to be in a state of waiting for selection. The screening format of the messages to be selected is preset and can be selected as the format of the session messages.
Specifically, when detecting a session message screening event triggered in a session page, the terminal displays a session message selection page displaying a to-be-selected session message and a to-be-selected message screening format in response to the session message screening event.
In one embodiment, in response to the session message screening event, the terminal directly generates a session message selection page according to the session page, that is, masking the session messages in the session page, and displaying the screening format of the messages to be selected to obtain the session message selection page.
In one embodiment, in response to the session message screening event, the session page is jumped to the session message selection page, that is, the page address of the session message selection page is obtained, and the terminal jumps to the session message selection page according to the page address.
In a specific embodiment, as shown in fig. 4, a schematic diagram of an illustrated session message selection page is shown, wherein a candidate message screening format is displayed below the session message selection page, a hatched area of a line in the diagram is a candidate session message, and the line hatching represents a mask.
In step 206, when the area selection operation acting on the session message to be selected is detected, the target session message to be selected corresponding to the area selection operation is determined, and the area corresponding to the target session message to be selected is selected to obtain the session message area.
The area selection operation refers to an operation of selecting a plurality of session messages to be selected, and may include a click operation, a press operation, a move operation, a slide operation, or the like. The target session message to be selected refers to a plurality of session messages to be selected by the area selection operation. The session message area refers to an area corresponding to the selected target session message to be selected, and the area corresponding to the target session message to be selected refers to an area including the target session message to be selected and a user identifier sent by the target session message to be selected. The user identifier is used for identifying a user sending a target to-be-selected session message, and may be at least one of a name, a head portrait, an account number, a mobile phone number and an identity card number.
Specifically, when detecting a region selection operation acting on a session message to be selected in a session message selection page, the terminal acquires a target session message to be selected corresponding to the region selection operation, and removes a mask of a region corresponding to the target session message to be selected to obtain a session message region.
In a specific embodiment, as shown in fig. 5, a schematic diagram of a session message region is obtained by performing a region selection operation from a session message selection page illustrated in the specific embodiment of fig. 4, where a user slides from a to-be-selected session message 50 corresponding to a buddy 3 to a to-be-selected session message 53 corresponding to buddy 0 by using a sliding operation, at this time, when the terminal detects that a region selection operation acting on the to-be-selected session message slides from the to-be-selected session message 50 to the to-be-selected session message 53, a determined target to-be-selected session message includes the to-be-selected session message 50, the to-be-selected session message 51, the to-be-selected session message 52, and the to-be-selected session message 53, and a region corresponding to the target to-be-selected session message, that is, a region including the to-be-selected session message, a buddy name, and a buddy head portrait, that is, a region with a shadow removed from lines in the diagram, that is an obtained session message region.
And 208, when the completion of the screening operation acting on the session message selection page is detected, acquiring the selected message screening format from the message screening formats to be selected, and screening the target session message to be selected in the session message area according to the selected message screening format to obtain the target session message.
The screening completion operation is a preset trigger operation and is used for screening the target session message to be selected in the session message selection page according to the selected message screening format, and the screening completion operation acts on the session message selection page and specifically can act on any area, a preset area or a preset control of the session message selection page.
The selected message screening format refers to a session message format selected from the session message selection page, and may be one session message format or a plurality of session message formats, for example, the selected message screening format may be only a picture format or a picture format and a voice format.
The target session message refers to a session message having the selected message screening format. Such as a session message in a picture format.
Specifically, when the user finishes selecting the session message to be selected in the message selection page, the user can select the session message format to be screened from the displayed session message formats, then perform the screening finishing operation, when the terminal detects the screening finishing operation acting on the session message selection page, obtain the selected message screening format from the message screening formats to be selected, screen the target session message to be selected in the session message area according to the selected message screening format, and use the screened session message as the target session message.
In one embodiment, after the terminal obtains the selected message screening format from the message screening formats to be selected, the terminal obtains the message identifiers corresponding to all target session messages to be selected in the session message area and the session message formats corresponding to the message identifiers, matches the message identifiers corresponding to the target session messages to be selected from the session message formats corresponding to the target session messages according to the selected message screening format, obtains the message identifiers corresponding to the message formats which are matched in a consistent manner, and obtains the target session messages according to the message identifiers. The message identifier is used to uniquely identify the target candidate session message, and may be a position of the target candidate session message in all session messages, for example, an 11 th target candidate session message in the group session, and then 11 may be used as the message identifier of the target candidate session message.
In a specific embodiment, the message IDs corresponding to all target session messages to be selected in the obtained session message area and the session message formats corresponding to the message IDs are shown in table 1 below:
table 1 table of target candidate session messages
Session ID 1
Session user ID A
Target candidate session message ID 11
Message format corresponding to ID 11-Picture
Target candidate session message ID 12
Message format corresponding to ID 12-text
Target candidate session message ID 13
Message format corresponding to ID 13-text
Target candidate session message ID 14
Message format corresponding to ID 14-Picture
Wherein the session ID is used to identify the session opened in the session page. The session user ID is used to uniquely identify the user who opened the session in the session page. Then, matching is performed from the session message formats corresponding to the target to-be-selected session messages according to the picture formats, and message identifiers corresponding to the message formats which are matched consistently are obtained, and the obtained target session messages are shown in the following table 2:
table 2 target session message table
Session ID 1
Session user ID A
Target candidate session message ID 11
Message format corresponding to ID 11-Picture
Target candidate session message ID 14
Message format corresponding to ID 14-Picture
In a specific embodiment, as shown in FIG. 6, a page diagram is selected for a message in which a text format is selected. After selecting the session message area, the user clicks the text format 60 and then clicks the completion button 61, at this time, when the terminal detects that the completion button 61 click operation acting on the session message selection page is detected, the text format 60 is obtained from the message screening formats to be selected, and the target session message to be selected in the session message area is screened according to the text format to obtain the session message in the text format.
In one embodiment, the area selection operation may also select one candidate session message, and directly use the selected one candidate session message as the target session message.
In one embodiment, after the selected message screening format is obtained from the message screening formats to be selected when the screening completion operation acting on the session message selection page is detected, the method further includes the following steps: sending the selected message screening format and the target session message to be selected in the session message area to a server, wherein the server is used for screening the target session message to be selected in the session message area according to the selected message screening format to obtain the target session message; and acquiring the target session message returned by the server.
Specifically, when detecting that the screening operation performed on the session message selection page is completed, the terminal may send the obtained selected message screening format and the target session message to be selected in the session message region to the server, and when the server receives the selected message screening format and the target session message to be selected in the session message region, the server performs screening according to the selected message screening format, and after the screening is completed, returns the obtained target session message to the terminal. The server is used for screening, so that the target session message obtained by screening can be more accurate.
In one embodiment, after obtaining the selected message screening format from the message screening formats to be selected, the terminal obtains message identifiers corresponding to all target session messages to be selected in the session message area and session message formats corresponding to the message identifiers. And then sending the message identifications corresponding to all the target session messages to be selected in the session message area and the session message formats corresponding to the message identifications to a server. The server matches the selected message screening format from the session message format corresponding to the target to-be-selected session message to obtain the message identifier corresponding to the message format which is matched consistently, the message identifier is returned to the terminal, the terminal can obtain the corresponding target session message according to the message identifier, and the session message corresponding to the message identifier and the message identifier is sent to the server, so that the data transmission amount is reduced, and the efficiency is improved.
In the session message screening method, after the session message screening event is triggered, the session message area and the message screening format are selected in the session message selection page, and when the screening completion operation is detected in the session message selection page, the session message area can be directly screened according to the selected message screening format to obtain the target session message, so that messages in a specific format are not required to be selected one by one, and the efficiency of session message screening is improved.
In an embodiment, as shown in fig. 7, in step 206, when detecting an area selection operation acting on a session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting an area corresponding to the target session message to be selected to obtain a session message area, including:
step 702, when detecting a selection operation acting on a first session message to be selected in the session messages to be selected, selecting a first area corresponding to the first session message to be selected;
step 704, when detecting a selection operation acting on a second to-be-selected session message in the to-be-selected session message, determining a specific to-be-selected session message between the first to-be-selected session message and the second to-be-selected session message, and selecting a second area corresponding to the second to-be-selected session message and a specific area corresponding to the specific to-be-selected session message;
step 706, the first area, the specific area and the second area are combined to obtain a session message area.
The first session message to be selected refers to any one session message to be selected in the session messages to be selected. The selection operation may be a click operation for the session message to be selected. The first area is an area including the first session message to be selected, the area may further include a user identifier for sending the first session message to be selected,
the second session message to be selected refers to any session message to be selected except the first session message to be selected in the session messages to be selected. The second area is an area including the second session message to be selected, and the area may further include a user identifier for sending the second session message to be selected.
The specific candidate session message refers to a candidate session message between the first candidate session message and the second candidate session message, and the specific candidate session message may be multiple or zero. And when the specific session message to be selected is zero, indicating that the first session message to be selected is adjacent to the second session message to be selected. The specific area refers to an area including a specific session message to be selected, and the area may further include a user identifier for sending the specific session message to be selected. When the specific candidate session message is zero, it indicates that the specific area does not exist.
Specifically, when detecting a selection operation on a first to-be-selected session message in the to-be-selected session messages, the terminal selects a first region corresponding to the first to-be-selected session message, then when detecting a selection operation on a second to-be-selected session message, selects a specific to-be-selected session message that determines between the first to-be-selected session message and the second to-be-selected session message, selects a second region corresponding to the second to-be-selected session message and a specific region corresponding to the specific to-be-selected session message, and combines the first region, the specific region, and the second region to obtain a session message region.
In a specific embodiment, as shown in fig. 5, when the user clicks the first session message to be selected 50, the terminal selects an area corresponding to the first session message to be selected 50, then the user clicks the second session message to be selected 53, the terminal determines the session message to be selected 51 and the session message to be selected 52 included between the first session message to be selected 50 and the second session message to be selected 53, selects areas corresponding to the second session message to be selected 53, the session message to be selected 51 and the session message to be selected 52, and then combines them to obtain a session message area, that is, a part without line shading in the figure.
In the embodiment, two different session messages to be selected are clicked, and then the session messages to be selected included between the two different session messages to be selected are determined, so that the corresponding region and the middle region are selected, the session message region is obtained, and the efficiency of selecting the session message region is improved.
In one embodiment, after step 704, that is, after detecting a selection operation on a second candidate session message in the candidate session messages, determining a specific candidate session message between the first candidate session message and the second candidate session message, and selecting a second area corresponding to the second candidate session message and a specific area corresponding to the specific candidate session message, the method further includes:
when the cancel operation of a first specific session message to be selected acting on a specific area is detected, the first specific area corresponding to the first specific session message to be selected is restored from being selected to being unselected, and a target area of the unselected first specific area is obtained; and combining the first area, the specific area without selecting the first specific area and the second area to obtain a session message area.
The cancel operation refers to a click operation for a specific to-be-selected session message in a specific area. The first specific candidate session message refers to any one specific candidate session message in a specific area. The first specific area refers to an area containing the first specific session message to be selected, and the area may further include a user identifier for sending the first specific session message to be selected, such as a user name, a user avatar, and the like. And restoring the first specific area corresponding to the first specific candidate conversation message from being selected to being unselected and representing the first specific area to be masked, even if the conversation message in the first specific area is in a state of waiting for selection.
Specifically, the user may perform a cancel operation on the selected session message to be selected, where the cancel operation is an operation of changing an area corresponding to the selected session message to be selected into an unselected area. When the user clicks the selected session message to be selected again, the terminal detects a cancel operation of the first specific session message to be selected, wherein the cancel operation acts on the first specific session message to be selected in the specific area. The user can also cancel a plurality of selected session messages to be selected. For example, a sliding operation is used to cancel a plurality of selected session messages to be selected.
In a specific embodiment, as shown in fig. 8, a schematic diagram of a page after a cancel operation is performed for a user, where when the user performs a click operation again on a selected friend group 2 picture message, the terminal detects the cancel operation on the friend group 2 picture message, at this time, the terminal restores a region corresponding to the friend group 2 picture message from selected to unselected to obtain a line shadow region 81, the obtained conversation message does not include the line shadow region 81, then the user selects a picture and a voice format, and then clicks a complete button, so as to obtain a conversation message in the picture and voice format obtained by screening.
In the above embodiment, the user can cancel the specific to-be-selected session message in the specific area, so that the user can remove the obviously unnecessary session message, the workload of screening is reduced, and the efficiency is improved.
In one embodiment, after step S208, that is, when a screening completion operation acting on the session message selection page is detected, obtaining a selected message screening format from the message screening formats to be selected, and screening the target session message to be selected in the session message area according to the selected message screening format to obtain the target session message, the method further includes:
displaying an operation option menu associated with the target session message; and when an operation trigger event in the operation option menu is detected, executing corresponding trigger operation by using the target session message.
The operation option menu refers to an option menu for performing next processing on the target session message, and the operation option menu may be displayed by using a pop-up window, or may jump to an operation option page, and the operation option menu is displayed in the operation option page. The operation options in the operation option menu include sending, sharing, saving, canceling and the like. The operation triggering event refers to an execution event of an operation in the triggered operation option. For example, an execution event for a sharing operation in the operation option menu is detected. The trigger operation is an operation in an operation option triggered by the operation trigger event, and may be a touch operation, a click operation, a press operation, or the like.
Specifically, after obtaining the target session message, the terminal displays an operation option menu associated with the target session message, and when detecting an operation trigger event in the operation option menu, executes a corresponding trigger operation using the target session message.
In a specific embodiment, as shown in fig. 9, a schematic diagram of a popup of a displayed operation option menu is shown, where the operation option menu is displayed from the bottom in a popup manner, and the displayed operation option menu includes operation options of sending to a friend, sharing to a WeChat, saving to a mobile phone, collecting, saving a space album, and canceling. The user can click the operation option of the operation option menu, and the terminal executes corresponding trigger operation by using the target session message.
In the embodiment, by displaying the operation option menu associated with the target session message, when the operation trigger event in the operation option menu is detected, the target session message is used to execute the corresponding trigger operation, so that the user can further process the screened target session message conveniently, the user experience is improved, and the user can use the message conveniently.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
when a forwarding operation trigger event in the operation option menu is detected, responding to the forwarding operation trigger event, and displaying a list of identifiers to be forwarded; and when the selection operation acting on the to-be-forwarded identifier in the to-be-forwarded identifier list is detected, sending the target session message to the terminal corresponding to the to-be-forwarded identifier.
The forwarding operation triggering event refers to an event triggering a forwarding option in the operation option menu, and the forwarding option is used for sending the target session message to an object capable of performing the session. The identifier to be forwarded is used for uniquely identifying an object capable of sending the target session message. The list of identifiers to be forwarded refers to a list of identifiers corresponding to objects that can be forwarded. The to-be-forwarded identifier list can be displayed in a popup window, and can also be displayed by jumping to a to-be-forwarded identifier list page. The user can select any identifier to be forwarded in the list of identifiers to be forwarded to send the target session message, can select a single identifier to be forwarded to send, and can also select a plurality of identifiers to be forwarded to send.
Specifically, when detecting a forwarding operation trigger event in the operation option menu, the terminal responds to the forwarding operation trigger event to acquire each identifier to be forwarded, which can send the target session message, and displays a list of the identifiers to be forwarded. When the selection operation acting on the to-be-forwarded identifier in the to-be-forwarded identifier list is detected, the to-be-forwarded identifier selected by the selection operation is obtained, and the target session message is sent to the terminal corresponding to the to-be-forwarded identifier.
In one embodiment, when a selection operation acting on the to-be-forwarded identifier in the to-be-forwarded identifier list is detected, a session page which carries out a session with the to-be-forwarded identifier is displayed, and a target session message is sent to the session page.
For example, as shown in fig. 9, the user clicks the "send to friend" option, the terminal jumps to the friend name list page of the user, and the user clicks the name of friend 1 in the friend name list page. The terminal jumps to a conversation page for conversation with the friend 1, and sends a target conversation message 'crowd-friend 0 picture message' to the conversation page, so that the friend 1 can view the target conversation message 'crowd-friend 0 picture message' in the conversation page.
In one embodiment, when there are multiple session messages in the target session message, the session messages may be sent separately, or multiple session messages may be combined into one session message to be sent.
In the embodiment, the list of the identifiers to be forwarded is displayed through the forwarding operation trigger event, the identifiers to be forwarded in the list of the identifiers to be forwarded are selected, the target session message can be sent to the terminal corresponding to the identifiers to be forwarded, that is, the target session message can be sent to the identifiers to be forwarded which the user wants to send, the target session message can be conveniently checked by the identifiers to be forwarded, and the user experience is improved.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
when a sharing operation triggering event in an operation option menu is detected, responding to the sharing operation triggering event, and jumping to an identification page to be shared in a target application; and when the selection operation acting on the to-be-shared identifier in the to-be-shared identifier page is detected, sending a target session message to the terminal corresponding to the to-be-shared identifier.
The sharing operation triggering event refers to an event for triggering a sharing option in an operation option menu, and the sharing option is used for sending the target session message to an object in the target application. The target application refers to an application that is different from the application where the current user is located and is capable of conducting a session. For example, a target session message obtained in the QQ social application is sent to a friend in the WeChat social application. The identification page to be shared refers to a page of an identification list to be shared in the target application, and the identification to be shared is used for uniquely identifying an object in the target application.
Specifically, when detecting a sharing operation trigger event in an operation option menu, the terminal responds to the sharing operation trigger event to acquire an address of a target application, and jumps to an identification page to be shared in the target application according to the address of the target application; when the selection operation acting on the to-be-shared identifier in the to-be-shared identifier page is detected, sending a target session message to a terminal corresponding to the to-be-shared identifier, and when the sending is completed, displaying the prompt message of the completion of the sharing.
For example, as shown in fig. 9, the user clicks the option of "share to the wechat social application", the terminal jumps to the friend name list page of the wechat social application, and the user clicks the name of the friend 2 in the friend name list page. The terminal sends a target session message 'crowd friend 0 picture message' to the terminal corresponding to the name of the friend 2, so that the friend 2 can view the target session message through a session page in the WeChat.
In the embodiment, the event is triggered by the sharing operation to jump to the identifier page to be shared in the target application, the identifier to be shared is selected through the identifier page to be shared, and then the target session message is sent to the terminal corresponding to the identifier to be shared, so that the target session message can be shared with the identifier to be shared in the target application, users in different applications can check the target session message, and user experience is improved.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
and when a storage operation trigger event in the operation option menu is detected, responding to the storage operation trigger event, and storing the target session message into the memory.
Specifically, the saving operation trigger event is an event that triggers a saving option in the operation option menu, and the saving option is used for saving the target session message in the memory of the current terminal. And when the terminal detects a storage operation trigger event in the operation option menu, the terminal responds to the storage operation trigger event and stores the target session message into the memory. In a specific embodiment, as shown in fig. 9, the user clicks the option of "save to mobile phone", and when the terminal detects that the user clicks the option of saving to mobile phone, the terminal directly saves the target session message "crowd-friend 0 picture message" to the memory of the mobile phone.
In the embodiment, the target session message can be stored in the memory by storing the operation trigger event, so that the subsequent use of the user is facilitated.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
when a reprint operation trigger event in the operation option menu is detected, a reprint configuration page is displayed in response to the reprint operation trigger event; and when detecting that the operation of the reprinting configuration acted on the reprinting configuration page is completed, storing the target session message into the reprinting address configured by the reprinting configuration page.
The transfer operation triggering event refers to an event for triggering a transfer option in the operation option menu, wherein the transfer option is used for storing the target session message into a preset transfer address and viewing the target session message by accessing the preset transfer address. The reprint address refers to an address where the target session message is stored. The reprint configuration page is a page for selecting a needed reprint address from a plurality of preset reprint addresses. The reprint configuration finishing operation refers to an operation that a user finishes the reprint through the reprint configuration triggered by the reprint configuration page. The reprint configuration completion operation may be any type of predetermined trigger operation. Such as touch operation, click operation, press operation, and the like.
Specifically, when the terminal detects a transfer operation trigger event in the operation option menu, the terminal responds to the transfer operation trigger event, acquires an address of a transfer configuration page, skips according to the address of the transfer configuration page, and displays the transfer configuration page. The user selects one or more transfer addresses from the transfer configuration page. When the selection is completed, the user can perform the operation of transferring configuration, and when the terminal detects the operation of transferring configuration completion acting on the transfer configuration page, the target session message is stored in the transfer address configured by the transfer configuration page.
In a specific embodiment, as shown in fig. 9, when the user clicks the option of "space album" for reloading, the terminal detects an event triggering operation on the space album in the operation option menu. At this time, the terminal jumps to a reprint configuration page, and preset album address names, such as album 1, album 2, album 3 and the like, are displayed in the reprint configuration page. The user selects album 3 and then clicks the complete button for the reprint configuration page. At this time, when the terminal detects that the reprint configuration operation acting on the reprint configuration page is completed, the terminal acquires the address corresponding to the album 3 and stores the target session message in the address corresponding to the album 3.
In the embodiment, the reprint configuration page can be displayed by triggering an event through the reprint operation, and then when the reprint configuration page detects that the reprint configuration is completed, the target session message is stored in the reprint address configured by the reprint configuration page, so that the target session message can be reprinted to a desired address, and the target session message is convenient to view and display.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
and when a collection operation trigger event in the operation option menu is detected, responding to the collection operation trigger event, storing the target session message to a target address and displaying prompt information.
The collection operation triggering event is an event for triggering collection of the target session message, and the collection is to store the target session message into a preset target address, wherein the target address cannot be accessed by other users. The prompt message is used for prompting the user that the target conversation message is stored, and may be a prompt text, a prompt voice, a prompt vibration and the like. Specifically, when the terminal detects a collection operation trigger event in the operation option menu, the terminal responds to the collection operation trigger event, stores the target session message to the target address and displays the prompt message. The prompt information can be played through a voice device, can be displayed through a prompt bar control, can be displayed through a prompt pop-up window and the like.
In a specific embodiment, as shown in fig. 9, when the user clicks the "favorite" option, the terminal detects a favorite operation trigger event in the operation option menu, acquires a target address in response to the favorite operation trigger event, and then stores a target session message in the target address. At this point, the prompt message "collected" is presented at the top of the message selection page.
In one embodiment, when an operation trigger event in the operation option menu is detected, the corresponding trigger operation is executed by using the target session message, and the method comprises the following steps:
and when a cancel operation trigger event in the operation option menu is detected, responding to the cancel operation trigger event, and returning to the message selection page from the operation option menu. The cancel operation triggering event is an event for triggering cancel operation in the operation option menu, and the cancel operation is an operation for canceling an operation option in the operation option menu. For example, as shown in fig. 9, when the user clicks a "cancel" option in the operation option menu, and the terminal detects a cancel operation trigger event in the operation option menu, in response to the cancel operation trigger event, the pop-up window of the operation option menu is hidden, and the message selection page is displayed, so that the user can select the session message on the message selection page again.
In one embodiment, as shown in fig. 10, step 202, detecting a session message screening event triggered in a session page, includes:
at step 1002, a session message screening event triggered by an operation on a first session message in a session page is detected.
Step 204, i.e. responding to the session message screening event, presenting a session message selection page, including:
step 1004, responding to the session message screening event triggered by the operation on the first session message, and displaying the session message selection page of the selected area corresponding to the first session message.
Wherein, the first session message refers to any session message in the session page. The operation on the first session message may include a click operation and a press operation, etc. The area corresponding to the first session message refers to an area including the first session message in the session message selection page, and the area may further include information such as a user identifier for sending the first session message.
Specifically, a user may trigger a session message screening event by pressing a first session message in a session page, and in response to the session message screening event, present a session message selection page in which an area corresponding to the first session message is selected.
In a specific embodiment, as shown in fig. 11, a page diagram is selected for the message in the area corresponding to the selected first session message. The user presses the "crowd friend 3 picture message" for a long time, the terminal detects a session message screening event triggered by the pressing operation of the "crowd friend 3 picture message", and presents a session message selection page for selecting the area 110 (the area without line shadow in the figure) corresponding to the "crowd friend 3 picture message" in response to the session message screening event.
Step 206, that is, when the area selection operation acting on the to-be-selected session message is detected, determining a target to-be-selected session message corresponding to the area selection operation, and selecting an area corresponding to the target to-be-selected session message to obtain a session message area, where the step includes:
step 1006, when detecting a selection operation acting on a third candidate session message in the candidate session message, selecting a third area corresponding to the third candidate session message.
Step 1008, determining a middle candidate session message between the third area and the area corresponding to the first session message, and selecting a middle area corresponding to the middle candidate session message.
Step 1010, combining the corresponding area of the first session message, the third area and the middle area to obtain a session message area.
The third session message to be selected refers to any one of the session messages to be selected in the session message selection page. The third area is an area including a third session message to be selected in the session message selection page, and the middle area of the area, which may also include information such as a user identifier for sending the third session message, is an area of the session message to be selected between the third area and the area corresponding to the first session message. When the third area is adjacent to the area corresponding to the first session message, the area of the session message to be selected does not exist, and the third area and the area corresponding to the first session message can be directly combined to obtain the session message area.
Specifically, when the terminal detects a selection operation on a third to-be-selected session message in the to-be-selected session message, the terminal selects a third area corresponding to the third to-be-selected session message, that is, when the terminal performs the selection operation on the unselected to-be-selected session message in the session message selection page, the selected area is obtained. And determining a middle candidate session message between the third area and the area corresponding to the first session message, selecting the middle area corresponding to the middle candidate session message, and combining the area corresponding to the first session message, the third area and the middle area to obtain a session message area. For example, when the user clicks the to-be-selected conversation message "crowd friend 0 picture message" shown in fig. 11, a specific to-be-selected conversation message region between the region corresponding to the "crowd friend 0 picture message" and the region corresponding to the "crowd friend 3 voice message" is determined, that is, a region corresponding to the "crowd friend 1 text message" and a region corresponding to the "crowd friend 2 picture message". A region corresponding to the "crowd-friend 1 text message", a region corresponding to the "crowd-friend 2 picture message", and a region corresponding to the "crowd-friend 0 picture message" are selected, and the finally obtained conversation message region may be as shown in fig. 12, where the conversation message region is a region 120 without line shading.
In the embodiment, the session message screening event can be triggered through the first session message, so that the session message selection page for selecting the area corresponding to the first session message is displayed, and then the session message area is selected through the selection operation of the third session message area to be selected, so that the operation of the user is reduced, and the efficiency of the user for selecting the session message area is improved.
In a specific embodiment, as shown in fig. 13, a method for screening session messages includes:
at step 1302, a session message screening event triggered by an operation on a first session message in a session page is detected.
In step 1304, in response to the session message screening event triggered by the operation on the first session message, a session message selection page for selecting the area corresponding to the first session message is displayed.
Step 1306, when detecting a selection operation acting on a third to-be-selected session message in the to-be-selected session message, selecting a third area corresponding to the third to-be-selected session message, determining a middle to-be-selected session message between the third area and the area corresponding to the first session message, and selecting a middle area corresponding to the middle to-be-selected session message.
Step 1308, combining the corresponding area of the first session message, the third area and the middle area to obtain a session message area.
Step 1310, when detecting that the screening operation in the session message selection page is completed, obtaining the selected message screening format from the message screening formats to be selected.
Step 1312, sending the selected message screening format and the target session message to be selected in the session message area to a server, where the server is configured to screen the target session message to be selected in the session message area according to the selected message screening format to obtain a target session message;
step 1314, acquiring the target session message returned by the server, and when detecting that the target session message is returned by the server, displaying an operation option menu associated with the target session message.
And 1316, when detecting the operation trigger event in the operation option menu, executing the corresponding trigger operation by using the target session message.
The application also provides an application scene, and the application scene applies the session message screening method. Specifically, the application of the session message screening method in the application scenario is as follows:
the user A logs in the QQ social application through a mobile phone, opens a conversation page with the user B, presses a conversation message a in the conversation page, and displays an option menu bar for operating the conversation message a on the conversation message a. And the user A clicks a screening button in the option menu bar, enters a session message selection page and selects an area corresponding to the session message a. And then the user A clicks the session message d in the session message selection page, at the moment, the terminal determines the session message b and the session message c between the session message a and the session message d, and selects the areas corresponding to the session message b, the session message c and the session message d to obtain a session message area, wherein the selected area can be highlighted, and the unselected areas are shaded. At this time, the user a selects the message format to be screened as the picture format at the bottom of the session message selection page, then clicks the completion button, the terminal sends the session message a, the session message b, the session message c, the session message d and the picture format in the session message area to the server, the server screens the session message a, the session message b, the session message c and the session message d to obtain the session message b and the session message d in the text format, and the session message b and the session message d are returned to the mobile phone of the user. At this time, the terminal detects that the returned session message b and the returned session message d display an option menu popup for performing the next processing on the screened session message, and the user a can click an option in the option menu popup to process the session message b and the session message d.
It should be understood that, although the steps in the flowcharts of fig. 2, 7, 10 and 13 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 7, 10 and 13 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 14, there is provided a session message screening apparatus 1400, which may be a part of a computer device using a software module or a hardware module, or a combination of the two modules, and specifically includes: a detection module 1402, a page presentation module 1404, an area selection module 1406, and a filtering module 1408, wherein:
a detecting module 1402, configured to detect a session message screening event triggered in a session page;
a page display module 1404, configured to respond to a session message screening event and display a session message selection page, where the session message selection page includes a to-be-selected session message and a to-be-selected message screening format;
the region selection module 1406 is configured to, when detecting a region selection operation acting on a session message to be selected, determine each session message to be selected of a target corresponding to the selected region selection operation, and select a region corresponding to each session message to be selected of the target to obtain a session message region;
the screening module 1408 is configured to, when it is detected that the screening operation performed on the session message selection page is completed, obtain a selected message screening format from the message screening formats to be selected, and screen each of the target session messages to be selected in the session message area according to the selected message screening format to obtain a target session message.
In one embodiment, the region selection module 1406, includes:
the first area selection unit is used for selecting a first area corresponding to a first session message to be selected when the selection operation acting on the first session message to be selected in the session messages to be selected is detected;
a second region selection unit, configured to determine a specific session message to be selected between the first session message to be selected and the second session message to be selected when a selection operation acting on the second session message to be selected is detected, and select a second region corresponding to the second session message to be selected and a specific region corresponding to the specific session message to be selected;
and the area obtaining unit is used for combining the first area, the specific area and the second area to obtain the session message area.
In one embodiment, the region selection module 1406 further includes:
the cancelling unit is used for reducing a first specific area corresponding to a first specific session message to be selected from selected to unselected when detecting a cancelling operation of the first specific session message to be selected, which acts on the specific area, so as to obtain a target area of the unselected first specific area; and combining the first area, the specific area without selecting the first specific area and the second area to obtain a session message area.
In one embodiment, the screening module 1408, further comprises:
the server screening unit is used for sending the selected message screening format and the target session messages to be selected in the session message area to the server, and the server is used for screening the target session messages to be selected in the session message area according to the selected message screening format to obtain the target session messages; and acquiring the target session message returned by the server.
In one embodiment, the session message screening apparatus 1400 further includes:
the menu display module is used for displaying an operation option menu related to the target session message;
and the operation option execution module is used for executing corresponding trigger operation by using the target session message when detecting an operation trigger event in the operation option menu.
In one embodiment, the operation option execution module includes:
the forwarding unit is used for responding to a forwarding operation trigger event when the forwarding operation trigger event in the operation option menu is detected, and displaying a list of identifiers to be forwarded; and when the selection operation acting on the to-be-forwarded identifier in the to-be-forwarded identifier list is detected, sending the target session message to the terminal corresponding to the to-be-forwarded identifier.
In one embodiment, the operation option execution module includes:
the sharing unit is used for responding to a sharing operation trigger event when detecting the sharing operation trigger event in the operation option menu and jumping to an identification page to be shared in a target application; and when the selection operation acting on the to-be-shared identifier in the to-be-shared identifier page is detected, sending a target session message to the terminal corresponding to the to-be-shared identifier.
In one embodiment, the operation option execution module includes:
and the storage unit is used for responding to the storage operation trigger event and storing the target session message into the memory when the storage operation trigger event in the operation option menu is detected.
In one embodiment, the operation option execution module includes:
the reprint unit is used for responding to a reprint operation trigger event when detecting the reprint operation trigger event in the operation option menu and displaying a reprint configuration page; and when detecting that the operation of the reprinting configuration acted on the reprinting configuration page is completed, storing the target session message into the reprinting address configured by the reprinting configuration page.
In one embodiment, the operation option execution module includes:
and the collection unit is used for responding to the collection operation trigger event when detecting the collection operation trigger event in the operation option menu, storing the target session message to the target address and displaying the prompt message.
In one embodiment, the detection module 1402 includes:
the message triggering unit is used for detecting a session message screening event triggered by the operation on the first session message in the session page;
page presentation module 1404, comprising:
the first display unit is used for responding to a session message screening event triggered by the operation on the first session message and displaying a session message selection page for selecting the area corresponding to the first session message;
then region selection module 1406 includes:
the message operation unit is used for selecting a third area corresponding to the third to-be-selected session message when detecting the selection operation acting on the third to-be-selected session message in the to-be-selected session message, determining a middle to-be-selected session message between the third area and the area corresponding to the first session message, and selecting a middle area corresponding to the middle to-be-selected session message;
and the area obtaining unit is used for combining the area corresponding to the first session message, the third area and the middle area to obtain a session message area.
For the specific definition of the session message screening apparatus, reference may be made to the above definition of the session message screening method, which is not described herein again. The modules in the session message screening apparatus may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 15. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of session message screening. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 15 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A method for screening session messages, the method comprising:
detecting a session message screening event triggered in a session page;
responding to the session message screening event, and displaying a session message selection page, wherein the session message selection page comprises the session message to be selected and a screening format of the message to be selected;
when detecting the area selection operation acting on the session message to be selected, determining a target session message to be selected corresponding to the area selection operation, and selecting the area corresponding to the target session message to be selected to obtain a session message area;
and when the completion of screening operation acting on the session message selection page is detected, acquiring a selected message screening format from the message screening formats to be selected, and screening the target session message to be selected in the session message area according to the selected message screening format to obtain the target session message.
2. The method according to claim 1, wherein when the area selection operation acting on the session message to be selected is detected, determining a target session message to be selected corresponding to the area selection operation, and selecting an area corresponding to the target session message to be selected to obtain a session message area, includes:
when detecting a selection operation acting on a first session message to be selected in the session messages to be selected, selecting a first area corresponding to the first session message to be selected;
when the selection operation acting on a second session message to be selected in the session messages to be selected is detected, determining a specific session message to be selected between the first session message to be selected and the second session message to be selected, and selecting a second area corresponding to the second session message to be selected and a specific area corresponding to the specific session message to be selected;
and combining the first area, the specific area and the second area to obtain the session message area.
3. The method according to claim 2, wherein after the detecting a selection operation on a second candidate session message in the candidate session messages, determining a specific candidate session message between the first candidate session message and the second candidate session message, and selecting a second area corresponding to the second candidate session message and a specific area corresponding to the specific candidate session message, further comprises:
when a cancel operation acting on a first specific session message to be selected in the specific area is detected, reducing the first specific area corresponding to the first specific session message to be selected from selected to unselected to obtain a target area of the unselected first specific area;
and combining the first area, the specific area of the unselected first specific area and the second area to obtain the session message area.
4. The method according to claim 1, wherein after obtaining the selected message screening format from the message screening formats to be selected when the screening completion operation acting on the session message selection page is detected, the method further comprises:
sending the selected message screening format and the target session message to be selected in the session message area to a server, wherein the server is used for screening the target session message to be selected in the session message area according to the selected message screening format to obtain the target session message;
and acquiring the target session message returned by the server.
5. The method according to claim 1, wherein when the completion of the screening operation performed on the session message selection page is detected, acquiring a selected message screening format from the message screening formats to be selected, and screening the target session message to be selected in the session message area according to the selected message screening format to obtain a target session message, further comprising:
displaying an operation option menu associated with the target session message;
and when an operation trigger event in the operation option menu is detected, executing corresponding trigger operation by using the target session message.
6. The method according to claim 5, wherein when the trigger event for the operation in the operation option menu is detected, performing a corresponding trigger operation using the target session message includes:
when a forwarding operation trigger event in the operation option menu is detected, responding to the forwarding operation trigger event, and displaying an identifier list to be forwarded;
and when the selection operation acting on the identifier to be forwarded in the identifier list to be forwarded is detected, sending the target session message to the terminal corresponding to the identifier to be forwarded.
7. The method according to claim 5, wherein when the trigger event for the operation in the operation option menu is detected, performing a corresponding trigger operation using the target session message includes:
when a sharing operation triggering event in the operation option menu is detected, responding to the sharing operation triggering event, and jumping to a to-be-shared identification page in a target application;
and when the selection operation acting on the identifier to be shared in the identifier page to be shared is detected, sending the target session message to the terminal corresponding to the identifier to be shared.
8. The method according to claim 5, wherein when the trigger event for the operation in the operation option menu is detected, performing a corresponding trigger operation using the target session message includes:
and when a storage operation trigger event in the operation option menu is detected, responding to the storage operation trigger event, and storing the target session message into a memory.
9. The method according to claim 5, wherein when the trigger event for the operation in the operation option menu is detected, performing a corresponding trigger operation using the target session message includes:
when a reprint operation trigger event in the operation option menu is detected, a reprint configuration page is displayed in response to the reprint operation trigger event;
and when detecting that the operation of the reprinting configuration acted on the reprinting configuration page is completed, storing the target session message into the reprinting address configured by the reprinting configuration page.
10. The method according to claim 5, wherein when the trigger event for the operation in the operation option menu is detected, performing a corresponding trigger operation using the target session message includes:
and when a collection operation trigger event in the operation option menu is detected, responding to the collection operation trigger event, storing the target session message to a target address and displaying prompt information.
11. The method of claim 1, wherein the detecting of the session message screening event triggered in the session page comprises:
detecting a session message screening event triggered by a first session message operation in the session page;
the displaying a session message selection page in response to the session message screening event includes:
responding to the session message screening event triggered by the operation on the first session message, and displaying a session message selection page for selecting the area corresponding to the first session message;
when the area selection operation acting on the session message to be selected is detected, determining a target session message to be selected corresponding to the area selection operation, and selecting an area corresponding to the target session message to be selected to obtain a session message area, including:
when detecting a selection operation acting on a third to-be-selected session message in the to-be-selected session message, selecting a third area corresponding to the third to-be-selected session message;
determining a middle session message to be selected between the third area and the area corresponding to the first session message, and selecting the middle area corresponding to the middle session message to be selected;
and combining the area corresponding to the first session message, the third area and the middle area to obtain a session message area.
12. An apparatus for screening session messages, the apparatus comprising:
the detection module is used for detecting a session message screening event triggered in a session page;
the page display module is used for responding to the session message screening event and displaying a session message selection page, wherein the session message selection page comprises the session messages to be selected and the screening formats of the messages to be selected;
the area selection module is used for determining each target session message to be selected corresponding to the area selection operation when the area selection operation acting on the session message to be selected is detected, and selecting the area corresponding to each target session message to be selected to obtain a session message area;
and the screening module is used for acquiring a selected message screening format from the message screening formats to be selected when the completion of screening operation acting on the session message selection page is detected, and screening each target session message to be selected in the session message area according to the selected message screening format to obtain a target session message.
13. The apparatus of claim 12, wherein the region selection module comprises:
a first area selection unit, configured to select a first area corresponding to a first to-be-selected conversation message when a selection operation acting on the first to-be-selected conversation message in the to-be-selected conversation message is detected;
a second area selection unit, configured to determine, when a selection operation acting on a second to-be-selected session message in the to-be-selected session message is detected, a specific to-be-selected session message between the first to-be-selected session message and the second to-be-selected session message, and select a second area corresponding to the second to-be-selected session message and a specific area corresponding to the specific to-be-selected session message;
an area obtaining unit, configured to combine the first area, the specific area, and the second area to obtain the session message area.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 11 when executing the computer program.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
CN202010260344.1A 2020-04-03 2020-04-03 Session message screening method and device, computer equipment and storage medium Pending CN113495657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010260344.1A CN113495657A (en) 2020-04-03 2020-04-03 Session message screening method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010260344.1A CN113495657A (en) 2020-04-03 2020-04-03 Session message screening method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113495657A true CN113495657A (en) 2021-10-12

Family

ID=77995154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010260344.1A Pending CN113495657A (en) 2020-04-03 2020-04-03 Session message screening method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113495657A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419617A (en) * 2008-12-10 2009-04-29 深圳市迅雷网络技术有限公司 Method and apparatus for determining web page object
CN106791052A (en) * 2016-12-07 2017-05-31 惠州Tcl移动通信有限公司 The method and system of chat record in a kind of mobile terminal screening instant messaging application
CN109450777A (en) * 2018-12-28 2019-03-08 苏州开心盒子软件有限公司 Session information extracting method, device, equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419617A (en) * 2008-12-10 2009-04-29 深圳市迅雷网络技术有限公司 Method and apparatus for determining web page object
CN106791052A (en) * 2016-12-07 2017-05-31 惠州Tcl移动通信有限公司 The method and system of chat record in a kind of mobile terminal screening instant messaging application
CN109450777A (en) * 2018-12-28 2019-03-08 苏州开心盒子软件有限公司 Session information extracting method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108363593B (en) Application program preloading method and device, storage medium and terminal
CN105453612B (en) Message service providing apparatus and method of providing content via the same
CN112350923B (en) Session message display method and device, computer equipment and storage medium
CN111510439B (en) Session reminding method, device, computer equipment and storage medium
CN109829077B (en) Page display method, device and equipment
CN106708895B (en) Method and device for displaying messages in mobile social application
US20180052869A1 (en) Automatic grouping based handling of similar photos
CN109274999A (en) A kind of video playing control method, device, equipment and medium
CN107168974B (en) Display control method and device for displaying related content of item and message in social application
CN107733769B (en) Method and device for displaying user information
CN110489663B (en) Social content control method and device and computer equipment
CN109697129A (en) A kind of information sharing method, equipment and computer readable storage medium
CN112187624B (en) Message reply method and device and electronic equipment
CN108769389B (en) Picture acquisition method and device, terminal equipment and storage medium
CN115065870B (en) Target business list display method and device, electronic equipment and storage medium
CN110619513A (en) Electronic resource obtaining method, electronic resource distributing method and related equipment
CN113495657A (en) Session message screening method and device, computer equipment and storage medium
CN113760152A (en) Message processing method and device, computer equipment and storage medium
CN111694999A (en) Information processing method and device and electronic equipment
CN112416482A (en) Interface switching method and device
CN117479171B (en) Interaction method of NFC business card and computer equipment
CN114189646B (en) Terminal control method and device, electronic equipment and storage medium
CN111857467B (en) File processing method and electronic equipment
CN114629869B (en) Information generation method, device, electronic equipment and storage medium
CN111565246B (en) Telephone number dialing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40054487

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination