Method, device, medium and program product for presenting conversation messages
By presenting relevant conversation messages in real time on the page where the document is read in the chat session, the problem of not being able to see messages in time when viewing the document is solved, the synchronous display of conversation content is achieved, and the user's work efficiency is improved.
Patent Information
- Application Number
- CN202210757148.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-06-30
AI Technical Summary
When viewing documents sent by the other party in a chat session, you cannot see relevant messages in a timely manner, resulting in reduced work efficiency and wasted time.
The conversation messages related to the target file are presented in real time on the page where the target file is read, and the relevant conversation content is displayed synchronously through the message indication information. The user can view the relevant messages without exiting the file reading.
It realizes the synchronous display of conversation messages and file contents, saves users' time costs, avoids operation repetition, and improves users' operation efficiency.
Smart Images

Figure CN115061985B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a technology for presenting conversation messages. Background Art
[0002] In the prior art, when a user is viewing a document sent by the other party in a chat session, he or she cannot see the message received from the other party, which causes the message to be delayed. Moreover, if the received message is related to the document content, the document content needs to be viewed again, resulting in reduced work efficiency and a lot of delay, and the user's operation content is repeated. Summary of the Invention
[0003] One object of the present application is to provide a method, device, medium, and program product for presenting conversation messages.
[0004] According to one aspect of the present application, a method for presenting a conversation message is provided, the method comprising:
[0005] In response to an access operation performed by a first user in a session page of a target session on a target file sent by a second user in the target session, presenting a reading page corresponding to the target file;
[0006] In response to receiving a conversation message sent by a third user in the target conversation, presenting message indication information corresponding to the conversation message on the reading page.
[0007] According to one aspect of the present application, a user equipment for presenting a conversation message is provided, the device comprising:
[0008] a module configured to, in response to an access operation performed by a first user on a session page of a target session on a target file sent by a second user in the target session, present a reading page corresponding to the target file;
[0009] Module one and module two are used for presenting message indication information corresponding to the conversation message in the reading page in response to receiving the conversation message sent by the third user in the target conversation.
[0010] According to one aspect of the present application, a computer device for presenting conversation messages is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the operations of any of the above methods.
[0011] According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the operation of any of the methods described above is implemented.
[0012] According to one aspect of the present application, a computer program product is provided, comprising a computer program, which implements the steps of any of the above methods when executed by a processor.
[0013] Compared with the prior art, the present application presents a reading page corresponding to the target file in response to an access operation performed by a first user on a session page of a target session on a target file sent by a second user in the target session, and presents message indication information corresponding to the session message in the reading page in response to receiving a session message sent by a third user in the target session. Thus, when the user views the file sent by the session object in the target session on the session page, the user can continue to receive session messages sent by the session object and can see the session message without exiting the reading of the file, thereby achieving synchronization of information between the two parties. If the session message is related to the file, the user can view the relevant message in the file at the first time, which can save the user a lot of time cost, avoid user operation repetition, and improve user operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Other features, objects and advantages of the present application will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0015] Figure 1 A flow chart of a method for presenting conversation messages according to one embodiment of the present application is shown;
[0016] Figure 2 A flow chart of a method for presenting conversation messages according to one embodiment of the present application is shown;
[0017] Figure 3 A structural diagram of a user device for presenting conversation messages according to an embodiment of the present application is shown;
[0018] Figure 4 An exemplary system is shown that can be used to implement the various embodiments described in this application.
[0019] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0020] The present application is described in further detail below with reference to the accompanying drawings.
[0021] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (eg, a central processing unit (CPU)), an input / output interface, a network interface and a memory.
[0022] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory. Memory is an example of a computer-readable medium.
[0023] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PCM), programmable random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0024] The devices referred to in this application include but are not limited to terminals, network devices, or devices formed by integrating terminals and network devices through a network. The terminals include but are not limited to any mobile electronic product that can interact with a user (for example, through a touchpad), such as a smartphone, a tablet computer, etc. The mobile electronic product can use any operating system, such as the Android operating system, the iOS operating system, etc. Among them, the network device includes an electronic device that can automatically perform numerical calculations and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc. The network device includes but is not limited to a computer, a network host, a single network server, a set of multiple network servers, or a cloud composed of multiple servers; here, the cloud is composed of a large number of computers or network servers based on cloud computing, wherein cloud computing is a type of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers. The network includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless self-organizing network (Ad Hoc network), etc. Preferably, the device may also be a program running on the terminal, the network device, or a device formed by integrating the terminal and the network device, the network device, the touch terminal, or the network device and the touch terminal via a network.
[0025] Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or future devices that are applicable to this application should also be included in the scope of protection of this application and are included here by reference.
[0026] In the description of the present application, “plurality” means two or more, unless otherwise clearly defined.
[0027] Figure 1A flowchart of a method for presenting a conversation message according to one embodiment of the present application is shown, the method comprising steps S11 and S12. In step S11, a user device presents a reading page corresponding to a target file sent by a second user in a target conversation in response to a first user accessing the target file in the conversation page of the target conversation. In step S12, the user device presents message indication information corresponding to the conversation message in the reading page in response to receiving a conversation message sent by a third user in the target conversation.
[0028] In step S11, the user device presents a reading page corresponding to the target file in response to an access operation performed by the first user on the session page of the target session for the target file sent by the second user in the target session. In some embodiments, the target session can be a one-to-one session between the first user and the second user, or it can be a group session joined by the first user and the second user. In some embodiments, if the target session is a one-to-one session, the corresponding session page is a private chat session page, and the session messages sent by the second user are presented on the first user's session page. If the target session is a group session, the corresponding session page is a group chat session page, and the session messages sent by other group members in the group session (e.g., the second user) are presented on the first user's session page, where the types of session messages include but are not limited to text, audio, video, pictures, files, etc. In some embodiments, the first user can perform an access operation (e.g., a click operation) on the target file sent by the second user on the session page. In response to the access operation, a new reading page will be opened based on the session page, or the session page will jump to a reading page, where the target file will be presented on the reading page for the first user to read the target file. In some embodiments, because the reading page will completely or partially block the previous conversation page, the first user will not be able to see the subsequent conversation messages sent by other users (eg, the second user) in the target conversation.
[0029] In step S12, in response to receiving a conversation message sent by a third user in the target conversation, the user device presents message indication information corresponding to the conversation message in the reading page. In some embodiments, if a conversation message is subsequently received from a third user in the target conversation other than the first user in the target conversation, the message indication information corresponding to the conversation message will be directly presented in the reading page, wherein the message indication message can be directly the message content of the conversation message, or the message indication message can also be a message prompt information for prompting the conversation message, and the message prompt information includes but is not limited to the user identification information of the sending user of the conversation message, the sending time or receiving time of the conversation message, and a predetermined length of partial text content in the message content of the conversation message (for example, the text content of the predetermined length mentioned above). In some embodiments, the third user needs to be the same user as the second user, or the third user can be any user in the target conversation other than the first user. In the present application, when a user views a file sent by a conversation partner in a target conversation on a conversation page, he or she can continue to receive conversation messages sent by the conversation partner and can view the conversation messages without exiting the reading of the file, thereby achieving information synchronization between the two parties. If the conversation message is related to the file, the user can view the relevant message in the file immediately, which can save the user a lot of time cost, avoid the user's repeated operations, and improve the user's operation efficiency.
[0030] In some embodiments, the method further includes: the user device cancels the presentation of the message indication information in the reading page in response to the cancel operation performed by the first user on the message indication information. In some embodiments, only one message indication information can be presented on the reading page, and when the new message indication information is presented, the previous message indication information will be canceled. In some embodiments, multiple message indication information can be presented on the reading page at the same time, or a maximum predetermined number of multiple message indication information can be presented on the reading page at the same time. If the number of message indication information currently presented on the reading page has reached the maximum predetermined number, at this time, if new message indication information needs to be presented, the earliest presented message indication information among the multiple message indication information will be canceled. In some embodiments, the first user can actively perform a cancel operation on the message indication information in the reading page (for example, click the close button in the upper right corner of the message indication information). In response to the cancel operation, the message indication information will be canceled from the reading page.
[0031] In some embodiments, the message indication information includes the message content of the conversation message. In some embodiments, the message indication information may be directly the message content of the conversation message.
[0032] In some embodiments, the message indication information includes message prompt information for prompting the conversation message; wherein, the method further includes: the user device presenting the message content of the conversation message on the reading page in response to the first user performing a viewing operation on the message prompt information. In some embodiments, the message indication message can also be message prompt information for prompting the conversation message, and the message prompt information may include but is not limited to the user identification information of the sending user of the conversation message, the sending time or receiving time of the conversation message, and a predetermined length of partial text content in the message content of the conversation message (for example, the previous predetermined length of text content). In some embodiments, the first user can perform a viewing operation (for example, a click operation) on the message prompt information, and in response to the viewing operation, the message content of the conversation message will be presented on the reading page. In some embodiments, in response to the viewing operation, the message indication information will also be canceled from being presented on the reading page.
[0033] In some embodiments, the method further includes: the user device, in response to the first user performing a reply operation on the message content, obtaining a reply message input by the first user, and sending the reply message to the target session. In some embodiments, the first user can perform a reply operation (e.g., a click operation) on the message content. In response to the reply operation, the first user can enter a corresponding reply message and send the reply message to other users in the target session other than the first user. For example, in response to the reply operation, a message input box will be presented on the reading page for the first user to enter a reply message in the message input box. The first user can then click a send button on the right side of the message input box to send the reply message to the target session.
[0034] In some embodiments, the method further includes: the user device canceling the presentation of the message content on the reading page. In some embodiments, when the first user sends the reply message input by the first user to the target session, the user device also cancels the presentation of the message indication information on the reading page.
[0035] In some embodiments, step S12 includes: in response to receiving a session message sent by a third user in the target session, the user device confirms whether the third user meets a predetermined first presentation condition; if so, presents message indication information corresponding to the session message. In some embodiments, upon subsequently receiving a session message sent by a third user other than the first user in the target session, the user device first confirms whether the third user meets the predetermined presentation condition. Only if the third user meets the predetermined presentation condition will the message indication information corresponding to the session message be presented on the reading page. For example, the user device first confirms whether the third user is a friend of the first user. Only if the third user meets the predetermined presentation condition will the message indication information corresponding to the session message be presented on the reading page.
[0036] In some embodiments, the first presentation condition includes at least one of the following: the third user is the same user as the second user; the third user is a friend of the first user; the third user is the creator of the target file; the third user has previously edited the target file; the third user has access rights to the target file; or the third user has edit rights to the target file. In some embodiments, if the third user is the same user as the second user who sent the target file, the message indication information corresponding to the conversation message is presented on the reading page. In some embodiments, if the third user is a friend of the first user, the message indication information corresponding to the conversation message is presented on the reading page. In some embodiments, the user identification information of the creator or editor of the target file, as well as the user identification information of users with access rights or edit rights to the target file, can be obtained by reading the attribute information of the target file. In some embodiments, if the third user satisfies at least one of the following conditions: the third user is the creator of the target file, the third user has previously edited the target file, the third user has access rights to the target file, or the third user has edit rights to the target file, the message indication information corresponding to the conversation message is presented on the reading page.
[0037] In some embodiments, step S12 includes: in response to receiving a session message sent by a third user in the target session, if the third user is the same user as the second user, directly presenting message indication information corresponding to the session message on the reading page; otherwise, determining whether the session message satisfies a predetermined second presentation condition; and if so, presenting the message indication information corresponding to the session message. In some embodiments, upon subsequently receiving a session message sent by a third user other than the first user in the target session, the user first confirms that the third user is not the same user as the second user who sent the target file. If so, directly presenting the message indication information corresponding to the session message on the reading page. If not, further determining whether the session message satisfies the predetermined presentation condition. Only if so, presenting the message indication information corresponding to the session message on the reading page, for example, determining whether the degree of match between the message content of the session message and the file content of the target file is greater than or equal to a predetermined match threshold. Only if so, presenting the message indication information corresponding to the session message on the reading page.
[0038] In some embodiments, the second presentation condition includes at least one of the following:
[0039] 1) The time interval between the reception time of the session message and the reception time of the target file is less than or equal to a predetermined time threshold
[0040] In some embodiments, the conversation message needs to satisfy that the time interval between the time the first user receives the conversation message and the time the first user receives the target file is less than or equal to a predetermined time threshold (e.g., 5 minutes). In some embodiments, the conversation message also needs to be received later than the target file.
[0041] 2) The number of messages between the session message and the target file is less than or equal to a predetermined number threshold
[0042] In some embodiments, the session message needs to satisfy that the number of session messages between the presentation position of the session message in the session page of the target session and the presentation position of the target file in the session page is less than or equal to a predetermined threshold (e.g., 10). In some embodiments, the presentation position of the session message in the session page also needs to satisfy that the presentation position of the target file in the session page is located after the presentation position of the target file in the session page.
[0043] 3) The message content of the conversation message includes at least one predetermined keyword
[0044] In some embodiments, the predetermined keyword may be a default setting of the target application corresponding to the target session or the server corresponding to the target application, or the predetermined keyword may also be determined based on the target file, for example, by performing semantic recognition on the file name of the target file to determine at least one predetermined keyword, or for another example, by extracting at least one keyword from the file name of the target file and using it as the predetermined keyword.
[0045] 4) The matching degree between the message content of the conversation message and the target file satisfies a first predetermined matching degree condition
[0046] In some embodiments, it is necessary to first determine the degree of semantic association between the content of the conversation message and the target file's name and / or content, and use this degree of semantic association as the degree of match between the content of the conversation message and the target file. In some embodiments, the message indicator corresponding to the conversation message is presented on the reading page only if this degree of match is greater than or equal to a predetermined threshold.
[0047] 5) Any combination of the second presentation conditions above
[0048] In some embodiments, the second presentation condition includes whether the degree of match between the message content of the conversation message and the target file satisfies a first predetermined match condition; wherein the method further includes: the user device determining whether the degree of match between the message content and the target file satisfies the first predetermined match condition. In some embodiments, it is necessary to first obtain a semantic correlation between the message content of the conversation message and the file name and / or file content of the target file, and use this semantic correlation as the degree of match between the message content of the conversation message and the target file.
[0049] In some embodiments, determining whether the degree of match between the message content and the target file satisfies a first predetermined matching condition includes: determining a first degree of match between the message content and the file name of the target file; if the first degree of match is greater than or equal to a first predetermined matching threshold, determining that the degree of match between the message content and the target file satisfies the first predetermined matching condition; otherwise, determining a second degree of match between the message content and the file content in the target file; if the second degree of match is greater than or equal to a second predetermined matching threshold, determining that the degree of match between the message content and the target file satisfies the first predetermined matching condition. In some embodiments, the degree of semantic association between the message content of the conversation message and the file name of the target file can be first obtained and used as a first matching degree. If the first matching degree is greater than or equal to a first predetermined matching degree threshold, it can be determined that the matching degree between the message content and the target file meets the predetermined matching degree condition. Otherwise, the degree of semantic association between the message content and the file content in the target file can be further obtained and used as a second matching degree. If the second matching degree is greater than or equal to a second predetermined matching degree threshold, it can be determined that the matching degree between the message content and the target file meets the predetermined matching degree condition. Alternatively, a final matching degree value can be obtained based on the first matching degree and the second matching degree. If the matching degree value is greater than or equal to the second predetermined matching degree threshold, it can be determined that the matching degree between the message content and the target file meets the predetermined matching degree condition. For example, the matching degree value can be the product of the first matching degree and the second matching degree.
[0050] In some embodiments, the third user has edited the target file before; wherein, the method further comprises: the user device positions the reading page to the edited content area of the third user in the target file. In some embodiments, if the third user has edited the target file before, the edited content area of the third user in the file content of the target file can be first obtained, and the reading page can be positioned to the edited content area, for example, positioned to the starting position of the edited content area, or, if there are multiple edited content areas of the third user in the file content of the target file, the reading page can be positioned to one of the multiple edited content areas, for example, positioned to the frontmost edited content area among the multiple edited content areas, or positioned to the edited content area among the multiple edited content areas that is closest to the current reading position of the first user.
[0051] In some embodiments, the method further includes: the user device determining, based on the message content of the conversation message, at least one content in the target file whose matching degree with the message content satisfies a second predetermined matching degree condition; and marking the at least one content on the reading page. In some embodiments, the user device can perform a match within the target file based on the message content of the conversation message, obtaining at least one content within the file content whose matching degree (i.e., semantic relevance) with the message content is greater than or equal to a predetermined matching degree threshold, including but not limited to a word, sentence, paragraph, etc. within the file content. The at least one content is then marked on the reading page, for example, by highlighting the at least one content.
[0052] In some embodiments, determining, based on the message content of the conversation message, at least one content in the target file whose degree of match with the message content satisfies a second predetermined matching condition comprises: matching the message content of the conversation message with the directory information of the target file to determine one or more sections in the target file whose degree of match with the message content is greater than or equal to a third predetermined matching threshold; and matching the message content with the section content corresponding to the one or more sections to determine at least one content in the section content whose degree of match with the message content satisfies the second predetermined matching condition. In some embodiments, the message content of the conversation message may be matched within the directory information of the target file, i.e., by matching the section name or title corresponding to each section in the target information, to determine one or more sections whose degree of match (i.e., semantic relevance) with the message content is greater than or equal to a predetermined matching threshold. Then, based on the page numbers corresponding to the one or more sections in the directory information, the section content corresponding to the one or more sections is obtained from the file content of the target file, and matching is performed within the section content based on the message content to obtain at least one content within the section content whose degree of match (i.e., semantic relevance) with the message content is greater than or equal to the predetermined matching threshold.
[0053] In some embodiments, the method further includes: the user device positioning the reading page to an area where target content that meets a predetermined condition is located in the at least one content. In some embodiments, the reading page can be positioned to an area where a target content in the at least one content is located, wherein the target content can be the content in the at least one content that has the highest matching degree with the message content, or the target content can also be the content in the at least one content that is closest to the current reading position of the first user, or the target content can also be the content located at the front of the at least one content.
[0054] Figure 2 A flow chart of a method for presenting conversation messages according to an embodiment of the present application is shown.
[0055] like Figure 2 As shown, while a user is chatting with a friend, the friend sends a document file to the user. After downloading the document, the user can view the content of the document. While the user is viewing the content of the document, the friend sends a message to the user to determine whether the friend has successfully sent the message. If not, the user continues to view the document. If so, the user can see the content of the message sent by the user (or, a message content prompt of the message) while reading the document. In addition, the user can also reply to the message content.
[0056] Figure 3 A structural diagram of a user device for presenting conversation messages according to one embodiment of the present application is shown. The device includes a first module 11 and a second module 12. Module 11 is configured to, in response to a first user accessing a target file sent by a second user in a conversation page of a target conversation, present a reading page corresponding to the target file. Module 12 is configured to, in response to receiving a conversation message sent by a third user in the target conversation, present message indication information corresponding to the conversation message in the reading page.
[0057] A module 11 is configured to present a reading page corresponding to a target file in response to a first user performing an access operation on a target file sent by a second user in the target session on a session page of a target session. In some embodiments, the target session may be a one-to-one session between the first user and the second user, or a group session in which the first user and the second user jointly participate. In some embodiments, if the target session is a one-to-one session, the corresponding session page is a private chat session page, and the session messages sent by the second user are presented on the first user's session page. If the target session is a group session, the corresponding session page is a group chat session page, and the session messages sent by other group members (e.g., the second user) in the group session are presented on the first user's session page. The types of session messages include, but are not limited to, text, audio, video, images, files, etc. In some embodiments, the first user may perform an access operation (e.g., a click operation) on the target file sent by the second user on the session page. In response to the access operation, a new reading page is opened based on the session page, or a jump is made from the session page to a reading page, wherein the target file is presented on the reading page for the first user to read the target file. In some embodiments, because the reading page will completely or partially block the previous conversation page, the first user will not be able to see the subsequent conversation messages sent by other users (eg, the second user) in the target conversation.
[0058] Module 12 is configured to present message indication information corresponding to the session message in the reading page in response to receiving a session message sent by a third user in the target session. In some embodiments, if a session message is subsequently received from a third user in the target session other than the first user, the message indication information corresponding to the session message will be directly presented in the reading page, wherein the message indication message may be directly the message content of the session message, or the message indication message may also be a message prompt information for prompting the session message, and the message prompt information includes but is not limited to the user identification information of the sending user of the session message, the sending time or receiving time of the session message, and a predetermined length of partial text content in the message content of the session message (for example, the text content of the predetermined length mentioned above). In some embodiments, the third user needs to be the same user as the second user, or the third user may be any user in the target session other than the first user. In the present application, when a user views a file sent by a conversation partner in a target conversation on a conversation page, he or she can continue to receive conversation messages sent by the conversation partner and can view the conversation messages without exiting the reading of the file, thereby achieving information synchronization between the two parties. If the conversation message is related to the file, the user can view the relevant message in the file immediately, which can save the user a lot of time cost, avoid the user's repeated operations, and improve the user's operation efficiency.
[0059] In some embodiments, the device is further configured to: in response to a cancel operation performed by the first user on the message indication information, cancel the presentation of the message indication information on the reading page. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0060] In some embodiments, the message indication information includes the message content of the conversation message. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0061] In some embodiments, the message indication information includes message prompt information for prompting the conversation message; wherein the device is further configured to: in response to the first user performing a viewing operation on the message prompt information, present the message content of the conversation message on the reading page. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0062] In some embodiments, the device is further configured to: in response to the first user's reply operation on the message content, obtain the reply message input by the first user, and send the reply message to the target session. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0063] In some embodiments, the device is further configured to: cancel the presentation of the message content in the reading page. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0064] In some embodiments, the first and second modules 12 are used to: in response to receiving a conversation message sent by a third user in the target conversation, confirm whether the third user meets the predetermined first presentation condition; if so, present the message indication information corresponding to the conversation message. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0065] In some embodiments, the first presentation condition includes at least one of the following: the third user and the second user are the same user; the third user is a friend of the first user; the third user is the creator of the target file; the third user has edited the target file; the third user has access rights to the target file; the third user has editing rights to the target file. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0066] In some embodiments, the first and second modules 12 are configured to: in response to receiving a conversation message sent by a third user in the target conversation, if the third user and the second user are the same user, directly present the message indication information corresponding to the conversation message on the reading page; otherwise, determine whether the conversation message meets a predetermined second presentation condition; if so, present the message indication information corresponding to the conversation message. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0067] In some embodiments, the second presentation condition includes at least one of the following:
[0068] 1) The time interval between the reception time of the session message and the reception time of the target file is less than or equal to a predetermined time threshold
[0069] 2) The number of messages between the session message and the target file is less than or equal to a predetermined number threshold
[0070] 3) The message content of the conversation message includes at least one predetermined keyword
[0071] 4) The matching degree between the message content of the conversation message and the target file satisfies a first predetermined matching degree condition
[0072] 5) Any combination of the second presentation conditions above
[0073] Here, the relevant operations are Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0074] In some embodiments, the second presentation condition includes that the degree of match between the message content of the conversation message and the target file satisfies a first predetermined matching condition; wherein the device is further configured to: determine whether the degree of match between the message content and the target file satisfies the first predetermined matching condition. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0075] In some embodiments, the determination of whether the degree of match between the message content and the target file satisfies a first predetermined degree of match condition includes: determining a first degree of match between the message content and the file name of the target file, and if the first degree of match is greater than or equal to a first predetermined degree of match threshold, determining that the degree of match between the message content and the target file satisfies the first predetermined degree of match condition; otherwise, determining a second degree of match between the message content and the file content in the target file, and if the second degree of match is greater than or equal to a second predetermined degree of match threshold, determining that the degree of match between the message content and the target file satisfies the first predetermined degree of match condition. Here, the relevant operations are the same as Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0076] In some embodiments, the third user has edited the target file; wherein the device is further configured to: locate the reading page to the edited content area of the third user in the target file. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0077] In some embodiments, the device is further configured to: determine, based on the message content of the conversation message, at least one content in the target file whose matching degree with the message content satisfies a second predetermined matching degree condition; and mark the at least one content in the reading page. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0078] In some embodiments, the step of determining, in the target file, at least one content whose matching degree with the message content satisfies a second predetermined matching degree condition based on the message content of the conversation message includes: matching the message content of the conversation message with the directory information of the target file to determine one or more chapters in the target file whose matching degree with the message content is greater than or equal to a third predetermined matching degree threshold; matching the message content with the chapter content corresponding to the one or more chapters, and determining at least one content in the chapter content whose matching degree with the message content satisfies the second predetermined matching degree condition. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0079] In some embodiments, the device is further configured to: locate the reading page to an area where a target content that meets a predetermined condition is located in the at least one content. Figure 1 The embodiments shown are the same or similar and therefore will not be described in detail, but are incorporated herein by reference.
[0080] In addition to the methods and devices described in the above embodiments, the present application also provides a computer-readable storage medium, which stores computer code. When the computer code is executed, the method described in any of the above items is executed.
[0081] The present application also provides a computer program product. When the computer program product is executed by a computer device, the method described in any one of the preceding items is executed.
[0082] The present application also provides a computer device, comprising:
[0083] one or more processors;
[0084] a memory for storing one or more computer programs;
[0085] When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any one of the preceding items.
[0086] Figure 4shows an exemplary system that can be used to implement the various embodiments described in this application;
[0087] like Figure 4 In some embodiments, the system 300 can function as any of the devices described in the various embodiments. In some embodiments, the system 300 can include one or more computer-readable media (e.g., system memory or NVM / storage device 320) having instructions and one or more processors (e.g., processor(s) 305) coupled to the one or more computer-readable media and configured to execute the instructions to implement the modules and thereby perform the actions described herein.
[0088] For one embodiment, system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 305 and / or any suitable device or component in communication with system control module 310 .
[0089] The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. The memory controller module 330 may be a hardware module, a software module, and / or a firmware module.
[0090] System memory 315 can be used, for example, to load and store data and / or instructions for system 300. For one embodiment, system memory 315 can include any suitable volatile memory, such as a suitable DRAM. In some embodiments, system memory 315 can include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0091] For one embodiment, system control module 310 may include one or more input / output (I / O) controllers to provide interfaces to NVM / storage device 320 and communication interface(s) 325 .
[0092] For example, NVM / storage 320 may be used to store data and / or instructions. NVM / storage 320 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0093] NVM / storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 320 may be accessed over a network via communication interface(s) 325.
[0094] Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and / or with any other suitable devices. System 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and / or protocols.
[0095] For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers of the system control module 310 (e.g., the memory controller module 330). For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 to form a system-on-chip (SoC).
[0096] In various embodiments, system 300 may be, but is not limited to, a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and / or a different architecture. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0097] It should be noted that the application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the application can be executed by a processor to realize the steps or functions described above. Similarly, the software program of the application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0098] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes but is not limited to a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by the computer.
[0099] Communication media include media by which communication signals containing, for example, computer-readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media may include guided transmission media such as cables and wires (e.g., fiber optic, coaxial, etc.) and wireless (unguided transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer-readable instructions, data structures, program modules, or other data may be embodied as, for example, a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as that embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal that has one or more of its characteristics changed or set in such a manner as to encode information in the signal. Modulation may be analog, digital, or a hybrid modulation technique.
[0100] By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other media now known or later developed that can store computer-readable information / data for use by a computer system.
[0101] Here, according to one embodiment of the present application, a device is included, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, the device is triggered to run the methods and / or technical solutions based on the aforementioned multiple embodiments of the present application.
[0102] It is obvious to those skilled in the art that the present application is not limited to the details of the above-mentioned exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. Words such as first and second are used to indicate names and do not indicate any particular order.
Claims
1. A method for presenting conversation messages, wherein: The method includes: In response to an access operation performed by a first user in a session page of a target session on a target file sent by a second user in the target session, presenting a reading page corresponding to the target file; In response to receiving a conversation message sent by a third user in the target conversation, presenting message indication information corresponding to the conversation message on the reading page; The step of presenting message indication information corresponding to the session message on the reading page in response to receiving the session message sent by the third user in the target session includes: In response to receiving a conversation message sent by a third user in the target conversation, if the third user and the second user are the same user, directly presenting message indication information corresponding to the conversation message on the reading page; Otherwise, determining whether the conversation message satisfies a predetermined second presentation condition; If so, present message indication information corresponding to the conversation message.
2. The method according to claim 1, wherein The method further comprises: In response to a cancel operation performed by the first user on the message indication information, the message indication information is canceled from being presented in the reading page.
3. The method according to claim 1, wherein The message indication information includes the message content of the session message.
4. The method according to claim 1, wherein The message indication information includes message prompt information for prompting the conversation message; The method further comprises: In response to the first user performing a viewing operation on the message prompt information, the message content of the conversation message is presented on the reading page.
5. The method according to claim 3 or 4, wherein: The method further comprises: In response to a reply operation performed by the first user on the message content, a reply message input by the first user is obtained, and the reply message is sent to the target session.
6. The method according to claim 5, wherein: The method further comprises: The message content is canceled from being presented in the reading page.
7. The method according to claim 1, wherein The step of presenting message indication information corresponding to the conversation message on the reading page in response to receiving the conversation message sent by the third user in the target conversation includes: In response to receiving a session message sent by a third user in the target session, confirming whether the third user meets a predetermined first presentation condition; If so, present message indication information corresponding to the conversation message.
8. The method according to claim 7, wherein: The first presentation condition includes at least one of the following: The third user and the second user are the same user; The third user is a friend of the first user; The third user is the user who created the target file; The third user has edited the target file; The third user has access rights to the target file; The third user has editing authority for the target file.
9. The method according to claim 1, wherein The second presentation condition includes at least one of the following: The time interval between the reception time corresponding to the conversation message and the reception time corresponding to the target file is less than or equal to a predetermined time threshold; The number of messages between the session message and the target file is less than or equal to a predetermined number threshold; The message content of the conversation message includes at least one predetermined keyword; The degree of matching between the message content of the conversation message and the target file satisfies a first predetermined matching condition.
10. The method according to claim 9, wherein: The second presentation condition includes that the degree of matching between the message content of the conversation message and the target file satisfies a first predetermined matching condition; The method further comprises: Determine whether the degree of matching between the message content and the target file satisfies a first predetermined matching condition.
11. The method according to claim 10, wherein: The determining whether the degree of matching between the message content and the target file satisfies a first predetermined matching condition includes: Determining a first degree of match between the message content and the file name of the target file, and if the first degree of match is greater than or equal to a first predetermined degree of match threshold, determining that the degree of match between the message content and the target file satisfies a first predetermined degree of match condition; Otherwise, determine a second degree of match between the message content and the file content in the target file. If the second degree of match is greater than or equal to a second predetermined degree of match threshold, determine that the degree of match between the message content and the target file meets a first predetermined degree of match condition.
12. The method according to claim 1, wherein The third user has edited the target file; The method further comprises: The reading page is positioned to the edited content area of the third user in the target file.
13. The method according to claim 1, wherein The method further comprises: Determining, in the target file, based on the message content of the conversation message, at least one content whose matching degree with the message content satisfies a second predetermined matching degree condition; The at least one content is marked in the reading page.
14. The method according to claim 13, wherein The determining, in the target file, at least one content whose matching degree with the message content satisfies a second predetermined matching degree condition, according to the message content of the conversation message, includes: By matching the message content of the conversation message with the directory information of the target file, determining one or more chapters in the target file whose matching degree with the message content is greater than or equal to a third predetermined matching degree threshold; The message content is matched with chapter contents corresponding to the one or more chapters, and at least one content whose matching degree with the message content satisfies a second predetermined matching degree condition is determined in the chapter contents.
15. The method according to claim 13, wherein The method further comprises: The reading page is positioned to an area where a target content that meets a predetermined condition is located in the at least one content.
16. A computer device for presenting conversation messages, comprising a memory, a processor, and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 15.
17. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
18. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.