Web page content display method and device

By dividing the web page content into multiple paragraphs and generating regional correspondence, time-sharing and segmented display, the problem of low confidentiality of web page content is solved, and the encrypted display and security of content is achieved.

CN116383873BActive Publication Date: 2025-08-26ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310222646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2025-08-26
Estimated Expiration
2043-03-03

AI Technical Summary

Technical Problem

In the prior art, web page content is low in confidentiality and it is difficult to effectively prevent information leakage.

Method used

Divide the content to be displayed on the web page into multiple paragraphs, and generate the corresponding relationship between paragraphs and regions. By displaying the corresponding paragraphs in the region in time and segments, breaking the positional relationship between paragraphs. Users need to gradually view the content according to the region order information.

Benefits of technology

Encrypted display of content is realized, and users cannot obtain complete content through screenshots, and it is difficult to piece together the complete content even if they obtain multiple paragraphs, which improves the security of the content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116383873B_ABST
    Figure CN116383873B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and apparatus for displaying web page content. The method divides the content to be displayed of a web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; generates a correspondence between paragraphs and areas, and displays the corresponding paragraphs in the areas in time-sharing and segmented manner based on the correspondence. By adopting this processing method, the content to be displayed is displayed in a time-sharing and segmented manner and the positional relationship between paragraphs is broken, thereby realizing encrypted content display. In this way, it is possible to avoid displaying the complete content at the same time. Even if the user takes a screenshot of the web page, the complete content cannot be directly obtained. It is also possible to avoid the display positions of adjacent paragraphs being associated when displayed on different screens. Even if the user obtains multiple paragraph screenshot files, as long as the user does not know the correspondence between paragraphs and areas, it is difficult to integrate the multiple paragraphs and piece together the complete content. Therefore, the security of the content to be displayed can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and specifically to a method and device for displaying web page content, as well as an electronic device. Background Art

[0002] With the increasing popularity of internet applications, more and more companies are using online methods to conduct employee assessments through web pages. To ensure the authenticity of assessment results, assessment content needs to be protected to prevent relevant documents from being easily leaked.

[0003] Currently, a common method for protecting web content is to set the browser window to prevent screenshots by calling the Anti-Screenshot API (SetWindowDisplayAffinity) on Windows operating systems. Other operating systems also have similar anti-screenshot features, but the high development and usage costs of this method make it difficult to widely use. Another method for protecting web content is to add watermarks to web content. This method can trace the source of information leaks through screenshot files, facilitating accountability and thus reducing the possibility of web content leaks. However, this method does not prevent users from leaking information.

[0004] In summary, the existing technology has the problem of low confidentiality of web page content. Summary of the Invention

[0005] The present application provides a web page content display method to solve the problem of low confidentiality of web page content in the prior art. The present application also provides a web page content display method and device, as well as an electronic device.

[0006] This application provides a web page content display method, including:

[0007] Dividing the content to be displayed on the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas;

[0008] A correspondence between paragraphs and regions is generated, so that corresponding paragraphs are displayed in the regions in time-division and segmentation based on the correspondence.

[0009] Optionally, generating the correspondence between paragraphs and regions includes randomly generating the correspondence between paragraphs and regions according to the number of paragraphs and the number of regions.

[0010] Optionally, the displaying of corresponding paragraphs in the region in different time periods and segments based on the corresponding relationship includes:

[0011] Based on the corresponding relationship, the region sequence information corresponding to the paragraph sequence is displayed on the user terminal, so that the user can perform operations on each region according to the region sequence information;

[0012] In response to an operation on the area, corresponding paragraph content is displayed in the area.

[0013] Optionally, according to the corresponding relationship, the first paragraph is displayed in the corresponding area, and an operation option for viewing the next paragraph is provided in the corresponding area;

[0014] If the operation option is selected, the next paragraph is displayed in the corresponding area according to the corresponding relationship.

[0015] Optionally, the content to be displayed includes: document content excluding natural paragraphs;

[0016] Divide the content to be displayed into multiple paragraphs, including:

[0017] Obtaining positions of punctuation marks included in the content to be displayed;

[0018] The document content is divided into multiple paragraphs according to the positions of the punctuation marks, and a paragraph length threshold and / or a paragraph number threshold.

[0019] Optionally, the content to be displayed includes: examination content including multiple questions;

[0020] Divide the content to be displayed into multiple paragraphs, including:

[0021] The content of the same question in the test content is divided into a paragraph to obtain multiple paragraphs corresponding to the test content.

[0022] Optionally, the number of the paragraphs is less than or equal to the number of regions into which the webpage is divided.

[0023] The present application also provides a web page content display device, comprising:

[0024] a segmentation unit for dividing the content to be displayed of a web page into a plurality of paragraphs, wherein the space of the web page is divided into a plurality of regions;

[0025] The corresponding relationship generating unit is used to generate a corresponding relationship between paragraphs and regions, so as to display corresponding paragraphs in regions in a time-division and segment-wise manner based on the corresponding relationship.

[0026] The present application also provides an electronic device, comprising:

[0027] processor and memory;

[0028] The memory is used to store a program for implementing any of the above methods, and the terminal is powered on and runs the program of the method through the processor.

[0029] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned various methods.

[0030] The present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to perform the above methods.

[0031] Compared with the prior art, this application has the following advantages:

[0032] The web page content display method provided by the embodiment of the present application is to divide the content to be displayed of the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; generate a correspondence between paragraphs and areas, and display the corresponding paragraphs in the areas in time-sharing and segmented manner based on the correspondence. By adopting this processing method, the content to be displayed is displayed in a time-sharing and segmented manner and the positional relationship between paragraphs is broken, thereby realizing encrypted content display. In this way, it is possible to avoid displaying the complete content at the same time. Even if the user takes a screenshot of the web page, the complete content cannot be directly obtained. It is also possible to avoid the display positions of adjacent paragraphs being associated when displayed on different screens. Even if the user obtains multiple paragraph screenshot files, as long as he does not know the correspondence between paragraphs and areas, it is difficult to integrate the multiple paragraphs and piece together the complete content. Therefore, the security of the content to be displayed can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic structural diagram of an embodiment of a webpage content display method provided by the present application;

[0034] Figure 2 Schematic diagram of an application scenario of an embodiment of the webpage content display method provided by this application;

[0035] Figures 3a to 3d A schematic diagram of the implementation effect of an embodiment of the webpage content display method provided by this application;

[0036] Figure 4 A schematic diagram of the operation flow of an embodiment of the webpage content display method provided by this application;

[0037] Figure 5 A schematic structural diagram of an embodiment of a webpage content display device provided by this application;

[0038] Figure 6 A schematic structural diagram of an embodiment of an electronic device provided in this application. DETAILED DESCRIPTION

[0039] The following description sets forth many specific details to facilitate a thorough understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the scope of the present application. Therefore, the present application is not limited to the specific implementations disclosed below.

[0040] In this application, a webpage content display method and apparatus, as well as an electronic device are provided. Each solution is described in detail in each embodiment below.

[0041] First embodiment

[0042] Please refer to Figure 1 , which is a schematic diagram of the structure of the webpage content display method of the present application. In this embodiment, the method may include the following steps:

[0043] Step S101: Divide the content to be displayed on a web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas.

[0044] The content to be displayed must be confidential. In terms of content format, it can be text, images, or both. In terms of storage method, it can be stored in a database or as a separate file on disk. In terms of content type, it can include internal company documents, online exam papers, and paid documents.

[0045] To protect the content to be displayed on a web page, the core concept of the method provided in the embodiments of this application is to display the content to be displayed on the web page in a time-sharing and segmented manner without affecting user experience. Users can view the content to be displayed on the web page in time-sharing and segmented manner. Time-sharing and segmented display of content means that only one or a few areas at a time display the corresponding paragraphs, rather than displaying all paragraphs at the same time.

[0046] like Figure 2 As shown, the server obtains the content to be displayed, forms a web page layout, and sends the web page to the user. Figures 3a to 3d This demonstrates the time-sharing and segmented display effect of the method provided by the embodiment of the present application, where only one area displays the corresponding paragraph at a time. Assuming the content to be displayed is divided into four paragraphs, the webpage layout is divided into four areas in a four-square grid format. These four areas represent Area 1, Area 2, Area 3, and Area 4 from left to right and from top to bottom. Figure 3a At time t1, paragraph 1 is displayed in area 3 of the web page. Figure 3b At time t2, paragraph 2 is displayed in area 4 of the web page. Figure 3c At time t3, paragraph 3 is displayed in area 1 of the web page. Figure 3dAt time t4, paragraph 4 is displayed in area 2 of the webpage. This time- and segment-by-segment display method prevents the entire content from being displayed at the same time, making it impossible for users to capture the entire content in a single screenshot. Furthermore, even if users capture all paragraphs through multiple screenshots, integrating multiple paragraphs is difficult without a correspondence between paragraphs and areas. This, to a certain extent, prevents the leakage and dissemination of the displayed content, achieving encrypted content display.

[0047] To implement time-sharing and segmented display of webpage content, the content to be displayed must first be divided into multiple independent paragraphs. This can be implemented based on the specific needs of the content to be displayed. The more paragraphs there are, the more difficult it is to integrate them, thus increasing content security. However, the smaller the content in each paragraph, the more complex the complete content display process becomes, impacting the user experience. Several feasible paragraph division methods are listed below.

[0048] (1) The content to be displayed is the document content including natural paragraphs

[0049] In this case, step S101 can be implemented in the following manner: obtaining a paragraph identifier of the document content; and obtaining a plurality of natural paragraphs included in the document content according to the paragraph identifier.

[0050] For example, if the document content is WORD / WPS document content, the multiple paragraph tags included in the document content can be obtained through the tools provided by the document editing software, and then each paragraph tag can be divided into a corresponding paragraph.

[0051] (2) The content to be displayed is a document that does not include natural paragraphs

[0052] In one example, step S101 can be implemented as follows: obtain a paragraph length threshold and the position of punctuation marks included in the document content; and divide the document content into multiple paragraphs based on the paragraph length threshold and the position of the punctuation marks. The paragraph length can be the number of words or characters included in the paragraph, etc. The paragraph length threshold can be set according to application requirements, and the length of each divided paragraph cannot exceed the paragraph length threshold. When the paragraph length threshold is fixed, the longer the document is, the more paragraphs it is divided into, and the better the document anti-screenshot effect, but the fewer paragraphs of each document are displayed, and the more complex the document display to the user.

[0053] In another example, step S101 can be implemented as follows: obtaining a paragraph number threshold and the positions of punctuation marks included in the document content; and dividing the document content into multiple paragraphs based on the paragraph number threshold and the positions of the punctuation marks. The paragraph number threshold can be set based on application requirements. When the paragraph number threshold is fixed, even short documents can achieve a good screenshot protection effect.

[0054] In specific implementation, a punctuation mark recognition model can be constructed through a machine learning algorithm, and the content to be displayed is used as input data of the model, and the positions of the punctuation marks included in the content to be displayed are obtained through the model.

[0055] (3) The content to be displayed is the test content

[0056] In this case, step S101 can be implemented by dividing the content of the same test question into multiple paragraphs. This approach can prevent a complete test question from being captured all at once, making it more difficult for cheaters to piece together a complete question, and effectively improving the anti-cheating effect.

[0057] In specific implementation, step S101 can also be implemented as follows: the content of the same question in the test content is divided into a paragraph, and multiple paragraphs corresponding to the test content are obtained. This processing method allows the user to see a complete test question each time, thereby effectively improving the user experience.

[0058] In one example, the number of paragraphs of content to be displayed can be less than or equal to the number of regions on the webpage. When the number of paragraphs is less than the number of regions, some regions may not display data. This approach makes the regions without data somewhat confusing to cheaters, thereby further improving content security.

[0059] In one example, the method provided by the embodiment of the present application may further include the following steps: dividing the web page space into multiple areas so that different paragraphs can be displayed in different web page areas.

[0060] In practice, the webpage layout can be divided into rows and columns, i.e., the webpage space is divided into a number of rows and columns, such as a four-square grid with two rows and two columns, or a nine-square grid with three rows and three columns. The number of rows and columns can be the same or different. Furthermore, more complex webpage layouts can be used, such as non-determinant layouts, or regions can be shaped other than rectangles, such as circles or triangles.

[0061] Step S103: Generate a correspondence between paragraphs and regions, and display corresponding paragraphs in regions in time and segment based on the correspondence.

[0062] The method provided in the embodiment of the present application generates a correspondence between paragraphs and regions based on the paragraphs included in the content to be displayed and the regional layout of the web page. According to the correspondence, the corresponding paragraphs can be displayed in the region in a time-sharing and segmented manner.

[0063] In specific implementation, the correspondence between paragraphs and areas is that the order of paragraphs is different from the order of areas. For example, the order of paragraphs is 1, 2, 3, 4, and the order of areas corresponding to the paragraphs is 3, 4, 1, 2. This breaks the positional relationship between paragraphs, so that paragraph 1 is displayed in area 3 of the web page at time t1, paragraph 2 is displayed in area 4 of the web page at time t2, paragraph 3 is displayed in area 1 of the web page at time t3, and paragraph 4 is displayed in area 2 of the web page at time t4.

[0064] In one example, the step of generating a correspondence between paragraphs and regions can be implemented as follows: A random correspondence between paragraphs and regions is generated based on the number of paragraphs and regions. For example, the order of regions for the first time the content is viewed is 3, 4, 1, 2, and the order for the second time the content is viewed is 3, 2, 1, 4. This approach allows the placement of paragraphs in the same content to change each time the user views it, thereby confusing the user and making it difficult to piece together the complete content based on multiple views. This further enhances content security.

[0065] During specific implementation, a fixed correspondence between paragraphs and regions may also be adopted, that is, a paragraph with a certain number is fixedly corresponding to a region with a certain number.

[0066] In one example, based on the corresponding relationship, displaying corresponding paragraphs in regions in a time-sharing and segmented manner may include the following sub-steps: 1) displaying region sequence information corresponding to the paragraph sequence on the user side based on the corresponding relationship, so that the user can perform operations on each region based on the region sequence information; 2) displaying the corresponding paragraph content in the region in response to the operation on the region. Using this processing method, the region sequence information is sent to the user side, and the user can intuitively trigger the corresponding region one by one in the correct order based on the region sequence information, thereby achieving time-sharing and segmented display of paragraphs in corresponding regions.

[0067] The user terminal may be a terminal device such as a personal computer or a smart phone. In specific implementation, the region sequence information may be sent to the user terminal via a mobile phone text message or via an instant messaging software, and the user may view the region sequence information.

[0068] The regional sequence information corresponding to the paragraph sequence formed according to the corresponding relationship is equivalent to a key for displaying the order of content paragraphs. The key is a string of numbers representing the order of the paragraph display positions of the content to be displayed on the web page layout. For example, in the above example, the key when viewing the content for the first time is 3, 4, 1, 2, and the key when viewing the content for the second time is 3, 2, 1, 4.

[0069] After the user obtains the key (region sequence information), he can trigger the time-sharing display of each paragraph in accordance with the layout of the web page and the key value. The user can browse the complete content in different regions of the web page in sequence. The web page places the paragraphs of the content to be displayed in the corresponding area of ​​the web page according to the corresponding relationship. When the user does not trigger the display of the content, the content of each paragraph in the content can be hidden. When the user triggers the display of a certain area, the content of that area is visible, but the content of other areas is hidden. Figures 3a to 3d As shown. Users can trigger the area by clicking the corresponding area with their mouse or on the touch screen. When users take screenshots, they can only capture a certain paragraph of the display at a time. Even if these screenshots are leaked, without knowing the layout of the webpage and the data display key, the order of the paragraphs is unclear, and others cannot obtain the complete document content.

[0070] In another example, based on the corresponding relationship, the corresponding paragraphs are displayed in different time and segment areas, including: 1) displaying the first paragraph in the corresponding area according to the corresponding relationship and providing an operation option to view the next paragraph in the corresponding area; 2) if the operation option is selected, displaying the next paragraph in the corresponding area according to the corresponding relationship. This processing method prevents users from seeing the area sequence information and cannot quickly piece together the entire document content based on the screenshots of each paragraph and the area sequence information during the content display process, thereby further improving content security.

[0071] In a specific implementation, after the user selects the next paragraph operation option, the user terminal may request the server to obtain the content of the corresponding paragraph, so that the user terminal cannot obtain the entire content at the same time. Alternatively, the entire content can be sent to the user terminal along with the webpage, and after the user selects the next paragraph operation option, the content of the corresponding paragraph can be read from the user terminal, which can effectively save network traffic.

[0072] like Figure 4As shown, in a specific implementation, the web content display system can provide a user interface for selecting the web page layout and the number of content segments. The user can select the web page layout and the number of content segments in this interface, such as selecting a 2-row, 3-column layout with 5 paragraphs. Based on the web page layout and the number of paragraphs, the system generates a key (region sequence information) for the order in which the content is displayed, and generates a web page based on the correspondence between paragraphs and regions. After obtaining the key, the user accesses the web page content based on the key. The system displays each paragraph in a time-sharing and segmented manner based on the order in which the user accesses the web page regions, and the user can browse the corresponding paragraphs one by one.

[0073] As can be seen from the above embodiments, the web page content display method provided by the embodiments of the present application divides the content to be displayed of the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; generates a correspondence between paragraphs and areas, and displays the corresponding paragraphs in the areas in time-sharing and segmented manner based on the correspondence. By adopting this processing method, the content to be displayed is displayed in a time-sharing and segmented manner and the positional relationship between paragraphs is broken, thereby realizing encrypted content display. In this way, it is possible to avoid displaying the complete content at the same time. Even if the user takes a screenshot of the web page, the complete content cannot be directly obtained. It is also possible to avoid the display positions of adjacent paragraphs being associated when displayed on different screens. Even if the user obtains multiple paragraph screenshot files, as long as he does not know the correspondence between paragraphs and areas, it is difficult to integrate the multiple paragraphs and piece together the complete content. Therefore, the security of the content to be displayed can be effectively improved.

[0074] Second embodiment

[0075] In the above-mentioned embodiments, a webpage content display method is provided. Correspondingly, this application also provides a webpage content display device. This device corresponds to the above-mentioned method embodiment. Since the device embodiment is substantially similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the description of the method embodiment. The device embodiment described below is merely illustrative.

[0076] The present application further provides a web page content display device, including: a segmentation unit 501 and a correspondence generation unit 503.

[0077] The segmentation unit is used to divide the content to be displayed on the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; the correspondence generation unit is used to generate a correspondence between the paragraphs and the areas, so as to display the corresponding paragraphs in the areas in a time-sharing and segmented manner based on the correspondence.

[0078] In one example, the correspondence generation unit is specifically configured to randomly generate correspondences between paragraphs and regions according to the number of paragraphs and the number of regions.

[0079] In one example, the correspondence generation unit is specifically used to display area sequence information corresponding to the paragraph order on the user side according to the correspondence, so that the user can perform operations on each area according to the area sequence information; in response to the operation behavior on the area, the corresponding paragraph content is displayed in the area.

[0080] In one example, the correspondence generation unit is specifically used to display the first paragraph in the corresponding area according to the correspondence, and provide an operation option to view the next paragraph in the corresponding area; if the operation option is selected, the next paragraph is displayed in the corresponding area according to the correspondence.

[0081] In one example, the content to be displayed includes: document content that does not include natural paragraphs; a segmentation unit specifically used to obtain the position of punctuation marks included in the content to be displayed; and dividing the document content into multiple paragraphs based on the position of the punctuation marks, as well as a paragraph length threshold and / or a paragraph number threshold.

[0082] In one example, the content to be displayed includes: test content including multiple questions; a segmentation unit, specifically used to divide the content of the same question in the test content into a paragraph, to obtain multiple paragraphs corresponding to the test content.

[0083] The number of the paragraphs is less than or equal to the number of regions into which the web page is divided.

[0084] Third embodiment

[0085] In the above-mentioned embodiments, a webpage content display method is provided. Correspondingly, this application also provides an electronic device. This device corresponds to the above-mentioned method embodiment. Since the device embodiment is substantially similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the description of the method embodiment. The device embodiment described below is merely illustrative.

[0086] The electronic device of this embodiment includes: a memory 601 and a processor 603; the memory 601 is used to store a program for implementing a web page content display method, and the device is powered on and runs the program of the method through the processor 503.

[0087] The memory may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0088] In a specific implementation, the electronic device may further include one or more of the following components: a power supply component, an input / output (I / O) interface, and a communication component. The power supply component provides power to various components of the electronic device. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device. The I / O interface provides an interface between the processor 503 and the peripheral interface module, which may be a keyboard, a click wheel, a button, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and a user device (such as a smartphone, a tablet, etc.).

[0089] Fourth embodiment

[0090] This application also provides a computer-readable storage medium. Since the computer-readable storage medium embodiment is substantially similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment. The computer-readable storage medium embodiment described below is merely illustrative.

[0091] In this embodiment, a non-transitory computer-readable storage medium including instructions is provided, such as a memory 601 including instructions. The instructions can be executed by a processor 603 of an electronic device to implement the webpage content display method provided by the technical solution of the present disclosure. For example, the non-transitory computer-readable storage medium can be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0092] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).

[0093] Although the present application is disclosed as above with the preferred embodiments, it is not intended to limit the present application. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0094] In a typical configuration, a computing device includes one or more processors (CPU, Central Processing Unit), input / output interfaces, network interfaces, and memory.

[0095] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0096] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0097] 2. Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

Claims

1. A web page content display method, characterized in that: include: Providing a user interface for selecting the layout of a web page and the number of content segments, in which the user selects the layout of the web page and the number of content segments; Dividing the content to be displayed on the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; Generate a correspondence between paragraphs and regions, and based on the correspondence, display the corresponding paragraphs in the regions in different time periods and segments; the correspondence between paragraphs and regions means that the order of paragraphs is different from the order of regions; the time-sharing and segmented display of content means that at least one region displays the corresponding paragraph at the same time, rather than displaying all paragraphs at the same time; The step of displaying corresponding paragraphs in different time periods and segments based on the corresponding relationship includes: Based on the corresponding relationship, the region sequence information corresponding to the paragraph sequence is displayed on the user terminal, so that the user can perform operations on each region according to the region sequence information; in response to the operation behavior on the region, the corresponding paragraph content is displayed in the region; or According to the correspondence, the first paragraph is displayed in the corresponding area, and an operation option for viewing the next paragraph is provided in the corresponding area; if the operation option is selected, the next paragraph is displayed in the corresponding area according to the correspondence.

2. The method according to claim 1, characterized in that Generating the correspondence between paragraphs and regions includes: According to the number of paragraphs and the number of regions, the correspondence between paragraphs and regions is randomly generated.

3. The method according to claim 1, characterized in that The content to be displayed includes: document content excluding natural paragraphs; Divide the content to be displayed into multiple paragraphs, including: Obtaining positions of punctuation marks included in the content to be displayed; The document content is divided into multiple paragraphs according to the positions of the punctuation marks, and a paragraph length threshold and / or a paragraph number threshold.

4. The method according to claim 1, wherein The content to be displayed includes: examination content including multiple questions; Divide the content to be displayed into multiple paragraphs, including: The content of the same question in the test content is divided into a paragraph to obtain multiple paragraphs corresponding to the test content.

5. The method according to claim 1, characterized in that The number of the paragraphs is less than or equal to the number of regions into which the web page is divided.

6. A web page content display device, characterized in that: include: The segmentation unit is used to provide a user interface for selecting the layout of the web page and the number of content segments, and the user selects the layout of the web page and the number of content segments in the interface; Dividing the content to be displayed on the web page into multiple paragraphs, wherein the space of the web page is divided into multiple areas; A correspondence generation unit is configured to generate a correspondence between paragraphs and regions, so as to display the corresponding paragraphs in the regions in a time-sharing and segmented manner based on the correspondence; the correspondence between paragraphs and regions is such that the order of the paragraphs is different from the order of the regions; and the time-sharing and segmented display of content means that at least one region displays the corresponding paragraph at the same time, rather than displaying all paragraphs at the same time; The step of displaying corresponding paragraphs in different time periods and segments based on the corresponding relationship includes: Based on the corresponding relationship, the region sequence information corresponding to the paragraph sequence is displayed on the user terminal, so that the user can perform operations on each region according to the region sequence information; in response to the operation behavior on the region, the corresponding paragraph content is displayed in the region; or According to the correspondence, the first paragraph is displayed in the corresponding area, and an operation option for viewing the next paragraph is provided in the corresponding area; if the operation option is selected, the next paragraph is displayed in the corresponding area according to the correspondence.

7. An electronic device, characterized in that: include: processor and memory; A memory for storing a program for implementing the method according to any one of claims 1 to 5, wherein the device is powered on and runs the program for the method through the processor.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data encryption method and device, equipment and readable storage medium

    CN110881033A

  • Online document display method, device and equipment and medium

    CN111339557A