Washing information display method and device, electronic equipment and storage medium
By determining the display parameters and display methods in the home washing machine, the problem of too small fonts of washing information is solved, and the user experience is improved, especially suitable for the elderly, amblyopia and myopia.
Patent Information
- Application Number
- CN202310720833.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
The washing information display method of existing household washing machines determines the font size based on the word count and the display area size, resulting in the font being too small when the number of words is large, affecting user viewing, especially unfriendly to the elderly, amblyopia and myopia.
By determining the number of characters of the washing information and the display parameters of the display screen, including the number of displayed lines and a single-line display character threshold, the display method is determined based on these parameters, the display screen is controlled to display the washing information, and a personalized display method is adopted to improve the user experience.
It realizes the personalized display method of washing information based on display parameters, avoids the problem of too small fonts, and improves the user experience of the elderly, amblyopia and myopia.
Smart Images

Figure CN119145156A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a method, device, electronic device and storage medium for displaying washing information. Background Art
[0002] Since the living standards and living habits of residents across the country are different, the performance requirements of residents for household washing machines are also different.
[0003] At present, the washing information of a household washing machine is displayed on the display screen of the washing machine. Generally, the display mode of the washing information is determined by the number of characters of the washing information to be displayed and the size of the display area of the display screen. For example, the size of the characters in the washing information is determined based on the quotient of the number of characters of the washing information and the size of the display area. However, if the number of characters of the washing information is large, the font of the washing information displayed on the display screen will be very small, which affects the user's viewing of the washing information, increases the difficulty for the user to set and adjust the washing parameters, and is particularly unfriendly to the elderly, people with low vision, and people with myopia. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for displaying washing information, aiming to formulate a personalized display mode of washing information in combination with the parameters of a display screen, so as to enhance the user experience.
[0005] According to one aspect of the present invention, a method for displaying washing information is provided, the method comprising:
[0006] Determining the number of characters of the washing information and display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and a single-line display character threshold;
[0007] Determining a display mode of the washing information based on the number of characters, the number of display lines, and a threshold value of characters displayed on a single line;
[0008] The Control Display shows wash information based on the display mode.
[0009] Optionally, the display mode of the washing information is determined based on the number of characters, the number of display lines and the single-line display character threshold, including: determining whether the number of display lines is greater than or equal to 2; if the number of display lines is greater than or equal to 2, determining the display mode based on the number of display lines, the number of characters and the single-line display character threshold; if the number of display lines is less than 2, determining the display mode based on the number of characters and the single-line display character threshold.
[0010] Optionally, the display mode is determined based on the number of display lines, the number of characters and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, determining the display mode to display the washing information based on a first preset font; if the number of characters is greater than the single-line display character threshold, determining the display mode based on the number of characters and the product of the number of display lines and the single-line display character threshold.
[0011] Optionally, the display mode is determined based on the product of the number of characters and the number of display lines and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold; if the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold, determining the display mode is to display the washing information based on a first preset font and a target number of lines, wherein the target number of lines is the quotient of the number of characters and the single-line display character threshold, or the target number of lines is the quotient of the number of characters and the single-line display character threshold plus 1; if the number of characters is greater than the product of the number of display lines and the single-line display character threshold, determining the display mode is to display the washing information based on the first preset font and a preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0012] Optionally, the display mode is determined based on the number of characters and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, determining the display mode to display the washing information based on a first preset font; if the number of characters is greater than the single-line display character threshold, determining the display mode based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold.
[0013] Optionally, the display mode is determined based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold, including: determining whether the difference between the number of characters and the single-line display character threshold is less than or equal to the single-line display character threshold; if the difference is less than or equal to the single-line display character threshold, determining that the display mode is to display the washing information based on a second preset font, wherein the second preset font is smaller than the first preset font; if the difference is greater than the single-line display character threshold, determining that the display mode is to display the washing information based on the first preset font and a preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0014] Optionally, the method further includes: when it is detected that the font identification of any display area on the display screen has changed, adjusting the font identification of the remaining display areas on the display screen based on the changed font identification.
[0015] According to another aspect of the present invention, a display device for washing information is provided, the device comprising:
[0016] An acquisition module, used to determine the number of characters of the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and a single-line display character threshold;
[0017] A determination module, used for determining the display mode of the washing information based on the number of characters, the number of display lines and the threshold value of characters displayed in a single line;
[0018] The execution module is used to control the display screen to display washing information based on the display mode.
[0019] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0020] at least one processor; and a memory communicatively coupled to the at least one processor;
[0021] The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the method for displaying washing information described in any embodiment of the present invention.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the method for displaying washing information described in any embodiment of the present invention when executed by a processor.
[0023] The technical solution of the present invention determines the number of characters of the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and the threshold value of single-line display characters; determines the display mode of the washing information based on the number of characters, the number of display lines and the threshold value of single-line display characters; and controls the display screen to display the washing information based on the display mode. The display mode of the washing device displaying the washing parameters is determined according to the number of characters of the washing parameters, the number of display lines of the display screen of the washing device and the threshold value of single-line display characters, and controls the display screen to display the washing information based on the display mode. The personalized display mode of the washing information can be formulated in combination with the parameters of the display screen to enhance the user's experience. The problem of determining the size of the characters in the washing information based on the quotient of the number of characters in the washing information and the size of the display area is solved. If the number of characters in the washing information is large, the font of the washing information displayed on the display screen will be very small, which affects the user's viewing of the washing information, increases the difficulty for the user to set and adjust the washing parameters, and is particularly unfriendly to the elderly, people with low vision, and people with myopia.
[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0026] Figure 1 is a flow chart of a method for displaying washing information provided in Embodiment 1;
[0027] Figure 2 is a flow chart of a method for displaying washing information provided in Embodiment 2;
[0028] Figure 3 is a schematic structural diagram of a display device for washing information provided in Embodiment 3;
[0029] Figure 4 It is a structural schematic diagram of an electronic device provided in Example 4. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1This is a flow chart of a method for displaying washing information provided in Example 1. This embodiment is applicable to personalized display of washing information, adjustment of display font of washing information, etc. The method can be executed by the display device for washing information provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 1 , the method specifically comprises the following steps:
[0034] S101, determining the number of characters of washing information and display parameters of a display screen of a washing device.
[0035] Among them, the display parameters include the number of display lines and the single-line display character threshold. The number of characters of the washing information can be used to measure the amount of content of the washing information. The display screen can be understood as a display instrument for the washing information. Under the default display font size, the amount of washing information displayed is related to the number of display lines and the single-line display character threshold of the display screen. The single-line display character threshold can be understood as the maximum character value displayed on any display line of the display screen, and the number of display lines can be understood as the number of lines that the display screen can display the washing information.
[0036] Specifically, the washing information will generally be displayed in the center of the display screen so that the user can view the displayed information, but the display screen does not necessarily have to display only a single line of washing information. The number of display lines and the single-line display character threshold are related to the font of the washing information, the size of the display screen and the configuration parameters, and this embodiment does not limit this.
[0037] The advantage of such a setting is that the actual parameters of the washing information and the display screen can be obtained so as to determine the display mode of the washing information.
[0038] S102, determining a display mode of the washing information based on the number of characters, the number of display lines, and a threshold value for displaying characters in a single line.
[0039] Among them, the display method of washing information can be understood as the way of displaying washing information on the display screen, including direct display in the center, single-line display, line break display, reduced font display, left sliding display, right sliding display, etc. This embodiment does not limit this.
[0040] Specifically, determining the display method of the washing information based on the number of characters, the number of display lines and the single-line display character threshold can be understood as determining the display method of the washing information on the display screen based on the number of characters of the washing information, the number of display lines and the single-line display character threshold.
[0041] Exemplarily, assuming that the display screen has 2 lines, under the default display font, if the number of characters in the washing information is less than or equal to the single-line display character threshold, the display mode is determined to be centered single-line display; if the number of characters in the washing information is greater than the single-line display character threshold and less than or equal to twice the single-line display character threshold, the display mode is determined to be line wrap display; if the number of characters in the washing information is greater than twice the single-line display character threshold, the display mode is determined to be left / right sliding display.
[0042] The advantage of such a setting is that the display mode of the washing information can be determined in a personalized manner according to the number of characters in the washing information, the number of display lines on the display screen, and the threshold value of single-line display characters.
[0043] S103, controlling the display screen to display washing information based on the display mode.
[0044] Specifically, controlling the display screen to display the washing information based on the display mode can be understood as controlling the display screen to display the washing information based on the display mode determined in step S102.
[0045] For example, assuming that the display screen has 2 lines, if the display mode is a centered single-line display, the washing information is displayed in a centered single-line on the display screen; if the display mode is a wrap display, the washing information is displayed in wraps (2 lines) on the display screen; if the display mode is a left / right sliding display, the washing information is displayed in a left / right sliding font on the display screen.
[0046] The technical solution of this embodiment is to determine the number of characters of the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and the threshold value of single-line display characters; determine the display mode of the washing information based on the number of characters, the number of display lines and the threshold value of single-line display characters; and control the display screen to display the washing information based on the display mode. The display mode of the washing device displaying the washing parameters is determined according to the number of characters of the washing parameters, the number of display lines of the display screen of the washing device and the threshold value of single-line display characters, and the display screen is controlled to display the washing information based on the display mode. The personalized display mode of the washing information can be formulated in combination with the parameters of the display screen to enhance the user's experience. The problem of determining the size of the characters in the washing information based on the quotient of the number of characters in the washing information and the size of the display area is solved. If the number of characters in the washing information is large, the font of the washing information displayed on the display screen will be very small, which affects the user's viewing of the washing information, increases the difficulty for the user to set and adjust the washing parameters, and is particularly unfriendly to the elderly, people with low vision, and people with myopia.
[0047] Embodiment 2
[0048] Figure 2This is a flow chart of a method for displaying washing information provided in the second embodiment. This embodiment is applicable to the personalized display of washing information, the adjustment of the display font of washing information, etc. The method can be executed by the display device for washing information provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 2 , the method specifically comprises the following steps:
[0049] S201, determining the number of characters of washing information and display parameters of a display screen of a washing device.
[0050] In this embodiment, the display parameters include the number of display lines and the single-line display character threshold. The number of characters of the washing information can be used to measure the amount of content of the washing information. The display screen can be understood as a display instrument for the washing information. Under the default display font size, the amount of washing information displayed is related to the number of display lines and the single-line display character threshold of the display screen. The single-line display character threshold can be understood as the maximum character value displayed on any display line of the display screen, and the number of display lines can be understood as the number of lines that the display screen can display the washing information.
[0051] S202: Determine whether the number of display rows is greater than or equal to 2.
[0052] Specifically, if the number of displayed rows is greater than or equal to 2, step S203 is executed; if the number of displayed rows is less than 2, step S204 is executed.
[0053] This step can be used to detect whether the display screen has a line wrap function. If the number of display lines is greater than or equal to 2, it proves that the display screen has the line wrap capability. If the number of display lines is less than 2, it proves that the display screen can only display the washing information in a single line.
[0054] The advantage of this setting is that different display modes can be set according to different types of display screens.
[0055] S203: Determine the display mode based on the number of display lines, the number of characters, and a threshold value for displaying characters in a single line.
[0056] Determining the display mode based on the number of display lines, the number of characters and the single-line display character threshold can be understood as determining whether the display mode of the washing information is single-line display, line break display, left sliding display and right sliding display based on the number of display lines, the number of characters and the single-line display character threshold.
[0057] Specifically, the display mode is determined based on the number of display lines, the number of characters and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, determining the display mode to display the washing information based on the first preset font; if the number of characters is greater than the single-line display character threshold, determining the display mode based on the number of characters and the product of the number of display lines and the single-line display character threshold.
[0058] Among them, the first preset font can be understood as the default display font, and the default display font can be the font in the factory settings of the washing device, a suitable font determined based on big data, a font commonly used by the user, etc. This embodiment does not limit this.
[0059] Exemplarily, if the number of characters in the washing information is less than or equal to the single-line display character threshold, it proves that the display screen can display the complete washing information in a single line, and the display mode is determined to display the washing information based on the first preset font; if the number of characters is greater than the single-line display character threshold, it proves that the display screen cannot display the complete washing information in a single line, and it is necessary to further determine the display mode of the washing information based on the product of the number of characters and the number of display lines and the single-line display character threshold.
[0060] The display mode is determined based on the product of the number of characters and the number of display lines and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold; if the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold, determining the display mode to display the washing information based on a first preset font and a target number of lines; if the number of characters is greater than the product of the number of display lines and the single-line display character threshold, it proves that the number of characters in the washing information is large, and determining the display mode to display the washing information based on a first preset font and a preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0061] Specifically, on the basis that the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold, if the number of characters of the washing information is divisible by the single-line display character threshold, then the target number of lines is the quotient of the number of characters and the single-line display character threshold; if the number of characters of the washing information is not divisible by the single-line display character threshold, then the target number of lines is the quotient of the number of characters and the single-line display character threshold plus 1.
[0062] Exemplarily, assuming that the number of display lines is 3 and the single-line display character threshold is 15, if the number of characters in the washing information is less than or equal to 15, the display mode of the washing information is determined to be a single-line display of the washing information based on the default font; if the number of characters in the washing information is greater than 15 and less than or equal to 45, the display mode of the washing information is determined to be based on the default font and the target number of lines; if the number of characters in the washing information is greater than 45, the display mode of the washing information is determined to be based on the default font and the target number of lines. Display the washing information by sliding left / right in a circular manner.
[0063] Based on the above example, if the number of characters in the washing information is 30, the number of characters in the washing information can be divided by the single-line display character threshold (15), and the target number of lines is the quotient of the number of characters and 15 (i.e. 2). If the number of characters in the washing information is 33, the number of characters in the washing information cannot be divided by 15, and the target number of lines is the quotient of the number of characters and 15 plus 1 (i.e. 3).
[0064] S204: Determine a display mode based on the number of characters and a threshold for displaying characters in a single line.
[0065] Determining the display mode based on the number of characters and the single-line display character threshold can be understood as determining whether the display mode of the washing information is default font display, reduced font display, left sliding display and right sliding display based on the number of characters and the single-line display character threshold.
[0066] Specifically, the display mode is determined based on the number of characters and the single-line display character threshold, including: determining whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, determining the display mode to display the washing information based on the first preset font; if the number of characters is greater than the single-line display character threshold, determining the display mode based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold.
[0067] Similar to step S203, the first preset font in this step can be understood as the default display font. The default display font can be the font in the factory settings of the washing machine, a suitable font determined based on big data, a font commonly used by the user, etc. This embodiment does not limit this.
[0068] Exemplarily, if the number of characters in the washing information is less than or equal to the single-line display character threshold, it proves that the display screen can display the complete washing information in a single line, and the display mode is determined to display the washing information based on the first preset font; if the number of characters is greater than the single-line display character threshold, it proves that the display screen cannot display the complete washing information in a single line, and it is necessary to determine the display mode based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold.
[0069] The display mode is determined based on a single-line display character threshold and a difference between the number of characters and the single-line display character threshold, including: determining whether the difference between the number of characters and the single-line display character threshold is less than or equal to the single-line display character threshold; if the difference is less than or equal to the single-line display character threshold, determining the display mode is to display the washing information based on a second preset font, wherein the second preset font is smaller than the first preset font; if the difference is greater than the single-line display character threshold, determining the display mode is to display the washing information based on the first preset font and a preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0070] Specifically, if the difference between the number of characters and the single-line display character threshold is less than or equal to the single-line display character threshold, it proves that the amount of remaining information other than the washing information that can be displayed in a single line is small, and the display font can be reduced so that the washing information can be displayed in a single line, and the display mode is determined to display the washing information based on the second preset font; if the difference between the number of characters and the single-line display character threshold is greater than the single-line display character threshold, it proves that the amount of remaining information other than the washing information that can be displayed in a single line is large, and the display mode is determined to display the washing information based on the first preset font and the left / right circular movement of characters.
[0071] Exemplarily, assuming that the threshold value for displaying characters in a single line is 15, if the number of characters in the washing information is less than or equal to 15, the display mode of the washing information is determined to be a single-line display of the washing information based on the default font; if the number of characters in the washing information is greater than 15 and less than or equal to 30, the display mode of the washing information is determined to be a second preset font display of the washing information, that is, the display font of the washing information is reduced; if the number of characters in the washing information is greater than 30, the display mode of the washing information is determined to be a left / right circular sliding display of the washing information based on the default font.
[0072] S205, controlling the display screen to display washing information based on the display mode.
[0073] Specifically, controlling the display screen to display the washing information based on the display mode can be understood as controlling the display screen to display the washing information based on the display mode determined in step S203 / S204.
[0074] For example, when the number of display lines on the display screen is 2, if the display mode is centered single-line display, the washing information is displayed in a centered single-line on the display screen; if the display mode is line-wrapped display, the washing information is displayed in line-wrapped display on the display screen; if the display mode is left / right sliding display, the washing information is displayed in a left / right sliding font on the display screen. When the number of display lines on the display screen is 1, if the display mode is centered single-line display, the washing information is displayed in a centered single-line on the display screen in a default font; if the display mode is reduced font display, the washing information is displayed in a reduced font on the display screen; if the display mode is left / right sliding display, the washing information is displayed in a left / right sliding font on the display screen.
[0075] Optionally, the washing device in the present invention will detect the font identification of the washing information in each area on the display screen in real time, and when it is detected that the font identification of any display area on the display screen has changed, the font identification of the remaining display area on the display screen is adjusted based on the changed font identification.
[0076] The font identifier can be understood as the attribute information of the font, which is used to distinguish the size of the font.
[0077] Specifically, the display screen may include multiple display areas for displaying different washing information. Font identifiers are set in each area. If the font of any area changes, the corresponding font identifier will also change. The washing device will adjust the font identifiers of the remaining areas on the display screen based on the changed font identifier, so that the font change in the local area drives the global font change. For example, if the local font becomes larger, the global font becomes larger, which improves the user experience and is especially friendly to myopic, amblyopic and elderly users.
[0078] The triggering condition for the font logo change may be adjusting the font size, triggering the elderly mode, etc.
[0079] Furthermore, the washing device not only includes a display screen, but also a touch display key. The touch display key is used to display the function of the key and receive instructions input by the user based on the touch display key. The font of the display information on the touch display key also changes with the font changed on the display screen, so that the user can distinguish the function of each touch key.
[0080] The technical solution of this embodiment is to determine the number of characters of the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and the threshold value of single-line display characters; determine whether the number of display lines is greater than or equal to 2, if the number of display lines is greater than or equal to 2, determine the display mode based on the number of display lines, the number of characters and the threshold value of single-line display characters, if the number of display lines is less than 2, determine the display mode based on the number of characters and the threshold value of single-line display characters; and control the display screen to display the washing information based on the display mode. The display mode of the washing parameters displayed by the washing device is determined according to the number of characters of the washing parameters, the number of display lines of the display screen of the washing device and the threshold value of single-line display characters, and the display screen is controlled to display the washing information based on the display mode. The personalized display mode of the washing information can be formulated in combination with the parameters of the display screen to enhance the user's experience. The problem of determining the size of the characters in the washing information based on the quotient of the number of characters in the washing information and the size of the display area is solved. If the number of characters in the washing information is large, the font of the washing information displayed on the display screen will be very small, which affects the user's viewing of the washing information, increases the difficulty for the user to set and adjust the washing parameters, and is particularly unfriendly to the elderly, people with low vision, and people with myopia.
[0081] Embodiment 3
[0082] Figure 3 Schematic diagram of a washing information display device provided in Embodiment 3. Figure 3 As shown, the device includes: an acquisition module 301, a determination module 302 and an execution module 303.
[0083] The acquisition module 301 is used to determine the number of characters in the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and a threshold value for displaying characters in a single line.
[0084] The determination module 302 is used to determine the display mode of the washing information based on the number of characters, the number of display lines and the threshold value of single-line display characters.
[0085] The execution module 303 is used to control the display screen to display the washing information based on the display mode.
[0086] Optionally, determination module 302 is specifically used to determine whether the number of display lines is greater than or equal to 2; if the number of display lines is greater than or equal to 2, the display mode is determined based on the number of display lines, the number of characters and the single-line display character threshold; if the number of display lines is less than 2, the display mode is determined based on the number of characters and the single-line display character threshold.
[0087] Optionally, the determination module 302 is specifically used to determine whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, the display mode is determined to be based on the first preset font to display the washing information; if the number of characters is greater than the single-line display character threshold, the display mode is determined based on the product of the number of characters and the number of display lines and the single-line display character threshold.
[0088] Optionally, the determination module 302 is specifically used to determine whether the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold; if the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold, then the display mode is determined to be based on a first preset font and a target number of lines to display the washing information, wherein the target number of lines is the quotient of the number of characters and the single-line display character threshold, or the target number of lines is the quotient of the number of characters and the single-line display character threshold plus 1; if the number of characters is greater than the product of the number of display lines and the single-line display character threshold, then the display mode is determined to be based on a first preset font and a preset display mode to display the washing information, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0089] Optionally, the determination module 302 is specifically used to determine whether the number of characters is less than or equal to the single-line display character threshold; if the number of characters is less than or equal to the single-line display character threshold, the display mode is determined to be based on the first preset font to display the washing information; if the number of characters is greater than the single-line display character threshold, the display mode is determined based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold.
[0090] Optionally, the determination module 302 is specifically used to determine whether the difference between the number of characters and the single-line display character threshold is less than or equal to the single-line display character threshold; if the difference is less than or equal to the single-line display character threshold, then the display mode is determined to be based on a second preset font to display the washing information, wherein the second preset font is smaller than the first preset font; if the difference is greater than the single-line display character threshold, then the display mode is determined to be based on the first preset font and a preset display mode to display the washing information, wherein the preset display mode is to move the washing information left / right in a circular motion.
[0091] Optionally, the execution module 303 is further configured to adjust the font identification of the remaining display areas on the display screen based on the changed font identification when it is detected that the font identification of any display area on the display screen has changed.
[0092] The display device for washing information provided in this embodiment can execute the display method for washing information provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0093] Embodiment 4
[0094] Figure 4: is a structural diagram of an electronic device provided in Example 4. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0095] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0096] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0097] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for displaying washing information.
[0098] In some embodiments, the method for displaying washing information may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for displaying washing information described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for displaying washing information in any other appropriate manner (e.g., by means of firmware).
[0099] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0103] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for displaying washing information, characterized in that: include: Determining the number of characters of the washing information and display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and a threshold value of single-line display characters; Determining a display mode of the washing information based on the number of characters, the number of display lines, and the threshold value of characters displayed in a single line; The display screen is controlled to display the washing information based on the display mode.
2. The method according to claim 1, characterized in that The determining of the display mode of the washing information based on the number of characters, the number of display lines and the threshold of single-line display characters includes: Determine whether the number of display rows is greater than or equal to 2; If the number of display lines is greater than or equal to 2, determining the display mode based on the number of display lines, the number of characters and the single-line display character threshold; If the number of display lines is less than 2, the display mode is determined based on the number of characters and the single-line display character threshold.
3. The method according to claim 2, characterized in that The determining the display mode based on the number of display lines, the number of characters and the single-line display character threshold comprises: Determining whether the number of characters is less than or equal to the single-line display character threshold; If the number of characters is less than or equal to the single-line display character threshold, determining that the display mode is to display the washing information based on a first preset font; If the number of characters is greater than the single-line display character threshold, the display mode is determined based on the product of the number of characters and the number of display lines and the single-line display character threshold.
4. The method according to claim 3, characterized in that The determining the display mode based on the product of the number of characters and the number of display lines and the single-line display character threshold comprises: Determining whether the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold; If the number of characters is less than or equal to the product of the number of display lines and the single-line display character threshold, determining that the display mode is to display the washing information based on the first preset font and the target number of lines, wherein the target number of lines is the quotient of the number of characters and the single-line display character threshold, or the target number of lines is the quotient of the number of characters and the single-line display character threshold plus 1; If the number of characters is greater than the product of the number of display lines and the single-line display character threshold, the display method is determined to be displaying the washing information based on the first preset font and preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
5. The method according to claim 2, characterized in that: The determining the display mode based on the number of characters and the single-line display character threshold comprises: Determining whether the number of characters is less than or equal to the single-line display character threshold; If the number of characters is less than or equal to the single-line display character threshold, determining that the display mode is to display the washing information based on a first preset font; If the number of characters is greater than the single-line display character threshold, the display mode is determined based on the single-line display character threshold and a difference between the number of characters and the single-line display character threshold.
6. The method according to claim 5, characterized in that The determining the display mode based on the single-line display character threshold and the difference between the number of characters and the single-line display character threshold includes: Determine whether the difference between the number of characters and the single-line display character threshold is less than or equal to the single-line display character threshold; If the difference is less than or equal to the single-line display character threshold, determining that the display mode is to display the washing information based on a second preset font, wherein the second preset font is smaller than the first preset font; If the difference is greater than the single-line display character threshold, it is determined that the display method is to display the washing information based on the first preset font and the preset display mode, wherein the preset display mode is to move the washing information left / right in a circular motion.
7. The method according to claim 1, characterized in that Also includes: When it is detected that the font identification of any display area on the display screen changes, the font identification of the remaining display areas on the display screen is adjusted based on the changed font identification.
8. A washing information display device, characterized in that: include: An acquisition module, used to determine the number of characters of the washing information and the display parameters of the display screen of the washing device, wherein the display parameters include the number of display lines and a single-line display character threshold; A determination module, configured to determine a display mode of the washing information based on the number of characters, the number of display lines and the threshold value of characters displayed in a single line; An execution module is used to control the display screen to display the washing information based on the display mode.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for displaying washing information as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for displaying washing information as described in any one of claims 1 to 7 when executed.
