Display method and device of user interface, electronic equipment and storage medium

By replacing the display effect parameters in the user interface in a multi-device collaborative working scenario, the user interface display styles of different devices are unified, and the operation difficulties and misoperation problems caused by inconsistent user interfaces are solved, thereby improving the user experience.

CN120066632APending Publication Date: 2025-05-30SONOSCAPE MEDICAL (WUHAN) CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311620613.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The user interface display styles of different electronic devices are not uniform, resulting in poor experience when operating in a multi-device collaborative working scenario, and prone to incorrect operations.

Method used

By determining the first functional control in the first user interface and the second functional control associated therewith in the second user interface, the specific parameters in the display effect parameters of the target area are replaced as corresponding parameters of the reference area, and the display effect of the two user interfaces is unified.

Benefits of technology

The display effects of the two user interfaces are achieved to be consistent, reducing the confusion of users when switching operations, reducing the risk of misoperation, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066632A_ABST
    Figure CN120066632A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display method of a user interface, electronic equipment and a storage medium. The method comprises the steps that a first function control in a first user interface and a second function control associated with the first function control in a second user interface are determined, the first user interface is a user interface of first electronic equipment, and the second user interface is a user interface of second electronic equipment; a specific parameter in the display effect parameters corresponding to the target area is replaced with a specific parameter in the display effect parameters corresponding to the reference area, the target area is the display area of the first function control, the reference area is the display area of the second function control, and the display effect parameters are used for controlling the display effect of the corresponding area. The specific parameters are at least partial parameters in the display effect parameters; and displaying a first user interface, wherein the first user interface comprises the target area with the replaced display effect parameters. According to the scheme, the risk of misoperation can be reduced, and the user experience is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of user interfaces, and in particular, to a method and device for displaying a user interface, an electronic device, and a storage medium. Background Art

[0002] Currently, in many working scenarios, multiple electronic devices are required to be used simultaneously. Many electronic devices have user interaction functions and can present a user interface (UI). However, the display styles (or display styles) of the user interfaces of different electronic devices are not unified, including designing different display methods for similar function controls, which will bring inconvenience to users' work. For the convenience of understanding, the following takes the collaborative working scenario of an intravascular ultrasound device and other electronic devices as an example to describe the problem of non-uniform user interfaces of such electronic devices.

[0003] As an intravascular ultrasound device, an intravascular ultrasound device needs to be used in cooperation with other electronic devices such as an extracorporeal ultrasound device or an endoscope device in some scenarios. Generally, the overall business processes of these devices are similar, but the inspection contents are not exactly the same.

[0004] When an intravascular ultrasound device is used in cooperation with other electronic devices, usually the two devices are placed adjacent to each other, and the user needs to operate back and forth on the user interfaces of the two devices respectively. Since the display styles of the user interfaces of the two devices are not exactly the same, the user experience is poor, and there is a possibility of misoperation. Summary of the Invention

[0005] The present invention is proposed in view of the above problems. The present invention provides a method for displaying a user interface, a device for displaying a user interface, an electronic device, and a storage medium.

[0006] According to an aspect of the present invention, there is provided a method for displaying a user interface, including: determining a first function control in a first user interface and a second function control associated with the first function control in a second user interface, where the first user interface is a user interface of a first electronic device, and the second user interface is a user interface of a second electronic device; replacing a specific parameter in the display effect parameters corresponding to a target area with a specific parameter in the display effect parameters corresponding to a reference area, where the target area is a display area of the first function control, the reference area is a display area of the second function control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the parameters in the display effect parameters; and displaying the first user interface, where the first user interface includes the target area with the replaced display effect parameters.

[0007] Exemplarily, the display effect parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; wherein, the color parameter is used to specify the color of the corresponding area, the icon parameter is used to specify the function icon of the corresponding area, the text parameter is used to specify the text format of the corresponding area, the shape parameter is used to specify the shape of the corresponding area, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0008] Exemplarily, if the first function control and the second function control are controls of the same type but with different functions, the specific parameters include one or more of the following: color parameter, text parameter, shape parameter, size parameter, position parameter; and / or, if the first function control and the second function control are controls of the same type and with the same function, the specific parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; and / or, if the first function control and the second function control are controls of different types and with different functions, the specific parameters include one or more of the following: color parameter, text parameter.

[0009] Exemplarily, before determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface, the method further includes: in response to the style selection information input by the user, selecting a preset display style corresponding to the style selection information from a plurality of preset display styles; wherein, the plurality of preset display styles are display styles corresponding to a plurality of electronic devices one by one, and each preset display style is used to specify the display effect parameters of the display area of the function control on the user interface of the corresponding electronic device; the second electronic device is the electronic device corresponding to the selected preset display style.

[0010] Exemplarily, in response to the style selection information input by the user, selecting a preset display style corresponding to the style selection information from a plurality of preset display styles includes: in response to the style selection information input by the user, writing the style selection information into a configuration file, wherein the configuration file contains link information for pointing to the storage locations of the plurality of preset display styles; obtaining the preset display style corresponding to the style selection information through the configuration file.

[0011] Exemplarily, determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface includes: if there is a first specific function control in the target function controls of the second user interface that has the same type and the same function as the first function control, determining the first specific function control as the second function control; and / or, if there is no first specific function control in the target function controls of the second user interface, but there is a second specific function control that has the same type but different function as the first function control, determining the second specific function control as the second function control; and / or, if there is no first specific function control and second specific function control in the target function controls of the second user interface, but there is a third specific function control that has the same category as the first function control, determining the third specific function control as the second function control; wherein, function controls are divided into two categories: operation type and display type, the operation type represents function controls that can be operated by users, and the display type represents function controls that cannot be operated by users and are used to display information.

[0012] Exemplarily, function controls in the first user interface are divided into a first number of levels, and function controls in the second user interface are divided into a second number of levels. When the first number is equal to the second number, the first number of levels in the first user interface corresponds to the second number of levels in the second user interface in sequence one by one; when the first number is greater than the second number, the first number of levels in the first user interface is divided into a second number of level groups, and the levels included in each level group are continuous. The second number of level groups in the first user interface corresponds to the second number of levels in the second user interface in sequence one by one; when the first number is less than the second number, the first number of levels in the second user interface corresponds to the first number of levels in the second user interface in sequence one by one; wherein, determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface further includes: determining the function controls belonging to a specific level in the second user interface as the target function controls, wherein the specific level is the level corresponding to the level to which the first function control belongs.

[0013] Exemplarily, when replacing a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, the method further includes: keeping the fixed parameters corresponding to the target area unchanged; wherein, the fixed parameters are different from the display effect parameters, and the fixed parameters include function parameters, and the function parameters are used to specify the functions of the function controls included in the corresponding area.

[0014] Exemplarily, the fixed parameters further include one or more of the following: size parameter, position parameter; wherein, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0015] According to another aspect of the present invention, there is also provided a display device for a user interface, including: a determination module configured to determine a first function control in a first user interface and a second function control associated with the first function control in a second user interface, wherein the first user interface is a user interface of a first electronic device, and the second user interface is a user interface of a second electronic device; a replacement module configured to replace a specific parameter in the display effect parameters corresponding to a target area with a specific parameter in the display effect parameters corresponding to a reference area, wherein the target area is a display area of the first function control, the reference area is a display area of the second function control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the display effect parameters; a display module configured to display the first user interface, and the first user interface includes the target area with the replaced display effect parameters.

[0016] According to still another aspect of the present invention, there is also provided an electronic device, including a processor and a memory, where a computer program is stored in the memory, and when the computer program instructions are run by the processor, they are used to execute the above-mentioned method for displaying a user interface.

[0017] According to yet another aspect of the present invention, there is also provided a storage medium storing a computer program / instructions, and the computer program / instructions are used to execute the above-mentioned method for displaying a user interface when running.

[0018] For the method for displaying a user interface, the display device for a user interface, the electronic device, and the storage medium according to the embodiments of the present invention, a specific parameter in the display effect parameters corresponding to a target area in a first user interface is replaced with a specific parameter in the display effect parameters corresponding to a reference area in a second user interface and the final first user interface is displayed, wherein the target area is a display area of a first function control in the first user interface, and the reference area is a display area of a second function control associated with the first function control in the second user interface. This solution can ensure that the display effect parameters at least in part of the areas in the finally displayed first user interface tend to be consistent with the display effect parameters at least in part of the areas in the second user interface, thereby making the display effects of the two user interfaces as unified as possible, facilitating the user to quickly switch operations between the two user interfaces, avoiding confusion of the function controls between the first user interface and the second user interface, and thus reducing the risk of misoperation and providing a better user experience.

[0019] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description. And in order to make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specifically describes the embodiments of the present invention. Description of the Drawings

[0020] The embodiments of the present invention will be described in more detail with reference to the accompanying drawings. The above and other objects, features, and advantages of the present invention will become more apparent. The drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings, the same reference numerals generally represent the same components or steps.

[0021] Figure 1 A schematic flowchart showing a method for displaying a user interface according to an embodiment of the present invention is shown;

[0022] Figure 2 A schematic diagram showing a first user interface according to an embodiment of the present invention is shown;

[0023] Figure 3 A schematic diagram showing a second user interface according to an embodiment of the present invention is shown;

[0024] Figure 4 A schematic diagram showing, according to an embodiment of the present invention, the Figure 2 new first user interface obtained after replacing the specific parameters corresponding to the display areas of at least some function controls in the first user interface;

[0025] Figure 5 A schematic diagram showing a mode setting control according to an embodiment of the present invention is shown;

[0026] Figure 6 A schematic flowchart showing a preset display style and updating the display style of the first user interface based on the preset display style according to an embodiment of the present invention is shown;

[0027] Figure 7 A schematic diagram showing reading a configuration file according to an embodiment of the present invention is shown;

[0028] Figure 8 A schematic block diagram showing a display device for a user interface according to an embodiment of the present invention is shown; and

[0029] Figure 9 A schematic block diagram showing an electronic device according to an embodiment of the present invention is shown. Detailed Embodiments

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

[0031] To solve the above technical problems, the present invention provides a method for displaying a user interface. Figure 1 FIG. shows a schematic block diagram of a method 100 for displaying a user interface according to an embodiment of the present invention. As Figure 1 shown, the method 100 may include the following steps S110, step S120, and step S130.

[0032] Step S110, determining a first function control in a first user interface and a second function control associated with the first function control in a second user interface, where the first user interface is a user interface of a first electronic device, and the second user interface is a user interface of a second electronic device.

[0033] Exemplarily, the first electronic device and the second electronic device may be any type of electronic device. The number of second electronic devices may be one or more. For example, the first electronic device may be an intravascular ultrasound device, and the second electronic device may be an extracorporeal ultrasound device (the extracorporeal ultrasound device may be various ultrasound devices capable of performing extracorporeal ultrasound examinations or diagnoses). Another example is that the first electronic device may be an endoscope device, and the second electronic devices may be an intravascular ultrasound device and an extracorporeal ultrasound device. The present invention places no restrictions on the types of electronic devices. For the sake of convenience of description and understanding, hereinafter, the first electronic device is mainly described as an intravascular ultrasound device as an example. Exemplarily, the second electronic device may be a device that works in cooperation with the first electronic device, that is, the two can communicate with each other and perform some cooperative processing tasks. Of course, the second electronic device may also work independently of the first electronic device.

[0034] The first user interface of the first electronic device and the second user interface of the second electronic device may each include one or more function controls. Among the function controls in the second user interface, there may be function controls that are in one-to-one correspondence with any one or more function controls in the first user interface, or there may be function controls that are not associated with any function control in the first user interface. For the convenience of description, the function controls in the first user interface are referred to as first function controls, and the function controls in the second user interface that are associated with the first function controls are referred to as second function controls. The association relationship between function controls can be preset. For example, it can be stipulated that function controls with the same function are mutually associated function controls. Another example is that it can be stipulated that function controls of the same type are mutually associated function controls. Another example is that function controls can be divided into different categories, and it can be stipulated that function controls of the same category are mutually associated function controls. The type of function control can be divided according to the general type division method in the control field, such as divided into text boxes, buttons, drop-down list boxes, and so on. The categories of function controls can be divided into two major categories: operation type and display type, and the meanings of these two major categories will be described below. In one embodiment, the first electronic device can be an intravascular ultrasound device, the second electronic device can be an endoscope device, the first user interface can be the list interface of the persons to be examined of the intravascular ultrasound device, and the second user interface can be the list interface of the persons to be examined of the endoscope device. Figure 2 FIG. shows a schematic diagram of the first user interface according to an embodiment of the present invention. Figure 3 FIG. shows a schematic diagram of the second user interface according to an embodiment of the present invention. As Figure 2 shown, the first user interface includes at least one function control. In Figure 2 , within the rectangular frame 210 contains a first function control, and the first function control is a check box control. When the user checks the check box control, the corresponding person to be examined is selected. At least a part of the area within the rectangular frame 210 is the display area of the check box control. In this display area, in addition to the check box control, the basic information of the person to be examined, such as number, name, age, appointment time, etc., can also be displayed. In Figure 3 the second user interface shown, it may include at least one function control. Among the function controls of the second user interface, there may be a second function control that is associated with the first function control, such as Figure 3 the function control contained within the rectangular frame 310. This second function control can also be used to select the person to be examined, and the basic information of the person to be examined, such as name, age, examination item, etc., can be displayed within its display area. It can be understood that the number of first function controls can be one or more. If the number of first function controls is multiple, then there may optionally be multiple second function controls in the second user interface that are in one-to-one correspondence with the multiple first function controls. For example, Figure 2The first function control is included within the middle rectangular box 220. Correspondingly, in the Figure 3 second user interface shown, there may also be included a second function control associated with the first function control, that is, Figure 3 the function control included within the middle rectangular box 320. In addition, the function controls in each user interface do not necessarily need to be displayed simultaneously. For example, if any function control is a drop-down list box type control, the drop-down menu of this function control further includes one or more hidden function controls.

[0035] Step S120: Replace a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, where the target area is the display area of the first function control, the reference area is the display area of the second function control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the display effect parameters.

[0036] Exemplarily, the area in the first user interface for displaying the first function control can be used as the target area, and the area in the second user interface for displaying the second function control can be used as the reference area. For example, the target area can be Figure 2 at least part of the area within the middle rectangular box 210 or 220, and the reference area can be Figure 3 at least part of the area within the middle rectangular box 310 or 320. The target area can display the first function control and can also optionally display information related to the first function control, such as the basic information of the person to be inspected as described above. Similarly, the reference area can display the second function control and can also optionally display information related to the second function control. The target area and the reference area each have their corresponding display effect parameters. The display effect parameters can be used to control the display effect of the corresponding area, such as the displayed color, shape, position, etc.

[0037] Exemplarily, the display effect parameters include any one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; where the color parameter is used to specify the color of the corresponding area, the icon parameter is used to specify the function icon of the corresponding area, the function icon is used to indicate the function of the function control included in the corresponding area, the text parameter is used to specify the text format of the corresponding area, the shape parameter is used to specify the shape of the corresponding area, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0038] Exemplarily, the display effect parameters may include color parameters for specifying the color of the corresponding area, that is, specifying which color the corresponding area is. For example, the function control can be a white text box control or a blue text box control, etc., and the display area where the function control is located can be white or blue, etc. Exemplarily, the display effect parameters may include icon parameters for specifying the function icon of the corresponding area, that is, specifying which icon the function icon of the corresponding area is. The function icon of the corresponding area is the icon corresponding to the function control, which can be used to indicate which function control the function control is, that is, to indicate the function of the function control. For example, referring to Figure 3 , the function control representing confirmation may have a corresponding icon similar to . Again, for example, referring to Figure 3 , the function control representing deletion may have an icon in the form of a trash can. Exemplarily, the display effect parameters may include text parameters for indicating the text format of the text included in the corresponding area. The text format may include but is not limited to: font type or font size, etc. Exemplarily, the display effect parameters may include shape parameters for specifying the shape of the corresponding area, that is, specifying which shape the corresponding area is. The shape of the corresponding area can be any shape such as a rectangle or a circle. For example, for the first function control within the rectangular frame 210 in Figure 2 , its four corners are right angles; for the second function control within the rectangular frame 310 in Figure 3 , the four corners have a certain curvature. Exemplarily, the display effect parameters may include size parameters for specifying the size of the corresponding area, that is, specifying how large the area is in the corresponding user interface. Exemplarily, the display effect parameters may include position parameters for specifying the position of the corresponding area, that is, specifying the position of the corresponding area in the user interface.

[0039] According to the above technical solution, the display effect parameters include one or more of color parameters, icon parameters, text parameters, shape parameters, size parameters, and position parameters. Through these parameters, it is convenient to control the color, function icon, text format, shape, size, position, etc. of the area where the function control is located. Most of these parameters are parameters closely related to the display effect of the area, and through these parameters, the display effect can be better controlled.

[0040] Based on the determined second function control associated with the first function control, specific parameters in the display effect parameters corresponding to the target area can be replaced with specific parameters in the display effect parameters corresponding to the reference area. The specific parameters can be all or part of the display effect parameters. Referring to Figure 2 and Figure 3, if the target area 210 includes color filling and the font size in this target area is 14, and if the reference area 310 does not include color filling and the font size in this reference area is also 14, then the color corresponding to the target area can be replaced with no filling. It can be understood that in this embodiment, the text parameters corresponding to the target area and the reference area are the same, so there is no need to replace. In another embodiment, if the text parameters corresponding to the target area and the reference area are different, then the text parameters corresponding to the target area can be replaced with the text parameters corresponding to the reference area.

[0041] Step S130, display the first user interface, and the first user interface includes the target area with the replaced display effect parameters.

[0042] Figure 4 Shows a schematic diagram of a new first user interface obtained by replacing the specific parameters corresponding to the display areas of at least some function controls in the first user interface in accordance with an embodiment of the present invention. When replacing Figure 2 the specific parameters corresponding to the display areas of at least some function controls in Figure 2 are replaced with the specific parameters corresponding to the display areas of the corresponding function controls in Figure 3 . For example, Figure 4 the rectangular frame 410 in Figure 3 can include a first function control for displaying the basic information of the person to be inspected, the first function control included in the rectangular frame 420 for editing (adding, deleting, selecting all, etc.) the person to be inspected, and the first function control included in the rectangular frame 430 for indicating that the information corresponding to this column is the gender of each person to be inspected. The at least partial area included in the rectangular frame 310 in Figure 2 can be used as the reference area, and the at least partial area included in the rectangular frame 210 in Figure 4As shown, the display effect parameters corresponding to the target area in the first user interface finally used for display have been replaced. For example, within the target area included in the rectangular frame 410, the color of this area is replaced with no fill and the four corners of this area are replaced with corners with a certain arc instead of right angles. Another example is that within the target area included in the rectangular frame 420, the icon within this area is replaced from not including an icon to an icon that is the same as the icon within the reference area included in the rectangular frame 320 in the second user interface. After replacing the specific parameters in the display effect parameters corresponding to the target area with the specific parameters in the display effect parameters corresponding to the reference area, the first electronic device can be restarted to display the replaced first user interface, or after replacing the specific parameters in the display effect parameters corresponding to the target area with the specific parameters in the display effect parameters corresponding to the reference area and applying them, the replaced first user interface can also be directly displayed. Replacing at least some of the display effect parameters corresponding to the target area with at least some of the display effect parameters corresponding to the reference area can make the display styles corresponding to the target area and the reference area unified, so as to facilitate the user to quickly find the desired function controls in the two user interfaces.

[0043] Exemplarily, when an intravascular ultrasound device works in cooperation with other electronic devices such as an extracorporeal ultrasound device or an endoscope device, the display style of the user interface can be switched to the display style of the other device through the above solution. This solution is a low-cost user interface switching method, which can effectively improve the user's operation experience and reduce the risk of misoperation.

[0044] According to the above technical solution, the specific parameters in the display effect parameters corresponding to the target area in the first user interface are replaced with the specific parameters in the display effect parameters corresponding to the reference area in the second user interface and the final first user interface is displayed, where the target area is the display area of the first function control in the first user interface, and the reference area is the display area of the second function control associated with the first function control in the second user interface. This solution can ensure that the display effect parameters at least in some areas in the finally displayed first user interface tend to be the same as the display effect parameters at least in some areas in the second user interface, and further make the display effects of the two user interfaces as unified as possible, facilitating the user to quickly switch operations between the two user interfaces, avoiding confusing the function controls between the first user interface and the second user interface, which can reduce the risk of misoperation and the user experience is better.

[0045] Exemplarily, if the first function control and the second function control belong to the same type but have different functions, the specific parameters include one or more of the following: color parameter, text parameter, shape parameter, size parameter, position parameter.

[0046] In one embodiment, the types of functional controls may include text boxes, labels, buttons, check boxes, drop-down list boxes, etc. The functions of the functional controls may include any function such as representing confirmation, deletion, cancellation, etc. If both the first functional control and the second functional control belong to text boxes, where the first functional control is used to input the basic information of the person to be examined and the second functional control is used to input the inspection result control of the inspection item, it can be determined that the first functional control and the second functional control are controls of the same type but with different functions. If both the first functional control and the second functional control belong to text boxes and are both used to input the basic information of the person to be examined, it can be determined that the first functional control and the second functional control are controls of the same type and with the same function. When the first functional control and the second functional control are controls of the same type but with different functions, the specific parameters may include the color of the corresponding area, the text information of the corresponding area, the shape of the corresponding area, the size of the corresponding area, and the position of the corresponding area, or the specific parameters may include the color of the corresponding area and the function icon of the corresponding area, or the specific parameters may only include the color of the corresponding area.

[0047] Exemplarily, if the first functional control and the second functional control are controls of the same type and with the same function, the specific parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter.

[0048] In another embodiment, when the first functional control and the second functional control are controls of the same type and with the same function, the specific parameters may include the color of the corresponding area, the function icon of the corresponding area, the text information of the corresponding area, the shape of the corresponding area, the size of the corresponding area, and the position of the corresponding area, or the specific parameters may include the color of the corresponding area and the function icon of the corresponding area, or the specific parameters may only include the color of the corresponding area.

[0049] Exemplarily, if the first functional control and the second functional control are controls of different types and with different functions, the specific parameters include one or more of the following: color parameter, text parameter.

[0050] In yet another embodiment, if the first functional control belongs to a text box, the second functional control belongs to a button-type control, and the first functional control is used to input the basic information of the person to be examined and the second functional control is used to start or stop the inspection, it can be determined that the first functional control and the second functional control are controls of different types and with different functions. When the first functional control and the second functional control are controls of different types and with different functions, the specific parameters may include the color of the corresponding area and the text information of the corresponding area, or any one of the color of the corresponding area and the text information of the corresponding area.

[0051] According to the above technical solution, when the first functional control and the second functional control are controls of the same type but different functions, and / or the first functional control and the second functional control are controls of different types and different functions, different specific parameters are set respectively, so that the display effect parameters of controls of different types or different functions can be adjusted respectively to ensure that the display effects between the two user interfaces tend to be consistent and the user interface can be used normally.

[0052] Exemplarily, before determining the first functional control in the first user interface and the second functional control associated with the first functional control in the second user interface, the method may further include: in response to the style selection information input by the user, selecting a preset display style corresponding to the style selection information from a plurality of preset display styles; wherein, the plurality of preset display styles are display styles corresponding to a plurality of electronic devices one by one, and each preset display style is used to specify the display effect parameters of the display area of the functional control on the user interface of the corresponding electronic device; the second electronic device is the electronic device corresponding to the selected preset display style.

[0053] In one embodiment, a switching channel may be reserved in a computer program for executing the display method 100 of the user interface in the first electronic device to switch a preset display style in response to a user operation. For example, a style selection control may be included on the first user interface, and the display style of the current first user interface can be switched through the style selection control. The identification information corresponding to the style selection control can be represented by any type of identifier. For example, it can be represented by any identifier such as the text "Style Selection" or the word "Skin". The style selection control can be any type of control such as a text box, a button, a drop-down list box, etc. that can implement the selection of a preset display style. In an embodiment of the present invention, the style selection control may be a text box. The user can input text information representing a certain preset display style through an input device (such as a mouse, a keyboard, etc.). The style selection information may include the above text information. For example, the user can input the number "1" to indicate the selection of Style 1. In another embodiment of the present invention, the style selection control may be a drop-down list box. The user can select an option from multiple options included in the drop-down list box through an input device, and each option can represent a preset display style. When the user selects any option in the drop-down list box, option selection information indicating that the option is selected is generated. The style selection information may include the above option selection information. In one embodiment, after the user selects a preset display style through the style selection control, the preset display style selected by the user can be directly determined as the final display style for updating the first user interface. In another embodiment, after the user selects a preset display style through the style selection control, the selected preset display style can be further confirmed through a confirmation control. After the user confirmation, the preset display style currently selected by the user can be determined as the final display style for updating the first user interface. The confirmation control can be any type of control. For example, the confirmation control can be a button control, and the button control can be identified by an identifier such as "Apply".

[0054] Figure 5 FIG. shows a schematic diagram of a style selection control according to an embodiment of the present invention. As Figure 5 shown, a style selection control is included within the white rectangular box 510. This control is a drop-down list box control and is identified by "Skin". After the user clicks on the gray inverted triangle with the mouse, a corresponding drop-down list box with multiple options can be displayed, which are identified by "1" and "2" respectively. The options "1" and "2" can represent Preset Display Style 1 and Preset Display Style 2 respectively. If the display style required by the user is Preset Display Style 1, the user can click on "1" with the mouse to select the preset display style.

[0055] The multiple preset display styles are display styles corresponding one by one to multiple electronic devices. The number of preset display styles among the multiple preset display styles can be set as required, and it can be any number greater than 1. Each preset display style can specify the display effect parameters of the display area of function controls on the user interface of the corresponding electronic device. For example, the electronic devices that cooperate with the first electronic device (intravascular ultrasound device) include an extracorporeal ultrasound device and an endoscope. The extracorporeal ultrasound device and the endoscope can each have their own preset display styles. The preset display style corresponding to the extracorporeal ultrasound device can be used to indicate that there is no color filling in the display area of certain function controls on its user interface, while the preset display style corresponding to the endoscope device can be used to indicate that there is a blue filling background in the display area of certain function controls on its user interface. If the user selects a certain preset display style, then the electronic device corresponding to this preset display style can be regarded as the second electronic device. Optionally, the multiple preset display styles can include the display style initially set on the first electronic device. That is, the user can, at any time, restore the first user interface of the first electronic device to its initial state by selecting the display style initially set on the first electronic device.

[0056] According to the above technical solution, the user can select a certain preset display style from the multiple preset display styles by inputting style selection information. After the user selects a certain preset display style, the display effect parameters of the display area of function controls on the second user interface of the second electronic device can be determined. This solution facilitates the user to independently select the display style that the user expects the first user interface to approximate according to needs, and can meet the personalized needs of the user.

[0057] It should be noted that the above solution of the user selecting the preset display style of the second electronic device is only an example and not a limitation of the present invention. For example, the second electronic device and its preset display style can be set by default.

[0058] Exemplarily, in response to the style selection information input by the user, selecting the preset display style corresponding to the style selection information from the multiple preset display styles can include: in response to the style selection information input by the user, writing the style selection information into a configuration file, where the configuration file contains link information for pointing to the storage locations of the multiple preset display styles; and obtaining the preset display style corresponding to the style selection information through the configuration file.

[0059] Figure 6 shows a schematic flowchart of selecting a preset display style and updating the display style of the first user interface based on the preset display style according to an embodiment of the present invention. As Figure 6As shown, the user can input style selection information through a style selection control. At this time, the device host of the first electronic device, specifically the processor in the device host of the first electronic device, can receive this style selection information. The processor in the device host of the first electronic device can execute a computer program, and the computer program can be used to execute the display method 100 of the user interface. After the device host of the first electronic device receives the style selection information, it can write the style selection information into a configuration file. For example, after the user clicks on "1" in the "Skin" control shown in Figure 5 , the device host of the first electronic device can write the style selection information into the configuration file. The configuration file can contain link information for pointing to the storage locations of multiple preset display styles. Through the configuration file, the preset display style corresponding to the style selection information can be obtained. The device host of the first electronic device can determine the display style to be loaded (i.e., the display style of the second electronic device) by reading the configuration file, and update the display style of the first user interface based on the display style of the second electronic device. Optionally, before updating the display style of the first user interface, the first electronic device can be restarted, or it can not be restarted. Whether to restart specifically can be preset in the computer program for executing the display method 100 of the user interface. For example, as shown in Figure 6 , the first electronic device (i.e., the device host of the first electronic device) can be restarted. During the restart process of the first electronic device, the preset display style corresponding to the style selection information can be obtained by reading the configuration file. The first electronic device can load this preset display style to replace a specific parameter in the display effect parameters corresponding to the target area in the first user interface with the specific parameter in the display effect parameters corresponding to the reference area in the second user interface. After the loading is completed, the display style of the current first user interface can be updated to be consistent with the preset display style selected by the user. The first electronic device can display the new first user interface.

[0060] Figure 7 Shows a schematic diagram of reading a configuration file according to an embodiment of the present invention. Figure 7 The "Style x" shown in is the preset display style selected by the user. Figure 7In the illustrated embodiment, the first electronic device is an intravascular ultrasound device. The device host of the intravascular ultrasound device can read the configuration file and obtain Style X through the configuration file to determine the display effect parameters of the second user interface on the second electronic device. Exemplarily, according to actual needs, in the computer program of the intravascular ultrasound device, for the display style of the intravascular ultrasound device, the variable display effect parameters can be determined. The variable parameters (such as display effect parameters or specific parameters in the display effect parameters) are designed according to the display styles of different second electronic devices and are respectively marked as Style 1, Style 2... Style n (corresponding to n different types of electronically devices working together), and these styles are designed in the configuration file to form different style files, which are released together with the computer program of the intravascular ultrasound device. When the intravascular ultrasound device is started, it can read the configuration file to determine the display style to be loaded, so as to realize the switching of the display style.

[0061] According to the above technical solution, through the style selection information input by the user, the style selection information can be written into the configuration file, and then the preset display style corresponding to the style selection information can be obtained through the configuration file. This can facilitate the user to switch the display style of the user interface at any time to meet the requirements of different application scenarios.

[0062] Exemplarily, determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface may include: if there is a first specific function control in the target function controls of the second user interface that has the same type and function as the first function control, then the first specific function control is determined as the second function control; and / or, if there is no first specific function control in the target function controls of the second user interface, but there is a second specific function control that has the same type but different function as the first function control, then the second specific function control is determined as the second function control; and / or, if there is no first specific function control and second specific function control in the target function controls of the second user interface, but there is a third specific function control that has the same category as the first function control, then the third specific function control is determined as the second function control; where the function controls are divided into two categories: operation type and display type. The operation type represents the function controls that can be operated by the user, and the display type represents the function controls that cannot be operated by the user and are used to display information.

[0063] In one embodiment, the target function controls of the second user interface can be all the function controls displayed in the current second user interface, or the hidden function controls displayed after operating one or more of the function controls, or can include the currently displayed function controls and the hidden function controls displayed after operating at least some of the currently displayed function controls.

[0064] Exemplarily, if there is a first specific function control in the target function controls of the second user interface that has the same type and the same function as the first function control, the first specific function control can be determined as the second function control. For example, if there are button controls with the function of "confirm" in both the first user interface and the second user interface, the "confirm" button control in the second user interface can be used as the second function control to replace at least some of the display effect parameters corresponding to the "confirm" button control in the first user interface. For how to determine whether the types and functions of two function controls are the same, detailed descriptions have been made in the foregoing embodiments. For the sake of brevity, they will not be repeated here.

[0065] Exemplarily, if there is no first specific function control in the target function controls of the second user interface, but there is a second specific function control that has the same type as the first function control but different functions, the second specific function control can be determined as the second function control. Optionally, when the number of second specific function controls exceeds one, any one or more of them can be selected as the second function control. For example, the type of the first function control is a text box, and its corresponding function is to input the basic information of the person to be inspected. However, there is no function control (i.e., the first specific function control) of the type of text box and for inputting the basic information of the person to be inspected in the target function controls of the second user interface. The function control of the type of text box in the target function controls of the second user interface (the second specific function control) can be determined as the second function control.

[0066] Exemplarily, if there is no first specific function control and second specific function control in the target function controls of the second user interface, but there is a third specific function control that has the same category as the first function control, the third specific function control can be determined as the second function control. Optionally, when the number of third specific function controls exceeds one, any one or more of them can be selected as the second function control. Function controls can be divided into two categories: operation type and display type. Operation type function controls are function controls that can be operated by users. For example, Figure 4 the function controls included in the rectangle 420 are operation type function controls. If the user clicks "Select all" with the mouse, it can mean selecting all the persons to be inspected on the left at the same time. Display type function controls are function controls that cannot be operated by users and are used to display information. For example, Figure 4 the function controls included in the rectangle 430 are display type function controls, and this function control is only used to display that the meaning of this column of information is the gender of the person to be inspected. If the first function control cannot find the corresponding first specific function control and second specific function control in the second user interface, and the first function control is an operation type function control, any function control can be selected from the operation type function controls of the second user interface as the second function control.

[0067] According to the above technical solution, any one or more function controls in the first user interface can be associated with specific function controls in the second user interface by comparing whether the types of the function controls are the same, whether the functions are the same, or whether the categories are the same. This solution can preferably select function controls on the second user interface that are relatively similar to the first function control as the second function control, so that the first function control can perform parameter substitution using the display effect parameters of the second function control similar to it. In this way, the adaptability of the new display effect of the first function control obtained is better, which helps to further improve the user experience.

[0068] Exemplarily, the function controls in the first user interface are divided into a first number of levels, and the function controls in the second user interface are divided into a second number of levels. When the first number is equal to the second number, the first number of levels in the first user interface corresponds one by one in sequence to the second number of levels in the second user interface; when the first number is greater than the second number, the first number of levels in the first user interface is divided into a second number of level groups, and the levels included in each level group are consecutive. The second number of level groups in the first user interface corresponds one by one in sequence to the second number of levels in the second user interface; when the first number is less than the second number, the first number of levels in the second user interface corresponds one by one in sequence to the first number of levels in the second user interface; wherein, determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface further includes: determining the function control belonging to a specific level in the second user interface as the target function control, wherein the specific level is the level corresponding to the level to which the first function control belongs.

[0069] In one embodiment, the function controls in the first user interface can be divided into a first number of levels, and the function controls in the second user interface can be divided into a second number of levels. The first number and the second number can be equal or unequal. For example, the first number can be equal to 3, and the second number can be equal to 5. As another example, both the first number and the second number can be equal to 3. Exemplarily, the levels can be determined according to the display levels of the function controls. For example, assume that function control A is currently displayed on the user interface. After the user operates function control A, in response to the user's operation, function control B is displayed on the user interface. In this case, function control A and function control B can belong to two different levels, and function control A is the upper level of function control B. That is to say, exemplarily, the function controls that can be displayed simultaneously can belong to the same level, and the function controls displayed in response to the operation of any function control belonging to a target level belong to another level different from the target level. Of course, this way of level division is only an example and not a limitation to the present invention. Other suitable ways of level division can be selected according to needs. For example, different levels can be divided according to the display positions of the function controls. Specifically, for example, the function controls displayed in the main menu area can be divided into one level, and the toolbar area displayed below the main menu area can be divided into another level, and so on. Exemplarily, the user can also pre-customize which level each function control belongs to according to needs.

[0070] In one embodiment of the present invention, if the first number and the second number are equal, then the first number of levels in the first user interface and the second number of levels in the second user interface can correspond to each other one by one in order. The order can be the arrangement order of the levels. For example, the levels to which the function controls in the first user interface belong can be sequentially divided into a first level, a second level, and a third level in the order from top to bottom. Corresponding to each other one by one in order can be to correspond the first number of levels and the second number of levels in the order from top to bottom or from bottom to top. For example, both the first number and the second number can be equal to 3. The first number of levels in the first user interface can sequentially include three levels a, b, and c in the order from top to bottom. The second number of levels in the second user interface can sequentially include three levels A, B, and C in the order from top to bottom. Level a in the first user interface can correspond to level A in the second user interface, level b can correspond to level B, and level c can correspond to level C.

[0071] In another embodiment of the present invention, if the first quantity is greater than the second quantity, then the first quantity of levels in the first user interface can be divided into the second quantity of level groups, and the second quantity of level groups in the first user interface corresponds to the second quantity of levels in the second user interface in sequence one by one. Wherein, the levels included in each level group are consecutive. For example, the first quantity is equal to 5 and the second quantity is equal to 3. The levels of the first quantity in the first user interface can sequentially include a, b, c, d, e, a total of 5 levels in order from top to bottom. The levels of the second quantity in the second user interface can sequentially include A, B, C, a total of 3 levels in order from top to bottom. The 5 levels in the first user interface can be divided into 3 level groups. When ensuring that the levels included in each level group are consecutive, any division method can be adopted to divide the 5 levels into 3 level groups. For example, it can be divided into level group a, level group bc, and level group de, or it can also be divided into level group a, level group bcd, and level group e. The second quantity of level groups in the first user interface and the second quantity of levels in the second user interface can correspond to each other in sequence one by one in order from top to bottom or from bottom to top. For example, when the 5 levels in the first user interface are divided into level group a, level group bc, and level group de, level group a can correspond to level A, level group bc can correspond to level B, and level group de can correspond to level C. When the 5 levels in the first user interface are divided into level group a, level group bcd, and level group e, level group a can correspond to level A, level group bcd can correspond to level B, and level group e can correspond to level C.

[0072] In yet another embodiment of the present invention, if the first quantity is less than the second quantity, then the first quantity of levels in the first user interface can correspond to the first quantity of levels in the second user interface in sequence one by one. For example, the first quantity is equal to 3 and the second quantity is equal to 5. The levels of the first quantity in the first user interface can sequentially include a, b, c, a total of 3 levels in order from top to bottom. The levels of the second quantity in the second user interface can sequentially include A, B, C, D, E, a total of 5 levels in order from top to bottom. The 3 levels in the first user interface can correspond to the 3 levels in the second user interface in sequence one by one in order from top to bottom or from bottom to top. For example, level a in the first user interface can correspond to level A in the second user interface, level b and level B, and level c and level C. Another example is that level a in the first user interface can also correspond to level C in the second user interface, level b and level D, and level c and level E.

[0073] When determining the second function control, the second function control can be searched for from the target function controls. The target function controls can be function controls belonging to a specific level in the second user interface, and the specific level is the level corresponding to the level to which the first function control belongs. For example, if the level to which the first function control in the first user interface belongs is level b, then the function controls in the level corresponding to level b in the second user interface can be determined as the target function controls in the above embodiments. That is, the function controls within the corresponding level to the first function control can be used as the target function controls, and the second function control associated with the first function control can be searched for from these target function controls.

[0074] According to the above technical solution, by corresponding the first number of levels in the first user interface to the second number of levels in the second user interface in a one-to-one correspondence manner according to levels. Furthermore, the function controls belonging to a specific level in the second user interface are determined as the target function controls. This facilitates the hierarchical management of function controls, making the display effects of the function controls belonging to the corresponding levels on the two user interfaces unified. This solution can obtain relatively diverse display effects and helps to further improve the user experience.

[0075] Exemplarily, when replacing a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, the method further includes: keeping the fixed parameters corresponding to the target area unchanged; wherein, the fixed parameters are different from the display effect parameters, and the fixed parameters include function parameters, and the function parameters are used to specify the functions of the function controls included in the corresponding area.

[0076] In one embodiment, the target area in the first user interface may also have fixed parameters. The fixed parameters may include function parameters, which are used to specify the functions of the function controls included in the corresponding area. The fixed parameters may be pre-set parameters that can never be changed, that is, the fixed parameters corresponding to the display area of the first function control do not change with the fixed parameters corresponding to the display area of the second function control. For example, for a button control that implements the delete function, when replacing the specific parameter in the display effect parameters corresponding to the target area where it is located with the specific parameter in the display effect parameters corresponding to the reference area, the delete function of the button control can be kept unchanged. That is to say, after replacing the specific parameter in the display effect parameters corresponding to the target area, the function control is still used to implement the delete function. For function controls, some parameters are not suitable for change. For example, the above function parameters, once the function parameters change, it will have a greater impact on the user's operation. Therefore, it can be determined according to needs which parameters are not suitable for change and these parameters can be set as fixed parameters.

[0077] Fixed parameters can be directly compiled and linked (referring to the process of converting software from source code into an executable program) into the computer program of the first electronic device, while variable parameters, i.e., display effect parameters or specific parameters in the display effect, can be dynamically loaded when the computer program of the first electronic device is running. The dynamic loading can be when the computer program starts, reading the configuration file, and according to the instructions in the configuration file, selecting which display style to load for display. When a new display style needs to be designed, the user can modify the configuration file and add a new style file to it. The new style file contains design information about the new display style. Since the configuration file can still change according to needs after the computer program is designed, it can be called dynamic loading. Most of the user's perception of the display style of the user interface stems from the influence of the aforementioned variable parameters. Therefore, modifying the configuration file can significantly change the appearance of the user interface without the need to recompile the code. This strategy can reuse the UI design file (i.e., the configuration file) as much as possible. Only the content directly related to the display style needs to be modified, which can save development investment. Moreover, modifying the variable parameters does not involve changes in software logic and does not require recompiling the code, which can reduce the investment in software testing work.

[0078] According to the above technical solution, by keeping the fixed parameters corresponding to the target area unchanged, it can be ensured that each function control in the first user interface can be used normally.

[0079] Exemplarily, the fixed parameters may further include one or more of the following: size parameter, position parameter; wherein, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0080] In one embodiment, the meanings corresponding to the size parameter and the position parameter have been described in detail in the foregoing embodiments. For the sake of brevity, they will not be repeated here. As described above, it can be seen that the display effect parameters may also include size parameters and / or position parameters. It can be understood that for any function control, when the display effect parameters corresponding to the area to which it belongs include size parameters and / or position parameters, the fixed parameters corresponding to this area may correspondingly not include size parameters and / or position parameters. For example, for any function control, when the display effect parameters corresponding to the area to which it belongs include size parameters, the fixed parameters corresponding to this area may not include size parameters, but may include position parameters.

[0081] The position and / or size of the display area where the functional control is located are also parameters that have a great impact on the user's operations. If the position and / or size of the display area where the functional control is located are changed, it may cause a certain degree of trouble to the user's operations. Therefore, when controlling the display effect of the user interface, it is possible to optionally keep the position and / or size of the display area where the functional control is located unchanged. This facilitates the user to quickly identify and use the functional control. Of course, in some application scenarios, the size parameter and / or the position parameter can also be set as display effect parameters so that these parameters have the opportunity to participate in the adjustment of the display effect.

[0082] According to the above technical solution, the fixed parameters may also include the size parameter and / or the position parameter. This can ensure that the size and / or position of the display area where the functional control is located remain unchanged when changing the display effect of the first user interface, thereby facilitating the user to quickly identify and use the functional control.

[0083] According to another aspect of the present invention, there is also provided a display device for a user interface. Figure 8 The schematic diagram of the display device 800 for the user interface according to an embodiment of the present invention is shown, as Figure 8 shown, the device 800 may include a determination module 810, a replacement module 820, and a display module 830.

[0084] The determination module 810 is configured to determine a first functional control in the first user interface and a second functional control associated with the first functional control in the second user interface, where the first user interface is the user interface of the first electronic device, and the second user interface is the user interface of the second electronic device.

[0085] The replacement module 820 is configured to replace a specific parameter in the display effect parameters corresponding to the target area with a specific parameter in the display effect parameters corresponding to the reference area, where the target area is the display area of the first functional control, the reference area is the display area of the second functional control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the display effect parameters.

[0086] The display module 830 is configured to display the first user interface, and the first user interface includes the target area with the replaced display effect parameters.

[0087] Exemplarily, the display effect parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; where the color parameter is used to specify the color of the corresponding area, the icon parameter is used to specify the function icon of the corresponding area, the text parameter is used to specify the text format of the corresponding area, the shape parameter is used to specify the shape of the corresponding area, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0088] Exemplarily, if the first functional control and the second functional control are controls of the same type but with different functions, the specific parameters include one or more of the following: color parameter, text parameter, shape parameter, size parameter, position parameter; and / or, if the first functional control and the second functional control are controls of the same type but with different functions, the specific parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; and / or, if the first functional control and the second functional control are controls of different types and with different functions, the specific parameters include one or more of the following: color parameter, text parameter.

[0089] Exemplarily, the display device 800 of the user interface may further include a selection module. The selection module is configured to, before the determination module 810 determines the first functional control in the first user interface and the second functional control associated with the first functional control in the second user interface, in response to the style selection information input by the user, select a preset display style corresponding to the style selection information from a plurality of preset display styles; wherein, the plurality of preset display styles are display styles corresponding to a plurality of electronic devices one by one, and each preset display style is used to specify the display effect parameters of the display area of the functional controls on the user interface of the corresponding electronic device; the second electronic device is the electronic device corresponding to the selected preset display style.

[0090] Exemplarily, the selection module includes an information writing sub-module and an acquisition sub-module. The information writing sub-module is configured to, in response to the style selection information input by the user, write the style selection information into a configuration file, wherein the configuration file contains link information for pointing to the storage locations of a plurality of preset display styles; the acquisition sub-module is configured to obtain the preset display style corresponding to the style selection information through the configuration file.

[0091] Exemplarily, the determination module 810 includes a first determination sub-module and / or a second determination sub-module and / or a third determination sub-module. The first determination sub-module is configured to, if there is a first specific function control in the target function controls of the second user interface that has the same function control type and the same function as the first function control, determine the first specific function control as the second function control; the second determination sub-module is configured to, if there is no first specific function control in the target function controls of the second user interface, but there is a second specific function control that has the same function control type but different functions, determine the second specific function control as the second function control; the third determination sub-module is configured to, if there is no first specific function control and second specific function control in the target function controls of the second user interface, but there is a third specific function control that belongs to the same function control category as the first function control, determine the third specific function control as the second function control; wherein, the function controls are divided into two categories: operation type and display type, the operation type represents the function controls that can be operated by the user, and the display type represents the function controls that cannot be operated by the user and are used to display information.

[0092] Exemplarily, the function controls in the first user interface are divided into a first number of levels, and the function controls in the second user interface are divided into a second number of levels. When the first number is equal to the second number, the first number of levels in the first user interface and the second number of levels in the second user interface correspond to each other in sequence; when the first number is greater than the second number, the first number of levels in the first user interface is divided into a second number of level groups, and the levels included in each level group are continuous, and the second number of level groups in the first user interface and the second number of levels in the second user interface correspond to each other in sequence; when the first number is less than the second number, the first number of levels in the second user interface and the first number of levels in the second user interface correspond to each other in sequence. The determination module 810 may further include a fourth determination sub-module, configured to determine the function controls belonging to a specific level in the second user interface as the target function controls, wherein the specific level is the level corresponding to the level to which the first function control belongs.

[0093] Exemplarily, the display device 800 of the user interface may further include a maintenance module. The maintenance module is configured to, when the replacement module 820 replaces a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, keep the fixed parameters corresponding to the target area unchanged; wherein, the fixed parameters are different from the display effect parameters, and the fixed parameters include function parameters, and the function parameters are used to specify the functions of the function controls included in the corresponding area.

[0094] Exemplarily, the fixed parameters further include one or more of the following: size parameter, position parameter; wherein, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

[0095] Those of ordinary skill in the art can understand the specific implementation solutions and their beneficial effects of the above-mentioned display device of the user interface by reading the relevant descriptions of the above-mentioned display method of the user interface. For the sake of brevity, they will not be elaborated here.

[0096] According to another aspect of the present invention, an electronic device is further provided. Figure 9 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. As Figure 9 shown, the electronic device 900 includes a processor 910 and a memory 920. A computer program is stored in the memory 920, and when the computer program instructions are run by the processor 910, they are used to execute the above-mentioned display method of the user interface.

[0097] According to still another aspect of the present invention, a storage medium storing a computer program / instructions is further provided. The storage medium may include, for example, a storage component of a tablet computer, a hard disk of a personal computer, an erasable programmable read-only memory (EPROM), a portable read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The storage medium may be any combination of one or more computer-readable storage media. The computer program / instructions are used to execute the above-mentioned display method of the user interface when run by a processor.

[0098] Those of ordinary skill in the art can understand the specific implementation solutions of the above-mentioned electronic device and storage medium by reading the relevant descriptions of the above-mentioned display method of the user interface. For the sake of brevity, they will not be elaborated here.

[0099] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Those of ordinary skill in the art can make various changes and modifications therein without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as claimed in the appended claims.

[0100] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.

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

[0102] In the specification provided here, a large number of specific details are described. However, it can be understood that the embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and technologies are not shown in detail so as not to obscure the understanding of this specification.

[0103] Similarly, it should be understood that, in order to streamline the present invention and help understand one or more of the various aspects of the invention, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be construed as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected by the corresponding claims, the inventive point lies in that the corresponding technical problems can be solved by features less than all the features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into the detailed description, where each claim itself serves as a separate embodiment of the present invention.

[0104] Those skilled in the art can understand that, except for features that are mutually exclusive, any combination can be used for all the features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) can be replaced by an alternative feature that provides the same, equivalent, or similar purpose.

[0105] In addition, those skilled in the art can understand that, although some of the embodiments described herein include certain features included in other embodiments rather than other features, the combination of features of different embodiments means that it is within the scope of the present invention and forms different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

[0106] Each component embodiment of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some modules in the display device of the user interface according to the embodiments of the present invention. The present invention can also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or in any other form.

[0107] It should be noted that the above embodiments illustrate the present invention rather than limit the present invention, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices can be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names.

[0108] As described above, it is only the specific implementation manner of the present invention or the description of the specific implementation manner. The protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should be covered within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for displaying a user interface, comprising: determining a first function control in a first user interface and a second function control associated with the first function control in a second user interface, wherein the first user interface is a user interface of a first electronic device, and the second user interface is a user interface of a second electronic device; replacing a specific parameter in the display effect parameters corresponding to a target area with a specific parameter in the display effect parameters corresponding to a reference area, wherein the target area is the display area of the first function control, the reference area is the display area of the second function control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the display effect parameters; displaying the first user interface, where the first user interface includes the target area with the replaced display effect parameters.

2. The display method according to claim 1, wherein the display effect parameters include one or more of the following: color parameter, icon parameter, text parameter, shape parameter, size parameter, position parameter; wherein the color parameter is used to specify the color of the corresponding area, the icon parameter is used to specify the function icon of the corresponding area, the text parameter is used to specify the text format of the corresponding area, the shape parameter is used to specify the shape of the corresponding area, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

3. The display method according to claim 2, wherein if the first function control and the second function control are controls of the same type but with different functions, the specific parameter includes one or more of the following: the color parameter, the text parameter, the shape parameter, the size parameter, the position parameter; and / or, if the first function control and the second function control are controls of the same type and with the same function, the specific parameter includes one or more of the following: the color parameter, the icon parameter, the text parameter, the shape parameter, the size parameter, the position parameter; and / or, if the first function control and the second function control are controls of different types and with different functions, the specific parameter includes one or more of the following: the color parameter, the text parameter.

4. The display method according to any one of claims 1-3, wherein before determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface, the method further includes: responding to the style selection information input by the user, and selecting a preset display style corresponding to the style selection information from a plurality of preset display styles; wherein the plurality of preset display styles are display styles corresponding to a plurality of electronic devices one by one, and each preset display style is used to specify the display effect parameters of the display area of the function control on the user interface of the corresponding electronic device; the second electronic device is the electronic device corresponding to the selected preset display style.

5. The display method according to claim 4, wherein Selecting, in response to style selection information input by a user, a preset display style corresponding to the style selection information from a plurality of preset display styles, includes: In response to style selection information input by a user, writing the style selection information into a configuration file, where the configuration file includes link information for pointing to a storage location of the plurality of preset display styles; Obtaining, through the configuration file, the preset display style corresponding to the style selection information.

6. The display method according to any one of claims 1-3, wherein, Determining a first function control in a first user interface and a second function control associated with the first function control in a second user interface, includes: If there is a first specific function control in a target function control of the second user interface that has the same type and the same function as the first function control, determining the first specific function control as the second function control; and / or, If there is no such first specific function control in the target function control of the second user interface, but there is a second specific function control that has the same type but different function as the first function control, determining the second specific function control as the second function control; and / or, If there is no such first specific function control and second specific function control in the target function control of the second user interface, but there is a third specific function control that has the same category as the first function control, determining the third specific function control as the second function control; wherein the function controls are divided into two categories: operation type and display type, the operation type represents function controls that can be operated by a user, and the display type represents function controls that cannot be operated by a user and are used to display information.

7. The display method according to claim 6, wherein, Function controls in the first user interface are divided into a first number of levels, and function controls in the second user interface are divided into a second number of levels, When the first number is equal to the second number, the first number of levels in the first user interface and the second number of levels in the second user interface correspond to each other in sequence; When the first number is greater than the second number, the first number of levels in the first user interface are divided into a second number of level groups, and the levels included in each level group are consecutive, and the second number of level groups in the first user interface and the second number of levels in the second user interface correspond to each other in sequence; When the first number is less than the second number, the first number of levels in the first user interface and the first number of levels in the second user interface correspond to each other in sequence; wherein, determining the first function control in the first user interface and the second function control associated with the first function control in the second user interface, further includes: Determining the function controls belonging to a specific level in the second user interface as the target function controls, where the specific level is the level corresponding to the level to which the first function control belongs.

8. The display method according to any one of claims 1-3, wherein, When replacing a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, the method further includes: Keeping the fixed parameters corresponding to the target area unchanged; Wherein, the fixed parameters are different from the display effect parameters, and the fixed parameters include function parameters, and the function parameters are used to specify the functions of the function controls included in the corresponding area.

9. The display method according to claim 8, Wherein, The fixed parameters further include one or more of the following: size parameter, position parameter; Wherein, the size parameter is used to specify the size of the corresponding area, and the position parameter is used to specify the position of the corresponding area.

10. A display device for a user interface, Comprising: A determination module, configured to determine a first function control in a first user interface and a second function control associated with the first function control in a second user interface, wherein the first user interface is a user interface of a first electronic device, and the second user interface is a user interface of a second electronic device; A replacement module, configured to replace a specific parameter in the display effect parameters corresponding to the target area with the specific parameter in the display effect parameters corresponding to the reference area, wherein the target area is the display area of the first function control, the reference area is the display area of the second function control, the display effect parameters are used to control the display effect of the corresponding area, and the specific parameter is at least part of the display effect parameters; A display module, configured to display the first user interface, and the first user interface includes the target area with the replaced display effect parameters.

11. An electronic device, comprising a processor and a memory, and a computer program is stored in the memory, and when the computer program instructions are run by the processor, they are used to execute the user interface display method according to any one of claims 1-9.

12. A storage medium, storing a computer program / instructions, and the computer program / instructions are used to execute the user interface display method according to any one of claims 1-9 when running.