High-pressure syringe parameter display method and device, electronic equipment and storage medium
By analyzing the display area specifications of the high-pressure injector, adopting a vertical or horizontal display method, and adjusting the control parameters, the problem of limited display area of the high-pressure injector was solved, enabling the side-by-side display of multiple parameters and improving the user experience.
Patent Information
- Application Number
- CN202310518995.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-05-09
AI Technical Summary
The existing high-pressure injector has a limited display area, which means that only 4 stage parameters can be displayed per page, requiring page flipping to display them, which affects the user experience.
By analyzing the specification parameters of the display area, the arrangement and display method are determined, and the control parameters are adjusted to increase the display content, including vertical and horizontal arrangement. The display width or height of the control is adjusted according to the number and importance of the stage parameters to achieve the display of multiple parameters on the same page.
Multiple stage parameters are displayed side-by-side within a fixed display area, improving the convenience and user experience of operation. Users can view and modify all parameters without flipping through pages.
Smart Images

Figure CN116665566B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the medical technical field, and in particular to a high-pressure injector parameter display method and device, electronic equipment and a storage medium. BACKGROUND
[0002] With the continuous development of science and technology, high-pressure injectors have emerged as the times require. The existing high-pressure injector plan content contains at most 8 stage parameters. When the stage parameters are displayed on the display interface of the high-pressure injector, due to the size limitation of the display area, the stage parameters cannot be displayed side by side, and each stage parameter must have a certain display interval when displayed. Therefore, only 4 stage parameters can be displayed on one page. If more than 4 stage parameters need to be displayed, page switching is required, which results in less display content in the fixed display area. SUMMARY
[0003] The main purpose of the present application is to provide a high-pressure injector parameter display method and device, electronic equipment and a storage medium, which aims to solve the technical problem of less display content in the fixed display area in the prior art.
[0004] To achieve the above-mentioned purpose, the present application provides a high-pressure injector parameter display method, which comprises:
[0005] According to the specification parameter information of the target display area for high-pressure injector plan display, the arrangement display mode corresponding to the to-be-displayed stage parameter of the high-pressure injector is determined;
[0006] According to the arrangement display mode, the label information of the to-be-displayed stage parameter and the preset stage quantity limit value, the control parameter corresponding to the to-be-displayed stage parameter is adjusted to obtain an adjustment result;
[0007] According to the adjustment result and the label information of the to-be-displayed stage parameter, the to-be-displayed stage parameter is displayed.
[0008] To achieve the above-mentioned purpose, the present application further provides a high-pressure injector parameter display device, which comprises:
[0009] A determination module is configured to determine, according to the specification parameter information of the target display area for high-pressure injector plan display, the arrangement display mode corresponding to the to-be-displayed stage parameter of the high-pressure injector;
[0010] An adjustment module is configured to adjust, according to the arrangement display mode, the label information of the to-be-displayed stage parameter and the preset stage quantity limit value, the control parameter corresponding to the to-be-displayed stage parameter to obtain an adjustment result;
[0011] The display module is configured to display the to-be-displayed stage parameter according to the adjustment result and the label information of the to-be-displayed stage parameter.
[0012] The application further provides an electronic device, which comprises a memory, a processor, and a program of the high-pressure injector parameter display method stored in the memory and executable on the processor, and the program of the high-pressure injector parameter display method can realize the steps of the high-pressure injector parameter display method when executed by the processor.
[0013] The application further provides a computer readable storage medium, which stores a program of the high-pressure injector parameter display method, and the program of the high-pressure injector parameter display method can realize the steps of the high-pressure injector parameter display method when executed by the processor.
[0014] The application further provides a computer program product, which comprises a computer program, and the computer program can realize the steps of the high-pressure injector parameter display method when executed by the processor.
[0015] The application provides a high-pressure injector parameter display method, device, electronic device, and storage medium. The application first determines the arrangement display mode corresponding to the to-be-displayed stage parameter of the high-pressure injector according to the specification parameter information of the target display area for high-pressure injector preplan display, adjusts the control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, the label information of the to-be-displayed stage parameter, and a preset stage quantity limit value, and obtains an adjustment result, and displays the to-be-displayed stage parameter according to the adjustment result and the label information of the to-be-displayed stage parameter. The application first determines the arrangement display mode through the specification parameter information of the display area, thereby determining the control parameter corresponding to the to-be-displayed stage parameter that needs to be adjusted in the current display area, and further comparing the quantity of the to-be-displayed stage parameter with the preset stage quantity limit value to execute different parameter adjustment methods on the control parameter, thereby displaying the to-be-displayed stage parameter according to the adjusted control parameter, overcoming the technical defects in the prior art that the stage parameters cannot be displayed side by side due to the size limitation of the display area, and the stage parameters must have a certain display interval when displayed, so that only 4 stage parameters can be displayed on one page, and if more than 4 stage parameters need to be displayed, page switching display is required, thereby increasing the display content in the fixed display area. BRIEF DESCRIPTION OF DRAWINGS
[0016] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings can also provide further drawings based on these drawings for those of ordinary skill in the art without any creative effort.
[0018] Figure 1 The flowchart provided by the high-pressure injector parameter display method embodiment one of the present application;
[0019] Figure 2 The flowchart provided by the high-pressure injector parameter display method embodiment two of the present application;
[0020] Figure 3 The display area diagram when the control parameter is the control display height and the display stage number is greater than the preset stage number in the high-pressure injector parameter display method of the present application;
[0021] Figure 4 The display area diagram when the control parameter is the control display width and the display stage number is greater than the preset stage number in the high-pressure injector parameter display method of the present application;
[0022] Figure 5 The display area diagram when the control parameter is the control display height and the display stage number is not greater than the preset stage number in the high-pressure injector parameter display method of the present application;
[0023] Figure 6 The display area diagram when the control parameter is the control display width and the display stage number is not greater than the preset stage number in the high-pressure injector parameter display method of the present application;
[0024] Figure 7 The flowchart provided by the high-pressure injector parameter display method embodiment three of the present application;
[0025] Figure 8 The structural diagram provided by the high-pressure injector parameter display device embodiment four of the present application;
[0026] Figure 9 The device structure diagram of the hardware running environment involved in the high-pressure injector parameter display method in the embodiments of the present application.
[0027] The purpose implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0028] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0029] Embodiment one
[0030] With the continuous development of science and technology, high-pressure injectors have emerged. The existing high-pressure injector plan content contains at most 8 stage parameters. When the stage parameters are displayed on the display interface of the high-pressure injector, due to the size limitation of the display area, the stage parameters cannot be displayed side by side, and each stage parameter must have a certain display interval when displayed. Therefore, only 4 stage parameters can be displayed on one page. If more than 4 stage parameters need to be displayed, page switching display is required, which results in less display content in the fixed display area. When the operator needs to modify and view the stage parameters, the page needs to be turned to modify and view the subsequent stage parameters, which makes the user experience of the high-pressure injector poor.
[0031] The embodiment of the present application provides a high-pressure injector parameter display method. In the first embodiment of the high-pressure injector parameter display method of the present application, referring to Figure 1 , the high-pressure injector parameter display method comprises the following steps.
[0032] Step S10, determining the arrangement display mode corresponding to the stage parameters to be displayed of the high-pressure injector according to the specification parameter information of the target display area for high-pressure injector plan display;
[0033] In the embodiment of the present application, it should be noted that the specification parameter information includes the display area height and the display area width, and the arrangement display mode includes the vertical arrangement display mode and the horizontal arrangement display mode.
[0034] In addition, it should be noted that the stage parameters to be displayed refer to the stage parameters that need to be displayed in the target display area, the stage parameters refer to the plan content of the high-pressure injector, and the stage parameters can include injection rate, injection dose, injection pressure and the like. Each display of a stage parameter generates a control carrying the stage parameter. The parameter size of the control determines the display area of the stage parameter.
[0035] Step S20, adjusting the control parameter corresponding to the stage parameters to be displayed according to the arrangement display mode, the label information of the stage parameters to be displayed and the preset stage quantity limit value, and obtaining an adjustment result;
[0036] It should be noted that the label information includes a number of to-be-displayed stage parameters and a display priority, and the control parameter includes a control display height and a control display width.
[0037] Additionally, it should be noted that the preset stage number limit value refers to the maximum number of stage parameters displayed when the display effect of the target display area is best. Optionally, the preset stage number limit value can be 5.
[0038] In step S30, the to-be-displayed stage parameters are displayed according to the adjustment result and the label information of the to-be-displayed stage parameters.
[0039] As an example, steps S10 to S30 include: determining, according to a display area width and a display area height of a target display area for high-pressure injector plan display, a display arrangement mode corresponding to the to-be-displayed stage parameters of the high-pressure injector; determining, based on the display arrangement mode, control parameters corresponding to the to-be-displayed stage parameters; adjusting the control parameters corresponding to the to-be-displayed stage parameters according to the number of to-be-displayed stage parameters and the preset stage number limit value to obtain an adjustment result; and displaying, according to the adjustment result and the display priority of the to-be-displayed stage parameters, the to-be-displayed stage parameters in a display priority order. In the embodiment of the present application, the display arrangement mode of the to-be-displayed stage parameters of the high-pressure injector is first determined according to the size relationship between the display area height and the display area width, and then the control parameters that need to be adjusted are determined through the display arrangement mode. Further, different adjustment modes can be adopted for the control parameters by comparing the number of to-be-displayed stage parameters and the preset stage number limit value. After adjustment, the to-be-displayed stage parameters are displayed in a stage parameter display priority order. Therefore, by adjusting the display width or the display height, the stage parameters can be displayed on the same page, the display content in the fixed display area is increased, and when an operator needs to modify and view the stage parameters, the operator does not need to flip the pages to modify and view the subsequent stage parameters, thereby improving the user experience of using the high-pressure injector.
[0040] The specification parameter information includes a display area height and a display area width, and the display arrangement mode includes a vertical display arrangement mode and a horizontal display arrangement mode. The step of determining, according to the specification parameter information of the target display area for high-pressure injector plan display, the display arrangement mode corresponding to the to-be-displayed stage parameters of the high-pressure injector includes:
[0041] In step S11, if it is detected that the display area height is not less than the display area width, the display arrangement mode corresponding to the to-be-displayed stage parameters is determined as the vertical display arrangement mode.
[0042] Step S12, if it is detected that the display area height is less than the display area width, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a horizontal arrangement display mode.
[0043] As an example, steps S11 to S12 include: detecting whether the display area height is less than the display area width, if it is detected that the display area height is not less than the display area width, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a vertical arrangement display mode; if it is detected that the display area height is less than the display area width, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a horizontal arrangement display mode. Embodiments of the present application compare the size between the display area height and the display area width to determine the arrangement display mode corresponding to the to-be-displayed stage parameter, when the display area height is greater than the display area width, the vertical arrangement display mode is used, and when the display area height is less than the display area width, the horizontal arrangement display mode is used, thereby fully utilizing the display space of the display area, improving the flexibility of display, and ensuring the space utilization rate of the display area.
[0044] As an example, the specification parameter information includes the display area height and the display area width, the arrangement display mode includes the vertical arrangement display mode and the horizontal arrangement display mode, and the step of determining the arrangement display mode corresponding to the to-be-displayed stage parameter of the high-pressure injector according to the specification parameter information of the target display area for high-pressure injector preplan display further includes: determining a display parameter quotient according to the display area width and the display area height, judging whether the display parameter quotient is greater than a preset parameter quotient, if the display parameter quotient is greater than the preset parameter quotient, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a horizontal arrangement display mode, and if the display parameter quotient is not greater than the preset parameter quotient, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a vertical arrangement display mode. For example, it can be assumed that the preset parameter quotient is 1.5, if the display area width is 1.5 times or more than the display area height, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a horizontal arrangement display mode.
[0045] In another embodiment, if the display area height is 1.5 times or more than the display area width, it is determined that the arrangement display mode corresponding to the to-be-displayed stage parameter is a vertical arrangement display mode.
[0046] The embodiment of the present application provides a high-pressure injector parameter display method. The embodiment of the present application first determines the arrangement display mode corresponding to the stage parameter to be displayed of the high-pressure injector according to the specification parameter information of the target display area for high-pressure injector plan display; adjusts the control parameter corresponding to the stage parameter to be displayed according to the arrangement display mode, the label information of the stage parameter to be displayed and the preset stage quantity limit value, and obtains an adjustment result; and displays the stage parameter to be displayed according to the adjustment result and the label information of the stage parameter to be displayed. The embodiment of the present application first determines the arrangement display mode through the specification parameter information of the display area, thereby determining the control parameter corresponding to the stage parameter to be displayed which needs to be adjusted in the current display area. Further, different parameter adjustment methods are performed on the control parameter by comparing the quantity of the stage parameter to be displayed with the preset stage quantity limit value, thereby displaying the stage parameter to be displayed according to the adjusted control parameter, overcoming the technical defects in the prior art that the stage parameters cannot be displayed side by side due to the size limitation of the display area, and that the stage parameters must have a certain display interval when displayed, so that only four stage parameters can be displayed on one page. If more than four stage parameters need to be displayed, page switching display is required, which increases the display content in the fixed display area.
[0047] Embodiment two
[0048] Further, with reference to Figure 2 In another embodiment of the present application, the same or similar contents as the above embodiment one can be referred to the above introduction, and will not be described in detail. On this basis, the label information includes the quantity of the stage parameter to be displayed, and the step of adjusting the control parameter corresponding to the stage parameter to be displayed according to the arrangement display mode, the label information of the stage parameter to be displayed and the preset stage quantity limit value, and obtaining an adjustment result includes:
[0049] In step S21, the control parameter to be adjusted corresponding to the stage parameter to be displayed is determined based on the arrangement display mode.
[0050] As an example, step S21 includes: if the arrangement display mode is the vertical arrangement display mode, the control display height corresponding to the stage parameter to be displayed is determined as the control parameter to be adjusted; and if the arrangement display mode is the horizontal arrangement display mode, the control display width corresponding to the stage parameter to be displayed is determined as the control parameter to be adjusted.
[0051] When the arrangement display method is the vertical arrangement display method, the control display width in the control parameters is fixed. In order to increase the display content in the fixed display area, the control display height needs to be adjusted. When the arrangement display method is the horizontal arrangement display method, the control display height in the control parameters is fixed. In order to increase the display content in the fixed display area, the control display width needs to be adjusted.
[0052] Step S22: Determine whether the number of parameters to be displayed in the stage is greater than the preset stage number limit value;
[0053] Step S23: If yes, then adjust the control parameters according to the specification parameters of the display area, the number of parameters of the stage to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result;
[0054] Step S24: If not, adjust the control parameters according to the specification parameters of the display area, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result.
[0055] In the embodiments of this application, it should be noted that the display spacing refers to the interval distance between the display controls corresponding to each stage parameter. Generally, in order to ensure the display effect of the stage parameters in the display area, the display spacing is fixed.
[0056] As an example, steps S22 to S24 include: determining whether the number of stage parameters to be displayed is greater than the preset stage number limit; if the number of stage parameters to be displayed is greater than the preset stage number limit, adjusting the control parameters according to the specification parameters of the display area, the number of stage parameters to be displayed, and the display spacing corresponding to the display area to obtain an adjustment result; if the number of stage parameters to be displayed is not greater than the preset stage number limit, adjusting the control parameters according to the specification parameters of the display area, the preset stage number limit, and the display spacing corresponding to the display area to obtain an adjustment result. This application embodiment determines the adjustment method corresponding to the control parameters to be adjusted by comparing the number of parameters to be displayed in the stage with a preset stage number limit value. When the number of parameters to be displayed in the stage is less than the preset stage number limit value, the control parameters are adjusted according to the preset stage number limit value, so that the display area can be fully utilized even when the number of parameters to be displayed in the stage is small. When the number of parameters to be displayed in the stage is greater than the preset stage number limit value, the control parameters are adjusted according to the number of parameters to be displayed in the stage, so that when the number of parameters to be displayed in the stage is large, not only can the display area be fully utilized, but the display content in the fixed display area can also be increased.
[0057] As an example, the formula for adjusting the control parameter according to the specification parameter information of the display region, the number of to-be-displayed stage parameters, and the display interval corresponding to the display region is as follows:
[0058] S = [A - (D1-1) x B] / D1
[0059] wherein S is the adjusted control parameter, A is the specification parameter information of the display region, D1 is the number of to-be-displayed stage parameters, and B is the display interval.
[0060] As an example, the formula for adjusting the control parameter according to the specification parameter information of the display region, the preset number of stage limit value, and the display interval corresponding to the display region is as follows:
[0061] S = [A - (D2-1) x B] / D2
[0062] wherein S is the adjusted control parameter, A is the specification parameter information of the display region, D2 is the preset number of stage limit value, and B is the display interval.
[0063] The control parameter includes a control display height and a control display width, the specification parameter information of the display region includes a display region height and a display region width, the arrangement display mode includes a vertical arrangement display mode and a horizontal arrangement display mode, and the step of adjusting the control parameter according to the specification parameter information of the display region, the number of to-be-displayed stage parameters, and the display interval corresponding to the display region to obtain an adjustment result includes:
[0064] In step S231, if the arrangement display mode is the vertical arrangement display mode, the to-be-adjusted control parameter is the control display height, the control display height is adjusted according to the display region height, the number of to-be-displayed stage parameters, and the display interval corresponding to the display region to obtain an adjustment result.
[0065] In step S232, if the arrangement display mode is the horizontal arrangement display mode, the to-be-adjusted control parameter is the control display width, the control display width is adjusted according to the display region width, the number of to-be-displayed stage parameters, and the display interval corresponding to the display region to obtain an adjustment result.
[0066] As an example, refer to Figure 3 and Figure 4 , Figure 3 in which H1 is the control display height, H2 is the display region height, D is the display interval, the first column is the stage parameter name, the second column and the third column are the parameter values of the stage parameter, and the fourth column is the display time, Figure 4W1 is a control display width, W2 is a display area width, D is a display interval, the first row is a stage parameter name, the second and third rows are parameter values of stage parameters, and the fourth row is a display time. The steps S231 to S232 include: if the arrangement display mode is the vertical arrangement display mode, the control parameter to be adjusted is a control display height, a display area height adjustment value is calculated according to the number of stage parameters to be displayed and the display interval, a difference between the display area height and the display area height adjustment value is obtained, a control display height difference is obtained, the control display height is adjusted according to the display height difference and the number of stage parameters to be displayed, and an adjustment result is obtained; if the arrangement display mode is the horizontal arrangement display mode, the control parameter to be adjusted is a control display width, a display area width adjustment value is calculated according to the number of stage parameters to be displayed and the display interval, a difference between the display area width and the display area width adjustment value is obtained, a control display width difference is obtained, the control display width is adjusted according to the display width difference and the number of stage parameters to be displayed, and an adjustment result is obtained. In the embodiment of the application, different arrangement display modes correspond to adjustment of different control parameters, when the arrangement display mode is the vertical arrangement display mode, the control display height corresponding to the stage parameter is adjusted, when the arrangement display mode is the horizontal arrangement display mode, the control display width corresponding to the stage parameter is adjusted, and therefore the flexibility of control parameter adjustment is improved.
[0067] As an example, the formula for calculating the display area height adjustment value according to the number of stage parameters to be displayed and the display interval is as follows:
[0068] C H =(D1-1)xB
[0069] Wherein, C H is the display area height adjustment value, D1 is the number of stage parameters to be displayed, and B is the display interval.
[0070] As an example, the formula for calculating the display area width adjustment value according to the number of stage parameters to be displayed and the display interval is as follows:
[0071] C D =(D1-1)xB
[0072] Wherein, C D is the display area width adjustment value, D1 is the number of stage parameters to be displayed, and B is the display interval.
[0073] The step of adjusting the control parameter according to the specification parameter information of the display area, the preset stage number limit value and the display interval corresponding to the display area to obtain an adjustment result includes:
[0074] In step S231, if the arrangement display mode is the vertical arrangement display mode, the control parameter to be adjusted is the control display height, the control display height is adjusted according to the display region height, the preset stage quantity limit value and the display interval corresponding to the display region, and an adjustment result is obtained.
[0075] In step S232, if the arrangement display mode is the horizontal arrangement display mode, the control parameter to be adjusted is the control display width, the control display width is adjusted according to the display region width, the preset stage quantity limit value and the display interval corresponding to the display region, and an adjustment result is obtained.
[0076] As an example, refer to Table 1 in which H1 is the control display height, H2 is the display region height, D is the display interval, the first column is the stage parameter name, the second and third columns are the parameter values of the stage parameter, and the fourth column is the display time. Figure 5 and Figure 6 , Figure 5 In Table 2, W1 is the control display width, W2 is the display region width, D is the display interval, the first row is the stage parameter name, the second and third rows are the parameter values of the stage parameter, and the fourth row is the display time. Figure 6 In steps S231 to S232, if the arrangement display mode is the vertical arrangement display mode, the control parameter to be adjusted is the control display height, the display region height adjustment value is calculated according to the preset stage quantity limit value and the display interval, the display region height is subtracted by the display region height adjustment value to obtain the control display height difference, the display height difference and the preset stage quantity limit value are used to adjust the control display height, and an adjustment result is obtained. If the arrangement display mode is the horizontal arrangement display mode, the control parameter to be adjusted is the control display width, the display region width adjustment value is calculated according to the preset stage quantity limit value and the display interval, the display region width is subtracted by the display region width adjustment value to obtain the control display width difference, the display width difference and the preset stage quantity limit value are used to adjust the control display width, and an adjustment result is obtained. In the embodiments of the present application, different arrangement display modes correspond to different control parameters to be adjusted. When the arrangement display mode is the vertical arrangement display mode, the control display height corresponding to the stage parameter is adjusted. When the arrangement display mode is the horizontal arrangement display mode, the control display width corresponding to the stage parameter is adjusted. Therefore, the flexibility of stage parameter adjustment is improved.
[0077] As an example, the formula for calculating the display region height adjustment value according to the preset stage quantity limit value and the display interval is as follows:
[0078] C H=(D2-1)xB
[0079] wherein C H is a display area height adjustment value, D2 is a preset stage quantity limit value, and B is a display interval.
[0080] As an example, the step of calculating a display area width adjustment value according to the preset stage quantity limit value and the display interval is as follows:
[0081] C D =(D2-1)xB
[0082] wherein C D is a display area height adjustment value, D2 is a preset stage quantity limit value, and B is a display interval.
[0083] The embodiment of the present application provides a display parameter adjustment method, i.e., determining a control parameter corresponding to a to-be-displayed stage parameter based on the arrangement display mode; judging whether the to-be-displayed stage parameter quantity is greater than the preset stage quantity limit value; if yes, adjusting the control parameter according to the specification parameter information of the display area, the to-be-displayed stage parameter quantity and the display interval corresponding to the display area to obtain an adjustment result; and if no, adjusting the control parameter according to the specification parameter information of the display area, the preset stage quantity limit value and the display interval corresponding to the display area to obtain an adjustment result. The embodiment of the present application compares the to-be-displayed stage parameter quantity and the preset stage quantity limit value to determine an adjustment mode of the to-be-adjusted control parameter, and when the to-be-displayed stage parameter quantity is less than the preset stage quantity limit value, the control parameter is adjusted by the preset stage quantity limit value, so that the display area can be fully utilized when the to-be-displayed stage parameter quantity is small, and when the to-be-displayed stage parameter quantity is greater than the preset stage quantity limit value, the control parameter is adjusted by the to-be-displayed stage parameter quantity, so that the display area can be fully utilized and the display content in the fixed display area can be increased when the to-be-displayed stage parameter quantity is large.
[0084] Embodiment three
[0085] Further, with reference to Figure 7 In another embodiment of the present application, the same or similar contents as those in the above embodiment one can be referred to the above introduction, and will not be described in detail. On this basis, the tag information includes a display priority, and the step of displaying the to-be-displayed stage parameter according to the adjustment result and the tag information of the to-be-displayed stage parameter includes:
[0086] Step S31, determining a display priority corresponding to each to-be-displayed stage parameter based on the importance of each to-be-displayed stage parameter.
[0087] Optionally, the importance can be determined according to the number of modifications of the stage parameter, and the importance of the stage parameter can be determined according to the number of modifications, that is, the more the number of modifications, the higher the importance of the stage parameter, and the less the number of modifications, the lower the importance of the stage parameter.
[0088] In the embodiments of the present application, it should be noted that the display priority refers to the stage parameter that is displayed preferentially, for example, the display priority of the stage parameter A is higher than that of the stage parameter B, and when the stage parameters are displayed, the display position of the stage parameter A is before that of the stage parameter B.
[0089] In step S32, the stage parameter to be displayed is displayed according to the display priority and the adjustment result.
[0090] As an example, steps S31 to S32 include: determining the display priority of each stage parameter to be displayed according to the number of modifications corresponding to each stage parameter to be displayed; and displaying the stage parameters to be displayed in the target display area in order from front to back according to the display priority order from high to low according to the display priority and the adjustment result, wherein the display position of the stage parameter to be displayed with high display priority is before that of the stage parameter to be displayed with low display priority. In the embodiments of the present application, the display priority of the stage parameter to be displayed is determined according to the importance of the stage parameter to be displayed, that is, the importance of the stage parameter to be displayed with high display priority is high, and the importance of the stage parameter to be displayed with low display priority is low, and the stage parameters to be displayed are displayed in order according to the display priority, thereby providing convenience for the user to modify and view the stage parameters and improving the user experience.
[0091] As an example, the step of displaying the stage parameter to be displayed according to the display priority and the adjustment result further includes: detecting whether the display priority is greater than a preset highlight display priority; if it is detected that the display priority is greater than the preset highlight display priority, highlighting the stage parameter to be displayed corresponding to the display priority; and if it is detected that the display priority is not greater than the preset highlight display priority, not highlighting the stage parameter to be displayed corresponding to the display priority.
[0092] As an example, the step of displaying the stage parameter to be displayed according to the display priority and the adjustment result further includes: detecting whether the display priority is greater than a preset highlight display priority; if it is detected that the display priority is greater than the preset highlight display priority, highlighting the stage parameter to be displayed corresponding to the display priority; and if it is detected that the display priority is not greater than the preset highlight display priority, not highlighting the stage parameter to be displayed corresponding to the display priority.
[0093] wherein, after the step of displaying the to-be-displayed stage parameter according to the display priority and the adjustment result, the high-pressure injector parameter display method further comprises:
[0094] Step S321: detecting whether there is a newly-added stage parameter;
[0095] Step S322: if yes, updating the label information of the to-be-displayed stage parameter based on the label information of the newly-added stage parameter, and returning to execute step S20: adjusting the control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, the label information of the to-be-displayed stage parameter and the preset stage quantity limit value, to obtain an adjustment result;
[0096] Step S323: if no, returning to execute step S321: detecting whether there is a newly-added stage parameter.
[0097] As an example, steps S321 to S323 include: detecting whether there is a newly-added stage parameter; if it is detected that there is the newly-added stage parameter, updating the to-be-displayed stage parameter quantity and the display priority based on the label information of the newly-added stage parameter, and returning to execute step S20: adjusting the control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, the label information of the to-be-displayed stage parameter and the preset stage quantity limit value, to obtain an adjustment result; if it is detected that there is no newly-added stage parameter, returning to execute step S321: detecting whether there is a newly-added stage parameter. Embodiments of the present application update the display content in the fixed display area by monitoring whether there is a newly-added stage parameter in real time, thereby achieving a real-time updating and adjusting effect.
[0098] Embodiments of the present application provide a high-pressure injector parameter display method, that is, determining the display priority corresponding to each to-be-displayed stage parameter based on the importance of each to-be-displayed stage parameter; and displaying the to-be-displayed stage parameter according to the display priority and the adjustment result. Embodiments of the present application determine the display priority corresponding to the display stage parameter according to the importance of the display stage parameter, the display priority corresponding to the important display stage parameter is high, and the display priority corresponding to the relatively unimportant display stage parameter is low, and the display stage parameters are displayed in order according to the display priority, thereby providing convenience for the user to modify and view the stage parameters, and improving the user experience.
[0099] Embodiment four
[0100] Embodiments of the present application also provide a high-pressure injector parameter display device, which refers to Figure 8 , the high-pressure injector parameter display device comprises:
[0101] The determining module 10 is configured to determine an arrangement display mode corresponding to the to-be-displayed stage parameter of the high-pressure injector according to specification parameter information of a target display area for a high-pressure injector preplan display.
[0102] The adjusting module 20 is configured to adjust a control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, label information of the to-be-displayed stage parameter, and a preset stage quantity limit value, to obtain an adjustment result.
[0103] The display module 30 is configured to display the to-be-displayed stage parameter according to the adjustment result and the label information of the to-be-displayed stage parameter.
[0104] Optionally, the specification parameter information includes a display area height and a display area width, the arrangement display mode includes a vertical arrangement display mode and a horizontal arrangement display mode, and the determining module 10 further includes:
[0105] If it is detected that the display area height is not less than the display area width, the arrangement display mode corresponding to the to-be-displayed stage parameter is determined as the vertical arrangement display mode.
[0106] If it is detected that the display area height is less than the display area width, the arrangement display mode corresponding to the to-be-displayed stage parameter is determined as the horizontal arrangement display mode.
[0107] Optionally, the label information includes a to-be-displayed stage parameter quantity, and the adjusting module 20 further includes:
[0108] Based on the arrangement display mode, a to-be-adjusted control parameter corresponding to the to-be-displayed stage parameter is determined.
[0109] It is judged whether the to-be-displayed stage parameter quantity is greater than the preset stage quantity limit value.
[0110] If yes, the control parameter is adjusted according to the specification parameter information of the display area, the to-be-displayed stage parameter quantity, and a display interval corresponding to the display area, to obtain an adjustment result.
[0111] If no, the control parameter is adjusted according to the specification parameter information of the display area, the preset stage quantity limit value, and the display interval corresponding to the display area, to obtain an adjustment result.
[0112] Optionally, the control parameter includes a control display height and a control display width, the specification parameter information of the display area includes a display area height and a display area width, the arrangement display mode includes a vertical arrangement display mode and a horizontal arrangement display mode, and the adjusting module 20 further includes:
[0113] If the arrangement display mode is the vertical arrangement display mode, the control parameter to be adjusted is a control display height, and the control display height is adjusted according to the display region height, the number of the to-be-displayed stage parameters, and the display interval corresponding to the display region, so as to obtain an adjustment result.
[0114] If the arrangement display mode is the horizontal arrangement display mode, the control parameter to be adjusted is a control display width, and the control display width is adjusted according to the display region width, the number of the to-be-displayed stage parameters, and the display interval corresponding to the display region, so as to obtain an adjustment result.
[0115] Optionally, the adjustment module 20 further includes:
[0116] If the arrangement display mode is the vertical arrangement display mode, the control parameter to be adjusted is a control display height, and the control display height is adjusted according to the display region height, the preset number limit value of the stage, and the display interval corresponding to the display region, so as to obtain an adjustment result.
[0117] If the arrangement display mode is the horizontal arrangement display mode, the control parameter to be adjusted is a control display width, and the control display width is adjusted according to the display region width, the preset number limit value of the stage, and the display interval corresponding to the display region, so as to obtain an adjustment result.
[0118] Optionally, the label information includes a display priority, and the display module 30 further includes:
[0119] Based on the importance of each to-be-displayed stage parameter, a display priority corresponding to each to-be-displayed stage parameter is determined.
[0120] According to the display priority and the adjustment result, the to-be-displayed stage parameter is displayed.
[0121] Optionally, the high-pressure injector parameter display device further includes:
[0122] It is detected whether there is a newly-added stage parameter.
[0123] If yes, the label information of the to-be-displayed stage parameter is updated based on the label information of the newly-added stage parameter, and the step of adjusting the control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, the label information of the to-be-displayed stage parameter, and the preset number limit value of the stage is executed again to obtain an adjustment result.
[0124] If no, the step of detecting whether there is a newly-added stage parameter is executed again.
[0125] The high-pressure injector parameter display device provided by the application adopts the high-pressure injector parameter display method in the above embodiment, and solves the technical problem of less display content in a fixed display area. Compared with the prior art, the high-pressure injector parameter display device provided by the embodiment of the application has the same beneficial effects as the high-pressure injector parameter display method provided by the above embodiment, and other technical features in the high-pressure injector parameter display device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0126] Embodiment five
[0127] The embodiment of the application provides an electronic device, which comprises at least one processor and a memory connected with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the high-pressure injector parameter display method in the above embodiment one.
[0128] Reference will be made to Figure 9 which shows a structural schematic diagram of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 9 The electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
[0129] As shown in Figure 9 , the electronic device can include a processing device 1001 (such as a central processor, a graphics processor, etc.), which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 to a random access memory (RAM) 1004. In the RAM 1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus.
[0130] Generally, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication devices can allow the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although the electronic device is illustrated as having various systems, it is understood that all of the illustrated systems are not required to implement or have the electronic device. More or less systems can alternatively be implemented or have.
[0131] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 1009, or installed from the storage devices 1003, or installed from the ROM 1002. When the computer program is executed by the processing devices 1001, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
[0132] The electronic device provided by the present application adopts the high-pressure syringe parameter display method in the above-mentioned embodiments, and solves the technical problem of less display content in the fixed display area in the prior art. Compared with the prior art, the electronic device provided by the embodiments of the present application has the same beneficial effects as the high-pressure syringe parameter display method provided by the above-mentioned embodiments, and other technical features in the electronic device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0133] It should be understood that parts of the present disclosure can be realized by hardware, software, firmware, or a combination thereof. In the description of the above-mentioned embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0134] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0135] Embodiment six
[0136] The embodiment provides a computer readable storage medium having computer readable program instructions stored thereon, and the computer readable program instructions are used for executing the method for displaying parameters of a high-pressure injector in the first embodiment.
[0137] The computer readable storage medium provided by the embodiment of the application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electric connection having one or more conductive lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiment, the computer readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), and the like, or any suitable combination of the above.
[0138] The computer readable storage medium described above can be contained in an electronic device, or can exist separately and not be assembled into an electronic device.
[0139] The computer readable storage medium described above carries one or more programs, and when the one or more programs are executed by an electronic device, the electronic device is caused to: determine an arrangement display mode corresponding to a to-be-displayed stage parameter of the high-pressure injector according to specification parameter information of a target display area for high-pressure injector preplan display; adjust a control parameter corresponding to the to-be-displayed stage parameter according to the arrangement display mode, label information of the to-be-displayed stage parameter, and a preset stage quantity limit value, to obtain an adjustment result; and display the to-be-displayed stage parameter according to the adjustment result and the label information of the to-be-displayed stage parameter.
[0140] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0141] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0142] The modules involved in the embodiments of the present disclosure can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0143] The computer readable storage medium provided by the present application stores computer readable program instructions for executing the high-pressure injector parameter display method described above, and solves the technical problem of less display content in a fixed display area. Compared with the prior art, the computer readable storage medium provided by the embodiments of the present application has the same beneficial effects as the high-pressure injector parameter display method provided by the above embodiments, and will not be described here.
[0144] Embodiment Seven
[0145] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the high-pressure syringe parameter display method as described above.
[0146] The computer program product provided by the application solves the technical problem of less display content in a fixed display area. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the application are the same as those of the high-pressure syringe parameter display method provided by the above-mentioned embodiment, and are not described herein.
[0147] The above is only the preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent flow transformation using the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent processing scope of the application.
Claims
1. A method for displaying parameters of a high-pressure injector, characterized in that, The high-pressure injector parameter display method includes: Based on the specification parameters of the target display area for the high-pressure injector pre-plan display, determine the arrangement and display method corresponding to the display stage parameters of the high-pressure injector; Based on the arrangement and display method, the label information of the stage parameters to be displayed, and the preset stage quantity limit value, the control parameters corresponding to the stage parameters to be displayed are adjusted to obtain the adjustment result; Based on the adjustment results and the label information of the parameters to be displayed, the parameters to be displayed are displayed. The specification parameters include the display area height and display area width; the display arrangement includes vertical and horizontal arrangement; the stage parameters include injection rate, injection dose, and injection pressure; and the label information includes the number of stage parameters to be displayed. The step of adjusting the control parameters corresponding to the stage parameters to be displayed based on the arrangement display method, the label information of the stage parameters to be displayed, and the preset stage quantity limit value, to obtain the adjustment result includes: Based on the arrangement and display method, determine the control parameters to be adjusted corresponding to the parameters of the stage to be displayed; Determine whether the number of parameters to be displayed in the stage is greater than the preset stage number limit value; If so, the control parameters are adjusted according to the specification parameters of the display area, the number of parameters of the stage to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result; If not, the control parameters are adjusted according to the specification parameters of the display area, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result.
2. The high-pressure injector parameter display method as described in claim 1, characterized in that, The step of determining the arrangement display method corresponding to the display stage parameters of the high-pressure injector based on the specification parameter information of the target display area for the high-pressure injector pre-display includes: If it is detected that the height of the display area is not less than the width of the display area, then the arrangement display mode corresponding to the parameter to be displayed is determined to be the vertical arrangement display mode; If the height of the display area is detected to be less than the width of the display area, then the arrangement display mode corresponding to the parameters to be displayed is determined to be a horizontal arrangement display mode.
3. The high-pressure injector parameter display method as described in claim 1, characterized in that, The control parameters include control display height and control display width; the display area specification parameters include display area height and display area width; the arrangement display method includes vertical arrangement display method and horizontal arrangement display method; the step of adjusting the control parameters according to the display area specification parameters, the number of parameters to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result includes: If the arrangement display method is the vertical arrangement display method, then the control parameter to be adjusted is the control display height. The control display height is adjusted according to the display area height, the number of parameters to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result. If the arrangement display method is the horizontal arrangement display method, then the control parameter to be adjusted is the control display width. The control display width is adjusted according to the display area width, the number of parameters to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result.
4. The high-pressure injector parameter display method as described in claim 3, characterized in that, The step of adjusting the control parameters based on the specification parameters of the display area, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result includes: If the arrangement display method is the vertical arrangement display method, then the parameter of the control to be adjusted is the control display height. The control display height is adjusted according to the display area height, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result. If the arrangement display method is the horizontal arrangement display method, then the control parameter to be adjusted is the control display width. The control display width is adjusted according to the display area width, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result.
5. The high-pressure injector parameter display method as described in claim 1, characterized in that, The label information includes display priority, and the step of displaying the stage parameter to be displayed based on the adjustment result and the label information of the stage parameter to be displayed includes: Based on the importance of each of the parameters to be displayed, the display priority corresponding to each of the parameters to be displayed is determined; Based on the display priority and the adjustment result, the parameters of the stage to be displayed are displayed.
6. The high-pressure injector parameter display method as described in claim 5, characterized in that, After the step of displaying the parameters of the stage to be displayed according to the display priority and the adjustment result, the high-pressure injector parameter display method further includes: Check for any newly added stage parameters; If so, based on the label information of the newly added stage parameter, update the label information of the stage parameter to be displayed, and return to the execution step: adjust the control parameters corresponding to the stage parameter to be displayed according to the arrangement display method, the label information of the stage parameter to be displayed, and the preset stage quantity limit value, to obtain the adjustment result; If not, return to the execution step: check if there are any new stage parameters.
7. A parameter display device for a high-pressure injector, characterized in that, The high-pressure injector parameter display device includes: The determining module is used to determine the arrangement and display method corresponding to the display stage parameters of the high-pressure injector based on the specification parameter information of the target display area for the pre-display of the high-pressure injector; The adjustment module is used to adjust the control parameters corresponding to the parameters of the stage to be displayed based on the arrangement display method, the label information of the stage parameters to be displayed, and the preset stage quantity limit value, so as to obtain the adjustment result; The display module is used to display the parameters of the stage to be displayed based on the adjustment result and the label information of the parameters of the stage to be displayed; The specification parameters include the display area height and display area width; the display arrangement includes vertical and horizontal arrangement; the stage parameters include injection rate, injection dose, and injection pressure; and the label information includes the number of stage parameters to be displayed. The adjustment module is also used for: Based on the arrangement and display method, determine the control parameters to be adjusted corresponding to the parameters of the stage to be displayed; Determine whether the number of parameters to be displayed in the stage is greater than the preset stage number limit value; If so, the control parameters are adjusted according to the specification parameters of the display area, the number of parameters of the stage to be displayed, and the display spacing corresponding to the display area to obtain the adjustment result; If not, the control parameters are adjusted according to the specification parameters of the display area, the preset stage quantity limit value, and the display spacing corresponding to the display area to obtain the adjustment result.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the steps of the high-pressure injector parameter display method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program for implementing a method for displaying parameters of a high-pressure injector, the program being executed by a processor to implement the steps of the method for displaying parameters of a high-pressure injector as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Adjusting method of icon display and terminal
CN103649895A
Auto adjustable pane view
US20130125049A1