Electronic device, computer readable recording medium and log recording method

By introducing enable and zoom-out buttons into the electronic device, a floating window toolbar is generated, which solves the problem that users find it difficult to master the recording status during background work by logging tools, and achieves the effect of quickly controlling the recording situation and reducing operational concerns.

CN120234205APending Publication Date: 2025-07-01GETAC TECH CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311845299.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, when logging tools are in the background, it is difficult for users to quickly grasp the recording status and cannot perform related functions in a timely manner, resulting in operational concerns.

Method used

Use enable buttons and zoom-out buttons to narrow down the logging program to the background, and generate a floating window toolbar, including enable buttons and system exception obtain buttons, for exception labeling and displaying log segments of exception labeling.

Benefits of technology

Users can quickly control the recording situation in the background, reduce operational concerns, and directly click to stop or execute core functions through the floating window toolbar to improve the operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120234205A_ABST
    Figure CN120234205A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic device, a computer readable recording medium and a log recording method. The log recording method is stored in the computer readable recording medium and executed by the electronic device. The method comprises the following steps of: recording a log into a log document by enabling a button; reducing a program of the log recording method to a background through a reduction button and generating a floating window toolbar, wherein the floating window toolbar comprises an enabling button and at least one system exception acquisition button; judging whether the electronic device is abnormal or not; if yes, executing exception annotation through at least one system exception acquisition button; storing the exception label into a time sequence of the log document; judging whether the log document has an abnormal label or not; and if yes, displaying the log section corresponding to the abnormal annotation. Therefore, the program can be executed in the background, and the recording condition can be quickly mastered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for logging in an electronic device and a computer-readable recording medium. Background Art

[0002] In the software (program) application of a logging tool, it usually takes several hours or days to collect data during logging. And during the logging process, the user still needs to continuously perform computer operations. Therefore, when the logging tool is switched to a background task, it is difficult for the user to grasp the recording status and often ignores the fact that the logging is still in progress. Secondly, during a background task, relevant function operations such as a stop key, a marking key, etc. cannot be quickly executed. Therefore, how to log in the background, quickly control the recording situation, and reduce the user's operation doubts is an important issue to be solved in this technical field. Summary of the Invention

[0003] The present invention provides an electronic device, a computer-readable recording medium, and a logging method that can log in the background, quickly control the recording situation, and reduce the user's operation doubts.

[0004] The electronic device provided by the present invention for executing a logging program stored in a computer-readable recording medium includes: recording a log to a log file through an enabling button; minimizing the logging program to the background through a minimizing button and generating a floating window toolbar, where the floating window toolbar includes an enabling button and at least one system exception acquisition button; determining whether an exception occurs in the electronic device; when the determination is yes, performing an exception marking through at least one system exception acquisition button; storing the exception marking in the time series of the log file; determining whether there is an exception marking in the log file; and when the determination is yes, displaying the log section corresponding to the exception marking.

[0005] The computer-readable recording medium provided by the present invention includes a logging program. After the electronic device executes the logging program, it includes: recording a log to a log file through an enabling button; minimizing the logging program to the background through a minimizing button and generating a floating window toolbar, where the floating window toolbar includes an enabling button and at least one system exception acquisition button; determining whether an exception occurs in the electronic device; when the determination is yes, performing an exception marking through at least one system exception acquisition button; storing the exception marking in the time series of the log file; determining whether there is an exception marking in the log file; and when the determination is yes, displaying the log section corresponding to the exception marking.

[0006] The logging method provided by the present invention is applicable to an electronic device. The logging method is executed by the electronic device and includes: recording a log into a log document through an enabling button; minimizing the program of the logging method to the background through a minimizing button and generating a floating window toolbar, where the floating window toolbar includes an enabling button and at least one system exception acquisition button; determining whether the electronic device has an exception; when the determination is yes, performing exception annotation through at least one system exception acquisition button; storing the exception annotation into the time series of the log document; determining whether there is an exception annotation in the log document; and when the determination is yes, displaying the log section corresponding to the exception annotation.

[0007] In an embodiment of the present invention, the above at least one system exception acquisition button is an annotation button for performing exception annotation based on a situation determination, where the situation determination is a start error determination.

[0008] In an embodiment of the present invention, the above at least one system exception acquisition button is an annotation button for performing exception annotation based on a situation determination, where the situation determination is an interruption exception determination.

[0009] In an embodiment of the present invention, the above at least one system exception acquisition button is a screenshot button for performing exception annotation based on a situation determination, where the situation determination is a visual interface and system display exception determination.

[0010] In an embodiment of the present invention, the above electronic device has a touch display screen for displaying an enabling button and at least one system exception acquisition button.

[0011] Since the present invention uses a minimizing button to minimize the program of the logging method, the user can record the log in the background. Through the design of the floating window toolbar, the recording situation can be quickly mastered, and the stop and related core functions can be directly clicked; the recording status of the user is reminded at all times, reducing the user's operation doubts; and it can be flexibly moved and minimized to run in the background, making the operation experience better.

[0012] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the following specifically gives preferred embodiments and, in conjunction with the drawings, is described in detail as follows. Brief Description of the Drawings

[0013] Figure 1 It is a schematic diagram of the electronic device provided by the embodiment of the present invention;

[0014] Figure 2 It is a flowchart of the logging method provided by the embodiment of the present invention;

[0015] Figure 3 Schematic diagram of the first user interface provided by the embodiment of the present invention;

[0016] Figure 4 Schematic diagram of the second user interface provided by the embodiment of the present invention;

[0017] Figure 5 Schematic diagram of the third user interface provided by the embodiment of the present invention;

[0018] Figure 6 Schematic diagram of the log document provided by the embodiment of the present invention. Detailed implementation manners

[0019] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention 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 invention and are not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0020] Please refer to Figure 1 As shown, it is a schematic diagram of the electronic device provided by the embodiment of the present invention. The electronic device 1 provided in this embodiment includes a processing circuit 11 and a computer-readable recording medium 12 coupled to the processing circuit 11. The electronic device 1 can be a computer device such as a personal computer, a notebook computer, or a tablet computer, which has a touch display screen to display an enabling button and at least one system exception acquisition button. The computer-readable recording medium 12 is used to store the program of the log recording method, and the processing circuit 11 is used to execute the program of the log recording method. The log is used to record the events and error conditions that occur during the system execution of the electronic device 1.

[0021] Please refer to Figure 2 As shown, it is a flowchart of the log recording method provided by the embodiment of the present invention. The log recording method provided in this embodiment includes the following steps. Step S1: Record the log into the log document through the enabling button. Specifically, please refer to Figure 3 As shown, it is a schematic diagram of the first user interface provided by the embodiment of the present invention. The user can click the enabling button (Start) 31 on the touch display screen of the electronic device 1 to perform log recording.

[0022] Step S3: Shrink the program of the log recording method to the background through the shrink button and generate a floating window toolbar, where the floating window toolbar includes an enabling button and at least one system exception acquisition button. Specifically, Figure 4Schematic diagram of the second user interface provided by the embodiment of the present invention. A user can click on the zoom-out button 32 on the touch display screen of the electronic device 1 to send the program of the logging method to the background and generate a floating window toolbar 3, and the floating window toolbar 3 includes an enabling button 31 and at least one system exception acquisition button 33. It should be noted that the order of steps S1 and S3 can be swapped. The user can click on the enabling button (Start) 31 in the floating window toolbar 3 to start logging.

[0023] Step S5: Determine whether the electronic device has an exception. Step S7: When the determination is yes, perform exception marking through at least one system exception acquisition button. Step S9: Store the exception marking in the time series of the log document. Specifically, please refer to Figure 5 As shown, it is a schematic diagram of the third user interface provided by the embodiment of the present invention. When the user determines that an exception event and an error condition occur during the system execution of the electronic device 1, the user can click on at least one system exception acquisition button 33 in the floating window toolbar 3 to perform exception marking on the exception event and the error condition. The touch display screen of the electronic device 1 displays the time stamp 34 of the current exception event and error condition, and at the same time stores this exception marking in the time series of the log document. It should be noted that the system exception acquisition button 33 can be a marking button (Mark) for performing exception marking based on context determination, where the context determination is start error determination or interruption exception determination. For example, start error determination can be that an error, pause, or inactivity occurs when a certain program starts to execute, and interruption exception determination can be that an error, pause, or inactivity occurs when a certain program pauses execution; and the system exception acquisition button 33 can be a screenshot button (Screenshot) for performing the exception marking based on context determination, where the context determination is visual interface and system display exception determination. For example, visual interface and system display exception determination can be that the display screen of a certain program fails, pauses, or is inactive.

[0024] Step S11: Determine whether there is an exception marking in the log document. Specifically, after the user clicks on the enabling button (Stop) 31, the electronic device 1 stops logging and determines whether there is an exception marking in the log document.

[0025] Step S13: When the determination is yes, display the log section corresponding to the exception marking. Specifically, please refer to Figure 6 As shown, it is a schematic diagram of the log document provided by the embodiment of the present invention. When it is determined that there is an exception marking in the log document, the electronic device 1 displays the log section corresponding to the exception marking on the touch display screen for the user to troubleshoot the exception event and the error condition, so as to shorten the time for the user to eliminate the exception event and the error condition.

[0026] In addition, it should be noted that the floating window toolbar 3 of the logging method provided in this embodiment can be moved arbitrarily on the touch display screen. That is to say, the user can click and hold this floating window toolbar 3 to slide it arbitrarily to any position on the touch display screen, or can place the electronic device 1 horizontally or vertically so that this floating window toolbar 3 appears correspondingly at the corresponding position on the touch display screen. For example, if the electronic device 1 was originally horizontal and the floating window toolbar 3 was at the upper left corner position of the touch display screen, the user can place the electronic device 1 vertically. At this time, the floating window toolbar 3 will correspondingly be at the upper left corner position of the touch display screen, and the similar situation of the floating window toolbar 3 at other positions on the touch display screen can be analogized and will not be elaborated here.

[0027] In summary, since the present invention uses a shrink button to shrink the program of the logging method, users can record logs in the background. Through the design of the floating window toolbar, the recording situation can be quickly controlled, and the stop and related core functions can be directly clicked; the recording status of the user can be reminded at all times, reducing the user's operation doubts; and it can be moved flexibly and shrunk to run in the background, making the operation experience better.

[0028] The above are only the preferred embodiments of the present invention and do not impose any form of limitation on the present invention. Although the present invention has been disclosed above with the preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications to the above-disclosed methods and technical contents within the scope of the technical solution of the present invention to form equivalent embodiments of equivalent changes. However, as long as it does not depart from the content of the technical solution of the present invention, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A computer-readable recording medium, characterized in that, It includes a log recording program, and after the log recording program is executed by an electronic device, it includes: Recording a log into a log document through an enabling button; Shrinking the log recording program to the background through a shrinking button and generating a floating window toolbar, where the floating window toolbar includes the enabling button and at least one system exception acquisition button; Determining whether an exception occurs in the electronic device; When the determination is yes, performing an exception annotation through the at least one system exception acquisition button; Storing the exception annotation into a time series of the log document; Determining whether the exception annotation exists in the log document; and When the determination is yes, displaying a log section corresponding to the exception annotation.

2. The computer-readable recording medium according to claim 1, wherein The at least one system exception acquisition button is an annotation button for performing the exception annotation based on a situation determination, where the situation determination is a startup error determination.

3. The computer-readable recording medium according to claim 1, characterized in that, The at least one system exception acquisition button is an annotation button for performing the exception annotation based on a situation determination, where the situation determination is an interrupt exception determination.

4. The computer-readable recording medium according to claim 1, wherein The at least one system exception acquisition button is a screenshot button for performing the exception annotation based on a situation determination, where the situation determination is a visual interface and system display exception determination.

5. The computer-readable recording medium according to claim 1, wherein The electronic device has a touch display screen for displaying the enabling button and the at least one system exception acquisition button.

6. An electronic device, characterized in that, The method for executing a log recording program stored in a computer-readable recording medium includes: Recording a log into a log document through an enabling button; Shrinking the log recording program to the background through a shrinking button and generating a floating window toolbar, where the floating window toolbar includes the enabling button and at least one system exception acquisition button; Determining whether an exception occurs in the electronic device; When the determination is yes, performing an exception annotation through the at least one system exception acquisition button; Storing the exception annotation into a time series of the log document; Determining whether the exception annotation exists in the log document; and When the determination is yes, displaying a log section corresponding to the exception annotation.

7. The electronic device according to claim 6, characterized in that, The at least one system exception acquisition button is an annotation button for performing the exception annotation based on a situation determination, where the situation determination is a startup error determination.

8. The electronic device according to claim 6, characterized in that, The at least one system exception acquisition button is an annotation button for performing the exception annotation based on a situation determination, where the situation determination is an interrupt exception determination.

9. The electronic device according to claim 6, wherein the at least one system exception acquisition button is a screenshot button for performing the exception annotation based on a situation determination, where the situation determination is a visual interface and system display exception determination.

10. The electronic device according to claim 6, characterized in that, The electronic device has a touch display screen for displaying the enabling button and the at least one system exception acquisition button.

11. A logging method, characterized in that, Applicable to an electronic device, the log recording method is executed by the electronic device to include: Recording a log into a log document through an enabling button; Shrinking the program of the log recording method to the background through a shrinking button and generating a floating window toolbar, where the floating window toolbar includes the enabling button and at least one system exception acquisition button; Determining whether an exception occurs in the electronic device; When it is determined to be yes, an exception annotation is executed through the at least one system exception acquisition button; The exception annotation is stored in a time series of the log document; It is determined whether the exception annotation exists in the log document; and When it is determined to be yes, a log section corresponding to the exception annotation is displayed.

12. The logging method according to claim 11, wherein The at least one system exception acquisition button is a marking button for executing the exception annotation based on a situation determination, where the situation determination is an initial error determination.

13. The logging method according to claim 11, characterized in that The at least one system exception acquisition button is a marking button for executing the exception annotation based on a situation determination, where the situation determination is an interruption exception determination.

14. The logging method according to claim 11, wherein The at least one system exception acquisition button is a screen capture button for executing the exception annotation based on a situation determination, where the situation determination is a visual interface and system display exception determination.

15. The logging method according to claim 11, wherein The electronic device has a touch display screen to display the enabling button and the at least one system exception acquisition button.

Citation Information

Cited By

  • Electronic apparatus, non-transitory computer-readable record medium, and logging method

    EP4579465A1