Range hood screen display method and device, electronic equipment and storage medium
By monitoring the range hood position in real time and dynamically adjusting the display area and elements of the display screen, the problem of the range hood display screen being blocked by the cabinet is solved, improving user experience and safety.
Patent Information
- Application Number
- CN202411208592.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-28
AI Technical Summary
During the raising and lowering process of the range hood, part of the display screen may be blocked by the cabinet, causing the user to be unable to fully see the display content, affecting the user experience.
By monitoring the range hood position in real time and dynamically adjusting the display area and display elements of the display screen, key information is ensured to be always visible during the range hood raising and lowering process. This includes obtaining the current position information of the range hood, determining the target display area, and selecting appropriate display elements based on the position information.
It improves user experience and convenience, reduces the risk of misoperation due to obstructed vision, and ensures that key information is always visible.
Smart Images

Figure CN119378185A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of kitchen appliances, and in particular to a display method, device, electronic device and storage medium for a range hood screen. Background Art
[0002] With the development of kitchen appliance technology, range hoods have evolved from a single smoke exhaust tool to a smart device with multiple functions. Among them, range hoods with lifting functions have attracted much attention due to their unique advantages. This type of range hood can not only automatically adjust the height according to cooking needs to more effectively capture and exhaust oil smoke, but also, in order to enhance user experience and interactivity, it is usually equipped with a display screen to display information such as working status and operation menu, which greatly improves the user experience.
[0003] Specifically, the range hood with lifting function can automatically descend to the best exhaust position when cooking starts, and automatically rise to a higher position after cooking to save kitchen space. The matching display will move synchronously with the lifting of the range hood, so that users can check and control the status of the range hood at any time.
[0004] However, in actual application scenarios, the layout design of the kitchen often affects the visibility of the range hood display. In particular, when the range hood is raised or lowered, part of the display may be blocked by the cabinets above, making it impossible for the user to fully see the content on the display. In this case, even if the other functions of the range hood perform well, the blocked display will have a negative impact on the user's overall experience. Summary of the invention
[0005] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, electronic device and storage medium for displaying a range hood screen. The technical solution is as follows:
[0006] On the one hand, a method for displaying a range hood screen is provided, wherein the range hood screen is provided on the range hood for displaying candidate display elements, and the range hood is used to move between a first position and a second position, wherein the first position is used to hide the range hood inside a cabinet, driving the range hood screen to be hidden inside the cabinet, and the second position is used to expose the range hood outside the cabinet, driving the range hood screen to be exposed outside the cabinet; the method comprises:
[0007] When the range hood moves between the first position and the second position, in response to a screen display update instruction of the current cycle, current position information of the range hood is acquired;
[0008] Based on the current position information and the setting position of the range hood screen on the range hood, determine the area of the range hood screen exposed outside the cabinet to obtain the target display area on the range hood screen;
[0009] Based on the current position information, determining a target display element among the candidate display elements;
[0010] The target display element is displayed based on the target display area.
[0011] On the other hand, a display device of a range hood screen is provided, wherein the range hood screen is arranged on the range hood and is used to display candidate display elements, and the range hood is used to move between a first position and a second position, wherein the first position is used to hide the range hood inside a cabinet, driving the range hood screen to be hidden inside the cabinet, and the second position is used to expose the range hood outside the cabinet, driving the range hood screen to be exposed outside the cabinet; the device comprises:
[0012] A first position acquisition module, configured to acquire current position information of the range hood in response to a screen display update instruction of a current cycle when the range hood moves between the first position and the second position;
[0013] an area determination module, for determining the area of the range hood screen exposed outside the cabinet based on the current position information and the setting position of the range hood screen on the range hood, and obtaining a target display area on the range hood screen;
[0014] A first element determination module, configured to determine a target display element from among the candidate display elements based on the current position information;
[0015] An element display module is used to display the target display element based on the target display area.
[0016] In an exemplary embodiment, the candidate display elements include a first category of display elements, and the priority of the first category of display elements is higher than the priority of other display elements in the candidate display elements; the first element determination module includes:
[0017] A distance determination module, used to determine the distance between the range hood and the cabinet in a first direction based on the current position information to obtain a current distance; the first direction is parallel to the movement direction of the range hood;
[0018] A distance judgment module is used to judge whether the current distance is greater than or equal to a first distance threshold; the first distance threshold refers to the distance between the range hood and the cabinet in the first direction when the distance between the first side of the range hood screen and the second side of the cabinet in the first direction is zero; the first side is the side of the range hood screen close to the first position when the range hood is in the second position, and the second side is the side of the cabinet close to the second position;
[0019] The second element determination module is configured to determine the first-category display element as the target display element when the current distance is less than the first distance threshold.
[0020] In an exemplary embodiment, the first type of display element includes a range hood simulation image; the element display module includes:
[0021] A second position acquisition module is used to acquire the position information of the range hood in the previous cycle of the current cycle;
[0022] A range hood displacement module, used to determine the difference between the position information of the range hood in the previous cycle and the current position information, and obtain the current displacement information of the range hood;
[0023] An image displacement module, configured to determine target displacement information of the range hood simulation image based on the current displacement information and a size ratio between the range hood simulation image and the range hood in the first direction;
[0024] A display displacement module, used to determine the difference between the current displacement information and the target displacement information, and obtain the display displacement information of the smoke exhaust fan simulation image;
[0025] The first display adjustment module is used to adjust the display position of the range hood simulation image in the target display area based on the display displacement information, so that the displacement of the range hood simulation image in the current cycle matches the target displacement information.
[0026] In an exemplary embodiment, the current cycle includes a preset number of sub-cycles; the first display adjustment module includes:
[0027] A range hood speed module, configured to determine a movement speed of the range hood in a current cycle based on the current displacement information;
[0028] An image speed module, used to determine a target adjustment speed of the range hood simulation image based on the movement speed of the range hood in the current cycle and the size ratio of the range hood simulation image to the range hood in the first direction;
[0029] A period distance module, used for determining a target adjustment distance of the smoke machine simulation image within the sub-period based on the display displacement information and the preset number;
[0030] The second display adjustment module is used to adjust the display position of the smoke machine simulation image in the target display area based on the target adjustment distance and the target adjustment speed in response to the update of the current sub-cycle.
[0031] In an exemplary embodiment, the device further includes a third element determination module for displaying all candidate display elements when the range hood screen is not blocked by the cabinet, and the third element determination module includes:
[0032] The third element determination module is configured to determine the candidate display element as the target display element when the current distance is greater than or equal to the first distance threshold.
[0033] In an exemplary embodiment, the device further comprises an image display module for allowing a panoramic display of a range hood simulation image when the range hood screen is not blocked by the cabinet, the image display module comprising:
[0034] The image display module is used to display the range hood simulation image based on the target display area in response to triggering the range hood simulation image when the current distance is greater than or equal to the first distance threshold.
[0035] In an exemplary embodiment, the candidate display element further includes a control key corresponding to the associated device of the range hood, and the device further includes an associated display module for allowing switching to a control page corresponding to the associated device of the range hood when the range hood screen is not blocked by the cabinet, and the associated display module includes:
[0036] The associated display module is used to display a control page corresponding to the associated device based on the target display area in response to triggering a control key corresponding to the associated device.
[0037] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the method for displaying a range hood screen of any of the above aspects.
[0038] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement a method for displaying a range hood screen as described in any of the above aspects.
[0039] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method for displaying a range hood screen of any aspect described above.
[0040] The embodiment of the present application monitors the position information of the range hood in real time during the movement of the range hood, and based on the position information of the range hood, it can determine which parts of the display screen may be blocked by the cabinets above, thereby dynamically adjusting the display area and display elements of the display screen to adjust the content layout of the display screen, ensuring that key operating interfaces and information are always visible. Even if obstruction problems are encountered during the lifting and lowering of the range hood, users can easily view and control the various functions of the range hood, which significantly improves the user experience and convenience, reduces the risk of misoperation due to obstructed vision, and improves safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 It is a flow chart of a method for displaying a range hood screen provided in an embodiment of the present application;
[0043] Figure 2 This is a display schematic diagram of the first range hood screen provided in the embodiment of the present application;
[0044] Figure 3 This is a display schematic diagram of a second range hood screen provided in an embodiment of the present application;
[0045] Figure 4 This is a display schematic diagram of a third range hood screen provided in an embodiment of the present application;
[0046] Figure 5 It is a structural block diagram of a display device of a range hood screen provided in an embodiment of the present application;
[0047] Figure 6 It is a hardware structure block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0050] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0051] See also Figure 1 , which shows a flow chart of a method for displaying a range hood screen provided in an embodiment of the present application. It should be noted that this specification provides method operation steps such as the embodiments or flow charts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only execution order. When the system or product is executed in practice, it can be executed in sequence or in parallel according to the methods shown in the embodiments or drawings (for example, in a parallel processor or multi-threaded processing environment). Specifically, the range hood screen is arranged on the range hood for displaying candidate display elements, and the range hood is used to move between a first position and a second position, the first position is used to hide the range hood inside a cabinet, driving the range hood screen to be hidden inside the cabinet, and the second position is used to expose the range hood to the outside of the cabinet, driving the range hood screen to be exposed to the outside of the cabinet; Figure 1 As shown, the method may include:
[0052] S101, when the range hood moves between a first position and a second position, in response to a screen display update instruction of a current cycle, obtaining current position information of the range hood.
[0053] Specifically, during the movement of the range hood between the first position and the second position, the range hood screen may be in the following situations: the range hood screen is completely blocked by the cabinet; the range hood screen is partially blocked by the cabinet; the range hood screen is not blocked by the cabinet.
[0054] In specific implementation, for the lifting type hood, this type of hood is usually installed inside the kitchen top cabinet, directly above the stove. When the hood is in the first position, the hood is completely hidden inside the cabinet, and when the hood is in the second position, the hood will drop to a position closer to the stove to more effectively capture and exhaust the oil smoke.
[0055] The current cycle refers to the time interval for obtaining the current position information of the range hood. Specifically, when the range hood moves from the first position to the second position, the current position of the range hood is checked at a certain cycle, and the display content of the range hood screen is updated according to the position information.
[0056] The screen display update instruction is a signal triggered in the current cycle, which is used to instruct the range hood screen to update its content to ensure that the displayed information matches the current visible area of the range hood. In a specific implementation, the screen display update instruction is triggered every 200 milliseconds during the range hood movement between the first position and the second position.
[0057] The current position information refers to the exact position of the range hood during the movement between the first position and the second position, and is the position of the range hood relative to the cabinet. In a specific implementation, for a lift-type range hood, the current position information refers to the position of the range hood in the vertical direction, specifically the position between the first position and the second position. Specifically, the current position information is used to determine which parts of the range hood screen are not blocked by the cabinet and are visible, so that the content on the range hood screen can be adjusted according to the visible area.
[0058] S103, based on the current position information and the setting position of the range hood screen on the range hood, determine the area of the range hood screen exposed outside the cabinet, and obtain the target display area on the range hood screen.
[0059] The target display area refers to the part of the range hood screen that is currently visible, that is, the area on the range hood screen that the user can actually see when the range hood is in a certain position. Specifically, the target display area changes as the position of the range hood changes.
[0060] S105: Determine a target display element from candidate display elements based on the current position information.
[0061] Among them, candidate display elements refer to various information or content options that can be displayed on the range hood screen. These elements are pre-defined and can be selectively displayed on the range hood screen according to the position change of the range hood. Specifically, candidate display elements may include basic operation information, status information, reminder information and advanced settings, among which basic operation information includes wind speed setting, timer, etc., status information includes current wind speed level, working mode, etc., reminder information includes cleaning reminder, filter replacement reminder, etc., and advanced settings include smart mode, energy-saving mode, etc.
[0062] The target display element refers to the specific content or information that should be displayed in the target display area of the range hood screen. As the position of the range hood changes, the visible area of the screen will also change, so it is necessary to determine what information should be displayed in the current visible area.
[0063] Specifically, according to the location of the range hood, that is, the size of the target display area, the target display element can also be determined by combining the priority of each element in the candidate display elements, the relevance of the element to the range hood, and other factors. Specifically, each candidate display element has a priority, and elements with higher priorities usually indicate more critical information. Some elements may be more relevant to the working status of the range hood, such as wind speed settings, working modes, etc. Specifically, if the target display area is small, elements with higher priorities and high relevance to the range hood are selected for display; if the target display area is large, more information can be displayed, including elements with lower priorities or lower relevance to the range hood but still important.
[0064] In an exemplary embodiment, the candidate display elements include first-category display elements, and the priority of the first-category display elements is higher than the priority of other display elements in the candidate display elements; the above step S105 may include the following steps:
[0065] Based on the current position information, determine the distance between the range hood and the cabinet in a first direction to obtain the current distance; the first direction is parallel to the movement direction of the range hood;
[0066] Determine whether the current distance is greater than or equal to a first distance threshold; the first distance threshold refers to the distance between the range hood and the cabinet in the first direction when the distance between the first side of the range hood screen and the second side of the cabinet in the first direction is zero; the first side is the side of the range hood screen close to the first position when the range hood is in the second position, and the second side is the side of the cabinet close to the second position;
[0067] Specifically, when the current distance is less than the first distance threshold, the first type display element is determined as the target display element; otherwise, when the current distance is greater than or equal to the first distance threshold, the candidate display element is determined as the target display element.
[0068] The current distance refers to the distance between the range hood and the cabinet in the first direction. The current distance will change with the change of the position of the range hood. In a specific implementation, the current distance refers to the distance between the center of mass of the range hood and the center of mass of the cabinet in the first direction.
[0069] The first direction includes the direction in which the range hood moves from the first position to the second position, and the direction in which the range hood moves from the second position to the first position. In a specific implementation, for a lift-type range hood, the first direction is the vertical direction.
[0070] The first distance threshold refers to a specific distance value between the range hood and the cabinet in the first direction, which is used to determine whether the first side of the range hood screen is aligned with the second side of the cabinet. Specifically, this threshold is a standard for determining whether the range hood screen is completely or nearly completely exposed to the outside of the cabinet.
[0071] Specifically, when the range hood moves from the first position to the second position, the first side refers to the side of the range hood screen facing the first position. In a specific implementation, for a lift-type range hood, according to the conventional placement of the range hood, the first side is the top side of the range hood screen, and according to the conventional placement of a cabinet, the second side is the bottom side of the cabinet.
[0072] Among them, the first type of display elements are designed to fit into a smaller target display area, so as to provide the most basic information when the range hood screen is not fully exposed. Specifically, the first type of display elements include brief and critical information such as the most basic operation prompts and the current wind speed setting.
[0073] For example, see Figure 3 , which shows a display schematic diagram of the first range hood screen provided by the embodiment of the present application. When the current distance is less than the first distance threshold, the range hood screen is partially blocked by the cabinet, and only the operation keys of the range hood are displayed on the range hood screen, such as memory, light, air volume level, lifting control, etc.
[0074] For example, see Figure 2 , which shows a display schematic diagram of the second range hood screen provided by the embodiment of the present application. When the current distance is greater than or equal to the first distance threshold, the range hood screen is not blocked by the cabinet, and in addition to the operation keys of the range hood, the range hood screen also displays various function cards, such as cloud devices, reservation center, smart menu, settings, scene assistant, voice control, etc. These function cards are not displayed when the range hood screen is partially blocked by the cabinet to prevent accidental operation to enter other pages. If other pages are entered, some display elements may be blocked because the range hood screen is partially blocked by the cabinet.
[0075] Optionally, the first type of display element includes a range hood simulation image, and when the current distance is greater than or equal to a first distance threshold, in response to triggering the range hood simulation image, the range hood simulation image is displayed based on the target display area.
[0076] Specifically, when the current distance is greater than or equal to the first distance threshold, the range hood screen is not blocked by the cabinet, and the user clicks on the range hood simulation image, and the range hood simulation image is displayed based on the range hood screen to enter the panoramic mode of the range hood. Figure 4 When the current distance is less than the first distance threshold, the range hood screen displays a range hood simulation image, but the range hood's panoramic mode cannot be entered to prevent some display elements from being blocked due to the range hood screen being partially blocked by the cabinet.
[0077] Optionally, the candidate display elements also include control keys corresponding to associated devices of the range hood, and in response to triggering the control keys corresponding to the associated devices, a control page corresponding to the associated devices is displayed based on the target display area.
[0078] Among them, the associated equipment of the range hood refers to other equipment that works with or is interconnected with the range hood. These devices can enhance the function of the range hood, improve the overall performance of the kitchen, or provide additional convenience. In specific implementation, the associated equipment of the range hood includes but is not limited to stoves, steam ovens, and kitchen exhaust systems.
[0079] Specifically, when the current distance is greater than or equal to the first distance threshold, the elements displayed on the range hood screen include the control keys corresponding to the associated devices of the range hood, and when the user touches the control keys, the range hood screen displays the control page of the corresponding associated device. In a specific implementation, in the panoramic mode of the range hood, the user can slide up and down or left and right on the control key to switch to the control page of the corresponding associated device.
[0080] It can be seen from the above technical scheme of the embodiment of the present application that the embodiment of the present application divides the position of the range hood when the first side of the range hood screen is aligned with the second side of the cabinet in the first direction into two situations: the range hood screen is blocked by the cabinet and the range hood screen is not blocked by the cabinet. For these two situations, the target display elements of the range hood screen are determined respectively according to the priority of the candidate display elements to ensure that the displayed information matches the current visible area of the range hood screen. No matter where the range hood is, the range hood screen displays key information to improve the convenience and efficiency of using the range hood.
[0081] S107: Display a target display element based on the target display area.
[0082] Specifically, the target display area displays the target element, and the target display area and the display area on the range hood screen except the target display area, that is, the entire range hood screen displays the background image or background color; when the range hood screen is completely blocked, the range hood screen is turned off.
[0083] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application monitors the position information of the range hood in real time during the movement of the range hood, and based on the position information of the range hood, it can determine which parts of the display screen may be blocked by the cabinets above, thereby dynamically adjusting the display area and display elements of the display screen to adjust the content layout of the display screen, ensuring that key operating interfaces and information are always visible, and even if obstruction problems are encountered during the lifting and lowering of the range hood, users can easily view and control the various functions of the range hood, which significantly improves the user experience and convenience, reduces the risk of misoperation due to obstructed vision, and improves safety.
[0084] In an exemplary embodiment, the first type of display element includes a range hood simulation image; the above step S107 may include the following steps:
[0085] Get the position information of the range hood in the previous cycle of the current cycle;
[0086] Determine the difference between the position information of the range hood in the previous cycle and the current position information to obtain the current displacement information of the range hood;
[0087] Determine target displacement information of the range hood simulation image based on the current displacement information and the size ratio of the range hood simulation image to the range hood in the first direction;
[0088] Determine the difference between the current displacement information and the target displacement information to obtain the display displacement information of the smoke exhaust fan simulation image;
[0089] Based on the display displacement information, the display position of the range hood simulation image in the target display area is adjusted so that the displacement of the range hood simulation image in the current cycle matches the target displacement information.
[0090] The current displacement information refers to the position change information of the range hood in the current cycle relative to the previous cycle, including the position change amount and the position change direction.
[0091] The range hood simulation image is usually a two-dimensional or three-dimensional graphic used to simulate the appearance and movement state of an actual range hood.
[0092] The size ratio of the range hood simulation image to the range hood in the first direction refers to the proportional relationship between the size of the range hood simulation image on the display screen in the first direction and the size of the actual range hood in the first direction.
[0093] The target displacement information refers to the position change information of the smoke exhaust fan simulation image in the current cycle in the world coordinate system, including the position change amount and position change direction in the first direction.
[0094] The display displacement information refers to the position change information of the range hood simulation image in the current cycle in the range hood screen coordinate system, including the position change amount and position change direction in the first direction.
[0095] Exemplarily, the size ratio of the range hood simulation image and the range hood in the first direction is 1:8, and the range hood moves vertically upward with a movement distance of h. In order to visually coordinate the range hood simulation image and the range hood lifting and lowering, the target displacement information of the range hood simulation image is determined to be vertical upward movement with a movement distance of h / 8. If the position of the range hood simulation image in the range hood screen is not adjusted, the range hood simulation image moves upward by h along with the range hood, and therefore it is necessary to move the range hood simulation image downward by 7h / 8 in the range hood screen.
[0096] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application obtains the position information of the range hood and calculates the actual displacement of the range hood, thereby determining the target displacement information of the range hood simulation image, and adjusts the display position of the range hood simulation image to ensure that the range hood simulation image matches the actual movement of the range hood, thereby achieving consistency in visual feedback and improving user experience.
[0097] In an exemplary embodiment, the current cycle includes a preset number of sub-cycles; the step of adjusting the display position of the smoke machine simulation image in the target display area based on the display displacement information may include the following steps:
[0098] Determine the movement speed of the smoke machine in the current cycle based on the current displacement information;
[0099] Determine a target adjustment speed of the range hood simulation image based on the movement speed of the range hood in the current cycle and the size ratio of the range hood simulation image to the range hood in the first direction;
[0100] Based on the displayed displacement information and the preset quantity, a target adjustment distance of the smoke machine simulation image within a sub-period is determined;
[0101] In response to the update of the current sub-cycle, the display position of the smoke machine simulation image in the target display area is adjusted based on the target adjustment distance and the target adjustment speed.
[0102] The preset number refers to the number of sub-periods into which the current period is subdivided.
[0103] The sub-cycle is used to more finely control the display position adjustment of the range hood simulation image to ensure that it matches the actual movement of the range hood. Specifically, the current cycle is subdivided into several shorter time periods, each of which is called a sub-cycle.
[0104] The movement speed refers to the ratio of the change in position of the range hood in the current cycle relative to the previous cycle to the length of the current cycle.
[0105] The target adjustment speed refers to the speed at which the range hood simulation image should move on the display screen to ensure that it matches the movement of the actual range hood in the first direction.
[0106] The target adjustment distance refers to the distance that the range hood simulation image should move on the display screen in each sub-period to ensure that it matches the movement of the actual range hood in the first direction.
[0107] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application subdivides the current cycle into multiple sub-cycles, and interpolates according to the position and speed of the range hood, adjusts the position of the range hood simulation image in each sub-cycle, and ensures that the movement of the range hood simulation image on the range hood screen matches the actual movement of the range hood, so that the dynamic display of the range hood simulation image on the range hood screen is more coherent, achieving a smooth dynamic display effect, and enhancing the naturalness and intuitiveness of human-computer interaction.
[0108] Corresponding to the display methods of the range hood screen provided in the above-mentioned embodiments, the embodiment of the present application also provides a display device for the range hood screen. Since the display device for the range hood screen provided in the embodiment of the present application corresponds to the display methods for the range hood screen provided in the above-mentioned embodiments, the implementation methods of the aforementioned display methods for the range hood screen are also applicable to the display device for the range hood screen provided in this embodiment and will not be described in detail in this embodiment.
[0109] See also Figure 5 , which is a schematic diagram of the structure of a display device for a range hood screen provided in an embodiment of the present application. The device has the function of implementing the display method of the range hood screen in the above method embodiment. The function can be implemented by hardware or by hardware executing corresponding software. Specifically, the range hood screen is set on the range hood for displaying candidate display elements. The range hood is used to move between a first position and a second position. The first position is used to hide the range hood inside a cabinet, driving the range hood screen to hide inside the cabinet. The second position is used to expose the range hood outside the cabinet, driving the range hood screen to expose outside the cabinet. Figure 5 As shown, the device may include:
[0110] The first position acquisition module 510 is used to acquire the current position information of the range hood in response to the screen display update instruction of the current cycle during the movement of the range hood between the first position and the second position;
[0111] The area determination module 520 is used to determine the area of the range hood screen exposed outside the cabinet based on the current position information and the setting position of the range hood screen on the range hood, and obtain the target display area on the range hood screen;
[0112] A first element determination module 530, configured to determine a target display element from candidate display elements based on current position information;
[0113] The element display module 540 is used to display the target display element based on the target display area.
[0114] In an exemplary embodiment, the candidate display elements include a first type of display elements, and the priority of the first type of display elements is higher than the priority of other display elements in the candidate display elements; the first element determination module includes:
[0115] A distance determination module is used to determine the distance between the range hood and the cabinet in a first direction based on the current position information to obtain the current distance; the first direction is parallel to the movement direction of the range hood;
[0116] The distance judgment module is used to judge whether the current distance is greater than or equal to a first distance threshold; the first distance threshold refers to the distance between the range hood and the cabinet in the first direction when the distance between the first side of the range hood screen and the second side of the cabinet in the first direction is zero; the first side is the side of the range hood screen close to the first position when the range hood is in the second position, and the second side is the side of the cabinet close to the second position;
[0117] The second element determination module is used to determine the first type of display element as the target display element when the current distance is less than the first distance threshold.
[0118] In an exemplary embodiment, the first type of display element includes a range hood simulation image; the element display module includes:
[0119] The second position acquisition module is used to acquire the position information of the range hood in the previous cycle of the current cycle;
[0120] The range hood displacement module is used to determine the difference between the position information of the range hood in the previous cycle and the current position information to obtain the current displacement information of the range hood;
[0121] An image displacement module, used to determine target displacement information of the range hood simulation image based on current displacement information and a size ratio between the range hood simulation image and the range hood in a first direction;
[0122] A display displacement module, used to determine the difference between the current displacement information and the target displacement information, and obtain the display displacement information of the smoke exhaust fan simulation image;
[0123] The first display adjustment module is used to adjust the display position of the range hood simulation image in the target display area based on the display displacement information, so that the displacement of the range hood simulation image in the current cycle matches the target displacement information.
[0124] In an exemplary embodiment, the current cycle includes a preset number of sub-cycles; the first display adjustment module includes:
[0125] The smoke machine speed module is used to determine the movement speed of the smoke machine in the current cycle based on the current displacement information;
[0126] An image speed module, used to determine a target adjustment speed of the range hood simulation image based on a movement speed of the range hood in a current cycle and a size ratio of the range hood simulation image to the range hood in a first direction;
[0127] A cycle distance module, used to determine the target adjustment distance of the smoke machine simulation image within a sub-cycle based on the displayed displacement information and a preset number;
[0128] The second display adjustment module is used to adjust the display position of the smoke machine simulation image in the target display area based on the target adjustment distance and the target adjustment speed in response to the update of the current sub-cycle.
[0129] In an exemplary embodiment, the device further includes a third element determination module for displaying all candidate display elements when the range hood screen is not blocked by the cabinet, and the third element determination module includes:
[0130] The third element determination module is used to determine the candidate display element as the target display element when the current distance is greater than or equal to the first distance threshold.
[0131] In an exemplary embodiment, the device further includes an image display module for allowing a panoramic display of a range hood simulation image when the range hood screen is not blocked by the cabinet, the image display module including:
[0132] The image display module is used to display the range hood simulation image based on the target display area in response to triggering the range hood simulation image when the current distance is greater than or equal to the first distance threshold.
[0133] In an exemplary embodiment, the candidate display elements also include control keys corresponding to the associated devices of the range hood, and the device also includes an associated display module for allowing switching to the control page corresponding to the associated devices of the range hood when the range hood screen is not blocked by the cabinet, and the associated display module includes:
[0134] The associated display module is used to display a control page corresponding to the associated device based on the target display area in response to triggering a control key corresponding to the associated device.
[0135] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0136] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the range hood screen display methods provided in the above method embodiments.
[0137] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0138] The method embodiments provided in the embodiments of the present application may be executed in a computer terminal, a server or a similar computing device, that is, the above-mentioned electronic device may include a computer terminal, a server or a similar computing device. Figure 6 is a hardware structure block diagram of a computer device for running a method for displaying a range hood screen provided by an embodiment of the present invention, such as Figure 6 As shown, the internal structure of the computer device may include but is not limited to: a processor, a network interface and a memory. The processor, network interface and memory in the computer device may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0139] Among them, the processor (or CPU (Central Processing Unit)) is the computing core and control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.). Memory is a memory device in a computer device for storing programs and data. It is understandable that the memory here can be a high-speed RAM storage device or a non-volatile memory device, such as at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, including but not limited to: Windows system (an operating system), Linux (an operating system), Android (Android, a mobile operating system) system, IOS (a mobile operating system) system, etc., and the present invention does not limit this; and, in the storage space, one or more instructions suitable for being loaded and executed by the processor are also stored, and these instructions can be one or more computer programs (including program codes). In the embodiment of this specification, the processor loads and executes one or more instructions stored in the memory to implement the display method of the smoke machine screen provided in the above method embodiment.
[0140] An embodiment of the present application also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method for displaying a range hood screen. The at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the methods for displaying a range hood screen provided in the above method embodiments.
[0141] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0142] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0143] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0144] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0145] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for displaying a range hood screen, characterized in that: The range hood screen is disposed on the range hood for displaying candidate display elements. The range hood is used to move between a first position and a second position. The first position is used to hide the range hood inside a cabinet, driving the range hood screen to be hidden inside the cabinet. The second position is used to expose the range hood outside the cabinet, driving the range hood screen to be exposed outside the cabinet. The method includes: When the range hood moves between the first position and the second position, in response to a screen display update instruction of the current cycle, current position information of the range hood is acquired; Based on the current position information and the setting position of the range hood screen on the range hood, determine the area of the range hood screen exposed outside the cabinet to obtain the target display area on the range hood screen; Based on the current position information, determining a target display element among the candidate display elements; The target display element is displayed based on the target display area.
2. The method for displaying a range hood screen according to claim 1, characterized in that: The candidate display elements include a first category of display elements, and the priority of the first category of display elements is higher than the priority of other display elements in the candidate display elements; The determining a target display element from among the candidate display elements based on the current position information includes: Based on the current position information, determine the distance between the range hood and the cabinet in a first direction to obtain the current distance; the first direction is parallel to the movement direction of the range hood; Determine whether the current distance is greater than or equal to a first distance threshold; the first distance threshold refers to the distance between the range hood and the cabinet in the first direction when the distance between the first side of the range hood screen and the second side of the cabinet in the first direction is zero; the first side is the side of the range hood screen close to the first position when the range hood is in the second position, and the second side is the side of the cabinet close to the second position; When the current distance is less than the first distance threshold, the first-type display element is determined as the target display element.
3. The method for displaying a range hood screen according to claim 2, characterized in that: The first type of display element includes a range hood simulation image; and displaying the target display element based on the target display area includes: Obtaining the position information of the range hood in the previous cycle of the current cycle; Determine the difference between the position information of the range hood in the previous cycle and the current position information to obtain the current displacement information of the range hood; Determine target displacement information of the range hood simulation image based on the current displacement information and the size ratio of the range hood simulation image to the range hood in the first direction; Determine the difference between the current displacement information and the target displacement information to obtain the display displacement information of the range hood simulation image; Based on the display displacement information, the display position of the range hood simulation image in the target display area is adjusted so that the displacement of the range hood simulation image in the current cycle matches the target displacement information.
4. The method for displaying a range hood screen according to claim 3, characterized in that: The current cycle includes a preset number of sub-cycles; and adjusting the display position of the smoke machine simulation image in the target display area based on the display displacement information includes: Determining the movement speed of the range hood in the current cycle based on the current displacement information; Determining a target adjustment speed of the range hood simulation image based on the movement speed of the range hood in the current cycle and the size ratio of the range hood simulation image to the range hood in the first direction; Based on the display displacement information and the preset number, determining a target adjustment distance of the range hood simulation image within the sub-period; In response to the update of the current sub-cycle, the display position of the smoke machine simulation image in the target display area is adjusted based on the target adjustment distance and the target adjustment speed.
5. The method for displaying a range hood screen according to claim 3 or 4, characterized in that: The method further comprises: When the current distance is greater than or equal to the first distance threshold, the candidate display element is determined as the target display element.
6. The method for displaying a range hood screen according to claim 5, characterized in that: The method further comprises: In a case where the current distance is greater than or equal to the first distance threshold, in response to triggering the range hood simulation image, the range hood simulation image is displayed based on the target display area.
7. The method for displaying a range hood screen according to claim 5, characterized in that: The candidate display elements also include control keys corresponding to the associated devices of the range hood, and the method further includes: In response to triggering a control key corresponding to the associated device, a control page corresponding to the associated device is displayed based on the target display area.
8. A display device for a range hood screen, characterized in that: The range hood screen is arranged on the range hood for displaying candidate display elements. The range hood is used to move between a first position and a second position. The first position is used to hide the range hood inside a cabinet, driving the range hood screen to be hidden inside the cabinet. The second position is used to expose the range hood outside the cabinet, driving the range hood screen to be exposed outside the cabinet. The device comprises: A first position acquisition module, configured to acquire current position information of the range hood in response to a screen display update instruction of a current cycle when the range hood moves between the first position and the second position; an area determination module, for determining the area of the range hood screen exposed outside the cabinet based on the current position information and the setting position of the range hood screen on the range hood, and obtaining a target display area on the range hood screen; A first element determination module, configured to determine a target display element from among the candidate display elements based on the current position information; An element display module is used to display the target display element based on the target display area.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the display method of the range hood screen as described in any one of claims 1 to 7.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the method for displaying a range hood screen according to any one of claims 1 to 7.