Control method and apparatus for polyhedral flip timer, timer and medium
The total countdown duration is automatically determined by the arrival signal of the polyhedron flip timer, which solves the problem of cumbersome operation of existing timer countdown functions, and simplifies operation and improves user experience.
Patent Information
- Application Number
- PCT/CN2024/096365
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-22
- Filing Date
- 2024-05-30
- Publication Date
- 2025-11-27
AI Technical Summary
The existing timer countdown function is cumbersome to operate and provides a poor user experience.
By acquiring the arrival signal of the target flipping face of the polyhedron flipping timer, the preset total duration is determined as the first total duration based on the arrival signal, and the countdown is automatically performed based on this.
The polyhedron flip timer automatically generates a position signal when the flipped face is in position, and automatically starts the countdown, which simplifies the operation process and improves the user experience.
Smart Images

Figure CN2024096365_27112025_PF_FP_ABST
Abstract
Description
Control method and device for polyhedral flip-over timer, timer and medium
[0001] The present application claims priority from the Chinese patent application No. 202410641373.0 filed on May 22, 2024, and entitled "Control method and device for polyhedral flip-over timer, timer and medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of polyhedral flip-over timer control, and in particular to a control method and device for a polyhedral flip-over timer, a timer and a medium. BACKGROUND
[0003] Timers include forward counting functions and countdown functions, and are widely used in people's life and work. The current timer first selects the countdown mode through the key, then sets the total countdown time through the key, and finally starts the countdown through the key. The whole process is tedious to operate. TECHNICAL PROBLEM
[0004] The main purpose of the present application is to solve the technical problem of tedious operation of the countdown function of the existing timer. TECHNICAL SOLUTION
[0005] Therefore, it is necessary to propose a control method and device for a polyhedral flip-over timer, a timer and a medium to solve the technical problem of tedious operation of the countdown function of the existing timer.
[0006] In a first aspect, a control method suitable for a polyhedral flip-over timer is provided, and the method comprises:
[0007] Obtaining a to-position signal of a target flip-over surface of a polyhedral flip-over timer, wherein the target flip-over surface is any flip-over surface in the polyhedral flip-over timer;
[0008] According to the to-position signal, a preset total time corresponding to the target flip-over surface is determined as a first total time;
[0009] According to the first total time, a countdown total time is determined as a target total time;
[0010] According to the target total time, the polyhedral flip-over timer is controlled to count down.
[0011] In a second aspect, a control device suitable for a polyhedral flip-over timer is provided, and the device comprises:
[0012] The signal acquisition module is configured to acquire a signal indicating that a target turning surface of the polyhedral turning timer is in place, wherein the target turning surface is any turning surface of the polyhedral turning timer.
[0013] The first processing module is configured to determine, according to the signal indicating that the target turning surface is in place, a preset total time length corresponding to the target turning surface as a first total time length.
[0014] The second processing module is configured to determine, according to the first total time length, a countdown total time length as a target total time length.
[0015] The countdown control module is configured to control the polyhedral turning timer to perform countdown according to the target total time length.
[0016] In a third aspect, a polyhedral turning timer is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The polyhedral turning timer has a polyhedral shape, at least one surface of the polyhedron is a turning surface, and the processor implements the steps of the control method for the polyhedral turning timer when executing the computer program.
[0017] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. The computer program, when executed by a processor, implements the steps of the control method for the polyhedral turning timer. Advantages
[0018] The control method, device, timer, and medium for the polyhedral turning timer of the present application acquire a signal indicating that a target turning surface of the polyhedral turning timer is in place, wherein the target turning surface is any turning surface of the polyhedral turning timer. According to the signal indicating that the target turning surface is in place, a preset total time length corresponding to the target turning surface is determined as a first total time length. According to the first total time length, a countdown total time length is determined as a target total time length. According to the target total time length, the polyhedral turning timer is controlled to perform countdown. Thus, as long as the target turning surface is turned to place, the polyhedral turning timer can automatically generate a signal indicating that the target turning surface is in place and automatically perform countdown based on the signal indicating that the target turning surface is in place. The operation of the countdown function is simple, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0020] wherein:
[0021] Fig. 1 is a structural schematic diagram of a polyhedral flip-over timer in an embodiment;
[0022] Fig. 2 is a structural schematic diagram of the polyhedral flip-over timer in another angle in an embodiment;
[0023] Fig. 3 is a flow chart of a control method suitable for the polyhedral flip-over timer in an embodiment;
[0024] Fig. 4 is a structural block diagram of a control device suitable for the polyhedral flip-over timer in an embodiment;
[0025] Fig. 5 is a structural block diagram of the polyhedral flip-over timer in an embodiment.
[0026] Embodiments of the present application
[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without any creative work fall within the scope of protection of the present application.
[0028] The control method suitable for the polyhedral flip-over timer provided by the embodiments of the present application is applied to the polyhedral flip-over timer. The polyhedral flip-over timer comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the control method suitable for the polyhedral flip-over timer of the present application when executing the computer program.
[0029] Optionally, the shape of the polyhedral flip-over timer is an octahedron, as shown in Fig. 1 and Fig. 2, that is, the polyhedron of the shape of the polyhedral flip-over timer is an octahedron. It can be understood that the polyhedron of the shape of the polyhedral flip-over timer can also be other polyhedrons, such as a tetrahedron, a pentahedron, a hexahedron, and a heptahedron.
[0030] Fig. 1 shows a schematic diagram of a polyhedral flip-over timer in a normal position. Fig. 2 shows a schematic diagram of a polyhedral flip-over timer in an upside-down position. In Figs. 1 and 2, the polyhedral flip-over timer comprises a first wall A, a second wall B and an outer shell surrounded by six side walls F1, F2, F3, F4, F5 and F6 in sequence, wherein the first wall A and the second wall B are opposite walls, the side walls F1, F2, F3, F4, F5 and F6 are connected with the first wall A, the side walls F1, F2, F3, F4, F5 and F6 are connected with the second wall B, the side wall F1 is connected with the side wall F2, the side wall F2 is connected with the side wall F3, the side wall F3 is connected with the side wall F4, the side wall F4 is connected with the side wall F5, the side wall F5 is connected with the side wall F6, and the side wall F6 is connected with the side wall F1.
[0031] Optionally, at least one of the side walls F1, F2, F3, F4, F5 and F6 in Figs. 1 and 2 is a flip-over surface. One of the flip-over surfaces is flipped to the uppermost position, at which time the flip-over surface is a target flip-over surface, a detector in the polyhedral flip-over timer detects a change in the angle of the polyhedral flip-over timer, and a processor in the polyhedral flip-over timer determines, based on the data detected by the detector, that a flip-over surface is flipped to the uppermost position, and generates a signal to the processor based on the information (e.g., a flip-over surface identifier) of the flip-over surface flipped to the uppermost position. For example, the side wall F1 is predefined as a flip-over surface, when the side wall F1 is flipped to the uppermost position, the side wall F4 opposite to the side wall F1 is located at the lowermost position, at which time the side wall F1 is the target flip-over surface, and the processor in the polyhedral flip-over timer generates a signal to the side wall F1.
[0032] Optionally, the detector of the polyhedral flip-over timer comprises three gravity sensors. It can be understood that the detector of the polyhedral flip-over timer can also comprise other sensors, which are not limited herein.
[0033] The polyhedral flip-over timer further comprises a plurality of keys (151, 152, 153, 154, 155, 156, 181, 182, 183, 184, 185 and 186 in Figs. 1 and 2) on the outer shell, a main screen 14 disposed on the first wall A and a sub-screen 16 disposed on the second wall B, wherein the main screen 14 and the sub-screen 16 are liquid crystal display screens or touch screens, and the main screen 14 and the sub-screen 16 are in communication connection with the processor. A user interacts with the polyhedral flip-over timer through the keys.
[0034] It can be understood that the remaining time in the countdown state can be displayed on the main screen 14, or the remaining time in the countdown state can be displayed on the sub-screen 16.
[0035] Optionally, the angle of the polyhedral flip timer is determined according to the data detected by the detector, and the direction of the font displayed on the main screen 14 and / or the secondary screen 16 is adjusted according to the angle, wherein when the main screen 14 is not parallel to the horizontal plane, the font is displayed in the normal direction, which conforms to the reading habit of the user, thereby facilitating the user to quickly view the content of the main screen 14, and / or when the secondary screen 16 is not parallel to the horizontal plane, the font is displayed in the normal direction, which conforms to the reading habit of the user, thereby facilitating the user to quickly view the content of the secondary screen 16.
[0036] The polyhedral flip timer further comprises a battery (not shown in the figure), a sound playing component (not shown in the figure) and a circuit board (not shown in the figure) in the accommodating space inside the shell. The polyhedral flip timer further comprises a charging interface 13 arranged on the shell, through which an external power source charges the battery. The battery is used to supply power to various power-consuming components of the polyhedral flip timer, such as the circuit board and the sound playing component. A plurality of through holes 17 are arranged on the second wall B of the polyhedral flip timer, and the sound playing component communicates with the external environment through each through hole 17 to improve the propagation effect of the sound emitted by the sound playing component. The circuit board is provided with a memory and a processor. The sound playing component can be a loudspeaker, and the sound playing component is in communication connection with the processor.
[0037] Optionally, the polyhedral flip timer further comprises a communication component (not shown in the figure) in the accommodating space inside the shell. The communication component can be a component that communicates based on wireless communication technology or a component that communicates based on wired communication technology. The communication component is in communication connection with the processor. The user can communicate with the communication component through a smart device, and then interact with the polyhedral flip timer.
[0038] It can be understood that, in order to facilitate the user to distinguish, a number is displayed on each flip surface, and the meaning expressed by the number is the same as the meaning expressed by the numerical value corresponding to the preset total time length corresponding to the flip surface.
[0039] Optionally, when the secondary screen 16 is flipped upward, the main screen 14 is downward, the polyhedral flip timer is controlled to turn off the countdown function and start the forward counting function, and at this time, the forward counting time data is displayed on the secondary screen 16.
[0040] It can be understood that the memory is used to store the configuration data of the polyhedral flip timer, including the volume size, the vibration mode and the screen brightness, so as to save the current settings of the polyhedral flip timer when the user turns off the polyhedral flip timer, and automatically load the next time the polyhedral flip timer is turned on, realize the quick recovery of personalized settings, and improve the user experience.
[0041] The application will be described in detail below through specific embodiments.
[0042] Referring to FIG. 3, FIG. 3 is a flowchart of a control method for a polyhedral flip timer according to an embodiment of the present application, including the following steps:
[0043] S1: obtaining a to-position signal of a target flip face of a polyhedral flip timer, wherein the target flip face is any flip face in the polyhedral flip timer;
[0044] Specifically, a user flips the polyhedral flip timer, and a detector in the polyhedral flip timer detects the angle change of the polyhedral flip timer. When the processor of the polyhedral flip timer determines that one of the flip faces is flipped to the uppermost face according to the data (which is angle information or from which angle information can be determined) detected by the detector, the processor of the polyhedral flip timer takes the flip face located at the uppermost face as the target flip face and generates a to-position signal for the flip face identification of the target flip face.
[0045] It can be understood that each flip face of the polyhedral flip timer is pre-defined with a unique flip face identification, and each flip face of the polyhedral flip timer is pre-defined with a preset total duration. The angle information, the flip face identification, and the preset total duration are stored as associated data in the memory of the polyhedral flip timer.
[0046] S2: taking the preset total duration corresponding to the target flip face as a first total duration according to the to-position signal;
[0047] Specifically, the preset total duration corresponding to the target flip face is determined by using a lookup table method according to the flip face identification in the to-position signal, and the determined preset total duration corresponding to the target flip face is taken as the first total duration.
[0048] S3: determining a countdown total duration as a target total duration according to the first total duration;
[0049] Specifically, the first total duration can be directly taken as the countdown total duration, and then the countdown total duration is taken as the target total duration. Alternatively, the countdown total duration can be determined according to the first total duration according to a preset strategy, and the determined countdown total duration is taken as the target total duration.
[0050] S4: controlling the polyhedral flip timer to count down according to the target total duration.
[0051] Specifically, a remaining time length of the countdown is determined according to the target total time length, and the polyhedral flip timer is controlled to start the countdown from the determined remaining time length of the countdown, the remaining time length of the countdown is reduced during the countdown, and the countdown stops when the remaining time length of the countdown reaches 0.
[0052] The embodiment realizes that the polyhedral flip timer can automatically generate an in-position signal as long as the target flip surface is flipped in position, and automatically performs the countdown based on the in-position signal, the operation of the countdown function is simple, and the user experience is improved.
[0053] In one embodiment, the step of determining the preset total time length corresponding to the target flip surface as the first total time length according to the in-position signal comprises:
[0054] S211: Obtain flip feature data corresponding to the in-position signal;
[0055] Specifically, a sensor is arranged in the polyhedral flip timer to detect the state of the polyhedral flip timer, and the detection data (data detected by the sensor) and / or user operation signal generated before the in-position signal and located in a first preset time window (the generation time of the in-position signal is located in the first preset time window) are taken as the flip feature data corresponding to the in-position signal when the in-position signal is obtained.
[0056] The user operation signal is a signal triggered by the user operating a key in the polyhedral flip timer and / or operating a touch screen (main screen and / or auxiliary screen).
[0057] Optionally, the sensor for detecting the state of the polyhedral flip timer includes but is not limited to an ultrasonic sensor.
[0058] S212: Determine whether the flip feature data meets a preset countdown adjustment condition.
[0059] The preset countdown adjustment condition is a feature data that can be used for countdown.
[0060] Specifically, if the flip feature data is located in the preset countdown adjustment condition (that is, meets the condition), it is determined that the countdown can be performed, and if the flip feature data is located outside the preset countdown adjustment condition (that is, does not meet the condition), it is determined that the countdown cannot be performed.
[0061] S213: If the condition is met, the preset total time length corresponding to the target flip surface is determined as the first total time length according to the in-position signal.
[0062] Specifically, if the condition is met, that is, the flip feature data meets the preset countdown adjustment condition, at this time it means that countdown is needed, and the to-be-in-place signal needs to be further processed, therefore, the preset total duration corresponding to the target flip surface is taken as the first total duration.
[0063] S214: If the condition is not met, end the processing of the to-be-in-place signal.
[0064] Specifically, if the condition is not met, that is, the flip feature data does not meet the preset countdown adjustment condition, at this time it means that countdown is not needed, and the to-be-in-place signal does not need to be further processed, therefore, the processing of the to-be-in-place signal is ended. It can be known that when the flip feature data does not meet the preset countdown adjustment condition, the steps of "taking the preset total duration corresponding to the target flip surface as the first total duration according to the to-be-in-place signal" to step S4 are not needed for the to-be-in-place signal.
[0065] The embodiment takes the preset total duration corresponding to the target flip surface as the first total duration when the flip feature data meets the preset countdown adjustment condition, to further process the to-be-in-place signal, and ends the processing of the to-be-in-place signal when the flip feature data does not meet the preset countdown adjustment condition, thereby avoiding false operation to cause error countdown based on the to-be-in-place signal, and further improving user experience.
[0066] In one embodiment, the step of "taking the preset total duration corresponding to the target flip surface as the first total duration according to the to-be-in-place signal" includes:
[0067] S221: In response to the to-be-in-place signal, it is judged whether the working mode of the polyhedral flip timer is a tomato timing mode.
[0068] Specifically, when the to-be-in-place signal is received, the working mode of the polyhedral flip timer is acquired in response to the to-be-in-place signal, and it is judged whether the working mode is a tomato timing mode.
[0069] The tomato timing mode is a tomato timing function to help users more effectively manage time and improve work efficiency. Specifically, when the user starts the tomato timing function, the polyhedral flip timer first starts the first group of timing, that is, 25-minute countdown, and after the timing ends, the polyhedral flip timer will emit a prompt sound lasting 5 seconds. Subsequently, the polyhedral flip timer automatically starts a 5-minute rest time countdown, and emits a prompt sound lasting 30 seconds after ending. Then, the polyhedral flip timer enters the second group of timing, and the four groups of timing are cycled. In this way, the user can reasonably arrange work and rest time according to the principle of the Pomodoro technique, and improve work efficiency.
[0070] S222: If the tomato timing mode, end the processing of the arrival signal;
[0071] Specifically, if the tomato timing mode, that is, the working mode of the polyhedral turnover timer is the tomato timing mode, it means that the arrival signal does not need to be further processed at this time, therefore, the processing of the arrival signal is ended, it can be known that when the working mode of the polyhedral turnover timer is the tomato timing mode, the steps of "according to the arrival signal, taking the preset total duration corresponding to the target turnover surface as the first total duration" to step S4 do not need to be executed for the arrival signal.
[0072] S223: If not the tomato timing mode, according to the arrival signal, taking the preset total duration corresponding to the target turnover surface as the first total duration.
[0073] Specifically, if not the tomato timing mode, that is, the working mode of the polyhedral turnover timer is not the tomato timing mode, it means that the arrival signal needs to be further processed at this time, therefore, the preset total duration corresponding to the target turnover surface is taken as the first total duration.
[0074] The embodiment takes the preset total duration corresponding to the target turnover surface as the first total duration when the working mode of the polyhedral turnover timer is not the tomato timing mode, to further process the arrival signal, and ends the processing of the arrival signal when the working mode of the polyhedral turnover timer is the tomato timing mode, thereby avoiding the error countdown based on the arrival signal caused by misoperation, and avoiding the destruction of the tomato timing mode, further improving the user experience.
[0075] In one embodiment, the step of controlling the polyhedral turnover timer to count down according to the target total duration comprises:
[0076] S411: Obtain an initial timing duration, and determine the cumulative duration corresponding to the arrival signal according to the initial timing duration;
[0077] Specifically, the initial timing duration is a predefined initial cumulative duration. The initial timing duration can be directly taken as the cumulative duration of the arrival signal, or a predefined determination strategy can be used to determine the cumulative duration of the arrival signal according to the initial timing duration, it can be understood that the cumulative duration of the arrival signal at this time is the initial cumulative duration for the current arrival signal.
[0078] Optionally, the initial timing duration is a duration value. The initial timing duration can be 0 or not 0.
[0079] S412: controlling the polyhedral flip timer to count down according to the target total duration and the accumulated duration corresponding to the in-place signal;
[0080] Specifically, the target total duration is subtracted by the accumulated duration corresponding to the in-place signal as the remaining duration of the countdown, and the polyhedral flip timer is controlled to count down starting from the determined remaining duration of the countdown. The remaining duration of the countdown is reduced during the countdown, and the countdown stops when the remaining duration of the countdown reaches 0.
[0081] The accumulated duration corresponding to the in-place signal is the duration experienced during the countdown based on the in-place signal.
[0082] In the process of controlling the polyhedral flip timer to count down, it further includes:
[0083] S4121: obtaining an inheritance timing signal;
[0084] Specifically, the user can send an inheritance timing signal to the polyhedral flip timer through at least one of a key, a touch screen (main screen and / or secondary screen), and a smart device.
[0085] The inheritance timing signal is a signal for inheriting the accumulated duration.
[0086] S4122: in response to the inheritance timing signal, the accumulated duration when the in-place signal is generated is taken as the first accumulated duration;
[0087] Specifically, when the inheritance timing signal is obtained, the accumulated duration when the in-place signal is generated is taken as the first accumulated duration in response to the inheritance timing signal, thereby providing a basis for inheriting the accumulated duration.
[0088] The accumulated duration when the in-place signal is generated can be the accumulated duration generated by the countdown of the last in-place signal of the current in-place signal. For example, when the countdown duration of the last in-place signal of the current in-place signal is 5 minutes, the current in-place signal is obtained, and the accumulated duration 5 minutes (i.e. the countdown duration of 5 minutes) when the in-place signal is generated is taken as the first accumulated duration.
[0089] The countdown duration is the duration experienced during the countdown. For example, from 10-minute countdown to 5-minute, the countdown duration can be determined as 5 minutes. For example, from 10-minute countdown to 7-minute, the countdown duration can be determined as 3 minutes.
[0090] S4123: add the accumulated duration corresponding to the in-place signal and the first accumulated duration to obtain an updated accumulated duration of the in-place signal;
[0091] Specifically, the accumulated duration corresponding to the in-place signal is added to the first accumulated duration, and the added data is taken as the updated accumulated duration of the in-place signal. In this way, the accumulated duration generated by the countdown of the last in-place signal of the current in-place signal is combined with the accumulated duration corresponding to the in-place signal, and the inheritance of the accumulated duration generated by the countdown of the last in-place signal of the current in-place signal is realized.
[0092] S4124: control the polyhedral flip timer to count down according to the target total duration and the updated accumulated duration of the in-place signal.
[0093] Specifically, the target total duration is subtracted from the updated accumulated duration of the in-place signal to obtain a remaining duration of the countdown, and the polyhedral flip timer is controlled to count down starting from the determined remaining duration of the countdown. The remaining duration of the countdown is reduced during the countdown, and the polyhedral flip timer stops counting down when the remaining duration of the countdown reaches 0.
[0094] The embodiment realizes the inheritance of the accumulated duration generated by the countdown of the last in-place signal of the current in-place signal by adding the accumulated duration corresponding to the in-place signal and the accumulated duration when the in-place signal is generated as the updated accumulated duration of the in-place signal in response to the inheritance timing signal, thereby meeting the individual needs of users and further improving the user experience.
[0095] In one embodiment, the step of obtaining an initial timing duration includes:
[0096] S4111: subtract the generation time of the in-place signal from the current time to obtain a second accumulated duration;
[0097] S4112: if the second accumulated duration is greater than or equal to a preset waiting duration, a waiting processing mode is obtained.
[0098] Specifically, if the second accumulated duration is greater than or equal to the preset waiting duration, it means that the waiting is completed at this time. If the second accumulated duration is less than the preset waiting duration, it means that the waiting needs to continue at this time.
[0099] The waiting processing mode is a mode for processing the preset waiting duration.
[0100] S4113: If the waiting processing mode is the first mode, initialize the initial timing duration as 0;
[0101] Specifically, if the waiting processing mode is the first mode, it means that the waiting time from the obtained in-place signal to the start of the countdown (i.e., the second cumulative duration) does not need to be included in the current cumulative duration corresponding to the in-place signal, and therefore, the initial timing duration is initialized as 0.
[0102] S4114: If the waiting processing mode is the second mode, the second cumulative duration is taken as the initial timing duration.
[0103] Specifically, if the waiting processing mode is the second mode, it means that the waiting time from the obtained in-place signal to the start of the countdown (i.e., the second cumulative duration) needs to be included in the current cumulative duration corresponding to the in-place signal, and therefore, the second cumulative duration is taken as the initial timing duration.
[0104] The embodiment provides a buffer time for the countdown response of the in-place signal by setting a preset waiting duration. If the waiting processing mode is the first mode, the initial timing duration is initialized as 0, and if the waiting processing mode is the second mode, the second cumulative duration is taken as the initial timing duration. Different values of the waiting processing mode meet different processing requirements of the second cumulative duration of the user, and the operation of the countdown function is simple, further improving the user experience.
[0105] In one embodiment, the step of controlling the polyhedral flip timer to count down according to the target total duration further includes:
[0106] controlling the polyhedral flip timer to count down according to the target total duration, wherein in the process of controlling the polyhedral flip timer to count down, further includes:
[0107] S421: Obtain an operation signal group of the polyhedral flip timer;
[0108] Specifically, the user triggers an operation signal through one or more of the following: a smart device, a key, a touch screen (main screen and / or auxiliary screen), and a flip, and takes each operation signal in a second preset time window as an operation signal group. It can be understood that the operation signal group includes at least one operation signal.
[0109] S422: Select a time addition judgment condition satisfied by the operation signal group from a preset time addition judgment condition set as a target condition, wherein the time addition judgment condition set includes at least one time addition judgment condition;
[0110] The overtime judgment condition set is used to describe the correspondence between the overtime judgment condition, the operation signal set, and the overtime duration, wherein the overtime duration can be positive or negative.
[0111] Specifically, the operation signal set corresponding to the operation signal group is filtered out from the preset overtime judgment condition set, and the overtime judgment condition corresponding to the filtered operation signal set in the overtime judgment condition set is taken as the target condition.
[0112] S423: Obtain the overtime signal corresponding to the target condition, add the overtime duration corresponding to the target condition and the target total duration in response to the overtime signal, obtain the updated target total duration, and control the polyhedral flip timer to count down according to the updated target total duration.
[0113] Specifically, when the target condition is successfully determined (that is, the operation signal group satisfies the overtime judgment condition is successfully filtered out from the preset overtime judgment condition set), the polyhedral flip timer enters the overtime mode. In the overtime mode, the operation signal of the user is obtained (triggered by one or more of the smart device, the key, the touch screen (main screen and / or auxiliary screen), and the flip), the obtained operation signal is taken as the overtime signal corresponding to the target condition, the overtime duration corresponding to the target condition in the overtime judgment condition set is added to the target total duration, and the added data is taken as the updated target total duration. It can be understood that in the overtime mode, the overtime duration corresponding to the target condition and the target total duration are added once for each overtime signal corresponding to the target condition to obtain the updated target total duration.
[0114] Wherein, the remaining duration of the countdown is determined according to the updated target total duration, and the polyhedral flip timer is controlled to count down from the determined remaining duration of the countdown. In the process of counting down, the remaining duration of the countdown is reduced until the remaining duration of the countdown reaches 0. When the remaining duration of the countdown reaches 0, the polyhedral flip timer is controlled to stop counting down.
[0115] The embodiment adds the overtime duration corresponding to the target condition to the target total duration based on the overtime signal when the operation signal group satisfies the overtime judgment condition is successfully filtered out from the preset overtime judgment condition set, thereby meeting the user's demand for personalized adjustment of the total duration of the countdown, and further improving the user experience.
[0116] In one embodiment, the step of controlling the polyhedral flip timer to count down according to the target total duration further comprises:
[0117] According to the target total duration, control the polyhedral flip timer to count down, wherein during the process of controlling the polyhedral flip timer to count down, further comprising:
[0118] S431: Obtain the misoperation determination signal;
[0119] Specifically, the user triggers the misoperation determination signal through one or more of the following: smart device, key, touch screen (main screen and / or auxiliary screen), and flip.
[0120] The misoperation determination signal is a signal for misoperation of the polyhedral flip timer.
[0121] S432: In response to the misoperation determination signal, the target total duration when the in-place signal is generated is taken as a second total duration, the current time is subtracted from the generation time of the in-place signal to obtain a third cumulative duration, and the cumulative duration when the in-place signal is generated and the third cumulative duration are added to obtain a fourth cumulative duration.
[0122] Specifically, when the misoperation determination signal is obtained, in response to the misoperation determination signal, the target total duration when the in-place signal is generated is taken as a second total duration, thereby realizing rollback to the target total duration of the previous in-place signal of the current in-place signal; the current time is subtracted from the generation time of the in-place signal, and the duration obtained by subtraction is taken as a third cumulative duration, thereby obtaining the duration experienced after the in-place signal is generated to the current time; the cumulative duration when the in-place signal is generated and the third cumulative duration are added, and the duration obtained by addition is taken as a fourth cumulative duration, thereby rolling back to the cumulative duration corresponding to the previous in-place signal of the current in-place signal.
[0123] The target total duration when the in-place signal is generated is the target total duration corresponding to the previous in-place signal of the current in-place signal.
[0124] S433: According to the second total duration and the fourth cumulative duration, control the polyhedral flip timer to count down.
[0125] Specifically, the second total duration is subtracted from the fourth cumulative duration to obtain a remaining duration for counting down, and the polyhedral flip timer is controlled to count down from the remaining duration for counting down until the remaining duration for counting down reaches 0, and when the remaining duration for counting down reaches 0, the polyhedral flip timer stops counting down, thereby accurately realizing rollback to the counting down state of the previous in-place signal.
[0126] The embodiment determines the target total duration when the in-place signal is generated as a second total duration in response to the misoperation determination signal, subtracts the generation time of the in-place signal from the current time to obtain a third accumulated duration, adds the accumulated duration when the in-place signal is generated and the third accumulated duration to obtain a fourth accumulated duration, and controls the polyhedral flip timer to count down according to the second total duration and the fourth accumulated duration, so as to realize the misoperation determination signal based on user feedback, and to return the polyhedral flip timer to the countdown state of the previous in-place signal, thereby providing support for user error correction and further improving user experience.
[0127] Referring to FIG. 4, in an embodiment, a control device suitable for a polyhedral flip timer is provided, and the device comprises:
[0128] A signal acquisition module 801 is configured to acquire an in-place signal of a target flip surface of a polyhedral flip timer, wherein the target flip surface is any flip surface in the polyhedral flip timer.
[0129] A first processing module 802 is configured to determine, according to the in-place signal, a preset total duration corresponding to the target flip surface as a first total duration.
[0130] A second processing module 803 is configured to determine, according to the first total duration, a countdown total duration as a target total duration.
[0131] A countdown control module 804 is configured to control the polyhedral flip timer to count down according to the target total duration.
[0132] The embodiment realizes that the polyhedral flip timer can automatically generate an in-place signal as long as the target flip surface is flipped in place, and automatically counts down based on the in-place signal. The operation of the countdown function is simple, and user experience is improved.
[0133] In an embodiment, the step of determining, according to the in-place signal, a preset total duration corresponding to the target flip surface as a first total duration in the first processing module 802 comprises:
[0134] acquiring flip feature data corresponding to the in-place signal;
[0135] determining whether the flip feature data satisfies a preset countdown adjustment condition;
[0136] if yes, determining, according to the in-place signal, a preset total duration corresponding to the target flip surface as the first total duration;
[0137] if no, ending the processing of the in-place signal.
[0138] In one embodiment, the step of determining the preset total time length corresponding to the target flip surface as the first total time length according to the arrival signal in the first processing module 802 comprises:
[0139] In response to the arrival signal, determining whether the working mode of the polyhedral flip timer is the tomato timing mode;
[0140] If the working mode is the tomato timing mode, ending the processing of the arrival signal;
[0141] If the working mode is not the tomato timing mode, determining the preset total time length corresponding to the target flip surface as the first total time length according to the arrival signal.
[0142] In one embodiment, the step of controlling the polyhedral flip timer to count down according to the target total time length in the countdown control module 804 comprises:
[0143] Obtaining an initial timing time length, and determining the accumulated time length corresponding to the arrival signal according to the initial timing time length;
[0144] Controlling the polyhedral flip timer to count down according to the target total time length and the accumulated time length corresponding to the arrival signal, wherein in the process of controlling the polyhedral flip timer to count down, further comprising:
[0145] Obtaining an inheritance timing signal;
[0146] In response to the inheritance timing signal, determining the accumulated time length when the arrival signal is generated as a first accumulated time length;
[0147] Adding the accumulated time length corresponding to the arrival signal and the first accumulated time length to obtain the updated accumulated time length of the arrival signal;
[0148] Controlling the polyhedral flip timer to count down according to the target total time length and the updated accumulated time length of the arrival signal.
[0149] In one embodiment, the step of obtaining an initial timing time length in the countdown control module 804 comprises:
[0150] Subtracting the generation time of the arrival signal from the current time to obtain a second accumulated time length;
[0151] If the second accumulated time length is greater than or equal to a preset waiting time length, obtaining a waiting processing mode;
[0152] If the waiting processing mode is a first mode, initializing the initial timing time length as 0;
[0153] If the waiting processing mode is the second mode, the second accumulated time length is taken as the initial timing time length.
[0154] In one embodiment, the step of controlling the polyhedral flip timer to count down according to the target total time length in the countdown control module 804 further includes:
[0155] controlling the polyhedral flip timer to count down according to the target total time length, wherein, in the process of controlling the polyhedral flip timer to count down, further includes:
[0156] obtaining an operation signal group of the polyhedral flip timer;
[0157] selecting a time-adding judgment condition satisfied by the operation signal group from a preset time-adding judgment condition set as a target condition, wherein the time-adding judgment condition set includes at least one time-adding judgment condition;
[0158] obtaining a time-adding signal corresponding to the target condition, adding a time-adding time length corresponding to the target condition and the target total time length in response to the time-adding signal to obtain an updated target total time length, and controlling the polyhedral flip timer to count down according to the updated target total time length.
[0159] In one embodiment, the step of controlling the polyhedral flip timer to count down according to the target total time length in the countdown control module 804 further includes:
[0160] controlling the polyhedral flip timer to count down according to the target total time length, wherein, in the process of controlling the polyhedral flip timer to count down, further includes:
[0161] obtaining a misoperation determination signal;
[0162] in response to the misoperation determination signal, taking the target total time length when the in-place signal is generated as a second total time length, taking a current time minus a generation time of the in-place signal as a third accumulated time length, and adding the accumulated time length when the in-place signal is generated and the third accumulated time length to obtain a fourth accumulated time length;
[0163] controlling the polyhedral flip timer to count down according to the second total time length and the fourth accumulated time length.
[0164] Referring to FIG. 5, in one embodiment, a polyhedral flip timer is provided, which comprises a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, and the polyhedral flip timer has a polyhedral shape, at least one face of the polyhedron is a flip face, and the processor 12 implements the following steps when executing the computer program:
[0165] acquiring a signal that a target flip face of the polyhedral flip timer is in place, wherein the target flip face is any flip face in the polyhedral flip timer;
[0166] according to the signal that the target flip face is in place, taking a preset total duration corresponding to the target flip face as a first total duration;
[0167] determining a countdown total duration according to the first total duration as a target total duration;
[0168] controlling the polyhedral flip timer to count down according to the target total duration.
[0169] The embodiment realizes that the polyhedral flip timer can automatically generate a signal that a target flip face is in place as long as the target flip face is flipped in place, and automatically counts down based on the signal that the target flip face is in place, the operation of the countdown function is simple, and user experience is improved.
[0170] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the following steps when executed by a processor:
[0171] acquiring a signal that a target flip face of the polyhedral flip timer is in place, wherein the target flip face is any flip face in the polyhedral flip timer;
[0172] according to the signal that the target flip face is in place, taking a preset total duration corresponding to the target flip face as a first total duration;
[0173] determining a countdown total duration according to the first total duration as a target total duration;
[0174] controlling the polyhedral flip timer to count down according to the target total duration.
[0175] The embodiment realizes that the polyhedral flip timer can automatically generate a signal that a target flip face is in place as long as the target flip face is flipped in place, and automatically counts down based on the signal that the target flip face is in place, the operation of the countdown function is simple, and user experience is improved.
[0176] It should be noted that the above-mentioned functions or steps that the computer readable storage medium or the polyhedral flip timer can achieve can correspond to the related descriptions of the server side and the client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.
[0177] A person of ordinary skill in the art can understand that all or part of the processes in the foregoing method embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a nonvolatile computer readable storage medium. When the computer program is executed, the processes of the foregoing embodiments of the method can be included. Any reference to a memory, storage, database or other medium used in the embodiments provided in the present application can include nonvolatile and / or volatile memory. The nonvolatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. The volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM) and memory bus dynamic RAM (RDRAM), etc.
[0178] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified. In actual applications, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
[0179] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A control method suitable for a polyhedral flip clock, characterized in that, The method comprises: acquiring a signal of a target flip surface of a polyhedral flip timer reaching a position, wherein the target flip surface is any flip surface in the polyhedral flip timer; according to the signal of the target flip surface reaching the position, taking a preset total duration corresponding to the target flip surface as a first total duration; determining a countdown total duration according to the first total duration as a target total duration; controlling the polyhedral flip timer to count down according to the target total duration.
2. A control method for a polyhedral flip clock according to claim 1, characterized in that, The step of taking the preset total duration corresponding to the target flip surface as the first total duration according to the signal of the target flip surface reaching the position comprises: acquiring flip feature data corresponding to the signal of the target flip surface reaching the position; judging whether the flip feature data meets a preset countdown adjustment condition; if yes, taking the preset total duration corresponding to the target flip surface as the first total duration according to the signal of the target flip surface reaching the position; if no, ending the processing of the signal of the target flip surface reaching the position.
3. A control method for a polyhedral flip clock according to claim 1, characterized in that, The step of taking the preset total duration corresponding to the target flip surface as the first total duration according to the signal of the target flip surface reaching the position comprises: judging whether the working mode of the polyhedral flip timer is a tomato timing mode in response to the signal of the target flip surface reaching the position; if yes, ending the processing of the signal of the target flip surface reaching the position; if no, taking the preset total duration corresponding to the target flip surface as the first total duration according to the signal of the target flip surface reaching the position.
4. A control method for a polyhedral flip clock according to claim 1, characterized in that, The step of controlling the polyhedral flip timer to count down according to the target total duration comprises: acquiring an initial timing duration to determine an accumulated duration corresponding to the signal of the target flip surface reaching the position; controlling the polyhedral flip timer to count down according to the target total duration and the accumulated duration corresponding to the signal of the target flip surface reaching the position, wherein in the process of controlling the polyhedral flip timer to count down, further comprising: acquiring an inheritance timing signal; in response to the inheritance timing signal, taking the accumulated duration when the signal of the target flip surface reaching the position is generated as a first accumulated duration; adding the accumulated duration corresponding to the signal of the target flip surface reaching the position and the first accumulated duration to obtain an updated accumulated duration of the signal of the target flip surface reaching the position; controlling the polyhedral flip timer to count down according to the target total duration and the updated accumulated duration of the signal of the target flip surface reaching the position. The step of acquiring an initial timing duration comprises:
5. A control method for a polyhedral flip clock according to claim 4, characterized in that, subtracting the generation time of the signal of the target flip surface reaching the position from the current time to obtain a second accumulated duration; if the second accumulated duration is greater than or equal to a preset waiting duration, acquiring a waiting processing mode; if the waiting processing mode is a first mode, initializing the initial timing duration as 0; if the waiting processing mode is a second mode, taking the second accumulated duration as the initial timing duration. The step of controlling the polyhedral flip timer to count down according to the target total duration further comprises:
6. A control method for a polyhedral flip clock according to claim 1, characterized in that, controlling the polyhedral flip timer to count down according to the target total duration, wherein in the process of controlling the polyhedral flip timer to count down, further comprising: acquiring an operation signal group of the polyhedral flip timer; Screening the operation signal group from the preset overtime judgment condition set to meet the target condition, wherein the overtime judgment condition set includes at least one overtime judgment condition; Obtaining an overtime signal corresponding to the target condition, adding the overtime duration corresponding to the target condition and the target total duration in response to the overtime signal to obtain an updated target total duration, and controlling the polyhedral flip timer to count down according to the updated target total duration.
7. A control method for a polyhedral flip clock according to claim 1, characterized in that, The step of controlling the polyhedral flip timer to count down according to the target total duration further includes: Controlling the polyhedral flip timer to count down according to the target total duration, wherein during the process of controlling the polyhedral flip timer to count down, further includes: Obtaining a misoperation determination signal; In response to the misoperation determination signal, taking the target total duration when the in-place signal is generated as a second total duration, taking the current time minus the generation time of the in-place signal as a third cumulative duration, adding the cumulative duration when the in-place signal is generated and the third cumulative duration to obtain a fourth cumulative duration; Controlling the polyhedral flip timer to count down according to the second total duration and the fourth cumulative duration.
8. A control device for a polyhedral flip clock, characterized in that The device includes: A signal acquisition module for acquiring an in-place signal of a target flip surface of a polyhedral flip timer, wherein the target flip surface is any flip surface in the polyhedral flip timer; A first processing module for taking a preset total duration corresponding to the target flip surface as a first total duration according to the in-place signal; A second processing module for determining a countdown total duration as a target total duration according to the first total duration; A countdown control module for controlling the polyhedral flip timer to count down according to the target total duration.
9. A polyhedral flip clock characterized by, The polyhedral flip timer includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the shape of the polyhedral flip timer is a polyhedron, at least one face of the polyhedron is set as a flip surface, and the processor implements the steps of the control method for the polyhedral flip timer according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the steps of the control method for the polyhedral flip timer according to any one of claims 1 to 7.
Citation Information
Patent Citations
Countdown method, system and device, computer equipment and storage medium
CN111159612A
Countdown display debugging method and device
CN112115007A
Information content display method and device, equipment and medium
CN112416207A
Polygonal timer
CN210244097U
Polygonal flip timer
CN220399812U
Cited By
Inductive visual flip timer
CN121763683A