A document display method, device, electronic device and computer readable medium

By determining the company to which the account in the session belongs and obtains the document information in the enterprise WeChat, and displays it on the current session interface, it solves the problem of low efficiency of document query and realizes convenient document search and storage.

CN113127422BActive Publication Date: 2024-08-30BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110441628.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-23
Publication Date
2024-08-30
Estimated Expiration
2041-04-23

AI Technical Summary

Technical Problem

In corporate WeChat, document query efficiency is low, especially when there are multiple WeChat friends or long intervals. Searching for historical documents is time-consuming, and the network disk classification method makes it difficult to find specific documents, resulting in inconvenience.

Method used

In the enterprise instant messaging application, the enterprise of the account in the current session is determined, and the document information is obtained from the session archive and displayed on the current session interface, providing a variety of display options to improve the efficiency of document search.

Benefits of technology

It is possible to directly search for document information during the session without switching session windows or third-party storage applications. This improves the efficiency of document query and simplifies the document management and storage process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113127422B
    Figure CN113127422B
Patent Text Reader

Abstract

The present application provides a document display method, device, electronic device and computer-readable medium, which belongs to the field of data display technology. The method includes: determining the first account and the second account of the conversation in the current session, wherein the current session is a session conducted in the enterprise instant messaging application, and the first account is the account logged in to the enterprise instant messaging application in the current terminal; determining the first enterprise to which the first account belongs and the second enterprise to which the second account belongs according to a preset association relationship, wherein the preset association relationship is a correspondence between the account and the enterprise; obtaining the exchange document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise from the session archive, wherein the session archive contains historical document information of multiple enterprises, and one enterprise has multiple user accounts; and displaying the exchange document information in the display interface of the current session. The present application improves the efficiency of document search.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data display technology, and in particular to a document display method, device, electronic device and computer-readable medium. Background Art

[0002] With the development of industrial Internet and the digital transformation of enterprises, more and more enterprises have opened WeChat accounts for online interaction with customers and provision of online services, improving the efficiency of communication between corporate brands and customers and enhancing the full life cycle experience of customers. In the process of communicating with customers through WeChat, enterprise employees will send some important documents to each other, such as plans, contracts, quotations, etc. In the process of work, due to the need to regularly update documents or search for document records, it is necessary to store and display the documents in historical communication.

[0003] There are two ways to store historical communication documents. One is to store the documents directly in WeChat records, and the other is to store the documents in a network disk. To find documents in WeChat records, you need to check the chat records. If there are many WeChat friends or the interval between document records is too long, it will take time to find the documents. Documents saved in the network disk are generally classified and saved according to document type or purpose. If you only know the sender and receiver of the record document, it is difficult to find the document, resulting in low document query efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a document display method, device, electronic device and computer-readable medium to solve the problem of low document query efficiency. The specific technical solution is as follows:

[0005] In a first aspect, a document display method is provided, the method comprising:

[0006] Determine a first account and a second account for a conversation in a current session, wherein the current session is a session conducted in an enterprise instant messaging application, and the first account is an account logged in to the enterprise instant messaging application in the current terminal;

[0007] Determine, according to a preset association relationship, a first enterprise to which the first account belongs and a second enterprise to which the second account belongs, wherein the preset association relationship is a correspondence between an account number and a corresponding enterprise;

[0008] Acquire the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive, wherein the session archive contains the historical document information of multiple enterprises, and one of the enterprises has multiple user accounts;

[0009] The exchange document information is displayed on the display interface of the current session.

[0010] Optionally, when there are multiple second accounts, determining that the current session is a group chat session;

[0011] When the number of the second account is one, the current session is determined to be a private chat session.

[0012] Optionally, acquiring the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes:

[0013] In the case that the number of the second account is one, searching the session archive for first exchange document information between the target account and the second account, wherein both the target account and the first account are accounts of the first enterprise;

[0014] Determine a first group chat session including the target account and the second account, and search the session archive for second exchange document information in the first group chat session, wherein the first group chat session is created by an account in the first enterprise or the second enterprise;

[0015] Determine a third account, and search the session archive for third exchange document information between the target account and the third account, wherein the third account is an account of the second enterprise, the number of the third account is one, and the third account is different from the second account;

[0016] Determine a second group chat session including the target account and the third account, and search the session archive for fourth exchange document information in the second group chat session, wherein the second group chat session is created by an account in the second enterprise;

[0017] The first transaction document information, the second transaction document information, the third transaction document information, and the fourth transaction document information are used as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0018] Optionally, acquiring the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes:

[0019] In the case that there are multiple second accounts, determining that the current session is a third group chat session, and searching the session archive for fifth exchange document information in the third group chat session;

[0020] Determine a fourth account in the third group chat session, and search the session archive for sixth exchange document information between a target account and the fourth account, wherein both the target account and the first account are accounts of the first enterprise;

[0021] Determine a fourth group chat session including the target account and the fourth account, and search the session archive for seventh exchange document information in the fourth group chat session, wherein the fourth group chat session is created by an account in the first enterprise or the second enterprise;

[0022] The fifth transaction document information, the sixth transaction document information, and the seventh transaction document information are used as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0023] Optionally, the target account is the same as the first account, or

[0024] The target account is different from the first account, wherein the position of the user belonging to the first account in the first enterprise is higher than the position of the user belonging to the target account.

[0025] Optionally, after determining the first enterprise to which the first account belongs, the method further comprises: storing real-time document information of the first account and the second account in the current session into the session archive, wherein the first enterprise has an enterprise identifier for accessing the session archive, and the real-time document information is associated with the enterprise identifier;

[0026] Acquiring the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes: acquiring the exchange document information from the session archive according to the enterprise identifier, wherein the exchange document information includes the real-time document information.

[0027] Optionally, displaying the exchange document information on the display interface of the current session includes:

[0028] The exchange document information is displayed on a display interface of the current session according to the received display instruction, wherein the display interface includes a plurality of display options.

[0029] In a second aspect, a document display device is provided, the device comprising:

[0030] A first determination module, configured to determine a first account and a second account for a conversation in a current session, wherein the current session is a session conducted in an enterprise instant messaging application, and the first account is an account for logging into the enterprise instant messaging application in the current terminal;

[0031] A second determination module, configured to determine a first enterprise to which the first account belongs and a second enterprise to which the second account belongs according to a preset association relationship, wherein the preset association relationship is a correspondence between an account number and a corresponding enterprise;

[0032] an acquisition module, configured to acquire, from a session archive, document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise, wherein the session archive contains historical document information of multiple enterprises, and one of the enterprises has multiple user accounts;

[0033] A display module is used to display the exchange document information on the display interface of the current session.

[0034] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0035] Memory, used to store computer programs;

[0036] The processor is used to implement any of the steps of the document display method when executing the program stored in the memory.

[0037] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the steps of the document display method is implemented.

[0038] Beneficial effects of the embodiments of the present application:

[0039] In the present application, the terminal can determine the first enterprise to which the first account belongs and the second enterprise to which the second account belongs through the first account and the second account of the current session, and then obtain and display the correspondence document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise, thereby ensuring the completeness of the correspondence document information between enterprises or within enterprises on the display interface. In this way, if the user needs to view the correspondence document information during the session, he can directly search for it on the display interface of the current session without switching the session window and checking the session records, nor does he need to switch to a third-party storage application for searching, thereby improving the efficiency of document search.

[0040] Of course, implementing any product or method of the present application does not necessarily require achieving all of the above advantages at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 A schematic diagram of the hardware environment of a document display method provided in an embodiment of the present application;

[0043] Figure 2 A flowchart of a method for document display provided in an embodiment of the present application;

[0044] Figure 3 A schematic diagram of a display interface for intelligently sorted documents provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the structure of a document display device provided in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0048] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0049] The existing technology can store documents directly in WeChat records and search for historical documents from conversation records, but the disadvantages of this include: 1. The document validity period is short. If it is not saved locally in time, the document will not be available after the validity period. 2. To find the conversation record, you need to determine the conversation object and switch to the conversation interface of the conversation object. Switching back and forth between conversation interfaces is cumbersome. 3. Content cannot be shared. As a manager, you cannot know the document information sent by your subordinates to the conversation object and need to ask your subordinates for it. 4. It is not convenient to use. When employees communicate with contacts, they usually open the sidebar tool to improve work efficiency. If they want to use the chat records of Enterprise WeChat, they need to switch pages more often.

[0050] The existing technology can also store documents in a network disk, but the disadvantages of this include: 1. High cost of use. Employees need to frequently maintain important documents in the network disk, which is time-consuming and labor-intensive. 2. Documents saved in the network disk are generally classified and saved according to document type or purpose. If you only know the sender and receiver of the record document, it is difficult to find the document. 3. Not convenient to use. Employees need to switch from the enterprise instant messaging application to the network disk to upload and download documents.

[0051] In order to solve the problems mentioned in the prior art, according to one aspect of the embodiments of the present application, an embodiment of a document display method is provided.

[0052] Optionally, in the embodiment of the present application, the document display method can be applied to Figure 1 In the hardware environment composed of the terminal 101 and the server 103 shown in FIG. Figure 1 As shown, the server 103 is connected to the terminal 101 via a network, and can be used to provide services for the terminal or a client installed on the terminal. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 includes but is not limited to a PC, a mobile phone, a tablet computer, etc.

[0053] A document display method in an embodiment of the present application may be executed by the server 103 , may be executed by the terminal 101 , or may be executed jointly by the server 103 and the terminal 101 .

[0054] The terms used in this application are explained as follows:

[0055] Online disk: It is an information data storage space that allows users to upload, download, share and other operations based on the Internet by logging into a website.

[0056] API: Application Programming Interface (API) is the agreement for connecting different components of a software system. The main purpose of the API is to provide applications and developers with the ability to access a set of routines without having to access the source code or understand the details of the internal working mechanism.

[0057] Conversation content archiving: WeChat for Business has developed a conversation content archiving function. This function allows companies to archive work communication content between employees and between employees and customers, meeting the company's compliance review and risk control requirements.

[0058] The following will describe in detail a document display method provided by an embodiment of the present application in combination with a specific implementation method. Figure 2 As shown, the specific steps are as follows:

[0059] Step 201: Determine a first account and a second account in a current session.

[0060] The current session is a session conducted in the enterprise instant messaging application, and the first account is an account logged in to the enterprise instant messaging application in the current terminal.

[0061] The enterprise instant messaging application has a conversation function between multiple users. Users who use the enterprise instant messaging application need to log in to their accounts in advance to conduct conversations. The terminal determines the first account and the second account of the enterprise instant messaging application in the current session, where the first account is the account logged in to the enterprise instant messaging application on the terminal, and the number of the second account can be multiple or one.

[0062] When the number of second accounts is multiple, it means that the first account has a conversation with multiple second accounts, and the current conversation is a group chat conversation. When the number of second accounts is one, it means that the first account has a conversation with one second account, and the current conversation is a private chat conversation. Among them, the enterprise instant messaging application can be a communication application such as WeChat, QQ, etc.

[0063] Step 202: Determine the first enterprise to which the first account belongs and the second enterprise to which the second account belongs according to the preset association relationship.

[0064] The preset association relationship is the corresponding relationship between the account and the company to which it belongs.

[0065] Since the instant messaging application is an enterprise version, each account on the enterprise instant messaging application has a corresponding enterprise. The terminal pre-stores the correspondence between the account and the enterprise to which the account belongs, so the terminal can determine the first enterprise to which the first account belongs and the second enterprise to which the second account belongs.

[0066] If the company information is not associated with the account, resulting in the inability to view the transaction document information of other accounts in the same company, you can also establish a relationship between the two accounts by associating the account to the same customer, business opportunity, or project.

[0067] Step 203: Acquire the exchanged document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive, wherein the session archive contains the historical document information of multiple enterprises, and one enterprise has multiple user accounts.

[0068] The first enterprise and the second enterprise can be the same enterprise, so the first account and the second account are accounts of the same enterprise, and the conversation between the first account and the second account is a conversation between employees within the enterprise. The first enterprise and the second enterprise can be different enterprises, so the first account and the second account belong to different enterprises respectively, and the conversation between the first account and the second account is a conversation between employees of the first enterprise and employees of the second enterprise. Conversation archiving has the function of archiving conversation content, which is suitable for enterprise instant messaging applications, supports archiving work communication content between employees within the enterprise and between employees and customers of the enterprise, and specifically includes historical document information of multiple enterprises.

[0069] If each employee of the first enterprise has an account, then the first enterprise has multiple accounts, and if each employee of the second enterprise has an account, then the second enterprise has multiple accounts. After determining the first enterprise to which the first account belongs and the second enterprise to which the second account belongs, the terminal obtains the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive, that is, the terminal obtains the exchange document information involved in the session between the employees of the first enterprise and the employees of the second enterprise.

[0070] Step 204: Display the exchange document information on the display interface of the current session.

[0071] The terminal displays the acquired document information in the display interface of the current session. Specifically, the document information can be displayed on the side or below the display interface, which does not affect the user's viewing of the current session and improves the user experience. For example, the document information is displayed in the sidebar of the enterprise WeChat.

[0072] In the present application, the terminal can determine the first enterprise to which the first account belongs and the second enterprise to which the second account belongs through the first account and the second account of the current session, and then obtain and display the correspondence document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise, thereby ensuring the completeness of the correspondence document information between enterprises or within enterprises on the display interface. In this way, if the user needs to view the correspondence document information during the session, he can directly search for it on the display interface of the current session without switching the session window and checking the session records, nor does he need to switch to a third-party storage application for searching, thereby improving the efficiency of document search.

[0073] As an optional implementation, when the current session is a private chat, obtaining the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes:

[0074] 1. When the number of the second account is one, searching the session archive for first exchange document information between the target account and the second account, wherein both the target account and the first account are accounts of the first enterprise.

[0075] In an embodiment of the present application, the terminal detects that the number of second accounts is one, indicating that the current session is a private chat session, and the terminal searches for the first exchange document information between the target account and the second account in the session archive. The target account and the first account can be the same account of the first enterprise, so the terminal searches for the first exchange document information between the first account and the second account in the current session. The target account and the first account can be different accounts of the first enterprise, and the position of the user to whom the first account belongs in the first enterprise is higher than the position of the user to whom the target account belongs, that is, the user to whom the first account belongs has the right to view the exchange document information of the user to whom the target account belongs. When the first account logs in to the enterprise instant messaging application, it can view the exchange document information between subordinates and other employees or customers of the company in the session archive.

[0076] When the target account and the first account are different accounts of the first enterprise, combined with the reporting relationship in the organizational structure, the user (manager) of the first account has the authority to view the exchange document information of the user (subordinate) of the target account, without the need for the manager to communicate with the subordinate to request documents, thereby improving work efficiency and facilitating management for the manager.

[0077] If the target account and the second account belong to the same enterprise, the first enterprise and the second enterprise are the same enterprise, and the terminal searches the session archive for the first exchange document information between the target account and the second account, which is actually searching the session archive for the first exchange document information between employees within the first enterprise.

[0078] If the first account and the second account belong to different companies, the first company and the second company are different companies. The terminal searches the session archive for the first exchange document information between the target account and the second account, which is actually searching the session archive for the first exchange document information between the employees of the first company and the employees of the second company.

[0079] 2. Determine a first group chat session including the target account and the second account, and search the session archive for second exchange document information in the first group chat session, wherein the first group chat session is created by an account in the first enterprise or the second enterprise.

[0080] In the embodiment of the present application, the target account and the second account are both in the first group chat session. If the target account and the second account both belong to the first enterprise, it indicates that the first group chat session is related to the first enterprise, and the first group chat session is created by the account in the first enterprise.

[0081] If the first account and the second account belong to different enterprises, it indicates that the first group chat session is related to the business between the first enterprise and the second enterprise, and the first group chat session is created by an account in the first enterprise or an account in the second enterprise.

[0082] The terminal also needs to search the session archive for the second exchange document information in the first group chat session, expand the scope of the exchange document information related to the first enterprise, and improve the completeness of the exchange document information related to the first enterprise.

[0083] 3. Determine the third account, and search the session archive for the third exchange document information between the target account and the third account, wherein the third account is an account of the second enterprise, the number of the third account is one, and the third account is different from the second account.

[0084] The second account belongs to the second enterprise. Since the second enterprise has multiple accounts, the terminal searches for a third account in the second enterprise. The number of the third account is one, and the third account is different from the second account, indicating that the user to whom the second account belongs and the user to whom the third account belongs are both employees of the second enterprise. The third account and the target account have had historical conversations, that is, other employees in the second enterprise and employees in the first enterprise have single chat conversation records.

[0085] The terminal searches for the third exchange document information between the target account and the third account in the session archive. If the target account and the second account belong to the same first enterprise, the third exchange document information is the exchange document information between employees within the first enterprise. If the first account and the second account belong to different enterprises, the third exchange document information is the exchange document information between the first enterprise and the second enterprise.

[0086] 4. Determine a second group chat session including the target account and the third account, and search the session archive for fourth exchange document information in the second group chat session, wherein the second group chat session is created by an account in the second enterprise.

[0087] In the embodiment of the present application, the target account and the third account are both located in the second group chat session, and the target account and the second account are both located in the second group chat session. If the target account and the second account belong to the first enterprise, it indicates that the second group chat session is related to the first enterprise, and the second group chat session is created by an account in the first enterprise.

[0088] If the first account and the second account belong to different enterprises, it indicates that the second group chat session is related to the business between the first enterprise and the second enterprise, and the second group chat session is created by an account in the first enterprise or an account in the second enterprise.

[0089] The terminal searches the session archive for the fourth exchange document information in the second group chat session, expands the scope of the exchange document information related to the first enterprise, and improves the completeness of the exchange document information related to the first enterprise.

[0090] 5. The first transaction document information, the second transaction document information, the third transaction document information and the fourth transaction document information are used as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0091] The terminal uses the first transaction document information, the second transaction document information, the third transaction document information and the fourth transaction document information as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0092] In the present application, the terminal not only obtains the exchange document information between the target account and the second account, obtains the exchange document information between the target account and the third account located in the same enterprise as the second account, but also obtains the exchange document information of the group chat session between the target account and the second account, and obtains the exchange document information of the group chat session between the target account and the third account, that is, it expands from the second account to other accounts and group chats associated with the second account and the target account, expands the scope of the exchange document information related to the first enterprise, and improves the completeness of the exchange document information related to the first enterprise.

[0093] As an optional implementation, when the current session is a group chat, obtaining the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes:

[0094] 1. When there are multiple second accounts, determine that the current session is a third group chat session, and search the session archive for fifth exchange document information in the third group chat session.

[0095] In an embodiment of the present application, the terminal detects that the number of second accounts is multiple, indicating that the current session is a group chat session, and the third group chat session is a group chat session between internal employees of the first enterprise or between employees of the first enterprise and employees of the second enterprise. The terminal then searches the session archive for the fifth exchange document information in the third group chat session.

[0096] 2. Determine a fourth account in the third group chat session, and search the session archive for sixth exchange document information between the target account and the fourth account, wherein both the target account and the first account are accounts of the first enterprise.

[0097] In an embodiment of the present application, since the third group chat session is a group chat session within the first enterprise or between the first enterprise and the second enterprise, the fourth account and the target account in the third group chat session have a single chat record, indicating that the fourth account is associated with the first enterprise or the second enterprise, then the exchange document information between the fourth account and the target account is document information within the first enterprise or between the first enterprise and the second enterprise, then the terminal searches for the sixth exchange document information between the target account and the fourth account in the session archive.

[0098] 3. Determine a fourth group chat session including the target account and the fourth account, and search the session archive for seventh correspondence document information in the fourth group chat session, wherein the fourth group chat session is created by an account in the first enterprise or the second enterprise.

[0099] The fourth account is associated with the first enterprise or the second enterprise, and the fourth group chat session between the target account and the fourth account is a group chat session within the first enterprise or a group chat session between the first enterprise and the second enterprise. The terminal searches the session archive for the seventh exchange document information in the fourth group chat session.

[0100] 4. The fifth, sixth and seventh transaction document information are used as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0101] The terminal uses the fifth transaction document information, the sixth transaction document information, and the seventh transaction document information as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0102] In the present application, the terminal not only obtains the exchange document information of the third group chat session, but also obtains the exchange document information between the target account and the fourth account in the third group chat session, and the exchange document information of the fourth group chat session including the target account and the fourth account, that is, it expands from the third group chat session to the fourth account and the fourth group chat session, expands the scope of the exchange document information related to the first enterprise, and improves the completeness of the exchange document information related to the first enterprise.

[0103] As an optional implementation, after determining the first enterprise to which the first account belongs, the terminal stores the real-time document information of the first account and the second account in the current session into the session archive, wherein the session archive can store document information of multiple enterprises, each enterprise has an identification API for accessing the session archive, and the terminal stores the real-time document information of the first account and the second account into the session archive according to the identification of the first enterprise. On the one hand, the terminal stores the real-time document information into the session archive, and on the other hand, according to the identification of the first enterprise, takes out the exchange document information related to the first enterprise from the session archive and displays it in the session interface. Among them, the exchange document information includes real-time document information.

[0104] In this application, documents are automatically saved to the session archive, and employees no longer need to switch to the network disk to store documents, nor do they need to switch to third-party storage applications to search, which improves the efficiency of document storage and query and helps improve work efficiency. Session archives can permanently save documents without document expiration.

[0105] As an optional implementation, displaying the exchange document information on the display interface of the current session includes: the user can freely select the display method of the exchange document, so that the terminal displays the exchange document information on the display interface of the current session according to the received display instruction, wherein the display interface includes a variety of display options, such as intelligent sorting, display according to the time of document upload (including by the latest time, by the oldest time, by a specific time), display by document size (including from large to small and from small to large), display by document name, display by sender or recipient, etc. The present application does not impose specific restrictions on the display method of the document. Figure 3 A schematic diagram of the display interface for intelligently sorted documents.

[0106] like Figure 3 As shown in the figure, the document display includes the document name, document type (picture, video, table, document, etc.), sending time, names of both parties in the conversation, and group chat name. There is also a search box on the display interface, where users can search and find relevant documents.

[0107] Based on the same technical concept, the embodiment of the present application also provides a document display device, such as Figure 4 As shown, the device comprises:

[0108] The first determination module 401 is used to determine a first account and a second account in a current session, wherein the current session is a session conducted in an enterprise instant messaging application, and the first account is an account logged in to the enterprise instant messaging application in the current terminal;

[0109] A second determination module 402 is used to determine the first enterprise to which the first account belongs and the second enterprise to which the second account belongs according to a preset association relationship, wherein the preset association relationship is a correspondence between the account and the enterprise to which it belongs;

[0110] The acquisition module 403 is used to acquire the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive, wherein the session archive contains the historical document information of multiple enterprises, and one enterprise has multiple user accounts;

[0111] The display module 404 is used to display the exchange document information on the display interface of the current session.

[0112] Optionally, when there are multiple second accounts, determining that the current session is a group chat session;

[0113] When the number of the second account is one, the current session is determined to be a private chat session.

[0114] Optionally, the acquisition module 403 includes:

[0115] A first search unit is used to search the session archive for first exchange document information between a target account and a second account when the number of the second account is one, wherein both the target account and the first account are accounts of the first enterprise;

[0116] A first determining unit is used to determine a first group chat session including a target account and a second account, and search the session archive for second exchange document information in the first group chat session, wherein the first group chat session is created by an account in the first enterprise or the second enterprise;

[0117] A second determining unit is used to determine a third account, and search the session archive for third exchange document information between the target account and the third account, wherein the third account is an account of the second enterprise, the number of the third account is one, and the third account is different from the second account;

[0118] A third determining unit is used to determine a second group chat session including the target account and the third account, and search the session archive for fourth exchange document information in the second group chat session, wherein the second group chat session is created by an account in the second enterprise;

[0119] The first as a unit is used to use the first transaction document information, the second transaction document information, the third transaction document information and the fourth transaction document information as the transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0120] Optionally, the acquisition module 403 includes:

[0121] a fourth determining unit, configured to determine, when there are multiple second accounts, that the current session is a third group chat session, and search the session archive for fifth exchange document information in the third group chat session;

[0122] a fifth determining unit, configured to determine a fourth account in the third group chat session, and search the session archive for sixth exchange document information between the target account and the fourth account, wherein both the target account and the first account are accounts of the first enterprise;

[0123] a sixth determining unit, configured to determine a fourth group chat session including the target account and the fourth account, and search the session archive for seventh correspondence document information in the fourth group chat session, wherein the fourth group chat session is created by an account in the first enterprise or the second enterprise;

[0124] The second as unit is used to use the fifth transaction document information, the sixth transaction document information and the seventh transaction document information as transaction document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise.

[0125] Optionally, the target account is the same as the first account, or

[0126] The target account is different from the first account, wherein the position of the user belonging to the first account in the first enterprise is higher than the position of the user belonging to the target account.

[0127] Optionally, the device further comprises:

[0128] A storage module, used to store the real-time document information of the first account and the second account in the current session into the session archive, wherein the first enterprise has an enterprise identifier for accessing the session archive, and the real-time document information is associated with the enterprise identifier;

[0129] The acquisition module 403 includes:

[0130] The acquisition unit is used to acquire the transaction document information from the session archive according to the enterprise identification, wherein the transaction document information includes real-time document information.

[0131] Optionally, the display module 404 includes:

[0132] The display unit is used to display the exchange document information on the display interface of the current session according to the received display instruction, wherein the display interface includes multiple display options.

[0133] According to another aspect of the embodiments of the present application, the present application provides an electronic device, such as Figure 5 As shown, it includes a memory 503, a processor 501, a communication interface 502 and a communication bus 504. The memory 503 stores a computer program that can be run on the processor 501. The memory 503 and the processor 501 communicate through the communication interface 502 and the communication bus 504. When the processor 501 executes the computer program, the steps of the above method are implemented.

[0134] The memory and processor in the above electronic device communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.

[0135] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0136] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0137] According to another aspect of the embodiments of the present application, a computer-readable medium having a non-volatile program code executable by a processor is provided.

[0138] Optionally, in an embodiment of the present application, a computer-readable medium is configured to store a program code for the processor to execute the above method:

[0139] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0140] When the embodiments of the present application are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.

[0141] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0142] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0145] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0147] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0148] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk. It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0149] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A document display method, characterized in that: The method comprises: Determine a first account and a second account for a conversation in a current session, wherein the current session is a session conducted in an enterprise instant messaging application, and the first account is an account logged in to the enterprise instant messaging application in the current terminal; Determine, according to a preset association relationship, a first enterprise to which the first account belongs and a second enterprise to which the second account belongs, wherein the preset association relationship is a correspondence between an account and its enterprise; Acquire the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive, wherein the session archive contains the historical document information of multiple enterprises, and one of the enterprises has multiple user accounts; Displaying the exchange document information on the display interface of the current session; The acquiring, from the session archive, the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise comprises: In the case where the number of the second account is one, determining that the current session is a private chat session, searching the session archive for first exchange document information between the target account and the second account, wherein the target account and the first account are both accounts of the first enterprise; determining a first group chat session including the target account and the second account, and searching the session archive for second exchange document information in the first group chat session, wherein the first group chat session is created by an account in the first enterprise or the second enterprise; determining a third account, and searching the session archive for third exchange document information between the target account and the third account, wherein the third account is an account of the second enterprise, the number of the third account is one, and the third account is different from the second account; determining a second group chat session including the target account and the third account, and searching the session archive for fourth exchange document information in the second group chat session, wherein the second group chat session is created by an account in the second enterprise; using the first exchange document information, the second exchange document information, the third exchange document information, and the fourth exchange document information as exchange document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise; In the case that there are multiple second accounts, determine that the current session is a third group chat session, and search for fifth exchange document information in the third group chat session in the session archive; determine a fourth account in the third group chat session, and search for sixth exchange document information between a target account and the fourth account in the session archive, wherein the target account and the first account are both accounts of the first enterprise; determine a fourth group chat session including the target account and the fourth account, and search for seventh exchange document information in the fourth group chat session in the session archive, wherein the fourth group chat session is created by an account in the first enterprise or the second enterprise; use the fifth exchange document information, the sixth exchange document information, and the seventh exchange document information as exchange document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise.

2. The method according to claim 1, characterized in that: The target account is the same as the first account, or The target account is different from the first account, wherein the position of the user belonging to the first account in the first enterprise is higher than the position of the user belonging to the target account.

3. The method according to claim 1, characterized in that After determining the first enterprise to which the first account belongs, the method further includes: storing real-time document information of the first account and the second account in the current session into the session archive, wherein the first enterprise has an enterprise identifier for accessing the session archive, and the real-time document information is associated with the enterprise identifier; Acquiring the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise from the session archive includes: acquiring the exchange document information from the session archive according to the enterprise identifier, wherein the exchange document information includes the real-time document information.

4. The method according to claim 1, characterized in that: Displaying the exchange document information on the display interface of the current session includes: The exchange document information is displayed on a display interface of the current session according to the received display instruction, wherein the display interface includes a plurality of display options.

5. A document display device, characterized in that: The device comprises: A first determination module, configured to determine a first account and a second account for a conversation in a current session, wherein the current session is a session conducted in an enterprise instant messaging application, and the first account is an account for logging into the enterprise instant messaging application in the current terminal; A second determination module, configured to determine a first enterprise to which the first account belongs and a second enterprise to which the second account belongs according to a preset association relationship, wherein the preset association relationship is a correspondence between an account and a corresponding enterprise; an acquisition module, configured to acquire, from a session archive, document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise, wherein the session archive contains historical document information of multiple enterprises, and one of the enterprises has accounts of multiple users; A display module, used to display the exchange document information on the display interface of the current session; The acquiring, from the session archive, the exchange document information between the multiple accounts of the first enterprise and the multiple accounts of the second enterprise comprises: In the case where the number of the second account is one, determining that the current session is a private chat session, searching the session archive for first exchange document information between the target account and the second account, wherein the target account and the first account are both accounts of the first enterprise; determining a first group chat session including the target account and the second account, and searching the session archive for second exchange document information in the first group chat session, wherein the first group chat session is created by an account in the first enterprise or the second enterprise; determining a third account, and searching the session archive for third exchange document information between the target account and the third account, wherein the third account is an account of the second enterprise, the number of the third account is one, and the third account is different from the second account; determining a second group chat session including the target account and the third account, and searching the session archive for fourth exchange document information in the second group chat session, wherein the second group chat session is created by an account in the second enterprise; using the first exchange document information, the second exchange document information, the third exchange document information, and the fourth exchange document information as exchange document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise; In the case that there are multiple second accounts, determine that the current session is a third group chat session, and search for fifth exchange document information in the third group chat session in the session archive; determine a fourth account in the third group chat session, and search for sixth exchange document information between a target account and the fourth account in the session archive, wherein the target account and the first account are both accounts of the first enterprise; determine a fourth group chat session including the target account and the fourth account, and search for seventh exchange document information in the fourth group chat session in the session archive, wherein the fourth group chat session is created by an account in the first enterprise or the second enterprise; use the fifth exchange document information, the sixth exchange document information, and the seventh exchange document information as exchange document information between multiple accounts of the first enterprise and multiple accounts of the second enterprise.

6. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the steps of any one of the methods described in claims 1-4 when executing a program stored in a memory.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Information display method and device in instant messaging application and electronic device

    CN107171930A

  • Session display method and device, computer equipment and storage medium

    CN112287262A

  • Information processing method and device and storage medium

    CN112637039A

  • System and method for generating persistent sessions in a graphical interface for managing communication sessions

    US20110258550A1