CN117806742A - Online document display method, device, equipment and storage medium - Google Patents

Online document display method, device, equipment and storage medium Download PDF

Info

Publication number
CN117806742A
CN117806742A CN202211175344.7A CN202211175344A CN117806742A CN 117806742 A CN117806742 A CN 117806742A CN 202211175344 A CN202211175344 A CN 202211175344A CN 117806742 A CN117806742 A CN 117806742A
Authority
CN
China
Prior art keywords
barrage
document
content
bullet screen
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211175344.7A
Other languages
Chinese (zh)
Inventor
肖潇
刘源
郑智赢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211175344.7A priority Critical patent/CN117806742A/en
Publication of CN117806742A publication Critical patent/CN117806742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for displaying an online document, and relates to the technical fields of computers and Internet. The method comprises the following steps: displaying an online document, wherein the online document refers to a document in which document contents are synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts; in response to a barrage send operation for first document content in the online document, a first barrage generated from the first document content is displayed and sent to at least one member account of the online document for display. According to the technical scheme, the bullet screen sending form of the online document is enriched, the bullet screen sending efficiency is improved, and the bullet screen sending steps are simplified.

Description

Online document display method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical fields of computers and the Internet, in particular to a method, a device, equipment and a storage medium for displaying online documents.
Background
The user can implement co-editing of the document with other users in the form of an online document.
In the related art, users generally realize communication between each other through comments and a comment reply mode when viewing or editing an online document.
However, the way in which users communicate based on online documents is relatively single.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for displaying an online document. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, there is provided a method for displaying an online document, the method including:
displaying an online document, wherein the online document refers to a document in which document contents are synchronized among a plurality of member accounts and the simultaneous online editing of the plurality of member accounts is supported;
in response to a barrage send operation for first document content in the online document, a first barrage generated from the first document content is displayed, and the first barrage is sent to at least one member account of the online document for display barrage sending.
According to an aspect of an embodiment of the present application, there is provided a display apparatus for an online document, the apparatus including:
the document display module is used for displaying an online document, wherein the online document refers to a document in which document contents are synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts;
And the bullet screen display module is used for responding to bullet screen sending operation aiming at first document content in the online document, displaying a first bullet screen generated according to the first document content, and sending the first bullet screen to at least one member account of the online document for display.
According to an aspect of the embodiments of the present application, there is provided a terminal device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above method.
According to an aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored therein a computer program loaded and executed by a processor to implement the above-described method.
According to one aspect of embodiments of the present application, there is provided a computer program product comprising a computer program stored in a computer readable storage medium. The processor of the terminal device reads the computer program from the computer readable storage medium, and the processor executes the computer program, so that the terminal device performs the above-described method.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
by a barrage transmission operation of the document content of the online document, a barrage generated according to the document content can be displayed, and the barrage can be transmitted to at least one member account of the online document for display. By the method, the barrage is directly generated and displayed according to the document content, and the barrage sending form of the online document can be enriched. In addition, in the related art, the barrage can be transmitted only after the content is input in the input box, but according to the technical scheme provided by the embodiment of the application, the barrage generated based on the document content can be transmitted by directly performing barrage transmission operation on the document content, so that the barrage transmission efficiency is improved, and the barrage transmission steps are simplified.
Drawings
FIG. 1 is a schematic diagram of an implementation environment for an embodiment provided herein;
FIG. 2 is a schematic diagram of a scenario application provided in one embodiment of the present application;
FIG. 3 is a flow chart of a method for displaying an online document provided in one embodiment of the present application;
FIG. 4 is an interface schematic diagram of a barrage revocation method provided in an embodiment of the present application;
FIG. 5 is a flow chart of a method for displaying an online document provided in another embodiment of the present application;
FIG. 6 is an interface schematic diagram of a barrage modification method provided in one embodiment of the present application;
FIG. 7 is an interface schematic diagram of a barrage augmentation method provided in one embodiment of the present application;
FIG. 8 is a flow chart of a method for displaying an online document provided in another embodiment of the present application;
FIG. 9 is an interface diagram of a method for moving a barrage according to one embodiment of the present disclosure;
FIG. 10 is a flow chart of a method for displaying an online document provided in another embodiment of the present application;
FIG. 11 is an interface diagram of a barrage recovery method according to one embodiment of the present disclosure;
FIG. 12 is a flow chart of a method for displaying an online document provided in another embodiment of the present application;
FIG. 13 is an interface diagram of a method of bullet privacy messages provided in one embodiment of the present application;
FIG. 14 is an interface schematic diagram of a barrage display method according to one embodiment of the present application;
FIG. 15 is a flowchart of a method for displaying an online document provided in another embodiment of the present application;
FIG. 16 is a block diagram of a display device for online documents provided in one embodiment of the present application;
FIG. 17 is a block diagram of a display device for online documents provided in accordance with another embodiment of the present application;
fig. 18 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before describing the technical scheme of the application, some nouns related to the application are explained. The following related explanations may be arbitrarily combined with the technical solutions of the embodiments of the present application as alternatives, which all belong to the protection scope of the embodiments of the present application. Embodiments of the present application include at least some of the following.
1. Online document: collaboration tools supporting simultaneous online editing of multiple member accounts, real-time synchronization of content, categories including text, forms, slides (PPT), etc.
2. On-line form: a common data statistics mode and a common data arrangement method are used for classifying online documents.
3. Document member: refers to a user opening and viewing an online document. All document members can view the barrages sent by other member accounts.
4. The owner: the administrator of the online document may decide the rights of the document members. The user creating the online document will default to the owner, who can transfer the identity. In general, the owner of a document is considered to have the ability to send a barrage, which can be used to prompt other document members.
5. Collaborators: document members having authority to edit an online document. In general, document collaborators are considered to have the ability to send a barrage, which can be used to communicate with other collaborators or owners by way of barrage replies or comments.
6. Bullet screen: and displaying the caption with the comment function. Optionally, the caption includes at least one of content sent by the sender account and identification of the sender account. Alternatively, the caption may be moved in any direction, including but not limited to, left and right.
Canvas: is an HTML (Hyper Text Markup Language ) element that can use scripts (typically JavaScript) to draw graphics. For example, it can be used to draw charts, make photo compositions, or simply animate.
Api (Application Program Interface ): is a set of definitions, programs and protocols that enable the communication of computer software with each other through an API. One of the main functions of the API is to provide a generic set of functions. The programmer can lighten the programming task by calling the API function to develop the application program. The API is also a middleware for providing data sharing for various platforms.
Exact Components (Components): the elements constitute a component (a complex component is made up of multiple components), which in turn constitutes an application. The core idea of act is componentization, where components pass data through properties (tips) and states (states). The practice is to split the interface into reusable modules, each of which is a practice component, by the concept of the component. A compact application is composed of several components, and a complex component may also be composed of several simple components. The act component may be declared in several ways, either as a class containing the render () method or as a simple function, which takes tips as input and returns the act element as output, whatever that matter.
Div elements are elements used to provide structure and context for the content of large blocks (blocks-levels) within an HTML document.
Referring to fig. 1, a schematic diagram of an implementation environment of an embodiment of the present application is shown. The implementation environment of the scheme can comprise: a terminal device 10 and a server 20.
The terminal device 10 includes, but is not limited to, a mobile phone, a tablet computer, an intelligent voice interaction device, a game console, a wearable device, a multimedia playing device, a PC (Personal Computer ), a vehicle-mounted terminal, an intelligent home appliance, and the like. A client of a target application can be installed in the terminal device 10.
In this embodiment of the present application, the target application may be any application that provides an online document function, and specifically may be a social application, a browser application, an instant messaging application, a Virtual Reality (VR) application, an augmented Reality (Augmented Reality, AR) application, or the like, which is not limited in this embodiment of the present application. In addition, the manner in which the online document is displayed supported is different for different applications, which is not limited in the embodiments of the present application. Alternatively, the terminal device 10 has a client running the above application.
The server 20 is used to provide background services for clients of target applications in the terminal device 10. For example, the server 20 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms, but not limited thereto.
The terminal device 10 and the server 20 can communicate with each other via a network. The network may be a wired network or a wireless network.
Referring to fig. 2, a schematic diagram of a scenario application of a method for displaying an online document according to an embodiment of the present application is shown.
As shown in FIG. 2, sub-graph (a) represents a displayed online document, here exemplified by an online form. When the mouse is stopped on the document content of the "academic number", a key of ' one-click rotation biu sending ' appears in response to the hovering operation, and when the mouse clicks the key, the document content of the "academic number" is sent out in a bullet screen form, and bullet screen ' xiao He classmates as shown in the sub-graph (b) are displayed: number of school. The bullet screen displayed on the online document as shown in sub-graph (b) may be displayed on the document interface of the sender account, i.e., the Ming He Tong school, or on the document interface of other member accounts.
In the related art, a bullet screen appears on a video website, and a viewer can perform operations such as praise, comment, and "+1" on the bullet screen, and the main performance is interaction among viewers. In a live room, the anchor may communicate with the audience by observing the barrage. In the related technology, document members of online document products mainly rely on annotation or comment to communicate, and no bullet screen is displayed. The comment function of the online document product in the related art is not fully combined with the advantages of other products, such as: sending private messages to the document members of the comments; in addition, some interactive scenarios are lacking, such as: when the document member does not have a modification opinion on the online document, the document member can refer to the existing content, so that the participation degree is improved.
According to the technical scheme provided by the embodiment of the application, through supplementing the barrage function vacancy of the online document and the interaction scheme that document editing can be associated with barrages, a more interesting and visual method is provided for interaction between collaborators of the online document.
Referring to fig. 3, a flowchart of a method for displaying an online document according to an embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (320-340):
step 320, displaying an online document, wherein the online document refers to a document whose document content is synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts.
An online document described in embodiments of the present application may be considered a type of document that is distinguished from an offline document. The presentation form of the online document may be online text, and the online document may be at least one of an online form and an online slide in addition to the online text, which is not limited in this application. For any online document, the technical scheme provided by the embodiment of the application can be adopted for bullet screen transmission. In the following embodiments, explanation will be made taking only that the online document is an online form as an example.
In some embodiments, the member account is an account corresponding to a member of the document, i.e., the member account is an account of a user that is able to open and view an online document. In some embodiments, the member account includes at least one of an owner account of the document, a collaborator account of the document. The type of the particular member account is not limited. In some embodiments, the a account is taken as an account of an owner of the online document E, the a account shares the online document E to the B account, the B account can edit the online document E, the B account edits the online document E, and the a account and the B account can be synchronously displayed, where both the a account and the B account are referred to as member accounts of the online document E. In other embodiments, the member accounts include accounts other than the owner account of the document, the collaborator account of the document that are capable of viewing the online document. Optionally, the account C is used as an account of an owner of the online document F, and shares the online document F to the account D, and other accounts can not edit the online document F due to the fact that the account C sets the document authority, at the moment, the account D can only view the online document F and can not edit the online document F, but the account C can synchronously display the edited content of the document F. The C account and the D account may also be referred to as member accounts of the online document F at this time. The present application is not limited to the existence form of the account number, including but not limited to a mobile phone number account number, a social software account number, a mailbox account number, and the like.
The display form of the online document is not limited, and the online document can be displayed in a full screen form or a half screen form optionally. Optionally, the online document is exposed to all member accounts through the browser API.
In some embodiments, the display form for the online document may be set by the member account itself, e.g., after the member account opens the online document through the browser API, the manner in which the document is exposed may be set, e.g., by modifying font size, font color, line spacing, line width, etc. In some embodiments, modifications to the presentation of the document by the member account may not be synchronized to other member accounts, but only change the presentation of the online document by the current member account. In other embodiments, after the online document is opened, some operations of searching and filtering may be performed on the member account, and optionally, the document content after the operations is displayed in synchronization with other member accounts. Alternatively, the document content after the operation may not be displayed by synchronizing other member accounts. In some embodiments, when member account A wants to perform a screening function on an online document, it only wants to view information about itself, at which time the screening operation of member account A is not synchronized to other member accounts. In other embodiments, when the member account a wants to display specific content for other member accounts, the document content of the online document is screened through the screening operation, and at this time, the operation result of the member account a may be synchronously displayed for other member accounts.
In response to the bullet screen transmission operation for the first document content in the online document, a first bullet screen generated from the first document content is displayed, and the first bullet screen is transmitted to at least one member account of the online document for display, step 340.
The first document content is part or all of the document content of the online document. In some embodiments, the online document is an online table, optionally, the online table is an n-row by m-column table, and the content stored in the n-row by m-column table may be considered as the document content, where n and m are both positive integers. The first document content is part or all of the document content of an online document. Alternatively, the first document content may be the whole content of one of the cells, the whole content of a plurality of the cells, or the partial content of one of the cells, or the partial content of a plurality of the cells, which is not limited in this application. In some embodiments, the online document is an online word, and the first document content is some or all of the content in the word. Optionally, the document content includes a document title and a document body portion. Optionally, the first document content is the content of the word from line 5, word 3 to word 8. In some embodiments, the online document is an online slide and the first document content may be all or part of the content of the first slide.
The present application is not limited to the form of document content, which includes but is not limited to text, pictures, audio, video.
The barrage send operation is an operation for sending a barrage based on document content. The specific type of barrage delivery operation is not limited in this application, and any operation that can be performed directly on document content and that is capable of delivering a barrage is within the scope of the present application. In some embodiments, the barrage send operation is an operation that directly acts on the first document content, or an operation that indirectly acts on the first document content. Wherein the operation directly applied to the first document content may be regarded as a one-step operation, and when the online document is an online form, the first barrage generated from the first content is displayed in response to a right click operation on the first document content. Of course, the present application is not limited to a specific operation type, and may also perform operations such as double click, left click, and the like. The operation of indirectly acting on the first document content may be considered as a multi-step operation, i.e. at least two steps of operations may be required to display the first bullet screen. Optionally, a hover operation for the first document content is first performed, a barrage send control is derived based on the hover operation for the first document content, and the first barrage is displayed in response to the operation of the barrage send control. The specific operation type is not limited, and optionally, the operation may also be operations such as clicking, touching, etc. on other controls.
The first barrage is a barrage generated from the first document content. In some embodiments, the content of the first bullet screen is all or part of the content of the first document. In some embodiments, the content in the first barrage is a complete display of the first document content, i.e., the content in the first barrage is the entirety of the first document content. Optionally, the first document content is "academic" and the content in the first bullet screen is also "academic". In other embodiments, the content in the first barrage is an incomplete display of the first document content, i.e., the content in the first barrage is part of the first document content. In some embodiments, the threshold content is displayed at most in the first bullet screen, regardless of the content of the first document content. Alternatively, if the threshold is 10 characters, the content of 10 characters is displayed at most, and more than 10 characters are not displayed. Optionally, the first document content is "weather today is good, i want to climb mountain," the content in the first barrage is "weather today is good, i want to go," and the content after going is not displayed. In some embodiments, keywords in the first document content are displayed in the first barrage, i.e., the content of the first barrage is determined based on the keywords of the first document content. Optionally, the first document content is "today is a weekend, and the mine is going to climb a mountain", and the content of the first barrage can be determined to be "today, mine, and climb a mountain" according to the keywords "today, mine, and climb a mountain" of the first document content, and punctuation marks between the keywords are not limited and can be connected in commas or pause numbers. According to the technical scheme provided by the embodiment of the application, all or part of the first document content can be directly displayed through the first barrage, the document content can be directly sent to be the barrage, so that the emphasis is convenient to be highlighted, and the document members can display the emphasis content in the document on the document interfaces of other document members in the form of the barrage.
In other embodiments, the content of the first bullet screen is generated based on but different from the content of the first document. Optionally, the first bullet screen of different types of content is transmitted according to the type of the first document content. In some embodiments, the terminal device sets a correspondence between the type of document content and the type of barrage content in advance. If the first document content is the content of the suggestion, the content of the first bullet screen can be set as the surface content, for example, the content of the first bullet screen can be set as 'true good, praise'; if the first document content is criticizing content, the content of the first barrage may be set as error-type content, for example, the content of the first barrage may be set as 'sorry' in advance; if the first document content is a bulletin type content, the content of the first bullet screen may be set as the content for determining the received information, for example, the content of the first bullet screen may be set as "received" in advance. In some embodiments, the first document content is "I suggest to perform work on four days of the week," and the content of the first barrage for the first document may be "praise". In some embodiments, where the first document content is "bad for the week, the next correction is desired", the content of the first barrage for the first document may be "sorry". In some embodiments, the first document content is "go to property before work to get to work, then the content of the first bullet screen for the first document may be" received ". That is, the terminal device recognizes the type of the first document content, and determines the type of the barrage content to be displayed according to the type of the first document content. In some embodiments, each type of bullet screen content may be pre-configured with a corresponding one or more bullet screen content. After determining the bullet screen content type, one bullet screen content is selected from the corresponding one or more bullet screen contents. In some embodiments, there are a plurality of different types of barrage content, each time the type of barrage content is determined by the terminal device after the type of first document content is determined, and then one of the barrage content of the type or types is selected at random for display. In some embodiments, the terminal device first identifies the type of the first document content. Optionally, the terminal device determines the type of the first document content according to the keyword of the first document content. Alternatively, a corresponding keyword may be configured for each document content type in advance, and if the first document content includes a keyword corresponding to a certain document content type, it is determined that the first document content belongs to the type. In some embodiments, the type of the first document content is criticizing, and its keywords may be "bad", "wrong", "serious", and so on. In some embodiments, the type of the first document content is topical, then its keywords may be "good", "excellent", "very bar", and so on. According to the technical scheme provided by the embodiment of the application, aiming at the content of the first document of different types, the content of the first barrage of different types is corresponding, so that the barrage sending mode of the online document is enriched, and meanwhile, the interest of barrage display of the online document is improved.
In other embodiments, the content of the first barrage may further include account information of the sender account of the first barrage, optionally, the sender account information includes an identifier of the sender account, a nickname, and the like, optionally, the sender of the first barrage is "xiao He classmates", and then the content of the first barrage is "xiao He classmates: number of school. "xiao He classmates" may be considered content in the first barrage or may be considered not content in the first barrage, but merely to characterize the sender of the first barrage for prompting other document members. The content of the first barrage may further include an identity of the sender account of the first barrage, optionally, the identity of the sender xiao He of the first barrage is a super member, and the content of the first barrage is "super member xiao He classmates: number of school. The "supermember xiao He classmate" may be considered to be the content in the first barrage, or may be considered to be other than the content in the first barrage, and may be used to alert other document members only to characterize the identity of the sender xiao He classmate of the first barrage as a supermember. In the technical solution provided in this embodiment of the present invention, the content of the first barrage may include an identifier of the sender account, which is used to inform other document members of who the sender of the barrage is, for example, when the sender account is the owner of the online document, and when the owner sends the barrage with the account information of the owner prompted, other document members pay more attention to the barrage. When the bullet screen sent by the owner comprises the instruction information for editing the document, other document members can be facilitated to complete the editing operation of the online document according to the instruction information. Therefore, through the mode, the cooperation efficiency among the document members can be improved, and the barrage can be checked in a targeted manner.
The contents of the above types of first barrages can be combined with each other to form new contents of the first barrages, and the specific combination mode is not limited in the application.
In some embodiments, the terminal device where the sender account sends the barrage simultaneously sends the barrage, and the terminal device where the sender account sends the barrage data such as content data of the barrage, account data of the barrage, style data of the barrage, and the like to the server, and after receiving the barrage data, the server sends the barrage data to the terminal device where the accounts of other document members are located, and the other terminal devices display the barrage based on account data and content data and the like included in the barrage data. In some embodiments, the document data of the online document includes not only the content data of the online document itself, but also bullet screen data.
In some embodiments, in response to a barrage display operation for a first region of an online document, barrages sent by other document members that are associated with the first region are displayed. The barrage display operation is an operation for displaying the barrage related to the first area for the first area, and specific barrage display operations include, but are not limited to, double click, right click, left click, touch, and the like. The first region includes, but is not limited to, a cell, a line in which text is located, a column in which text is located, a slide in which text is located, and the like. Optionally, in response to a barrage display operation, a hover operation for the "number" cell, a barrage sent by other member accounts for the barrage send operation of the column in which the first cell is located is displayed on the document interface of the document member. That is, when the mouse selector of the document member is stopped in the column of "number", all the shots of the relevant number are displayed, and when the mouse selector of the document member is stopped in the column of "name", all the shots of the name are displayed. Likewise, when the online document is an online slide, a bullet screen sent by other document members based on the current slide may be displayed in response to the slide the document member is staying in. According to the technical scheme, better bullet screen guidance can be provided for document members through screening bullet screens, for example, the document members send bullet screens to inform how to fill in the column of 'achievements', for example, the sent bullet screen content is 'achievements are filled in the sum of the number of the words and the achievements', and when other document members fill in the column of the achievements, the bullet screens can be screened, so that bullet screens only generate bullet screens related to achievements, or bullet screens generated based on operations of columns where the achievements are located, and accurate prompts can be obtained from the bullet screens.
In some embodiments, step 340 includes step 340-2 and step 340-4 (not shown).
Step 340-2: in response to a selection operation for the first document content, a first barrage send control is displayed.
The selection operation represents an operation of selecting the content of the first document. In some embodiments, the online document is an online form, and the selection operation may be a hover operation for the first cell, i.e., hovering the mouse selector over the first cell, the first document content recorded in the first cell. When the hover duration of the mouse selector over the first cell satisfies the threshold, a selection operation for the first document content is considered to be performed. In some embodiments, the online document is an online word, and after a selection operation is performed on a word using a mouse selector, the selected word is considered to be first document content, and the selection operation may be considered to be a selection operation for the first document content. As shown in sub-graph (a) of fig. 2, when the time that the mouse selector hovers over the cell "number" satisfies 5s, then the first bullet screen send control 201 appears.
The first barrage send control is a control for sending a barrage based on the document content. The form of the first barrage transmission control is not limited in the application, and optionally, the first barrage transmission control is in the form of a button.
Step 340-4: the first barrage is displayed in response to an operation for the first barrage send control.
Operations for the first barrage send control 201 in sub-graph (a) shown in fig. 2 include, but are not limited to, double-click, left-click, right-click, hover time length greater than a threshold, and so forth.
In some embodiments, the method further comprises step 341 (not shown).
In step 341, in response to the cancel operation for the first bullet screen, the first bullet screen is canceled to be displayed, and other member accounts receiving the first bullet screen cancel to display the first bullet screen synchronously.
The cancel operation is an operation for canceling the display screen. Revocation operations include, but are not limited to, double-click, left-click, right-click, hover, etc., and the particular type of revocation operation is not limited in this application.
Referring to fig. 4, a schematic diagram of a document interface provided in an embodiment of the present application is shown, where the undo operation may be a click operation on the undo control 401, and in other embodiments, the undo operation may also be a double click, right click, left click, etc. operation on the first barrage, where a specific operation form is not limited in the present application.
According to the technical scheme, the first barrage can be withdrawn and displayed by executing the withdrawal operation on the first barrage, so that document collaborators can withdraw in time when the barrage is misplaced, and the method is more humanized.
In some embodiments, the method further includes step 342 (not shown).
Step 342, in response to the bullet screen setting operation, changing the display configuration of the first bullet screen; the display configuration includes at least one of a display area of the first barrage in the online document, a maximum co-screen number of the first barrage in the online document, a display style of the first barrage in the online document, and a transparency of the first barrage in the online document.
In some embodiments, the barrage setting operation may be an operation for a barrage setting control, optionally including, but not limited to, double-click, right-click, left-click, touch, and the like. The particular type of barrage setting operation is not limited in this application.
In the embodiment of the application, the display configuration of the barrage can be set by the document member, and a user can set different barrage display configurations according to own preference and demand. Alternatively, some members of the document may have poor vision or older age and accordingly have a high demand for the size of the content, so that the font of the barrage may be selected to be enlarged for ease of viewing the barrage content. Optionally, some user members like full screen barrages, and some users are afraid of influencing viewing document content, and can choose to set the display configuration of the barrages according to their own needs. In some embodiments, the transparency of the barrage may be set so as not to affect viewing of the document content. In some embodiments, the user's settings for the barrage can only change the barrage of the current member interface, and cannot change the display configuration of the barrage at the other member's document interface. In this embodiment of the present invention, for each document member, there is an initial barrage display configuration corresponding to the document member, where the initial barrage display configuration may be set in advance by a developer according to public needs, and the terminal device may display the barrage according to the set display configuration data. Of course, in the specific document editing process, each document member can also change the display configuration of the barrage on the document interface according to the own requirement. In some embodiments, the terminal device needs to lay a canvas layer on the document to render the barrage, the barrage can be operated by the related API of the canvas to move, set size, color, use pictures, render the barrage, and the like, and develop a barrage control and input component in the form of a compact component, which can input the barrage, and set the display mode, style, on-screen density, display distribution, font size, transparency, and the like of the barrage of the whole document. At present, a plurality of front-end libraries based on canvas are realized, and the front-end libraries also need to be developed by relying on open source libraries of third parties in the realization. The third party open source library mainly performs some encapsulation and performance processing on canvas related APIs and the like. Meanwhile, the terminal equipment can carry out a large number of tests and experiences on performances of different platforms and under use scenes, and the maximum display quantity of the barrages can be obtained under different environments, so that the user is ensured not to excessively influence the overall performance of the document under the condition of completely opening all barrages, and the normal use of the document is preferentially ensured. The server call interface receives data sent by the terminal equipment and performs data binding with the document so as to save bullet screen data input by a user and save bullet screen input time, bullet screen style and other information. According to the technical scheme provided by the embodiment of the application, the display configuration of the barrage can be set by the user, so that different requirements of different users can be met.
In some embodiments, the display of the bullet screen includes a canvas display or a tab display. If the display mode of the first barrage is a canvas display mode, the canvas display mode is used for presenting the first barrage on a canvas of a layer above the online document. Alternatively, the canvas API is called by the canvas implementation mode, the first document content is filled with the style, and the style is drawn on the canvas, and meanwhile, the motion animation is added. In other embodiments, the first barrage is displayed in a tab display mode, where the tab display mode is used to display the first barrage in a tab form on the online document. In some embodiments, before sending the bullet screen, the terminal device will take the first document content first, and when the user clicks the first bullet screen sending control, the terminal device will generate a div using the browser API, or draw on the canvas (the specific choice of which scheme depends on the comprehensive consideration of bullet screen amount and bullet screen style, etc.). The method realized by div can put the first document content into the newly generated div, then the div is endowed with the style and the motion trail set by the user in a mode of controlling the animation of the dom element in the browser API, and then the user can see a barrage to draw and move from the screen. The embodiment of the application provides at least two bullet screen display modes, which can meet different requirements of users and enrich the display modes of bullet screens.
In some embodiments, after the first barrage is sent by the document's collaborator or owner, editing of the first document content may continue without changing the content of the first barrage unless the document's collaborator or owner resends the barrage for the modified first document content. Therefore, the modification of the barrage caused by the modification of the content of the first document can be avoided, and the consistency of the barrage is ensured.
In other embodiments, the collaborator or owner of the document may edit the first document content after the barrage is sent and synchronously change the content of the first barrage. The content of the first barrage is synchronously modified by changing the content of the first document, so that the barrage is more attached to the content of the online document, document collaborators or owners do not need to send the barrage again to inform other document members of the barrage modified content, the sending times of the barrage are reduced, and the online communication efficiency among the document members is improved.
In some embodiments, the document collaborator or owner, after sending the barrage, may edit the barrage sent by himself directly, altering the content of the first barrage in response to the editing operation for the first barrage. Wherein the editing operation is an operation for editing contents of the transmitted barrage. Optionally, editing operations include, but are not limited to, hover, left click, right click, double click, and the like.
In some embodiments, the first bullet screen is displayed in a first display style if the transmission Fang Zhanghao of the first bullet screen satisfies a first condition; the first condition includes at least one of the sender account belonging to the first type account, the level of the sender account being greater than the first level, the registration time length of the sender account being greater than the first duration, and the accumulated registration time length of the sender account being greater than the first value.
In some embodiments, the first account type is a member account, and the first barrage is displayed in a first display style in response to a barrage send operation for first document content in the online document. Optionally, the first display style is barrage color gold. In some embodiments, the account number is rated at greater than 10, and the first barrage is displayed in a first display style in response to a barrage send operation for first document content in the online document. Optionally, the font of the first display style being a barrage is red. In some embodiments, the registration time of the account number is greater than one year, and then the first barrage is displayed in a first display style in response to a barrage send operation for the first document content in the online document. Optionally, the first display style is a bullet screen shape and a cloud shape. In some embodiments, the cumulative login day of the account is greater than 1 month, and the first barrage is displayed in a first display style in response to a barrage send operation for the first document content in the online document. Optionally, the first display style is a moving speed of the bullet screen of 1mm/s.
In some embodiments, the first bullet screen is displayed in a second display style if the delivery Fang Zhanghao of the first bullet screen satisfies a second condition; the second condition includes that the sender account belongs to a second type account, the grade of the sender account is smaller than the second grade, the registration time length of the sender account is smaller than the second time length, and the accumulated login time length of the sender account is smaller than at least one of the second numerical values; wherein the first level is greater than or equal to the second level, the first time period is greater than or equal to the second time period, and the first value is greater than or equal to the second value; the first display style and the second display style differ by at least one of: font color of the barrage, background color of the barrage, area of the barrage, shape of the barrage, speed of barrage movement, direction of barrage movement.
In some embodiments, the second account type is a non-member account, and the first barrage is displayed in a second display style in response to a barrage send operation for the first document content in the online document. Optionally, the second display style is that the color of the bullet screen is transparent. In some embodiments, the account number is rated less than 10, and the first barrage is displayed in the second display style in response to a barrage send operation for the first document content in the online document. Optionally, the font of the second display style being a barrage is black. In some embodiments, the registration duration of the account number is less than one year, and the first barrage is displayed in the second display style in response to a barrage send operation for the first document content in the online document. Optionally, the second display style is that the shape of the bullet screen is rounded rectangle. In some embodiments, the cumulative login days of the account is less than 1 month, and the first barrage is displayed in the second display style in response to a barrage send operation for the first document content in the online document. Optionally, the second display style is a moving speed of the bullet screen of 1cm/s.
In some embodiments, in the event that the current user account belongs to the second type account, the account type of the current user account is changed from the second type account to the first type account in response to an account change operation. In some embodiments, in the event that the current user account belongs to a non-member account, the account type of the current user account is changed from a non-member account to a member account in response to an account change operation. Optionally, the account change operation is a payment operation. After the user purchases the member, the user can become a member account to enjoy the rights and interests of the member. Alternatively, the membership benefit includes that the barrage may be sent in the form of a first barrage. The terminal device judges whether the user has the bullet screen related privileges or not by reading the member information of the user. After the user clicks the entry related to the member, a special component is called to purchase the member. After the member purchases, the user information interface is called again to update in real time, so that the user can use the privileges immediately after purchasing the member. According to the technical scheme, different conditions are met through the account, bullet screen contents are displayed in different bullet screen forms, so that bullet screen experiences of document members can be improved on one hand, distinguishing strength of different accounts can be increased on the other hand, and bullet screens can be conveniently checked by other document members.
According to the technical scheme, the first barrage sending control is displayed in response to the selection operation for the first document content, the first barrage is displayed in response to the operation for the first barrage sending control, and the situation of false touch is avoided by refining the barrage sending step, so that the barrage is sent more accurately and reliably.
According to the technical scheme, through the barrage sending operation of the document content of the online document, the barrage generated according to the document content can be displayed, and the barrage can be sent to at least one member account of the online document to be displayed. By the method, the barrage is directly generated and displayed according to the document content, and the barrage sending form of the online document can be enriched. In addition, in the related art, the barrage can be transmitted only after the content is input in the input box, but according to the technical scheme provided by the embodiment of the application, the barrage generated based on the document content can be transmitted by directly performing barrage transmission operation on the document content, so that the barrage transmission efficiency is improved, and the barrage transmission steps are simplified.
Referring to fig. 5, a flowchart of a method for displaying an online document according to another embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (320-360):
Step 320, displaying an online document, wherein the online document refers to a document whose document content is synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts.
In response to operation of the send control for the second barrage, step 350, preview information for at least one candidate barrage is displayed, the candidate barrage being determined based on the barrages sent by the member accounts of the online document.
The second barrage send control is another control for sending a barrage that is different from the first barrage control. The second barrage send control is a control for sending a barrage based on the candidate barrages. The form of the second barrage transmission control is not limited in the application, and optionally, the second barrage transmission control is in the form of a button. In some embodiments, preview information of the candidate barrage can be displayed in response to operation of the send control for the second barrage.
The preview information for the candidate barrage is determined based on the barrage sent by the member account of the online document. In some embodiments, the candidate scrip includes, but is not limited to, scrips that have been sent by the member account of the online document, scrips to be sent by the member account of the online document, and so forth. The bullet screen to be sent by the member account of the online document comprises bullet screens which are added but not sent by the member account of the online document. The preview information of the candidate barrages is determined based on the content of the candidate barrages. Optionally, the preview information of the candidate barrage is all or part of the content of the candidate barrage.
In some embodiments, as shown in sub-graph (a) of fig. 6, in response to operation of the send second bullet screen control 501, preview information of at least one candidate bullet screen is displayed, in some embodiments, the preview information is "good content, i Carry", "beautiful of the trunk", "mountain not high, sea not deep. "how to relieve anxiety," only Dukang. "," frighten-! Such good text is shown. Operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like.
In some embodiments, the candidate barrage is determined from the barrages sent by the member accounts of the online document. Alternatively, the number of candidate scrips is equal to the number of scrips that have been sent by the member account of the online document. For example, if 100 sheets of the bullet screen have been transmitted by the member of the online document, the candidate bullet screen is 100 sheets, and thus, preview information of 100 sheets of the candidate bullet screen can be displayed in response to an operation for the second bullet screen transmission control. By displaying preview information of all candidate barrages, the integrity of the barrages is ensured, and document collaborators can select candidate barrages to be sent according to own preference.
Alternatively, the number of candidate scrips is not equal to the number of scrips sent by the member account of the online document. Candidate scrip is determined from the transmitted scrips according to the time of transmission of the transmitted scrip or the type of account of the transmitting party. For example, a candidate barrage is determined from the transmitted barrages based on the time of transmission of the transmitted barrages. The number of the candidate barrages is 20 at most, when the number of the barrages transmitted by the member accounts of the online document is greater than 20, the candidate barrages are 20 barrages which are transmitted most recently according to the sequence of the transmission time, so that the latest transmitted barrages seen by the document members can be ensured, and the real-time performance of barrage transmission is ensured. Alternatively, candidate scrip is determined from the transmitted scrips according to the type of sender account of the transmitted scrip. Alternatively, candidate backdrops are determined from backdrops sent from some particular accounts. Optionally, the priority of the barrages sent by the account of the owner is adjusted to be a first priority, the priority of the barrages sent by the accounts of other collaborators is adjusted to be a second priority, the first priority is larger than the second priority, and under the condition that the number of the candidate barrages is limited, the barrages sent by the account of the owner are preferentially selected as the candidate barrages. And under the condition that the number of the candidate barrages is not limited, preferentially displaying preview information corresponding to the barrages sent by the owner accounts from the preview information of the candidate barrages. Optionally, the priority of the member account designated by the owner is adjusted to be the first priority, and under the condition that the number of the candidate barrages is limited, the barrages sent by the member account designated by the owner are preferentially selected as the candidate barrages. And under the condition that the number of the candidate barrages is not limited, preferentially displaying preview information corresponding to the barrages sent by the member accounts appointed by the owners from the preview information of the plurality of candidate barrages. For example, employee a creates an online document, employee a is the owner of the document, at which point employee a may choose to transfer the owner's identity to boss b, letting boss b be the owner of the new online document, at which point boss b acts as a collaborator and sends a barrage that enjoys the first priority. The owner employee a may also use the account of boss b as the designated member account, and the bullet screen sent by the account of boss b may also enjoy the first priority. By adjusting the priority of the barrages sent by the owner account or the barrages sent by the appointed member account to be highest, the barrages are preferentially included in the candidate barrages, and other cooperators can conveniently send the barrages to be sent according to the candidate barrages.
The embodiment of the application does not limit the format of the preview information of the candidate barrage, including but not limited to text, pictures, expressions and the like.
In some embodiments, the method further comprises step 351 (not shown).
Step 351, in response to the modification operation for the second candidate barrage in the at least one candidate barrage, displaying preview information of the modified second candidate barrage; wherein the modified content of the second candidate barrage is different from the content of the second candidate barrage.
The modification operation is an operation for modifying the candidate barrage. Modification operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. The second candidate barrage and the first candidate barrage may be the same candidate barrage or different candidate barrages, which is not limited in this application.
In some embodiments, as shown in sub-graph (a) of fig. 6, "good content, i am Carry" is a second candidate barrage 501, and in response to a modification operation to the second candidate barrage, preview information of the modified second candidate barrage is displayed. As shown in sub-graph (b) of fig. 6, in response to the modification operation on the second candidate barrage, editing modification may be directly performed at the location of the second candidate barrage, or a modified input box may be displayed below the second candidate barrage, and the user may input the content of the modified second candidate barrage at the input box. The present application is not limited to modifying the form of the second candidate barrage, including but not limited to in-situ modification, other site modification, and the like.
As shown in fig. 6, sub-graph (c), the preview information 503 of the modified second candidate barrage is "content too wonderful-! ". Modification operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. The modified content of the second candidate barrage is different from the content of the second candidate barrage.
Step 360, in response to a selection operation for a first candidate barrage of the at least one candidate barrage, displaying a second barrage generated based on the first candidate barrage, and the second barrage being sent to at least one member account of the online document for display; wherein the content of the second barrage is determined based on the content of the first candidate barrage.
The selecting operation is an operation for selecting one bullet screen from at least one candidate bullet screen. Selection operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. In some embodiments, the content of the second barrage is the same as the content of the first candidate barrage. Optionally, the content of the first candidate barrage is "good content, i am coming Carry", and then the content of the second barrage is also "good content, i am coming Carry". In other embodiments, the content of the second barrage is different from the content of the first candidate barrage. Optionally, the content of the first candidate barrage is "good content, i am Carry", and the content of the second barrage is "super member xiao He classmates: good content, i am Carry ", the content of the second barrage is not the same as the content of the first candidate barrage, and the content of the second barrage adds member information to the content of the first candidate barrage. In other embodiments, the content of the second bullet screen is generated based on account information of the document account and the content of the second candidate bullet screen. In some embodiments, account information for the document account displayed in the second barrage includes, but is not limited to, member information, registration days information, accumulated login duration information, and the like.
In some embodiments, the method further comprises step 361 (not shown).
In step 361, preview information of the added third candidate barrage is displayed in response to the adding operation for the candidate barrage.
The adding operation is an operation for adding the candidate barrage. Selection operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. In some embodiments, in response to the adding operation, an input box of preview information of the third barrage is displayed, where the input box may be below the selected candidate barrage or above the selected candidate barrage, and the specific input position is not limited in this application.
In other embodiments, preview information of the added third candidate barrage is displayed in response to an add operation for the first barrage send control. As shown in fig. 7, in response to the addition operation for the first bullet screen transmission control 501, preview information of the added third candidate bullet screen is displayed. The content of the preview information of the third candidate barrage is not limited in this application, and its format includes, but is not limited to, text, picture, audio, video, expression, and so on.
In some embodiments, there is a special bullet screen selector Biu entry at the bottom right of the online document, and the bullet screen selector Biu entry can be considered the first bullet screen send control. Default content appears when the user opens, which may be considered preview information of the candidate barrage, and the user may click to send the barrage. The default content option is to collect a bullet screen sent by the collaborators for other collaborators to select. The collaborators with weaker editing will can express the acceptance opinion by referring to the barrage.
According to the technical scheme provided by the embodiment of the application, the first candidate barrage is selected to display the second barrage generated based on the first candidate barrage, so that the sending operation of the barrage is simplified. In addition, the candidate barrages can be modified and added, so that the editing modes of the barrages are more flexible and various, the requirements of different users can be met, meanwhile, the barrage communication of the online document is more interesting, and the experience of the users is better.
Referring to fig. 8, a flowchart of a method for displaying an online document according to another embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (320-370):
step 320, displaying an online document, wherein the online document refers to a document whose document content is synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts.
A step 370 of displaying contents of the third bullet screen in the target editing area of the online document in response to a drag operation of the third bullet screen with respect to the online document; wherein the target edit area is associated with a drag operation.
The drag operation is an operation for dragging the bullet screen. The target edit area is a location where a collaborator or owner of the online document wants to edit the online document. In some embodiments, the target edit area is an end position of the drag operation. Alternatively, as shown in sub-graph (a) of fig. 9, the mouse selector clicks the third bullet screen 801 and performs a drag operation, and the end position of the mouse selector is cell 802, so that the third bullet screen moves according to the movement of the mouse selector, and after the drag operation is performed, the content in the third bullet screen 801 is copied to the cell where the target editing area is located. As shown in fig. 9, sub-drawing (b), the cell 802 is a target editing area in which the contents of the third bullet screen are displayed. In some embodiments, the content of the third bullet screen is displayed fully in the target editing area, and in other embodiments, the content of the third bullet screen is displayed incompletely in the target editing area. Alternatively, only a part of the contents of the third bullet screen is displayed in the target editing area due to the limitation of the area size. In some embodiments, the target edit area is a cell where the end position of the mouse selector is located. Alternatively, the target editing area may also be a row, a column, a slide, or the like in which the end position of the drag operation is located. In some embodiments, the collaborators can drag the barrage to the cells to loosen, and the text content of the barrage will be pasted into the cells, meeting the need for re-editing. According to the technical scheme provided by the embodiment of the invention, the content of the third barrage is displayed in the target editing area in response to the dragging operation of the third barrage, namely, the content of the third barrage is directly copied to the target editing area through the dragging operation, so that the content of the barrage can be directly copied by a document member when the document is edited, the online document is not required to be input again, the online editing requirement of the document member is met, and the online editing operation of the document member is convenient.
In some embodiments, the target edit section is any one or more positions routed from a start position to an end position of the drag operation, and the content of the third bullet screen is displayed in the target edit section. Alternatively, from the start position to the end position of the drag operation, the cell, row, column, slide where any position passed by is located is considered as the target edit area. In some embodiments, the area in which any position in the middle of the drag operation is located is considered the target edit area, and the content of the third bullet screen is displayed at all positions along which the drag operation is routed. According to the technical scheme, when the document member has multiple copying requirements, the dragging operation of the third barrage can be directly executed, and the third barrage can be displayed at the positions where the third barrage is required to be copied through the positions where the third barrage is required to be copied. In this case, the document input operation is greatly simplified, and the conventional copy is such that the pointer needs to perform one copy operation for each location, but cannot perform a plurality of copy operations at a time. The technical scheme provided by the embodiment of the application can copy the content of the third barrage at any position through which the dragging operation passes, so that the method is quite efficient, the editing operation of the document is fully simplified, and the editing efficiency of the document is improved.
In some embodiments, the terminal device may have two callback functions, where the first callback function may obtain the bullet screen content selected by the user in response to the drag operation of the user. When the user selects the barrage to drag, triggering a callback function, and obtaining the selected barrage through the browser API to further obtain the content of the selected barrage. The second callback function responds to the operation that the user cancels the dragging, when the user drags the barrage to loosen the mouse, the callback function is triggered, at this time, the terminal equipment judges the cell where the mouse is located according to the position of the mouse and the position of each cell, and then the barrage content is written into the cell through the browser API.
In some embodiments, in response to a replacement operation for the third barrage of the online document, document content within the target editing area of the online document is replaced with document content corresponding to the third barrage.
The replacing operation is an operation for replacing the content of the target editing area with the document content of the third bullet screen. Alternatively, the document member may first determine the target edit area, for example by clicking on a cell, which may be the area of the online document that the document member wants to edit. After the target editing area is determined, a replacement operation is performed on the third barrage on the document interface, and accordingly, the document content of the target editing area is replaced with the barrage content of the third barrage. The particular type of substitution operation is not limited herein and includes, but is not limited to, left click, right click, double click, hover. Alternatively, when a document member hovers over the third barrage, "whether to replace the document content of a with the barrage content of B" occurs, where a represents the target editing area and B represents the third barrage. When the document user clicks "yes", the contents of the target editing area are replaced with the barrage contents of the third barrage. Optionally, the target editing area is a third row and a fourth column of the online form, the third barrage is a barrage sent by other document members aiming at the document content of the third row and the third column of the online form, and when the document members find that the document content of the third row and the third column of the online form corresponding to the third barrage is much better than the content of the target editing area filled by the document members, the barrage content corresponding to the third barrage can be directly replaced into the target editing area through a replacing operation aiming at the third barrage. According to the technical scheme provided by the embodiment of the application, the content of the third barrage can be directly replaced into the target editing area by executing the replacement operation on the third barrage, so that the editing of the document content by the document member is more flexible, and the modes are more various.
In some embodiments, in response to an increase operation for the third bullet screen of the online document, a document content corresponding to the third bullet screen is added to a document content of a target editing area of the online document.
The adding operation is an operation for adding the document content of the third bullet screen to the content of the target editing region. The particular type of add operation is not limited herein and includes, but is not limited to, left click, right click, double click, hover. Alternatively, the document member may first determine the target edit area, for example by clicking on a cell, which may be the area of the online document that the document member wants to edit. After the target editing area is determined, the document member may input the content to be edited as N1 in the target editing area. Accordingly, the document member may further perform an add operation on the third barrage on the document interface, and the document content of the target editing area is changed from N1 to n1+_n2, where N2 is the barrage content of the third barrage. Alternatively, when a document member hovers over the third barrage, "whether or not to add the barrage content of B to a" appears, where a represents the target editing area and B represents the third barrage. When the document user clicks "yes", the barrage content of the third barrage is added to the content of the target editing area. According to the technical scheme provided by the embodiment of the invention, through executing the adding operation on the third barrage, not only can the content which is automatically input by a document user in the target editing area be reserved, but also the content of the third barrage can be added based on the content of the original target editing area, so that the document member can not only reserve own ideas, but also give consideration to the barrage with higher quality of the content sent by other document members, the document member can edit the document content more flexibly and the mode is more various.
In some embodiments, in response to a delete operation for a third barrage of the online document, barrage content corresponding to the third barrage is deleted from document content within a target editing region of the online document.
The deletion operation is an operation for deleting the document content of the third bullet screen from the content of the target editing region. The particular type of delete operation is not limited herein and includes, but is not limited to, left click, right click, double click, hover. In some embodiments, in response to an adding operation for the third barrage of the online document, adding the document content corresponding to the third barrage in the document content in the target editing area of the online document, and accordingly, when the document member mistakenly touches the adding operation, on the one hand, the barrage content about the third barrage added in the target editing area can be completely deleted by a deleting operation. On the other hand, it is also possible to find that it is not necessary to add the bullet screen content concerning the third bullet screen after the document member views the bullet screen content concerning the third bullet screen to which the target edit is added, and thus delete the bullet screen content concerning the third bullet screen from the target edit area by the deletion operation for the third bullet screen. Therefore, the technical scheme provided by the embodiment of the application is more flexible for editing the document content and more various in modes. And meanwhile, the method is more humanized, so that the added barrage content is deleted once without affecting the content which is automatically input by the document member to the target editing area.
According to the technical scheme provided by the embodiments, the purpose of changing the content of the target editing area can be achieved through one-key operation of the third barrage, the editing operation of document members is simplified, the editing modes of online documents are enriched, the interestingness of the online documents is improved, and the participation among the document members is improved.
According to the technical scheme provided by the embodiment of the application, the bullet screen content can be directly dragged to the target editing area, so that the document members are simpler and more convenient when editing the document, and meanwhile, the editing mode of the document is enriched.
Referring to fig. 10, a flowchart of a method for displaying an online document according to another embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (320-380):
step 320, displaying an online document, wherein the online document refers to a document whose document content is synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts.
In response to the reply operation to the third bullet screen of the online document, a reply bullet screen is displayed at a corresponding location of the third bullet screen, and the reply bullet screen is sent to at least one member account of the online document for display, step 380.
The return operation is an operation for returning the bullet screen. Reply operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. In some embodiments, the corresponding position of the third barrage is a position below the third barrage, above the third barrage, in other orientations of the third barrage, and so on, and the specific position is not limited herein. In some embodiments, as shown in sub-graph (a) of FIG. 11, in response to a reply operation to the third bullet screen 1001 of the online document, a reply bullet screen 1002 is displayed below the third bullet screen. In some embodiments, in response to a reply operation to the third barrage, the third barrage stops sliding, and an input box of the reply barrage appears, after the user inputs the content that wants to reply or comment to the input box, the content of the reply barrage can be sent out and displayed on the document interface of the current member account and the document interfaces of other member accounts through a carriage return key or other sending operation.
In some embodiments, the collaborators can reply directly to the barrage, if within a certain word size, the reply will appear below the barrage; if the reply content exceeds the specific word number range, part of the content is displayed, and the exceeding part is displayed by ellipses. Optionally, the B user considers that the cell edited by the a user is about to pay attention to something, and the cell can be replied/reviewed through the barrage, and other users can reply to the barrage of the B user.
According to the technical scheme provided by the embodiment of the application, the document members can reply to the barrage, so that the communication among the document members is enhanced, and meanwhile, the communication mode is more vivid and interesting.
Referring to fig. 12, a flowchart of a method for displaying an online document according to another embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (320-390):
Step 320, displaying an online document, wherein the online document refers to a document whose document content is synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts.
Step 390, in response to the private message operation for the third bullet screen of the online document, private message information is sent to the sender account of the third bullet screen.
The private letter operation is an operation for transmitting information to the sender account of the bullet screen. Private operations in embodiments of the present application include, but are not limited to, hover, left click, right click, double click, and the like. In some embodiments, as shown in fig. 13, in response to a private letter operation on the third bullet screen 1101, private letter information is sent to the sender account of the third bullet screen, as shown in fig. 13, the private letter information being "clear".
In some embodiments, right-clicking on the bullet screen by the document member may send a private letter to the document member who sent the bullet screen, which may be received in the message notification.
According to the technical scheme, private information is sent to the sender account of the bullet screen, the user can communicate with the sender account independently, privacy of the user is protected, and communication among document members is facilitated. Meanwhile, a new barrage communication mode is provided, and online communication based on document barrages is enriched.
In some embodiments, the document member sending the barrage may set the barrage style to express its own barrage type. For example, the display mode of the advice type barrage is different from that of a common barrage such as call. In some embodiments, the bullet screen is displayed in different bullet screen forms, depending on the type of content of the bullet screen. In some embodiments, as shown in fig. 14, the barrage 1401 is different from the barrage of barrage 1402. The barrage 1401 belongs to a watch-type barrage, and the barrage 1402 belongs to a suggestion-type barrage.
Referring to fig. 15, a block diagram of a barrage display method according to an embodiment of the present application is shown. The execution subject of each step of the method may be the terminal device 10 in the implementation environment of the scheme shown in fig. 1, for example, the execution subject of each step may be a client of the target application program. In the following method embodiments, for convenience of description, only the execution subject of each step is described as a "client". The method may comprise at least one of the following steps (S1-S8):
step S1, acquiring document data.
Step S2, whether bullet screen data are contained.
If not, the special processing is not carried out, and the document content is displayed. If yes, step S3 is executed.
And step S3, bullet screen data stored in the document are obtained, integration is performed according to a time sequence, and canvas for rendering the bullet screen is performed on the page.
And S4, initializing a bullet screen control component.
And S5, after the assembly is initialized, the bullet screen is rendered on the canvas according to the time sequence.
Step S6, judging whether the user is a member.
If yes, go to step S7, if no, go to step S8.
And S7, adding various setting privileges of the member on the bullet screen control component for the user to set.
Step S8, the mouse mobile member barrage prompts that the member can be opened to use the barrage privilege mode.
The data of the barrage or the rear end is stored in the corresponding list according to the document number, and when the terminal equipment obtains the document information, the barrage component can inquire the barrage data related to the document according to the interface and integrate according to time sequence. At the same time the terminal device will start rendering the bullet screen assembly and ready canvas to render the bullet screen. When the bullet screen data and components are fully prepared, the bullet screens begin to be rendered in sequence, and each bullet screen can carry the data such as the privilege mode of the bullet screen. And the callback function of the residence time of the related mouse selector is increased, so that the bullet screen can be stopped when the user is put up, and the user is given enough time to watch bullet screen information. The non-member will also give directions to open the member when operating on the member privileges barrage.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Referring to fig. 16, a block diagram of a barrage transmitting device according to an embodiment of the present application is shown. The device has the function of realizing the method example, and the function can be realized by hardware or can be realized by executing corresponding software by hardware. The device may be the terminal device described above, or may be provided in the terminal device. As shown in fig. 16, the apparatus 1600 may include: a document display module 1610 and a bullet screen display module 1620.
The document display module 1610 is configured to display an online document, where the online document refers to a document whose document content is synchronized among a plurality of member accounts, and supports simultaneous online editing of the plurality of member accounts.
The barrage display module 1620 is configured to display a first barrage generated according to the first document content in response to a barrage sending operation for the first document content in the online document, where the first barrage is sent to at least one member account of the online document for display.
In some embodiments, the barrage display module 1620 is configured to display a first barrage send control in response to a selection operation for the first document content, and display the first barrage in response to an operation for the first barrage send control.
In some embodiments, as shown in fig. 17, the apparatus further comprises an information display module 1630.
The information display module 1630 is configured to display preview information of at least one candidate barrage in response to an operation of the second barrage transmission control, where the candidate barrage is determined based on the barrages transmitted by the member accounts of the online document.
The barrage display module 1620 is further configured to display a second barrage generated based on a first candidate barrage in the at least one candidate barrage in response to a selection operation for the first candidate barrage, where the second barrage is sent to at least one member account of the online document for display; and determining the content of the second barrage according to the content of the first candidate barrage.
In some embodiments, the information display module 1630 is further configured to display preview information of a modified second candidate barrage in response to a modification operation for the second candidate barrage in the at least one candidate barrage; wherein the modified second candidate barrage has a different content than the second candidate barrage.
The information display module 1630 is further configured to display preview information of the added third candidate barrage in response to the adding operation for the candidate barrage.
In some embodiments, as shown in fig. 17, the apparatus further comprises a content display module 1640.
The content display module 1640, configured to display content of a third bullet screen of the online document in a target editing area of the online document in response to a drag operation of the third bullet screen; wherein the target editing area is related to the drag operation.
In some embodiments, the barrage display module 1620 is further configured to cancel displaying the first barrage in response to a cancel operation for the first barrage, and cancel displaying the first barrage synchronously with other member accounts that receive the first barrage.
In some embodiments, the barrage display module 1620 is further configured to, in response to a reply operation for a third barrage of the online document, display a reply barrage at a corresponding location of the third barrage, and send the reply barrage to at least one member account of the online document for display.
In some embodiments, as shown in fig. 17, the apparatus further comprises an information sending module 1650.
The information sending module 1650 is configured to send private information to a sender account of a third barrage of the online document in response to a private operation for the third barrage.
In some embodiments, the first bullet screen is displayed in a first display style if the transmission Fang Zhanghao of the first bullet screen satisfies a first condition; the first condition includes at least one of the sender account belonging to a first type account, the level of the sender account being greater than a first level, the registration time length of the sender account being greater than a first time length, and the accumulated registration time length of the sender account being greater than a first value; in the case where the transmission Fang Zhanghao of the first bullet screen satisfies a second condition, the first bullet screen is displayed in a second display style; the second condition includes that the sender account belongs to a second type account, the grade of the sender account is smaller than a second grade, the registration duration of the sender account is smaller than a second duration, and the accumulated login duration of the sender account is smaller than at least one of second values; wherein the first level is greater than or equal to the second level, the first time period is greater than or equal to the second time period, and the first value is greater than or equal to the second value; the first display style and the second display style are different from each other in at least one of: font color of the barrage, background color of the barrage, area of the barrage, shape of the barrage, speed of barrage movement, direction of barrage movement.
In some embodiments, as shown in fig. 17, the apparatus further comprises a configuration change module 1660.
The configuration changing module 1660 is configured to change the display configuration of the first bullet screen in response to a bullet screen setting operation; the display configuration comprises at least one of a display area of the first barrage in the online document, a maximum co-screen number of the first barrage in the online document, a display style of the first barrage in the online document and a transparency of the first barrage in the online document.
In some embodiments, the display mode of the first bullet screen is a canvas display mode, and the canvas display mode is used for presenting the first bullet screen on a canvas of a layer above the online document; or the display mode of the first barrage is a label display mode, and the label display mode is used for displaying the first barrage on the online document in a label mode.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Referring to fig. 18, a block diagram of a terminal device 1800 according to an embodiment of the present application is shown. The terminal device 1800 may be the terminal device 10 in the implementation environment shown in fig. 1 for implementing the online document display method provided in the above-described embodiment. Specifically, the present invention relates to a method for manufacturing a semiconductor device.
In general, the terminal device 1800 includes: a processor 1801 and a memory 1802.
Processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1801 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1801 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1801 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1802 is used to store a computer program configured to be executed by one or more processors to implement the above-described method of displaying online documents.
In some embodiments, the terminal device 1800 may also optionally include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 1803 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, a display screen 1805, audio circuitry 1807, and a power supply 1808.
Those skilled in the art will appreciate that the structure shown in fig. 18 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
In an exemplary embodiment, a computer readable storage medium is also provided, in which a computer program is stored which, when executed by a processor, implements the above method of displaying an online document.
Alternatively, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory ), SSD (Solid State Drives, solid state disk), or optical disk, etc. The random access memory may include, among other things, reRAM (Resistance Random Access Memory, resistive random access memory) and DRAM (Dynamic Random Access Memory ).
In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program stored in a computer readable storage medium. The processor of the terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program so that the terminal device executes the above-described online document display method.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. In addition, the step numbers described herein are merely exemplary of one possible execution sequence among steps, and in some other embodiments, the steps may be executed out of the order of numbers, such as two differently numbered steps being executed simultaneously, or two differently numbered steps being executed in an order opposite to that shown, which is not limited by the embodiments of the present application.
The foregoing description of the exemplary embodiments of the present application is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (16)

1. A method for displaying an online document, the method comprising:
displaying an online document, wherein the online document refers to a document in which document contents are synchronized among a plurality of member accounts and the simultaneous online editing of the plurality of member accounts is supported;
in response to a barrage send operation for first document content in the online document, a first barrage generated from the first document content is displayed and sent to at least one member account of the online document for display.
2. The method of claim 1, wherein the displaying a first barrage generated from a first document content in the online document in response to a barrage send operation for the first document content comprises:
responsive to a selection operation for the first document content, displaying a first barrage send control;
and displaying the first barrage in response to the operation of the first barrage sending control.
3. The method according to claim 1, wherein the method further comprises:
responsive to an operation for a second barrage send control, displaying preview information for at least one candidate barrage determined based on the barrage sent by the member account of the online document;
responsive to a selection operation for a first candidate barrage of the at least one candidate barrage, displaying a second barrage generated based on the first candidate barrage, and the second barrage being sent to at least one member account of the online document for display; and determining the content of the second barrage according to the content of the first candidate barrage.
4. The method of claim 3, wherein after displaying the preview information of the at least one candidate barrage, further comprising:
responsive to a modification operation for a second candidate barrage of the at least one candidate barrage, displaying preview information of the modified second candidate barrage; wherein the modified second candidate barrage has a different content than the second candidate barrage.
5. A method according to claim 3, characterized in that the method further comprises:
And displaying preview information of the added third candidate barrage in response to the adding operation for the candidate barrage.
6. The method according to claim 1, wherein the method further comprises:
displaying contents of a third bullet screen of the online document in a target editing area of the online document in response to a drag operation of the third bullet screen;
wherein the target editing area is related to the drag operation.
7. The method according to claim 1, wherein the method further comprises:
and in response to the operation of canceling the first barrage, canceling the display of the first barrage, and synchronously canceling the display of the first barrage by other member accounts which receive the first barrage.
8. The method according to claim 1, wherein the method further comprises:
in response to a reply operation to a third bullet screen of the online document, a reply bullet screen is displayed at a corresponding position of the third bullet screen, and the reply bullet screen is sent to at least one member account of the online document for display.
9. The method according to claim 1, wherein the method further comprises:
And sending private information to a sender account of a third bullet screen of the online document in response to the private information operation of the third bullet screen.
10. The method of claim 1, wherein the step of determining the position of the substrate comprises,
in the case where the transmission Fang Zhanghao of the first bullet screen satisfies a first condition, the first bullet screen is displayed in a first display style; the first condition includes at least one of the sender account belonging to a first type account, the level of the sender account being greater than a first level, the registration time length of the sender account being greater than a first time length, and the accumulated registration time length of the sender account being greater than a first value;
in the case where the transmission Fang Zhanghao of the first bullet screen satisfies a second condition, the first bullet screen is displayed in a second display style; the second condition includes that the sender account belongs to a second type account, the grade of the sender account is smaller than a second grade, the registration duration of the sender account is smaller than a second duration, and the accumulated login duration of the sender account is smaller than at least one of second values;
wherein the first level is greater than or equal to the second level, the first time period is greater than or equal to the second time period, and the first value is greater than or equal to the second value; the first display style and the second display style are different from each other in at least one of: font color of the barrage, background color of the barrage, area of the barrage, shape of the barrage, speed of barrage movement, direction of barrage movement.
11. The method according to claim 1, wherein the method further comprises:
changing a display configuration of the first bullet screen in response to a bullet screen setting operation;
the display configuration comprises at least one of a display area of the first barrage in the online document, a maximum co-screen number of the first barrage in the online document, a display style of the first barrage in the online document and a transparency of the first barrage in the online document.
12. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the display mode of the first bullet screen is a canvas display mode, and the canvas display mode is used for displaying the first bullet screen on a canvas of a layer above the online document;
or,
the display mode of the first barrage is a label display mode, and the label display mode is used for displaying the first barrage on the online document in a label mode.
13. A display device for an online document, the device comprising:
the document display module is used for displaying an online document, wherein the online document refers to a document in which document contents are synchronized among a plurality of member accounts and supports simultaneous online editing of the plurality of member accounts;
And the bullet screen display module is used for responding to bullet screen sending operation aiming at first document content in the online document, displaying a first bullet screen generated according to the first document content, and sending the first bullet screen to at least one member account of the online document for display.
14. A terminal device, characterized in that it comprises a processor and a memory, in which a computer program is stored, which computer program is loaded and executed by the processor to implement the method according to any of the preceding claims 1 to 12.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, which is loaded and executed by a processor to implement the method of any of the preceding claims 1 to 12.
16. A computer program product, characterized in that it comprises a computer program stored in a computer readable storage medium, from which a processor reads and executes the computer program to implement the method according to any one of claims 1 to 12.
CN202211175344.7A 2022-09-26 2022-09-26 Online document display method, device, equipment and storage medium Pending CN117806742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211175344.7A CN117806742A (en) 2022-09-26 2022-09-26 Online document display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211175344.7A CN117806742A (en) 2022-09-26 2022-09-26 Online document display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117806742A true CN117806742A (en) 2024-04-02

Family

ID=90432456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211175344.7A Pending CN117806742A (en) 2022-09-26 2022-09-26 Online document display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117806742A (en)

Similar Documents

Publication Publication Date Title
US11928315B2 (en) Digital processing systems and methods for tagging extraction engine for generating new documents in collaborative work systems
US11800192B2 (en) Bullet screen processing method and apparatus, electronic device, and computer-readable storage medium
JP5547461B2 (en) Method for synchronous authoring and access of chat and graphics
CN112632942B (en) Document processing method, device, equipment and medium
CN109710909B (en) Content acquisition method, device, terminal and storage medium
US20140280603A1 (en) User attention and activity in chat systems
US20100023871A1 (en) Methods and Systems Providing an Interactive Social Ticker
NZ550847A (en) A media package and a system and method for managing, authoring, storing or delivering a media package
Lal Digital design essentials: 100 ways to design better desktop, web, and mobile interfaces
CN111767563A (en) Method, device, terminal and storage medium for setting authority of online document
KR20080089573A (en) System, method, and computer program product for concurrent collaboration of media
US20240143266A1 (en) Shared screen tools for collaboration
CN107911749B (en) Method for displaying and providing rehearsal graph, client and server
CN113971392A (en) Document editing method, device, equipment and medium
US20230071779A1 (en) Method and apparatus for processing historical browsing content electronic device and storage medium
CN117806742A (en) Online document display method, device, equipment and storage medium
US11902228B1 (en) Interactive user status
WO2024008008A1 (en) Method and apparatus for presenting content, and device and storage medium
JP7375241B1 (en) Content management system, content management method, content management program, and user terminal
US20230368105A1 (en) Contextual workflow buttons
WO2024087533A1 (en) Expression image sharing method and apparatus, computer device, and storage medium
US11784955B1 (en) Virtual space server redundancy across geographic regions
US11848904B2 (en) Sharing custom history in multi-party direct message
US20230394440A1 (en) Generating collaborative documents for virtual meetings in a communication platform
US20240154927A1 (en) Smart events framework

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination