Patent Description:
Online documents are generally web page products. That is, an online document is displayed in the form of a web page in a browser; moreover, the document is edited online based on the display of the document.

A common method for combining the online document and instant messaging (IM) is to set a comment or chat module on a web page to facilitate communication between users. However, this method has the following problems: When a user intends to view or edit the online document, a browser needs to be jumped to, causing an excessively long waiting time for the user; moreover, when viewing or editing the online document, the user cannot learn other latest notification messages in IM, resulting in poor user experience.

The present disclosure provides a method and apparatus for displaying an online document, an electronic device, and a storage medium to achieve an object of displaying the online document in an instant messaging window. The features of the method and apparatus according to the present invention are defined in the independent claims. Further improvements are provided in the dependent claims. In the following description and in the attached drawings the expression "to jump to a target link address" is to be understood as "to open a target link address", wherein the target link address is a webpage address connected to an online document.

The present disclosure provides a method for displaying an online document. The method is applied to an instant messaging client and includes the steps below.

In response to receiving an interactive instruction for a first user through the online document, an online document notification message is generated in the instant messaging session list of the first user. The interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document.

In response to receiving an instruction triggering the online document notification message, a target link address is acquired.

The target link address is jumped to in an instant messaging window through a document container and the online document is displayed in the instant messaging window. The document container is integrated into an instant messaging framework.

The present disclosure further provides an apparatus for displaying an online document. The apparatus includes a generation module, an acquisition module, and a display module.

The generation module is configured to, in response to receiving an interactive instruction for a first user through the online document, generate an online document notification message in the instant messaging session list of the first user. The interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document.

The acquisition module is configured to, in response to receiving an instruction triggering the online document notification message, acquire a target link address.

The display module is configured to jump to the target link address in an instant messaging window through a document container and display the online document in the instant messaging window. The document container is integrated into an instant messaging framework.

The present disclosure further provides an electronic device. The electronic device includes one or more processors and a storage apparatus configured to store one or more programs.

The one or more programs, when executed by the one or more processors, cause the one or more processors to perform any method for displaying an online document according to embodiments of the present disclosure.

The present disclosure further provides a storage medium including computer-executable instructions which, when executed by a computer processor, are configured to cause the computer processor to perform any method for displaying an online document according to embodiments of the present disclosure.

Embodiments of the present disclosure are described in more detail hereinafter with reference to the drawings.

Steps recited in the method embodiments of the present disclosure may be performed in a different order and/or in parallel. Additionally, the method embodiments may include an additional step and/or omit performing an illustrated step.

As used herein, the term "include" and variations thereof are intended to be inclusive, that is, "including, but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one another embodiment"; the term "some embodiments" means "at least some embodiments". Related definitions of other terms are given in the description hereinafter.

Concepts such as "first" and "second" in the present disclosure are merely intended to distinguish one from another apparatus, module, or unit and are not intended to limit the order or interrelationship of the functions performed by the apparatus, module, or unit.

References to modifications of "one" or "a plurality" mentioned in the present disclosure are intended to be illustrative and not limiting; those skilled in the art should understand that "one" or "a plurality" should be understood as "one or more" unless clearly expressed in the context.

<FIG> is a flowchart of a method for displaying an online document according to embodiment one of the present disclosure. The method for displaying an online document is applied to an instant messaging (IM) client and is suitable for a scenario where the online document is displayed in an instant messaging window. Specifically, in addition to retaining the inherent functions of the online document, a personalized function adapted to instant messaging is added to the online document. For example, a second user may mention a first user in the online document; alternatively, the second user performs an operation including commenting, annotation, or modification on the information published by the first user in the online document. Correspondingly, a notification message of the related online document is displayed in the instant messaging session list of the first user to notify the first user that the first user was mentioned by the second user or that the second user commented on, annotated, or modified the information published by the first user. Accordingly, the instant messaging users are enabled to have in-depth communication on a certain topic, especially a text-related topic, in the online document, making the communication and interaction in the document more convenient. The method may be performed by an apparatus for displaying an online document. The apparatus may be implemented in the form of at least one of software or hardware.

As shown in <FIG>, the method for displaying an online document provided in this embodiment includes the steps below.

In step <NUM>, in response to receiving an interactive instruction for the first user through the online document, an online document notification message is generated in the instant messaging session list of the first user. The interactive instruction includes that the second user mentions the first user or that the second user mentions the content published by the first user in the online document.

As for the second user mentioning the first user, it may be that the second user mentions the first user in the online document through the manner of "@". Of course, the second user may mention the first user through another symbol. The specific symbol used for mentioning the user depends on the specific design carried out when the online document is developed. Exemplarily, referring to <FIG> is a view of an interface where the second user mentions the first user in the online document. Here the first user is "Yu Xu". The second user mentions the first user "Yu Xu" through the manner of entering "@Yu Xu" in the online document.

That the second user mentions the content published by the first user in the online document includes that the second user comments on, annotates, or modifies the content published by the first user in the online document.

That the online document notification message is used for notifying the first user includes that the first user was mentioned by others or that the content published by the first user in the online document was mentioned by others. Exemplarily, referring to <FIG> is a view of an interface where the online document notification message is generated in the instant messaging session list. A region <NUM> in <FIG> represents the instant messaging session list. A block <NUM> represents the online document notification message. It can be seen from <FIG> that the online document notification message includes an icon of the online document and the specific content of the notification message, for example, the specific content of the notification message is that "San Zhang mentioned you" or a message that "San Zhang commented on the content published by you".

The online document includes Word text, txt text, or an Excel table. The technical solutions in this embodiment are described with an example in which the online document is an Excel table.

In step <NUM>, in response to receiving an instruction triggering the online document notification message, a target link address is acquired.

In step <NUM>, the target link address is jumped to in an instant messaging window through a document container and the online document is displayed in the instant messaging window. The document container is integrated into an instant messaging framework.

When the first user triggers the instruction of the online document notification message, the first user is able to see the specific content of the online document in the instant messaging window of the first user. The specific content of the online document is, for example, the comment, annotation or modification made by the second user on the content published by the first user in the online document.

The target link address is an address for storing the product code of the online document. That is, the icon of the online document displayed in the instant messaging client corresponds to a sole target link address. The target link address is usually stored in a server providing services for the instant messaging client so that all users of the instant messaging client can share the online document. When receiving the instruction triggering the online document notification message, the instant messaging client acquires the target link address from the server.

The document container is integrated into the instant messaging framework. The document container is equivalent to a service. The loading, rendering and display of the document can be implemented by calling the document container. The target link address stores the product code of the online document which may be understood as the content to be loaded and displayed. The loading, rendering and display of the product code of the online document can be implemented via the document container so that an object of displaying the online document is achieved finally. Since the document container is integrated into the instant messaging framework, an object of jumping to the target link address in the instant messaging window through the document container and displaying the document in the instant messaging window is achieved. When the current user intends to open an online document in the instant messaging window, the document does not need to be opened through jumping to a browser but can be opened in the instant messaging window. At this point, when the instant messaging client receives a chat message sent by another user, the current user may learn the chat message timely. The display of the online document does not affect the current user's timely learning of other notification messages of the instant messaging client. The user can conveniently switch from the window displaying the online document to the chat window with a friend.

Exemplarily, the step in which the target link address is jumped to in the instant messaging window through the document container and the online document is displayed in the instant messaging window includes the step below.

In the online document displayed in the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed.

In response to the interactive instruction for the first user being that the second user mentions the first user, the step in which in the online document displayed in the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed includes the steps below.

A place where the second user mentions the first user in the online document is positioned.

The place is displayed in the online document displayed in the instant messaging window and an area where a mentioned identifier of the first user is located is highlighted.

The step in which the target link address is jumped to in the instant messaging window through the document container and the online document is displayed in the instant messaging window further includes the step below.

In a first display area of the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed; moreover, in a second display area of the instant messaging window, a notification message corresponding to the information is displayed.

The first user is allowed to reply to the notification message in the second display area.

Exemplarily, referring to <FIG> is a view of an interface where the online document is displayed in the instant messaging window. The interface in <FIG> is the display interface of the instant messaging client of the first user "San Zhang". A window <NUM> represents the first display area of the instant messaging window. The first display area displays the page of the opened online document. It can be seen that the second user "Si Li" mentioned the first user "San Zhang" in the online document. The first user "San Zhang" opens and displays the online document by triggering the document notification message <NUM> displayed in the session list; that is, the first user "San Zhang" acquires the display page of the window <NUM>. Moreover, it can also be seen from <FIG> that when the online document is displayed, the information (@ San Zhang) that is generated most recently in the online document and unread by the first user "San Zhang" is positioned and displayed in the online document. That is, the place where the second user mentions the first user in the online document is positioned. Moreover, the notification message corresponding to the unread information is also displayed in the second display area <NUM> of the instant messaging window. The notification message shown in <FIG> is specifically that "Si Li mentioned you". The first user "San Zhang" may reply to the notification message that "Si Li mentioned you" in the second display area <NUM>. For example, if the first user "San Zhang" replies a message "received", then the corresponding online document notification message may be generated in the instant messaging session list of the second user "Si Li" at this point.

In response to the interactive instruction for the first user being that the second user edits the content published by the first user in the online document, the step in which in the online document displayed in the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed includes the steps below.

A content area targeted when the second user edits the content is positioned.

The content area is highlighted in the online document displayed in the instant messaging window.

In response to the interactive instruction for the first user being that the second user comments on the content published by the first user in the online document, the step in which in the online document displayed in the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed includes the steps below.

A content area targeted when the second user comments and a comment area generated when the second user comments are positioned.

The content area and the comment area are highlighted in the online document displayed in the instant messaging window.

In the technical solutions of this embodiment, the technical means include, in response to receiving an interactive instruction for a first user through the online document, generating an online document notification message in the instant messaging session list of the first user, where the interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document; in response to receiving an instruction triggering the online document notification message, acquiring a target link address; and jumping to the target link address in an instant messaging window through a document container and displaying the online document in the instant messaging window, where the document container is integrated into an instant messaging framework. Accordingly, an object of displaying the online document in the instant messaging window is achieved without the need for jumping to a browser for display.

<FIG> is a flowchart of a method for displaying an online document according to embodiment two of the present disclosure. On the basis of the preceding embodiment, this embodiment further optimizes the solutions.

As shown in <FIG>, the method includes the steps below.

In step <NUM>, in response to receiving an interactive instruction for a first user through the online document, an online document notification message is generated in the instant messaging session list of the first user. The interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document.

In step 540A, in response to receiving a switching instruction, the target link address is jumped to in a preset browser and the online document is displayed in the preset browser.

The number of editing functions for the online document displayed in the preset browser is greater than the number of editing functions for the online document displayed in the instant messaging window.

In step 540B, in response to receiving a topping instruction, the icon of the online document is displayed on top in the instant messaging session list.

An opening instruction of the online document is able to be triggered through the icon of the online document.

In step 540C, in response to a user editing the online document displayed in the instant messaging window, the content edited by the user is uploaded to a server for saving.

It needs to be mentioned that the inherent functions of the online document displayed in the instant messaging window are retained. For example, for a Word document, the online document has inherent functions for editing text, for example, setting the font, font size and color of the text. For an Excel document, the online document has inherent functions such as sorting and summation.

In the case where the online document is an Excel table, the method further includes the step below.

In response to receiving an instruction of creating a worksheet triggered by the user based on a table displayed in the instant messaging window, the created worksheet is uploaded to the server for saving.

If the online document is relatively important or the user does not finish editing the online document, the icon of the online document can be pinned to the top via the topping function of instant messaging. That is, the icon of the online document is displayed in the first line of the session list so as to help the user find and open the online document to continue viewing or editing the document. Exemplarily, referring to <FIG> is a view of an operation method for pinning the icon of the online document to the top.

Due to the limited size of the instant messaging window, not all the editing tools of the online document can be displayed, and the editing tools may be hidden, folded, or deleted. In this regard, if the user needs a more complete toolbar or a stronger editing window, the method for displaying an online document provided in this embodiment supports opening the online document in the browser.

An instant messaging client is configured to be installed in a terminal. The call interface of the browser installed on the terminal by default is written into the implementation program of the instant messaging client. When the switching instruction is received, the browser is called so that the target link address is opened and the document is displayed in the preset browser. The browser installed on the terminal by default refers to the browser provided by the system of the terminal, that is, the browser installed directly on the terminal without user selection.

In the technical solutions of this embodiment, the arrangement in which an online document is provided with the topping function helps achieve an object of enabling a user to find the icon of the online document quickly and thus achieve an object of enabling the user to find and use the online document quickly, thereby improving user experience.

<FIG> shows an apparatus for displaying an online document according to embodiment three. The apparatus includes a generation module <NUM>, an acquisition module <NUM>, and a display module <NUM>.

The generation module <NUM> is configured to, in response to receiving an interactive instruction for a first user through the online document, generate an online document notification message in the instant messaging session list of the first user. The interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document. The acquisition module <NUM> is configured to, in response to receiving an instruction triggering the online document notification message, acquire a target link address. The display module <NUM> is configured to jump to the target link address in an instant messaging window through a document container and display the online document in the instant messaging window. The document container is integrated into an instant messaging framework.

On the basis of the preceding technical solutions, the display module <NUM> is configured to, in the online document displayed in the instant messaging window, position and display the information corresponding to the interactive instruction for the first user.

On the basis of the preceding technical solutions, the display module <NUM> includes a positioning unit and a display unit.

The positioning unit is configured to, in response to the interactive instruction for the first user being that the second user mentions the first user, position a place where the second user mentions the first user in the online document; or in response to the interactive instruction for the first user being that the second user edits the content published by the first user in the online document, position a content area targeted when the second user edits the content; or in response to the interactive instruction for the first user being that the second user comments on the content published by the first user in the online document, position a content area targeted when the second user comments and a comment area generated when the second user comments.

The display unit is configured to display the place in the online document displayed in the instant messaging window and highlight an area where a mentioned identifier of the first user is located, or highlight the content area in the online document displayed in the instant messaging window, or highlight the content area and the comment area in the online document displayed in the instant messaging window.

On the basis of the preceding technical solutions, the display module <NUM> may further be configured to, in a first display area of the instant messaging window, position and display the information corresponding to the interactive instruction for the first user and, in a second display area of the instant messaging window, display a notification message corresponding to the information.

On the basis of the preceding technical solutions, the apparatus further includes a switching module.

The switching module is configured to, in response to receiving a switching instruction, jump to the target link address in a preset browser and display the online document in the preset browser.

On the basis of the preceding technical solutions, the apparatus further includes a topping module.

The topping module is configured to, in response to receiving a topping instruction, display the icon of the online document on top in the instant messaging session list.

On the basis of the preceding technical solutions, the document includes an Excel table, Word text, or txt text.

On the basis of the preceding technical solutions, the apparatus further includes an upload module.

The upload module is configured to, in response to a user editing the online document displayed in the instant messaging window, upload the content edited by the user to a server for saving. Alternatively, in the case where the online document is an Excel table, the upload module is configured to, in response to receiving an instruction of creating a worksheet triggered by the user based on a table displayed in the instant messaging window, upload the created worksheet to the server for saving.

The apparatus for displaying an online document provided in this embodiment can perform the method for displaying an online document provided in any embodiment of the present disclosure and has functional modules and effects corresponding to the method performed.

It is to be noted that units and modules included in the preceding apparatus are just divided according to functional logic, and the division is not limited to this, as long as the corresponding functions can be implemented. Additionally, the specific names of the units and modules are just intended for distinguishing, and are not to limit the protection scope of embodiments of the present disclosure.

Referring to <FIG> shows a diagram illustrating the structure of an electronic device <NUM> for implementing a method for displaying an online document according to embodiments of the present disclosure. The electronic device <NUM> may be, for example, a terminal device or a server shown in <FIG>. The terminal device in this embodiment may include, but is not limited to, mobile terminals such as a mobile phone, a laptop, a digital broadcast receiver, a personal digital assistant (PDA), a portable Android device (PAD), a portable media player (PMP), and an in-vehicle terminal (for example, an in-vehicle navigation terminal); and stationary terminals such as a digital television (TV) and a desktop computer. The electronic device shown in <FIG> is merely an example and is not intended to limit the function and usage scope of embodiments of the present disclosure.

As shown in <FIG>, the electronic device <NUM> may include a processing apparatus <NUM>, for example, a central processing unit or a graphics processing unit. The processing apparatus <NUM> may execute, according to a program stored in a read-only memory (ROM) <NUM> or a program loaded into a random access memory (RAM) <NUM> from a storage apparatus <NUM>, various appropriate actions and processing. Various programs and data required for the operation of the electronic device <NUM> are also stored in the RAM <NUM>. The processing apparatus <NUM>, the ROM <NUM>, and the RAM <NUM> are connected to each other through a bus <NUM>. An input/output (I/O) interface <NUM> is also connected to the bus <NUM>.

Generally, the following apparatuses may be connected to an I/O interface <NUM>: an input apparatus <NUM> such as a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, and a gyroscope; an output apparatus <NUM> such as a liquid crystal display (LCD), a speaker, and a vibrator; the storage apparatus <NUM> such as a magnetic tape and a hard disk; and a communication apparatus <NUM>. The communication apparatus <NUM> may allow the electronic device <NUM> to perform wireless or wired communication with other devices to exchange data. Although <FIG> shows the electronic device <NUM> having various apparatuses, it is to be understood that not all the apparatuses shown herein need to be implemented or present. Alternatively, more or fewer apparatuses may be implemented or present.

According to this embodiment, the process described above with reference to the flowchart may be implemented through a computer software program. For example, this embodiment includes a computer program product. The computer program product includes a computer program carried in a non-transitory computer-readable medium. The computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded from a network and installed through the communication apparatus <NUM>, or may be installed from the storage apparatus <NUM>, or may be installed from the ROM <NUM>. When the computer program is executed by the processing apparatus <NUM>, the preceding functions defined in the method of this embodiment are executed.

For the content not described in detail in this embodiment, refer to the preceding embodiments. This embodiment has the same effect as the preceding embodiments.

This embodiment provides a computer storage medium for storing a computer program which, when executed by a processor, causes the processor to perform the method for displaying an online document provided in the preceding embodiments.

The preceding computer storage medium of the present disclosure may be a computer-readable storage medium. The computer-readable storage media may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, apparatus or device, or any combination thereof. A more specific example of the computer-readable storage medium may include, but is not limited to, an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM) or a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium may be any tangible medium including or storing a program. The program may be used by or used in conjunction with an instruction execution system, apparatus, or device. The computer-readable storage medium belongs to a computer-readable medium. The computer-readable medium may also include a computer-readable signal medium. The computer-readable signal medium may include a data signal propagated on a baseband or as part of a carrier. Computer-readable program codes are carried in the data signal. The data signal propagated in this manner may be in multiple forms and includes, and is not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium may further be any computer-readable medium other than the computer-readable storage medium. The computer-readable signal medium may send, propagate, or transmit a program used by or in conjunction with an instruction execution system, apparatus, or device. The program codes included in the computer-readable medium may be transmitted in any suitable medium, including, but not limited to, a wire, an optical cable, a radio frequency (RF), or any suitable combination thereof.

In some embodiments, clients and servers may communicate using any currently known or future developed network protocol, such as the Hypertext Transfer Protocol (HTTP), and may be interconnected with any form or medium of digital data communication (for example, a communication network). Examples of the communication network include a local area network (LAN), a wide area network (WAN), an internet (for example, the Internet), a peer-to-peer network (for example, an Ad-Hoc network), and any network currently known or to be developed in the future.

The computer-readable medium may be included in the electronic device or may exist alone without being assembled into the electronic device.

The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is configured to, in response to receiving an interactive instruction for a first user through an online document, generate an online document notification message in the instant messaging session list of the first user, where the interactive instruction includes that a second user mentions the first user or that the second user mentions the content published by the first user in the online document; in response to receiving an instruction triggering the online document notification message, acquire a target link address; and jump to the target link address in an instant messaging window through a document container and display the online document in the instant messaging window, where the document container is integrated into an instant messaging framework.

Computer program codes for performing the operations in the present disclosure may be written in one or more programming languages or a combination thereof. The preceding one or more programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk and C++, as well as conventional procedural programming languages such as C or similar programming languages. The program codes may be executed entirely on a user computer, partly on the user computer, as a stand-alone software package, partly on the user computer and partly on a remote computer, or entirely on the remote computer or a server. In the scenario involving the remote computer, the remote computer may be connected to the user computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer, for example, through the Internet using an Internet service provider.

The flowcharts and block diagrams in the drawings show the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a program segment, or part of codes that contains one or more executable instructions for implementing specified logical functions. It is also to be noted that in some alternative implementations, the functions in the blocks may occur in sequences different from those shown in the drawings. For example, two successive blocks may in fact be executed substantially in parallel or in a reverse order, which depends on the functions involved. It is also to be noted that each block in the block diagrams and/or flowcharts and a combination of blocks in the block diagrams and/or flowcharts may be implemented by a specific-purpose hardware-based system which performs specified functions or operations or a combination of specific-purpose hardware and computer instructions.

The units involved in embodiments of the present disclosure may be implemented by software or hardware. The name of a unit is not intended to limit the unit in a certain circumstance. For example, an editable content display unit may also be described as an "editing unit".

The functions described above herein may be performed, at least partially, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), application specific standard product (ASSP), a System-on-a-Chip (SOC), and a complex programmable logic device (CPLD).

In the context of the present disclosure, a computer-readable medium may be a tangible medium that may include or store a program that is used by or in conjunction with a system, apparatus or device that executes instructions. According to one or more embodiments of the present disclosure, example one provides a method for displaying an online document. The method includes the steps below.

According to one or more embodiments of the present disclosure, example two provides a method for displaying an online document. Optionally, the step in which the target link address is jumped to in the instant messaging window through the document container and the online document is displayed in the instant messaging window includes the step below.

According to one or more embodiments of the present disclosure, example three provides a method for displaying an online document. Optionally, in response to the interactive instruction for the first user being that the second user mentions the first user, the step in which in the online document displayed in the instant messaging window, the information corresponding to the interactive instruction for the first user is positioned and displayed includes the steps below.

According to one or more embodiments of the present disclosure, example four provides a method for displaying an online document. Optionally, the step in which the target link address is jumped to in the instant messaging window through the document container and the online document is displayed in the instant messaging window includes the step below.

According to one or more embodiments of the present disclosure, example five provides a method for displaying an online document. Optionally, the method includes the step below.

In response to receiving a switching instruction, the target link address is jumped to in a preset browser and the online document is displayed in the preset browser.

According to one or more embodiments of the present disclosure, example six provides a method for displaying an online document. Optionally, the method includes the step below.

In response to receiving a topping instruction, the icon of the online document is displayed on top in the instant messaging session list.

According to one or more embodiments of the present disclosure, example seven provides a method for displaying an online document. Optionally, the method includes the step below.

In response to a user editing the online document displayed in the instant messaging window, the content edited by the user is uploaded to a server for saving.

According to one or more embodiments of the present disclosure, example eight provides an apparatus for displaying an online document. The apparatus includes a generate module, an acquisition module, and a display module.

According to one or more embodiment of the present disclosure, example nine provides an electronic device. The electronic device includes one or more processors and a storage apparatus configured to store one or more programs.

The one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method for displaying an online document below.

According to one or more embodiments of the present disclosure, example ten provides a storage medium including computer-executable instructions which, when executed by a computer processor, are configured to cause the computer processor to perform the method for displaying an online document below.

Claim 1:
A method for displaying an online document, wherein the method is applied to an instant messaging client and comprises:
in response to receiving an interactive instruction for a first user inputted by a second user in the online document, generating (<NUM>, <NUM>) an online document notification message in an instant messaging session list of the first user, wherein the interactive instruction for the first user inputted by the second user in the online document comprises that the second user mentions the first user by entering a specific symbol in the online document or that the second user mentions content published by the first user in the online document, wherein the second user mentions the content published by the first user in the online document comprises that the second user comments on, annotates, or modifies the content published by the first user in the online document;
in response to receiving a triggering instruction for triggering the online document notification message, acquiring (<NUM>, <NUM>) a target link address from a server providing services for the instant messaging client, wherein the target link address is a web page address of the online document; and
opening (<NUM>, <NUM>) the target link address in an instant messaging window of the instant messaging client through a document container, wherein the document container is a service integrated into a framework of the instant messaging client, and displaying the online document in the instant messaging window of the instant messaging client, wherein the service integrated into the framework of the instant messaging client is used for loading, rendering and displaying the online document;
wherein the online document comprises a Word text, a txt text, or an Excel table.