Data preview method and device, computer equipment and storage medium

By formatting the data and constructing multiple preview areas with different structures, the problem of low data display efficiency is solved and efficient data preview and release is achieved.

CN120045616APending Publication Date: 2025-05-27EVERYONE PENSION INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311597030.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Before releasing data, users need to adjust the data in the development tool or background management system, and view the display effect of the data through simulator or real machine tests. This process requires more resources, resulting in reduced display efficiency.

Method used

A data preview method is provided, by obtaining data to be previewed, detecting preview requests, formatting the data in response to preview requests, and determining multiple preview areas with different structures to display the data to improve efficiency.

Benefits of technology

By formatting the data and constructing multiple preview areas, the efficiency of data display is improved, resource consumption is reduced, and user data preview experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045616A_ABST
    Figure CN120045616A_ABST
Patent Text Reader

Abstract

The invention relates to a data preview method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring first to-be-previewed data; detecting whether a preview request for previewing the first to-be-previewed data exists or not; in response to the detected preview request, performing format setting on the first to-be-previewed data to obtain second to-be-previewed data, and determining a plurality of preview areas which have different structures; and displaying the second data to be previewed in the plurality of preview areas. By adopting the method, the data display efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a data preview method, apparatus, computer device, and storage medium. Background Art

[0002] Before publishing data, users use development tools or back-end management systems on the computer side to adjust the data to be published, and then view the display effect of the data to be published through simulator or real device testing. This process requires a lot of resources, resulting in reduced display efficiency. Summary of the Invention

[0003] Based on this, in view of the above technical problems, it is necessary to provide a data preview method, apparatus, computer device, and storage medium that can improve the display efficiency.

[0004] On the one hand, a data preview method is provided, and the method includes:

[0005] Obtain first data to be previewed;

[0006] Detect whether there is a preview request for previewing the first data to be previewed;

[0007] In response to detecting the preview request, perform format setting on the first data to be previewed to obtain second data to be previewed, and determine a plurality of preview areas, where the plurality of preview areas have different structures;

[0008] Display the second data to be previewed in the plurality of preview areas.

[0009] In one embodiment, after the step of displaying the second data to be previewed in the plurality of preview areas, the method further includes:

[0010] Detect whether there is a modification request for modifying the format of the second data to be previewed;

[0011] In response to having the modification request, modify the format of the second data to be previewed;

[0012] Display the second data to be previewed with the format modified in the plurality of preview areas.

[0013] In one embodiment, after the step of displaying the second data to be previewed in the plurality of preview areas, the method further includes:

[0014] Detect whether there is an adjustment request for adjusting the plurality of preview areas;

[0015] In response to detecting the adjustment request, adjust the plurality of preview areas;

[0016] Display the second data to be previewed in the adjusted preview area.

[0017] In one embodiment, the step of adjusting the multiple preview areas includes:

[0018] Display an adjustment interface for adjusting the multiple preview areas;

[0019] Obtain adjustment information input by the user, and adjust the multiple preview areas according to the adjustment information.

[0020] In one embodiment, after the step of displaying the second data to be previewed in the multiple preview areas, it further includes:

[0021] Detect whether there is a publishing request for publishing the second data to be previewed;

[0022] In response to detecting the publishing request, publish the second data to be previewed to a preset terminal.

[0023] In one embodiment, the step of determining multiple preview areas includes:

[0024] Display a selection interface for selecting preview areas;

[0025] Determine the multiple preview areas according to the selection operation of the user on the selection interface.

[0026] In one embodiment, the step of formatting the first data to be previewed to obtain the second data to be previewed includes:

[0027] Analyze the content of the first data to be previewed to obtain an analysis result;

[0028] Format the first data to be previewed according to the analysis result to obtain the second data to be previewed.

[0029] On the other hand, a data preview device is provided, and the device includes:

[0030] A preview data acquisition module, configured to acquire first data to be previewed;

[0031] A first detection module, configured to detect whether there is a preview request for previewing the first data to be previewed;

[0032] A formatting module, configured to, in response to detecting the preview request, format the first data to be previewed to obtain second data to be previewed, and determine multiple preview areas, where the multiple preview areas have different structures;

[0033] The first display module is used to display the second data to be previewed in the multiple preview areas.

[0034] In one embodiment, the device further includes:

[0035] The second detection module is used to detect whether there is a modification request to modify the format of the second data to be previewed;

[0036] The format modification module is used to modify the format of the second data to be previewed in response to the existence of the modification request;

[0037] The second display module is used to display the second data to be previewed with the modified format in the multiple preview areas.

[0038] In one embodiment, the device further includes:

[0039] The third detection module is used to detect whether there is an adjustment request to adjust the multiple preview areas;

[0040] The adjustment module is used to adjust the multiple preview areas in response to detecting the adjustment request;

[0041] The third display module is used to display the second data to be previewed in the adjusted preview areas.

[0042] In one embodiment, the adjustment module includes:

[0043] The adjustment display sub-module is used to display an adjustment interface for adjusting the multiple preview areas;

[0044] The adjustment sub-module is used to obtain the adjustment information input by the user and adjust the multiple preview areas according to the adjustment information.

[0045] In one embodiment, the device further includes:

[0046] The fourth detection module is used to detect whether there is a release request to release the second data to be previewed;

[0047] The release module is used to release the second data to be previewed to a preset terminal in response to detecting the release request.

[0048] In one embodiment, the format setting module includes:

[0049] The selection interface display sub-module is used to display a selection interface for selecting preview areas;

[0050] The preview area determination sub-module is used to determine the multiple preview areas according to the selection operation of the user on the selection interface.

[0051] In one embodiment, the formatting module includes:

[0052] An analysis sub-module for analyzing the content of the first data to be previewed to obtain an analysis result;

[0053] A formatting sub-module for formatting the first data to be previewed according to the analysis result to obtain the second data to be previewed.

[0054] On the other hand, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the above method are implemented.

[0055] On another hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0056] In the above data preview method, device, computer device, and storage medium, after receiving a preview request, the preview data is formatted, and then the data is previewed by setting multiple preview areas with different structures, improving the efficiency of data display. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is an application environment diagram of the data preview method provided by an embodiment of the present invention;

[0058] Figure 2 It is another application environment diagram of the data preview method provided by an embodiment of the present invention;

[0059] Figure 3 It is a flowchart of the data preview method provided by an embodiment of the present invention;

[0060] Figure 4 It is a scenario diagram of the data preview method provided by an embodiment of the present invention;

[0061] Figure 5 It is another scenario diagram of the data preview method provided by an embodiment of the present invention;

[0062] Figure 6 It is yet another scenario diagram of the data preview method provided by an embodiment of the present invention;

[0063] Figure 7 It is a structural block diagram of the data preview device provided by an embodiment of the present invention;

[0064] Figure 8 It is an internal structure diagram of the computer device provided by an embodiment of the present invention;

[0065] Figure 9Another internal structure diagram of the computer device provided by the embodiment of the present invention. Detailed implementation manners

[0066] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0067] The data preview method provided by the present application can be applied to, for example Figure 1 the application environment shown in the figure. Among them, terminals 102, 106, and 108 communicate with server 104 through a network. The user inputs data through the input interface of terminal 102, and then terminal 102 forwards the input data to server 104. After receiving the input data, server 104 extracts the first data to be previewed from it, and then detects whether there is a preview request for previewing the first data to be previewed. Then, in response to detecting the preview request, format the first data to be previewed to obtain the second data to be previewed, and determine multiple preview areas, where the multiple preview areas have different structures; finally, display the second data to be previewed in the multiple preview areas. Further, server 102 can also send the second data to be previewed after preview to terminals 106 and 108, and finally display the second data to be previewed through terminals 106 and 108. Among them, terminals 102, 106, and 108 can be but are not limited to various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0068] The data preview method provided by the present application can also be applied to, for example Figure 2 the application environment shown in the figure. Among them, terminal 202 communicates with terminals 204, 206, and 208 through a network. The user inputs data through the input interface of terminal 202. After terminal 202 obtains the input data, it extracts the first data to be previewed from it, and then detects whether there is a preview request for previewing the first data to be previewed. Then, in response to detecting the preview request, format the first data to be previewed to obtain the second data to be previewed, and determine multiple preview areas, where the multiple preview areas have different structures; finally, display the second data to be previewed in the multiple preview areas. Further, terminal 202 can also send the second data to be previewed after preview to terminals 204, 206, and 208, and finally display the second data to be previewed through terminals 204, 206, and 208. Among them, terminals 204, 206, and 208 can be but are not limited to various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices.

[0069] In one embodiment, as Figure 3 shown, a data preview method is provided. Taking the server in Figure 1 as an example for illustration, the method includes the following steps:

[0070] Step S101, obtain the first data to be previewed;

[0071] As Figure 4 shown, an input interface is displayed on the terminal. The user can input data such as the title, content, pictures, and display time of the article through the input interface, and then the terminal forwards the input data to the server. After the server obtains the input data, it extracts the first data to be previewed from it. Among them, the first data to be previewed can be an article, a video, a management header image, an advertisement, a column, etc. The data type of the first data to be previewed is not specifically limited herein. As Figure 4 shown, the article title, introduction, and body text can be extracted from the input data as the first data to be previewed.

[0072] Step S102, detect whether there is a preview request for previewing the first data to be previewed;

[0073] In one embodiment, a "Preview" button can be set in the input interface. When the user presses the "Preview" button, a preview request for previewing the first data to be previewed will be triggered. When the preview request is detected, go to step S103. When the preview request is not detected, the operation ends.

[0074] Step S103, in response to detecting the preview request, perform format setting on the first data to be previewed to obtain the second data to be previewed, and determine multiple preview areas, where there are different structures between the multiple preview areas;

[0075] In response to detecting the preview request, the content of the first data to be previewed can be analyzed first to obtain an analysis result. Then, according to the analysis result, format setting is performed on the first data to be previewed to obtain the second data to be previewed.

[0076] In one embodiment, it can be analyzed whether there are external pictures in the content of the first data to be previewed. In response to obtaining the analysis result that there are external pictures, format setting such as compressing, format converting, cropping, or scaling the external pictures can be performed to obtain the second data to be previewed, so as to ensure the correct display of the externally referenced pictures on the website and improve the page loading speed and adaptability.

[0077] In one embodiment, the data type of the first data to be previewed can be determined by analyzing the content of the first data to be previewed, and then formatting can be performed according to the data type. For example, when the first data to be previewed is an article, the formats of elements such as the title, paragraphs, and lists of the article are set in combination with various screen sizes, as well as the fonts and colors of the website, so as to obtain the second data to be previewed and ensure that the content has a responsive design.

[0078] In one embodiment, the artistic style of the first data to be previewed can also be determined by analyzing the content of the first data to be previewed, and then formatting can be performed according to the artistic style. For example, when the artistic style of the first data to be previewed is gloomy, the background color of the first data to be previewed can be set to a dark color to obtain the second data to be previewed.

[0079] Correspondingly, in response to detecting a preview request, multiple preview areas can also be determined, where there are different structures between the multiple preview areas, such as size, appearance, resolution, etc. As Figure 5 shown, three preview areas 1-3 are simultaneously displayed on the interface, and each preview area has a different size. Among them, the preview area is used to simulate a preset terminal, so the setting of the structure of the preview area can refer to the structure of the preset terminal, where the preset terminal is the terminal that finally displays the second data to be previewed.

[0080] The above multiple preview areas can be dynamically generated using HyperText Markup Language HTML5 technology. Compared with static pictures or videos, the authenticity and interactivity of the preview effect can be improved. And it can also adaptively adjust the layout, typesetting, and style of the second data to be previewed in combination with its own structure, improving the compatibility and adaptability of the preview effect compared with fixed templates or styles.

[0081] In one embodiment, the step of determining multiple preview areas includes: displaying a selection interface for selecting preview areas; determining multiple preview areas according to the selection operation of the user on the selection interface. As Figure 6 shown, a list of preview areas is provided in the selection interface, and the determination of the preview areas can be triggered by the user clicking on the list. This can facilitate the user to quickly switch to view the preview effect of the second data to be previewed on other terminals. In one embodiment, a function of customizing the structure of the preview area can also be set in the selection interface.

[0082] Step S104, display the second data to be previewed in multiple preview areas.

[0083] Since the structure of the preview area can be set by referring to the structure of the preset terminal, that is, the display effect of the second data to be previewed in different preset terminals can be simulated by displaying the second data to be previewed in different preview areas, improving the display efficiency. The user can view and evaluate the display effect of the second data to be previewed in different terminals in real time.

[0084] In one embodiment, after the step of displaying the second data to be previewed in multiple preview areas, the method further includes:

[0085] (B1) Detecting whether there is a modification request for modifying the format of the second data to be previewed;

[0086] (B2) In response to the existence of the modification request, modifying the format of the second data to be previewed;

[0087] (B3) Displaying the second data to be previewed with the modified format in multiple preview areas.

[0088] For example, a "format modification" request button is set on the interface. When the user presses this request button, the above-mentioned modification request is triggered. When the modification request is received, the format of the second data to be previewed is modified, including modifying the styles of elements such as fonts, paragraphs, lists, etc. Finally, the second data to be previewed with the modified format is displayed in multiple preview areas. In this way, any update of the second data to be previewed by the user will be immediately reflected in the preview areas, which is beneficial for the user to adjust the display effect of the data to be previewed in different preview areas in real time. This real-time update also ensures the coherence of the content, enabling the user to quickly make necessary modifications to meet the expected display effect.

[0089] In one embodiment, after the step of displaying the second data to be previewed in multiple preview areas, the method further includes:

[0090] (C1) Detecting whether there is an adjustment request for adjusting multiple preview areas;

[0091] (C2) In response to detecting the adjustment request, adjusting multiple preview areas;

[0092] (C3) Displaying the second data to be previewed in the adjusted preview areas.

[0093] For example, an adjustment button for "adjusting preview areas" can also be set on the interface. When the user presses this adjustment button, the above-mentioned adjustment request is triggered. When the adjustment request is received, the corresponding preview areas are adjusted. For example, adjusting the structure such as the size, appearance, resolution, etc. of the preview areas, as well as the number of preview areas. Then, the second data to be previewed is displayed in the adjusted preview areas.

[0094] In one embodiment, the step of adjusting multiple preview areas includes:

[0095] (D1) Displaying an adjustment interface for adjusting multiple preview areas;

[0096] (D2) Obtain the adjustment information input by the user, and adjust multiple preview areas according to the adjustment information.

[0097] For example, set an input box on the adjustment interface for inputting the height and width of the preview area. When the user inputs specific height and width, set the size of the preview area according to the height and width. An input box for inputting the mobile phone model can also be set. When the user inputs a specific mobile phone model, set the appearance of the preview area according to the specific mobile phone model.

[0098] In one embodiment, after the step of displaying the second data to be previewed in multiple preview areas, it further includes:

[0099] (E1) Detect whether there is a publishing request to publish the second data to be previewed;

[0100] (E2) In response to detecting the publishing request, publish the second data to be previewed to a preset terminal.

[0101] Wherein, the preset terminal can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers and portable wearable devices. For example, a "request to publish" button can be set on the interface. When the user presses this button, the above-mentioned publishing request is triggered. When the publishing request is detected, the second data to be previewed is published to the preset terminal, and the second data to be previewed is displayed through the preset terminal.

[0102] In the above data preview method, after obtaining the preview request, format the preview data, and then preview the data by setting multiple preview areas with different structures, which improves the efficiency of data display.

[0103] It should be understood that although Figure 3 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 3 at least a part of the steps in

[0104] In one embodiment, as Figure 7As shown, a data preview device 70 is provided, including: a preview data acquisition module 701, a first detection module 702, a format setting module 703, and a first display module 704, where: the preview data acquisition module 701 is used to acquire first data to be previewed; the first detection module 702 is used to detect whether there is a preview request for previewing the first data to be previewed; the format setting module 703 is used to, in response to detecting the preview request, perform format setting on the first data to be previewed to obtain second data to be previewed, and determine a plurality of preview areas, where different structures exist between the plurality of preview areas; the first display module 704 is used to display the second data to be previewed in the plurality of preview areas.

[0105] In one embodiment, the device 70 further includes: a second detection module, a format modification module, and a second display module. Among them, the second detection module is used to detect whether there is a modification request for modifying the format of the second data to be previewed; the format modification module is used to, in response to the existence of the modification request, modify the format of the second data to be previewed; the second display module is used to display the second data to be previewed with the modified format in the plurality of preview areas.

[0106] In one embodiment, the device 70 further includes: a third detection module, an adjustment module, and a third display module. Among them, the third detection module is used to detect whether there is an adjustment request for adjusting the plurality of preview areas; the adjustment module is used to, in response to detecting the adjustment request, adjust the plurality of preview areas; the third display module is used to display the second data to be previewed in the adjusted preview areas.

[0107] In one embodiment, the adjustment module includes: an adjustment display sub-module and an adjustment sub-module. Among them, the adjustment display sub-module is used to display an adjustment interface for adjusting the plurality of preview areas; the adjustment sub-module is used to obtain adjustment information input by the user, and adjust the plurality of preview areas according to the adjustment information.

[0108] In one embodiment, the device 70 further includes: a fourth detection module and a publishing module. Among them, the fourth detection module is used to detect whether there is a publishing request for publishing the second data to be previewed; the publishing module is used to, in response to detecting the publishing request, publish the second data to be previewed to a preset terminal.

[0109] In one embodiment, the format setting module 703 includes: a selection interface display sub-module and a preview area determination sub-module. Among them, the selection interface display sub-module is used to display a selection interface for selecting a preview area; the preview area determination sub-module is used to determine the plurality of preview areas according to the selection operation of the user on the selection interface.

[0110] In one embodiment, the formatting module 703 includes an analysis sub-module and a formatting sub-module. The analysis sub-module is configured to analyze the content of the first data to be previewed to obtain an analysis result. The formatting sub-module is configured to perform formatting on the first data to be previewed according to the analysis result to obtain the second data to be previewed.

[0111] For the specific limitations of the data preview device, reference may be made to the limitations on the data preview method described above, which will not be elaborated here. Each module in the above data preview device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or be independent of the processor, or be stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0112] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 8 shown. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store the data to be previewed. The network interface of the computer device is configured to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data preview method.

[0113] In one embodiment, a computer device is further provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 9 shown. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is configured to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data preview method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, a touchpad, or a mouse, etc.

[0114] Those skilled in the art can understand that Figure 8 and 9 The structures shown in are merely block diagrams of some structures related to the solution of this application, and do not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0115] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0116] Obtain first data to be previewed; detect whether there is a preview request for previewing the first data to be previewed; in response to detecting the preview request, perform format setting on the first data to be previewed to obtain second data to be previewed, and determine a plurality of preview regions, where there are different structures between the plurality of preview regions; display the second data to be previewed in the plurality of preview regions.

[0117] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0118] Detect whether there is a modification request for modifying the format of the second data to be previewed; in response to having the modification request, modify the format of the second data to be previewed; display the second data to be previewed with the format modified in the plurality of preview regions.

[0119] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0120] Detect whether there is an adjustment request for adjusting the plurality of preview regions; in response to detecting the adjustment request, adjust the plurality of preview regions; display the second data to be previewed in the adjusted preview regions.

[0121] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0122] Display an adjustment interface for adjusting the plurality of preview regions; obtain adjustment information input by the user, and adjust the plurality of preview regions according to the adjustment information.

[0123] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0124] Detect whether there is a release request for releasing the second data to be previewed; in response to detecting the release request, release the second data to be previewed to a preset terminal.

[0125] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0126] Present a selection interface for selecting a preview area; determine the multiple preview areas according to the selection operation of the user on the selection interface.

[0127] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0128] Analyze the content of the first data to be previewed to obtain an analysis result; format the first data to be previewed according to the analysis result to obtain the second data to be previewed.

[0129] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0130] Obtain the first data to be previewed; detect whether there is a preview request for previewing the first data to be previewed; in response to detecting the preview request, format the first data to be previewed to obtain the second data to be previewed, and determine multiple preview areas, where the multiple preview areas have different structures; display the second data to be previewed in the multiple preview areas.

[0131] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0132] Detect whether there is a modification request for modifying the format of the second data to be previewed; in response to having the modification request, modify the format of the second data to be previewed; display the second data to be previewed with the modified format in the multiple preview areas.

[0133] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0134] Detect whether there is an adjustment request for adjusting the multiple preview areas; in response to detecting the adjustment request, adjust the multiple preview areas; display the second data to be previewed in the adjusted preview areas.

[0135] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0136] Present an adjustment interface for adjusting the multiple preview areas; obtain the adjustment information input by the user, and adjust the multiple preview areas according to the adjustment information.

[0137] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0138] Detect whether there is a publishing request to publish the second data to be previewed; in response to detecting the publishing request, publish the second data to be previewed to a preset terminal.

[0139] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0140] Display a selection interface for selecting a preview area; determine the multiple preview areas according to the selection operation of the user on the selection interface.

[0141] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0142] Analyze the content of the first data to be previewed to obtain an analysis result; format the first data to be previewed according to the analysis result to obtain the second data to be previewed.

[0143] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0144] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0145] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A data preview method, characterized in that, it includes: Obtain the first data to be previewed; Detect whether there is a preview request for previewing the first data to be previewed; In response to detecting the preview request, format the first data to be previewed to obtain the second data to be previewed, and determine multiple preview areas, where there are different structures between the multiple preview areas; Display the second data to be previewed in the multiple preview areas.

2. The data preview method according to claim 1, characterized in that, after the step of displaying the second data to be previewed in the multiple preview areas, it further includes: Detect whether there is a modification request for modifying the format of the second data to be previewed; In response to having the modification request, modify the format of the second data to be previewed; Display the second data to be previewed with the modified format in the multiple preview areas.

3. The data preview method according to claim 1, characterized in that, after the step of displaying the second data to be previewed in the multiple preview areas, it further includes: Detect whether there is an adjustment request for adjusting the multiple preview areas; In response to detecting the adjustment request, adjust the multiple preview areas; Display the second data to be previewed in the adjusted preview areas.

4. The data preview method according to claim 3, characterized in that, the step of adjusting the multiple preview areas includes: Display an adjustment interface for adjusting the multiple preview areas; Obtain the adjustment information input by the user, and adjust the multiple preview areas according to the adjustment information.

5. The data preview method according to claim 1, characterized in that, after the step of displaying the second data to be previewed in the multiple preview areas, it further includes: Detect whether there is a release request for releasing the second data to be previewed; In response to detecting the release request, release the second data to be previewed to a preset terminal.

6. The data preview method according to claim 1, characterized in that, the step of determining multiple preview areas includes: Display a selection interface for selecting preview areas; Determine the multiple preview areas according to the selection operation of the user on the selection interface.

7. The data preview method according to claim 1, characterized in that, the step of formatting the first data to be previewed to obtain the second data to be previewed includes: Analyze the content of the first data to be previewed to obtain an analysis result; According to the analysis result, format the first data to be previewed to obtain the second data to be previewed.

8. A data preview device, characterized in that, the device includes: A preview data acquisition module for obtaining the first data to be previewed; A first detection module for detecting whether there is a preview request for previewing the first data to be previewed; A formatting module, configured to format the first data to be previewed in response to detecting the preview request to obtain second data to be previewed, and determine a plurality of preview regions, wherein different structures exist among the plurality of preview regions; A first display module, configured to display the second data to be previewed in the plurality of preview regions.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, when the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.