CN113918058A - Medical terminal interface layout transformation method, device, equipment and storage medium - Google Patents

Medical terminal interface layout transformation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113918058A
CN113918058A CN202111168200.4A CN202111168200A CN113918058A CN 113918058 A CN113918058 A CN 113918058A CN 202111168200 A CN202111168200 A CN 202111168200A CN 113918058 A CN113918058 A CN 113918058A
Authority
CN
China
Prior art keywords
medical terminal
target
terminal interface
target window
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111168200.4A
Other languages
Chinese (zh)
Inventor
白雪晶
陈艳楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Comen Medical Instruments Co Ltd
Original Assignee
Shenzhen Comen Medical Instruments Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Comen Medical Instruments Co Ltd filed Critical Shenzhen Comen Medical Instruments Co Ltd
Priority to CN202111168200.4A priority Critical patent/CN113918058A/en
Publication of CN113918058A publication Critical patent/CN113918058A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for changing interface layout of a medical terminal, wherein the method comprises the following steps: if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining a target unfolding position of the target window on the medical terminal interface according to the area where the interactive operation is located; and 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, wherein the current display state comprises a hidden state or an expansion state. The expansion position of the target window is flexibly changed through the interactive operation of the user on the medical terminal interface and the preset triggering operation, so that the operability and the rapidity of the layout change of the medical terminal interface are improved, and the interactive requirements of different users are easily met.

Description

Medical terminal interface layout transformation method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of interface layout, in particular to a method, a device, equipment and a storage medium for changing interface layout of a medical terminal.
Background
In the existing medical products, there are differences and complexities in the interaction modes between the user, the screen and the product, such as: 1. posture difference, namely sitting posture, standing posture, direct vision, oblique vision, upward vision, screen overlooking and other operation postures and observation angles exist; 2. product form difference-there are operation form (physical key combined with man-machine operation such as interface use, equipment adjustment), placing position (suspension), product form (height/short, width/narrow), screen form (horizontal/longitudinal, large/small, special-shaped, etc.); 3. the user's physiology (height, arm length, etc.) and habit differ, etc. Complexity is the result of a product combining multiple differences.
Further, the windows (e.g. navigation bar, menu bar) with high operation frequency and bearing information/functions arranged on the display interface are generally placed at the edge of the screen transversely or longitudinally or accommodated into a deeper level, at this time, in the process of man-machine interaction, the fixed window layout defect is embodied due to the above-mentioned differences and complexities, for example, the width of the case body of the delberg newborn incubator is 60cm, the interactive screen thereof is placed at the middle upper part of the case body and the height of about 1.5m from the ground, the menu bar on the screen interface is further placed at the right side of the screen longitudinally, limited by the width of the product, the height of the screen, the height of the transparent cover which hinders the operation to some extent, and the influence of the placement positions of other products in the neonatal intensive care unit (niccu), when the user stands at different product positions or the physiological differences of each user, making the user's manipulation of the interface difficult and hence the complexity of the interaction. Therefore, an efficient operation which can meet the complicated interaction posture change among the user, the product and the screen is lacked, the operation cost of the user is reduced, and the usability of the medical product can be effectively improved.
Disclosure of Invention
The invention mainly aims to provide a method and a device for changing the interface layout of a medical terminal, a computer device and a storage medium, which can solve the problems that the prior art lacks an efficient operation which can meet the complicated interactive posture change among a user, a product and a screen, the operation cost of the user is reduced, and the availability and the usability of a medical product can be effectively improved.
In order to achieve the above object, a first aspect of the present invention provides a method for transforming an interface layout of a medical terminal, the method comprising:
if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation or not, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
if the interactive operation is the preset trigger operation, determining a target unfolding position of a target window on the medical terminal interface according to the area where the interactive operation is located;
and 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, wherein the current display state comprises a hidden state or an expanded state.
In a feasible implementation manner, if the interaction operation of the user on the medical terminal interface is detected, determining whether the interaction operation is a preset trigger operation, before further comprising:
acquiring a display area formed on the medical terminal interface by a preset geometric shape corresponding to the target window, wherein the preset geometric shape is related to a plurality of preset candidate unfolding 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, wherein the target area threshold is used for indicating 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;
and 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.
In a feasible implementation manner, the interacting operation includes clicking, and determining whether the interacting operation is a preset triggering operation if the interacting operation of the user on the medical terminal interface is detected includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring a click position of the interactive operation;
and if the click position is in a preset click area of the trigger operation, determining that the interactive operation is the trigger operation, wherein the preset click area is a blank area, and the blank area is an area without interface elements on the medical terminal interface.
In a feasible implementation manner, the interactive operation includes sliding, and determining whether the interactive operation is a preset trigger operation if the interactive operation of the user on the medical terminal interface is detected includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial sliding position, a sliding displacement, a sliding track and a termination sliding position of the interactive operation;
and if the initial sliding position is in a preset initial sliding area of the triggering operation, the sliding displacement is greater than or equal to the preset sliding displacement of the triggering operation, and the horizontal angle of the sliding track included in the sliding track is in a horizontal angle interval of the preset sliding track of the triggering operation, determining that the interaction operation is the triggering operation, and the preset initial sliding area is an area on the medical terminal interface where no interface element is arranged.
In a feasible implementation manner, the interacting operation includes dragging, and if the interacting operation of the user on the medical terminal interface is detected, determining whether the interacting operation is a preset triggering operation includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial dragging position and dragging duration of the interactive operation;
and if the initial dragging position is in a preset initial dragging area of the triggering operation, and the dragging time length is greater than the preset dragging time length of the triggering operation, determining that the interaction operation is the preset triggering operation, wherein the preset initial dragging area is an area to which the target window belongs at the current window position corresponding to the medical terminal interface.
In a possible implementation manner, the transforming the layout of the target form in the medical terminal interface based on the target expansion position and the current display state of the target form in the medical terminal interface includes:
if the current display state of the target window is the expanded state, generating a first layout transformation animation by using a current expanded position, the target expanded position and the target window, wherein the first layout transformation animation is used for displaying that the target window moves from the current expanded position to the target expanded position;
and if the current display state of the target window is the hidden state, generating a second layout transformation animation by using the target unfolding position and the target window, wherein the second layout transformation animation is used for showing that the target window is unfolded at the target unfolding position.
In order to achieve the above object, a second aspect of the present invention provides an apparatus for changing an interface layout of a medical terminal, the apparatus comprising:
a trigger determination module: the method comprises the steps of determining whether an interactive operation is a preset trigger operation if the interactive operation of a user on the medical terminal interface is detected, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
a position determination module: the target unfolding position of the target window on the medical terminal interface is determined according to the area where the interaction operation is located if the interaction operation is the preset trigger operation;
and the window unfolding module: and the layout of the target form on the medical terminal interface is changed based on the target expansion position and the current display state of the target form on the medical terminal interface, wherein the current display state comprises a hidden state or an expanded state.
To achieve the above object, a third aspect of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps as shown in the first aspect and any possible implementation manner.
To achieve the above object, a fourth aspect of the present invention provides a computer device, including a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps as shown in the first aspect and any possible implementation manner.
The embodiment of the invention has the following beneficial effects:
the invention provides a method for changing interface layout of a medical terminal, which comprises the following steps: if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining a target unfolding position of the target window on the medical terminal interface according to the area where the interactive operation is located; and changing the layout of the target window on the medical terminal interface based on the target unfolding position and the current display state of the target window on the medical terminal interface, wherein the current display state comprises a hidden state or an unfolding state. The expansion position of the target window is flexibly changed through the interactive operation of the user on the medical terminal interface and the preset triggering operation, the operability and the rapidity of the layout change of the medical terminal interface are improved, and the interactive requirements of different users are easily met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a schematic flow chart of a method for changing an interface layout of a medical terminal according to an embodiment of the present invention;
FIG. 2 is another schematic flow chart of a method for changing interface layout of a medical terminal according to an embodiment of the present invention;
fig. 3 is a preset geometric shape corresponding to a display state of a target window on a medical terminal interface in an embodiment of the present invention: wherein, 1 is a medical terminal interface, 1-1 is an expanded state of a target window, and 1-2 is a hidden state of the target window;
fig. 4 is a schematic diagram of layout transformation of a target frame in the embodiment of the present invention: fig. 4-1(a) and fig. 4-1(b) are diagrams illustrating the layout transformation of the target window in the same preset geometric shape when the current state is the expanded state; 4-2, when the current state is a hidden state, the layout of the target window body in the same preset geometric shape is changed;
FIG. 5 is a block diagram of a medical terminal interface layout conversion apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
Referring to fig. 1, fig. 1 is a flow diagram illustrating a method for transforming an interface layout of a medical terminal according to an embodiment of the present invention, where the method for transforming an interface layout of a medical terminal shown in fig. 1 is applied to a medical terminal, the method specifically includes the following steps:
101. if the interaction operation of the user on the medical terminal interface is detected, determining whether the interaction operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
in the embodiment of the invention, the interactive operation of the user on the medical terminal interface is detected in real time, and when the interactive operation of the user on the medical terminal interface is detected, whether the interactive operation is a preset trigger operation is further judged, so that the interactive purpose corresponding to the interactive operation of the user on the medical terminal interface is executed, wherein the interactive purpose comprises but is not limited to setting the operation parameters of the medical terminal, checking the operation state of the medical terminal and changing the layout of a target window on the medical terminal interface.
It should be noted that the medical terminal is provided with the touch screen, the user may perform an interactive operation with the medical terminal through a medical terminal interface displayed on the touch screen, the interactive operation is used for the user to manage and control the medical terminal, and the management and control range includes, but is not limited to, operations of setting an operation parameter, querying an operation state, starting or closing the medical terminal to work, opening or closing a barrier door of the medical terminal, and the like to manage the medical terminal. The interaction types of the interaction operation include but are not limited to clicking, long pressing, sliding, pressing & releasing, dragging, scrolling, multi-finger operation, infrared induction and other interaction gestures. The preset triggering operation includes, but is not limited to, presetting the relevant parameters of the interactive operation, such as preset triggering position, preset triggering strength, preset triggering angle and the like, of each type of interactive operation capable of triggering and changing the layout of the target window according to the type of the interactive operation. The target window is a single window or a combination of multiple windows comprising prompt information display, a function panel, shortcut keys, menus, navigation and the like.
102. If the interactive operation is the preset trigger operation, determining a target unfolding position of a target window on the medical terminal interface according to the area where the interactive operation is located;
in a feasible implementation manner, when the interactive operation meets the preset triggering operation, it can be stated that the interaction purpose of the user is to change the layout of the target window on the medical terminal interface, and therefore, the target deployment position of the target window on the medical terminal interface is determined according to the area where the interactive operation is located. So as to meet the flexible layout transformation of the target window by different interactive operations.
103. And 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, wherein the current display state comprises a hidden state or an expansion state.
It should be noted that, by satisfying the target unfolding position determined by the region where the interactive operation of the triggering 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 and may be an unfolded state, and then, the layout of the target window in different display states on the medical terminal interface is changed, so as to implement flexible change of the layout of the target window.
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 refers to that the target window presents an abbreviated state in the interface, only a mark exists, and all function panels, shortcut keys, menus, navigation and the like contained in the target window are not shown; the expansion state refers to a state that the target form is in a full display state in the interface, and all function panels, shortcut keys, menus, navigation and the like contained in the displayed target form are displayed in the interface. And further, for different display states, the display forms corresponding to the target forms are different.
The embodiment of the invention discloses a method, a device, equipment and a storage medium for changing interface layout of a medical terminal, wherein the method comprises the following steps: if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining a target unfolding position of the target window on the medical terminal interface according to the area where the interactive operation is located; and 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, wherein the current display state comprises a hidden state or an expansion state. The expansion position of the target window is flexibly changed through the interactive operation of the user on the medical terminal interface and the preset triggering operation, the operability and the speed of the layout change of the medical terminal interface are improved, and the interactive requirements of different users are easily met.
Referring to fig. 2, fig. 2 is another schematic flow chart of a method for transforming an interface layout of a medical terminal according to an embodiment of the present invention, where the method for transforming an interface layout of a medical terminal shown in fig. 2 is applied to a medical terminal, the method specifically includes the following steps:
201. acquiring a display area formed by a preset geometric shape corresponding to the target window body on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate unfolding positions of the target window body on the medical terminal interface;
it should be noted that the preset geometric shape is an interface shape corresponding to a preset target window when UI design is performed on an interface, and the target window has two display states, so that the two display states of the target window can be distinguished through the display area of the geometric shape. The display area can be obtained through the occupied area of the target window body at the medical terminal currently, and it can be understood that the coordinate range corresponding to each interface shape can be obtained through obtaining the label of each interface element and the corresponding interface shape thereof, so that the display area formed for the interface shape of the target window body label in the label of the interface element and the corresponding display area can be obtained.
Referring to fig. 3, fig. 3 is a preset geometric shape corresponding to a display state of a target window on a medical terminal interface according to an embodiment of the present invention: in the figure, 1 is a medical terminal interface, 1-1 is an expanded state of a target window, and 1-2 is a hidden state of the target window. As shown in fig. 3, the target window is disposed at an interface edge position of the medical terminal interface 1, and the preset geometric shape corresponding to the target window is set to be rectangular for convenience of operation of the target window and cognition of a user. Further, if the target window is set at the vertex angle of the medical terminal interface 1, the preset geometric shape corresponding to the target window may be set to be an arc shape such as a sector, which is not limited herein.
202. Determining a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used for indicating that the target window is in an expanded state;
it can be understood that, when the target window is set at a certain position on the medical terminal interface by default, different geometric shapes can be adopted for consideration of convenient operability and user cognitive habits, so that when the target window corresponds to different preset shapes, a target area threshold value is correspondingly set for each preset shape so as to distinguish the display state of the target window.
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;
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;
continuing with fig. 3 as an example, if the preset geometric shape of the target window is a polygon, the target area threshold is a 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, the target area threshold is the sector area corresponding to the expanded state 1-1, such as 0.33 π R2Therefore, further, the current display state of the target window can be determined through the obtained display area of the preset geometric shape and the target area threshold, when the display area is equal to the target area threshold, the target window is in an expanded state, and when the display area is smaller than the target area threshold, the target window is in a hidden state.
It can be understood that in the embodiment of the present invention, by determining 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, and further embody the improvement of the interactive experience and the flexibility of the layout change.
205. If the interaction operation of the user on the medical terminal interface is detected, determining whether the interaction operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
206. if the interactive operation is the preset trigger operation, determining a target unfolding position of a target window on the medical terminal interface according to the area where the interactive operation is located;
it should be noted that, the contents of step 205 and step 206 are similar to the contents of the steps shown in step 101 and step 102, and for avoiding repetition, detailed description is not repeated here, and specific reference may be made to the contents of the steps shown in step 101 and step 102.
In a possible implementation manner, the interactive operation includes clicking, and step 205 may specifically include the following steps: if the interactive operation of the user on the medical terminal interface is detected, acquiring the click position of the interactive operation; and if the click position is in a preset click area of the trigger operation, determining that the interactive operation is the trigger operation, wherein the preset click area is a blank area, and the blank area is an area without interface elements on the interface of the medical terminal.
It should be noted that, when the interaction operation is a click, it is indicated that the user is interacting on the medical terminal interface, and whether the click is a preset trigger operation can be determined by judging a click position corresponding to the click and a preset click region of the preset trigger operation. Further, in step 206, if yes, a target expansion position of the target window on the medical terminal interface is determined according to the area where the click is located, where the target expansion position is a target position of the target window for layout transformation, that is, a current position of the target window on the medical terminal interface is transformed to the target expansion position based on the target expansion position, and the target window is expanded.
Referring to fig. 4, fig. 4 is a schematic diagram of a layout transformation of a target frame according to an embodiment of the present invention, and steps 205 and 206 are described in the following with reference to fig. 4: referring to fig. 4-1, fig. 4-1 shows the layout transformation of the target window in the same predetermined geometric shape when the current state is the expanded state; the preset geometric shape of the target window in fig. 4-1 is a rectangle, 4-1-1 and 4-1-3 represent the current layout of the target window, the current display state of the target window on the medical terminal interface in the layouts of 4-1-1 and 4-1-3 is the unfolded state, and 4-1-1 is different from 4-1-3 in the unfolded position of the target window on the interface. Further, in fig. 4-1(a), when an interactive operation (click S1) of the user on the medical terminal interface is detected, a click position of the click S1 is obtained, further, whether the click position of the click S1 is a preset click region is determined, and when the click position of the click S1 is a blank region, it is determined that the click S1 satisfies the trigger operation, so that the layout of the target window on the medical terminal interface can be transformed, at this time, the target open position is the blank region corresponding to the click position of the click S1, and further, the window layout 4-1-1 corresponding to the target window is transformed into 4-1-2; or the click position of the click S2 is obtained in fig. 4-1(b), further, whether the click S2 position is a preset click region is determined, and when the click of the click S2 is a blank region, it indicates that the click S2 meets the trigger operation, so that the layout of the target window on the medical terminal interface can be changed, at this time, the target deployment position is the blank region corresponding to the click position of the click S2, and further, the window layout 4-1-3 corresponding to the target window is changed into 4-1-4.
Further, please refer to fig. 4-2, where fig. 4-2 shows a layout transformation of a target window in the same preset geometric shape when the current display state of the target window is a hidden state; the preset geometric shape of the target window in fig. 4-2 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 medical terminal interface in the layout of 4-2-1 is a hidden state. Further, in fig. 4-2, when an interactive operation (click S3) of the user on the medical terminal interface is detected, the click position of the click S3 is obtained, further, whether the click position of the click S3 is a preset click region is determined, and when the click position of the click S3 is a blank region, it is determined that the click S3 satisfies the trigger operation, so that the layout of the target window on the medical terminal interface can be transformed, at this time, the target deployment position is a blank region corresponding to the click position of the click S3, and further, the window layout 4-2-1 corresponding to the target window is transformed into 4-2-2, where the current display state of the target window on the medical terminal interface in the layout of 4-2-2 is the deployment state.
It can be understood that the target expansion position is used for transforming the layout of the target window on the page to the target expansion position and expanding the target window at the target expansion position of the interface, so that the target window can be jumped and expanded at the target expansion position in time regardless of the current display state of the target window being in the expansion state or the hidden state, and the layout of the target window is flexible. In addition, the method is not limited to the current preset geometric shape of the target window body, can realize the layout transformation of the target window body corresponding to different preset geometric shapes, and can also determine the target unfolding shape, namely the target preset geometric shape, based on different target unfolding positions, so that the layout transformation of the target window body is more flexible and changeable, and the use requirements of users are met.
In one possible implementation, the interaction includes a swipe, step 205, including: if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial sliding position, a sliding displacement, a sliding track and a termination sliding position of the interactive operation; and if the initial sliding position is in a preset initial sliding area of the triggering operation, the sliding displacement is greater than or equal to the preset sliding displacement of the triggering operation, and the horizontal angle of the sliding track included in the sliding track is in the horizontal angle interval of the preset sliding track of the triggering operation, determining the interactive operation as the triggering operation, and the preset initial sliding area is an area without interface elements on the medical terminal interface.
It should be noted that the preset sliding displacement may be 1cm, 0.5cm, and the like, and the horizontal angle interval of the preset sliding track may be an angle interval of [ +15 °, -15 ° ] and the like, where the horizontal angle of the sliding track is also the horizontal angle of the dynamic line, it can be understood that the horizontal angle of the sliding track may be determined based on the included angle between each track point and the horizontal in the sliding track, and further may be determined according to the angle average value of each included angle between the track point and the horizontal or may be determined one by one according to the included angle between each track point and the horizontal, which is not limited in this example. Further, step 206 may be that when the sliding meets a preset trigger operation, a target unfolding position of the target window on the medical terminal interface is determined according to an area where the sliding is located. At this time, the target unfolding position may be a sliding region, a blank region of a preset initial sliding region corresponding to the initial sliding position, an interface region of a preset initial sliding region corresponding to the end sliding position, or an interface region formed by the initial sliding position and the end sliding position, so as to transform the target window layout to the target unfolding position. Exemplarily, when the initial sliding position is a preset initial sliding area (blank area), and the sliding displacement and the sliding trajectory corresponding to the sliding both meet the preset sliding displacement and the horizontal angle interval corresponding to the trigger operation, the layout of the target window is transformed to the target unfolding position, that is, the blank area corresponding to the preset initial sliding area and is unfolded.
In one possible implementation, the interaction includes a drag, and step 205 may include: if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial dragging position and dragging duration of the interactive operation; and if the initial dragging position is in a preset initial dragging area of the triggering operation, and the dragging time length is greater than the preset dragging time length of the triggering operation, determining that the interactive operation is the preset triggering operation, wherein the preset initial dragging area is an area to which the current window position corresponding to the target window on the medical terminal interface belongs.
It should be noted that the preset dragging time includes, but is not limited to, time values such as 2S, and when the user drags the target window beyond the preset dragging time, the layout of the target window may also be changed, and at this time, the target expanding position in step 206 may be the end position corresponding to the dragging that meets the preset trigger operation. By the method, a flexible conversion mode of expanding the target window where the interactive operation is performed on the interface can be realized, so that a user can expand the target window in time no matter where the interactive operation is performed on the interface, and further the medical terminal is controlled.
207. If the current display state of the target window is the expansion state, generating a first layout transformation animation by using a current expansion position, the target expansion position and the target window, wherein the first layout transformation animation is used for displaying that the target window moves from the current expansion position to the target expansion position;
208. and if the current display state of the target window is the hidden state, generating a second layout transformation animation by using the target expansion position and the target window, wherein the second layout transformation animation is used for showing that the target window is expanded at the target expansion position.
It should be noted that the problem that an interface fault is not noticed and further interaction failure cannot be fed back in time is solved, and further, in order to improve interaction experience, a layout change animation can be produced according to a current unfolding position, a target unfolding position and a target window, and a first layout change animation and a second layout change animation are divided according to different current display states to improve interaction experience.
The invention provides a method for changing interface layout of a medical terminal, which comprises the following steps: acquiring a display area formed by a preset geometric shape corresponding to a target window body on a medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate unfolding positions of the target window body on the medical terminal interface; determining a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used for indicating 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 an expanded state; if the display area is smaller than the target area threshold value, determining that the current display state of the target window is a hidden state; if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface; if the interactive operation is a preset trigger operation, determining a target unfolding position of the target window on the medical terminal interface according to the area where the interactive operation is located; if the current display state of the target window is the expansion state, generating a first layout transformation animation by using the current expansion position, the target expansion position and the target window, wherein the first layout transformation animation is used for showing that the target window moves from the current expansion position to the target expansion position; and if the current display state of the target window is a hidden state, generating a second layout transformation animation by using the target unfolding position and the target window, wherein the second layout transformation animation is used for showing that the target window is unfolded at the target unfolding position. Through presetting various trigger operations, various trigger judgments can be carried out in various modes when the interactive operation of the user is detected, the learning cost of the user on the interactive operation is reduced, and the universality of the layout change of the target window body is higher and more flexible. And the layout transformation animation is configured for the layout transformation of the target window corresponding to different current display states, so that the layout transformation of the target window corresponding to different current display states can be distinguished, and the interactive experience of the user and the medical terminal can be improved.
Referring to fig. 5, fig. 5 is a block diagram of a structure of a medical terminal interface layout transformation apparatus according to an embodiment of the present invention, where the apparatus shown in fig. 5 includes:
the trigger determination module 501: the method comprises the steps of determining whether an interactive operation is a preset trigger operation if the interactive operation of a user on the medical terminal interface is detected, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
the position determination module 502: the target unfolding position of the target window on the medical terminal interface is determined according to the area where the interactive operation is located if the interactive operation is the preset trigger operation;
the window expansion module 503: and the layout of the target form on the medical terminal interface is changed based on the target expansion position and the current display state of the target form on the medical terminal interface, wherein the current display state comprises a hidden state or an expanded state.
It should be noted that the functions of each module in the apparatus shown in fig. 5 are similar to those shown in each step in the method shown in fig. 1, and for avoiding repetition, detailed description is not repeated here, and the details shown in each step in the method shown in fig. 1 may be referred to specifically.
The invention provides a conversion device for interface layout of a medical terminal, which comprises: a trigger determination module: the method comprises the steps of determining whether the interactive operation is a preset trigger operation if the interactive operation of a user on a medical terminal interface is detected, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface; a position determination module: the medical terminal interface is used for determining the target unfolding 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 the preset trigger operation; and the window unfolding module: the method is used for changing the layout of the target form on the medical terminal interface based on the target expansion position and the current display state of the target form on the medical terminal interface, wherein the current display state comprises a hidden state or an expansion state. The expansion position of the target window is flexibly changed through the interactive operation of the user on the medical terminal interface and the preset triggering operation, so that the operability and the rapidity of the layout change of the medical terminal interface are improved, and the interactive requirements of different users are easily met.
FIG. 6 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a terminal, or may be a server. As shown in fig. 6, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein 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 which, when executed by the processor, causes the processor to carry out the above-mentioned method. The internal memory may also have stored therein a computer program which, when executed by the processor, causes the processor to perform the above-described method. Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is proposed, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method as shown in any of fig. 1 or fig. 2.
In an embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method as shown in either of fig. 1 or fig. 2.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method for transforming an interface layout of a medical terminal, the method comprising:
if the interactive operation of the user on the medical terminal interface is detected, determining whether the interactive operation is a preset trigger operation or not, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
if the interactive operation is the preset trigger operation, determining a target unfolding position of a target window on the medical terminal interface according to the area where the interactive operation is located;
and 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, wherein the current display state comprises a hidden state or an expansion state.
2. The method according to claim 1, wherein if the interaction operation of the user on the medical terminal interface is detected, determining whether the interaction operation is a preset trigger operation further comprises:
acquiring a display area formed by a preset geometric shape corresponding to the target window body on the medical terminal interface, wherein the preset geometric shape is related to a plurality of preset candidate unfolding positions of the target window body on the medical terminal interface;
determining a target area threshold corresponding to the target window by using the geometric shape, wherein the target area threshold is used for indicating 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;
and 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.
3. The method according to claim 1, wherein the interactive operation includes a click, and the determining whether the interactive operation is a preset trigger operation if the interactive operation of the user on the medical terminal interface is detected includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring the click position of the interactive operation;
and if the click position is in a preset click area of the trigger operation, determining that the interactive operation is the trigger operation, wherein the preset click area is a blank area, and the blank area is an area without interface elements on the medical terminal interface.
4. The method according to claim 1, wherein the interactive operation includes sliding, and the determining whether the interactive operation is a preset trigger operation if the interactive operation of the user on the medical terminal interface is detected includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial sliding position, a sliding displacement, a sliding track and a termination sliding position of the interactive operation;
if the initial sliding position is in a preset initial sliding area of the triggering operation, the sliding displacement is greater than or equal to the preset sliding displacement of the triggering operation, and the horizontal angle of the sliding track included in the sliding track is within the horizontal angle interval of the preset sliding track of the triggering operation, determining that the interactive operation is the triggering operation, and the preset initial sliding area is an area on the medical terminal interface where no interface element is arranged.
5. The method according to claim 1, wherein the interactive operation includes dragging, and the determining whether the interactive operation is a preset trigger operation if the interactive operation of the user on the medical terminal interface is detected includes:
if the interactive operation of the user on the medical terminal interface is detected, acquiring an initial dragging position and dragging duration of the interactive operation;
and if the initial dragging position is in a preset initial dragging area of the triggering operation, and the dragging time length is greater than the preset dragging time length of the triggering operation, determining that the interaction operation is the preset triggering operation, wherein the preset initial dragging area is an area to which the target window belongs at the current window position corresponding to the medical terminal interface.
6. The method according to claim 1, wherein said transforming the layout of the target window on the medical terminal interface based on the target expanded position and the current display state of the target window on the medical terminal interface comprises:
if the current display state of the target window is the expansion state, generating a first layout transformation animation by using a current expansion position, the target expansion position and the target window, wherein the first layout transformation animation is used for showing that the target window moves from the current expansion position to the target expansion position;
and if the current display state of the target window is the hidden state, generating a second layout transformation animation by using the target unfolding position and the target window, wherein the second layout transformation animation is used for showing that the target window is unfolded at the target unfolding position.
7. An apparatus for changing interface layout of a medical terminal, the apparatus comprising:
a trigger determination module: the method comprises the steps of determining whether an interactive operation is a preset trigger operation if the interactive operation of a user on the medical terminal interface is detected, wherein the trigger operation is used for changing the layout of a target window on the medical terminal interface;
a position determination module: the target unfolding position of the target window on the medical terminal interface is determined according to the area where the interactive operation is located if the interactive operation is the preset trigger operation;
and the window unfolding module: and the layout of the target form on the medical terminal interface is changed based on the target expansion position and the current display state of the target form on the medical terminal interface, wherein the current display state comprises a hidden state or an expanded state.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
9. A computer device comprising a memory and a processor, characterized in that the memory stores a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
CN202111168200.4A 2021-09-30 2021-09-30 Medical terminal interface layout transformation method, device, equipment and storage medium Pending CN113918058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111168200.4A CN113918058A (en) 2021-09-30 2021-09-30 Medical terminal interface layout transformation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111168200.4A CN113918058A (en) 2021-09-30 2021-09-30 Medical terminal interface layout transformation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113918058A true CN113918058A (en) 2022-01-11

Family

ID=79238270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111168200.4A Pending CN113918058A (en) 2021-09-30 2021-09-30 Medical terminal interface layout transformation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113918058A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107686A (en) * 2023-04-13 2023-05-12 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572127A (en) * 2015-01-28 2015-04-29 深圳市中兴移动通信有限公司 Terminal and method for deploying interfaces thereof
CN104657033A (en) * 2013-11-25 2015-05-27 比亚迪股份有限公司 Icon control method and device of mobile terminal
CN107015749A (en) * 2016-01-28 2017-08-04 中兴通讯股份有限公司 A kind of method for showing interface and mobile terminal for mobile terminal
CN107015721A (en) * 2016-10-20 2017-08-04 阿里巴巴集团控股有限公司 The management method and device of a kind of application interface
CN107463302A (en) * 2017-07-01 2017-12-12 珠海格力电器股份有限公司 Icon layout adjusting method and device
CN110908742A (en) * 2018-09-14 2020-03-24 上海擎感智能科技有限公司 Vehicle-mounted system and interface display method thereof
CN112596641A (en) * 2020-12-10 2021-04-02 咪咕数字传媒有限公司 Icon adjusting method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657033A (en) * 2013-11-25 2015-05-27 比亚迪股份有限公司 Icon control method and device of mobile terminal
CN104572127A (en) * 2015-01-28 2015-04-29 深圳市中兴移动通信有限公司 Terminal and method for deploying interfaces thereof
CN107015749A (en) * 2016-01-28 2017-08-04 中兴通讯股份有限公司 A kind of method for showing interface and mobile terminal for mobile terminal
CN107015721A (en) * 2016-10-20 2017-08-04 阿里巴巴集团控股有限公司 The management method and device of a kind of application interface
CN107463302A (en) * 2017-07-01 2017-12-12 珠海格力电器股份有限公司 Icon layout adjusting method and device
CN110908742A (en) * 2018-09-14 2020-03-24 上海擎感智能科技有限公司 Vehicle-mounted system and interface display method thereof
CN112596641A (en) * 2020-12-10 2021-04-02 咪咕数字传媒有限公司 Icon adjusting method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107686A (en) * 2023-04-13 2023-05-12 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment
CN116107686B (en) * 2023-04-13 2023-07-11 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US5821930A (en) Method and system for generating a working window in a computer system
US5568604A (en) Method and system for generating a working window in a computer system
US10162511B2 (en) Self-revelation aids for interfaces
US9213477B2 (en) Apparatus and method for touch screen user interface for handheld electric devices part II
US5704050A (en) Snap control for relocating elements of a graphical user interface
CN111338555B (en) Method, device, equipment and storage medium for realizing input through virtual keyboard
CN114467078A (en) User interface adaptation based on inferred content occlusion and user intent
US9632584B2 (en) On-demand user control
RU2672624C2 (en) Graphical user interface providing virtual super-zoom functionality
CN113918058A (en) Medical terminal interface layout transformation method, device, equipment and storage medium
CN103703435B (en) Information processing unit and information processing method
CN109669516B (en) Flexible screen, interaction method and device based on flexible screen
US8893037B2 (en) Interactive and dynamic medical visualization interface tools
CN111984151B (en) Whiteboard canvas size and position roaming control method for improving processing efficiency
CN104182533B (en) Browser label switching method and device and terminal
CN110908580B (en) Method and device for controlling application
CN112148193A (en) Navigation gesture setting method and device and electronic equipment
CN114981769A (en) Information display method and device, medical equipment and storage medium
CN113835578A (en) Display method and device and electronic equipment
KR20150098366A (en) Control method of virtual touchpadand terminal performing the same
JPH02109124A (en) Display method for relationship between hyper-texts
KR20130131126A (en) User interface for controlling state of menu
JP2002259002A (en) Operation system for document
CN111273825A (en) Toolbar adjusting method and device and interactive display device
CN115167963A (en) H5-based multi-level window fast response method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination