A log analysis platform overview adjustment method, device and electronic equipment
By receiving click and drag commands in the log analysis platform, the overview item groups can be directly adjusted, solving the problem of cumbersome grouping operations in existing technologies. This enables efficient adjustment of overview items and creation of new groups, improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 北京自如信息科技有限公司
- Filing Date
- 2022-09-21
- Publication Date
- 2026-06-19
AI Technical Summary
The grouping and adjustment of overview items in existing log analysis platforms is cumbersome, requiring multiple clicks and repetitive operations, and is prone to errors, resulting in low efficiency.
By receiving click and drag commands, overview items can be set to a movable state and dragged directly to the target group. Combined with unique identifiers and location information, it enables quick group adjustments and supports multi-selection and new group creation functions.
It improves the efficiency of grouping overview items, avoids multiple clicks, supports quick adjustment and creation of groups, and ensures that frequently used items are placed at the top for easy viewing.
Smart Images

Figure CN115509414B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer systems, and more specifically to an overview adjustment method, apparatus, and electronic device for a log analysis platform. Background Technology
[0002] As internet companies grow larger, many develop their own log monitoring systems, which in turn include user log analysis platforms. These platforms allow for event analysis of user behavior, such as analyzing clicks, registrations, and sales. Figure 1 As shown, each event analysis result is displayed on a separate page, with formats including bar charts, pie charts, line charts, tables, etc. To facilitate quick re-performing of the same analysis, many companies' data analysis systems offer the ability to save the current analysis results as an event analysis overview. With this overview, clicking on a specific overview item in the list will allow you to view the corresponding analysis results next time.
[0003] As the number of overview items increases, a user's event analysis overview may contain hundreds of items, requiring them to scroll up and down the list to find the one they want to view. Therefore, as... Figure 1 As shown, log analysis platforms typically group overviews to improve the speed at which users can view them. However, if a user wants to adjust the grouping of a particular overview entry, multiple steps are required, such as... Figure 2 As shown, the user first moves the mouse over an overview item, automatically displaying a hidden menu. Then, the user clicks the "Move To" option in the hidden menu, which reveals a list of groups. The user then clicks on a group in the list to move the current overview item to that group. This process is time-consuming and laborious, and if an incorrect item is moved, more repetitive operations are required, wasting time. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide an overview adjustment method, apparatus, and electronic device for a log analysis platform, thereby improving the efficiency of overview adjustment for the log analysis platform.
[0005] According to a first aspect, embodiments of the present invention provide an overview adjustment method for a log analysis platform, the method comprising: receiving an input operation instruction, and in response to a click instruction in the operation instruction, setting the current overview item selected by the click instruction to a movable state; and in response to a drag instruction in the operation instruction, moving the movable current overview item from a first group to a second group.
[0006] Optionally, moving the currently movable overview item from the first group to the second group includes: obtaining a first unique identifier of the currently movable overview item; moving the currently movable overview item according to the drag command and monitoring the position information of the currently movable overview item; stopping the movement of the currently movable overview item when the drag command ends, and obtaining a second unique identifier of a target overview item whose position coincides with the position information; deleting the currently movable overview item from the first group based on the first unique identifier, and adding the currently movable overview item to the position of the second unique identifier in the second group.
[0007] Optionally, when the location information coincides with the location of the target overview item, a selection mark is added to the target overview item.
[0008] Optionally, the method further includes: when the target overview item is not within the display range of the current page, continuing to respond to the drag command and receiving the page adjustment command; based on the page adjustment command, scrolling the display range of the current page until the target overview item is displayed within the display range of the current page and coincides with the position information.
[0009] Optionally, the method further includes: in response to the drag command, moving the current overview item to a preset area; when the current overview item is moved to the preset area, popping up a new group menu to prompt the user to create a new group based on the current overview item.
[0010] Optionally, the pop-up new group menu includes: entering the name of the group to which the current overview item is located and appending a preset serial number in the name box of the pop-up new group menu.
[0011] Optionally, setting the currently selected overview item by the click command to a movable state includes: forming an overview item queue from the several overview items selected by the click command in the order of selection; using the overview item queue as the currently selected overview item and setting it to a movable state.
[0012] According to a second aspect, embodiments of the present invention provide an overview adjustment device for a log analysis platform. The device includes: a drag-enable module, configured to receive an input operation command and, in response to a click command in the operation command, set the current overview item selected by the click command to a movable state; and a drag module, configured to, in response to a drag command in the operation command, move the movable current overview item from a first group to a second group.
[0013] According to a third aspect, embodiments of the present invention provide an electronic device, including: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method described in the first aspect, or any optional embodiment of the first aspect.
[0014] According to a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing computer instructions for causing the computer to perform the method described in the first aspect, or any alternative embodiment of the first aspect.
[0015] The technical solution provided in this application has the following advantages:
[0016] The technical solution provided in this application allows users to adjust the grouping of an overview item simply by clicking on it. The computer receives the click instruction and sets the overview item to a movable state. The user then drags the overview item to change its position, and the computer continues to respond to the user's dragging instructions, moving the overview item from the first group to the second group. This drag-and-drop method allows for the adjustment of groupings for various overview items. If an error is made, simply drag the overview item back to its original position, avoiding multiple clicks and repetitive operations, thus improving the efficiency of overview adjustment in the log analysis platform.
[0017] Furthermore, in this embodiment, when adjusting the overview item grouping, the first unique identifier of the current overview item is obtained; the current overview item is moved according to the drag command, and the position information of the current overview item is monitored; when the drag command ends, the movement of the current overview item is stopped, and the second unique identifier of the target overview item whose position coincides with the position information is obtained; then, based on the first unique identifier, the current overview item is deleted from the first group, and the current overview item is added to the position of the second unique identifier in the second group. This not only enables rapid adjustment of overview item grouping, but also allows the order of overview items within each group to be adjusted according to user needs, making frequently used overview items appear earlier and easier for users to view. Attached Figure Description
[0018] The features and advantages of the invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the drawings:
[0019] Figure 1 This diagram illustrates the structure of a log analysis platform in the prior art.
[0020] Figure 2 A schematic diagram illustrating the operation of an overview adjustment method for a log analysis platform in the prior art is shown.
[0021] Figure 3 The diagram illustrates the steps of an overview adjustment method for a log analysis platform according to one embodiment of the present invention.
[0022] Figure 4 This diagram illustrates the operation of an overview adjustment method for a log analysis platform according to one embodiment of the present invention.
[0023] Figure 5 This diagram illustrates another operational schematic of an overview adjustment method for a log analysis platform according to one embodiment of the present invention.
[0024] Figure 6 This illustration shows another operational diagram of an overview adjustment method for a log analysis platform according to one embodiment of the present invention;
[0025] Figure 7 A schematic diagram of the structure of an overview adjustment device for a log analysis platform according to one embodiment of the present invention is shown;
[0026] Figure 8 A schematic diagram of an electronic device according to one embodiment of the present invention is shown. Detailed Implementation
[0027] 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 a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Please see Figure 3 and Figure 4 In one implementation, a method for adjusting the overview of a log analysis platform specifically includes the following steps:
[0029] Step S101: Receive the input operation command and, in response to the click command in the operation command, set the currently selected overview item to a movable state.
[0030] Step S102: In response to the drag command in the operation command, move the currently movable overview item from the first group to the second group.
[0031] Specifically, when a user needs to adjust the grouping of an overview item, this embodiment of the invention allows the user to click and drag an overview item, directly placing it into the desired group and improving adjustment efficiency. The method involves the user clicking the current overview item, and the computer device responds by setting the current overview item to a movable state and changing its appearance on the display page to indicate that the current overview item is movable, for example, by making the icon of the current overview item float. The computer device then responds to drag commands, moving the current overview item from its original first group to its current second group. Even if an adjustment is incorrect, dragging the overview item back to its original position avoids multiple clicks and repetitive operations, thus improving the overview adjustment efficiency of the log analysis platform.
[0032] Specifically, in one embodiment, step S102 above includes the following steps:
[0033] Step 1: Obtain the first unique identifier of the current overview item.
[0034] Step 2: Move the current overview item according to the drag command and monitor the position information of the current overview item.
[0035] Step 3: When the drag command ends, stop moving the current overview item and obtain the second unique identifier of the target overview item that overlaps with the location information.
[0036] Step 4: Delete the current overview item from the first group based on the first unique identifier, and add the current overview item to the position in the second group based on the second unique identifier.
[0037] Specifically, in this embodiment, the computer device listens to the drag events of each overview item, and passes the unique identifier (id) of each overview item that needs to be adjusted, along with the event object, to the event function to achieve group adjustment. First, when the user clicks on an overview item, the first unique identifier of the currently clicked overview item is obtained and recorded. Then, the position information of the current overview item is monitored in real time, such as position coordinates. Then, the user starts dragging the current overview item. When the user stops dragging the current overview item, the target overview item whose position overlaps with the current position information is found based on the position information, and the second unique identifier of the target overview item is listened to. If the user releases the button at this time, the current overview item is deleted from the first group based on the recorded first unique identifier, and the current overview item is added to the position of the target overview item based on the second unique identifier, including but not limited to being in front of or behind the target overview item. Through the above steps, this embodiment of the invention not only provides the function of dragging and adjusting the grouping of each overview item of the log analysis platform, but also allows the display order of the current overview item in each group to be adjusted according to the user's needs. This makes the order of the overview items that the user frequently uses more prominent, making it more convenient for the user to find and click. This allows the user to quickly click on the frequently used overview items and view the relevant pie charts, data tables, etc. on the right side of the display page.
[0038] Specifically, in one embodiment, in step three above, when the location information coincides with the location of the target overview item, a selection mark is added to the target overview item.
[0039] Specifically, in this embodiment, to further enhance the user experience, when a user drags the current overview item to the target overview item, the target overview item will display a selection marker, such as a dashed border, to indicate the placement position. Combining steps one through four above, the specific implementation method is as follows: When the user clicks the current overview item, the element of the current overview item is set to a movable state, and a variable `dragPlaceId` is used to record the first unique identifier of the current overview item; then, the drag event of the element is listened to. When the user drags the current overview item to the target overview item, the value of `dragPlaceId` is updated using the second unique identifier of the target overview item. Simultaneously, the second unique identifier in `dragPlaceId` is used to add a dashed border style to the corresponding target overview item to indicate the position (similarly, when the current overview item is dragged...). When the user moves to any overview item's location, the value in `dragPlaceId` is updated, and a dashed border is added to the overview item at the dragged location based on this value. When the user releases their finger, the drag is complete. At this point, the system listens for the first unique identifier of the dragged overview item, deletes the corresponding overview data from the overview list source data, and then adds the deleted overview item to the target overview item's location based on the second unique identifier saved in `dragPlaceId`. The page is then rendered based on the updated data, and finally, the adjusted result is saved to the database via a backend interface. Through these steps, the drag-and-place location hint function is implemented.
[0040] Specifically, in one embodiment, the overview adjustment method for a log analysis platform provided by this invention further includes the following steps:
[0041] Step 5: When the target overview item is not within the current page display range, remain responsive to drag commands and receive page adjustment commands.
[0042] Step 6: Based on the page adjustment instructions, scroll the display range of the current page until the target overview item is displayed within the current page display range and overlaps with the position information.
[0043] Specifically, in this embodiment, when a user drags the current overview item from the first group to the second group, if the position of the second group or the position of the target overview item within the second group is not displayed due to the small size of the currently displayed page, the user cannot directly complete the drag. This embodiment of the invention maintains a response to drag commands and receives page adjustment commands. For example, if a user clicks and drags the current overview item, and the target overview item is not displayed on the current page, the user keeps holding down the mouse button to keep the drag command active, and simultaneously uses the keyboard or mouse wheel to input page adjustment commands. This changes the display range of the current page, scrolling until the target overview item is displayed within the current page's display range, and the target overview item aligns with the position information according to the page adjustment commands. At this point, the user can release the mouse button to drag the current overview item to the position of the target overview item outside the page's display range.
[0044] Specifically, in one embodiment, the overview adjustment method for a log analysis platform provided by this invention further includes the following steps:
[0045] Step 7: In response to the drag command, move the current overview item to the preset area.
[0046] Step 8: When the current overview item moves to the preset area, a new group menu pops up to prompt the user to create a new group based on the current overview item.
[0047] Specifically, currently, when creating a new group to save a log overview, the log analysis platform requires clicking the "New Group" button on the overview page, entering the name of the new group, and then adding or moving overview items within the new group after creation. If a user wants to create a new group based on a current overview item, these multiple steps are required, reducing operational efficiency. In this embodiment, as... Figure 5 As shown, a preset area is set in the overview page. When a user needs to create a new group based on a certain overview item, they only need to drag the current overview item to the preset area, and a new group menu will pop up directly, prompting the user to create a new group based on the current overview item. When the user saves the new group, the current overview item will be saved in the new group, thus significantly improving the efficiency of creating new groups. In addition, in this embodiment, if the user drags a group item (e.g., overview group 001) to the preset area, the new group editing page can also pop up, and the user can edit and create new groups based on the information of the current group, improving the efficiency of creating new groups.
[0048] Specifically, in this embodiment, step eight above, which involves popping up a new group menu, further includes: entering the name of the group to which the current overview item is located in the name box of the pop-up new group menu and appending a preset serial number.
[0049] Specifically, in the new group creation menu that pops up when creating a new group, the name of the group containing the current overview item is entered into the name box along with a preset serial number. This allows users to directly refer to the name of the group containing the current overview item when naming a new group, thus assisting users in creating group names and further improving the efficiency of creating new groups.
[0050] Specifically, in one embodiment, step S101 above includes the following steps:
[0051] Step 9: Arrange the selected overview items into an overview item queue according to the order of selection.
[0052] Step 10: Set the overview item queue as the current overview item and make it movable.
[0053] Specifically, such as Figure 6 As shown in this embodiment, to further improve the efficiency of adjusting overview items, this embodiment of the invention also supports multi-selection of overview items, and then the overview items are grouped into an overview item queue according to the selection order, and the overview item queue is set as a whole to be movable. When the user drags an overview item, all multi-selected overview items can be adjusted together in terms of grouping and display order, thereby further improving the efficiency of adjusting overview items in the log analysis platform.
[0054] Through the above steps, the technical solution provided in this application allows users to adjust the grouping of an overview item simply by clicking the corresponding overview item. The computer receives the click instruction and sets the overview item to a movable state. The user then drags the overview item to change its position, and the computer continues to respond to the user's dragging instructions, moving the overview item from the first group to the second group. This drag-and-drop method allows for the adjustment of groupings for various overview items. If an adjustment is incorrect, simply drag the overview item back to its original position, avoiding multiple clicks and repetitive operations, thus improving the overview adjustment efficiency of the log analysis platform.
[0055] Furthermore, in this embodiment, when adjusting the overview item grouping, the first unique identifier of the current overview item is obtained; the current overview item is moved according to the drag command, and the position information of the current overview item is monitored; when the drag command ends, the movement of the current overview item is stopped, and the second unique identifier of the target overview item whose position coincides with the position information is obtained; then, based on the first unique identifier, the current overview item is deleted from the first group, and the current overview item is added to the position of the second unique identifier in the second group. This not only enables rapid adjustment of overview item grouping, but also allows the order of overview items within each group to be adjusted according to user needs, making frequently used overview items appear earlier and easier for users to view.
[0056] like Figure 7As shown, this embodiment also provides an overview adjustment device for a log analysis platform, the device comprising:
[0057] The drag-and-drop enable module 101 is used to receive input operation commands and, in response to click commands in the operation commands, set the currently selected overview item to a movable state. For details, please refer to the relevant description of step S101 in the above method embodiments, which will not be repeated here.
[0058] The drag module 102 is used to move the currently movable overview item from the first group to the second group in response to the drag command in the operation instruction. For details, please refer to the relevant description of step S102 in the above method embodiment, which will not be repeated here.
[0059] The overview adjustment device for the log analysis platform provided in this embodiment of the invention is used to execute the overview adjustment method for the log analysis platform provided in the above embodiment. Its implementation method and principle are the same. For details, please refer to the relevant description of the above method embodiment, which will not be repeated here.
[0060] Through the collaborative operation of the aforementioned components, the technical solution provided in this application allows users to adjust the grouping of an overview item simply by clicking on the corresponding item. The computer receives the click instruction and sets the overview item to a movable state. The user then drags the item to change its position, and the computer continues to respond to the user's dragging instructions, moving the item from the first group to the second group. This drag-and-drop method allows for the adjustment of groupings for various overview items. If an error is made, simply dragging the item back to its original position avoids multiple clicks and repetitive operations, thus improving the efficiency of overview adjustment in the log analysis platform.
[0061] Furthermore, in this embodiment, when adjusting the overview item grouping, the first unique identifier of the current overview item is obtained; the current overview item is moved according to the drag command, and the position information of the current overview item is monitored; when the drag command ends, the movement of the current overview item is stopped, and the second unique identifier of the target overview item whose position coincides with the position information is obtained; then, based on the first unique identifier, the current overview item is deleted from the first group, and the current overview item is added to the position of the second unique identifier in the second group. This not only enables rapid adjustment of overview item grouping, but also allows the order of overview items within each group to be adjusted according to user needs, making frequently used overview items appear earlier and easier for users to view.
[0062] Figure 8 An electronic device according to an embodiment of the present invention is shown. The device includes a processor 901 and a memory 902, which can be connected via a bus or other means. Figure 8 Taking the example of a connection between China and Israel via a bus.
[0063] Processor 901 can be a Central Processing Unit (CPU). Processor 901 can also be other general-purpose processors, 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, discrete hardware components, or combinations of the above types of chips.
[0064] The memory 902, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the above method embodiments. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory 902, thereby implementing the methods in the above method embodiments.
[0065] The memory 902 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor 901, etc. Furthermore, the memory 902 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 902 may optionally include memory remotely located relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0066] One or more modules are stored in memory 902, and when executed by processor 901, they perform the methods described in the above method embodiments.
[0067] The specific details of the aforementioned electronic device can be understood by referring to the relevant descriptions and effects in the above method embodiments, and will not be repeated here.
[0068] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The implemented program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0069] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for adjusting the overview of a log analysis platform, characterized in that, The method includes: Receive input operation instructions, and in response to the click instruction in the operation instructions, set the currently selected overview item by the click instruction to a movable state; In response to a drag command in the operation instructions, the currently movable overview item is moved from a first group to a second group; moving the currently movable overview item from the first group to the second group includes: obtaining a first unique identifier of the current overview item; moving the current overview item according to the drag command and monitoring the position information of the current overview item; stopping the movement of the current overview item when the drag command ends, and obtaining a second unique identifier of a target overview item whose position coincides with the position information; deleting the current overview item from the first group based on the first unique identifier, and adding the current overview item to the position of the second unique identifier in the second group; the position of the target overview item includes in front of or behind the target overview item; When the location information coincides with the location of the target overview item, a selection mark is added to the target overview item.
2. The method according to claim 1, characterized in that, The method further includes: When the target overview item is not within the current page display range, it continues to respond to the drag command and receive page adjustment commands; Based on the page adjustment instruction, the display range of the current page is scrolled until the target overview item is displayed within the display range of the current page and coincides with the location information.
3. The method according to claim 1, characterized in that, The method further includes: In response to the drag command, the current overview item is moved to a preset area; When the current overview item moves to a preset area, a new group menu pops up to prompt the user to create a new group based on the current overview item.
4. The method according to claim 3, characterized in that, The pop-up menu for creating a new group includes: In the name box of the pop-up new group menu, enter the name of the group to which the current overview item belongs and append a preset serial number.
5. The method according to claim 1, characterized in that, Setting the currently selected overview item by the click command to a movable state includes: The selected overview items are arranged into an overview item queue according to the order of selection. The overview item queue is set as the current overview item and is set to a movable state.
6. An overview adjustment device for a log analysis platform, characterized in that, The device includes: The drag-and-drop enable module is used to receive input operation instructions and, in response to the click instruction in the operation instructions, set the currently selected overview item by the click instruction to a movable state. A drag module is configured to respond to a drag command in the operation instruction to move the currently movable overview item from a first group to a second group; the moving of the currently movable overview item from the first group to the second group includes: obtaining a first unique identifier of the current overview item; moving the current overview item according to the drag command and monitoring the position information of the current overview item; stopping the movement of the current overview item when the drag command ends, and obtaining a second unique identifier of a target overview item whose position coincides with the position information; deleting the current overview item from the first group based on the first unique identifier, and adding the current overview item to the position of the second unique identifier in the second group; When the location information coincides with the location of the target overview item, a selection mark is added to the target overview item.
7. An electronic device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method as described in any one of claims 1-5.