An interval segmentation setting method, device, equipment, medium and program product

By generating a visual number line on the user interface and responding to user input to set segmentation nodes, the problem of overlapping threshold intervals in existing technologies is solved, enabling more accurate and intuitive interval settings and improving the user experience.

CN119166263BActive Publication Date: 2026-01-23CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411344540.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2026-01-23
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

In existing technologies, the method for setting threshold interval segments relies on manual input, which makes the operation cumbersome and prone to interval overlap, affecting the accuracy of system calculations and user experience.

Method used

Generates a visual number line on the user interface, responds to user input to add nodes, the nodes divide the number line into multiple non-intersecting intervals, and triggers corresponding events through task controls, supporting the switching of node open/closed attributes to adjust the interval relationships.

Benefits of technology

It improves the accuracy and rationality of interval settings, enhances the intuitiveness and operational efficiency of the user interface, avoids interval overlap issues, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166263B_ABST
    Figure CN119166263B_ABST
Patent Text Reader

Abstract

The application relates to a method and device for setting interval segments, equipment, a medium and a program product, in particular to the technical field of human-computer interaction. The method comprises the following steps: when a user interface involves a threshold setting task, a visual number axis is generated and displayed; in response to node threshold input of a user on the visual number axis, a node is added to the visual number axis, the node is used for dividing the visual number axis into multiple segment intervals, and the multiple segment intervals do not intersect each other. The embodiment of the application is used for solving the problem of intersecting segment intervals when a threshold is manually filled in, a visual number axis is generated on a user interface, and when a user sets a node threshold, the node is correspondingly displayed on the visual number axis, so that the setting of the node threshold is more specific and intuitive, the node intervals are prevented from intersecting each other, the accuracy and rationality of interval setting are improved, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of human-computer interaction, and in particular to a setting method and device for interval segmentation, equipment, media and program product. BACKGROUND

[0002] In the field of human-computer interaction, especially in the operation of enterprise B-end systems, threshold interval setting or similar scenarios are often encountered. Users need to divide and set different threshold intervals, and set different event feedbacks, such as different levels of alarms or different gear ratings.

[0003] Existing interval segmentation setting methods mostly rely on manual input of interval ranges, which requires complex menu operations, is tedious and inefficient, and manual filling may set multiple thresholds in adjacent intervals, which may cause problems such as overlapping of segmented intervals, leading to system calculation errors and poor overall user experience. SUMMARY

[0004] To solve the above technical problems or at least partially solve the above technical problems, the present application provides a setting method, device, equipment, medium and program product for interval segmentation, which can generate a visual number line on the user interface. When the user sets the node threshold, the node is displayed on the visual number line, making the setting of the node threshold more specific and intuitive, avoiding the intersection of node intervals, improving the accuracy and rationality of interval setting, and thus improving the user experience.

[0005] To achieve the above purpose, the technical scheme provided by the embodiments of the present application is as follows:

[0006] In a first aspect, the present application provides a setting method for interval segmentation, comprising: generating and displaying a visual number line when a user interface involves a threshold setting task; in response to user input of a node threshold on the visual number line, adding a node on the visual number line, the node being used to divide the visual number line into multiple interval segments, and the multiple interval segments not intersecting each other.

[0007] As an optional implementation manner of the embodiments of the present application, the method further comprises: in response to a user's setting operation on the multiple interval segments, adding a task control of the multiple interval segments on the visual number line, so that at least one of the following is triggered when the node value is in the corresponding interval: generating an interval score, evaluating an interval level, calling an interval function, and an interval event.

[0008] As an optional implementation of the embodiment of the present application, the visualized number axis comprises a horizontal visualized number axis with a right positive direction; the method further comprises: in response to a user's open-close attribute switching operation on a target node on the horizontal visualized number axis, modifying the position relationship between the target node and the multiple segments according to a first preset rule; wherein the open-close attribute of the node comprises left open right closed, left closed right open, or discrete full open; the first preset rule comprises: when the open-close attribute of the target node is set as left open right closed by default: if the open-close attribute switching operation indicates switching to left closed right open, moving the target node from the left end of the next adjacent segment to the right end of the previous adjacent segment; if the open-close attribute switching operation indicates switching to discrete full open, moving the target node from the left end of the next adjacent segment to a middle position, which is the midpoint position of the right end of the previous adjacent segment and the left end of the next adjacent segment.

[0009] As an optional implementation of the embodiment of the present application, the visualized number axis comprises a vertical visualized number axis with an upward positive direction; the method further comprises: in response to a user's open-close attribute switching operation on a target node on the vertical visualized number axis, modifying the association relationship between the target node and the task control corresponding to the target node according to a second preset rule; wherein the open-close attribute of the node comprises left open right closed, left closed right open, or discrete full open; the second preset rule comprises: when the open-close attribute of the target node is set as left open right closed by default: if the open-close attribute switching operation indicates switching to left closed right open, establishing the association relationship between the target node and the previous task control corresponding to the target node, and releasing the association relationship between the target node and the next task control corresponding to the target node; if the open-close attribute switching operation indicates switching to discrete full open, releasing the association relationship between the task control corresponding to the target node and the target node.

[0010] In a second aspect, the present application provides a device for setting interval segments, which comprises:

[0011] a visualized number axis generation module, configured to generate and display a visualized number axis when a user interface involves a threshold setting task;

[0012] a node adding module, configured to add a node on the visualized number axis in response to a user's node threshold input on the visualized number axis, the node being used to divide the visualized number axis into multiple segments, and the multiple segments not intersecting with each other.

[0013] As an optional implementation of the embodiment of the present application, the device further comprises a task control adding module, configured to: in response to a user's setting operation on the multiple segments, add a task control of the multiple segments on the visualized number axis, so that at least one of the following is triggered when the node value is in the corresponding segment: generating a segment score, evaluating a segment level, calling a segment function, and triggering a segment event.

[0014] As an optional implementation of this application, the visual number line includes a horizontal visual number line with the positive direction to the right; the transpose also includes a modification module, used to: in response to a user's operation to switch the open / closed attribute of a target node on the horizontal visual number line, modify the positional relationship between the target node and multiple intervals according to a first preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the first preset rule includes that when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation instruction is switched to left closed and right open, then the target node is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval; if the open / closed attribute switching operation instruction is switched to discrete fully open, then the target node is moved from the left end of the next adjacent interval to the middle position, the middle position being the midpoint between the right end of the previous adjacent interval and the left end of the next adjacent interval.

[0015] As an optional implementation of this application, the visual number line includes a vertical visual number line with the positive direction upward; the transpose also includes a modification module, used to: in response to a user's operation to switch the open / closed attribute of a target node on the vertical visual number line, modify the association relationship between the task control corresponding to the target node and the target node according to a second preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the second preset rule includes that when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation instruction is switched to left closed and right open, then the association relationship between the previous task control corresponding to the target node and the target node is established, and the association relationship between the next task control corresponding to the target node and the target node is removed; if the open / closed attribute switching operation instruction is switched to discrete fully open, then the association relationship between the task control corresponding to the target node and the target node is removed.

[0016] Thirdly, this application provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, it implements the interval segmentation setting method as described in the first aspect or any of its optional embodiments.

[0017] Fourthly, this application provides a computer-readable storage medium, comprising: storing a computer program on the computer-readable storage medium, wherein when the computer program is executed by a processor, it implements the interval segmentation setting method as described in the first aspect or any of its optional embodiments.

[0018] Fifthly, this application provides a computer program product, comprising: the computer program product including a computer program, which, when run on a computer, causes the computer to implement the interval segmentation setting method as described in the first aspect or any of its optional embodiments.

[0019] The technical solution provided in this application has the following advantages compared with the prior art:

[0020] This application provides a method, apparatus, device, medium, and program product for setting interval segments. The method first generates and displays a visual number axis when a threshold setting task is involved in the user interface. Then, in response to the user's input of node thresholds on the visual number axis, nodes are added to the visual number axis, dividing it into multiple intervals that do not overlap. Thus, this application generates a visual number axis on the user interface, and when the user sets node thresholds, the corresponding values ​​are displayed on the visual number axis, making the setting of node thresholds more specific and intuitive, avoiding overlapping node intervals, improving the accuracy and rationality of interval setting, and thereby enhancing the user experience. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1A A schematic diagram of a user interface involving a threshold setting task;

[0024] Figure 1B A schematic diagram of a user interface involving a threshold setting task. Figure Two ;

[0025] Figure 2 A flowchart illustrating a method for setting interval segments provided in an embodiment of this application;

[0026] Figure 3A A schematic diagram of a visual number line provided for an embodiment of this application;

[0027] Figure 3B A schematic diagram of a visual number line provided in this application embodiment. Figure Two ;

[0028] Figure 3C A schematic diagram illustrating the addition of controls to nodes provided in the embodiments of this application;

[0029] Figure 3D A schematic diagram of the node deletion control provided in an embodiment of this application;

[0030] Figure 4AA schematic diagram of the node opening / closing attribute control provided in an embodiment of this application;

[0031] Figure 4B A schematic diagram of the node opening / closing attribute control provided in the embodiments of this application. Figure Two ;

[0032] Figure 4C A schematic diagram illustrating the modification of the target node provided in an embodiment of this application;

[0033] Figure 4D A schematic diagram illustrating the modification of the task control provided in an embodiment of this application;

[0034] Figure 5 A schematic diagram of a segmentation device provided in an embodiment of this application;

[0035] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0036] For example, such as Figure 1A As shown, Figure 1A This is a schematic diagram of a user interface for a threshold setting task. The user interface is used to set CPU alarm thresholds, for example, when the average CPU utilization over three consecutive cycles (1 cycle = 1 minute) is greater than or equal to 70%, an alert is issued via a combination of SMS, email, and instant messaging software.

[0037] For example, such as Figure 1B As shown, Figure 1B A schematic diagram of a user interface involving a threshold setting task. Figure Two This user interface is used to set monthly activity score thresholds, assigning corresponding scores to different monthly activity ranges. It's evident that manually setting multiple thresholds is cumbersome and may result in overlapping ranges. However, by using... Figure 1A or Figure 1B The user interface shown cannot detect interval intersection problems in a timely manner, which leads to operational errors and affects the user experience.

[0038] To address some or all of the technical problems existing in the aforementioned related technologies, embodiments of this application provide a method, apparatus, electronic device, and medium for setting interval segments. This method generates and displays a visual number axis when the user interface involves a threshold setting task. Then, in response to the user's input of a node threshold on the visual number axis, nodes are added to the visual number axis, dividing it into multiple intervals that do not intersect. Thus, this application generates a visual number axis on the user interface, and when the user sets a node threshold, it displays the corresponding value on the visual number axis, making the setting of node thresholds more specific and intuitive, avoiding intersecting node intervals, improving the accuracy and rationality of interval setting, and thereby enhancing the user experience.

[0039] To better understand the above-mentioned objectives, features, and advantages of this application, the solution of this application will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0040] Many specific details are set forth in the following description in order to provide a full understanding of this application, but this application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some embodiments of this application, and not all embodiments.

[0041] The method for setting interval segments provided in this application embodiment can be implemented by an interval segmentation setting device or electronic device, including but not limited to vehicle-mounted terminals, servers, personal computers, laptops, tablets, and smartphones. The operating system of the electronic device can include Android, Apple's iOS, Microsoft's Windows operating system, etc., and this application embodiment does not limit this. The electronic device can operate independently to implement this application, or it can connect to a network and implement this application through interactive operation with other computer devices on the network. The network where the electronic device is located includes, but is not limited to, the Internet, wide area networks, metropolitan area networks, local area networks, and virtual private networks (VPNs).

[0042] It should be noted that the protection scope of the interval segmentation setting method described in this application embodiment is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principle of this application is included within the protection scope of this application.

[0043] like Figure 2 As shown, Figure 2This is a flowchart illustrating a method for setting interval segments according to an embodiment of this application. This method can be executed by an interval segment setting device, which can be implemented in software and / or hardware, and is generally integrated into an electronic device. Figure 2 As shown, the method mainly includes the following steps S201 to S202:

[0044] S201. When the user interface involves a threshold setting task, generate and display a visual number line.

[0045] The threshold setting task includes, but is not limited to: setting a minimum, average, or maximum value; and selecting whether the threshold value is greater than or equal to or less than or equal to.

[0046] The visual number line, as a display control on the user node, can be a horizontal visual number line, a vertical visual number line, or other forms of visual number lines. The positive direction of the horizontal visual number line can be right, that is, from left to right; the positive direction of the vertical visual number line can be up, that is, from bottom to top. This application does not specifically limit the display format and positive direction of the visual number line.

[0047] In step S201, a visual number line is generated and displayed. This visual number line is a straight line with a defined origin, positive direction, and unit length. Optionally, the visual number line may also include the following: nodes and node names. Nodes can be marked on the visual number line in the form of solid circles or other symbols. Node names can be displayed on the left or bottom side of the visual number line. The number line segments between nodes are defined as segmented intervals. The visual number line also includes task controls for these intervals. These task controls are used to indicate the triggerable tasks corresponding to the intervals, including: generating interval scores, evaluating interval levels, calling interval functions, and triggering interval events. The task controls for segmented intervals can be displayed on the opposite side of the visual number line, distinct from the node names; they can be on the right or top side of the visual number line. The task controls for segmented intervals can be editing controls, drop-down selection controls, etc., such as a function editor.

[0048] For example, such as Figure 3AAs shown, a horizontal visual number line with the positive direction to the right is generated and displayed in the user interface. The horizontal visual number line includes four initial nodes (node ​​1, node 2, node 3, and node 4), five initial intervals, and five corresponding task controls for each initial interval (level 1, level 2, level 3, level 4, and level 5). The node names of the initial nodes are displayed below the horizontal visual number line, and the task controls for the initial intervals are displayed above the horizontal visual number line. The size and name of the initial nodes can be modified. For example, when the user sets a threshold for the initial node 1, the initial node 1 is moved to the corresponding position on the visual number line based on that threshold. The task controls for the initial intervals also support modification. For example, if the task control is a function editor, the user can modify the interval function within the function editor. It should be noted that the horizontal visual number line generated in the user interface is referenced... Figure 3A As shown, it can be a straight line that only includes the origin, positive direction and unit length, without including the initial node, the task control corresponding to the initial interval, etc. In this way, when executing the subsequent step S202, a new node is added on the straight line.

[0049] For example, such as Figure 3B As shown, a vertical visual number line with the positive direction upward is generated and displayed in the user interface. The vertical visual number line includes 4 initial nodes (node1, node2, node3, and node4) and 5 task controls corresponding to the initial intervals (trigger event 1, trigger event 2, trigger event 3, trigger event 4, and trigger event 5). The node names of the initial nodes are displayed on the left side of the vertical visual number line, and the task controls corresponding to the initial intervals are displayed on the right side of the vertical visual number line.

[0050] S202. In response to the user's input of node thresholds on the visualization axis, nodes are added to the visualization axis, which are used to divide the visualization axis into multiple intervals.

[0051] The node threshold input can be multiple values, such as 30, 50, 70, etc. Based on the multiple values ​​input by the user, the size of each value is first validated, and then the corresponding nodes are added to the visual number axis in sequence after sorting.

[0052] For example, refer to Figure 3AAs shown, in response to the user's input of node thresholds on the visual number line, nodes node1, node2, node3, and node4 are added to the visual number line. Nodes node1, node2, node3, and node4 divide the visual number line into 5 intervals: intervals less than node1, intervals greater than or equal to node1 and less than node2, intervals greater than or equal to node2 and less than node3, intervals greater than or equal to node3 and less than node4, and intervals greater than node4.

[0053] In some embodiments, after performing step S202, the method further includes adding a task control for multiple intervals on the visual number axis in response to the user's setting operation for multiple intervals, so that when the node value is in the corresponding interval, at least one of the following is triggered: generating an interval score, evaluating the interval level, calling an interval function, or an interval event.

[0054] For example, refer to Figure 3A As shown, after adding nodes node1, node2, node3, and node4, users can set trigger tasks for each interval, such as evaluating the interval level. Task controls are displayed above the number axis. For example, setting a task control "level 1" (right dashed line) for intervals smaller than node 1 adds a corresponding task control "level 1" above the visual number axis, indicating that when a node is smaller than node 1, the score is level 1. Setting a task control "level 2" (left solid line, right dashed line) for intervals greater than or equal to node 1 and less than node 2 adds a corresponding task control "level 2" above the visual number axis. Setting a task control "level 3" (left solid line, right dashed line) for intervals greater than or equal to node 2 and less than node 3 adds a corresponding task control "level 3" above the visual number axis. Setting a task control "level 4" (left solid line, right dashed line) for intervals greater than or equal to node 3 and less than node 4 adds a corresponding task control "level 4" above the visual number axis. Similarly, setting a task control "level 4" for intervals greater than node 4 adds a corresponding task control "level 4" above the visual number axis. 5 (left solid line).

[0055] For example, see reference. Figure 3BAs shown, after adding nodes node1, node2, node3, and node4, users can set triggering tasks, such as interval events, for each interval. Task controls are displayed on the right side of the number axis. For example, setting a task control for an interval smaller than node1 will add a "Trigger Event 1" (upper dashed line) to the right side of the visual number axis, indicating that event 1 is triggered when the node is smaller than node1. Setting a task control for an interval greater than or equal to node1 and less than node2 will add a "Trigger Event 2" (upper dashed line, lower solid line) to the right side of the visual number axis. Setting a task control for an interval greater than or equal to node2 and less than node3 will add a "Trigger Event 3" (upper dashed line, lower solid line) to the right side of the visual number axis. Setting a task control for an interval greater than or equal to node3 and less than node4 will add a "Trigger Event 4" (upper dashed line, lower solid line) to the right side of the visual number axis. And setting a task control for an interval greater than node4 will add a "Trigger Event 5" (lower solid line) to the right side of the visual number axis.

[0056] In some embodiments, node-adding controls are provided at both ends of the visual number line in the user interface. After the user clicks the node-adding control at either end of the visual number line and enters a node threshold, a new node corresponding to that threshold is added to the visual number line, and this node segments the visual number line into intervals. For example, as... Figure 3C As shown, a node addition control 301 exists at one end of the vertical visual number axis. After the user clicks on the node addition control 301, the vertical visual number axis will... Figure 3B Based on the above, add a new node node5, and add a new task control "Trigger Event 6" for the corresponding range.

[0057] In some embodiments, the user interface's visual number line includes a node deletion control. When a user clicks the node deletion control for a target node, or hovers over the area containing the target node, the corresponding target node can be deleted from the visual number line, and adjacent segment intervals corresponding to the target node will be merged. For example, as shown... Figure 3D As shown, when a user clicks the node deletion control 302 on the vertical visual number axis, node4 can be deleted from the visual number axis. Then, the system compares whether "Trigger Event 4" and "Trigger Event 5" are the same. If they are the same, the task control for the segment interval is retained; otherwise, the task control for the interval is cleared. Another example is... Figure 4A As shown, the node deletion control can be hidden as an option initially, and then the "Delete Node" option can be displayed when the user clicks on the target node.

[0058] The above embodiments allow for customized settings of the visual number line through node addition and deletion controls. This enables users to modify the nodes on the visual number line according to their actual needs, intuitively displaying the relative size of nodes and intervals, and avoiding the problem of mutual intersection.

[0059] In this embodiment, the opening and closing attributes of nodes are defined. Nodes include left-closed-right-open nodes, left-open-right-closed nodes, and discrete fully open nodes. The interval corresponding to a node has an interval opening and closing attribute. The opening and closing attribute of a node determines whether the endpoints of an interval are open or closed. The opening and closing attribute of an interval depends on the opening and closing attributes of two nodes. For a left-closed-right-open node, the preceding adjacent interval is a right-closed interval, and the following adjacent interval is a left-open interval; for a left-open-right-closed node, the preceding adjacent interval is a right-open interval, and the following adjacent interval is a left-closed interval; for a discrete fully open node, the preceding adjacent interval is a right-open interval, and the following adjacent interval is a left-open interval. The opening and closing attribute of a node can be left-open-right-closed by default.

[0060] For example, such as Figure 4A As shown, the user interface displays a node opening / closing attribute control 401. When the user selects node 3, the node opening / closing attribute control 401 is displayed. The current node opening / closing attribute of node 3 is left-open and right-closed. The user can switch it to left-closed and right-open, or discrete fully open. This allows for individual modification of the opening / closing attribute of a single node. Node 3 can be selected by clicking or hovering, etc., which is only an example and is not specifically limited in this application.

[0061] For example, such as Figure 4B As shown, the user interface displays a node opening / closing attribute control 402, which is used to set the opening / closing attributes of multiple nodes. The currently displayed nodes node1, node2, node3, and node4 all have a left-open, right-closed opening / closing attribute. When the user selects the left-closed, right-open option in the node opening / closing attribute control 402, the opening / closing attributes of nodes node1, node2, node3, and node4 switch to left-closed, right-open, enabling batch modification of node opening / closing attributes.

[0062] In some embodiments, after executing step S202, the method further includes, in response to the user's operation to switch the open / closed attribute of the target node on the visual number axis, modifying the positional relationship between the target node and multiple intervals according to a first preset rule. Taking a horizontal visual number axis with the positive direction to the right as an example, the positional relationship between the node and the intervals is explained: After executing step S202, in response to the user's operation to switch the open / closed attribute of the target node on the horizontal visual number axis, the positional relationship between the target node and multiple intervals is modified according to a first preset rule. As mentioned above, the open / closed attribute of the node includes left-open-right-closed, left-closed-right-open, and discrete fully open. Assuming the default open / closed attribute of the target node is set to left-open-right-closed, the first preset rule includes: if the open / closed attribute switching operation indicates switching to left-open-right-closed, then the target node is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval; if the open / closed attribute switching operation indicates switching to discrete fully open, then the target node is moved from the left end of the next adjacent interval to the middle position, i.e., the midpoint between the right end of the previous adjacent interval and the left end of the next adjacent interval.

[0063] When the target node's open / closed attribute is left-open and right-closed by default, on the horizontal visual axis with the positive direction to the right, the target node is located at the left end of the next adjacent interval. The previous adjacent interval does not contain the node threshold corresponding to the target node, and the next adjacent interval does contain the node threshold corresponding to the target node. When the target node's open / closed attribute is left-closed and right-open by default, on the horizontal visual axis with the positive direction to the right, the target node is located at the right end of the previous adjacent interval. The previous adjacent interval contains the node threshold corresponding to the target node, and the next adjacent interval does not contain the node threshold corresponding to the target node.

[0064] For example, such as Figure 3A As shown, the target node 2 was originally a left-open, right-closed node, located at the left end of the next adjacent interval. The user changed the open / closed attribute of the target node 2 to left-closed, right-open, then... Figure 4C The target node 2 is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval.

[0065] For cases where the positive direction of the horizontal visualization axis is left, or the visualization axis is a vertical visualization axis, and the default opening / closing attribute of the node is left-closed, right-open, or discretely fully open, the positional relationship between the target node and multiple intervals can be modified by referring to the above embodiments. This application will not elaborate further here.

[0066] In some embodiments, after executing step S202, the method further includes, in response to the user's operation to switch the open / closed attribute of a target node on the visual number axis, modifying the association between the task control corresponding to the target node and the target node according to a second preset rule. Here, we will take a vertical visual number axis with the positive direction as an example to illustrate the association between the node task control and the target node: After executing step S202, in response to the user's operation to switch the open / closed attribute of a target node on the visual number axis, modifying the association between the task control corresponding to the target node and the target node according to a second preset rule. As mentioned above, the open / closed attributes of a node include left-open-right-closed, left-closed-right-open, and discrete fully open. Assuming the default open / closed attribute of the target node is set to left-open-right-closed, the second preset rule includes: if the open / closed attribute switching operation indicates switching to left-closed-right-open, then establish the association between the previous task control corresponding to the target node and the target node, and remove the association between the next task control corresponding to the target node and the target node; if the open / closed attribute switching operation indicates switching to discrete fully open, then remove the association between the task control corresponding to the target node and the target node. Optionally, a task control with an association with the target node can also be generated.

[0067] In this context, each target node has two task controls, defined as a preceding task control and a following task control, corresponding to the preceding and following adjacent intervals of the target node, respectively. Assuming the target node's open / close property is set to left-open and right-closed by default, the preceding task control of the target node has no association with the target node, while the following task control does. (Reference) Figure 3B As shown, the task control "Trigger Event 3" preceding the target node 3 is connected to the target node 3 by a dashed line, and the task control "Trigger Event 4" following the target node 3 is connected to the target node 3 by a solid line, indicating that trigger event 4 is executed when the node value reaches the node threshold corresponding to node 3.

[0068] For example, such as Figure 3B As shown, the target node 3 was originally a left-open, right-closed node, and had no association with the previous task control "Trigger Event 3" (connected by a dashed line). It was associated with the next task control "Trigger Event 4" (connected by a solid line). When the user switches the open / closed property of the target node 3 to discrete fully open, as shown... Figure 4D As shown, the association between the subsequent task control "Trigger Event 4" and the target node 3 is removed. The target node 3 and the subsequent task control "Trigger Event 4" are connected by a dashed line. At this time, the target node 3 is a discrete node and can be used as an independent interval. A task control with an association with the target node 3 is generated and connected to the target node 3 by a solid line.

[0069] In summary, this application provides a method for setting interval segments. This method first generates and displays a visual number axis when the user interface involves a threshold setting task. Then, in response to the user's input of node thresholds on the visual number axis, nodes are added to the visual number axis, dividing it into multiple intervals that do not overlap. Thus, this application generates a visual number axis on the user interface, and when the user sets node thresholds, the corresponding values ​​are displayed on the visual number axis, making the setting of node thresholds more specific and intuitive, avoiding overlapping node intervals, improving the accuracy and rationality of interval settings, and thereby enhancing the user experience.

[0070] like Figure 5 As shown, Figure 5 An interval segmentation setting device provided in this application embodiment includes:

[0071] The visualization number line generation module 501 is used to generate and display a visualization number line when the user interface involves a threshold setting task;

[0072] The node adding module 502 is used to add nodes to the visual number axis in response to the user's node threshold input. The nodes are used to divide the visual number axis into multiple segments, and the segments do not overlap.

[0073] As an optional implementation of this application, the device further includes a task control adding module, used to: in response to the user's setting operation of multiple intervals, add task controls of multiple intervals on the visual number axis, so that when the node value is in the corresponding interval, at least one of the following is triggered: generating interval score, evaluating interval level, calling interval function, and interval event.

[0074] As an optional implementation of this application, the visual number line includes a horizontal visual number line with the positive direction to the right; the transpose also includes a modification module, used to: in response to a user's operation to switch the open / closed attribute of a target node on the horizontal visual number line, modify the positional relationship between the target node and multiple intervals according to a first preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the first preset rule includes that when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation instruction is switched to left closed and right open, then the target node is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval; if the open / closed attribute switching operation instruction is switched to discrete fully open, then the target node is moved from the left end of the next adjacent interval to the middle position, the middle position being the midpoint between the right end of the previous adjacent interval and the left end of the next adjacent interval.

[0075] As an optional implementation of this application, the visual number line includes a vertical visual number line with the positive direction upward; the transpose also includes a modification module, used to: in response to a user's operation to switch the open / closed attribute of a target node on the vertical visual number line, modify the association relationship between the task control corresponding to the target node and the target node according to a second preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the second preset rule includes that when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation instruction is switched to left closed and right open, then the association relationship between the previous task control corresponding to the target node and the target node is established, and the association relationship between the next task control corresponding to the target node and the target node is removed; if the open / closed attribute switching operation instruction is switched to discrete fully open, then the association relationship between the task control corresponding to the target node and the target node is removed.

[0076] Specific limitations regarding the interval segmentation setting device can be found in the limitations of the interval segmentation setting method described above, and will not be repeated here. Each module in the aforementioned interval segmentation setting device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0077] In one embodiment, this application provides an electronic device, which may be a terminal, and its internal structure diagram may be as follows. Figure 6 As shown, the electronic device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a segmented setting method. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the device's casing, or an external keyboard, touchpad, or mouse.

[0078] Those skilled in the art will understand that Figure 6The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0079] In one embodiment, the interval segmentation setting device provided in this application can be implemented as a computer program, and the computer program can be configured as follows: Figure 6 The device operates on the electronic device shown. The memory of the electronic device can store various program modules that constitute the segmentation setting device. The computer program composed of the various program modules causes the processor to execute the steps in the segmentation setting methods of the various embodiments of this application described in this specification.

[0080] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by the computer program, implements the steps in the interval segmentation setting methods of the various embodiments of this application described in this specification.

[0081] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0082] It should be understood, in the several embodiments provided in this application, that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0083] In this application, the processor can be a Central Processing Unit (CPU), or 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, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0084] In this application, memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0085] In this application, computer-readable media includes both permanent and non-permanent, removable and non-removable storage media. Storage media can implement information storage using any method or technology; the information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient media, such as modulated data signals and carrier waves.

[0086] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0087] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for setting interval segments, characterized in that, include: When the user interface involves threshold setting tasks, a visual number line is generated and displayed; The visualized number line is a straight line with a defined origin, positive direction, and unit length; In response to the user's input of node thresholds on the visual number axis, the size of each node threshold is first verified, and then nodes corresponding to the node thresholds are added to the visual number axis in sequence after sorting. The nodes are used to divide the visual number axis into multiple segments, and the multiple segments do not overlap with each other. The visual number axis includes a vertical visual number axis with the positive direction upward; The method further includes: responding to a user's operation to switch the open / closed attribute of a target node on the vertical visualization axis, modifying the association between the task control corresponding to the target node and the target node according to a second preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the second preset rule includes, when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation indication is switched to left closed and right open, then the association between the previous task control corresponding to the target node and the target node is established, and the association between the next task control corresponding to the target node and the target node is removed; if the open / closed attribute switching operation indication is switched to discrete fully open, then the association between the task control corresponding to the target node and the target node is removed.

2. The method according to claim 1, characterized in that, The method further includes: In response to the user's setting operation of the multiple intervals, a task control for the multiple intervals is added to the visual number axis so that when the node value is in the corresponding interval, at least one of the following is triggered: generating an interval score, evaluating the interval level, calling an interval function, or an interval event.

3. The method according to claim 1, characterized in that, The visualized number line includes a horizontal visualized number line with the positive direction to the right; the method further includes: In response to the user's operation of switching the open / closed attribute of the target node on the horizontal visualization axis, the positional relationship between the target node and the multiple intervals is modified according to the first preset rule; The opening and closing properties of nodes include left-open and right-closed, left-closed and right-open, or discrete fully open. The first preset rule includes the following when the opening / closing attribute of the target node is set to left-open and right-closed by default: If the opening / closing attribute switching operation instruction is switched to left closed and right open, then the target node is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval. If the opening / closing attribute switching operation instruction is switched to discrete fully open, the target node is moved from the left end of the next adjacent interval to the middle position, where the middle position is the midpoint between the right end of the previous adjacent interval and the left end of the next adjacent interval.

4. A device for setting interval segments, characterized in that, include: The visualization number line generation module is used to generate and display a visualization number line when the user interface involves threshold setting tasks; The visualized number line is a straight line with a defined origin, positive direction, and unit length; The node adding module is used to respond to the user's node threshold input on the visual number axis. First, it verifies the size of each node threshold, sorts them, and then adds the nodes corresponding to the node thresholds on the visual number axis in sequence. The nodes are used to divide the visual number axis into multiple segments, and the multiple segments do not overlap with each other. The visual number axis includes a vertical visual number axis with the positive direction upward; The node adding module is further configured to respond to a user's operation to switch the open / closed attribute of a target node on the vertical visualization axis, and modify the association between the task control corresponding to the target node and the target node according to a second preset rule; wherein, the open / closed attribute of the node includes left open and right closed, left closed and right open, or discrete fully open; the second preset rule includes, when the open / closed attribute of the target node is set to left open and right closed by default: if the open / closed attribute switching operation instruction is switched to left closed and right open, then the association between the previous task control corresponding to the target node and the target node is established, and the association between the next task control corresponding to the target node and the target node is removed; if the open / closed attribute switching operation instruction is switched to discrete fully open, then the association between the task control corresponding to the target node and the target node is removed.

5. The apparatus according to claim 4, characterized in that, The device further includes: The task control adding module is used to add task controls for the multiple intervals on the visual number axis in response to the user's setting operation of the multiple intervals, so that when the node value is in the corresponding interval, at least one of the following is triggered: generating interval score, evaluating interval level, calling interval function, and interval event.

6. The apparatus according to claim 4, characterized in that, The visualization axis includes a horizontal visualization axis with the positive direction to the right; the device also includes: The modification module is used to respond to the user's operation of switching the open / closed attributes of the target node on the horizontal visual number axis, and modify the positional relationship between the target node and the multiple segments according to the first preset rule; The opening and closing properties of nodes include left-open and right-closed, left-closed and right-open, or discrete fully open. The first preset rule includes the following when the opening / closing attribute of the target node is set to left-open and right-closed by default: If the opening / closing attribute switching operation instruction is switched to left closed and right open, then the target node is moved from the left end of the next adjacent interval to the right end of the previous adjacent interval. If the opening / closing attribute switching operation instruction is switched to discrete fully open, the target node is moved from the left end of the next adjacent interval to the middle position, where the middle position is the midpoint between the right end of the previous adjacent interval and the left end of the next adjacent interval.

7. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the interval segmentation setting method as described in any one of claims 1 to 3.

8. A computer-readable storage medium, characterized in that, include: A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the interval segmentation setting method as described in any one of claims 1 to 3.

9. A computer program product, characterized in that, include: The computer program product includes a computer program that, when run on a computer, causes the computer to implement the interval segmentation setting method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Creation method of editing controls component capable of setting multiple range interval

    CN101118492A

  • Medical equipment and interval threshold setting method for medical equipment and device thereof

    CN110604580A