Method and device for viewing long text log through interaction

CN115826820BActive Publication Date: 2026-10-27HUAQING RONGTIAN (BEIJING) SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211386154.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-07
Publication Date
2026-10-27
Estimated Expiration
2042-11-07

AI Technical Summary

Technical Problem

[0007]本发明的目的在于提供一种通过交互查看长文本日志的方法及装置,以缓解了现有技术中存在的通过交互查看长文本日志的不合理造成的工作效率低的技术问题

Benefits of technology

[0026]本发明提供的本发明提供一种通过交互查看长文本日志的方法及装置。通过对表格内长文本数据的左右平移,对两个数据进行上下细节对比分析,寻找细节差异;不需要用户通过记忆数据内容与数据中细节的具体位置来进行数据的细节对比,降低用户使用的门槛,减轻用户记忆负担;对比的方式简洁明确,极大的提高了工作效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115826820B_ABST
    Figure CN115826820B_ABST
Patent Text Reader

Abstract

The application provides a method and device for viewing long text logs through interaction. It is related to the technical field of computers. The left and right translation of long text data in a table is used to compare and analyze the details of two data from top to bottom to find the differences in details. The user does not need to remember the data content and the specific position of the details in the data to compare the details of the data, which reduces the threshold for the user to use and relieves the user's memory burden. The comparison method is simple and clear, which greatly improves the work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method and apparatus for interactively viewing long text logs. Background Technology

[0002] Existing data tables typically display long text content in the following ways.

[0003] like Figure 1 As shown, long text content can be displayed by using line breaks within the table.

[0004] like Figure 2 As shown, longer data formats can be displayed by interactively expanding and collapsing them.

[0005] like Figure 3 As shown, hover display can be omitted.

[0006] The content of long text data within the table is not readily apparent and is not intuitive enough. Summary of the Invention

[0007] The purpose of this invention is to provide a method and apparatus for interactively viewing long text logs, so as to alleviate the technical problem of low work efficiency caused by the unreasonableness of interactively viewing long text logs in the prior art.

[0008] In a first aspect, the present invention provides a method for interactively viewing long text logs. The method includes: displaying multiple first logs to be viewed in a first user interface, wherein the multiple first logs to be viewed include at least one first long text log; a display area corresponding to each first log to be viewed in the first user interface; the display area corresponding to the first long text log being used to display a portion of the content of the first long text log in a single line; and a horizontal scrolling control in response to a trigger operation on the horizontal scrolling control; and in the horizontal scrolling control mode, responding to a horizontal scrolling operation on a target long text log in the first user interface, controlling the content of the target long text log to follow the horizontal scrolling operation and move and display within the target display area corresponding to the target long text log.

[0009] In some possible implementations, the method further includes: displaying at least one second log to be viewed on a second user interface, wherein the at least one second log to be viewed includes at least one second long text log, and there is a display area in the second user interface corresponding to each second log to be viewed, wherein the display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines.

[0010] In some possible implementations, the method further includes: identifying at least one second log to be viewed; and in response to an overview view operation for at least one second log to be viewed, displaying at least one second log to be viewed on the second user interface.

[0011] In some possible implementations, the method further includes: identifying multiple first log entries to be viewed; responding to a comparison and viewing operation for the multiple first log entries to be viewed, and displaying the multiple first log entries to be viewed on the first user interface.

[0012] In some possible implementations, the method further includes: responding to a switching operation on the first user interface for at least one target log to be viewed; and displaying at least one of the target logs to be viewed on the second user interface.

[0013] In some possible implementations, the lateral movement operation includes one or more of the following: left and right lateral movement triggered by a keyboard button, left and right lateral movement triggered by clicking a virtual button with the mouse, left and right lateral movement triggered by dragging the mouse, left and right lateral movement triggered by scrolling the mouse, and left and right lateral movement triggered by swiping the gesture.

[0014] In some possible implementations, a horizontal control is displayed in the first user interface corresponding to each of the first long text log entries.

[0015] Secondly, an apparatus for interactively viewing long text logs is provided. It includes: a first display module for displaying multiple first logs to be viewed in a first user interface, wherein the multiple first logs to be viewed include at least one first long text log; a display area corresponding to each first log to be viewed in the first user interface; the display area corresponding to the first long text log is used to display a portion of the content of the first long text log in a single line; and a horizontal scrolling control in the first user interface; an activation module for activating a horizontal scrolling control mode in response to a trigger operation on the horizontal scrolling control; and a control module for controlling the content of the target long text log to move and be displayed within the target display area corresponding to the target long text log in response to a horizontal scrolling operation in the first user interface during the horizontal scrolling control mode.

[0016] In some possible implementations, a second display module is also included, which is used to display at least one second log to be viewed in the second user interface. The at least one second log to be viewed includes at least one second long text log. In the second user interface, there is a display area corresponding to each second log to be viewed. The display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines.

[0017] In some possible implementations, the system further includes: a determination module for determining at least one of the second log entries to be viewed; and a second display module for displaying at least one of the second log entries to be viewed on the second user interface in response to an overview viewing operation for at least one of the second log entries to be viewed.

[0018] In some possible implementations, the system may also include: a determination module for determining multiple first log entries to be viewed; and a third display module for responding to a comparison and viewing operation on the multiple first log entries to be viewed and displaying the multiple first log entries to be viewed on the first user interface.

[0019] In some possible implementations, the third display module is further configured to display at least one target log to be viewed on the second user interface in response to a switching operation on the first user interface for at least one target log to be viewed.

[0020] In some possible implementations, the lateral movement operation includes one or more of the following: left and right lateral movement triggered by a keyboard button, left and right lateral movement triggered by clicking a virtual button with the mouse, left and right lateral movement triggered by dragging the mouse, left and right lateral movement triggered by scrolling the mouse, and left and right lateral movement triggered by swiping the gesture.

[0021] In some possible implementations, a horizontal control is displayed in the first user interface corresponding to each of the first long text log entries.

[0022] Thirdly, the present invention provides an electronic device, the electronic device including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;

[0023] Memory, used to store computer programs;

[0024] When a processor executes a program stored in memory, it implements the steps of the method described in any of the foregoing embodiments.

[0025] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the methods described in the foregoing embodiments.

[0026] This invention provides a method and apparatus for interactively viewing long text logs. By shifting long text data horizontally within a table, detailed comparison and analysis of two data points can be performed to identify subtle differences. Users are no longer required to memorize the specific locations of details within the data for detailed comparison, thus lowering the barrier to entry and reducing the burden on memory. The comparison method is simple and clear, greatly improving work efficiency. Attached Figure Description

[0027] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0028] Figure 1 A schematic diagram of an interface for viewing a long text log provided for the implementation of this application;

[0029] Figure 2 A schematic diagram of an interface for another method of viewing long text logs provided for the implementation of this application;

[0030] Figure 3 A schematic diagram of an interface for another method of viewing long text logs provided for the implementation of this application;

[0031] Figure 4 A flowchart illustrating a method for interactively viewing long text logs provided for the implementation of this application;

[0032] Figure 5 A schematic diagram of an interface for interactively viewing long text logs provided for the implementation of this application;

[0033] Figure 6 A schematic diagram of a device structure for interactively viewing long text logs, provided for the implementation of this application;

[0034] Figure 7 A schematic diagram of an electronic device structure provided for the implementation of this application. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0036] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0037] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0038] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0039] Figure 4 This is a flowchart illustrating a method for interactively viewing long text logs, provided for the implementation of this application. Figure 4 As shown, the method may include the following steps:

[0040] S410, multiple first logs to be viewed are displayed in the first user interface. The multiple first logs to be viewed include at least one first long text log. There is a display area corresponding to each first log to be viewed in the first user interface. The display area corresponding to the first long text log is used to display a part of the content of the first long text log in a single line. The first user interface also includes a horizontal control.

[0041] Among them, long text content: with a fixed font (which can be achieved using a monospace font), a text display area that can display the entire text is considered short text, and a text display area that can only display a portion of the text is considered long text. In other words, any text that cannot be fully displayed in a single line within the limited space provided by the interface is considered long text.

[0042] Monospaced fonts: These are computer fonts where all characters have the same width.

[0043] Font characteristics: In traditional Western printing, proportional fonts can improve word readability. However, due to technological limitations in early computer monitors and typewriters, it was impossible to adjust the proportional width of letters. Therefore, each character was made with the same width, resulting in monospaced fonts. In monospaced fonts, the letters i and j appear to have more blank space on both sides, while the strokes of letters w and m appear quite crowded.

[0044] However, with the mainstream updates of graphical user interfaces and the improvement of computer technology, the limitations of handling proportional fonts have been overcome, and therefore the use of proportional fonts that appear more natural in layout has become quite widespread.

[0045] However, some Chinese and Japanese fonts also contain proportional fonts because they also include Western semi-radical characters, resulting in a situation where two types are mixed in one font.

[0046] For example, in the Windows Simplified Chinese operating system, the default font in older versions, Songti, is a monospaced font (so using Songti for Western text typesetting looks very unnatural), while in Windows Vista, the default font, Microsoft YaHei, the half-width Western text is a proportional font, and the full-width characters are a monospaced font.

[0047] Due to the characteristics of monospaced fonts, there are styles in contemporary graphic design that intentionally utilize the cultural features associated with monospaced fonts, the most representative of which is ASCII art. ASCII art uses monospaced characters; if proportional fonts were used instead, the images would often be distorted and fail to convey the creator's intended meaning. Monospaced fonts are also commonly used in web design and HTML tags. LaTeX also uses monospaced fonts.

[0048] In addition, monospace fonts are frequently used in program code, web page source code, command-line interfaces, and other similar contexts.

[0049] The first log to be viewed can be a log to be processed. During the processing, it is necessary to compare the details of the two logs. These details can include letters, punctuation marks, spaces, etc. at a certain position in the log. At the same time, there should be relevant operation or time, tags, and other information before and after the table. Since it cannot be displayed flatly in the limited space of the interface, this method is best to use a top-bottom comparison.

[0050] The first user interface may include multiple display areas, each display area for displaying one log entry to be viewed in a single line with a uniform font width. These multiple display areas are of equal size and shape, and are evenly arranged vertically within the first user interface so that the log entries displayed in the display areas are evenly arranged vertically within the first user interface.

[0051] In practical applications, the sorting of the log content to be viewed in the first user interface can also be adjusted, for example, by moving up or down a line or by dragging.

[0052] As an example, a horizontal control could be displayed in the first user interface corresponding to each first long text log entry. This horizontal control is normally hidden and is displayed when the mouse or touch point moves to the corresponding response area. As another example, a horizontal control could be displayed at a fixed position in the first user interface.

[0053] In this embodiment of the application, since the complete long text log cannot be displayed in the display area, in the initial state, the first part of the characters can be displayed in the order of the characters, and the remaining characters are hidden. Of course, the target character corresponding to the keyword and other characters adjacent to the target character can also be displayed. The keyword can be determined based on experience or user operation, for example, based on the content to be searched entered by the user in the search box.

[0054] S420 responds to a trigger operation on the pan control and enables pan control mode;

[0055] S430, in the horizontal control mode, responds to the horizontal movement operation of the target long text log in the first user interface, controls the content of the target long text log to follow the horizontal movement operation, and moves and displays it within the target display area corresponding to the target long text log.

[0056] When performing horizontal scrolling control, multiple display areas can be locked, and the logs displayed in multiple display areas can be scrolled synchronously. Alternatively, synchronous horizontal scrolling can be performed only on long text logs. It is also possible to scroll only on a specific target long text log.

[0057] In some embodiments, this application may also provide a mode that displays all long text logs. Based on this, the method may further include:

[0058] At least one second log to be viewed can be displayed on the second user interface. The at least one second log to be viewed includes at least one second long text log. There is a display area corresponding to each second log to be viewed in the second user interface. The display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines.

[0059] In some embodiments, when viewing logs, a viewing method can be selected (selecting different modes for displaying long text logs). For example, at least one second log to be viewed can be identified; in response to an overview view operation for the at least one second log to be viewed, the at least one second log to be viewed is displayed on a second user interface. As another example, multiple first logs to be viewed can also be identified; in response to a comparison view operation for the multiple first logs to be viewed, the multiple first logs to be viewed are displayed on a first user interface.

[0060] In some embodiments, the viewing method can also be switched during the viewing process. Based on this, in response to a switching operation on the first user interface for at least one target log to be viewed, at least one target log to be viewed can be displayed on the second user interface. Alternatively, in response to a switching operation on the second user interface for at least two target logs to be viewed, at least two target logs to be viewed can be displayed on the first user interface.

[0061] In some embodiments, the horizontal movement operation includes one or more of the following: horizontal movement triggered by a keyboard button, horizontal movement triggered by clicking a virtual button with the mouse, horizontal movement triggered by dragging the mouse, horizontal movement triggered by scrolling the mouse, and horizontal movement triggered by swiping left or right with a gesture.

[0062] This application provides a method for viewing long text content within a table using left and right horizontal scrolling operations via mouse, keyboard, or gestures. This improves work efficiency and reduces operating costs and the barrier to entry. It also enhances the efficiency of comparing long text data within a table.

[0063] As an example, embodiments of this application may include the following steps:

[0064] Step 1), render long text content within the table using a monospace font;

[0065] Step 2), long text content within the table can be moved left and right using the mouse, keyboard, gestures, etc.

[0066] This application has two modes: multi-line mode and single-line mode;

[0067] Used in multiline mode to overview content;

[0068] In single-line mode, use the above and below comparison content; step 2) above can be implemented in single-line mode.

[0069] In single-line mode, you can use the left and right arrow keys on the keyboard, such as... Figure 5 As shown, you can use the mouse to hold down the left and right movement buttons, or use gestures to slide left and right to move the content of the long text column of the entire table, and hide the part that exceeds the column width.

[0070] The embodiments of this application can be applied to big data analysis systems and have significant improvements, specifically in the following aspects:

[0071] 1) By shifting the long text data in the table left and right, perform a detailed comparative analysis of the two data points to find subtle differences;

[0072] 2) Users do not need to memorize the specific locations of data details to compare data details, which lowers the barrier to entry for users and reduces their memory burden;

[0073] 3) The comparison method is concise and clear, which greatly improves work efficiency.

[0074] like Figure 6 As shown in the diagram, this application provides a schematic diagram of a device structure for interactively viewing long text logs. Figure 6 As shown, the device includes:

[0075] The first display module 601 is used to display multiple first logs to be viewed in the first user interface. The multiple first logs to be viewed include at least one first long text log. There is a display area corresponding to each first log to be viewed in the first user interface. The display area corresponding to the first long text log is used to display a part of the content of the first long text log in a single line. The first user interface also includes a horizontal control.

[0076] Enable module 602 to respond to trigger operations on the horizontal control and enable the horizontal control mode;

[0077] The control module 603 is used to respond to a horizontal movement operation on a target long text log in the first user interface in the horizontal movement control mode, and control the content of the target long text log to follow the horizontal movement operation and move and display within the target display area corresponding to the target long text log.

[0078] In some embodiments, it also includes:

[0079] The second display module is used to display at least one second log to be viewed in the second user interface. The at least one second log to be viewed includes at least one second long text log. In the second user interface, there is a display area corresponding to each second log to be viewed. The display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines.

[0080] In some embodiments, it also includes:

[0081] The determination module is used to identify at least one second log entry to be viewed.

[0082] The second display module is also used to display at least one second log to be viewed in the second user interface in response to an overview view operation for at least one second log to be viewed.

[0083] In some embodiments, it also includes:

[0084] The determination module is used to identify multiple log entries as the first ones to be viewed.

[0085] The third display module is used to respond to comparison and viewing operations for multiple first log entries to be viewed, and to display multiple first log entries to be viewed on the first user interface.

[0086] In some embodiments, the third display module is further configured to display at least one target log to be viewed on a second user interface in response to a switching operation on a first user interface for at least one target log to be viewed.

[0087] In some embodiments, the horizontal movement operation includes one or more of the following: horizontal movement triggered by a keyboard button, horizontal movement triggered by clicking a virtual button with the mouse, horizontal movement triggered by dragging the mouse, horizontal movement triggered by scrolling the mouse, and horizontal movement triggered by swiping left or right with a gesture.

[0088] In some embodiments, a horizontal control is displayed in the first user interface corresponding to each first long text log entry.

[0089] This application also provides an electronic device, such as... Figure 7 As shown, it includes a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840.

[0090] Memory 830 is used to store computer programs;

[0091] When the processor 810 executes the program stored in the memory 830, it performs the following steps:

[0092] Pre-create transition tasks corresponding to delayed tasks;

[0093] Determine the first safety orchestration script corresponding to the target pending event, the first safety orchestration script includes the target delayed task;

[0094] When the target delay task in the first safety orchestration script is executed, the target transition task corresponding to the target delay task is executed so as to generate the second safety orchestration script based on the target delay task. The second safety orchestration script has a corresponding countdown time.

[0095] When the countdown ends, execute the second safety choreography.

[0096] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0097] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0098] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0099] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0100] The implementation methods and beneficial effects of the various components of the electronic device in the above embodiments for solving the problem can be found in [reference needed]. Figure 2 The steps in the illustrated embodiments are used to implement the electronic device. Therefore, the specific working process and beneficial effects of the electronic device provided in this application will not be repeated here.

[0101] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform any of the methods described in the above embodiments for interactively viewing long text logs.

[0102] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the methods described in the above embodiments for interactively viewing long text logs.

[0103] Those skilled in the art will understand that the embodiments in this application can be provided as methods, systems, or computer program products. Therefore, the embodiments in this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, the embodiments in this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0104] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0105] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0106] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0107] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of this application.

[0108] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims in this application and their equivalents, then this application also intends to include these modifications and variations.

Claims

1. A method for interactively viewing long text logs, characterized in that, include: Multiple first logs to be viewed are displayed in a first user interface. These multiple first logs include at least one first long text log. Each first log has a corresponding display area in the first user interface. The display area corresponding to the first long text log is used to display a portion of the content of the first long text log in a single line. The first user interface also includes a horizontal scrolling control. The display of multiple first logs to be viewed in the first user interface includes: each display area in the first user interface is used to display one first log in a single line using a fixed-width font. In response to a trigger operation on the pan control, pan control mode is enabled; In the horizontal control mode, in response to a horizontal operation on a target long text log in the first user interface, the content of the target long text log is controlled to follow the horizontal operation and move and be displayed in the target display area corresponding to the target long text log, including: locking multiple display areas and synchronously controlling the content of multiple first logs to be viewed to follow the horizontal operation and move synchronously. At least one second log to be viewed is displayed on the second user interface. The at least one second log to be viewed includes at least one second long text log. In the second user interface, there is a display area corresponding to each second log to be viewed. The display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines. In addition, in response to a switching operation on the first user interface for at least one target log to be viewed, at least one of the target logs to be viewed is displayed on the second user interface.

2. The method according to claim 1, characterized in that, Also includes: Identify at least one of the second log entries to be viewed; In response to an overview view operation for at least one of the second log entries to be viewed, at least one of the second log entries to be viewed is displayed on the second user interface.

3. The method according to claim 1, characterized in that, Also includes: Identify multiple of the first log entries to be viewed; In response to a comparison and viewing operation of multiple first log entries to be viewed, multiple first log entries to be viewed are displayed on the first user interface.

4. The method according to claim 1, characterized in that, The horizontal movement operation includes one or more of the following: horizontal movement triggered by a keyboard button, horizontal movement triggered by clicking a virtual button with the mouse, horizontal movement triggered by dragging the mouse, horizontal movement triggered by scrolling the mouse, and horizontal movement triggered by swiping left or right with a gesture.

5. The method according to claim 1, characterized in that, In the first user interface, a horizontal scrolling control is displayed corresponding to each of the first long text log entries.

6. A device for interactively viewing long text logs, characterized in that, include: A first display module is configured to display multiple first logs to be viewed in a first user interface. These multiple first logs include at least one first long text log. Each first log has a corresponding display area in the first user interface. The display area corresponding to the first long text log is used to display a portion of the content of the first long text log in a single line. The first user interface also includes a horizontal scrolling control. When the first display module displays multiple first logs to be viewed in the first user interface, each display area in the first user interface is used to display one first log in a single line using a fixed-width font. The module is activated in response to a trigger operation on the horizontal control to activate the horizontal control mode. The control module is configured to respond to a horizontal movement operation on a target long text log in the first user interface in the horizontal movement control mode, and control the content of the target long text log to follow the horizontal movement operation and move and display within the target display area corresponding to the target long text log, including: locking multiple display areas and synchronously controlling the content of multiple first logs to be viewed to move synchronously with the horizontal movement operation; The second display module is used to display at least one second log to be viewed in the second user interface. The at least one second log to be viewed includes at least one second long text log. In the second user interface, there is a display area corresponding to each second log to be viewed. The display area corresponding to the second long text log is used to display the entire content of the long text log in multiple lines. And a third display module, configured to display at least one target log to be viewed on the second user interface in response to a switching operation on the first user interface for at least one target log to be viewed.

7. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method for displaying long texts

    CN104731445A

  • Scrollable and re-sizeable formula bar

    CN1841361A

  • System and method for viewing information underlying lists and other contexts

    US20050144560A1

  • Synchronous scrolling of time stamped log files

    US6421071B1