Display processing method, display device, electric equipment and storage medium
By obtaining and managing time slice identification, we ensure that the time slices of display and non-display operation tasks do not overlap, which solves the problem of uneven lighting time and flickering in power-using equipment, and improves the user experience.
Patent Information
- Application Number
- CN202310748348.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-24
AI Technical Summary
When performing display operation tasks, the power equipment with display function is seized by other operation tasks, resulting in uneven lighting time, which is prone to flickering, affecting the user experience.
By obtaining the time slice identification, determining the target time slice, and performing display or non-display operation tasks within the time slice, ensuring that the display operation task and the time slice of the non-display operation task do not overlap, thereby executing it staggeredly to avoid flickering.
It effectively eliminates the flickering problem, improves the user experience, ensures that the display operation task is not preempted by other operation tasks during execution, and maintains the consistency of the lighting time.
Smart Images

Figure CN119181320A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrical equipment, and in particular to a display processing method, a display device, an electrical equipment and a storage medium. Background Art
[0002] In daily life, for electrical devices with display functions, when the electrical devices are performing display operation tasks, they may be preempted by other operation tasks, which will cause the execution time of the display operation tasks to be extended, and then cause uneven lighting time, prone to flickering, and unfriendly to users. Summary of the invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a display processing method, a display device, an electrical device and a storage medium, aiming to eliminate the flicker problem and improve user-friendliness.
[0004] In a first aspect, an embodiment of the present application provides a display processing method, including:
[0005] Obtaining a first time slice identifier, and determining a first target time slice according to the first time slice identifier;
[0006] Receiving a first target operation task to be executed corresponding to the first target time slice;
[0007] The first target operation task is performed within the first target time slice, wherein the first target operation task is a display operation task or a non-display operation task, and time slices corresponding to the display operation task and the non-display operation task do not overlap.
[0008] According to some embodiments of the present application, determining the first target time slice according to the first time slice identifier includes:
[0009] Filtering out a target preset time slice identifier that is consistent with the first time slice identifier from a plurality of preset time slice identifiers;
[0010] The time slice corresponding to the target preset time slice identifier is used as the first target time slice of the first time slice identifier.
[0011] According to some embodiments of the present application, after executing the first target operation task within the first target time slice, the display processing method further includes:
[0012] When the first target time slice ends, stopping the execution of the first target operation task;
[0013] The first time slice identifier is updated to obtain a second time slice identifier.
[0014] According to some embodiments of the present application, the number of the preset time slice identifiers is multiple, each of the preset time slice identifiers is in numerical form, and the difference between two adjacent preset time slice identifiers is one; the updating of the first time slice identifier to obtain the second time slice identifier includes:
[0015] Adding one to the value of the first time slice identifier;
[0016] When the first time slice identifier after increment by one is less than or equal to the preset time slice identifier with the largest value, the first time slice identifier after increment by one is used as the second time slice identifier;
[0017] When the first time slice identifier after adding one is greater than the preset time slice identifier with the largest value, the value of the first time slice identifier is updated to the value of the preset time slice identifier with the smallest value, and the updated first time slice identifier is used as the second time slice identifier.
[0018] According to some embodiments of the present application, after obtaining the second time slice identifier, the display processing method further includes:
[0019] Determine a second target time slice according to the second time slice identifier;
[0020] receiving a second target operation task to be executed corresponding to the second target time slice;
[0021] The second target operation task is executed within the second target time slice, wherein the second target operation task is the display operation task or the non-display operation task.
[0022] According to some embodiments of the present application, performing the first target operation task within the first target time slice includes:
[0023] When the first target operation task is the display operation task, the target LED light is controlled to display within the first target time slice.
[0024] According to some embodiments of the present application, executing the first target operation task within the first target time slice includes one of the following:
[0025] When the first target operation task is the non-display operation task and the non-display operation task is a data erasing task, performing a data erasing operation within the first target time slice;
[0026] When the first target operation task is the non-display operation task and the non-display operation task is a data storage task, performing a data writing operation within the first target time slice;
[0027] When the first target operation task is the non-display operation task and the non-display operation task is a data collection task, detection data of the target sensor is collected within the first target time slice.
[0028] In a second aspect, an embodiment of the present application provides a display device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the display processing method of the first aspect described above when running the computer program.
[0029] In a third aspect, an embodiment of the present application provides an electrical device, including a display device as described in the second aspect above.
[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the display processing method of the first aspect as described above.
[0031] According to the technical solution of the embodiment of the present application, at least the following beneficial effects are achieved: first, the embodiment of the present application obtains the first time slice identifier; then, the embodiment of the present application determines the first target time slice according to the first time slice identifier; then, the embodiment of the present application receives the first target operation task to be executed corresponding to the first target time slice; finally, the embodiment of the present application executes the first target operation task within the first target time slice, wherein the first target operation task is a display operation task or a non-display operation task, and the time slices corresponding to the display operation task and the non-display operation task do not overlap. Since the embodiment of the present application can determine the corresponding target time slice and operation task according to the time slice identifier, and the time slices corresponding to the display operation task and the non-display operation task do not overlap, the embodiment of the present application can stagger the non-display operation task and the display operation task that occupy the controller use right for a long time by means of time slices, thereby avoiding being preempted by other operation tasks when executing the display operation task, thereby eliminating the flickering problem and improving user-friendliness.
[0032] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0034] Figure 1 is a flow chart of a display processing method provided by an embodiment of the present application;
[0035] Figure 2 is a flow chart of a display processing method provided by another embodiment of the present application;
[0036] Figure 3 is a flow chart of a display processing method provided by another embodiment of the present application;
[0037] Figure 4 is a flow chart of a display processing method provided by another embodiment of the present application;
[0038] Figure 5 is a flow chart of a display processing method provided by another embodiment of the present application;
[0039] Figure 6 is a flow chart of a display processing method provided by another embodiment of the present application;
[0040] Figure 7 is a flow chart of a display processing method provided by another embodiment of the present application;
[0041] Figure 8 is a flow chart of a display processing method provided by another embodiment of the present application;
[0042] Fig. 9 is a flow chart of a display processing method provided by another embodiment of the present application;
[0043] Fig.10 is an overall flow chart of a display processing method provided by an embodiment of the present application;
[0044] Fig.11 is a schematic diagram of a time slice provided by an embodiment of the present application;
[0045] Fig.12 It is a schematic diagram of a controller for executing a display processing method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0046] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0047] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0048] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0049] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.
[0050] In some cases, for electrical devices with display functions, when the electrical devices are performing display operation tasks, they may be preempted by other operation tasks, which will cause the execution time of the display operation tasks to be extended, resulting in uneven lighting time and flickering, which is not user-friendly. For example, when the air conditioner currently saves user setting information, in order to ensure that the data can be stored correctly, it will give priority to the storage operation task, which will cause the display refresh task of the digital tube and LED indicator to be preempted, resulting in flickering.
[0051] Based on the above situation, the embodiments of the present application propose a display processing method, a display device, an electrical device and a storage medium, aiming to eliminate the flicker problem and improve user-friendliness.
[0052] The following further describes various embodiments of the display processing method of the present application in conjunction with the accompanying drawings.
[0053] like Figure 1 As shown, Figure 1 1 is a flow chart of a display processing method provided by an embodiment of the present application. The display processing method may include but is not limited to step S110, step S120 and step S130.
[0054] Step S110: Obtain a first time slice identifier, and determine a first target time slice according to the first time slice identifier;
[0055] Step S120, receiving a first target operation task to be executed corresponding to a first target time slice;
[0056] Step S130: Execute a first target operation task within a first target time slice, wherein the first target operation task is a display operation task or a non-display operation task, and the time slices corresponding to the display operation task and the non-display operation task do not overlap.
[0057] In one embodiment, first, the embodiment of the present application will obtain a first time slice identifier. Since different time slice identifiers represent different time slices, the embodiment of the present application can determine the first target time slice corresponding to the first time slice identifier based on the obtained first time slice identifier; then, in the embodiment of the present application, since the types of operation tasks corresponding to different time slices are different, that is, the embodiment of the present application will pre-classify different types of operation tasks into different time slices for execution. Therefore, after determining the first target time slice, the embodiment of the present application will determine whether there is an operation task that needs to be executed within the first target time slice. If there is a first target operation task that needs to be executed within the first target time slice, then the embodiment of the present application will execute the first target operation task within the first target time slice.
[0058] It should be noted that the above-mentioned first target operation task may be a display operation task or a non-display operation task, and the embodiment of the present application does not specifically limit the type of the above-mentioned first target operation task.
[0059] In addition, it should be noted that, regarding the display operation task and the non-display operation task of the embodiment of the present application, in order to avoid conflicts between the tasks, the execution times corresponding to the two are staggered and do not overlap. Specifically, in order to make the execution times corresponding to the display operation task and the non-display operation task not overlap, the embodiment of the present application can assign the display operation task and the non-display operation task to different time slices for execution. For example, the embodiment of the present application can assign the display operation task to time slice A and the non-display operation task to time slice B. Then, during operation, only the display operation task will be executed in time slice A and the non-display operation task will not be executed. In time slice B, only the non-display operation task will be executed and the display operation task will not be executed, thereby avoiding conflicts between the display operation task and the non-display operation task.
[0060] It is worth noting that since the embodiment of the present application can determine the corresponding target time slice and operation task according to the time slice identifier, and the time slices corresponding to the display operation task and the non-display operation task do not overlap, the embodiment of the present application can stagger the non-display operation tasks and display operation tasks that occupy the use right of the controller for a long time by means of time slices, thereby avoiding being preempted by other operation tasks when executing the display operation task, thereby eliminating the flickering problem and improving user-friendliness.
[0061] It can be understood that the above-mentioned first time slice identifier can be a digital identifier, such as 001, 002, etc.; it can also be an English identifier, such as a, b, etc.; it can also be a mixed identifier of numbers and English, such as 1a, 1b, 2a, 2b, etc.; it can also be identified by other symbols. The embodiment of the present application does not specifically limit the content of the first time slice identifier.
[0062] In addition, it should be noted that the first target time slice mentioned above may refer to a time period. The duration of the first target time slice may be pre-set. For example, the duration of the first target time slice may be pre-set to 100 milliseconds in the embodiment of the present application, or the duration of the first target time slice may be pre-set to 200 milliseconds. The embodiment of the present application does not specifically limit the duration of the first target time slice.
[0063] In addition, it should be noted that since in the embodiment of the present application, the types of operation tasks corresponding to different time slices are different, and since the execution time required for different types of operation tasks is different, the embodiment of the present application can pre-set the duration of the corresponding time slice according to the type of operation task, that is, the duration of the time slice corresponding to different operation tasks is different, that is, the duration of the time slice corresponds to the time slice identifier.
[0064] In addition, it should be noted that the time slices corresponding to the display operation task and the non-display operation task do not overlap, which means that the time slices corresponding to the display operation task and the non-display operation task do not overlap partially or completely.
[0065] In addition, it should be noted that the above-mentioned display operation tasks may be display operation tasks of LEDs or digital tubes, or display operation tasks of other devices. The embodiments of the present application do not specifically limit the types of display operation tasks.
[0066] In addition, it should be noted that the above-mentioned non-display operation tasks may be data erasure tasks, data storage tasks, data acquisition tasks, or other types of non-display operation tasks. The embodiments of the present application do not specifically limit the types of non-display operation tasks.
[0067] In addition, if Figure 2 As shown, Figure 2 This is a flow chart of a display processing method provided by another embodiment of the present application. Regarding the determination of the first target time slice according to the first time slice identifier in the above step S110, it may include but is not limited to step S210 and step S220.
[0068] Step S210: Filter out a target preset time slice identifier that is consistent with the first time slice identifier from a plurality of preset time slice identifiers;
[0069] Step S220: Use the time slice corresponding to the target preset time slice identifier as the first target time slice of the first time slice identifier.
[0070] In one embodiment, the embodiment of the present application will pre-store multiple preset time slice identifiers, and each preset time slice identifier will correspond to a time slice; therefore, after the embodiment of the present application obtains the first time slice identifier, in order to determine the time slice corresponding to the first time slice identifier, the embodiment of the present application will compare the first time slice identifier with multiple preset time slice identifiers one by one, thereby screening out the preset time slice identifier consistent with the first time slice identifier as the target preset time slice identifier, and then, the embodiment of the present application can determine the corresponding target time slice according to the target preset time slice identifier, and use the target time slice as the first target time slice of the first time slice identifier.
[0071] It can be understood that the above-mentioned preset time slice identifier can be a digital identifier, an English identifier, a mixed identifier of numbers and English, or an identifier using other symbols. The embodiment of the present application does not specifically limit the content of the preset time slice identifier.
[0072] In addition, it should be noted that the time slice corresponding to the above-mentioned target preset time slice identifier may refer to a time period. The duration of the time slice corresponding to the target preset time slice identifier may be pre-set, and the embodiment of the present application does not specifically limit the duration of the time slice corresponding to the target preset time slice identifier.
[0073] In addition, it should be noted that since in the embodiment of the present application, the types of operating tasks corresponding to different preset time slices are different, and since the execution time required for different types of operating tasks is different, the embodiment of the present application can pre-set the duration of each preset time slice according to the type of operating task, that is, the duration of each preset time slice can be obtained by the type of operating task to which it corresponds.
[0074] In addition, if Figure 3 As shown, Figure 3 After executing the first target operation task within the first target time slice in step S130, the display processing method of the embodiment of the present application may further include but is not limited to step S310 and step S320.
[0075] Step S310: When the first target time slice is over, stop executing the first target operation task;
[0076] Step S320: Update the first time slice identifier to obtain a second time slice identifier.
[0077] In one embodiment, the first target time slice will continue to time. If the first target time slice timing ends, it is necessary to stop executing the first target operation task at this time; then, the embodiment of the present application will update the first time slice identifier to obtain the second time slice identifier, and then execute subsequent operations according to the second time slice identifier.
[0078] It should be noted that the updating method of the first time slice identifier may be a numerical updating method. For example, if the first time slice identifier is 001, the second time slice identifier obtained after the update may be 002. In addition, a symbol updating method may also be used. For example, if the first time slice identifier is a, the second time slice identifier obtained after the update may be b. The embodiment of the present application does not specifically limit the updating method of the first time slice identifier.
[0079] In addition, if Figure 4 As shown, Figure 4 This is a flow chart of a display processing method provided by another embodiment of the present application. Regarding the updating of the first time slice identifier in the above step S320 to obtain the second time slice identifier, it may include but is not limited to step S410, step S420 and step S430.
[0080] Step S410, adding one to the value of the first time slice identifier;
[0081] Step S420: When the first time slice identifier after increment by one is less than or equal to the preset time slice identifier with the largest value, the first time slice identifier after increment by one is used as the second time slice identifier;
[0082] Step S430: When the first time slice identifier after increment is greater than the preset time slice identifier with the largest value, the value of the first time slice identifier is updated to the value of the preset time slice identifier with the smallest value, and the updated first time slice identifier is used as the second time slice identifier.
[0083] In one embodiment, the embodiment of the present application will pre-store multiple preset time slice identifiers in numerical form, wherein the difference between two adjacent preset time slice identifiers is 1, for example, 0, 1, 2...n. Specifically, the specific steps for updating the first time slice identifier to the second time slice identifier are as follows: First, the first time slice identifier is incremented by one. If the multiple preset time slice identifiers include the first time slice identifier incremented by one, then the embodiment of the present application will use the first time slice identifier incremented by one as the second time slice identifier; if the multiple preset time slice identifiers do not include the first time slice identifier incremented by one, then the embodiment of the present application can use the preset time slice identifier with the smallest value as the second time slice identifier.
[0084] For example, if the first time slice identifier is the value 1, then the first time slice identifier plus one is the value 2. Since the value 2 is less than the value n, the second time slice identifier is the value 2; alternatively, if the first time slice identifier is the value n-1, then the first time slice identifier plus one is the value n. Since the value n is equal to the value n, the second time slice identifier is the value n; alternatively, if the first time slice identifier is the value n, then the first time slice identifier plus one is the value n+1. Since the value n+1 is greater than the value n, the present application will set the second time slice identifier to the value 0.
[0085] In addition, if Figure 5 As shown, Figure 5 After executing the above step S320 to update the first time slice identifier and obtain the second time slice identifier, the display processing method of the embodiment of the present application may also include but is not limited to step S510, step S520 and step S530.
[0086] Step S510, determining a second target time slice according to a second time slice identifier;
[0087] Step S520, receiving a second target operation task to be executed corresponding to the second target time slice;
[0088] Step S530: Execute a second target operation task within a second target time slice, wherein the second target operation task is a display operation task or a non-display operation task.
[0089] In one embodiment, after obtaining the second time slice identifier, since different time slice identifiers represent different time slices respectively, the embodiment of the present application can determine the second target time slice corresponding to the second time slice identifier based on the obtained second time slice identifier; then, in the embodiment of the present application, since the types of operation tasks corresponding to different time slices are different, that is, the embodiment of the present application will pre-classify different types of operation tasks into different time slices for execution, so after determining the second target time slice, the embodiment of the present application will determine whether there is an operation task that needs to be executed within the second target time slice. If there is a second target operation task that needs to be executed within the second target time slice, then the embodiment of the present application will execute the second target operation task within the second target time slice.
[0090] It should be noted that the above-mentioned second target operation task may be a display operation task or a non-display operation task, and the embodiment of the present application does not specifically limit the type of the above-mentioned second target operation task.
[0091] It can be understood that the above-mentioned second time slice identifier can be a digital identifier, an English identifier, a mixed identifier of numbers and English, or an identifier using other symbols. The embodiment of the present application does not specifically limit the content of the second time slice identifier.
[0092] In addition, it should be noted that the second target time slice may refer to a time period, wherein the duration of the time slice corresponding to the target preset time slice identifier may be preset, and the embodiment of the present application does not specifically limit the duration of the second target time slice.
[0093] In addition, if Figure 6 As shown, Figure 6 Executing the first target operation task within the first target time slice in the above step S130 may include but is not limited to step S610 and step S620.
[0094] Step S610: determining that the first target operation task is a display operation task;
[0095] Step S620: Control the target LED light to display within the first target time slice.
[0096] In one embodiment, if the first target operation task is a display operation task, then the embodiment of the present application will only execute the display operation task within the first target time slice to control the target LED light corresponding to the display operation task to display.
[0097] In addition, it should be noted that, when the first target operation task is a non-display operation task, the execution of the first target operation task within the first target time slice in the above step S130 may include but is not limited to: Figures 7 to 9 There are three implementation scenarios, as follows:
[0098] like Figure 7 As shown, Figure 7 Executing the first target operation task within the first target time slice in the above step S130 may include but is not limited to step S710 and step S720.
[0099] Step S710: determining that the first target operation task is a non-display operation task and the non-display operation task is a data erasing task;
[0100] Step S720: Execute a data erasing operation within a first target time slice.
[0101] In one embodiment, if the first target operation task is a data erasing task, then the embodiment of the present application will only execute the data erasing task within the first target time slice, thereby erasing the data.
[0102] like Figure 8 As shown, Figure 8 Executing the first target operation task within the first target time slice in the above step S130 may include but is not limited to step S810 and step S820.
[0103] Step S810: determining that the first target operation task is a non-display operation task and the non-display operation task is a data storage task;
[0104] Step S820: Execute a data writing operation within a first target time slice.
[0105] In one embodiment, if the first target operation task is a data storage task, then the embodiment of the present application will only execute the data storage task within the first target time slice, thereby performing a data writing operation.
[0106] like Fig. 9 As shown, Fig. 9 Executing the first target operation task within the first target time slice in the above step S130 may include but not be limited to step S910 and step S920.
[0107] Step S910: determining that the first target operation task is a non-display operation task and the non-display operation task is a data collection task;
[0108] Step S920: Collect detection data of the target sensor within the first target time slice.
[0109] In one embodiment, if the first target operation task is a data acquisition task, then the embodiment of the present application will only execute the data acquisition task within the first target time slice, thereby acquiring detection data of the target sensor corresponding to the data acquisition task.
[0110] It should be noted that if the data collection task is a temperature collection task, then the target sensor corresponding to the temperature collection task is a temperature sensor. For example, the air outlet temperature of the air conditioner is detected by a temperature sensor, or the water temperature of the kettle is detected by a temperature sensor.
[0111] In addition, it should be noted that if the data acquisition task is a pressure acquisition task, then the target sensor corresponding to the pressure acquisition task is a pressure sensor. For example, the exhaust pressure of the compressor is detected by the pressure sensor.
[0112] In addition, it should be noted that if the data collection task is a food type collection task, then the target sensor corresponding to the food type collection task can be a camera. For example, the type of food stored in the refrigerator is detected by a camera.
[0113] Based on the display processing methods of the above-mentioned various embodiments, overall embodiments of the display processing methods of the present application are respectively proposed below.
[0114] like Fig.10 As shown, Fig.10 It is an overall flow chart of a display processing method provided by an embodiment of the present application, including but not limited to the following steps S1001 to S1015.
[0115] Step S1001, start;
[0116] Step S1002, determine whether the M millisecond flag is set, and then execute step S1003 until the M millisecond flag is set;
[0117] Step S1003, add one to the time slice identifier, i.e. COM++;
[0118] Step S1004, determine whether COM is greater than n, if so, execute step S1005, otherwise execute step S1006;
[0119] Step S1005, update the time slice identifier to 0, that is, COM=0;
[0120] Step S1006, determine whether COM is equal to 0, if so, execute step S1007, otherwise execute step S1009;
[0121] Step S1007, determine whether the data needs to be cleared, if yes, execute step S1008, otherwise return to execute step S1002;
[0122] Step S1008, executing storage erasure operation;
[0123] Step S1009, determine whether COM is equal to 1, if so, execute step S1010, otherwise execute step S1012;
[0124] Step S1010, determine whether data needs to be stored, if yes, execute step S1011, otherwise return to execute step S1002;
[0125] Step S1011, executing a storage write operation;
[0126] Step S1012, determine whether COM is equal to 2, if so, execute step S1013, otherwise execute step S1014;
[0127] Step S1013, processing the first group of LED light displays;
[0128] Step S1014, determine whether COM is equal to n, if so, execute step S1015;
[0129] Step S1015, processing the nth group of LED light displays.
[0130] In one embodiment, if Fig.11 As shown, Fig.11 This is a schematic diagram of a time slice provided by an embodiment of the present application. The embodiment of the present application can stagger the storage erasing action, writing action and LED display processing action by setting the time slice, so that the LED will not be preempted by the storage operation, thereby avoiding the LED flickering phenomenon. The specific workflow includes the following repeated steps:
[0131] 1. Determine whether it is the erase time slice. If it is, and erasure is required, start the erase action; otherwise, do nothing.
[0132] 2. Determine whether it is a write time slice. If it is, and writing is required, start the writing action; otherwise, do nothing.
[0133] 3. Determine whether it is the first group of LED processing time slices, if so, process the first group of LED display;
[0134] 4. Determine whether it is the nth group of LED processing time slices, if so, process the nth group of LED display.
[0135] Specifically, the embodiment of the present application cleverly staggers the storage tasks and display tasks that occupy the controller's use rights for a long time by setting time slices, so that the storage can be operated safely without flickering, thereby improving security and user-friendliness.
[0136] Based on the display processing methods of the above-mentioned embodiments, various embodiments of the controller, display device, electrical equipment and computer-readable storage medium of the present application are respectively proposed below.
[0137] like Fig.12 As shown, Fig.12 1 is a schematic diagram of a controller for executing a display processing method provided by an embodiment of the present application. The controller 100 implemented in the present application includes: a processor 110, a memory 120, and a computer program stored in the memory 120 and executable on the processor 110, wherein: Fig.12 In the figure, a processor 110 and a memory 120 are taken as an example.
[0138] The processor 110 and the memory 120 may be connected via a bus or other means. Fig.12 The example of connecting through bus is taken in the following.
[0139] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 120 may optionally include a memory 120 remotely arranged relative to the processor 110, and these remote memories 120 may be connected to the controller 100 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0140] Those skilled in the art will understand that Fig.12 The device structure shown in the figure does not constitute a limitation on the controller 100, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0141] exist Fig.12 In the controller 100 shown, the processor 110 can be used to call the display processing program stored in the memory 120, so as to implement the above-mentioned display processing method. Specifically, the non-transient software program and instructions required to implement the display processing method of the above-mentioned embodiment are stored in the memory 120, and when executed by the processor 110, the display processing method of the above-mentioned embodiment is executed.
[0142] It is worth noting that since the controller 100 of the embodiment of the present application can execute the display processing method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the controller 100 of the embodiment of the present application can refer to the specific implementation methods and technical effects of the display processing method of any of the above-mentioned embodiments.
[0143] In addition, an embodiment of the present application further provides a display device, comprising the controller of the above embodiment, wherein the controller executes the display processing method of any of the above embodiments when running a computer program.
[0144] It is worth noting that since the display device of the embodiment of the present application includes the controller of the above-mentioned embodiment, and the controller of the above-mentioned embodiment can execute the display processing method of any of the above-mentioned embodiments, the specific implementation manner and technical effects of the display device of the embodiment of the present application can refer to the specific implementation manner and technical effects of the display processing method of any of the above-mentioned embodiments.
[0145] In addition, an embodiment of the present application further provides an electrical device, including the display device of the above embodiment.
[0146] It is worth noting that since the electrical equipment of the embodiment of the present application includes the display device of the above-mentioned embodiment, and the display device of the above-mentioned embodiment includes the controller of the above-mentioned embodiment, and the controller of the above-mentioned embodiment can execute the display processing method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the electrical equipment of the embodiment of the present application can refer to the specific implementation methods and technical effects of the display processing method of any of the above-mentioned embodiments.
[0147] It should be noted that the above-mentioned electrical equipment refers to electrical equipment with display function, such as electrical equipment with LED or digital tube display function, among which the electrical equipment in the embodiments of the present application can be air conditioners, kettles, microwave ovens, water heaters and other equipment.
[0148] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-described display processing method. Figures 1 to 10 The method steps in .
[0149] It is worth noting that since the computer-readable storage medium of the embodiment of the present application can execute the display processing method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the computer-readable storage medium of the embodiment of the present application can refer to the specific implementation methods and technical effects of the display processing method of any of the above-mentioned embodiments.
[0150] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0151] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions under the shared conditions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A display processing method, characterized in that: include: Obtaining a first time slice identifier, and determining a first target time slice according to the first time slice identifier; Receiving a first target operation task to be executed corresponding to the first target time slice; The first target operation task is performed within the first target time slice, wherein the first target operation task is a display operation task or a non-display operation task, and time slices corresponding to the display operation task and the non-display operation task do not overlap.
2. The display processing method according to claim 1, characterized in that: The determining the first target time slice according to the first time slice identifier includes: Filtering out a target preset time slice identifier that is consistent with the first time slice identifier from a plurality of preset time slice identifiers; The time slice corresponding to the target preset time slice identifier is used as the first target time slice of the first time slice identifier.
3. The display processing method according to claim 2, characterized in that: After executing the first target operation task within the first target time slice, the display processing method further includes: When the first target time slice ends, stopping the execution of the first target operation task; The first time slice identifier is updated to obtain a second time slice identifier.
4. The display processing method according to claim 3, characterized in that: The number of the preset time slice identifiers is multiple, each of the preset time slice identifiers is in numerical form, and the difference between two adjacent preset time slice identifiers is one; The updating of the first time slice identifier to obtain a second time slice identifier includes: Adding one to the value of the first time slice identifier; When the first time slice identifier after increment by one is less than or equal to the preset time slice identifier with the largest value, the first time slice identifier after increment by one is used as the second time slice identifier; When the first time slice identifier after adding one is greater than the preset time slice identifier with the largest value, the value of the first time slice identifier is updated to the value of the preset time slice identifier with the smallest value, and the updated first time slice identifier is used as the second time slice identifier.
5. The display processing method according to claim 3, characterized in that: After obtaining the second time slice identifier, the display processing method further includes: Determine a second target time slice according to the second time slice identifier; receiving a second target operation task to be executed corresponding to the second target time slice; The second target operation task is executed within the second target time slice, wherein the second target operation task is the display operation task or the non-display operation task.
6. The display processing method according to claim 1, characterized in that: The performing the first target operation task within the first target time slice includes: When the first target operation task is the display operation task, the target LED light is controlled to display within the first target time slice.
7. The display processing method according to claim 1, characterized in that: The performing the first target operation task within the first target time slice includes one of the following: When the first target operation task is the non-display operation task and the non-display operation task is a data erasing task, performing a data erasing operation within the first target time slice; When the first target operation task is the non-display operation task and the non-display operation task is a data storage task, performing a data writing operation within the first target time slice; When the first target operation task is the non-display operation task and the non-display operation task is a data collection task, detection data of the target sensor is collected within the first target time slice.
8. A display device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the display processing method according to any one of claims 1 to 7 when executing the computer program.
9. An electrical device, characterized in that: Comprising the display device as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the display processing method according to any one of claims 1 to 7.
