Measurement method of touch screen, electronic device, and storage medium

CN123011091APending Publication Date: 2026-10-30SONOSCAPE MEDICAL (WUHAN) CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510563390.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0003]而现有技术中,可以利用轨迹球和控制面板按键来选择测量点的位置,但是独立的轨迹球和控制面板按键并不能较准确地控制测量点的位置,确定出的测量点位置并不够准确

Benefits of technology

[0023]上述技术方案中,响应于测量操作,在第一位置激活测量定位点,并且显示当前激活的测量定位点和当前激活的测量定位点对应的控件组,其中,第一位置是当前激活的测量定位点的、与测量操作对应的当前位置的位置,控件组包括第一控件和第二控件,当前激活的测量定位点和控件组中的控件之间彼此分离且相对位置固定,然后响应于对第一控件的第一操作,对当前激活的测量定位点和控件组执行相应的移动操作,之后响应于对第二控件的第二操作,将当前激活的测量定位点冻结在当前位置,并根据第一位置和所冻结的位置,确定测量结果。如此,可以使得测量定位点和对应的控件组同步移动,控件组中的控件也不会遮挡测量定位点,控件组中的第二控件可以给用户提供便利并可以防止确定测量结果时因为误触而导致测量定位点变动。如此可以使得用户可以较为方便且准确地在触摸屏上对医学图像进行测量,且优化用户的体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011091A_ABST
    Figure CN123011091A_ABST
Patent Text Reader

Abstract

The application provides a touch screen measurement method, device, electronic equipment and storage medium. The touch screen measurement method comprises the following steps: in response to a measurement operation, activating a measurement positioning point at a current position of the currently activated measurement positioning point corresponding to the measurement operation, and displaying the currently activated measurement positioning point and a control group corresponding to the currently activated measurement positioning point, the control group comprising a first control and a second control, the currently activated measurement positioning point and the controls in the control group being separated from each other and having fixed relative positions; in response to a first operation on the first control, performing a corresponding movement operation on the currently activated measurement positioning point and the control group; in response to a second operation on the second control, freezing the currently activated measurement positioning point at the current position, and determining a measurement result according to the first position and the frozen position. The present scheme can enable the user to conveniently and accurately measure a medical image on the touch screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of touchscreen measurement technology, and more specifically, to a touchscreen measurement method, electronic device, storage medium, and computer program product. Background Technology

[0002] During examinations, doctors typically need to measure multiple indicators based on medical images, and some measurements require high precision. Depending on the measurement requirements, corresponding measurement points can be selected, and then measurements can be performed based on the location of these points.

[0003] In existing technologies, a trackball and control panel buttons can be used to select the location of measurement points. However, these independent tools cannot accurately control the location of the measurement points, resulting in inaccurate determinations. While touchscreens can directly determine the location of measurement points by detecting user touches, the user's fingers can obstruct the measurement point during touch, thus affecting the accuracy of the determined location. Summary of the Invention

[0004] The present invention was proposed in view of the above-mentioned problems.

[0005] According to a first aspect of the present invention, a measurement method for a touchscreen is provided. The method includes: activating a measurement positioning point at a first location in response to a measurement operation, and displaying the currently activated measurement positioning point and a control group corresponding to the currently activated measurement positioning point, wherein the first location is the current location of the currently activated measurement positioning point corresponding to the measurement operation, and the currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed; the control group includes a first control and a second control; in response to a first operation on the first control, performing a corresponding movement operation on the currently activated measurement positioning point and the control group; and in response to a second operation on the second control, freezing the currently activated measurement positioning point at the current location, and determining a measurement result based on the first location and the frozen location.

[0006] For example, the control group further includes a third control, and the method further includes: in response to a third operation on the third control, freezing the currently active measurement positioning point at the current position, and activating the frozen measurement positioning point corresponding to the third operation.

[0007] For example, the method further includes: displaying a frozen measurement positioning point at the first position when the currently active measurement positioning point moves away from the first position; and displaying a frozen measurement positioning point at the target position when the currently active measurement positioning point is frozen; wherein the frozen measurement positioning point and the currently active measurement positioning point are displayed in different styles.

[0008] For example, the control group further includes a fourth control, and the method includes: editing the control group in response to a fourth operation on the fourth control.

[0009] For example, for each control in the control group, the style displayed when the control is being operated is different from the style displayed when it is not being operated.

[0010] For example, the method further includes: in response to a seventh operation targeting a target location outside the control group, performing a corresponding movement operation on the currently active measurement positioning point and the control group, so that the first control moves to the target location.

[0011] For example, the control group further includes a fifth control, and the method further includes: determining a measurement mode in response to a fifth operation on the fifth control; determining a line connecting the currently active measurement positioning point and the first position according to the measurement mode; wherein the line is displayed when the currently active measurement positioning point moves away from the first position.

[0012] For example, determining the measurement method in response to a fifth operation on the fifth control includes: displaying a plurality of sixth controls in response to a fifth operation on the fifth control, wherein different sixth controls correspond to different measurement methods; and determining the measurement method corresponding to the operated sixth control in response to a sixth operation on one of the plurality of sixth controls.

[0013] For example, the measurement method includes an elliptical method, and the method further includes: displaying an ellipse with a first connecting line as its major axis during the movement operation of the currently activated measurement positioning point from the first position, wherein the first connecting line is a line segment between the first position and the current position of the currently activated measurement positioning point; activating the measurement positioning point at the position of a first intersection point between the minor axis of the ellipse and the ellipse when the currently activated measurement positioning point is frozen; and updating the ellipse according to the first connecting line and the current position of the currently activated measurement positioning point during the movement operation of the currently activated measurement positioning point from the position of the first intersection point along the direction of the minor axis.

[0014] For example, the currently active measurement positioning point and the frozen measurement positioning point are displayed as crosshair cursors with different colors, the first control is displayed as a circular icon containing multiple arrows pointing in different directions, and the second control is displayed as a circular icon containing a checkmark.

[0015] For example, in response to a seventh operation of the user controlling the trackball, the currently active measurement positioning point is moved, and the cursor of the trackball is displayed at the position of the currently active measurement positioning point.

[0016] According to a second aspect of the present invention, a measuring device for a touchscreen is also provided, comprising:

[0017] The measurement activation module is used to activate a measurement positioning point at a first position in response to a measurement operation, and to display the currently activated measurement positioning point and the control group corresponding to the currently activated measurement positioning point. The first position is the current position of the currently activated measurement positioning point corresponding to the measurement operation. The control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed.

[0018] The movement module is used to perform a corresponding movement operation on the currently active measurement positioning point and the control group in response to a first operation on the first control;

[0019] The confirmation module is used to freeze the currently active measurement positioning point at the current position in response to the second operation on the second control, and to determine the measurement result based on the first position and the frozen position.

[0020] According to a third aspect of the present invention, an electronic device is also provided, comprising: a processor and a memory, wherein the memory stores computer program instructions, which, when executed by the processor, are used to perform the above-described touchscreen measurement method.

[0021] According to a fourth aspect of the present invention, a storage medium is also provided, on which program instructions are stored, which, when executed, are used to perform the above-described touchscreen measurement method.

[0022] According to a fifth aspect of the present invention, a computer program product is also provided, comprising computer program instructions that, when executed, perform the above-described touchscreen measurement method.

[0023] In the above technical solution, in response to a measurement operation, a measurement positioning point is activated at a first position, and the currently activated measurement positioning point and its corresponding control group are displayed. The first position is the current position of the currently activated measurement positioning point corresponding to the measurement operation. The control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed. Then, in response to a first operation on the first control, a corresponding movement operation is performed on the currently activated measurement positioning point and the control group. Subsequently, in response to a second operation on the second control, the currently activated measurement positioning point is frozen at its current position, and the measurement result is determined based on the first position and the frozen position. This allows the measurement positioning point and its corresponding control group to move synchronously, and the controls in the control group will not obstruct the measurement positioning point. The second control in the control group provides convenience to the user and prevents accidental changes in the measurement positioning point when determining the measurement result. This allows users to conveniently and accurately measure medical images on a touchscreen and optimizes the user experience.

[0024] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0025] The above and other objects, features, and advantages of the present invention will become more apparent from the more detailed description of the embodiments of the invention in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same parts or steps.

[0026] Figure 1 A schematic flowchart of a touchscreen measurement method according to an embodiment of the present invention is shown.

[0027] Figure 2 A schematic diagram of a currently active measurement positioning point and its corresponding control group is shown according to an embodiment of the present invention.

[0028] Figure 3 A schematic flowchart illustrating the display of measurement positioning points according to an embodiment of the present invention is shown.

[0029] Figure 4 A schematic diagram illustrating the movement of a currently active measurement positioning point according to an embodiment of the present invention is shown.

[0030] Figure 5A schematic flowchart illustrating the determination of a connection based on a measurement method according to an embodiment of the present invention is shown.

[0031] Figure 6 A schematic flowchart illustrating the determination of a measurement mode in response to a fifth operation on a fifth control, according to an embodiment of the present invention, is shown.

[0032] Figure 7 A schematic flowchart illustrating the determination of connections according to an elliptical arrangement is shown according to an embodiment of the present invention.

[0033] Figure 8 A schematic diagram showing the determination of the connection according to an ellipse according to an embodiment of the present invention is shown.

[0034] Figure 9 A schematic block diagram of a touchscreen measuring device according to an embodiment of the present invention is shown.

[0035] Figure 10 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely a part of the embodiments of the present invention, and not all of the embodiments of the present invention. It should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described herein, all other embodiments obtained by those skilled in the art without inventive effort should fall within the protection scope of the present invention.

[0037] To at least partially address the aforementioned problems, a touchscreen measurement method is proposed. In response to a measurement operation, the method activates a measurement positioning point at a first position and displays the currently activated measurement positioning point and its corresponding control group. The first position is the current cursor position, and the control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed. Furthermore, in response to a first operation on the first control, a corresponding movement operation is performed on the currently activated measurement positioning point and the control group, where the second position is the current position of the currently activated measurement positioning point. In response to a second operation on the second control, the currently activated measurement positioning point is frozen at its current position, and the measurement result is determined based on the first position and the frozen position. This allows users to conveniently and accurately measure medical images on a touchscreen.

[0038] Figure 1A schematic flowchart of a touchscreen measurement method according to an embodiment of the present invention is shown. Figure 1 As shown, the measurement method of the touch screen may include steps S110 to S130.

[0039] In step S110, in response to the measurement operation, a measurement positioning point is activated at a first position, and the currently activated measurement positioning point and the control group corresponding to the currently activated measurement positioning point are displayed. The first position is the current position of the currently activated measurement positioning point corresponding to the measurement operation. The control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed.

[0040] The measurement operation can be any action performed by the user before the measurement begins to indicate the start of the measurement. For example, a measurement operation can be a touch operation by the user on a designated control on the touchscreen when a measurable medical image is displayed. This touch operation can include clicking, pressing, swiping, etc. The designated control can be a button, switch, option, etc., independent of the touchscreen and usable to start the measurement. The designated control can also be an icon, switch, option, etc., displayed on the touchscreen. The user can initiate the measurement operation on the designated control to indicate the start of the measurement. Medical images can include ultrasound images, CT images, etc. In response to the measurement operation, the currently active measurement location and its corresponding control group can be continuously displayed unless the user ends the measurement.

[0041] The first position refers to the initial position of the currently active measurement location point when the measurement operation begins and the point has not been moved. This initial position can be a fixed position or determined based on a user-selected position. For example, when measuring an ultrasound image, the user can click on a location on the ultrasound image to initiate the measurement operation; in this case, the first position can be the location of that click. Alternatively, the user can click the "Start Measurement" option to initiate the measurement operation; in this case, the first position can be a fixed position. The fixed position can be a specific location on the medical image being measured or within the current user interface; this specific location can be the center, edge, etc.

[0042] Control groups can be regular shapes, such as rectangles, circles, and polygons, or irregular shapes. Control groups are used to control measurement positioning points. The currently active measurement positioning point and the controls in the control group are separate and their relative positions are fixed, meaning the position of the currently active measurement positioning point is bound to the position of the controls in the control group. When the position of the currently active measurement positioning point changes, the positions of the controls in the control group also change to maintain their relative positions with the currently active measurement positioning point, and these controls will not obscure the currently active measurement positioning point.

[0043] In step S120, the control group includes a first control and a second control. In response to a first operation on the first control, a corresponding movement operation is performed on the currently active measurement positioning point and the control group.

[0044] Figure 2 A schematic diagram of a currently active measurement positioning point and its corresponding control group is shown according to an embodiment of the present invention.

[0045] like Figure 2 As shown, the control group can be a circular control menu, with the currently active measurement location point at the center of its corresponding control group. Other controls in the control group can surround or be distributed around the currently active measurement location point. The control group can include a first control and a second control. For example, different icons, cursors, and text can be used to represent the currently active measurement location point and the corresponding controls in the control group for display. For instance, the currently active measurement location point can be displayed as a crosshair cursor, the first control as a circular icon containing multiple arrows pointing in different directions, and the second control as a circular icon containing a checkmark.

[0046] For example, you can use Qt or similar tools to set up a circular panel, then bind the center of the panel to the center of the measurement positioning point, and then place some controls (such as first control, second control, etc.) around the circular panel to obtain a control group.

[0047] The first operation can be to control the movement of the first control, such as pressing and sliding the first control, or inputting a movement command for the first control. Because the relative positions between the currently active measurement positioning point and the controls in the control group are fixed, the first control and the currently active measurement positioning point will move synchronously.

[0048] For example, after performing the corresponding movement operation on the currently active measurement positioning point and control group, if no user is detected to perform the next first operation, the currently active measurement positioning point and control group can be temporarily kept in the current position until the user is detected to perform the next first operation.

[0049] In step S130, in response to the second operation on the second control, the currently active measurement positioning point is frozen at the current position, and the measurement result is determined based on the first position and the frozen position.

[0050] The second operation may include clicking the second control, inputting a command to select the second control, etc. When the user performs the second operation, it indicates that the measurement location corresponding to this measurement has been determined, namely the first location and the frozen location. At this time, tissue parameters in the medical image between these two locations can be measured based on the first location and the frozen location. For example, the distance between the first location and the frozen location can be determined as the measurement result. Alternatively, the area of ​​the tissue between these two locations can be determined based on the first location and the frozen location as the measurement result. Note that the measurement location point in the frozen state cannot be moved according to the first operation.

[0051] For example, the second operation may also include clicking on a non-control area within the control group. Clicking on a non-control area within the control group can also freeze the active measurement location point at its current position.

[0052] Understandably, separating the first and second controls prevents accidental activation of the first control from changing the currently active measurement location. Furthermore, the second control is also bound to the currently active measurement location, allowing users to easily perform a second operation to obtain measurement results.

[0053] In the above technical solution, in response to a measurement operation, a measurement positioning point is activated at a first position, and the currently activated measurement positioning point and its corresponding control group are displayed. The first position is the current position of the currently activated measurement positioning point corresponding to the measurement operation. The control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed. Then, in response to a first operation on the first control, a corresponding movement operation is performed on the currently activated measurement positioning point and the control group. Subsequently, in response to a second operation on the second control, the currently activated measurement positioning point is frozen at the moved current position, and the measurement result is determined based on the first position and the frozen position. This allows the measurement positioning point and its corresponding control group to move synchronously, and the controls in the control group will not obstruct the measurement positioning point. The second control in the control group provides convenience to the user and prevents accidental changes in the measurement positioning point when determining the measurement result. This allows users to conveniently and accurately measure medical images on a touchscreen and optimizes the user experience.

[0054] For example, the control group also includes a third control. The above-described touchscreen measurement method may further include step S121: in response to a third operation on the third control, freezing the currently active measurement positioning point at the current position, and activating the frozen measurement positioning point corresponding to the third operation.

[0055] The third operation is used to switch between different active measurement points. For example, the third operation may include clicking the third control, sliding the third control, or inputting the command corresponding to the currently active measurement point. Users can switch between different active measurement points using the third operation on the third control, and then move the currently active measurement point according to the first operation.

[0056] There can be multiple frozen activation points, so a control group can contain multiple third controls to activate different frozen measurement points. Alternatively, a control group can contain only one third control. In this case, the third operation can also include multiple operations, each used to activate different frozen measurement points. For example, sliding the third control in different directions can activate different frozen measurement points. Another example is that the third operation can contain only one operation, such as clicking, sliding, or other single operations on the third control. Based on the third operation, the currently active measurement point can be frozen, and the oldest frozen measurement point among the currently frozen measurement points can be activated. The specific frozen measurement point to activate can be set according to actual needs.

[0057] In the above technical solution, in response to a third operation on the third control, the currently active measurement positioning point is frozen at its current position, and the frozen measurement positioning point corresponding to the third operation is activated. This allows the frozen measurement positioning point to be reactivated as needed, thereby flexibly changing the position of the measurement positioning point for more flexible measurement.

[0058] Figure 3 A schematic flowchart illustrating the display of measurement positioning points according to an embodiment of the present invention is shown. Figure 3 As shown, the above-mentioned touch screen measurement method may further include steps S310 to S320.

[0059] In step S310, when the currently active measurement positioning point moves away from the first position, the frozen measurement positioning point is displayed at the first position.

[0060] Displaying the frozen measurement location point in the first position allows users to intuitively perceive that the currently active measurement location point has been moved.

[0061] For example, when the currently active measurement location point has not been moved from the first position, the currently active measurement location point can cover the frozen measurement location point displayed in the first position.

[0062] In step S320, when the currently active measurement positioning point is frozen, the frozen measurement positioning point is displayed at the target location, wherein the frozen measurement positioning point and the currently active measurement positioning point are displayed in different styles.

[0063] For example, different icons (shape, color, size, text, etc.) can be used to represent frozen measurement points and currently active measurement points for display. For instance, frozen measurement points can be displayed as crosshair icons, while currently active measurement points can be displayed as circular icons. Alternatively, both currently active and frozen measurement points can be displayed as crosshair cursors, but with different colors; frozen measurement points could be displayed as yellow crosshair cursors, while currently active measurement points could be displayed as green crosshair cursors.

[0064] In the above technical solution, when the currently active measurement positioning point moves away from the first position, a frozen measurement positioning point is displayed at the first position. Conversely, when the currently active measurement positioning point is frozen, the frozen measurement positioning point is displayed at the target position. The frozen measurement positioning point and the currently active measurement positioning point are displayed in different styles. This allows the user to intuitively perceive the change in the position of the currently active measurement positioning point and the status of the currently operated measurement positioning point, facilitating accurate movement of the currently active measurement positioning point and more precisely determining the position of the measurement positioning point used to obtain measurement results, thus ensuring accurate acquisition of the measurement results.

[0065] For example, the control group also includes a fourth control, and the above-described touch screen measurement method may further include step S122: in response to a fourth operation on the fourth control, edit the control group.

[0066] The fourth operation includes clicking the fourth control, sliding the fourth control, and entering instructions to edit the control group. After detecting the user's fourth operation, the controls in the control group become editable. At this time, the user can change the relative position between the control and the currently active measurement positioning point, the style of the control and control group, and the corresponding function of the control. The style of the control and control group can include its shape, size, and transparency. For example, when a control group obscures part of a medical image area, the user can use the fourth operation to edit the control group, adjust its size, and / or reduce its transparency to prevent the controls in the group from obscuring the specified area.

[0067] In the above technical solution, the control group is edited in response to the fourth operation on the fourth control. This allows the control group to be adjusted according to user needs to better meet those needs.

[0068] For example, for each control in the control group, the style displayed when the control is being operated on is different from the style displayed when it is not being operated on.

[0069] For example, the style displayed when a control is being manipulated can differ from the style displayed when it is not being manipulated, including color, size, and shape. One or more of these corresponding styles will differ between when the control is being manipulated and when it is not. This allows the user to intuitively perceive the currently manipulated control.

[0070] Figure 4 A schematic diagram illustrating the movement of a currently active measurement positioning point according to an embodiment of the present invention is shown.

[0071] like Figure 4 As shown, when the currently active measurement positioning point is moved according to the first operation, the first control is operated. The color displayed when the control is being operated differs from the color displayed when it is not being operated. Figure 2 The colors displayed are different. Furthermore, the style of the frozen measurement location point displayed in the first position is different from the style of the currently active measurement location point; for example, the colors are different.

[0072] For example, the above-described touchscreen measurement method may further include step S123: in response to a seventh operation targeting a target location outside the control group, performing a corresponding movement operation on the currently activated measurement positioning point and the control group, so that the first control moves to the target location.

[0073] The seventh operation can include clicking on a target location outside the control group, or inputting a command to enter the target location. For example, a user can click on a target location outside the control group to directly move the currently active measurement point and the control group in a jump-like manner. This allows the currently active measurement point to be moved to a specified location more quickly, without being limited by the first control.

[0074] For example, the control group also includes a fifth control. Figure 5 A schematic flowchart illustrating the determination of a connection based on a measurement method according to an embodiment of the present invention is shown. Figure 5 As shown, the above-mentioned touch screen measurement method may further include steps S510 to S520.

[0075] In step S510, in response to the fifth operation on the fifth control, the measurement mode is determined.

[0076] The fifth operation can include clicking the fifth control, sliding the fifth control, or inputting a measurement method command. Measurement methods can include linear (determining a line segment between the first position and the frozen measurement positioning point), elliptical (determining an ellipse between the first position and the frozen measurement positioning point), and rectangular (determining a rectangle between the first position and the frozen measurement positioning point), etc.

[0077] Different types of fifth operations can correspond one-to-one with different measurement methods. For example, responding to a user clicking the fifth control indicates that the measurement method is a straight line. Responding to a user sliding the fifth control indicates that the measurement method is an ellipse. Other types of fifth operations are similar and will not be described in detail.

[0078] Different fifth operations of the same type can also correspond one-to-one with different measurement methods. For example, for a sliding operation on the fifth control, responding to the user sliding the fifth control to the right, the measurement method can be determined as a straight line; responding to the user sliding the fifth control to the left, the measurement method can be determined as an ellipse. Other different fifth operations of the same type are similar and will not be described in detail.

[0079] In step S520, the connection between the currently active measurement positioning point and the first position is determined according to the measurement method, wherein the connection is displayed when the currently active measurement positioning point moves away from the first position.

[0080] For example, when the measurement mode is linear, the line segment between the first position and the currently active measurement point can be displayed, using the first position and the currently active measurement point as endpoints. When the measurement mode is elliptical, the ellipse between the first position and the currently active measurement point can be displayed, using the first position and the currently active measurement point as points on the edge of the ellipse. When the measurement mode is rectangular, the rectangle between the first position and the currently active measurement point can be displayed, using the first position and the currently active measurement point as points on the edge of the rectangle. Other measurement modes are similar and will not be detailed here.

[0081] For example, such as Figure 4 As shown, when the measurement mode is linear, the line segment between the first position and the currently active measurement positioning point can be displayed.

[0082] In the above technical solution, in response to the fifth operation on the fifth control, the measurement method is determined. Then, based on the measurement method, the connection between the currently active measurement positioning point and the first position is determined. The connection is displayed when the currently active measurement positioning point moves away from the first position. This allows the user to intuitively perceive the possible measurement results of the current measurement method and select the appropriate measurement method according to their needs.

[0083] Figure 6 A schematic flowchart illustrating the determination of a measurement mode in response to a fifth operation on a fifth control, according to an embodiment of the present invention, is shown. Figure 6 As shown, step S310 may include steps S311 and S312.

[0084] In step S311, in response to the fifth operation on the fifth control, multiple sixth controls are displayed, wherein different sixth controls correspond to different measurement methods.

[0085] For example, in response to the fifth action, multiple sixth controls can be additionally displayed in the current interface of the control group. Each sixth control can have a different style. For instance, the sixth control representing an ellipse can be displayed as an ellipse icon, and the sixth control representing a rectangle can be displayed as a rectangle icon.

[0086] For example, in response to the fifth action, some controls in the current interface of the control group can be temporarily removed or hidden, and multiple sixth controls can be additionally displayed in the current interface of the control group.

[0087] For example, in response to the fifth action, the current interface of the control group can be switched to another level of interface, and multiple sixth controls can be displayed in the switched interface.

[0088] In step S312, in response to a sixth operation on one of a plurality of sixth controls, the measurement method corresponding to the operated sixth control is determined.

[0089] The sixth operation may include clicking the sixth control, sliding the fifth control, or inputting instructions on the measurement method.

[0090] In the above technical solution, in response to a fifth operation on the fifth control, multiple sixth controls are displayed, each corresponding to a different measurement method. Then, in response to a sixth operation on one of the multiple sixth controls, the measurement method corresponding to the operated sixth control is determined. This avoids the situation where there are too many controls in the control group and they obscure each other, making it easier for users to operate the controls.

[0091] For example, the measurement method includes an elliptical method. Figure 7 A schematic flowchart illustrating the determination of connections according to an elliptical arrangement based on an embodiment of the present invention is shown. Figure 7 As shown, the above-mentioned touch screen measurement method may further include steps S710 to S730.

[0092] In step S710, during the process of the currently active measurement positioning point moving from the first position, an ellipse with the first connecting line as its major axis is displayed, wherein the first connecting line is the line segment between the first position and the current position of the currently active measurement positioning point.

[0093] After determining the measurement method as ellipse mode, based on the user's first operation, the currently active measurement positioning point can be moved from its first position. The ellipse is then determined and displayed in real time, using the line segment between the first position and the current position of the currently active measurement positioning point as its major axis. The length of the minor axis of this determined ellipse can be fixed or vary with the major axis. When displaying the ellipse, the first connecting line may or may not be shown.

[0094] In step S720, when the currently active measurement positioning point is frozen, the measurement positioning point is activated at the position of the first intersection between the minor axis of the ellipse and the ellipse.

[0095] When the measurement mode is ellipse mode, the currently active measurement positioning point in step S710 can be frozen based on the user's second operation or the third operation on the third control. Then, a new measurement positioning point is activated at the first intersection point of the ellipse's minor axis and the ellipse. The first intersection point is one of the intersection points of the ellipse's minor axis and the ellipse.

[0096] After a measurement location point is activated, it can be displayed as the currently active measurement location point.

[0097] In step S730, during the movement operation of the currently active measurement positioning point along the minor axis from the position of the first intersection point, the ellipse is updated according to the first connection line and the current position of the currently active measurement positioning point.

[0098] Because the measurement points at the two intersections between the major axis and the ellipse are frozen and cannot be moved, the currently active measurement point can only be moved along the minor axis. Based on the user's first action, the currently active measurement point can be moved from the position of the first intersection point along the minor axis, thereby changing the length of the minor axis and the corresponding shape of the ellipse. Furthermore, the ellipse is updated and displayed based on the first connecting line and the current position of the currently active measurement point.

[0099] Once the ellipse is determined, the user can perform a second operation on the second control to determine the range of the ellipse, and then measure the ellipse to obtain the measurement result.

[0100] Figure 8 A schematic diagram showing the determination of the connection according to an ellipse according to an embodiment of the present invention is shown.

[0101] like Figure 8As shown, during the movement operation of the currently active first measurement positioning point from its first position, the frozen measurement positioning point at the first position, an ellipse with the first connecting line as its major axis, the currently active first measurement positioning point, and the corresponding control group are displayed. When the currently active first measurement positioning point is frozen (e.g., in response to a second operation), the second measurement positioning point is activated at the first intersection point between the minor axis of the ellipse and the ellipse, and the corresponding control group is displayed. During the movement operation of the currently active second measurement positioning point from its first intersection point along its minor axis, the ellipse is updated based on the first connecting line and the current position of the currently active second measurement positioning point. The first connecting line may not be displayed when the ellipse is displayed. Afterwards, when the currently active second measurement positioning point is frozen (e.g., in response to a second operation), the ellipse is determined, and measurements are performed based on the determined ellipse. If the user believes that the confirmed ellipse does not meet their requirements, a third operation can be used to switch the currently active measurement positioning point, and the currently active measurement positioning point can be moved using the first operation.

[0102] In the above technical solution, during the movement of the currently activated measurement positioning point from the first position, an ellipse with a first connecting line as its major axis is displayed. The first connecting line is the line segment between the first position and the current position of the currently activated measurement positioning point. Then, when the currently activated measurement positioning point is frozen, it is activated at the first intersection point between the minor axis and the ellipse. Subsequently, during the movement of the currently activated measurement positioning point from the first intersection point along the minor axis, the ellipse is updated based on the first connecting line and the current position of the currently activated measurement positioning point. This allows for a relatively accurate determination of the ellipse used for measurement and enables the measurement of medical images within the elliptical region.

[0103] For example, the above-described touchscreen measurement method may further include step S140: in response to a seventh operation of the user controlling the trackball, moving the currently active measurement positioning point and displaying the trackball cursor at the position of the currently active measurement positioning point.

[0104] The seventh operation can be the sliding of the trackball. The currently active measurement point can be bound to the trackball cursor. When the user wants to move the currently active measurement point using the trackball, the trackball cursor will be displayed directly at the position of the currently active measurement point for user convenience. Because the relative position between the control group and the currently active measurement point is fixed, the control group and the trackball cursor can also be bound, thus displaying the trackball cursor at the position of the currently active measurement point.

[0105] Figure 9 A schematic block diagram of a measuring device for a touchscreen according to an embodiment of the present invention is shown. Figure 9As shown, the measurement device for the touch screen includes a measurement activation module 910, a movement module 920, and a confirmation module 930.

[0106] The measurement activation module 910 is used to respond to a measurement operation, activate a measurement positioning point at a first position, and display the currently activated measurement positioning point and the control group corresponding to the currently activated measurement positioning point. The first position is the current position of the cursor, and the control group includes a first control and a second control. The currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed.

[0107] The movement module 920 is used to perform a corresponding movement operation on the currently active measurement positioning point and the control group in response to a first operation on the first control, wherein the second position is the current position of the currently active measurement positioning point.

[0108] The confirmation module 930 is used to freeze the currently active measurement positioning point at the current position in response to the second operation on the second control, and to determine the measurement result based on the first position and the frozen position.

[0109] For example, the control group further includes a third control, and the measurement device of the touch screen may also include a switching module. The switching module is used to freeze the currently active measurement positioning point at the current position and activate the frozen measurement positioning point corresponding to the third operation in response to a third operation on the third control.

[0110] For example, the measuring device of the touch screen described above may further include a first display module and a second display module. The first display module is used to display a frozen measuring positioning point at the first position when the currently active measuring positioning point moves away from the first position. The second display module is used to display the frozen measuring positioning point at the target position when the currently active measuring positioning point is frozen; wherein the frozen measuring positioning point and the currently active measuring positioning point are displayed in different styles.

[0111] For example, the control group further includes a fourth control, and the measuring device of the touchscreen may also include an editing module. The editing module is used to edit the control group in response to a fourth operation on the fourth control.

[0112] For example, for each control in the control group, the style displayed when the control is being operated is different from the style displayed when it is not being operated.

[0113] For example, the measurement device of the touchscreen described above may further include a second movement module. The second movement module is configured to, in response to a seventh operation targeting a target location outside the control group, perform a corresponding movement operation on the currently active measurement positioning point and the control group, so that the first control moves to the target location.

[0114] For example, the control group further includes a fifth control, and the measuring device of the touch screen may also include a measurement method determination module and a wiring module.

[0115] The measurement method determination module is used to determine the measurement method in response to a fifth operation on the fifth control. The connection module is used to determine the connection between the currently active measurement positioning point and the first position according to the measurement method; wherein, the connection is displayed when the currently active measurement positioning point moves away from the first position.

[0116] For example, the measurement method determination module includes a first determination submodule and a second determination submodule. The first determination submodule is used to display a plurality of sixth controls in response to a fifth operation on the fifth control, wherein different sixth controls correspond to different measurement methods. The second determination submodule is used to determine the measurement method corresponding to the operated sixth control in response to a sixth operation on one of the plurality of sixth controls.

[0117] For example, the measurement method includes an elliptical method, and the measurement device of the touch screen may further include a first measurement module, a second measurement module, and a third measurement module.

[0118] The first measurement module is used to display an ellipse with a first connecting line as its major axis during the movement operation of the currently active measurement positioning point from the first position. The first connecting line is the line segment between the first position and the current position of the currently active measurement positioning point. The second measurement module is used to activate the measurement positioning point at the first intersection point between the minor axis of the ellipse and the ellipse when the currently active measurement positioning point is frozen. The third measurement module is used to update the ellipse based on the first connecting line and the current position of the currently active measurement positioning point during the movement operation of the currently active measurement positioning point from the first intersection point along the direction of the minor axis.

[0119] For example, the currently active measurement positioning point and the frozen measurement positioning point are displayed as crosshair cursors with different colors, the first control is displayed as a circular icon containing multiple arrows pointing in different directions, and the second control is displayed as a circular icon containing a checkmark.

[0120] For example, the measurement device of the touch screen described above may further include a third motion module. The third motion module is used to move the currently active measurement positioning point in response to a seventh operation of the user controlling the trackball, and to display the cursor of the trackball at the position of the currently active measurement positioning point.

[0121] According to another aspect of the present invention, an electronic device is also provided. Figure 10A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. Figure 10 As shown, the electronic device includes a processor and a memory, wherein the memory stores computer program instructions that are executed by the processor to perform the measurement method of the touch screen as described above.

[0122] Furthermore, according to another aspect of the present invention, a storage medium is provided, on which program instructions are stored. When the program instructions are executed by a computer or processor, the computer or processor performs corresponding steps of the touchscreen measurement method described above according to the embodiments of the present invention, and is used to implement corresponding modules in the touchscreen measurement apparatus described above according to the embodiments of the present invention. The storage medium may, for example, include a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0123] According to another aspect of the present invention, a computer program product is also provided, including computer program instructions, which, when executed, are used to perform the above-described touchscreen measurement method.

[0124] Those skilled in the art will be able to understand the specific implementation and beneficial effects of the above-described measurement device, electronic device, storage medium, and computer program product for touch screens by reading the detailed description of the measurement method for touch screens above. For the sake of brevity, they will not be described in detail here.

[0125] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of the invention. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of the invention. All such changes and modifications are intended to be included within the scope of the invention as claimed in the appended claims.

[0126] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.

[0128] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0129] Similarly, it should be understood that, in order to streamline the invention and aid in understanding one or more of the various aspects of the invention, features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of the invention. However, this approach should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, its inventive point lies in solving the corresponding technical problem with fewer features than all of those in a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0130] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0131] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.

[0132] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules in the measuring device for a touchscreen according to embodiments of the present invention. The present invention can also be implemented as a device program (e.g., a computer program and computer program product) for performing some or all of the methods described herein. Such programs implementing the present invention can be stored on a computer-readable medium or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0133] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0134] The above description is merely a specific embodiment of the present invention or an explanation of that embodiment. The scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. The scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for measuring a touchscreen, characterized in that, The method includes: In response to a measurement operation, a measurement positioning point is activated at a first position, and the currently activated measurement positioning point and the control group corresponding to the currently activated measurement positioning point are displayed. The first position is the current position of the currently activated measurement positioning point corresponding to the measurement operation, and the currently activated measurement positioning point and the controls in the control group are separated from each other and their relative positions are fixed. The control group includes a first control and a second control. In response to the first operation on the first control, a corresponding movement operation is performed on the currently active measurement positioning point and the control group; In response to a second operation on the second control, the currently active measurement positioning point is frozen at its current position, and the measurement result is determined based on the first position and the frozen position.

2. The method according to claim 1, characterized in that, The control group also includes a third control, and the method further includes: In response to a third operation on a third control, the currently active measurement positioning point is frozen at its current position, and the frozen measurement positioning point corresponding to the third operation is activated.

3. The method according to claim 1, characterized in that, The method further includes: When the currently active measurement location point moves away from the first location, the frozen measurement location point is displayed at the first location; and When the currently active measurement location point is frozen, the frozen measurement location point is displayed at the target location; The frozen measurement positioning points and the currently active measurement positioning points are displayed in different styles.

4. The method according to claim 1, characterized in that, The control group further includes a fourth control, and the method includes: In response to the fourth operation on the fourth control, the control group is edited.

5. The method according to claim 1, characterized in that, For each control in the control group, the style displayed when the control is being operated is different from the style displayed when it is not being operated.

6. The method according to claim 1, characterized in that, The method further includes: In response to a seventh operation targeting a target location outside the control group, a corresponding movement operation is performed on the currently active measurement positioning point and the control group, so that the first control moves to the target location.

7. The method according to any one of claims 1-6, characterized in that, The control group also includes a fifth control, and the method further includes: In response to a fifth operation on the fifth control, the measurement method is determined; Based on the measurement method, determine the line connecting the currently activated measurement positioning point and the first position; The connection line is displayed when the currently active measurement positioning point moves away from the first position.

8. The method according to claim 7, characterized in that, The step of determining the measurement method in response to a fifth operation on the fifth control includes: In response to a fifth operation on the fifth control, multiple sixth controls are displayed, each of which corresponds to a different measurement method; In response to a sixth operation on one of the plurality of sixth controls, a measurement method corresponding to the operated sixth control is determined.

9. The method according to claim 7, characterized in that, The measurement method includes an elliptical method. The method further includes: During the movement of the currently active measurement positioning point from the first position, an ellipse with the first connecting line as its major axis is displayed, wherein the first connecting line is the line segment between the first position and the current position of the currently active measurement positioning point. When the currently active measurement positioning point is frozen, the measurement positioning point is activated at the position of the first intersection between the minor axis of the ellipse and the ellipse. During the movement of the currently active measurement positioning point along the direction of the minor axis from the position of the first intersection point, the ellipse is updated based on the first connecting line and the current position of the currently active measurement positioning point.

10. The method according to claim 1, characterized in that, The currently active measurement positioning point and the frozen measurement positioning point are displayed as crosshair cursors with different colors. The first control is displayed as a circular icon containing multiple arrows pointing in different directions, and the second control is displayed as a circular icon containing a checkmark.

11. The method according to claim 1, characterized in that, The method further includes: In response to the seventh operation of the user controlling the trackball, the currently active measurement positioning point is moved, and the cursor of the trackball is displayed at the position of the currently active measurement positioning point.

12. An electronic device comprising a processor and a memory, characterized in that, The memory stores computer program instructions, which, when executed by the processor, are used to perform the touchscreen measurement method as described in any one of claims 1 to 11.

13. A storage medium on which program instructions are stored, characterized in that, The program instructions, when executed, are used to perform the touchscreen measurement method as described in any one of claims 1 to 11.

14. A computer program product comprising computer program instructions, characterized in that, The computer program instructions, when executed, are used to perform the measurement method of the touchscreen as described in any one of claims 1 to 11.