Document display method and device, equipment, storage medium and program product

By introducing hidden controls and detection mechanisms in document display, determining and hiding target elements in document pages, the security problem of user information leakage in multi-user shared documents is solved, and higher document display security and flexibility are achieved.

CN120012146APending Publication Date: 2025-05-16TENCENT TECH WUHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410413629.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the case where multiple users share documents, user information may be leaked on the document page, resulting in security risks.

Method used

Through the trigger operation of the hidden control, the page elements in the document page are detected, the target elements to be hidden are determined, and a new document page is generated through hidden processing to avoid the leakage of user basic information or user behavior information.

Benefits of technology

It effectively avoids the leakage of user information, improves the security and flexibility of document display, and ensures that user information is not accessed unauthorized during the document viewing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120012146A_ABST
    Figure CN120012146A_ABST
Patent Text Reader

Abstract

The invention discloses a document display method and device, equipment, a storage medium and a program product, and belongs to the technical field of computers. The method comprises the steps that a first document page is displayed, the first document page comprises a plurality of page elements, and the plurality of page elements comprise hidden controls; in response to a trigger operation of the hidden control, configuration conditions associated with the multiple page elements in the first document page are detected, a detection result is obtained, the configuration conditions associated with any page element comprise variable parameters and operation of the variable parameters, the variable parameters are dynamically changing parameters corresponding to any page element, and the variable parameters are dynamically changing parameters corresponding to any page element; the operation of the variable parameters is used for expressing operation corresponding to conditions required to be met by the variable parameters; determining a target element based on the detection result, wherein the target element is a to-be-hidden page element in the page elements; and displaying a second document page, wherein the second document page is obtained by hiding the target element in the first document page. According to the method, the document display security can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, apparatus, device, storage medium and program product for document display. Background Art

[0002] With the development of computer technology, the application scenarios of online documents are becoming more and more extensive, and multiple users can view or edit the content of the same document in real time on different devices.

[0003] In the related art, when multiple users view the content of the same document together, the user information is displayed in the document page or can be viewed by other users, which may cause the risk of user information leakage. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device, storage medium and program product for document display, so as to prevent at least one of the basic user information or user behavior information included in the target element from being leaked, thereby improving the security of document display. The technical solution is as follows:

[0005] In one aspect, an embodiment of the present application provides a method for displaying a document, the method comprising:

[0006] Displaying a first document page, wherein the first document page includes a plurality of page elements, wherein the plurality of page elements include a hidden control;

[0007] In response to the triggering operation of the hidden control, the configuration conditions associated with the plurality of page elements in the first document page are detected to obtain a detection result, wherein the configuration conditions associated with any page element include variable parameters and operations of the variable parameters, wherein the variable parameters are dynamically changing parameters corresponding to any page element, and the operations of the variable parameters are used to express operations corresponding to conditions that the variable parameters need to satisfy;

[0008] Determine a target element based on the detection result, where the target element is a page element to be hidden among the multiple page elements;

[0009] A second document page is displayed, where the second document page is obtained by hiding the target element in the first document page.

[0010] On the other hand, an embodiment of the present application provides a device for displaying a document, the device comprising:

[0011] A display module, configured to display a first document page, wherein the first document page includes a plurality of page elements, wherein the plurality of page elements include a hidden control;

[0012] a detection module, configured to detect configuration conditions associated with the plurality of page elements in the first document page in response to a triggering operation of the hidden control, and obtain a detection result, wherein the configuration conditions associated with any page element include variable parameters and operations of the variable parameters, wherein the variable parameters are dynamically changing parameters corresponding to any page element, and the operations of the variable parameters are used to express operations corresponding to conditions that the variable parameters need to satisfy;

[0013] A determination module, configured to determine a target element based on the detection result, wherein the target element is a page element to be hidden among the multiple page elements;

[0014] The display module is further used to display a second document page, where the second document page is obtained by hiding the target element in the first document page.

[0015] In a possible implementation, the display module is also used to hide the target element of the first user in the first document page or display the hidden element corresponding to the target element of the first user to obtain the second document page. The first user is a user who is currently viewing the document in stealth mode. The hidden element is obtained by removing target information from the target element. The target information is the information to be hidden contained in the target element of the first user.

[0016] In a possible implementation, when the second document page is the second document page of the first user, the display module is further used to display first prompt information in the second document page, where the first prompt information is used to prompt that the first user is in a state of viewing the document in stealth mode.

[0017] In a possible implementation, the second document page includes an edit control, and the display module is further used to display second prompt information in the second document page in response to a triggering operation of the edit control when the first user has the editing authority of the document, the second prompt information is used to prompt the first user to confirm the status of the first user in the document, and the second prompt information includes a confirm control and a cancel control;

[0018] In response to the triggering operation of the determination control, the state of the document is changed to an editing state, and the target element of the first user is displayed in the second document page; or,

[0019] In response to the triggering operation of the cancel control, the target element of the first user is hidden on the second document page or the hidden element corresponding to the target element of the first user is displayed.

[0020] In one possible implementation, the target element includes at least one of user basic information or user behavior information, the user basic information includes at least one of a user name or a user avatar, and the user behavior information includes at least one of cell selection information, text selection information, cursor movement information, or viewing trace information.

[0021] In a possible implementation, the display module is further configured to display the hidden control in the user basic information list when the plurality of page elements displayed in the first document page include the user basic information list; or

[0022] When the multiple page elements displayed on the first document page include a menu control and the menu control is triggered, a menu list page element is displayed on the first document page, and the hidden control is displayed in the menu list page element.

[0023] In a possible implementation, the page element of the second document page includes a close hide control, and the display module is further configured to display the target element in the second document page in response to a triggering operation of the close hide control.

[0024] In a possible implementation, the detection module is used to obtain an expression string corresponding to the configuration condition, the expression string includes at least one substring, and the substring corresponds to the configuration conditions associated with the multiple page elements one by one;

[0025] The expression string is parsed based on a string parser to obtain the detection result.

[0026] In a possible implementation, the detection module is used to determine the variable parameter based on the configuration condition corresponding to the substring contained in the expression string;

[0027] Determine the variable parameter based on the configuration condition corresponding to the substring contained in the expression string;

[0028] Obtaining a parameter value corresponding to the variable parameter in the first document page;

[0029] Determine a first reference area in the first document page based on the parameter value corresponding to the variable parameter and the expression string, the first reference area being an area where the expression string is executed;

[0030] In the first reference area, the expression strings corresponding to the multiple page elements are parsed based on the string parser to obtain the detection result.

[0031] In a possible implementation, the detection module is further configured to determine the expression string based on configuration conditions associated with the plurality of page elements of the first document page;

[0032] Perform word segmentation processing on the expression string based on the reference rule to obtain a word segmentation result;

[0033] Determine the tree structure corresponding to the expression string based on the word segmentation result;

[0034] Determine a calling object based on an operation escape type and the tree structure, wherein the operation escape type is determined based on an operation type mapping table, and the operation type mapping table is used to reflect the relationship between the operation type and the operation escape type;

[0035] The detecting the configuration conditions associated with the plurality of page elements in the first document page includes: detecting the configuration conditions associated with the plurality of page elements in the first document page based on the calling object.

[0036] In a possible implementation, the display module is further used to receive an information viewing request from a second user, where the information viewing request is used to request viewing a target element of a reference user;

[0037] In the case where the reference user is in an invisible state, a third prompt message is displayed on the document page of the second user, wherein the third prompt message is used to prompt the second user that he does not have the authority to view the information; or

[0038] When the reference user is in a non-invisible state, the target element of the reference user is displayed on the second document page of the second user based on the information viewing request.

[0039] In a possible implementation, the calling object includes an expression string, and the device further includes an updating module, the updating module being used to obtain an updated expression string based on the expression string and modification information corresponding to the changed configuration conditions when the configuration conditions associated with the multiple page elements change, and to determine an updated calling object based on the updated expression string, the modification information including at least one of adding a configuration condition associated with the page element, reducing a configuration condition associated with the page element, or modifying a configuration condition associated with the page element;

[0040] The updated calling object is sent to a terminal of a user who views or edits the document.

[0041] In a possible implementation, the updating module is further configured to determine a second reference area in the second document page based on the updated calling object, where the second reference area is an area of ​​the calling object that performs the update;

[0042] A third document page is displayed, where the third document page is obtained by updating the page element of the second reference area in the second document page.

[0043] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements any of the document display methods described above.

[0044] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the document display methods described above.

[0045] On the other hand, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that the computer implements any of the document display methods described above.

[0046] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0047] The present application detects page elements in a first document page through a triggering operation of a hidden control, and determines a target element to be hidden in the page element based on the detection result. The target element can be dynamically hidden in the document page based on the detection result, thereby preventing at least one of the basic user information or user behavior information included in the target element from being leaked, thereby improving the flexibility and security of document display. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 It is a schematic diagram of an implementation environment of a document display method provided in an embodiment of the present application;

[0050] Figure 2 It is a flow chart of a method for document display provided by an embodiment of the present application;

[0051] Figure 3 is a schematic diagram of a first document page provided in Example 1 of the present application;

[0052] Figure 4 is a schematic diagram of a first document page provided in Embodiment 2 of the present application;

[0053] Figure 5 is a schematic diagram of a first document page showing hidden controls provided in Embodiment 1 of the present application;

[0054] Figure 6 is a schematic diagram of a first document page showing hidden controls provided in Embodiment 2 of the present application;

[0055] Figure 7 is a schematic diagram of another first document page showing hidden controls provided in the first embodiment of the present application;

[0056] Figure 8 is a schematic diagram of another first document page showing hidden controls provided in the second embodiment of the present application;

[0057] Fig. 9 is a schematic diagram of a tree structure provided in an embodiment of the present application;

[0058] Fig.10 is a schematic diagram of a second document page of a first user provided in Embodiment 1 of the present application;

[0059] Fig.11 This is a schematic diagram of a second document page of a first user provided in Embodiment 2 of the present application;

[0060] Fig.12 is a schematic diagram of a second document page of a second user provided in Embodiment 1 of the present application;

[0061] Fig.13 is a schematic diagram of a second document page of a second user provided in Embodiment 2 of the present application;

[0062] Fig.14 is a schematic diagram of a second document page including second prompt information provided in Embodiment 1 of the present application;

[0063] Fig.15 is a schematic diagram of a second document page including second prompt information provided in Embodiment 2 of the present application;

[0064] Fig.16 It is a schematic diagram of the structure of a document display device provided in an embodiment of the present application;

[0065] Fig.17 It is a structural diagram of a terminal device provided in an embodiment of the present application;

[0066] Fig.18It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0068] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0069] Figure 1 is a schematic diagram of an implementation environment of a document display method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a first terminal device 101, a second terminal device 102 and a server 103.

[0070] The first terminal device 101 and the second terminal device 102 may be terminal devices controlled by different users. A document application is installed and running in the first terminal device 101 and the second terminal device 102. The document application can be used to execute the document display method of the present application. For example, the document application can be used to import documents, create documents, view document contents, edit document contents, and display document contents.

[0071] The server 103 is used to provide background services for the document application installed on the first terminal device 101 and the second terminal device 102. In a possible implementation, the server 103 undertakes the main computing work, and the first terminal device 101 and the second terminal device 102 undertake the secondary computing work. Alternatively, the server 103 undertakes the secondary computing work, and the first terminal device 101 and the second terminal device 102 undertake the main computing work. Alternatively, the first terminal device 101, the second terminal device 102 and the server 103 use a distributed computing architecture for collaborative computing.

[0072] Optionally, the first terminal device 101 and the second terminal device 102 may be any electronic device product that can perform human-computer interaction with a user through one or more methods such as a keyboard, a touchpad, a remote controller, voice interaction, or a handwriting device. The first terminal device 101 and the second terminal device 102 may be the same or different. For example, the first terminal device 101 and the second terminal device 102 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart car machine, a smart TV, etc.

[0073] The first terminal device 101 and the second terminal device 102 may generally refer to one of a plurality of terminal devices. This embodiment is only illustrated by taking the first terminal device 101 and the second terminal device 102 as examples. Those skilled in the art may know that the number of the first terminal device 101 or the second terminal device 102 may be more or less. For example, the first terminal device 101 or the second terminal device 102 may be only one, or the first terminal device 101 or the second terminal device 102 may be dozens or hundreds, or more. This embodiment of the application does not limit the number and device type of the first terminal device 101 and the second terminal device 102.

[0074] The server 103 is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server 103 is directly or indirectly connected to the first terminal device 101 and the second terminal device 102 via a wired or wireless communication method. The server 103 has a data receiving function, a data processing function, and a data sending function. Of course, the server 103 may also have other functions, which are not limited in the embodiments of the present application.

[0075] Those skilled in the art should understand that the above-mentioned first terminal device 101, second terminal device 102 and server 103 are merely examples, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are included here by reference.

[0076] The present application embodiment provides a method for displaying a document, which can be applied to the above Figure 1 In the implementation environment shown, for example, the method can be performed by Figure 1The first terminal device 101 and the second terminal device 102 in the embodiment may also be executed interactively by the first terminal device 101, the second terminal device 102 and the server 103. Taking the process of the first terminal device 101 and the second terminal device 102 executing the method as an example, Figure 2 As shown, the method includes the following steps 210 to 240.

[0077] In step 210, a first document page is displayed, the first document page includes a plurality of page elements, and the plurality of page elements include a hidden control.

[0078] In an exemplary embodiment of the present application, a user can use a document application of a terminal device to create a document or import a document, and then share the document or the associated connection of the document with the terminal devices of other invited users, and the terminal devices of other invited users can be one or more. The user who created the document can view and edit the document content anytime and anywhere, and the invited user can view and edit the document in real time based on the permissions set in the document. Among them, the type of document may include but is not limited to Word documents, Excel documents, and PPT documents. This application is explained by taking the created document as an Excel document as an example.

[0079] Figure 3 is a schematic diagram of a first document page provided in Example 1 of the present application. Figure 3 As shown, the first document page may be a document page displayed on a computer, and a plurality of page elements may be displayed in the first document page, wherein the page elements displayed in the title bar 301 of the first document page may include a document title 302, an avatar 303 of the first user, and a user avatar display area 304. The avatar 303 of the first user may be an avatar of the current user, and the user avatar display area 304 may display an avatar of the user who has opened the current document. The avatars displayed in the user avatar display area 304 may include the avatar 303 of the first user and the avatar of the second user, and the second user may be a user who has opened the current document other than the first user. In the case where the number of users who have opened the current document is large, the user avatar display area 304 may be displayed in a folded form in the title bar 301. For example, the document title 302 is "XX Document", the avatar 303 of the first user is "Current User", and the user avatar display area 304 may display the avatar of User 1, the avatar of User 2, and the number of avatars of users who have viewed the current document.

[0080] The page elements displayed in the title bar 301 may also include a control 307 for cancelling the collapsed display. By clicking the control 307 for cancelling the collapsed display, a user basic information list 305 may be displayed on the first document page. The basic information list 305 may display the avatars and user names of all users currently viewing the document. The user's avatar may be a square avatar, and the user name may be: User 1, User 2, User 3…

[0081] The first document page may further include a toolbar 306, in which a plurality of editing controls (not shown) for processing the document may be displayed. When the editing controls are triggered, the document may perform corresponding editing operations. For example, the editing operations may include but are not limited to adding document content, modifying document content, adjusting the format, font size, alignment, etc. of the font in the document.

[0082] Figure 4 is a schematic diagram of a first document page provided in Example 2 of the present application. Figure 4 As shown, the first document page may be a document page displayed on a mobile phone, and multiple page elements may be displayed in the first document page, including a user avatar display area 401, which may display the avatar of the user who has opened the current document (the avatar of user 1), the avatar of user 2, and the number of avatars of users who have viewed the current document, wherein in the user avatar display area 401, the first user avatar may also be the avatar of the first user, that is, the avatar of the current user. The page elements also include a control 402 for cancelling the folding display, and by clicking the control 402 for cancelling the folding display, a user basic information list 403 may be displayed on the first document page.

[0083] It should be noted that the page elements contained in the first document page displayed on the mobile phone and the first document page displayed on the computer can be the same or similar. Figure 4 The user avatar display area 401, the control 402 for cancelling the folding display, and the user basic information list 403 are already in Figure 3 The details are described in detail in the chapter and I will not go into details here.

[0084] In an exemplary embodiment of the present application, the page elements of the first document page further include hidden controls. Wherein, obtaining the first document page based on different display modes in the document page may include but is not limited to cases one to three.

[0085] In case 1, the hidden control is directly displayed in the first document interface.

[0086] Figure 5 Schematic diagram of a first document page showing hidden controls provided in the first embodiment of the present application. Figure 5As shown, the designated area of ​​the first document page can display a hidden control, for example, a hidden control 503, i.e., a "stealth view" control, is displayed in the title bar of the first document page. The designated area of ​​the first document page can be set based on user habits and actual conditions, and this application does not limit it.

[0087] Figure 6 is a schematic diagram of a first document page showing hidden controls provided in the second embodiment of the present application. Figure 6 As shown, the designated area of ​​the first document page can display a hidden control, for example, a hidden control 603, i.e., a "stealth viewing" control, is displayed in the upper area of ​​the first document page. The designated area of ​​the first document page can be set based on user habits and actual conditions, and this application does not limit it.

[0088] In case 2, when the page elements displayed in the first document page include a user basic information list, the hidden control is displayed in the user basic information list.

[0089] In the first embodiment of the present application, combined with Figure 5 , the page elements displayed in the first document page include a control 504 for canceling the folding display, by which the user basic information list 501 can be displayed in the first document page, and a hidden control 502 can be displayed in the user basic information list 501. Taking the current user as user 1 as an example, a hidden control 502, i.e., a "turn on incognito viewing" control, can be displayed in the area corresponding to the basic information of user 1 in the user basic information list 501.

[0090] In the second embodiment of the present application, combined with Figure 6 , the page elements displayed in the first document page include a control 604 for canceling the folding display, by which the user basic information list 601 can be displayed in the first document page, and a hidden control 602 can be displayed in the user basic information list 601. Taking the current user as user 1 as an example, a hidden control 602, i.e., a "turn on incognito viewing" control, can be displayed in the area corresponding to the basic information of user 1 in the user basic information list 601.

[0091] Case three, when the page elements displayed on the first document page include a menu control, and when the menu control is triggered, a menu list page element is displayed on the first document page, and the hidden control is displayed in the menu list page element.

[0092] Figure 7 Schematic diagram of another first document page showing hidden controls provided in the first embodiment of the present application. Figure 7As shown, the page elements displayed on the first document page include a menu control 701. When the menu control 701 is triggered, a menu list page element 702 may be displayed on the first document page, and a hidden control 703 may be displayed in the menu list page element 702. The menu list page element 702 may also display other functional controls or document information. For example, the document information may include the document owner and the creation time of the document. Other functional controls may include, but are not limited to: exporting a document, generating a copy, revision history, printing, opening a document like, etc., and corresponding operations may be performed on the document through the triggering operation of other functional controls.

[0093] Figure 8 is a schematic diagram of another first document page showing hidden controls provided in the second embodiment of the present application. Figure 8 As shown, the page elements displayed on the first document page include a menu control 801. When the menu control 801 is triggered, a menu list page element 802 may be displayed on the first document page. The menu list page element 802 may include a hidden control 803. The menu list page element 802 may also display other functional controls or document information. For example, the document information may include the document creator and the name of the document. Other functional controls may include but are not limited to: exporting documents, making copies, making pictures, sending to computers, permissions, adding to files, renaming, etc. Through the triggering operation of other functional controls, corresponding operations may be performed on the document.

[0094] It should be noted that the different ways of displaying and hiding controls to obtain the first document page in this application are exemplary descriptions, and other ways of displaying and hiding controls can also be used to obtain the first document page, and this application does not limit this. In addition, the first document page can also include other page elements, and this application only provides exemplary descriptions of some page elements.

[0095] In step 220, in response to the triggering operation of the hidden control, the configuration conditions associated with multiple page elements in the first document page are detected to obtain detection results. The configuration conditions associated with any page element include variable parameters and operations on the variable parameters. The variable parameters are dynamically changing parameters corresponding to any page element. The operations on the variable parameters are used to express the operations corresponding to the conditions that the variable parameters need to meet.

[0096] In an exemplary embodiment of the present application, multiple page elements in a first document page are associated with configuration conditions. Based on different user operations, the parameters of the page elements in the first document page are changed accordingly. The configuration conditions and the parameters of the page elements are detected by calling an object to obtain a detection result. In a subsequent process, the display state of the page elements can be dynamically changed using the detection result. For example, the page element can be changed from a display state to a hidden state.

[0097] Before detecting the configuration conditions associated with the page elements in the first document page based on the calling object, it is necessary to determine the calling object. The process of determining the calling object may include steps 221 to 224.

[0098] In step 221, an expression string is determined based on configuration conditions associated with a plurality of page elements of the first document page.

[0099] Exemplarily, a plurality of page elements may be displayed in the first document page, each of which may be associated with one configuration condition or with multiple configuration conditions. The present application takes the association of a page element with multiple configuration conditions as an example for explanation, that is, the expression string is determined by multiple configuration conditions. The configuration conditions include variable parameters and operations on the variable parameters, wherein the variable parameters are dynamically changing parameters corresponding to the page elements, and the operations on the variable parameters are used to express the operations corresponding to the conditions that the variable parameters need to satisfy, and the operations on the variable parameters include at least one of basic operations, function operations, variable assignments, or symbol operations.

[0100] In an exemplary embodiment of the present application, the expression string may include multiple substrings, and the number of substrings may be the same as the number of configuration conditions associated with the page elements. For example, the substrings correspond one to one with the configuration conditions associated with the page elements.

[0101] Exemplarily, the page element in the first document page may include a cursor selected area, and the configuration conditions associated with the cursor selected area may be document state configuration conditions, hidden control state configuration conditions, and selected area configuration conditions, wherein when the document is in a non-editable state, the hidden control is in a triggered state, and the area range selected by clicking is greater than or equal to 1, the cursor may be hidden, and 1 may be a range of 1 cell. The variable parameters in the configuration conditions may include the document editing state (canEdit), the state of the hidden control (toggle), and the selected area range (selectRange), and the operations of the variable parameters may include equal to (==), greater than or equal to (>=), and logical AND operations (&&). In summary, the expression string "when" corresponding to the configuration condition of the page element cursor selected area may be "when": "canEdit==false&&toggle==true&&selectRange>=1", wherein "canEdit==false" indicates that the document is in a non-editable state, "toggle==true" indicates that the hidden control is in a triggered state, and "selectRange>=1" indicates that the area range selected by the cursor is greater than or equal to 1.

[0102] It should be noted that the expression strings corresponding to different page elements can be the same or different. The expression strings can be determined based on the actual configuration conditions of the page elements. The expression strings may include but are not limited to variables, constants, regular expressions, congruent operations, inequality operations, logical operations (AND, OR, NOT), basic operations (addition, subtraction, multiplication, division, remainder), function calls, variable assignments, etc. This application does not limit the content of the expression strings.

[0103] In step 222, the expression character string is segmented based on the reference rule to obtain a segmentation result.

[0104] Exemplarily, after obtaining the expression string, the expression string can be segmented based on the reference rule, the expression string can be divided into multiple substrings and the priority corresponding to the substrings can be determined. Wherein, the reference rule can include at least one of a grammar rule or a priority rule, the grammar rule can represent the grammatical structure that the substring needs to satisfy, and the priority rule can determine the execution order between different logical operators. The substring can include a key, an operation escape type, and a value, or the substring can include a key and a value.

[0105] For example, the expression string is processed by using position index (indexOf) and split (split) to divide the expression string into multiple substrings. The expression string can be divided into three substrings by logical AND operation (&&) based on the reference rule, namely "canEdit==false", "toggle==true" and "selectRange>=1" through "&&"; then the substrings are divided into key, type, value or key, value based on the operator contained in each substring. For example, the keys in "canEdit==false" and "toggle==true" are canEdit and toggle, and the values ​​are false and true respectively; the key in selectRange>=1 is selectRange, the type is>=, and the value is 1.

[0106] The present application performs word segmentation processing on the expression string by referring to the rules, and divides the expression string into smaller and easier to understand substrings, which helps to form a tree structure corresponding to the expression string later. In addition, dividing the expression string into substrings makes it easier to detect and correct errors in the expression string, which can improve the accuracy of the expression string to a certain extent.

[0107] In step 223, the tree structure corresponding to the expression character string is determined based on the word segmentation result.

[0108] Fig. 9 is a schematic diagram of a tree structure provided in an embodiment of the present application. Fig. 9 As shown, the expression string can be used as the root node of the tree structure. Based on the reference rule, the logical AND operation (&&) is used as the first-level node of the tree structure. After passing the first-level node, the expression string can be divided into 3 substrings, and then the operators (== and >=) in the substrings are used as the second-level nodes of the tree structure. The variable parameters in the substrings and the parameters corresponding to the variable parameters in the first document page can be used as the third-level nodes of the tree structure (canEdit, false, toggle, true, selectRange and 1).

[0109] It should be noted that the tree structure in this application is an exemplary description. Different expression strings or the same expression strings can obtain different tree structures if they are segmented based on different reference rules. This application does not limit the form of the tree structure.

[0110] In step 224, the calling object is determined based on the operation escape type and the tree structure. The operation escape type is determined based on the operation type mapping table. The operation type mapping table is used to reflect the relationship between the operation type and the operation escape type.

[0111] In an exemplary embodiment of the present application, the operation escape type can be determined based on an operation type mapping table, and the operation type mapping table is used to reflect the relationship between the operation type and the operation escape type. Table 1 is a mapping table between the operation type and the operation escape type. Among them, the operation type (ContextKey) represents the type of operation that can be performed on the key (key) or substring in the substring, and the operation escape type (type) can be set to the number corresponding to the operator. For example, the operator of ContextKey can be Equals (equal to, ==), And (logical AND operation, &&) and GreaterOrEquals (greater than or equal to, >=); the corresponding expression escape (type) can be 4, 6 and 12.

[0112] Table 1

[0113] ContextKey type ContextKey type False 0 Regex 7 True 1 NotRegex 8 Defined 2 Or 9 Defined 3 Greater 10 Equals 4 Less 11 NotEquals 5 GreaterOrEquals 12 And 6 LessOrEquals 13

[0114] It should be noted that ContextKey may also include other operators that can be executed on a key or a substring. Table 1 only provides an exemplary description, and this application does not limit this. In addition, the application provides an exemplary description of the form of the operation escape type. The mapping table between the operation type and the operation escape type can be set based on the user's programming habits, and this application does not limit this.

[0115] Exemplarily, the calling object can be determined based on the operation escape type and the tree structure. Fig. 9 The tree structure and operation type mapping table can determine the expression string contained in the call object. The content of some call objects is as follows:

[0116]

[0117]

[0118] In an exemplary embodiment of the present application, the calling object may further include page element identification information, and different page elements correspond to different page element identification information, that is, the page element and the page element identification information are one-to-one corresponding. The page element can be associated with the calling object through the page element identification information. The page element identification information may include an identity document (ID) of the page element, and optionally, the page element identification information may also include but is not limited to a class name or a tag name corresponding to the page element.

[0119] In an exemplary embodiment of the present application, after determining the call object, the call object can also be stored, for example, the call object is stored in an object database (MenuRegistry). By storing the call object in the object database, the use of the call object in subsequent processes can be facilitated.

[0120] This application determines the expression string through the configuration conditions associated with the page element, and implements the state judgment of the page element for the expression string corresponding to the page element, which can more conveniently determine the target element based on the calculation result of the string. The tree structure is determined for the word segmentation result of the expression string, and the calling object is determined based on the operation escape type and the tree structure, which can improve the flexibility of processing the expression string contained in the calling object.

[0121] In an exemplary embodiment of the present application, after determining the calling object, the server receives a trigger signal for hiding the control, for example, the server receives a trigger signal for hiding the control from the terminal of the first user, that is, the server receives an invisibility request from the first user. The server will send a calling object to the terminal for viewing or editing the document. After receiving the calling object, the terminal for viewing or editing the document detects page elements in the document page based on the calling object.

[0122] Exemplarily, a terminal for viewing or editing a document may receive a call object, the call object including an expression string, the expression string including at least one substring, the substring corresponding one-to-one to a configuration condition associated with a page element; the expression string is parsed based on a string parser to obtain a detection result.

[0123] In an exemplary embodiment of the present application, a terminal for viewing or editing a document is installed with a string parser. After receiving a call object, the terminal for viewing or editing a document parses the expression string contained in the call object based on the string parser to obtain a detection result. The process of parsing the expression string based on the string parser to obtain a detection result may include steps 225 to 228.

[0124] In step 225, the variable parameters are determined based on the configuration condition that the expression string contains a substring corresponding to the substring.

[0125] Exemplarily, continuing to take the expression string "when" as an example, the variable parameters in the configuration condition corresponding to the expression string "when" may include the document editing state (canEdit), the state of the hidden control (toggle), and the selected area range (selectRange). It should be noted that the relevant content of the expression string has been described in step 221, and will not be repeated here.

[0126] In step 226, a parameter value corresponding to the variable parameter is obtained in the first document page.

[0127] In an exemplary embodiment of the present application, the terminal of the second user obtains the parameter value corresponding to the variable parameter in the first document page based on the variable parameter. For example, the editing state of the document is obtained. If the document is in the editing state, the parameter value corresponding to the variable parameter can be determined to be true. If the document is in a non-editable state, the parameter value corresponding to the variable parameter can be determined to be false; the state of the hidden control is obtained. If the hidden control is in a triggered state, the parameter value corresponding to the variable parameter can be determined to be true. If the hidden control is in a non-triggered state, the parameter value corresponding to the variable parameter can be determined to be false; the selected area range is obtained. If the second user selects a certain area range in the first document page, the actual value of the area range of the parameter value corresponding to the variable parameter can be determined. If the second user does not make a selection in the first document page, the parameter value corresponding to the variable parameter can be determined to be 0.

[0128] In step 227, a first reference area is determined in the first document page based on the parameter value corresponding to the variable parameter and the expression string, where the first reference area is an area where the expression string is executed.

[0129] Exemplarily, the expression string may include a variable parameter, based on which a parameter value corresponding to the variable parameter may be determined on the first document page, and the first reference area may be determined using the variable parameter and the acquisition position or action position of the parameter value corresponding to the variable parameter on the first document page. For example, the first reference area includes an area of ​​a selected area range.

[0130] In step 228, within the first reference area, the expression string corresponding to the page element is parsed based on the string parser to obtain a detection result.

[0131] Exemplarily, in the first reference area, the expression string corresponding to the page element is parsed using a string parser (eval). For example, a terminal that views or edits a document may execute the following program to parse the expression string:

[0132] if(eval(menu.when))

[0133] {return true||false;}

[0134] After the expression string is parsed, the detection result can be obtained, which can be expressed in the form of a Boolean value, that is, true or false. The detection result of each page element or the detection result of a specified page element can be obtained by calling an object on the page elements in the first document page.

[0135] It should be noted that the types of string parsers in the parsing program of the present application are exemplary illustrations, and other types of string parsers may also be used to parse expression strings, and the present application does not impose any restrictions on this.

[0136] In an exemplary embodiment of the present application, as the user views or edits the document page, the parameter value corresponding to the variable parameter in the configuration condition corresponding to the page element in the document page also changes accordingly. After the parameter value corresponding to the variable parameter in the configuration condition corresponding to the page element of the document page changes, the changed parameter can also be sent to the specified object (context object) based on the first key interface (setValue), and in the expression string parsing process, the changed parameter in the specified object can be directly obtained based on the second key interface (getValue). That is, when the user is viewing the document, after the parameter value corresponding to the variable parameter in the configuration condition corresponding to the page element of the document page changes, the terminal of other users can directly obtain the changed parameter through the key interface and the specified object, which improves the consistency of data acquisition, and the user's terminal can update the corresponding page element in the document page based on the changed parameter, which can improve the isolation between the page elements in the document page to a certain extent.

[0137] In step 230, a target element is determined based on the detection result, where the target element is a page element to be hidden among the page elements.

[0138] In an exemplary embodiment of the present application, a target element is determined in a page element based on a detection result, wherein the result corresponding to the page element is true or false. For example, a page element with a detection result of true is determined as a target element, and the target element is an element that needs to be hidden in a document page of a second user in a subsequent process.

[0139] Exemplarily, the target element may include at least one of user basic information or user behavior information, the user basic information may include at least one of a user name or a user avatar, and the user behavior information may include at least one of cell selection information, text selection information, cursor movement information, or viewing trace information.

[0140] Combination Figure 3 The user basic information may include the avatars and user names of all users currently viewing the document in the user avatar display area 304 and the basic information list 305. It should be noted that the user basic information in this application is an exemplary description, and the user basic information may also include other information that can indicate the identity of the user, and this application does not limit this.

[0141] For example, the user behavior information includes cell selection information. When the first user selects a cell in the document, the display state of the cell changes or at least one of the user names of the selected cell is displayed around the cell. For example, the change in the display state of the cell may change the color of the cell border. The cell selection information may include at least one of the display state of the cell or the user name of the selected cell. Among them, the text selection information and the cursor movement information are similar to the contents of the cell selection information, and are not described in detail here.

[0142] Exemplarily, when a user views or modifies a document, the background document log will record the user's operations. The viewing trace information may include relevant information recorded in the document log. The relevant information may include but is not limited to the name of the user who views or edits the document, the time of the document operation, and the content of the document operation.

[0143] It should be noted that the content of the target element in this application is an exemplary description, and the target element can also be modified based on actual conditions, and this application does not impose any restrictions on this.

[0144] In step 240, a second document page is displayed, where the second document page is obtained by hiding the target element in the first document page.

[0145] In an exemplary embodiment of the present application, after determining the target element, the target element in the first document page may be hidden to obtain a second document page. The target element is taken as a user name and a user avatar as an example for explanation.

[0146] Exemplarily, in the first document page, the target element of the first user is hidden or the hidden element corresponding to the target element of the first user is displayed to obtain the second document page, the first user is the user currently viewing the document incognito mode, and the hidden element is obtained by removing the target information based on the target element, and the target information is the information to be hidden contained in the target element of the first user. Among them, the target information can be information representing the identity of the user, that is, the information to be hidden in the second document page, and the target information includes but is not limited to user avatar information and user name information. This application is described by taking the target information as user avatar information and user name information as an example.

[0147] Fig.10 Schematic diagram of a second document page of a first user provided in Embodiment 1 of the present application. Fig.10As shown, when the first user is in the invisible state, the user avatar display area 1001 can display the invisible user-specific avatar of the first user in the invisible state, and the user avatar display area 1001 can display the avatar of the user in the non-invisible state, for example, User 2. The invisible user-specific avatar and the invisible user-specific name of the first user can be displayed in the basic information list 1002. For example, the name of the first user can be "Invisible User", and the invisible user-specific avatar can be the system default avatar. The basic information list 1002 can also display the status of the first user (current user). For example, the current user (I) is an invisible user, and the status of the current user can be displayed as "Invisible". In addition, the basic information list 1002 can also display basic information of other users who view or edit the current document. For example, other users who view or edit the current document include User 2, User 3, User 4, User 5...

[0148] Optionally, the second document page may further display first prompt information 1003, where the first prompt information is used to prompt the first user that the first user is viewing the document in stealth mode. For example, the content of the first prompt information is "viewing the current document in stealth mode".

[0149] Exemplarily, the page element of the second document page may further include a close hidden control, and in response to a trigger operation of closing the hidden control, the target element is displayed in the second document page. Fig.10 , a close hidden control, namely “close invisible view”, may be displayed in the relevant area of ​​the current user in the basic information list 1002. The first user may change the current invisible state into a non-invisible state by closing the hidden control.

[0150] Fig.11 Schematic diagram of a second document page of a first user provided in Embodiment 2 of the present application. Fig.11 As shown, when the first user is in the invisible state, the user avatar display area 1101 can display the invisible user-specific avatar of the first user in the invisible state, that is, the user avatar with the hidden character, and the basic information list 1102 can display the invisible user-specific avatar, the invisible user-specific name and the current user's status. Optionally, the first prompt information 1103 can also be displayed in the second document page.

[0151] Among them, the user avatar display area 1101, the basic information list 1102 and the first prompt information 1103 are similar to the relevant contents of the first embodiment and are not described in detail here.

[0152] In an exemplary embodiment of the present application, when the first user is in the invisible state, the target element of the first user can also be deleted in the second document page. For example, the current second document display page displays the avatars of 66 users who are viewing or editing the document, and the basic information list displays 66 user avatars and user names. When one of the users changes from a non-invisible state to an invisible state, the second document display page can display the avatars of 65 users who are viewing or editing the document, and the basic information list displays 65 user avatars and user names.

[0153] It should be noted that the method of hiding the target element in this application is an exemplary description, and other methods can also be used to hide the target element, and this application does not limit this.

[0154] In an exemplary embodiment of the present application, when the first user changes from a non-invisible state to an invisible state, the server may also synchronize the first user's invisible information to a second user, where the second user is a user other than the first user who is viewing or editing a document.

[0155] In the case that the second document page is the second document page of the second user, the target element of the first user is not displayed in the second document page or a hidden element corresponding to the target element of the first user is displayed.

[0156] Exemplarily, after the first user turns on the invisible view, the server synchronizes the information of the first user's invisible state to the second user's terminal, and the second document page of the second user's terminal does not display the first user's target element or displays the hidden element corresponding to the first user's target element. Among them, the first user's basic user information and user behavior information in the second document page of the second user will be hidden. For example, the first user's avatar in the second document page of the second user is a special avatar for invisible users, the name is invisible user, and the first user's cell selection operation, cursor movement, and text selection operation are not displayed.

[0157] Optionally, in the background document log corresponding to the second document page of the second user, the viewing trace information of the first user may also be hidden or deleted.

[0158] This application is explained by taking the hidden element corresponding to the target element of the first user displayed in the second document page as an example. Fig.12 Schematic diagram of a second document page of a second user provided in Embodiment 1 of the present application. Fig.12As shown, the user avatar display area 1201 can display the invisible user-specific avatars of multiple first users in the invisible state, and the user avatar display area 1201 can display the avatars of users in the non-invisible state (not shown in the figure). The basic information list 1202 can display the invisible user-specific avatar and the invisible user-specific name of the first user. The basic information list 1202 can also display the status of the second user (current user). For example, the current user (I) is a non-invisible user. When the second user has the invisible permission, the invisible control can also be displayed in the relevant area of ​​the second user in the basic information list 1202, that is, "Turn on invisible viewing", to remind the current user that the current document can be viewed in stealth mode. In addition, the basic information list 1202 can also display other basic information of the second user who views or edits the current document. For example, the second user also includes user 4, user 5...

[0159] Fig.13 Schematic diagram of a second document page of a second user provided in Embodiment 2 of the present application. Fig.13 As shown, the user avatar display area 1301 can display the invisible user-specific avatars of multiple first users in the invisible state, that is, the user avatars with hidden characters, and the user avatar display area 1301 can display the avatars of users in the non-invisible state (not shown in the figure). The basic information list 1302 can display the invisible user-specific avatar and invisible user-specific name of the first user. The basic information list 1302 can also display the status of the second user (current user). For example, the current user (I) is a non-invisible user. When the second user has the invisible permission, the invisible control can also be displayed in the relevant area of ​​the second user in the basic information list 1302, that is, "turn on invisible view", which is used to remind the current user that the current document can be viewed invisibly. In addition, the basic information list 1302 can also display other second user basic information that views or edits the current document. For example, the second user also includes user 4, user 5...

[0160] The present application detects page elements in a first document page through a triggering operation of a hidden control, and determines a target element to be hidden in the page element based on the detection result. The target element can be dynamically hidden in the document page based on the detection result, thereby preventing at least one of the basic user information or user behavior information included in the target element from being leaked, thereby improving the flexibility and security of document display.

[0161] This application hides the target elements by hiding the controls, so that the information of the user when viewing the document interface cannot be obtained by other users, thereby improving the security of the information when the user views the document, thereby improving the user experience and user stickiness.

[0162] In an exemplary embodiment of the present application, the second document page may further include an editing control, which may be used to change the document from a viewing state to an editing state. In the editing state, the user may modify the content of the document.

[0163] Exemplarily, when the first user has editing permission for the document, in response to the triggering operation of the editing control, a second prompt message is displayed in the second document page, the second prompt message is used to prompt the first user to determine the first user's status in the document, and the second prompt message includes a confirmation control and a cancel control; in response to the triggering operation of the confirmation control, the status of the document is modified to an editing status, and the target element of the first user is displayed in the second document page; or, in response to the triggering operation of the cancel control, the target element of the first user is hidden on the second document page or the hidden element corresponding to the target element of the first user is displayed.

[0164] In an exemplary embodiment of the present application, the creator of a document can set permissions for each user when creating the document. For example, the permissions of the user can include viewing permissions and editing permissions. When the first user has the editing permission of the document, the first user can edit the document through the editing control. When the triggering operation of the editing control is detected, the second prompt information is displayed in the second document page. The second prompt information can be used to remind the current user to determine the invisible state of the first user in the document.

[0165] Fig.14 is a schematic diagram of a second document page including second prompt information provided in the first embodiment of the present application. Fig.14 As shown, when the triggering operation of the editing control is detected, the second prompt information 1400 is displayed on the second document mask, and the second prompt information 1400 may include prompt content 1401, cancel control 1402 and confirmation control 1403. Among them, the prompt content 1401 may be "When editing content, the invisible state will temporarily disappear." If the cancel control 1402 is triggered, the current document state, that is, the viewing state, is retained, and the user can view the current document content in stealth; if the confirmation control 1403 is triggered, the state of the current document is changed to the editing state, and the target element of the current user (first user) is changed from the invisible state to the non-invisible state, that is, the target element of the first user can be viewed by the second user, and the second user is the user other than the current user who is viewing or editing the current document.

[0166] Fig.15 is a schematic diagram of a second document page including second prompt information provided in the second embodiment of the present application. Fig.15As shown, when the trigger operation of the edit control 1504 is detected, the second prompt information 1500 is displayed on the second document mask, and the second prompt information 1500 may include prompt content 1501, cancel control 1502 and confirm control 1503. Among them, the prompt content 1501, cancel control 1502 and confirm control 1503 are Fig.14 The functions of the prompt content 1401, the cancel control 1402 and the confirmation control 1403 are similar and are not described in detail here.

[0167] It should be noted that, after detecting the triggering operation of a certain control, the server can send a calling object to the terminal of the second user (other users who view or edit the current document), and the terminal of the second user detects the page elements in the current document page based on the calling object, and updates the current document page based on the detection results. The updating process of the document page is similar to steps 230 and 240, and will not be elaborated here.

[0168] In an exemplary embodiment of the present application, after displaying the second document page, the current user can also view the target elements of other users based on the second document page. The present application takes the second user viewing the target elements of the reference user based on the second document page as an example for explanation, and the process of the second user viewing the target elements of the reference user based on the second document page may include: receiving an information viewing request from the second user, the information viewing request is used to request to view the target elements of the reference user; when the reference user is in an invisible state, displaying a third prompt message on the second document page of the second user, the third prompt message is used to prompt the second user that he does not have the authority to view the information; or, when the reference user is not in an invisible state, displaying the target elements of the reference user on the second document page of the second user based on the information viewing request.

[0169] Exemplarily, the second user's terminal sends an information viewing request to the server. After receiving the second user's information viewing request, the server can determine the target element of the reference user based on the information viewing request, wherein the reference user is the user for whom the second user requests to view information, and the target element can be at least one of the user basic information or user behavior information of the reference user. The server can obtain the document viewing status of the reference user in the terminal of the reference user, and send the document viewing status of the reference user to the terminal of the second user.

[0170] If the reference user is in an invisible state when viewing the document, a third prompt message is displayed on the second document page of the second user, and the third prompt message is used to prompt the second user that he does not have the authority to view the information. For example, the third prompt message is "Sorry, this user is an invisible user and cannot view user information." If the reference user is in a non-invisible state when viewing the document, a target element of the reference user is displayed on the second document page of the second user based on the information viewing request, for example, an information panel of the reference user is displayed on the second document page of the second user, and the information panel of the reference user may include at least one of the reference user account, the reference user name, or the reference user avatar.

[0171] In an exemplary embodiment of the present application, when a configuration condition associated with a page element changes, an updated expression string is obtained based on the expression string and modification information corresponding to the changed configuration condition; an updated calling object is determined based on the updated expression string, and the modification information includes at least one of increasing the configuration condition associated with the page element, reducing the configuration condition associated with the page element, or modifying the configuration condition associated with the page element; the updated calling object is sent to the terminal of the user who views or edits the document.

[0172] Exemplarily, when the configuration condition associated with the page element changes, the server can obtain the modification information corresponding to the configuration condition, wherein the modification information may include but is not limited to adding a configuration condition, reducing a configuration condition, and modifying a configuration condition. The expression string is updated using the modification information corresponding to the configuration condition to obtain an updated expression string, and then the updated call object is determined using the updated expression string, and the updated call object is sent to the terminal of the user who views or edits the document.

[0173] Take the scenario where the current user experiences incognito viewing of documents as an example. For example, when the user experiences incognito viewing of documents, the duration of incognito is 15 minutes. At this time, the configuration conditions corresponding to the page elements need to be increased, that is, the incognito duration of the current user's target element is 15 minutes. The expression string is updated based on the configuration conditions of the incognito duration of the target element, and an updated call object is generated.

[0174] It should be noted that the process of determining the updated calling object using the updated expression string is similar to step 221 to step 224, and will not be described in detail here.

[0175] In an exemplary embodiment of the present application, after the server sends the updated call object to the terminal of the user viewing or editing the document, the terminal of the user viewing or editing the document updates the second document page (the current document page) based on the updated call object. The process of the user's terminal updating the second document page based on the updated call object may include: determining a second reference area in the second document page based on the updated call object, the second reference area being the area of ​​the call object where the update is performed; and displaying a third document page, the third document page being obtained by updating the page elements of the second reference area in the second document page.

[0176] Exemplarily, after the server sends the updated call object to the terminal of the user who views or edits the document, the user's terminal parses the updated expression string contained in the updated call object, determines the parameter value corresponding to the variable parameter in the second document page based on the variable parameter contained in the updated expression string, and determines the second reference area in the second document page using the determined variable. The user's terminal can update the page element based on the detection result of the page element in the second reference area to obtain a third document page.

[0177] When the configuration conditions associated with the page elements change, compared with the prior art of generating a new program version by modifying the code of the user terminal, the present application obtains an updated calling object based on the modification information of the configuration conditions, and the terminal of the user who views or edits the document updates the page elements in the second reference area of ​​the second document page based on the updated calling object to obtain a third document page. The present application can realize dynamic updating of page elements by updating the page elements based on the detection results of the calling object in the second reference area. Updating page elements by calling objects can simplify the update process of page elements, thereby improving the flexibility and scalability of document page updates. The update process is easy to upgrade and maintain, making document pages suitable for more application scenarios and meeting diverse user needs.

[0178] The present application also provides a device for displaying a document. Fig.16 is a schematic diagram of a document display device structure provided in an embodiment of the present application, such as Fig.16 As shown, the device comprises:

[0179] The display module 1510 is used to display a first document page, where the first document page includes multiple page elements, and the multiple page elements include hidden controls.

[0180] The detection module 1520 detects the configuration conditions associated with multiple page elements in the first document page in response to the triggering operation of the hidden control, and obtains the detection results. The configuration conditions associated with any page element include variable parameters and operations of the variable parameters. The variable parameters are dynamically changing parameters corresponding to any page element. The operations of the variable parameters are used to express the operations corresponding to the conditions that the variable parameters need to meet.

[0181] The determination module 1530 is used to determine a target element based on the detection result, where the target element is a page element to be hidden among the page elements.

[0182] The display module 1510 is further used to display a second document page, where the second document page is obtained by hiding the target element in the first document page.

[0183] In a possible implementation, the display module 1510 is also used to hide the target element of the first user in the first document page or display the hidden element corresponding to the target element of the first user to obtain a second document page. The first user is the user who is currently viewing the document in stealth mode. The hidden element is obtained by removing the target information based on the target element. The target information is the information to be hidden contained in the target element of the first user.

[0184] In a possible implementation, when the second document page is the second document page of the first user, the display module 1510 is further used to display first prompt information in the second document page, where the first prompt information is used to prompt the first user that he is in a state of viewing the document in stealth mode.

[0185] In a possible implementation, the second document page includes an editing control, and the display module 1510 is further used to display second prompt information in the second document page in response to a triggering operation of the editing control when the first user has editing authority of the document, the second prompt information is used to prompt the first user to confirm the status of the first user in the document, and the second prompt information includes a confirmation control and a cancel control;

[0186] In response to determining the triggering operation of the control, the state of the document is changed to an editing state, and the target element of the first user is displayed in the second document page; or,

[0187] In response to canceling the triggering operation of the control, the target element of the first user is hidden on the second document page or the hidden element corresponding to the target element of the first user is displayed.

[0188] In one possible implementation, the target element includes at least one of user basic information or user behavior information, the user basic information includes at least one of a user name or a user avatar, and the user behavior information includes at least one of cell selection information, text selection information, cursor movement information, or viewing trace information.

[0189] In a possible implementation, the display module 1510 is further configured to display the hidden control in the user basic information list when the plurality of page elements displayed in the first document page include the user basic information list; or,

[0190] When the multiple page elements displayed on the first document page include a menu control and the menu control is triggered, a menu list page element is displayed on the first document page, and the hidden control is displayed in the menu list page element.

[0191] In a possible implementation, the page element of the second document page includes a closing hidden control, and the display module 1510 is further configured to display the target element in the second document page in response to a triggering operation of closing the hidden control.

[0192] In a possible implementation, the detection module 1520 is used to obtain an expression string corresponding to the configuration condition, where the expression string includes at least one substring, and the substring corresponds to multiple configuration conditions associated with the page element one by one;

[0193] The expression string is parsed based on the string parser to obtain the detection result.

[0194] In a possible implementation, the detection module 1520 is used to determine the variable parameter based on the configuration condition corresponding to the substring contained in the expression string;

[0195] Obtain parameter values ​​corresponding to the variable parameters in the first document page;

[0196] Determine a first reference area in the first document page based on the parameter value corresponding to the variable parameter and the expression string, the first reference area being an area where the expression string is executed;

[0197] In the first reference area, expression strings corresponding to a plurality of page elements are parsed based on a string parser to obtain a detection result.

[0198] In a possible implementation, the detection module 1520 is further configured to determine an expression string based on configuration conditions associated with a plurality of page elements of the first document page;

[0199] Perform word segmentation on the expression string based on the reference rules to obtain the word segmentation result;

[0200] Determine the tree structure corresponding to the expression string based on the word segmentation result;

[0201] Determine the calling object based on the operation escape type and the tree structure, the operation escape type is determined based on the operation type mapping table, and the operation type mapping table is used to reflect the relationship between the operation type and the operation escape type;

[0202] Detecting configuration conditions associated with multiple page elements in the first document page includes: detecting configuration conditions associated with multiple page elements in the first document page based on a calling object.

[0203] In a possible implementation, the display module 1510 is further configured to receive an information viewing request from a second user, where the information viewing request is used to request viewing of a target element of a reference user;

[0204] In the case where the reference user is in an invisible state, a third prompt message is displayed on the document page of the second user, and the third prompt message is used to prompt the second user that he does not have the authority to view the information; or

[0205] When the reference user is in a non-invisible state, the target element of the reference user is displayed on the second document page of the second user based on the information viewing request.

[0206] In a possible implementation, the calling object includes an expression string, and the device further includes an updating module (not shown in the figure), the updating module being used to obtain an updated expression string based on the expression string and modification information corresponding to the changed configuration conditions when configuration conditions associated with multiple page elements are changed, and to determine an updated calling object based on the updated expression string, wherein the modification information includes at least one of adding a configuration condition associated with the page element, reducing a configuration condition associated with the page element, or modifying a configuration condition associated with the page element;

[0207] A call object that sends an update to the terminal of the user who is viewing or editing the document.

[0208] In a possible implementation, the updating module is further used to determine a second reference area in the second document page based on the updated calling object, where the second reference area is an area of ​​the calling object where the update is performed;

[0209] A third document page is displayed, where the third document page is obtained by updating the page element of the second reference area in the second document page.

[0210] The present application detects page elements in a first document page through a triggering operation of a hidden control, and determines a target element to be hidden in the page element based on the detection result. The target element can be dynamically hidden in the document page based on the detection result, thereby preventing at least one of the basic user information or user behavior information included in the target element from being leaked, thereby improving the flexibility and security of document display.

[0211] It should be understood that the above-mentioned device only uses the division of the above-mentioned functional modules as an example to illustrate when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0212] Fig.17 The structural block diagram of a terminal device 1600 provided by an exemplary embodiment of the present application is shown. The terminal device 1600 may be any electronic device product that can interact with a user through one or more methods such as a keyboard, a touchpad, a remote controller, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart watch, etc.

[0213] Typically, the terminal device 1600 includes: a processor 1601 and a memory 1602 .

[0214] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0215] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1602 is used to store at least one instruction, which is used to be executed by the processor 1601 to implement the document display method provided in the method embodiment of the present application.

[0216] In some embodiments, the terminal device 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. The processor 1601, the memory 1602 and the peripheral device interface 1603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1603 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607 and a power supply 1608.

[0217] The peripheral device interface 1603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0218] The radio frequency circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1604 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0219] The display screen 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1605 also has the ability to collect touch signals on the surface or above the surface of the display screen 1605. The touch signal can be input to the processor 1601 as a control signal for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1605 can be one, which is set on the front panel of the terminal device 1600; in other embodiments, the display screen 1605 can be at least two, which are respectively set on different surfaces of the terminal device 1600 or are folded; in other embodiments, the display screen 1605 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal device 1600. Even, the display screen 1605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0220] The camera assembly 1606 is used to capture images or videos. Optionally, the camera assembly 1606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1600, and the rear camera is arranged on the back of the terminal device 1600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0221] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1601 for processing, or input them into the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 1600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1607 may also include a headphone jack.

[0222] The power supply 1608 is used to power various components in the terminal device 1600. The power supply 1608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1608 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0223] In some embodiments, the terminal device 1600 further includes one or more sensors 1610 , including but not limited to: an acceleration sensor 1611 , a gyroscope sensor 1612 , a pressure sensor 1613 , an optical sensor 1614 , and a proximity sensor 1615 .

[0224] The acceleration sensor 1611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal device 1600. For example, the acceleration sensor 1611 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1601 can control the display screen 1605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 can also be used for collecting game or user motion data.

[0225] The gyroscope sensor 1612 can detect the body direction and rotation angle of the terminal device 1600, and the gyroscope sensor 1612 can cooperate with the acceleration sensor 1611 to collect the user's 3D actions on the terminal device 1600. The processor 1601 can implement the following functions based on the data collected by the gyroscope sensor 1612: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0226] The pressure sensor 1613 can be set on the side frame of the terminal device 1600 and / or the lower layer of the display screen 1605. When the pressure sensor 1613 is set on the side frame of the terminal device 1600, it can detect the user's holding signal of the terminal device 1600, and the processor 1601 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1613. When the pressure sensor 1613 is set on the lower layer of the display screen 1605, the processor 1601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0227] The optical sensor 1614 is used to collect the ambient light intensity. In one embodiment, the processor 1601 can control the display brightness of the display screen 1605 according to the ambient light intensity collected by the optical sensor 1614. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is reduced. In another embodiment, the processor 1601 can also dynamically adjust the shooting parameters of the camera component 1606 according to the ambient light intensity collected by the optical sensor 1614.

[0228] The proximity sensor 1615, also called a distance sensor, is usually arranged on the front panel of the terminal device 1600. The proximity sensor 1615 is used to collect the distance between the user and the front of the terminal device 1600. In one embodiment, when the proximity sensor 1615 detects that the distance between the user and the front of the terminal device 1600 is gradually decreasing, the processor 1601 controls the display screen 1605 to switch from the screen-on state to the screen-off state; when the proximity sensor 1615 detects that the distance between the user and the front of the terminal device 1600 is gradually increasing, the processor 1601 controls the display screen 1605 to switch from the screen-off state to the screen-on state.

[0229] Those skilled in the art will understand that Fig.17 The structure shown in the figure does not constitute a limitation on the terminal device 1600, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0230] Fig.18This is a schematic diagram of the structure of the server provided in the embodiment of the present application. The server 1700 may have relatively large differences due to different configurations or performances, and may include one or more processors 1701 and one or more memories 1702, wherein at least one program code is stored in the one or more memories 1702, and the at least one program code is loaded and executed by the one or more processors 1701 to implement the document display method provided in the above-mentioned various method embodiments. Of course, the server 1700 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 1700 may also include other components for implementing device functions, which will not be described in detail here.

[0231] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above document display methods.

[0232] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0233] In an exemplary embodiment, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above document display methods.

[0234] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the page elements, user basic information, user behavior information, first document page and second document page involved in this application are all obtained with full authorization.

[0235] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0236] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for document display, characterized in that: The method comprises: Displaying a first document page, wherein the first document page includes a plurality of page elements, wherein the plurality of page elements include a hidden control; In response to the triggering operation of the hidden control, the configuration conditions associated with the plurality of page elements in the first document page are detected to obtain a detection result, wherein the configuration conditions associated with any page element include variable parameters and operations of the variable parameters, wherein the variable parameters are dynamically changing parameters corresponding to any page element, and the operations of the variable parameters are used to express operations corresponding to conditions that the variable parameters need to satisfy; Determine a target element based on the detection result, where the target element is a page element to be hidden among the multiple page elements; A second document page is displayed, where the second document page is obtained by hiding the target element in the first document page.

2. The method according to claim 1, characterized in that Before displaying the second document page, the method further includes: The target element of the first user is hidden in the first document page or the hidden element corresponding to the target element of the first user is displayed to obtain the second document page, wherein the first user is a user currently viewing the document in stealth mode, and the hidden element is obtained by removing target information from the target element, and the target information is information to be hidden contained in the target element of the first user.

3. The method according to claim 1, characterized in that In the case where the second document page is a second document page of the first user, after displaying the second document page, the method further includes: A first prompt message is displayed on the second document page, where the first prompt message is used to prompt that the first user is in a state of viewing the document in stealth mode.

4. The method according to claim 1, characterized in that: The second document page includes an editing control, and after displaying the second document page, the method further includes: In the case where the first user has the editing authority of the document, in response to the triggering operation of the editing control, displaying second prompt information in the second document page, the second prompt information is used to prompt the first user to confirm the status of the first user in the document, and the second prompt information includes a confirmation control and a cancel control; In response to the triggering operation of the determination control, the state of the document is changed to an editing state, and the target element of the first user is displayed in the second document page; or, In response to the triggering operation of the cancel control, the target element of the first user is hidden on the second document page or the hidden element corresponding to the target element of the first user is displayed.

5. The method according to any one of claims 1 to 4, characterized in that: The target element includes at least one of user basic information or user behavior information, the user basic information includes at least one of a user name or a user avatar, and the user behavior information includes at least one of cell selection information, text selection information, cursor movement information, or viewing trace information.

6. The method according to claim 5, characterized in that In the case where the plurality of page elements displayed in the first document page include a user basic information list, the hidden control is displayed in the user basic information list; or, When the multiple page elements displayed on the first document page include a menu control and the menu control is triggered, a menu list page element is displayed on the first document page, and the hidden control is displayed in the menu list page element.

7. The method according to claim 1, characterized in that The page elements of the second document page include a close hidden control, and after displaying the second document page, the method further includes: In response to the triggering operation of closing the hidden control, the target element is displayed in the second document page.

8. The method according to claim 1, characterized in that The detecting of the configuration conditions associated with the plurality of page elements in the first document page to obtain a detection result includes: Acquire an expression string corresponding to the configuration condition, wherein the expression string includes at least one substring, and the substring corresponds one-to-one to the configuration conditions associated with the plurality of page elements; The expression string is parsed based on a string parser to obtain the detection result.

9. The method according to claim 8, characterized in that The expression string is parsed based on a string parser to obtain the detection result, including: Determine the variable parameter based on the configuration condition corresponding to the substring contained in the expression string; Obtaining a parameter value corresponding to the variable parameter in the first document page; Determine a first reference area in the first document page based on the parameter value corresponding to the variable parameter and the expression string, the first reference area being an area where the expression string is executed; In the first reference area, the expression strings corresponding to the multiple page elements are parsed based on the string parser to obtain the detection result.

10. The method according to claim 8, characterized in that Before detecting the configuration conditions associated with the plurality of page elements in the first document page, the method further includes: Determine the expression string based on configuration conditions associated with the plurality of page elements of the first document page; Perform word segmentation processing on the expression string based on the reference rule to obtain a word segmentation result; Determine the tree structure corresponding to the expression string based on the word segmentation result; Determine a calling object based on an operation escape type and the tree structure, wherein the operation escape type is determined based on an operation type mapping table, and the operation type mapping table is used to reflect the relationship between the operation type and the operation escape type; The detecting the configuration conditions associated with the plurality of page elements in the first document page includes: detecting the configuration conditions associated with the plurality of page elements in the first document page based on the calling object.

11. The method according to claim 1, characterized in that: After displaying the second document page, the method further includes: receiving an information viewing request from a second user, wherein the information viewing request is used to request viewing a target element of a reference user; In the case where the reference user is in an invisible state, a third prompt message is displayed on the document page of the second user, wherein the third prompt message is used to prompt the second user that he does not have the authority to view the information; or When the reference user is in a non-invisible state, the target element of the reference user is displayed on the second document page of the second user based on the information viewing request.

12. The method according to claim 10, characterized in that The calling object includes an expression string. After detecting the configuration conditions associated with the plurality of page elements in the first document page based on the calling object, the method further includes: In the case where the configuration conditions associated with the plurality of page elements are changed, an updated expression string is obtained based on the expression string and modification information corresponding to the changed configuration conditions, and an updated calling object is determined based on the updated expression string, wherein the modification information includes at least one of adding a configuration condition associated with a page element, reducing a configuration condition associated with a page element, or modifying a configuration condition associated with a page element; The updated calling object is sent to a terminal of a user who views or edits the document.

13. The method according to claim 12, characterized in that After sending the updated calling object to the terminal of the user who views or edits the document, the method further includes: Determining a second reference area in the second document page based on the updated calling object, the second reference area being an area of ​​the calling object that performs the update; A third document page is displayed, where the third document page is obtained by updating the page element of the second reference area in the second document page.

14. A document display device, characterized in that: The device comprises: A display module, configured to display a first document page, wherein the first document page includes a plurality of page elements, wherein the plurality of page elements include a hidden control; a detection module, configured to detect configuration conditions associated with the plurality of page elements in the first document page in response to a triggering operation of the hidden control, and obtain a detection result, wherein the configuration conditions associated with any page element include variable parameters and operations of the variable parameters, wherein the variable parameters are dynamically changing parameters corresponding to any page element, and the operations of the variable parameters are used to express operations corresponding to conditions that the variable parameters need to satisfy; A determination module, configured to determine a target element based on the detection result, wherein the target element is a page element to be hidden among the multiple page elements; The display module is further used to display a second document page, where the second document page is obtained by hiding the target element in the first document page.

15. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the document display method according to any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to enable a computer to implement the document display method according to any one of claims 1 to 13.

17. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement the document display method according to any one of claims 1 to 13.