Lifting table use state detection method and device, electronic equipment and storage medium
By integrating processor and light sensor on the lifting table, counting and recording the user's sitting/standing usage time, the problem that the existing lifting table cannot monitor the usage time is solved, real-time monitoring and improvement of users' healthy habits is achieved.
Patent Information
- Application Number
- CN202311537298.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
The existing lifting table cannot count the user's sitting or standing posture usage time, and cannot let the user know his or her use of the day, resulting in the inability to prevent the health risks caused by sitting for a long time.
The processor counts and saves the usage time of the sitting/standing posture of the lifting table in each statistical period, and uses the average lighting intensity of multiple historical statistical periods to determine the starting time point of the current statistical period, thereby calculating the total usage time of the sitting/standing posture of the day and displaying it to the user through the display screen.
It realizes monitoring and recording of the length of user's sitting/standing posture, helping users understand and improve their usage habits and reduces the health risks brought by sitting for a long time.
Smart Images

Figure CN120020765A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of lifting desks, and in particular, to a method and device for detecting the usage state of a lifting desk, an electronic device, and a storage medium. Background Art
[0002] With the development of economy and technology and the popularization of mobile phones and computers, sedentary behavior of people in daily life, work and study has become increasingly common. Therefore, lifting desks that can adjust the desktop height conform to the trend of the times. They can be freely lifted, allowing users to alternate between standing and sitting for work, and are easy to operate. With the continuous development of modern technology, the functions and design styles of lifting desks are also increasing. According to the lifting method, the lifting desks on the market can be divided into three categories: electric lifting type, pneumatic lifting type, and hand-cranked type. Electric lifting desks mainly rely on motors to control the lifting device and can achieve one-key automatic lifting through buttons or switches. Pneumatic lifting desks are often used for lifting platforms, and their working principle is similar to that of ergonomic chairs, using gas springs to achieve lifting. Hand-cranked lifting desks mainly rely on hand-cranking to adjust the desktop height and can be freely adjusted to a suitable height for the user. Among them, the hand-cranked type and pneumatic type require the user to exert force to lift, and are generally not used in occasions where frequent lifting is required; the electric type is driven by a motor for lifting, which is more labor-saving and convenient, and is easy to add intelligent control functions.
[0003] When users sit for a long time, it will endanger their physical health and lead to various spinal diseases and blood circulation system diseases. However, the current lifting desks cannot count the usage time of the user's sitting or standing posture, and the user cannot know their daily usage situation. Therefore, how to monitor the usage state of the user of the lifting desk has become an urgent problem to be solved. Summary of the Invention
[0004] In view of this, the present disclosure provides a method and device for detecting the usage state of a lifting desk, an electronic device, and a storage medium. The processor can count the usage duration of the sitting / standing posture of the lifting desk in each statistical period and save it in the memory, determine the start time point of the current statistical period based on the average light intensity of multiple historical statistical periods, and determine the historical sitting / standing usage duration, so as to obtain the total sitting / standing usage duration of the user on the same day.
[0005] According to one aspect of the present disclosure, a method for detecting the usage state of a height-adjustable desk is provided. The method includes: obtaining a first usage duration and a second usage duration of the user using the height-adjustable desk in the current statistical period, where the first usage duration represents the duration of the user using the height-adjustable desk in a sitting position during the current statistical period, and the second usage duration represents the duration of the user using the height-adjustable desk in a standing position during the current statistical period; determining the start time point corresponding to the current statistical period according to the average light intensity in a plurality of consecutive historical statistical periods before the current statistical period; determining the historical sitting usage duration and the historical standing usage duration of the user using the height-adjustable desk on the current day before the start time point; adding the historical sitting usage duration and the first usage duration to obtain the current total sitting usage duration of the user on the current day, and adding the historical standing usage duration and the second usage duration to obtain the current total standing usage duration of the user on the current day.
[0006] In a possible implementation, the method further includes: when it is determined by a target sensor that the user uses the height-adjustable desk at the current sampling moment, determining the current height of the height-adjustable desk by using a motor controller, where the target sensor is arranged under the tabletop of the height-adjustable desk; when the current height is less than or equal to a preset height, determining that the user uses the height-adjustable desk in a sitting state during the sampling period corresponding to the current sampling moment; or, when it is determined that the current height is greater than the preset height, determining that the user uses the height-adjustable desk in a standing state during the sampling period corresponding to the current sampling moment; when the sum of the durations of the already counted sampling periods is equal to the preset duration of the statistical period, storing the usage states of the user using the height-adjustable desk in each current counted sampling period as the usage information of this statistical period; where the first usage duration is the sum of all sampling periods in which the user uses the height-adjustable desk in a sitting state before the current moment during the current statistical period, and the second usage duration is the sum of all sampling periods in which the user uses the height-adjustable desk in a standing state before the current moment during the current statistical period.
[0007] In a possible implementation, determining the start time point corresponding to the current statistical period according to the average light intensity of a plurality of consecutive historical statistical periods before the current statistical period includes: obtaining the average light intensity of the plurality of historical statistical periods, where the total duration of the plurality of historical statistical periods and the current statistical period is greater than or equal to 48 hours; extracting a plurality of period sets from the plurality of historical statistical periods, each period set includes a plurality of consecutive historical statistical periods and the total duration of all historical statistical periods in the period set is 24 hours, and the average light intensity corresponding to each historical statistical period in each period set forms the average light intensity sequence corresponding to the period set; multiplying the corresponding values in each average light intensity sequence by the light intensity standard sequence and summing to obtain a plurality of total average light values, where the light intensity standard sequence represents the light intensity standard for each statistical period in a day; determining the start time point corresponding to the current period according to the maximum value among all the total average light values.
[0008] In a possible implementation, determining the start time point corresponding to the current period according to the maximum value among all the total average light values includes: determining the average light intensity sequence corresponding to the maximum value among all the total average light values as the target average light intensity sequence, and determining the last statistical period among the plurality of historical statistical periods corresponding to the target average light intensity sequence; determining the start time point of the current statistical period based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each historical statistical period.
[0009] In a possible implementation, extracting a plurality of period sets from the plurality of historical statistical periods includes: taking the historical statistical period with the earliest order among the plurality of historical statistical periods as the first period; determining the period set corresponding to the first period, where the first period is the earliest among the plurality of historical statistical periods in the corresponding period set; sequentially taking the next historical statistical period after the first period among the plurality of historical statistical periods as the new first period according to the order, and determining the period set corresponding to the new first period until the period set corresponding to the new first period cannot be obtained.
[0010] In a possible implementation, the light intensity standard sequence includes the light intensity standard corresponding to each statistical period in a day, and the light intensity standard for each statistical period is obtained by binarizing the light intensity standard value corresponding to each statistical period in a day. The light intensity standard for each statistical period with a light intensity standard value greater than or equal to the preset light intensity threshold is set to 1, and the light intensity standard for each statistical period with a light intensity standard value less than the light intensity threshold is set to 0.
[0011] In a possible implementation, the historical sitting posture usage duration includes the sum of the sitting posture usage durations of each historical statistical period before the start time point on the current day, and the historical standing posture usage duration includes the sum of the standing posture usage durations of each historical statistical period before the start time point on the current day; wherein, the sitting posture usage duration of each historical statistical period is the sum of the durations of each sampling period in which the user uses the height-adjustable desk in a sitting posture during this historical statistical period; the standing posture usage duration of each historical statistical period is the sum of the durations of each sampling period in which the user uses the height-adjustable desk in a standing posture during this historical statistical period.
[0012] In a possible implementation, the method further includes: after determining the current total sitting posture usage duration and the current total standing posture usage duration of the user on the current day, using the display screen of the height-adjustable desk to display the current total sitting posture usage duration and / or the current total standing posture usage duration of the user on the current day.
[0013] According to one aspect of the present disclosure, there is provided a device for detecting the usage state of a height-adjustable desk, the device includes: an acquisition module, configured to acquire a first usage duration and a second usage duration of the user using the height-adjustable desk in the current statistical period, the first usage duration representing the duration in which the user uses the height-adjustable desk in a sitting posture during the current statistical period, and the second usage duration representing the duration in which the user uses the height-adjustable desk in a standing posture during the current statistical period; a time point determination module, configured to determine the start time point corresponding to the current statistical period according to the average light intensity of a plurality of consecutive historical statistical periods before the current statistical period; a historical duration determination module, configured to determine the historical sitting posture usage duration and the historical standing posture usage duration of the user using the height-adjustable desk on the current day before the start time point; a state duration determination module, configured to add the historical sitting posture usage duration and the first usage duration to obtain the current total sitting posture usage duration of the user on the current day, and add the historical standing posture usage duration and the second usage duration to obtain the current total standing posture usage duration of the user on the current day.
[0014] In a possible implementation, the device further includes: a height determination module, configured to determine the current height of the lifting table by using a motor controller when it is determined by a target sensor that the user is using the lifting table at the current sampling moment, where the target sensor is disposed under the tabletop of the lifting table; a state determination module, configured to determine that the user uses the lifting table in a sitting state during the sampling period corresponding to the current sampling moment when the current height is less than or equal to a preset height; or determine that the user uses the lifting table in a standing state during the sampling period corresponding to the current sampling moment when it is determined that the current height is greater than the preset height; an information storage module, configured to store, when the sum of the durations of the sampled periods that have been counted is equal to the preset duration of the statistical period, the states in which the user uses the lifting table in each of the currently counted sampled periods as the usage information for this statistical period; where the first usage duration is the sum of all the sampled periods in which the user uses the lifting table in a sitting state before the current moment in the current statistical period, and the second usage duration is the sum of all the sampled periods in which the user uses the lifting table in a standing state before the current moment in the current statistical period.
[0015] In a possible implementation, the time point determination module is further configured to: obtain the average light intensity of a plurality of historical statistical periods, where the total duration of the plurality of historical statistical periods and the current statistical period is greater than or equal to 48 hours; extract a plurality of period sets from the plurality of historical statistical periods, each of the period sets includes a plurality of consecutive historical statistical periods and the total duration of all the historical statistical periods in the period set is 24 hours, and the average light intensity corresponding to each historical statistical period in each period set forms the average light intensity sequence corresponding to the period set; multiply the corresponding values in each average light intensity sequence and the light intensity standard sequence and sum them to obtain a plurality of average total light values, where the light intensity standard sequence represents the light intensity standard for each statistical period in a day; determine the start time point corresponding to the current period according to the maximum value among all the average total light values.
[0016] In a possible implementation, determining the start time point corresponding to the current period according to the maximum value among all the average total light values includes: determining the average light intensity sequence corresponding to the maximum value among all the average total light values as the target average light intensity sequence, and determining the last statistical period among the plurality of historical statistical periods corresponding to the target average light intensity sequence; determining the start time point of the current statistical period based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each historical statistical period.
[0017] In a possible implementation, extracting a plurality of time period sets from the plurality of historical statistical time periods includes: using the historical statistical time period with the earliest order among the plurality of historical statistical time periods as the first time period; determining the time period set corresponding to the first time period, where the first time period has the earliest order among the plurality of historical statistical time periods in the corresponding time period set; sequentially determining the next historical statistical time period after the first time period among the plurality of historical statistical time periods as the new first time period according to the order, and determining the time period set corresponding to the new first time period until the time period set corresponding to the new first time period cannot be obtained.
[0018] In a possible implementation, the light intensity standard sequence includes the light intensity standards corresponding to each statistical time period in a day. The light intensity standards for each statistical time period are obtained by binarizing the light intensity standard values corresponding to each statistical time period in a day. The light intensity standards for those statistical time periods with light intensity standard values greater than or equal to a preset light intensity threshold are set to 1, and the light intensity standards for those statistical time periods with light intensity standard values less than the light intensity threshold are set to 0.
[0019] In a possible implementation, the historical sitting usage duration includes the sum of the sitting usage durations of each historical statistical time period before the start time point on the current day, and the historical standing usage duration includes the sum of the standing usage durations of each historical statistical time period before the start time point on the current day; wherein, the sitting usage duration of each historical statistical time period is the sum of the durations of each sampling time period when the user uses the height-adjustable desk in a sitting state during that historical statistical time period; the standing usage duration of each historical statistical time period is the sum of the durations of each sampling time period when the user uses the height-adjustable desk in a standing state during that historical statistical time period.
[0020] In a possible implementation, the device further includes: a display module, configured to, after determining the current total sitting usage duration and the current total standing usage duration of the user on the current day, display the current total sitting usage duration and / or the current total standing usage duration of the user on the current day using the display screen of the height-adjustable desk.
[0021] According to one aspect of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to call the instructions stored in the memory to execute the above method.
[0022] According to one aspect of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
[0023] According to one aspect of the present disclosure, there is provided a lifting table, including: a processor, a tabletop, a lifting column connected to the tabletop, a motor controller, a target sensor, a light sensor, and a display screen. The processor is configured to execute the above method. Among them, the motor controller is used to control the lifting of the lifting column to adjust the height of the tabletop. The target sensor is located below the tabletop and is used to identify whether a user uses the lifting table. The light sensor is used to collect the light intensity in front of the lifting table. The display screen is used to display the current sitting posture usage duration and / or standing posture usage duration of the user on the current day.
[0024] In an embodiment of the present disclosure, the processor saves the duration of the user using the lifting table in a sitting posture and the duration of the user using the lifting table in a standing posture in each statistical period. Based on the average light intensity of each historical statistical period, the start time point of the current statistical period for which the user wants to determine the usage duration is determined. According to the determined start time point, the historical sitting posture usage duration and the historical standing posture usage duration of the user are statistically calculated. Adding the historical sitting posture usage duration and the first usage duration of the current statistical period can obtain the total sitting posture usage duration of the user on the current day. Adding the historical standing posture usage duration and the second usage duration of the current statistical period can obtain the total standing posture usage duration of the user on the current day. In this way, the sitting / standing posture usage duration of the user on the current day can be monitored.
[0025] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure. According to the following detailed description of exemplary embodiments with reference to the accompanying drawings, other features and aspects of the present disclosure will become clear. Description of the Drawings
[0026] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure.
[0027] Figure 1 A flowchart showing a method for detecting the usage state of a lifting table according to an embodiment of the present disclosure.
[0028] Figure 2 A schematic diagram showing the statistical calculation of the sitting / standing posture usage duration of a user according to an embodiment of the present disclosure.
[0029] Figure 3 A schematic diagram showing the acquisition of the average light intensity of a historical statistical period according to an embodiment of the present disclosure.
[0030] Figure 4 A schematic diagram showing a light intensity standard sequence according to an embodiment of the present disclosure.
[0031] Figure 5Shows a schematic diagram of the process of obtaining the total average illumination value according to an embodiment of the present disclosure.
[0032] Figure 6 Shows a schematic diagram of a lifting desk usage status detection device according to an embodiment of the present disclosure.
[0033] Figure 7 Shows a structural schematic diagram of a lifting desk usage status detection device according to an embodiment of the present disclosure.
[0034] Figure 8 Shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. Detailed implementation manners
[0035] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the drawings denote elements having the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0036] The term "exemplary" used herein means "serving as an example, embodiment, or illustration". Any embodiment described as "exemplary" herein is not necessarily to be construed as superior or better than other embodiments.
[0037] The term "and / or" herein is merely a description of the associated relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality. For example, including at least one of A, B, and C can represent any one or more elements selected from the set composed of A, B, and C.
[0038] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following detailed implementation manners. Those skilled in the art should understand that the present disclosure can be implemented without some specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the present disclosure.
[0039] An embodiment of the present disclosure provides a method for detecting the usage status of a lifting desk, which can determine the total sitting / standing usage duration of a user on the current day by the sitting / standing usage duration and the average illumination intensity of the user in each statistical period, so as to monitor the user's status. Figure 1 Shows a flowchart of a method for detecting the usage status of a lifting desk according to an embodiment of the present disclosure. As Figure 1 shown, the method for detecting the usage status of the lifting desk may include:
[0040] Step S11: Obtain the first usage duration and the second usage duration of the user using the height-adjustable desk in the current statistical period. The first usage duration represents the duration of the user using the height-adjustable desk in a sitting position during the current statistical period, and the second usage duration represents the duration of the user using the height-adjustable desk in a standing position during the current statistical period.
[0041] Step S12: Determine the start time point corresponding to the current statistical period according to the average light intensity in a plurality of consecutive historical statistical periods before the current statistical period.
[0042] Step S13: Determine the historical sitting usage duration and the historical standing usage duration of the user using the height-adjustable desk on the current day before the start time point.
[0043] Step S14: Add the historical sitting usage duration and the first usage duration to obtain the current total sitting usage duration of the user on the current day, and add the historical standing usage duration and the second usage duration to obtain the current total standing usage duration of the user on the current day.
[0044] The implementation methods of the above steps are further described below.
[0045] In the embodiments of the present disclosure, the user is the user of the height-adjustable desk. For all personnel using the height-adjustable desk, such as common office workers, students, scientific research personnel, etc., each user can use a fixed height-adjustable desk correspondingly, so as to better count the sitting / standing usage duration of the corresponding user on the current day. The height-adjustable desk usage status detection method proposed in the embodiments of the present disclosure can perform separate statistics on each height-adjustable desk. In this case, it is impossible to identify the user, and it only targets the situation where the user is matched with the height-adjustable desk. The height-adjustable desk usage status detection method proposed in the embodiments of the present disclosure can also perform separate statistics on each user, that is, the usage duration of each user is uniformly counted through a central server. That is, the embodiments of the present disclosure do not pay attention to whether the user and the height-adjustable desk are matched.
[0046] In the embodiments of the present disclosure, the current statistical period is the statistical period in which the moment when the user wants to view the current total sitting / standing duration is located. The usage duration is the duration of the user using the height-adjustable desk. The first usage duration can be the duration of the user using the height-adjustable desk in a sitting position during the current statistical period, that is, during the current statistical period, the first usage duration is continuously updated when it is detected that the user is currently in a sitting position, and the first usage duration waits for the next update when the user is not detected or the user is in a standing position. The second usage duration can be the duration of the user using the height-adjustable desk in a standing position during the current statistical period, that is, during the current statistical period, the second usage duration is continuously updated when it is detected that the user is currently in a standing position, and the second usage duration waits for the next update when the user is not detected or the user is in a sitting position.
[0047] In a possible implementation, the method for detecting the usage state of the lifting table further includes: when it is determined by using a target sensor that the user is using the lifting table at the current sampling moment, determining the current height of the lifting table by using a motor controller, where the target sensor is arranged under the tabletop of the lifting table; when the current height is less than or equal to a preset height, determining that the user uses the lifting table in a sitting state during the sampling period corresponding to the current sampling moment; or, when it is determined that the current height is greater than the preset height, determining that the user uses the lifting table in a standing state during the sampling period corresponding to the current sampling moment; when the sum of the durations of the sampled periods that have been counted is equal to the preset duration of the statistical period, storing the states of the user using the lifting table in each of the currently counted sampled periods as the usage information for this statistical period; where the first usage duration is the sum of all the sampled periods in which the user uses the lifting table in a sitting state before the current moment in the current statistical period, and the second usage duration is the sum of all the sampled periods in which the user uses the lifting table in a standing state before the current moment in the current statistical period.
[0048] In the embodiments of the present disclosure, before counting the sitting / standing usage duration of the user using the lifting table, it is necessary to first determine whether the user is using the lifting table, that is, only when the user is using the lifting table can the user's state be counted and the usage duration be updated. In one example, it can be determined whether the user uses the lifting table by installing a target sensor. When the user uses the lifting table, the user needs to sit in front of the lifting table. Therefore, a target sensor can be arranged on the lifting table to detect whether the user is sitting in front of the lifting table. The user sitting in front of the lifting table means that the user is using the lifting table, otherwise it means that the user is not using the lifting table.
[0049] There can be various selections for the target sensor. For example, sensors such as infrared sensors and millimeter-wave sensors, which have insufficient accuracy and resolution for ranging but are of low price, can be used. Since in the method of the present disclosure, it is necessary to determine whether the user is sitting in front of the lifting table rather than determining the distance between the user and the lifting table, such sensors with high cost performance can be used. In one example, the target sensor can be a millimeter-wave radar. The millimeter-wave radar sends millimeter waves to detect the actions and breathing of the user in front of the lifting table, so as to determine whether the user is using the lifting table. The placement position of the target sensor is not limited. It can be placed under the lifting table or above the lifting table, as long as it can identify the user sitting in front of the lifting table. In one example, the target sensor is arranged under the tabletop of the lifting table.
[0050] Before using the target sensor, a sampling frequency needs to be set so that the detected data can be transmitted to the processor at a fixed sampling frequency. Moreover, since the usage duration of the user needs to be counted, the sampling period corresponding to the sampling frequency can be used to better count the usage duration.
[0051] When it is determined that the user is using the lifting table at the current sampling moment by using the target sensor, the current height of the lifting table is determined by using the motor controller. The motor controller is the driving motor that controls the lifting action of the lifting table. The height of the lifting table at the current sampling moment is collected by using the motor controller as the current height, and the usage state of the user is judged by using the current height.
[0052] In the embodiment of the present disclosure, a preset height needs to be set in advance as the judgment threshold for the state before judging the usage state of the user by using the current height. When the current height is less than or equal to the preset height, it can be determined that the user is in a sitting state at the current sampling moment, that is, it can be considered that the user is in a sitting state during the current sampling period, and the sitting usage duration of the user during the current statistical period is updated. When the current height is greater than the preset height, it can be determined that the user is in a standing state at the current sampling moment, that is, it can be considered that the user is in a standing state during the current sampling period, and the standing usage duration of the user during the current statistical period is updated. The preset height can be set as needed. Since the target populations are different, it can be imagined that the preset heights for students and office workers may be different. Therefore, the preset height is not limited. In one example, the preset height can be set to 90 cm.
[0053] When the sum of the durations of the already counted sampling periods is equal to the preset duration of the statistical period, the usage durations of the user's sitting / standing states in each already counted sampling period during the current statistical period are saved in the memory as the sitting / standing usage durations of the user in this statistical period. It can be foreseen that each completed statistical period has corresponding sitting / standing usage durations of the user.
[0054] In an embodiment of the present disclosure, when it is detected by a target sensor that a user is using a height-adjustable desk, the current height transmitted by the motor controller is compared with a preset height to determine the usage state of the user at the sampling moment. When it is determined that the user is in a sitting position, the first usage duration a of the user within the current statistical period is updated. When it is determined that the user is in a standing position, the second usage duration b of the user within the current statistical period is updated. That is, a and b can represent the sitting / standing usage duration of the user within the current statistical period. When the current statistical period has reached a preset duration (e.g., 1 hour), the values of a and b can be saved as the sitting / standing usage duration of the user within this statistical period in a memory, and the values of a and b are cleared to count the sitting / standing state of the user in the next statistical period. That is, every hour, the processor can save the accumulated sitting / standing usage duration of the user within the current statistical period in the memory.
[0055] Figure 2 shows a schematic diagram of counting the sitting / standing usage duration of a user according to an embodiment of the present disclosure. As Figure 2 shown, the sitting usage durations A 1 、……、A 23 of the most recent 23 statistical periods can be retained in the internal memory of the processor, and the first usage duration a of the user that is still being counted in the current statistical period has not been saved to the internal memory yet. The standing usage durations B 1 、……、B 23 of the most recent 23 statistical periods can be retained in the internal memory of the processor, and the second usage duration b of the user that is still being counted in the current statistical period has not been saved to the internal memory yet.
[0056] In this embodiment, the height-adjustable desk may further include a light intensity sensor to collect the light intensity of the surrounding environment. Within a statistical period, the average value of the light intensity collected by the light intensity sensor is used as the average light intensity of this statistical period.
[0057] In a possible implementation, determining the start time point corresponding to the current statistical period according to the average light intensity of a plurality of consecutive historical statistical periods before the current statistical period may include: obtaining the average light intensity of the plurality of historical statistical periods, where the total duration of the plurality of historical statistical periods and the current statistical period is greater than or equal to 48 hours; extracting a plurality of period sets from the plurality of historical statistical periods, each period set includes a plurality of consecutive historical statistical periods and the total duration of all historical statistical periods in the period set is 24 hours, and the average light intensity corresponding to each historical statistical period in each period set forms the average light intensity sequence corresponding to the period set; multiplying the corresponding values in each average light intensity sequence by the values in the light intensity standard sequence and summing to obtain a plurality of average light total values, where the light intensity standard sequence represents the light intensity standard for each statistical period in a day; determining the start time point corresponding to the current period according to the maximum value among all the average light total values.
[0058] Figure 3 shows a schematic diagram of obtaining the average light intensity of historical statistical periods according to an embodiment of the present disclosure. As Figure 3 shown, for each statistical period (for example, 1 hour), the processor takes the average value of the light intensity collected by the light intensity sensor in the past 1 hour as the average light intensity of this statistical period and saves it in the internal memory. It can be considered that the total duration of the plurality of historical statistical periods and the current statistical period is greater than or equal to 48 hours, then the internal memory of the processor stores the 47 most recent average light intensities I 1 , ……, I 47 . The average value of the light intensity for the current statistical period has not obtained the average light intensity because the current statistical period has not ended yet.
[0059] In a possible implementation, extracting a plurality of period sets from the plurality of historical statistical periods may include: taking the historical statistical period with the earliest order in the plurality of historical statistical periods as the first period; determining the period set corresponding to the first period, where the first period is the earliest in the plurality of historical statistical periods in the corresponding period set; determining the next historical statistical period after the first period in the plurality of historical statistical periods according to the order as the new first period, and determining the period set corresponding to the new first period until the period set corresponding to the new first period cannot be obtained.
[0060] In an example, assuming that the preset duration of a statistical period is 1 hour, then the number of historical statistical periods included in the period set in the plurality of period sets extracted from the plurality of historical statistical periods is 24, and the number of elements in the average light intensity sequence is also 24. Assuming that the internal memory of the processor stores the 47 most recent average light intensities I1 ,..., I 47 , then the historical statistical period with a higher ranking is the 1st historical statistical period, and its corresponding average light intensity is I 1 , take the historical statistical period with a higher ranking among multiple historical statistical periods as the first period, that is, take the 1st historical statistical period as the first period. As described above, a set of periods contains 24 consecutive historical statistical periods, so it can be determined that the period set corresponding to the first period ranges from the 1st historical statistical period to the 24th historical statistical period, and the average light intensity sequence corresponding to this period set is I 1 ,..., I 24 . According to the ranking, take the next period of the 1st historical statistical period, which is the 2nd historical statistical period, as the new first period and find its corresponding average light intensity sequence as I 2 ,..., I 25 . Traverse all historical statistical periods until a period set corresponding to a new first period cannot be obtained, that is, when traversing to I 24 ,..., I 47 , a period set corresponding to a new first period cannot be obtained, which is regarded as the end of traversal, and multiple period sets and their corresponding average light intensity sequences are extracted from multiple historical statistical periods.
[0061] After obtaining the average light intensity sequences corresponding to multiple period sets, in order to obtain multiple total average light values, a light intensity standard sequence needs to be obtained. In one possible implementation, the light intensity standard sequence may include the light intensity standards corresponding to each statistical period in a day. The light intensity standards for each statistical period are obtained by binarizing the light intensity standard values corresponding to each statistical period in a day. The light intensity standards for those statistical periods whose light intensity standard values are greater than or equal to a preset light intensity threshold are set to 1, and the light intensity standards for those statistical periods whose light intensity standard values are less than the light intensity threshold are set to 0.
[0062] In the embodiments of the present disclosure, the light intensity standard values corresponding to each statistical period in a day can be directly obtained using well-known data or by self-measurement. Define a preset light intensity threshold in advance, and control the error of light intensity recognition by setting the light intensity threshold. The larger the light intensity threshold, the higher the error of the obtained light intensity standard sequence, and vice versa, the lower the error of the obtained light intensity standard sequence. Set the light intensity standards for those statistical periods whose light intensity standard values corresponding to each statistical period are greater than or equal to the light intensity threshold to 1, and set the light intensity standards for those statistical periods whose light intensity standard values corresponding to each statistical period are less than the light intensity threshold to 0.
[0063] Figure 4A schematic diagram showing the standard sequence of light intensity according to an embodiment of the present disclosure is shown. As Figure 4 shown, the preset duration of each statistical period is 1 hour, so there are 24 elements in the standard sequence of light intensity in a day. By comparing the standard light intensity values corresponding to the 24 statistical periods with the light intensity threshold, the Figure 4 standard sequence of light intensity shown is obtained. Among them, the standard light intensity corresponding to 14 statistical periods from statistical period 7 to 20 is 1; the standard light intensity corresponding to 10 statistical periods from statistical period 0 to 6 and statistical period 21 to 23 is 0.
[0064] After obtaining the average light intensity sequence and the standard sequence of light intensity corresponding to multiple time period sets, the average light intensity sequence corresponding to each time period set can be multiplied by the corresponding value in the standard sequence of light intensity and then summed to obtain multiple total average light values. Figure 5 A schematic diagram showing the process of obtaining the total average light value according to an embodiment of the present disclosure is shown. As Figure 5 shown, multiply the average light intensity sequence I 24 、……I 47 by the corresponding value in the standard sequence of light intensity, and then add the average light intensity I 31 、……I 44 corresponding to the 7th to 20th statistical periods in the time period set to obtain the total average light value S 0 . Multiply the average light intensity sequence I 23 、……I 46 by the corresponding value in the standard sequence of light intensity, and similarly add the average light intensity I 30 、……I 43 corresponding to the 7th to 20th statistical periods in the time period set to obtain the total average light value S 1 . Multiply and sum in sequence to obtain all the total average light values S 0 -S 23 .
[0065] In a possible implementation manner, determining the start time point corresponding to the current time period according to the maximum value among all the total average light values may include: determining the average light intensity sequence corresponding to the maximum value among all the total average light values as the target average light intensity sequence, and determining the last statistical period among the multiple historical statistical periods corresponding to the target average light intensity sequence; based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each historical statistical period, determining the start time point of the current statistical period.
[0066] In an example, the preset duration of each statistical period is 1 hour. Then, after obtaining the total average light values S 0 -S23 After that, the maximum value can be found therein. For example, the total average light value S 15 is the maximum value, then based on S 15 and the preset duration (1 hour) of the historical statistical period, the start time point of the current statistical period can be determined. The total average light value S 15 corresponds to the average light intensity sequence I 9 、……I 32 It can be considered that each statistical period corresponding to this average light intensity sequence is the time period corresponding to 0 to 24 hours in a day, that is, I 32 corresponds to the 24th statistical period in a day, that is, the time period from 23:00 to 24:00. The current statistical period is the 48th statistical period, and there are 15 statistical periods between it and the last statistical period (the 32nd statistical period) among multiple historical statistical periods. By multiplying the number of 15 statistical periods by the preset duration (1 hour), the duration difference (15 hours) between the start time point of the current statistical period and 0:00 on the same day can be determined. Therefore, the start time point of the current statistical period is 15:00, and the current statistical period is the time period from 15:00 to 16:00.
[0067] In step S13, after determining the start time point of the current statistical period, the number of historical statistical periods of the same day before the current statistical period can be determined. According to the number of historical statistical periods of the same day, the same number of historical statistical periods are determined from the historical statistical periods closest to the current statistical period as the historical statistical periods of the same day, and the corresponding sitting posture usage duration and standing posture usage duration are accumulated to determine the historical sitting posture usage duration and historical standing posture usage duration of the user using the height-adjustable desk on the same day.
[0068] In a possible implementation manner, the historical sitting posture usage duration includes the sum of the sitting posture usage durations of each historical statistical period before the start time point on the same day, and the historical standing posture usage duration includes the sum of the standing posture usage durations of each historical statistical period before the start time point on the same day; wherein, the sitting posture usage duration of each historical statistical period is the sum of the durations of each sampling period when the user uses the height-adjustable desk in a sitting posture state in this historical statistical period; the standing posture usage duration of each historical statistical period is the sum of the durations of each sampling period when the user uses the height-adjustable desk in a standing posture state in this historical statistical period.
[0069] In one example, if the start time point of the current statistical period is 15:00, then there are 15 historical statistical periods on the same day before the current statistical period, namely from the historical statistical period with a start time point of 0:00 to the historical statistical period with a start time point of 14:00. As described above, the sitting usage duration and standing usage duration corresponding to 23 historical statistical periods are stored in the internal memory of the processor. The sitting / standing usage durations with the same number as the historical statistical periods on the same day and the closest save time are extracted from the internal memory, that is, the 15 most recent sitting usage durations A 9 -A 23 and standing usage durations B 9 -B 23 , and by accumulating the sitting usage durations A 9 -A 23 corresponding to each historical statistical period on the same day, the historical sitting usage duration on the same day can be obtained. By accumulating the standing usage durations B 9 -B 23 corresponding to each historical statistical period on the same day, the historical standing usage duration on the same day can be obtained.
[0070] In one example, after obtaining the historical sitting / standing usage durations, the first usage duration, and the second usage duration, the current total sitting usage duration and the current total standing usage duration of the user on the same day can be obtained. That is, by adding the sum of A 9 -A 23 to the first usage duration a of the current period, the current total sitting usage duration of the user on the same day can be obtained. By adding the sum of B 9 -B 23 to the second usage duration b of the current period, the current total standing usage duration of the user on the same day can be obtained.
[0071] In a possible implementation manner, the lifting desk usage state detection method may further include: after determining the current total sitting usage duration and the current total standing usage duration of the user on the same day, using the display screen of the lifting desk to display the current total sitting usage duration and / or the current total standing usage duration of the user on the same day.
[0072] After obtaining the current total sitting and standing usage durations of the user on the same day, the total sitting and standing usage durations can be displayed through the display screen of the lifting desk. It can be displayed in the form of numerical values or the percentages corresponding to the sitting usage duration and the standing usage duration can be added.
[0073] In an embodiment of the present disclosure, a lifting table using the possible lifting table usage state detection method is also proposed. The lifting table includes: a processor, a tabletop, a lifting column connected to the tabletop, a motor controller, a target sensor, a light sensor, and a display screen. The processor is configured to execute the above method, or the processor includes a processing module 30 in the lifting table usage state detection device described below. Figure 6 The schematic diagram of the lifting table usage state detection device according to an embodiment of the present disclosure is shown. As Figure 6 shown, the lifting table usage state detection device includes a mounting module 10, a detection and display module 20, a processing module 30, and motor controllers 40, 50. Among them, the detection and display module 20 includes a display 21, a target sensor 22, and a light sensor 23. The mounting module 10 is used to connect with the lifting table, and the lifting table usage state detection device is fixed under the lifting table through the mounting module 10. The target sensor 22 is used to identify whether the user in front of the lifting table is using the lifting table. The motor controllers 40, 50 are used to control the lifting of the lifting column to adjust the height of the tabletop, and to detect the current height of the lifting table. The display 21 is used to display the total duration of the user's current sitting and standing postures on the current day. The processing module 30 is used to complete the arithmetic process involved in the lifting table usage state detection method. The light sensor 23 is used to collect the light intensity in front of the lifting table.
[0074] In an embodiment of the present disclosure, the motor controller and the target sensor can be set as separate devices placed under the table. That is, in this case, the lifting table usage state detection device only needs to include a mounting module, a detection and display module, and a processing module. The detection and display module can include a display and a light sensor. The motor controller and the target sensor can work normally in both the on and off states of the lifting table usage state detection device. That is, the functions of controlling the lifting of the lifting table and identifying the user in front of the table can be separately extracted and used.
[0075] In an embodiment of the present disclosure, a method for detecting the usage state of a lifting table is proposed. The processor saves the duration of the user using the lifting table in a sitting posture and the duration of the user using the lifting table in a standing posture in each statistical period. Based on the average light intensity in each historical statistical period, the start time point of the current statistical period for which the user wants to determine the usage duration is determined. According to the determined start time point, the historical sitting usage duration and the historical standing usage duration of the user are counted. Adding the historical sitting usage duration and the first usage duration in the current statistical period can obtain the total sitting usage duration of the user on the current day. Adding the historical standing usage duration and the second usage duration in the current statistical period can obtain the total standing usage duration of the user on the current day. In this way, the sitting / standing usage duration of the user on the current day can be monitored and displayed through the display screen.
[0076] It can be understood that, without violating the principle logic, the above-mentioned method embodiments mentioned in the present disclosure can be combined with each other to form combined embodiments. For the sake of brevity, the present disclosure will not elaborate further. Those skilled in the art can understand that in the above methods of the specific implementation manner, the specific execution order of each step should be determined according to its function and possible internal logic.
[0077] In addition, the present disclosure also provides a lifting desk usage status detection device, an electronic device, a computer-readable storage medium, and a program, all of which can be used to implement any one of the lifting desk usage status detection methods provided by the present disclosure. For the corresponding technical solutions and descriptions, reference can be made to the corresponding records in the method section, which will not be elaborated further.
[0078] Figure 7 The structural schematic diagram of the lifting desk usage status detection device according to an embodiment of the present disclosure is shown. As Figure 7 shown, the device 70 may include:
[0079] An acquisition module 71, configured to acquire a first usage duration and a second usage duration of the user using the lifting desk in the current statistical period, where the first usage duration represents the duration of the user using the lifting desk in a sitting posture in the current statistical period, and the second usage duration represents the duration of the user using the lifting desk in a standing posture in the current statistical period;
[0080] A time point determination module 72, configured to determine the start time point corresponding to the current statistical period according to the average light intensity of a plurality of consecutive historical statistical periods before the current statistical period;
[0081] A historical duration determination module 73, configured to determine the historical sitting posture usage duration and the historical standing posture usage duration of the user using the lifting desk on the current day before the start time point;
[0082] A status duration determination module 74, configured to add the historical sitting posture usage duration and the first usage duration to obtain the current total sitting posture usage duration of the user on the current day, and add the historical standing posture usage duration and the second usage duration to obtain the current total standing posture usage duration of the user on the current day.
[0083] In a possible implementation, the device further includes: a height determination module, configured to determine the current height of the lifting table by using a motor controller when it is determined by a target sensor that the user uses the lifting table at the current sampling moment, where the target sensor is disposed under the tabletop of the lifting table; a state determination module, configured to determine that the user uses the lifting table in a sitting state during the sampling period corresponding to the current sampling moment when the current height is less than or equal to a preset height; or determine that the user uses the lifting table in a standing state during the sampling period corresponding to the current sampling moment when it is determined that the current height is greater than the preset height; an information storage module, configured to store, when the sum of the durations of the sampled periods that have been counted is equal to the preset duration of the statistical period, the states in which the user uses the lifting table in each of the currently counted sampled periods as the usage information for this statistical period; where the first usage duration is the sum of all the sampled periods in which the user uses the lifting table in a sitting state before the current moment in the current statistical period, and the second usage duration is the sum of all the sampled periods in which the user uses the lifting table in a standing state before the current moment in the current statistical period.
[0084] In a possible implementation, the time point determination module is further configured to: obtain the average light intensity of a plurality of historical statistical periods, where the total duration of the plurality of historical statistical periods and the current statistical period is greater than or equal to 48 hours; extract a plurality of period sets from the plurality of historical statistical periods, each of the period sets includes a plurality of consecutive historical statistical periods and the total duration of all the historical statistical periods in the period set is 24 hours, and the average light intensity corresponding to each historical statistical period in each period set forms the average light intensity sequence corresponding to the period set; multiply the corresponding values in each average light intensity sequence and the light intensity standard sequence and sum them to obtain a plurality of average total light values, where the light intensity standard sequence represents the light intensity standard for each statistical period in a day; determine the start time point corresponding to the current period according to the maximum value among all the average total light values.
[0085] In a possible implementation, determining the start time point corresponding to the current period according to the maximum value among all the average total light values includes: determining the average light intensity sequence corresponding to the maximum value among all the average total light values as the target average light intensity sequence, and determining the last statistical period among the plurality of historical statistical periods corresponding to the target average light intensity sequence; determining the start time point of the current statistical period based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each historical statistical period.
[0086] In a possible implementation, extracting a plurality of time period sets from the plurality of historical statistical time periods includes: using the historical statistical time period with the earliest order among the plurality of historical statistical time periods as the first time period; determining the time period set corresponding to the first time period, where the first time period has the earliest order among the plurality of historical statistical time periods in the corresponding time period set; sequentially determining the next historical statistical time period after the first time period among the plurality of historical statistical time periods as the new first time period according to the order, and determining the time period set corresponding to the new first time period until the time period set corresponding to the new first time period cannot be obtained.
[0087] In a possible implementation, the standard sequence of light intensity includes the light intensity standards corresponding to each statistical time period in a day. The light intensity standards for each statistical time period are obtained by binarizing the light intensity standard values corresponding to each statistical time period in a day. The light intensity standards for those statistical time periods with light intensity standard values greater than or equal to a preset light intensity threshold are set to 1, and the light intensity standards for those statistical time periods with light intensity standard values less than the light intensity threshold are set to 0.
[0088] In a possible implementation, the historical sitting usage duration includes the sum of the sitting usage durations of each historical statistical time period before the start time point on the current day, and the historical standing usage duration includes the sum of the standing usage durations of each historical statistical time period before the start time point on the current day; wherein, the sitting usage duration of each historical statistical time period is the sum of the durations of each sampling time period when the user uses the lifting table in a sitting state during this historical statistical time period; the standing usage duration of each historical statistical time period is the sum of the durations of each sampling time period when the user uses the lifting table in a standing state during this historical statistical time period.
[0089] In a possible implementation, the device further includes: a display module, configured to, after determining the current total sitting usage duration and the current total standing usage duration of the user on the current day, display the current total sitting usage duration and / or the current total standing usage duration of the user on the current day using the display screen of the lifting table.
[0090] The embodiments of the present disclosure further propose a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0091] The embodiments of the present disclosure further propose an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to call the instructions stored in the memory to execute the above method.
[0092] Embodiments of the present disclosure also provide a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0093] The electronic device may be provided as a server or other form of device.
[0094] Figure 8 A block diagram of an electronic device 1900 according to an embodiment of the present disclosure is shown. For example, the electronic device 1900 may be provided as a server or a terminal device. Referring to Figure 8 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by a memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0095] The electronic device 1900 may further include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Microsoft server operating system (Windows Server TM ), the graphical user interface-based operating system launched by Apple Inc. (Mac OS X TM ), the multi-user and multi-process computer operating system (Unix TM ), the free and open-source Unix-like operating system (Linux TM ), the open-source Unix-like operating system (FreeBSD TM ) or the like.
[0096] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as the memory 1932 including computer program instructions. The above computer program instructions can be executed by the processing component 1922 of the electronic device 1900 to complete the above method. The computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is specifically embodied as a computer storage medium. In another alternative embodiment, the computer program product is specifically embodied as a software product, such as a Software Development Kit (SDK), etc.
[0097] The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments. Their similarities or resemblances can be referred to each other. For the sake of brevity, they will not be elaborated herein again.
[0098] Those skilled in the art can understand that in the above-mentioned method of the specific implementation manner, the writing order of each step does not mean a strict execution order that constitutes any limitation on the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.
[0099] If the technical solution of this application involves personal information, before the product applying the technical solution of this application processes personal information, it has clearly informed the personal information processing rules and obtained the personal's autonomous consent. If the technical solution of this application involves sensitive personal information, before the product applying the technical solution of this application processes sensitive personal information, it has obtained the personal's separate consent and at the same time meets the requirements of "express consent". For example, at a personal information collection device such as a camera, a clear and prominent sign is set to inform that the personal information collection range has been entered and personal information will be collected. If an individual voluntarily enters the collection range, it is regarded as consenting to the collection of their personal information; or on the personal information processing device, when the personal information processing rules are informed by obvious signs / information, personal authorization is obtained through pop-up information or asking the individual to upload their personal information by themselves, etc.; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.
[0100] The various embodiments of the present disclosure have been described above. The above description is exemplary and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art in the technical field without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the various embodiments, their practical applications, or the improvement of technologies in the market, or to enable other ordinary skilled persons in the technical field to understand the various embodiments disclosed herein.
Claims
1. A method for detecting the use status of a lifting table, characterized in that: The method comprises: Obtaining a first usage duration and a second usage duration of the lifting table used by the user in a current statistical period, wherein the first usage duration indicates the duration during which the user uses the lifting table in a sitting position in the current statistical period, and the second usage duration indicates the duration during which the user uses the lifting table in a standing position in the current statistical period; Determine the start time point corresponding to the current statistical period according to the average light intensity of multiple consecutive historical statistical periods before the current statistical period; Determine the historical sitting usage time and the historical standing usage time of the lifting table used by the user on the same day before the start time point; The historical sitting usage time and the first usage time are added together to obtain the total sitting usage time of the user on that day, and the historical standing usage time and the second usage time are added together to obtain the total standing usage time of the user on that day.
2. The method according to claim 1, characterized in that The method further comprises: In the case where a target sensor is used to determine that the user is using the lifting table at the current sampling time, a motor controller is used to determine the current height of the lifting table, and the target sensor is arranged under the table top of the lifting table; When the current height is less than or equal to the preset height, it is determined that the user uses the lift table in a sitting position during the sampling period corresponding to the current sampling moment; or, when the current height is greater than the preset height, it is determined that the user uses the lift table in a standing position during the sampling period corresponding to the current sampling moment; When the sum of the durations of the statistically counted sampling periods is equal to the preset duration of the statistical period, the state of the user using the lifting table in each currently counted sampling period is stored as the usage information of the statistical period; Among them, the first usage duration is the sum of all sampling periods in the current statistical period when the user uses the lifting table in a sitting state before the current moment, and the second usage duration is the sum of all sampling periods in the current statistical period when the user uses the lifting table in a standing state before the current moment.
3. The method according to claim 1, characterized in that According to the average light intensity of multiple consecutive historical statistical periods before the current statistical period, the start time point corresponding to the current statistical period is determined, including: Obtaining the average light intensity of multiple historical statistical periods, where the sum of the durations of the multiple historical statistical periods and the current statistical period is greater than or equal to 48 hours; Extracting multiple time period sets from the multiple historical statistical time periods, each of the time period sets includes multiple continuous historical statistical time periods and the sum of the durations of all historical statistical time periods in the time period set is 24 hours, and the average light intensity corresponding to each historical statistical time period in each of the time period sets forms an average light intensity sequence corresponding to the time period set; Multiplying each of the average light intensity sequences with the corresponding values in the light intensity standard sequence and then summing them up to obtain a plurality of average light total values, wherein the light intensity standard sequence represents the light intensity standard for each statistical period in a day; The starting time point corresponding to the current period is determined according to the maximum value of all average illumination total values.
4. The method according to claim 3, characterized in that The start time point corresponding to the current period is determined according to the maximum value of all average light values, including: Determine an average illumination intensity sequence corresponding to the maximum value among all average illumination total values as a target average illumination intensity sequence, and determine the last statistical period among multiple historical statistical periods corresponding to the target average illumination intensity sequence; The starting time point of the current statistical period is determined based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each of the historical statistical periods.
5. The method according to claim 3, characterized in that: Extracting a plurality of time period sets from the plurality of historical statistical time periods includes: The historical statistical period ranked first among the multiple historical statistical periods is taken as the first period; Determine a time period set corresponding to the first time period, wherein the first time period is ranked first among multiple historical statistical time periods in the corresponding time period set; The next historical statistical period after the first period in the multiple historical statistical periods is determined as a new first period according to the order, and a period set corresponding to the new first period is determined until the period set corresponding to the new first period cannot be obtained.
6. The method according to claim 3, characterized in that: The illumination intensity standard sequence includes illumination intensity standards corresponding to each statistical period of a day. The light intensity standard for each statistical period is obtained by binarizing the light intensity standard value corresponding to each statistical period in a day. The illumination intensity standard of each statistical time period whose illumination intensity standard value is greater than or equal to the preset illumination intensity threshold is set to 1, and the illumination intensity standard of each statistical time period whose illumination intensity standard value is less than the illumination intensity threshold is set to 0.
7. The method according to claim 2, characterized in that: The historical sitting posture usage time includes the sum of the sitting posture usage time in each historical statistical period before the starting time point on the same day, and the historical standing posture usage time includes the sum of the standing posture usage time in each historical statistical period before the starting time point on the same day; The sitting usage time of each historical statistical period is the sum of the duration of each sampling period in which the user uses the lifting table in a sitting state during the historical statistical period; The standing usage duration of each historical statistical period is the sum of the durations of each sampling period in which the user uses the lifting table in a standing state during the historical statistical period.
8. The method according to claim 1, characterized in that: The method further comprises: After determining the total duration of use of the current sitting posture and the total duration of use of the current standing posture by the user on that day, the display screen of the lifting table is used to display the total duration of use of the current sitting posture and / or the total duration of use of the current standing posture by the user on that day.
9. A device for detecting the use status of a lifting table, characterized in that: The device comprises: An acquisition module, configured to acquire a first usage duration and a second usage duration of the lifting table used by the user in a current statistical period, wherein the first usage duration indicates the duration during which the user uses the lifting table in a sitting position in the current statistical period, and the second usage duration indicates the duration during which the user uses the lifting table in a standing position in the current statistical period; A time point determination module is used to determine the start time point corresponding to the current statistical period according to the average light intensity of a plurality of consecutive historical statistical periods before the current statistical period; A historical duration determination module is used to determine the historical sitting usage time and historical standing usage time of the lifting table used by the user on the same day before the start time point; The state duration determination module is used to add the historical sitting usage time and the first usage time to obtain the total sitting usage time of the user on that day, and to add the historical standing usage time and the second usage time to obtain the total standing usage time of the user on that day.
10. The device according to claim 9, characterized in that The device also includes: A height determination module, for determining the current height of the lifting table by using a motor controller when a target sensor is used to determine that the user is using the lifting table at a current sampling time, wherein the target sensor is disposed below the table top of the lifting table; A state determination module, configured to determine, when the current height is less than or equal to a preset height, that the user uses the lift table in a sitting state during a sampling period corresponding to the current sampling moment; or, when it is determined that the current height is greater than a preset height, that the user uses the lift table in a standing state during a sampling period corresponding to the current sampling moment; An information storage module, for storing the state of the user using the lifting table in each sampling period currently counted as usage information of the statistical period when the sum of the durations of the statistically counted sampling periods is equal to the preset duration of the statistical period; Among them, the first usage duration is the sum of all sampling periods in the current statistical period when the user uses the lifting table in a sitting state before the current moment, and the second usage duration is the sum of all sampling periods in the current statistical period when the user uses the lifting table in a standing state before the current moment.
11. The device according to claim 9, characterized in that The time point determination module is also used for: Obtaining the average light intensity of multiple historical statistical periods, where the sum of the durations of the multiple historical statistical periods and the current statistical period is greater than or equal to 48 hours; Extracting multiple time period sets from the multiple historical statistical time periods, each of the time period sets includes multiple continuous historical statistical time periods and the sum of the durations of all historical statistical time periods in the time period set is 24 hours, and the average light intensity corresponding to each historical statistical time period in each of the time period sets forms an average light intensity sequence corresponding to the time period set; Multiplying each of the average light intensity sequences with the corresponding values in the light intensity standard sequence and then summing them up to obtain a plurality of average light total values, wherein the light intensity standard sequence represents the light intensity standard for each statistical period in a day; The starting time point corresponding to the current period is determined according to the maximum value of all average illumination total values.
12. The device according to claim 11, characterized in that The start time point corresponding to the current period is determined according to the maximum value of all average light values, including: Determine an average illumination intensity sequence corresponding to the maximum value among all average illumination total values as a target average illumination intensity sequence, and determine the last statistical period among multiple historical statistical periods corresponding to the target average illumination intensity sequence; The starting time point of the current statistical period is determined based on the number of statistical periods between the current statistical period and the last statistical period and the preset duration of each of the historical statistical periods.
13. The device according to claim 11, characterized in that The extracting a plurality of time period sets from the plurality of historical statistical time periods comprises: The historical statistical period ranked first among the multiple historical statistical periods is taken as the first period; Determine a time period set corresponding to the first time period, wherein the first time period is ranked first among multiple historical statistical time periods in the corresponding time period set; The next historical statistical period after the first period in the multiple historical statistical periods is determined as a new first period according to the order, and a period set corresponding to the new first period is determined until the period set corresponding to the new first period cannot be obtained.
14. The device according to claim 11, characterized in that The illumination intensity standard sequence includes illumination intensity standards corresponding to each statistical period of a day. The light intensity standard for each statistical period is obtained by binarizing the light intensity standard value corresponding to each statistical period in a day. The illumination intensity standard of each statistical time period whose illumination intensity standard value is greater than or equal to the preset illumination intensity threshold is set to 1, and the illumination intensity standard of each statistical time period whose illumination intensity standard value is less than the illumination intensity threshold is set to 0.
15. The device according to claim 10, characterized in that The historical sitting posture usage time includes the sum of the sitting posture usage time in each historical statistical period before the starting time point on the same day, and the historical standing posture usage time includes the sum of the standing posture usage time in each historical statistical period before the starting time point on the same day; The sitting usage time of each historical statistical period is the sum of the duration of each sampling period in which the user uses the lifting table in a sitting state during the historical statistical period; The standing usage duration of each historical statistical period is the sum of the durations of each sampling period in which the user uses the lifting table in a standing state during the historical statistical period.
16. The device according to claim 9, characterized in that The device also includes: The display module is used to display the total usage time of the current sitting posture and / or the total usage time of the current standing posture of the user on that day using the display screen of the lifting table after determining the total usage time of the current sitting posture and the total usage time of the current standing posture of the user on that day.
17. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 8.
18. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
19. A lifting table, characterized in that: include: A processor, a table top, a lifting column connected to the table top, a motor controller, a target sensor, a light sensor and a display screen, wherein the processor is configured to execute the method according to any one of claims 1 to 8, Among them, the motor controller is used to control the lifting and lowering of the lifting column to adjust the height of the table top, the target sensor is located under the table top and is used to identify whether the user is using the lifting table, the light sensor is used to collect the light intensity in front of the lifting table, and the display screen is used to display the user's current sitting usage time and / or standing usage time of the day.