Injection molding machine interface mode adjusting method and device, computer device and storage medium

By using a method and device to adjust the interface mode of an injection molding machine, flexible switching of the interface mode is achieved, solving the problem of poor visual experience of the injection molding machine under different lighting conditions, and improving the user's visual comfort and interface readability.

CN116330603BActive Publication Date: 2026-01-02KEBA IND AUTOMATION (SHANGHAI) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310267998.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2026-01-02
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

The existing injection molding machine operating interface cannot flexibly switch between light and dark modes according to the usage scenario or user preference, resulting in discomfort when using it under different lighting conditions, affecting the visual experience and eye comfort.

Method used

A method and apparatus for adjusting the interface mode of an injection molding machine are provided. By comparing the label value of the current display mode with the label value of the target display mode, the corresponding preview package and theme are called to realize the switching of the interface mode. It supports manual or automatic switching to system time switching to meet user needs.

Benefits of technology

It enables quick switching of the injection molding machine interface mode, adapts to the factory environment and user preferences, improves visual consistency and readability, reduces eye fatigue, and provides a more comfortable visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116330603B_ABST
    Figure CN116330603B_ABST
Patent Text Reader

Abstract

The application discloses an injection molding machine interface mode adjusting method, comprising the following steps: in response to display mode switching request information, obtaining the label value of the current display interface display mode; comparing the label value of the current display mode with the target display mode label value in the request information; in the case that the comparison result is inconsistent, obtaining the interface element of the current display interface, calling the preview package corresponding to the current display interface to replace and display the current display interface; based on the target display mode label value, calling the corresponding theme to modify the TouchUI setting and rendering tool package, so as to realize the switching of the injection molding machine interface mode. The system has high individuality and can realize quick switching, and the display effect of the injection molding machine in different working environments is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of injection molding equipment, and particularly relates to an injection molding machine interface mode adjusting method and device, computer equipment and a storage medium. BACKGROUND

[0002] Generally speaking, the operation interface of the current injection molding machine is usually a light color mode, which is composed of fixed light color matching and display style, and as a user of the injection molding machine, the user cannot select the display theme. With the improvement of scientific and technological productivity, personalized theme application will be more recognized and pursued by users. The dark mode is a mode that optimizes the contrast between the text foreground and the dark background and the color of the text and system icons after a large amount of "human factor research", to ensure that the human eye viewing experience is consistent, comfortable and easy to read, which can provide users with a higher-end experience. Just like in the field of smart phones and tablet computers, the operating system or most APPs allow users to set up according to their preferences and freely switch between light and dark modes, which further illustrates the popularity of it as a design trend.

[0003] In the field of industrial automation, the operation interface as a window for human-computer interaction is particularly important. Since the application scenarios of the injection molding machine are varied, some factory buildings have strong light, which may cause a reflection effect on the screen, and some factory buildings have insufficient light, which may cause bright light stimulation. In order to adapt to the factory environment, consider the user preferences, and improve the interactive sense, the targeted theme application can get a better experience. SUMMARY

[0004] To solve the above problems, the purpose of the present application is to provide an injection molding machine interface mode adjusting method, device, computer equipment and storage medium, which helps the user of the injection molding machine to realize one-key switching between light and dark modes according to the use scenario or user preferences. Under the premise of ensuring the basic functions and performance of the injection molding machine, the operation experience is effectively improved.

[0005] To achieve the above purpose, the technical scheme of the present application is: an injection molding machine interface mode adjusting method, comprising the following steps: in response to display mode switching request information, obtaining the label value of the current display interface display mode; comparing the label value of the current display mode with the target display mode label value in the request information; in the case that the comparison result is inconsistent, obtaining the interface elements of the current display interface, calling the preview package corresponding to the current display interface to replace and display the current display interface; based on the target display mode label value, calling the corresponding theme to modify the TouchUI setting and rendering tool package, to realize the switching of the injection molding machine interface mode.

[0006] Preferably, before obtaining the label value of the current display interface display mode in response to the display mode switching request information, the method further comprises: obtaining an injection molding machine system application interface display structure, extracting interface elements of each interface based on the interface display structure; presetting interface element objects corresponding to a plurality of interface display modes based on all interface elements, and encoding each interface element object, wherein the encoding contains a label value of the corresponding interface display mode; and when switching the display mode, calling the corresponding interface element object based on the label value to realize injection molding machine display mode switching.

[0007] Preferably, the display mode switching request information further comprises: obtaining the system time of the injection molding machine, and switching the display mode when the system time reaches a predetermined time based on a preset adjustment flag information.

[0008] Preferably, the display mode switching request information further comprises: in response to triggering of a preset control of a target interface, identifying a display mode label value corresponding to the preset control.

[0009] Preferably, when the comparison result is inconsistent, the method further comprises: obtaining interface elements of the current display interface, and calling a preview package corresponding to the current display interface to replace and display the current display interface, which further comprises: obtaining interface elements of the current display interface, querying a preview interface of the current display interface stored in advance, and calling the preview interface to the current display interface to realize instant switching.

[0010] Preferably, after the injection molding machine interface mode is switched, the method further comprises: listening to an operation on a preset control in a target interface; determining a target interface mode according to the switching operation; and generating an opening request for the target page mode.

[0011] Based on the same concept, the application further provides an injection molding machine interface mode adjustment device, which comprises: an obtaining module, configured to obtain a label value of a current display interface display mode in response to display mode switching request information; a comparison module, configured to compare the label value of the current display mode with a target display mode label value in the request information; a calling module, configured to obtain interface elements of the current display interface and call a preview package corresponding to the current display interface to replace and display the current display interface when the comparison result is inconsistent; and an execution module, configured to call a corresponding theme based on the target display mode label value to modify a TouchUI setting and a rendering tool package, so as to realize injection molding machine interface mode switching.

[0012] Preferably, the device further comprises a page element storage module, configured to store interface element objects corresponding to a plurality of interface display modes based on all interface elements and their encoding values.

[0013] Based on the same idea, the application further provides a computer device, comprising: a memory for storing a processing program; and a processor for implementing the injection molding machine interface mode adjustment method when executing the processing program.

[0014] Based on the same idea, the application further provides a readable storage medium, which stores a processing program, and the processing program implements the injection molding machine interface mode adjustment method when executed by a processor.

[0015] Compared with the prior art, the application has the advantages that:

[0016] 1. The application can quickly adjust the current interface without waiting for the system to complete all interface switching before switching.

[0017] 2. The application can dynamically switch the light color mode and the dark color mode of the injection molding machine operation interface, adapt to factory environments or operator preferences, improve the consistency and readability of visual perception under the premise of ensuring the clarity and delicacy of display effects, effectively solve the problem of using the screen at night or in low light environments, bring more comfortable visual enjoyment, and reduce eye fatigue.

[0018] 3. In the application, the user can switch to the setting page of the injection molding machine, click the light color mode or dark color mode button to switch the specific theme mode. In addition, the application also supports automatic switching following the system time. Automatic switching requires setting the correct local time and time zone, and the theme mode will automatically switch to the light color mode in the morning (which can be set, and the default is 6:00) and automatically switch to the dark color mode in the evening (which can be set, and the default is 18:00). BRIEF DESCRIPTION OF DRAWINGS

[0019] The specific embodiments of the application will be further described in detail below with reference to the accompanying drawings, in which:

[0020] Figure 1 An injection molding machine interface mode adjustment method embodiment of the application is shown in the figure.

[0021] Figure 2 An injection molding machine interface light color mode embodiment of the application is shown in the figure.

[0022] Figure 3 An injection molding machine interface dark color mode embodiment of the application is shown in the figure. DETAILED DESCRIPTION

[0023] The application will be described in further detail below with reference to the drawings and specific embodiments. The advantages and features of the present application will become more apparent from the following description and claims. It should be noted that the drawings are very simplified and are not drawn to scale, and are only used to facilitate, clarify and assist in the description of the embodiments of the present application.

[0024] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present application are only used to explain the relative position relationship, movement condition, etc. between components in a certain posture (as shown in the drawings), and if the certain posture changes, the directional indications will also change accordingly.

[0025] Embodiment one

[0026] The embodiment provides a method for adjusting an injection molding machine interface mode, including the following steps: in response to display mode switching request information, obtaining a label value of a current display interface display mode; comparing the label value of the current display mode with a target display mode label value in the request information; in the case that the comparison result is inconsistent, obtaining an interface element of the current display interface, calling a preview package corresponding to the current display interface to replace and display the current display interface; based on the target display mode label value, calling a corresponding theme to modify a TouchUI setting and a rendering tool package, so as to realize switching of the injection molding machine interface mode.

[0027] The present application can realize dynamic switching of the light color mode and the dark color mode of the injection molding machine operation interface, adapt to the factory environment or the operator preference, improve the consistency and readability of the visual sense on the premise of ensuring the definition and delicacy of the display effect, effectively solve the problem of using the screen at night or in a low light environment, bring more comfortable visual enjoyment, and reduce eye fatigue.

[0028] Specifically, as shown in the Figure 1 The injection molding machine interface mode adjusting method supports manual switching mode and switching mode according to a preset system time, and can also switch and set according to the user preference of login.

[0029] Before the system starts to work, the CSS configuration files of the light color theme and the dark color theme are preset, including: color attributes (background color, icon color, virtual key color, control color), font attributes (style, size, thickness, inclination, line spacing), text attributes (alignment, indentation, blank), border attributes, shadow, etc.

[0030] Preferably, in response to the display mode switching request information, before obtaining the label value of the current display interface display mode, further comprising: obtaining the injection molding machine system application interface display structure, extracting the interface elements of each interface based on the interface display structure; based on all interface elements, presetting a plurality of interface display mode corresponding interface element objects, and encoding each interface element object, the encoding contains the label value of the corresponding interface display mode; when switching the display mode, the corresponding interface element object is called based on the label value to realize the injection molding machine display mode switching.

[0031] According to the interface display structure of the application program, the interface elements in each interface are extracted in a tree relationship, so as to design the color attributes (background color, icon color, virtual key color, control color), font attributes (style, size, thickness, inclination, line spacing), text attributes (alignment, indentation, blank), border attributes, shadow, etc., and then realize the difference display between modes. Based on the CSS theme, the contrast of the text and the background color, the text and the icon base color are optimized, and through the option mode, the dynamic switching between the light color mode and the dark color mode is realized, the user's eye observation and comfort are improved, and the screen operation is easier. In the dark color mode, the background of the operation interface, the control of the parameter setting, the icon of the virtual key, the icon of the action state, the menu bar, etc. all use the dark gray tone, and the light tone text is matched, so as to highlight the content. The above settings will be applied to: main frame, conversation box, function control, parameter control, etc. See Figure 2 and Figure 3 respectively show the injection molding machine interface light color mode and dark color mode embodiment schematic diagram.

[0032] Preferably, in response to the display mode switching request information, further comprising: obtaining the system time of the injection molding machine, and based on the preset adjustment flag information, switching the display mode when the system time reaches the predetermined time.

[0033] Preferably, in response to the display mode switching request information, further comprising: in response to the triggering of the preset control of the target interface, identifying the display mode label value corresponding to the preset control.

[0034] In this embodiment, manual switching and following system time switching are supported, and the flexibility is high. The user can switch to the setting page of the injection molding machine, and click the light color mode or dark color mode button to switch the specific theme mode. In addition, the application also supports the function of automatically switching following the system time. Automatic switching requires setting the correct local time and time zone, and the theme mode will automatically switch to the light color mode in the morning (which can be set, and the default is 6:00) and automatically switch to the dark color mode in the evening (which can be set, and the default is 18:00).

[0035] Preferably, in the case that the comparison result is inconsistent, the interface element of the current display interface is acquired, and a preview package corresponding to the current display interface is called to replace the display of the current display interface, further comprising: acquiring the interface element of the current display interface, querying the preview interface of the current display interface stored in advance; and calling the preview interface to the current display interface to realize instant switching.

[0036] Preferably, after the injection molding machine interface mode switching, further comprising: listening to the operation on the preset control in the target interface; determining the target interface mode according to the switching operation; and generating an opening request for the target page mode.

[0037] Based on the same concept, the application further provides an injection molding machine interface mode adjustment device, comprising: an acquisition module, configured to acquire the label value of the current display interface display mode in response to the display mode switching request information; a comparison module, configured to compare the label value of the current display mode with the target display mode label value in the request information; a calling module, configured to acquire the interface element of the current display interface in the case that the comparison result is inconsistent, and call a preview package corresponding to the current display interface to replace the display of the current display interface; and an execution module, configured to call the corresponding theme based on the target display mode label value to modify the TouchUI setting and the rendering tool package, so as to realize the switching of the injection molding machine interface mode.

[0038] Preferably, further comprising a page element storage module, configured to store the interface element object and the code value corresponding to a plurality of interface display modes preset based on all interface elements.

[0039] Based on the same concept, the application further provides a computer device, which can have great differences due to different configurations or performances, and can include one or more processors 610 (central processing units, CPUs) (for example, one or more processors) and a memory, one or more storage media (for example, one or more mass storage devices) for storing application programs or data. The memory and the storage medium can be temporary storage or persistent storage. The programs stored in the storage medium can include one or more modules, each of which can include a series of instruction operations in the computer device. Further, the processor can be configured to communicate with the storage medium and execute the series of instruction operations in the storage medium on the computer device.

[0040] The computer device can also include one or more power supplies, one or more wired or wireless network interfaces, one or more input / output interfaces, and / or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that the above computer device structure does not constitute a limitation on the computer device, and can include more or fewer components than shown or combine certain components, or arrange the components differently.

[0041] In one embodiment, a readable storage medium is provided, the computer readable instructions are executed by one or more processors, so that the one or more processors execute the injection molding machine interface mode adjustment method described above.

[0042] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0043] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0044] The above-described and above-described embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An injection molding machine interface mode adjustment method characterized by, The method comprises the following steps: In response to the display mode switching request information, a label value of a current display interface display mode is obtained; wherein, in response to the display mode switching request information, a label value of a current display interface display mode is obtained before the following steps: obtaining an injection molding machine system application interface display structure, extracting interface elements of each interface based on the interface display structure; based on all interface elements, presetting interface element objects corresponding to a plurality of interface display modes, and encoding each interface element object, wherein the encoding contains a label value of the corresponding interface display mode; when switching the display mode, the corresponding interface element object is called based on the label value to realize injection molding machine display mode switching; The label value of the current display mode is compared with the target display mode label value in the request information; In the case of inconsistent results of the comparison, the interface elements of the current display interface are obtained, and the preview package corresponding to the current display interface is called to replace and display the current display interface; further comprising: obtaining the interface elements of the current display interface, querying the preview interface of the current display interface stored in advance; and calling the preview interface to the current display interface to realize instant switching; Based on the target display mode label value, the corresponding theme is called to modify the TouchUI setting and rendering tool package to realize the switching of the injection molding machine interface mode.

2. The injection molding machine interface mode adjustment method of claim 1, wherein, In response to the display mode switching request information, further comprising: obtaining the system time of the injection molding machine, and based on the preset adjustment flag information, switching the display mode when the system time reaches the predetermined time.

3. The injection molding machine interface mode adjustment method of claim 1, wherein, In response to the display mode switching request information, further comprising: in response to the triggering of the preset control of the target interface, identifying the display mode label value corresponding to the preset control.

4. The injection molding machine interface mode adjustment method of claim 1, wherein, After the injection molding machine interface mode is switched, further comprising: Listening to the operation of the preset control in the target interface; Determining the target interface mode according to the switching operation; Generating an opening request for the target interface mode.

5. An injection molding machine interface mode adjustment device characterized by, Comprise: The acquisition module is used for obtaining a label value of a current display interface display mode in response to display mode switching request information; wherein, in response to the display mode switching request information, the label value of the current display interface display mode is obtained before the following steps: obtaining an injection molding machine system application interface display structure, extracting interface elements of each interface based on the interface display structure; based on all interface elements, presetting interface element objects corresponding to a plurality of interface display modes, and encoding each interface element object, wherein the encoding contains a label value of the corresponding interface display mode; when switching the display mode, the corresponding interface element object is called based on the label value to realize injection molding machine display mode switching; The comparison module is used for comparing the label value of the current display mode with the target display mode label value in the request information; The calling module is configured to, when the comparison result is inconsistent, acquire interface elements of the current display interface, and call a preview package corresponding to the current display interface to replace the current display interface for display. The execution module is configured to call a corresponding theme based on a target display mode tag value to modify a TouchUI setting and a rendering tool package, so as to realize switching of the injection molding machine interface mode.

6. The injection molding machine interface mode adjustment apparatus of claim 5, wherein, The page element storage module is further configured to store interface element objects and code values corresponding to a plurality of interface display modes preset based on all interface elements.

7. A computer device, comprising: The injection molding machine interface mode adjustment method comprises the following steps: The memory is configured to store a processing program. The processor is configured to execute the processing program to implement the injection molding machine interface mode adjustment method according to any one of claims 1 to 4.

8. A readable storage medium, characterized by, The readable storage medium stores a processing program, and the processing program is executed by the processor to implement the injection molding machine interface mode adjustment method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method of controlling display mode and device

    CN103135895A

  • Interface adaptation method and device and device for adapting interface

    CN112486603A

  • High-brightness industrial display module supporting automatic light sensing and adjusting backlight brightness

    CN209000513U