Method, device, equipment and storage medium for changing medical terminal interface layout

By detecting user interaction operations and determining the expansion position of the target form, the problem of operational obstacles caused by the complexity of interaction methods in medical products is solved, the flexible transformation of the medical terminal interface layout is realized, and the usability and ease of use of the product are improved.

CN113918058BActive Publication Date: 2025-01-21SHENZHEN COMEN MEDICAL INSTR
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111168200.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-01-21
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Among the existing medical products, there are differences and complexity in the interaction between the user-screen-products, resulting in defects in fixed form layout, hindering operation transparency, increasing user operation costs, reducing the usability and ease of use of medical products. sex.

Method used

Provides a method for transforming the interface layout of a medical terminal. By detecting user interaction, it determines whether it is a preset trigger operation, determines the expansion position of the target window based on the interaction area, and changes the interface layout based on the current display state to achieve the target window. Flexible expansion and hiding of the body.

Benefits of technology

It improves the ease of operation and speed of medical terminal interface layout change, meets the interaction needs of different users, reduces user operation costs, and improves the usability and ease of use of medical products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918058B_ABST
    Figure CN113918058B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, equipment and storage medium for changing the layout of a medical terminal interface. The method includes: if a user's interactive operation on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, and the trigger operation is used to change the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining the target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located; based on the target expansion position and the current display state of the target window on the medical terminal interface, changing the layout of the target window on the medical terminal interface, the current display state includes a hidden state or an expanded state. Through the user's interactive operation on the medical terminal interface and the preset trigger operation, the target window is flexibly changed in the expansion position, which improves the operability and rapidity of the layout change of the medical terminal interface, and is easy to meet the interaction needs of different users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of interface layout, and in particular to a method, device, equipment and storage medium for changing the interface layout of a medical terminal. Background Art

[0002] In existing medical products, the interaction between user, screen and product is different and complex, for example: 1. Posture differences - there are operating postures and observation angles such as sitting, standing, looking straight, squinting, looking up, and looking down at the screen; 2. Product form differences - there are operating forms (physical buttons combined with interface use, equipment adjustment and other human-machine operations), placement (hanging), product form (high / short, wide / narrow), screen form (horizontal / vertical, large / small, special shape, etc.); 3. User physiology (height, arm length,) and habit differences, etc. Complexity is the result of a combination of multiple differences in the product.

[0003] Furthermore, the windows (such as navigation bars and menu bars) that carry information / functions and have high operation frequencies set on the display interface are generally placed horizontally or vertically on the edge of the screen or stored in a deeper level. At this time, in the process of human-computer interaction, the above differences and complexity will fully reflect the defects of the fixed window layout. For example, the box of the Dräger neonatal incubator is 60cm wide, and its interactive screen is placed in the middle and upper part of the box and about 1.5m above the ground. The menu bar on the screen interface is further placed vertically on the right side of the screen. Limited by the width of the product, the height of the screen, the height of the transparent cover that hinders the operation to a certain extent, and the influence of the placement of other products in the neonatal intensive care unit (NICU) scene, when the user stands at different positions of the product or the physiological differences of each user, it is difficult for the user to operate the interface, which leads to the complexity of the interaction. Therefore, there is a lack of an efficient operation that can meet the complex interactive posture changes between the user, the product, and the screen, reduce the user's operating costs, and thus effectively improve the availability and ease of use of medical products. Summary of the invention

[0004] The main purpose of the present invention is to provide a method, device, computer equipment and storage medium for changing the interface layout of a medical terminal, which can solve the problem in the prior art of lacking efficient operations that can meet the complex interactive posture changes between user, product and screen, reduce user operation costs, and thereby effectively improve the availability and ease of use of medical products.

[0005] To achieve the above object, the present invention provides a method for changing the interface layout of a medical terminal in a first aspect, the method comprising:

[0006] If an interactive operation of the user on the interface of the medical terminal is detected, determining whether the interactive operation is a preset trigger operation, the trigger operation being used to change the layout of the target window on the interface of the medical terminal;

[0007] If the interactive operation is the preset trigger operation, determining a target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located;

[0008] Based on the target expansion position and the current display state of the target window on the medical terminal interface, the layout of the target window on the medical terminal interface is changed, and the current display state includes a hidden state or an expanded state.

[0009] In a feasible implementation, if the user's interactive operation on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation also includes:

[0010] Acquire a display area formed by a preset geometric shape corresponding to the target window on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate expansion positions of the target window on the medical terminal interface;

[0011] Determine a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used to indicate that the target window is in an expanded state;

[0012] If the display area is equal to the target area threshold, determining that the current display state of the target window is the expanded state;

[0013] If the display area is smaller than the target area threshold, the current display state of the target window is determined to be the hidden state.

[0014] In a feasible implementation, the interactive operation includes clicking, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes:

[0015] If an interactive operation of the user on the interface of the medical terminal is detected, obtaining a click position of the interactive operation;

[0016] If the click position is within the preset click area of ​​the trigger operation, the interactive operation is determined to be the trigger operation, and the preset click area is a blank area, which is an area on the medical terminal interface where no interface elements are set.

[0017] In a feasible implementation, the interactive operation includes sliding, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes:

[0018] If an interactive operation of the user on the medical terminal interface is detected, an initial sliding position, sliding displacement, sliding trajectory and end sliding position of the interactive operation are obtained;

[0019] If the initial sliding position is within the preset initial sliding area of ​​the trigger operation, and the sliding displacement is greater than or equal to the preset sliding displacement of the trigger operation, and the horizontal angle of the sliding trajectory included in the sliding trajectory is within the horizontal angle range of the preset sliding trajectory of the trigger operation, then the interactive operation is determined to be the trigger operation, and the preset initial sliding area is an area on the medical terminal interface where no interface elements are set.

[0020] In a feasible implementation, the interactive operation includes dragging, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes:

[0021] If an interactive operation of the user on the medical terminal interface is detected, the initial drag position and drag duration of the interactive operation are obtained;

[0022] If the initial drag position is within the preset initial drag area of ​​the trigger operation, and the drag duration is greater than the preset drag duration of the trigger operation, the interactive operation is determined to be a preset trigger operation, and the preset initial drag area is the area to which the current window position corresponding to the target window on the medical terminal interface belongs.

[0023] In a feasible implementation, the changing the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface includes:

[0024] If the current display state of the target window is the expanded state, a first layout transformation animation is generated using the current expanded position, the target expanded position, and the target window, wherein the first layout transformation animation is used to show that the target window moves from the current expanded position to the target expanded position;

[0025] If the current display state of the target window is the hidden state, a second layout transformation animation is generated using the target expansion position and the target window, and the second layout transformation animation is used to show that the target window is expanded at the target expansion position.

[0026] To achieve the above-mentioned object, the second aspect of the present invention provides a device for changing the interface layout of a medical terminal, the device comprising:

[0027] A trigger determination module: used to determine whether a user's interactive operation on the medical terminal interface is a preset trigger operation if the interactive operation is detected, and the trigger operation is used to change the layout of the target window on the medical terminal interface;

[0028] A position determination module: used for determining a target expansion position of a target window on the medical terminal interface according to the area where the interactive operation is located if the interactive operation is the preset trigger operation;

[0029] Window expansion module: used to change the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface, where the current display state includes a hidden state or an expanded state.

[0030] To achieve the above-mentioned purpose, the third aspect of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps shown in the first aspect and any feasible implementation method.

[0031] To achieve the above-mentioned purpose, the fourth aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps shown in the first aspect and any feasible implementation method.

[0032] The embodiments of the present invention have the following beneficial effects:

[0033] The present invention provides a method for changing the layout of a medical terminal interface, the method comprising: if a user's interactive operation on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, the trigger operation is used to change the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining the target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located; based on the target expansion position and the current display state of the target window on the medical terminal interface, changing the layout of the target window on the medical terminal interface, the current display state includes a hidden state or an expanded state. Through the user's interactive operation on the medical terminal interface and the preset trigger operation, the target window is flexibly changed in the expansion position, the ease of operation and the rapidity of the layout change of the medical terminal interface are improved, and the interactive needs of different users are easily met. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] in:

[0036] Figure 1 A schematic flow chart of a method for changing the interface layout of a medical terminal according to an embodiment of the present invention;

[0037] Figure 2 Another schematic diagram of a flow chart of a method for changing the interface layout of a medical terminal according to an embodiment of the present invention;

[0038] Figure 3 is a preset geometric shape corresponding to the display state of the target window on the medical terminal interface in the embodiment of the present invention: wherein 1 is the medical terminal interface, 1-1 is the expanded state of the target window, and 1-2 is the hidden state of the target window;

[0039] FIG4 is a schematic diagram of the layout transformation of the target window in an embodiment of the present invention: FIG4-1(a) and FIG4-1(b) are the layout transformation of the target window under the same preset geometric shape when the current state is the expanded state; FIG4-2 is the layout transformation of the target window under the same preset geometric shape when the current state is the hidden state;

[0040] Figure 5 It is a structural block diagram of a device for changing the interface layout of a medical terminal in an embodiment of the present invention;

[0041] Figure 6 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of a method for changing the interface layout of a medical terminal in an embodiment of the present invention is shown as follows: Figure 1 A method for changing the interface layout of a medical terminal is applied to a medical terminal, and the method specifically comprises the following steps:

[0044] 101. If an interactive operation of a user on the interface of the medical terminal is detected, determine whether the interactive operation is a preset trigger operation, where the trigger operation is used to change the layout of a target window on the interface of the medical terminal;

[0045] In an embodiment of the present invention, the user's interactive operations on the medical terminal interface are detected in real time. When the user's interactive operations on the medical terminal interface are detected, it is further determined whether the interactive operation is a preset trigger operation, and then the interactive purpose corresponding to the user's interactive operations on the medical terminal on the medical terminal interface is executed, wherein the interactive purpose includes but is not limited to setting the operating parameters of the medical terminal, checking the operating status of the medical terminal, and changing the layout of the target window on the medical terminal interface.

[0046] It should be noted that the medical terminal is provided with a touch screen, and the user can interact with the medical terminal through the medical terminal interface displayed on the touch screen. The interactive operation is used for the user to control the medical terminal. The scope of control includes but is not limited to setting operating parameters, querying operating status, starting or shutting down the medical terminal to work, and opening or closing the barrier door of the medical terminal, etc., which are operations for managing the medical terminal. The types of interactive operations include but are not limited to click, long press, slide, press & release, drag, scroll, multi-finger operation, infrared sensing and other interactive gestures. The preset trigger operation includes but is not limited to preset trigger positions, preset trigger strengths, preset trigger angles and other interactive operation-related parameters that can trigger changes in the layout of the target window for each type of interactive operation. The target window is a single window or a combination of multiple windows including prompt information display, function panel, shortcut keys, menu, navigation, etc.

[0047] 102. If the interactive operation is the preset trigger operation, determining a target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located;

[0048] In a feasible implementation, when the interactive operation meets the preset trigger operation, it can be explained that the user's interactive purpose is to change the layout of the target window in the medical terminal interface. Therefore, the target expansion position of the target window in the medical terminal interface is determined according to the area where the interactive operation is located. It can be understood that the interactive operation that meets the preset trigger operation can have different interactive areas, and then the target expansion position of the target window in the medical terminal interface can be determined by the area where each interactive operation is located. This can meet the flexible transformation of the layout of the target window for different interactive operations.

[0049] 103. Based on the target expansion position and the current display state of the target window on the medical terminal interface, change the layout of the target window on the medical terminal interface, where the current display state includes a hidden state or an expanded state.

[0050] It should be noted that the target expansion position is determined by the area where the interactive operation that triggers the operation is located and the current display state of the target window on the medical terminal interface. The current display state may be a hidden state or an expanded state. Then, the layout of the target window with different display states on the medical terminal interface is transformed to achieve flexible layout transformation of the target window.

[0051] It can be understood that the hidden state and the expanded state are two relative display states of the target window on the medical terminal interface. The hidden state means that the target window is in a thumbnail state in the interface, with only an existence mark, and does not display the various function panels, shortcut keys, menus and navigations contained in the target window; the expanded state means that the target window is in a full display state in the interface, and the various function panels, shortcut keys, menus and navigations contained in the target window are displayed in the interface. Furthermore, for different display states, the display forms corresponding to the target window are different.

[0052] The embodiment of the present invention discloses a method, device, equipment and storage medium for changing the layout of a medical terminal interface. The method includes: if a user's interactive operation on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, and the trigger operation is used to change the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining the target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located; based on the target expansion position and the current display state of the target window on the medical terminal interface, changing the layout of the target window on the medical terminal interface, the current display state includes a hidden state or an expanded state. Through the user's interactive operation on the medical terminal interface and the preset trigger operation, the target window is flexibly changed in the expansion position, which improves the operability and rapidity of the layout change of the medical terminal interface, and is easy to meet the interaction needs of different users.

[0053] See also Figure 2 , Figure 2 Another flowchart of a method for changing the interface layout of a medical terminal according to an embodiment of the present invention is shown in FIG. Figure 2 A method for changing the interface layout of a medical terminal is shown and is applied to a medical terminal. The method specifically comprises the following steps:

[0054] 201. Obtain a display area formed by a preset geometric shape corresponding to the target window on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate expansion positions of the target window on the medical terminal interface;

[0055] It should be noted that the preset geometric shape is the interface shape corresponding to the target window preset when designing the UI for the interface, and the target window has two display states, so the target window can be distinguished by the display area of ​​the geometric shape. The display area can be obtained by the "floor area" of the target window in the medical terminal. It can be understood that by obtaining the labels of each interface element and its corresponding interface shape, the coordinate range corresponding to each interface shape can be obtained, so that the display area formed by the interface shape of the target window label in the label of the interface element and the corresponding display area can be obtained.

[0056] For example, see Figure 3 , Figure 3 1 is the preset geometric shape corresponding to the display state of the target window in the medical terminal interface in the embodiment of the present invention: 1 is the medical terminal interface, 1-1 is the expanded state of the target window, and 1-2 is the hidden state of the target window. Figure 3 The target window is set at the edge of the interface of the medical terminal interface 1. For the convenience of the target window operation and the user's cognition, the preset geometric shape corresponding to the target window is set to a rectangle. Further, if the target window is set at the top corner of the medical terminal interface 1, the preset geometric shape corresponding to the target window can be set to an arc such as a fan, which is not limited to this example.

[0057] 202. Determine a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used to indicate that the target window is in an expanded state;

[0058] It is understandable that when the target window is set by default at a certain position on the medical terminal interface, different geometric shapes can be adopted for the sake of convenient operability and user cognitive habits. Therefore, when it corresponds to different preset shapes, in order to distinguish the display status, a target area threshold will also be set for each preset shape to distinguish the display status of the target window.

[0059] 203. If the display area is equal to the target area threshold, determining that the current display state of the target window is the expanded state;

[0060] 204. If the display area is smaller than the target area threshold, determining that the current display state of the target window is the hidden state;

[0061] Continue with Figure 3 For example, if the preset geometric shape of the target window is a polygon, then the target area threshold is the polygon area corresponding to the expanded state, which is not limited in this example. When the preset geometric shape of the target window is a sector, then the target area threshold is the sector area corresponding to the expanded state 1-1, such as 0.33 πR 2 Therefore, further, the current display state of the target window can be determined by obtaining the display area of ​​the preset geometric shape and the target area threshold. When the display area is equal to the target area threshold, it indicates that the target window is in the expanded state; when the display area is less than the target area threshold, it indicates that the target window is in the hidden state.

[0062] It can be understood that in the instantiation of the present invention, by judging the current display state of the target window, the current display state of the target window can be grasped before the layout is changed so as to better perform the layout change of the target window, further reflecting the improvement of the interactive experience and the flexibility of the layout change.

[0063] 205. If an interactive operation of the user on the medical terminal interface is detected, determine whether the interactive operation is a preset trigger operation, where the trigger operation is used to change the layout of the target window on the medical terminal interface;

[0064] 206. If the interactive operation is the preset trigger operation, determining a target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located;

[0065] It should be noted that steps 205 and 206 are partially similar to steps 101 and 102, and are not described here to avoid repetition. For details, please refer to the partial contents of the steps shown in the aforementioned steps 101 and 102.

[0066] In a feasible implementation, the interactive operation includes a click, and step 205 may specifically include the following steps: if an interactive operation of the user on the medical terminal interface is detected, obtain the click position where the interactive operation is located; if the click position is within a preset click area of ​​the trigger operation, determine that the interactive operation is a trigger operation, and the preset click area is a blank area, which is an area on the medical terminal interface where no interface elements are set.

[0067] It should be noted that when the interactive operation is a click, it means that the user is interacting with the medical terminal interface. By judging the click position corresponding to the click and the preset click area of ​​the preset trigger operation, it can be determined whether the click is a preset trigger operation. Exemplarily, the preset click area can be a blank area. If the click position is in the blank area of ​​the trigger operation, it means that the click is a trigger operation for layout transformation of the target window at this time, and the layout of the target window is transformed by the area (click position) where the interactive operation (click) is located. Further, step 206 is if, according to the area where the click is located, the target expansion position of the target window in the medical terminal interface is determined, and the target expansion position is the target position of the layout transformation of the target window, that is, based on the target expansion position, the current position of the target window on the medical terminal interface is transformed to the target expansion position and the target window is expanded.

[0068] For example, please refer to Figure 4, which is a schematic diagram of the layout transformation of the target window in an embodiment of the present invention. Steps 205 and 206 will be exemplarily described below in conjunction with Figure 4: Please refer to Figure 4-1, which is a target window layout transformation under the same preset geometric shape when the current state is the expanded state; the preset geometric shape of the target window in Figure 4-1 is a rectangle, 4-1-1 and 4-1-3 represent the current layout of the target window, and in the layouts of 4-1-1 and 4-1-3, the current display state of the target window in the medical terminal interface is the expanded state, and the difference between 4-1-1 and 4-1-3 is that the expanded position of the target window in the interface is different. Furthermore, in FIG4-1(a), when the user's interactive operation (click S1) on the medical terminal interface is detected, the click position of click S1 is obtained, and further, it is judged whether the click position of click S1 is the preset click area. When the click position of click S1 is a blank area, it means that click S1 satisfies the trigger operation. Therefore, the layout of the target window on the medical terminal interface can be changed. At this time, the target expansion position is the blank area corresponding to the click position of click S1, and then the window layout 4-1-1 corresponding to the target window is changed to 4-1-2; or in FIG4-1(b), the click position of click S2 is obtained, and further, it is judged whether the click position of click S2 is the preset click area. When the click of click S2 is a blank area, it means that click S2 satisfies the trigger operation. Therefore, the layout of the target window on the medical terminal interface can be changed. At this time, the target expansion position is the blank area corresponding to the click position of click S2, and then the window layout 4-1-3 corresponding to the target window is changed to 4-1-4.

[0069] For further information, see Figure 4-2 , Figure 4-2When the current display state of the target window is hidden, the layout of the target window under the same preset geometric shape is transformed; Figure 4-2 The preset geometric shape of the target window in is a rectangle, 4-2-1 represents the current layout of the target window, and the current display state of the target window in the layout of 4-2-1 on the medical terminal interface is a hidden state. Figure 4-2 When the user's interactive operation on the medical terminal interface is detected (click S3), the click position of click S3 is obtained. Further, it is judged whether the click position of click S3 is the preset click area. When the click position of click S3 is a blank area, it means that click S3 satisfies the trigger operation. Therefore, the layout of the target window on the medical terminal interface can be changed. At this time, the target expansion position is the blank area corresponding to the click position of click S3, and then the window layout 4-2-1 corresponding to the target window is changed to 4-2-2, wherein the current display state of the target window in the medical terminal interface in the layout 4-2-2 is the expanded state.

[0070] It can be understood that the target expansion position is used to transform the layout of the target window on the page to the target expansion position and expand the target window at the target expansion position of the interface, so the target window can be jumped and expanded to the target expansion position in time regardless of whether the current display state of the target window is an expanded state or a hidden state, so that the layout of the target window is flexible. Moreover, it is not limited to the current preset geometric shape of the target window, and the layout transformation of the corresponding target window of different preset geometric shapes can be realized. Based on different target expansion positions, the target expansion shape, that is, the target preset geometric shape, can also be determined, so that the layout transformation of the target window is more flexible and changeable, meeting the user's usage needs.

[0071] In a feasible implementation, the interactive operation includes sliding, and step 205 includes: if an interactive operation of the user on the medical terminal interface is detected, the initial sliding position, sliding displacement, sliding trajectory and terminal sliding position of the interactive operation are obtained; if the initial sliding position is within a preset initial sliding area of ​​the trigger operation, and the sliding displacement is greater than or equal to the preset sliding displacement of the trigger operation, and the horizontal angle of the sliding trajectory included in the sliding trajectory is within the horizontal angle range of the preset sliding trajectory of the trigger operation, then the interactive operation is determined to be a trigger operation, and the preset initial sliding area is an area on the medical terminal interface where no interface elements are set.

[0072] It should be noted that the preset sliding displacement can be 1cm, 0.5cm, etc., and the preset horizontal angle interval of the sliding track can be an angle interval such as [+15°, -15°], wherein the horizontal angle of the sliding track is also the horizontal angle of the moving line. It can be understood that the horizontal angle of the sliding track can be determined based on the angle between each track point and the horizontal in the sliding track, and then it can be determined by the angle average of each angle between the track point and the horizontal or the angle between each track point and the horizontal one by one, which is not limited in this example. Further, step 206 can be when the sliding meets the preset trigger operation, then according to the area where the sliding is located, determine the target expansion position of the target window in the medical terminal interface. At this time, the target expansion position can be the area where the sliding is located, it can be a blank area of ​​the preset initial sliding area corresponding to the initial sliding position, it can also be the interface area of ​​the preset initial sliding area corresponding to the terminal sliding position, or it can be the interface area composed of the initial sliding position and the terminal sliding position, and then the target window layout is transformed to the target expansion position. Exemplarily, when the initial sliding position is the preset initial sliding area (blank area), and the sliding displacement and sliding trajectory corresponding to the sliding both satisfy the preset sliding displacement and horizontal angle range corresponding to the trigger operation, the layout of the target window is transformed to the target expansion position, that is, the blank area corresponding to the preset initial sliding area, and expanded.

[0073] In a feasible implementation, the interactive operation includes dragging, and step 205 may include: if a user's interactive operation on the medical terminal interface is detected, obtaining the initial drag position and drag duration of the interactive operation; if the initial drag position is within a preset initial drag area of ​​the trigger operation, and the drag duration is greater than the preset drag duration of the trigger operation, then determining that the interactive operation is a preset trigger operation, and the preset initial drag area is the area to which the target window corresponds to the current window position on the medical terminal interface.

[0074] It should be noted that the preset dragging time includes but is not limited to 2S and other time values. When the user drags the target window beyond the preset dragging time, the layout of the target window can also be changed. At this time, the target expansion position in step 206 can be the end position corresponding to the dragging that satisfies the preset trigger operation. Through the above method, a flexible transformation mode can be achieved in which the target window is expanded "where" the interactive operation is performed on the interface, so that the user can expand the target window in time no matter "where" the interactive operation is performed on the interface, thereby controlling the medical terminal.

[0075] 207. If the current display state of the target window is the expanded state, a first layout transformation animation is generated using the current expanded position, the target expanded position, and the target window, wherein the first layout transformation animation is used to show that the target window moves from the current expanded position to the target expanded position;

[0076] 208. If the current display state of the target window is the hidden state, generate a second layout transformation animation using the target expansion position and the target window, wherein the second layout transformation animation is used to show that the target window is expanded at the target expansion position.

[0077] It should be noted that in order to prevent interface failures from going unnoticed, which in turn leads to the problem that interaction failures cannot be fed back in a timely manner, a layout change animation can be produced based on the current expansion position, target expansion position, and target window to improve the interactive experience, and the first layout transformation animation and the second layout transformation animation can be divided according to different current display states to improve the interactive experience.

[0078] The present invention provides a method for transforming the interface layout of a medical terminal, the method comprising: obtaining a display area formed by a preset geometric shape corresponding to a target window on the medical terminal interface, the preset geometric shape being related to a plurality of preset candidate expansion positions of the target window on the medical terminal interface; determining a target area threshold corresponding to the target window by using the geometric shape, the target area threshold being used to indicate that the target window is in an expanded state; if the display area is equal to the target area threshold, determining that the current display state of the target window is in an expanded state; if the display area is less than the target area threshold, determining that the current display state of the target window is in a hidden state; if a user's interactive operation on the medical terminal interface is detected, determining whether the interactive operation is a preset A trigger operation is set, and the trigger operation is used to change the layout of the target window in the medical terminal interface; if the interactive operation is a preset trigger operation, the target expansion position of the target window in the medical terminal interface is determined according to the area where the interactive operation is located; if the current display state of the target window is the expansion state, the current expansion position, the target expansion position and the target window are used to generate a first layout transformation animation, and the first layout transformation animation is used to show that the target window moves from the current expansion position to the target expansion position; if the current display state of the target window is the hidden state, the target expansion position and the target window are used to generate a second layout transformation animation, and the second layout transformation animation is used to show that the target window is expanded at the target expansion position. By presetting multiple trigger operations, multiple trigger judgments can be made in multiple ways when the user's interactive operation is detected, reducing the user's learning cost for the interactive operation, and making the layout change of the target window more universal and more flexible. In addition, the layout transformation animation is configured for the layout transformation of the target window corresponding to different current display states, which can not only distinguish the layout transformation of the target window corresponding to different current display states, but also improve the interactive experience between the user and the medical terminal.

[0079] See also Figure 5 , Figure 5 FIG. 1 is a structural block diagram of a device for changing the interface layout of a medical terminal according to an embodiment of the present invention. Figure 5 The device shown comprises:

[0080] The trigger determination module 501 is used to determine whether the interactive operation of the user on the medical terminal interface is a preset trigger operation if the interactive operation is detected, and the trigger operation is used to change the layout of the target window on the medical terminal interface;

[0081] Position determination module 502: for determining a target expansion position of a target window on the medical terminal interface according to the area where the interactive operation is located if the interactive operation is the preset trigger operation;

[0082] The window expansion module 503 is used to change the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface, wherein the current display state includes a hidden state or an expanded state.

[0083] It should be noted that Figure 5 The functions of each module in the device shown are Figure 1 The contents of each step in the method are similar, and to avoid repetition, they are not described here. For details, please refer to the aforementioned Figure 1 The contents shown in each step of the method shown.

[0084] The present invention provides a device for changing the layout of a medical terminal interface, the device comprising: a trigger determination module: used to determine whether the interactive operation of a user on the medical terminal interface is a preset trigger operation if the interactive operation is detected, and the trigger operation is used to change the layout of a target window on the medical terminal interface; a position determination module: used to determine the target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located if the interactive operation is a preset trigger operation; a window expansion module: used to change the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface, and the current display state includes a hidden state or an expanded state. Through the interactive operation of the user on the medical terminal interface and the preset trigger operation, the expansion position of the target window is flexibly changed, the ease of operation and the rapidity of the layout change of the medical terminal interface are improved, and the interactive needs of different users are easily met.

[0085] Figure 6 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 6 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. Those skilled in the art can understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0086] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: Figure 1 or Figure 2 The steps of any of the methods shown in .

[0087] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor performs the following steps: Figure 1 or Figure 2 The steps of any of the methods shown in .

[0088] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0089] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for changing the interface layout of a medical terminal, characterized in that: The method comprises: Acquire a display area formed by a preset geometric shape corresponding to a target window on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate expansion positions of the target window on the medical terminal interface; Determine a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used to indicate that the target window is in an expanded state; If the display area is equal to the target area threshold, determining that the current display state of the target window is the expanded state; If the display area is smaller than the target area threshold, determining that the current display state of the target window is a hidden state; If an interactive operation of the user on the interface of the medical terminal is detected, determining whether the interactive operation is a preset trigger operation, the trigger operation being used to change the layout of the target window on the interface of the medical terminal; If the interactive operation is the preset trigger operation, determining a target expansion position of the target window on the medical terminal interface according to the area where the interactive operation is located; Based on the target expansion position and the current display state of the target window on the medical terminal interface, the layout of the target window on the medical terminal interface is changed, and the current display state includes a hidden state or an expanded state; wherein, when the target window is in the hidden state, the hidden state is converted into a displayed state according to the target expansion position and the current display state of the target window on the medical terminal interface, and the target window is displayed in the target expansion position.

2. The method according to claim 1, characterized in that: The interactive operation includes clicking, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes: If an interactive operation of the user on the interface of the medical terminal is detected, obtaining a click position of the interactive operation; If the click position is within the preset click area of ​​the trigger operation, the interactive operation is determined to be the trigger operation, and the preset click area is a blank area, which is an area on the medical terminal interface where no interface elements are set.

3. The method according to claim 1, characterized in that: The interactive operation includes sliding, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes: If an interactive operation of the user on the medical terminal interface is detected, an initial sliding position, sliding displacement, sliding trajectory and end sliding position of the interactive operation are obtained; If the initial sliding position is within the preset initial sliding area of ​​the trigger operation, and the sliding displacement is greater than or equal to the preset sliding displacement of the trigger operation, and the horizontal angle of the sliding trajectory included in the sliding trajectory is within the horizontal angle range of the preset sliding trajectory of the trigger operation, then the interactive operation is determined to be the trigger operation, and the preset initial sliding area is an area on the medical terminal interface where no interface elements are set.

4. The method according to claim 1, characterized in that: The interactive operation includes dragging, and if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation includes: If an interactive operation of the user on the medical terminal interface is detected, the initial drag position and drag duration of the interactive operation are obtained; If the initial drag position is within the preset initial drag area of ​​the trigger operation, and the drag duration is greater than the preset drag duration of the trigger operation, the interactive operation is determined to be a preset trigger operation, and the preset initial drag area is the area to which the current window position corresponding to the target window on the medical terminal interface belongs.

5. The method according to claim 1, characterized in that: The changing the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface includes: If the current display state of the target window is the expanded state, a first layout transformation animation is generated using the current expanded position, the target expanded position, and the target window, wherein the first layout transformation animation is used to show that the target window moves from the current expanded position to the target expanded position; If the current display state of the target window is the hidden state, a second layout transformation animation is generated using the target expansion position and the target window, and the second layout transformation animation is used to show that the target window is expanded at the target expansion position.

6. A device for changing the interface layout of a medical terminal, characterized in that: The device comprises: A trigger determination module: used for acquiring a display area formed by a preset geometric shape corresponding to a target window on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate expansion positions of the target window on the medical terminal interface; Determine a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used to indicate that the target window is in an expanded state; If the display area is equal to the target area threshold, determining that the current display state of the target window is the expanded state; If the display area is smaller than the target area threshold, determining that the current display state of the target window is a hidden state; If an interactive operation of the user on the interface of the medical terminal is detected, determining whether the interactive operation is a preset trigger operation, the trigger operation being used to change the layout of the target window on the interface of the medical terminal; A position determination module: used for determining a target expansion position of a target window on the medical terminal interface according to the area where the interactive operation is located if the interactive operation is the preset trigger operation; A window expansion module: used to change the layout of the target window on the medical terminal interface based on the target expansion position and the current display state of the target window on the medical terminal interface, wherein the current display state includes a hidden state or an expanded state; wherein, when the target window is in the hidden state, the hidden state is converted to a displayed state according to the target expansion position and the current display state of the target window on the medical terminal interface, and the target window is displayed in the target expansion position.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 5.

8. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Interface display method used for mobile terminal and mobile terminal

    CN107015749A