Electric toothbrush control method and device, terminal equipment and storage medium

By analyzing the test point locations in brushing images, the electric toothbrush automatically adjusts its vibration frequency, solving the problems of cumbersome and inaccurate adjustments in existing technologies, thus improving cleaning effectiveness and user experience.

CN114848204BActive Publication Date: 2026-05-15DONGGUAN LEBOND ELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGGUAN LEBOND ELECTRONICS TECH CO LTD
Filing Date
2022-04-28
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing electric toothbrushes have cumbersome and inaccurate methods for adjusting vibration frequency. Manual adjustment by users is also tedious, and the results from built-in sensors such as gyroscopes are prone to drift, making precise adjustment impossible.

Method used

By acquiring test point locations from brushing images, the brushing amplitude and frequency are analyzed, and the vibration frequency of the electric toothbrush is adjusted to suit user needs.

Benefits of technology

It enables precise adjustment of the vibration frequency of the electric toothbrush, improving oral cleaning effectiveness and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114848204B_ABST
    Figure CN114848204B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of electric toothbrushes, and provides an electric toothbrush control method, device, terminal equipment and computer readable storage medium. The control method comprises: acquiring a plurality of first tooth brushing pictures within a first preset time, wherein the first tooth brushing pictures comprise first test points and second test points; determining a tooth brushing swing and a tooth brushing frequency according to relative positions between the first test points and the second test points corresponding to each of the first tooth brushing pictures; and if the tooth brushing swing is less than a preset swing threshold value and the tooth brushing frequency is greater than a preset frequency threshold value, adjusting a vibration frequency of the electric toothbrush. The application analyzes actual demands of a user, and then determines whether the vibration frequency of the electric toothbrush needs to be adjusted to obtain an effective tooth brushing effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electric toothbrush technology, and in particular relates to an electric toothbrush control method, device, terminal equipment and storage medium. Background Technology

[0002] Electric toothbrushes use a high-speed vibrating motor to rotate or vibrate the brush head, achieving a cleaning effect. Most existing electric toothbrushes require manual adjustment of the vibration frequency by the user, or rely on built-in sensors (such as gyroscopes) to detect the amplitude and frequency of the user's hand movements during brushing to adjust the vibration frequency. Of these methods, manual adjustment is cumbersome; and with built-in sensors, the drift in gyroscope readings can lead to inaccurate results, making it difficult to precisely adjust the toothbrush's vibration frequency. Summary of the Invention

[0003] This application provides an electric toothbrush control method, device, terminal equipment, and storage medium, which can achieve precise adjustment of the vibration frequency of the electric toothbrush.

[0004] In a first aspect, embodiments of this application provide a method, including:

[0005] Acquire a number of first brushing images within a first preset time period, wherein the first brushing images include a first test point and a second test point;

[0006] The brushing amplitude and brushing frequency are determined based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images.

[0007] If the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold, then the vibration frequency of the electric toothbrush is adjusted.

[0008] In the aforementioned electric toothbrush control method, after obtaining brushing images including a first test point and a second test point, the relative positions of the two test points can be analyzed to obtain the real-time brushing amplitude and brushing frequency. By comparing the brushing amplitude and brushing frequency with preset thresholds, the user's actual needs can be determined, thus deciding whether to adjust the electric toothbrush's vibration frequency. It should be noted that, compared to traditional electric toothbrushes, this method achieves the goal of precisely adjusting the electric toothbrush's vibration frequency according to the customer's actual needs, helping users achieve effective oral cleaning.

[0009] In one possible implementation of the first aspect, acquiring a plurality of first brushing images within a first preset time period includes:

[0010] Several second brushing images are captured within the first preset time period;

[0011] Determine the type corresponding to each of the second brushing images;

[0012] According to the type corresponding to each second brushing image, mark the first test point and the second test point on each second brushing image. The first test point is the test point located on the face, and the second test point is the test point located on the electric toothbrush.

[0013] The second brushing image, which includes the first test point and the second test point, is determined as the first brushing image.

[0014] In one possible implementation of the first aspect, the type corresponding to the second brushing image includes a frontal brushing image, a brushing image of the face on the side holding the toothbrush, and a brushing image of the face on the side not holding the toothbrush.

[0015] The step of marking the first test point and the second test point on each of the second brushing images according to the type corresponding to each of the second brushing images includes:

[0016] If the type of the second brushing image is a frontal brushing image, then the first test point is the tip of the nose, and the second test point is the midpoint of the toothbrush handle.

[0017] If the type of the second brushing image is a brushing image of the face on the side without holding a toothbrush, and the brushing image includes the tooth area and the middle tooth area on the side without holding a toothbrush, then the first test point is the midpoint of the ear on the side holding the toothbrush, and the second test point is located at the bottom of the toothbrush.

[0018] If the type corresponding to the second brushing image is a brushing image of the face on the side without holding a toothbrush, and the brushing image includes the tooth area on the side holding a toothbrush, then the first test point is the midpoint of the ear on the side holding a toothbrush, and the second test point is located at the first joint of the fist on the side holding a toothbrush.

[0019] If the type corresponding to the second brushing image is a brushing image of the face on the side holding the toothbrush, and the brushing image includes the tooth area and the middle tooth area on the side not holding the toothbrush, then the first test point is the midpoint of the ear on the side not holding the toothbrush, and the second test point is located at the first joint of the fist on the side holding the toothbrush.

[0020] If the type corresponding to the second brushing image is a brushing image of the face on the side where the toothbrush is held, and the brushing image includes the tooth area on the side where the toothbrush is held, then the first test point is the midpoint of the ear on the side where the toothbrush is not held, and the second test point is located at the bottom of the toothbrush.

[0021] In one possible implementation of the first aspect, determining the brushing amplitude and brushing frequency based on the relative positions between the first test points and the second test points corresponding to each of the first brushing images includes:

[0022] Obtain a dataset showing the distance between the first test point and the second test point at third preset time intervals;

[0023] Determine the maximum and minimum values ​​in the dataset;

[0024] Calculate the difference between the maximum value and the minimum value, and determine the brushing amplitude based on the difference;

[0025] Calculate the time difference between two adjacent minimum values, and determine the brushing frequency based on the time difference.

[0026] In one possible implementation of the first aspect, adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes:

[0027] If the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold, then the vibration frequency of the electric toothbrush in the current brushing area is maintained.

[0028] Increase the vibration frequency of the electric toothbrush in the unbrushed areas of the teeth other than the currently brushed area;

[0029] The values ​​of the preset swing amplitude threshold and the preset frequency threshold correspond to the type of the second brushing image.

[0030] In one possible implementation of the first aspect, adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes:

[0031] The duration of the electric toothbrush brushing state in the first state is obtained, wherein the first state includes a state under a first condition, the first condition including the brushing amplitude being less than the preset amplitude threshold and the brushing frequency being greater than the preset frequency threshold;

[0032] If the duration is detected to be greater than the second preset time, the vibration frequency of the electric toothbrush is adjusted.

[0033] Secondly, embodiments of this application provide an apparatus, comprising:

[0034] The acquisition module is configured to acquire a plurality of first brushing images within a first preset time period, wherein the first brushing images include a first test point and a second test point;

[0035] The determination module is configured to determine the brushing amplitude and brushing frequency based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images.

[0036] The adjustment module is configured to adjust the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold.

[0037] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the electric toothbrush control method as described in any one of the first aspects above.

[0038] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the electric toothbrush control method as described in any one of the first aspects above.

[0039] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the electric toothbrush control method described in any one of the first aspects.

[0040] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a schematic flowchart of an embodiment of the electric toothbrush control method provided in this application;

[0043] Figure 2 This is a schematic diagram of the structure of a smart wash mirror provided in one embodiment of this application;

[0044] Figure 3 This is a schematic diagram of feature points in a brushing image provided in an embodiment of this application;

[0045] Figure 4 This is a schematic diagram of the structure of an electric toothbrush control device provided in an embodiment of this application;

[0046] Figure 5 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0047] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0048] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0049] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0050] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0051] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0052] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.

[0053] See Figure 1 This is a flowchart illustrating the electric toothbrush control method provided in an embodiment of this application. It is intended as an example and not a limitation. The method may include the following steps:

[0054] S100. Obtain several first brushing images within a first preset time period. These first brushing images include a first test point and a second test point. Here, the first test point is a feature point on the face, and the second test point is a feature point on the toothbrush or a feature point on the part of the body holding the toothbrush. The specific selection of test points will vary depending on the different first brushing images; see the following section for details. Figure 3 The description.

[0055] S200. Determine the brushing amplitude and brushing frequency based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images.

[0056] As the user brushes their teeth, the first and second test points change continuously with the brushing motion, and their relative positions also change continuously. Therefore, the brushing amplitude and brushing frequency can be obtained by analyzing the relative positions of the two.

[0057] S300. If the brushing amplitude is less than the preset amplitude threshold and the brushing frequency is greater than the preset frequency threshold, then adjust the vibration frequency of the electric toothbrush.

[0058] Here, brushing amplitude is the oscillation amplitude of the electric toothbrush when brushing, brushing frequency is the frequency at which the user swings the toothbrush when brushing, vibration frequency is the vibration frequency of the electric toothbrush when brushing, amplitude threshold is the threshold value of brushing amplitude, and frequency threshold is the threshold value of brushing frequency.

[0059] The detailed description of step S300 below explains how to adjust the vibration frequency based on the comparison results.

[0060] Within a first preset time period, such as 1 minute, a first brushing image is acquired, including a first detection point and a second detection point. The actual brushing amplitude and brushing frequency are obtained by analyzing the relative positions between the first and second detection points. After obtaining the brushing amplitude and brushing frequency data, comparing their magnitudes with preset thresholds determines whether the electric toothbrush's current brushing state is normal. For example, a brushing frequency greater than the preset frequency threshold indicates brushing is faster than normal, while a brushing amplitude less than the preset amplitude threshold indicates a shorter brushing area, suggesting the user is brushing too hastily. In this case, the electric toothbrush's vibration frequency needs to be adjusted according to the user's needs. For example, the vibration frequency can be increased, and / or the brushing time reduced, thereby saving the user time while improving oral hygiene.

[0061] Preferably, in step S100, acquiring a plurality of first brushing images within a first preset time period includes:

[0062] S110. Collect several second brushing images within the first preset time period.

[0063] In this embodiment, the electric toothbrush may include a device for capturing images. The image-capturing device captures 120 to 180 second brushing images, i.e., original brushing images, within a first preset time period, such as 1 minute.

[0064] refer to Figure 2 The aforementioned device for capturing images may include a smart bathroom mirror, which may include: a front-facing camera 210, a light strip 220, a first display screen 230, a second display screen 240, a charging cable 250, a first speaker grille 260 and a second speaker grille 270, an S3C6410 main control development board, a Bluetooth module, an outer frame 2001, an inner frame 2002, a toothbrush holder 280, a light adjustment button 2003, and a power button 2004. When the user presses the power button 2004, the first display screen 230 and the second display screen 240 display the boot interface. After the boot interface ends, the light strip 220 lights up, and the light button 2003 can adjust the brightness of the light strip. The first display screen 230 and the second display screen 240 can return to mirror mode. The first display screen 230 is used to display the date, weather conditions, and can make video calls or telephone calls. The second display screen 240 is used to display the number of days that the user's family members have brushed their teeth and the last brushing score. The brushing score can be obtained by analyzing the corresponding tooth area and brushing time. During video calls and other calls, the second display screen 240 can be used to view the current brushing area. The first display screen 230 and the second display screen 240 can be used to show how many family members have not brushed their teeth. The toothbrush holder 280 is used to hold the toothbrush. The front-facing camera 210 can be used to identify the user's family members through facial recognition. Users can set their personal brushing habits through an electric toothbrush app on a mobile phone or other terminal device. After the smart bathroom mirror recognizes the current brushing user, the electric toothbrush can start cleaning teeth according to the user's set brushing habits, such as whether the user prefers to hold the toothbrush with their left or right hand, or which area the user prefers to start brushing from. The first speaker 260 and the second speaker 270 can be used to play music according to settings, or for voice reminders. The smart bathroom mirror communicates with the electric toothbrush via a Bluetooth module. The smart bathroom mirror is the host, and the electric toothbrush is the slave. The electric toothbrush app can connect the smart bathroom mirror and the electric toothbrush. When the brushing data of the electric toothbrush is transmitted to the smart bathroom mirror via the Bluetooth module, the second display screen 240 displays the current brushing interface.

[0065] The smart bathroom mirror can identify the current user and activate different brushing modes for each user, catering to their individual needs. The first display screen 230 and the second display screen 240 can display different content based on settings, such as one displaying the date and weather, and the other displaying video calls or showing the current brushing area. The light strip 220 can also adjust its brightness according to the user's needs. The first speaker 260 and the second speaker 270 can play the user's favorite music or provide voice reminders during brushing. Furthermore, it can record the number of brushing days and brushing scores for each user. These personalized features greatly enhance the user's brushing experience.

[0066] S120. Determine the type corresponding to each of the above-mentioned second brushing teeth pictures.

[0067] After obtaining the second brushing image, it is necessary to classify it according to the type of image, such as front brushing image, left brushing image, right brushing image, etc. For specific classification methods, please refer to the detailed description of step S120 below.

[0068] S130. Mark the first test point and the second test point on each of the second brushing images according to the type corresponding to each of the second brushing images. The first test point is a test point located on the face, and the second test point is a test point located on the electric toothbrush.

[0069] Based on the second brushing image, the type of the second brushing image is determined. Then, corresponding first and second test points are marked according to different second brushing image types. This allows for the acquisition of real-time data for different types of brushing images. The marking of the first and second test points will change accordingly depending on the type of the second brushing image. For a detailed description of the marking method for the first and second test points, please refer to the following description of step S130. By classifying and marking the first and second test points, more precise user needs can be obtained, allowing for more accurate adjustment of the electric toothbrush's vibration frequency and achieving a more effective brushing result.

[0070] S140. The second brushing image, which includes the first test point and the second test point, is determined as the first brushing image.

[0071] After deleting images that do not include the first test point and / or the second test point from the second brushing image, the resulting second brushing image that includes both the first and second test points is determined as the first brushing image.

[0072] Preferably, in step S200, determining the brushing amplitude and brushing frequency of the electric toothbrush based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images includes:

[0073] S210. Obtain a dataset of the distance between the first test point and the second test point at third preset time intervals.

[0074] The third preset time here is less than or equal to the first preset time. That is, a dataset of any time within the first preset time can be obtained according to actual needs. Due to the continuity and variability of brushing actions, if the third preset time is small, the obtained brushing amplitude and brushing frequency will also be relatively small. Different third preset times can be set to adjust the precision of the electric toothbrush's vibration frequency according to the user's actual needs.

[0075] refer to Figure 3 If the type corresponding to the second brushing image is a frontal brushing image, the first test point is the tip of the nose 51, and the second test point is the midpoint of the toothbrush handle 31. Then the distance between the first test point and the second test point is the distance between the tip of the nose 51 and the midpoint of the toothbrush handle 31. Generally speaking, a toothbrush consists of two parts: the toothbrush head and the handle. The midpoint of the handle is the midpoint of the toothbrush handle.

[0076] If the type of the second brushing image is a brushing image of the left side of the face, and the brushing image includes the left tooth area and the middle tooth area, then the first test point is the midpoint 61 of the right ear, and the second test point is located at the bottom 32 of the toothbrush. The distance between the first test point and the second test point is the distance between the midpoint 61 of the right ear and the bottom 32 of the toothbrush.

[0077] If the type corresponding to the second brushing image is a brushing image of the left side of the face, and the brushing image includes the right side of the teeth, then the first test point is the midpoint 61 of the right ear, and the second test point is located at the first joint 81 of the right fist. The distance between the first test point and the second test point is the distance between the midpoint 61 of the right ear and the first joint 81 of the right fist.

[0078] If the type corresponding to the second brushing image is a brushing image of the right side of the face, and the brushing image includes the left side of the teeth and the middle side of the teeth, then the first test point is the midpoint 62 of the left ear, and the second test point is located at the first joint 81 of the right fist. The distance between the first test point and the second test point is the distance between the midpoint 62 of the left ear and the first joint 81 of the right fist.

[0079] If the type corresponding to the second brushing image is a brushing image of the right side of the face, and the brushing image includes the right side of the teeth, then the first test point is the midpoint 62 of the left ear, and the second test point is the bottom of the toothbrush 32. The distance between the first test point and the second test point is the distance between the midpoint 62 of the left ear and the bottom of the toothbrush 32.

[0080] Here, by determining the positional change between the first test point and the second test point, the positional change between the toothbrush and the face can be determined, thereby allowing the calculation of the brushing amplitude and brushing frequency of the electric toothbrush. The specific calculation method is described below for steps S220 to S240. The first test point is located on the face, and the second test point is located on the electric toothbrush. If the type corresponding to the second brushing image is a frontal brushing image, the face can be used as the best sampling point. The positional change between the toothbrush and the face can be easily determined by analyzing the positional relationship between the tip of the nose and the midpoint of the toothbrush handle. The first and second test points can be selected at the tip of the nose and the midpoint of the toothbrush handle, respectively. If the type of the second brushing image corresponds to the left side of the face, then the ear that can be captured needs to be used as the first test point on the face. Since the distance between the ear and the midpoint of the toothbrush handle is relatively short, the second test point needs to be changed to a second test point that is relatively better at measuring the distance between the first and second test points. That is, if the second brushing image includes the left and middle tooth areas, then the bottom of the toothbrush is better chosen as the second test point. If the second brushing image includes the right tooth area, then the first joint 81 of the right fist is better chosen as the second test point. Similarly, if the type of the second brushing image corresponds to a brushing image of the right side of the face, then the ear that can be captured needs to be used as the first test point on the face. Since the distance between the ear and the midpoint of the toothbrush handle is relatively short, the second test point needs to be changed to a second test point that is relatively better at testing the distance between the first and second test points. That is, if the second brushing image includes the left and middle tooth areas, then the first joint 81 of the right fist is better chosen as the second test point. If the second brushing image includes the right tooth area, then the bottom of the toothbrush is better chosen as the second test point.

[0081] S220. Determine the maximum and minimum values ​​in the dataset;

[0082] S230. Calculate the difference between the maximum value and the minimum value, and determine the brushing amplitude of the electric toothbrush based on the difference;

[0083] S240. Calculate the time difference between two adjacent minimum values, and determine the vibration frequency of the electric toothbrush based on the time difference.

[0084] Within a first preset time period (which can be 1 minute), the distance between the first and second test points is calculated every third preset time interval (e.g., every 2 seconds). This distance ranges from 0.5 cm to 1.5 cm. Here, the first preset time is the time required to capture several second brushing images at once (e.g., 1 minute), and the third preset time is the time required to calculate the distance between the first and second test points each time (e.g., 2 seconds). Subtracting the maximum and minimum values ​​of these distances yields the brushing amplitude. For example, if the minimum distance is 0.5 cm and the maximum is 1.5 cm, the brushing amplitude is 10 cm. Within 2 seconds, the time difference between two adjacent minimum distances is 0.5 seconds. Taking the reciprocal of 0.5 seconds gives a brushing frequency of 2 Hz.

[0085] In step S300, adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes:

[0086] S310. If the brushing amplitude is less than the preset amplitude threshold and the vibration frequency is greater than the preset frequency threshold, then maintain the vibration frequency of the current brushing area.

[0087] S320. Increase the vibration frequency of the electric toothbrush in the unbrushed areas of the teeth other than the currently brushed areas.

[0088] When brushing your teeth normally, you can divide your oral cavity into three areas: the left side (left side of the face), the middle side (where the upper and lower incisors are located), and the right side (right side of the face). When brushing the left and middle sides, the toothbrush head is on the left side of the teeth, and the handle is on the right side. Conversely, when brushing the right side, the toothbrush head is on the right side of the teeth, and the handle is on the left. The area being brushed is the area the toothbrush is currently working on, while the area not being brushed is the area the toothbrush is not yet working on.

[0089] Based on big data statistics, a preset swing amplitude threshold of 8 cm and a preset frequency threshold of 2 Hz are set. The calculated brushing amplitude and brushing frequency are compared with the preset swing amplitude threshold and preset frequency threshold, respectively. If the brushing amplitude is less than the preset swing amplitude threshold and the brushing frequency is greater than the preset frequency threshold, it is determined that the current user needs to brush their teeth quickly. The vibration frequency of the electric toothbrush can then be adjusted to maintain the vibration frequency of the currently brushed area and increase the vibration frequency of the unbrushed areas to meet the actual brushing needs.

[0090] It is important to note that the first and second feature points mentioned above correspond to the type of the second brushing image. Changes in the positions of these feature points will also cause corresponding adjustments to the preset swing threshold and preset frequency threshold. For example, if the brushing image corresponds to a frontal brushing image, the preset swing threshold can be 8cm and the preset frequency threshold can be 2Hz. If the brushing image corresponds to a left-side or right-side brushing image, the preset swing threshold can be 3cm and the preset frequency threshold can be 5Hz. Therefore, regardless of whether the user is brushing their teeth in front of the smart mirror or on their left / right side, the smart mirror can accurately capture the user's brushing behavior and provide different thresholds for comparison based on different situations. This allows for accurate judgment of user needs, more realistically meeting the user's actual brushing requirements and improving the user experience.

[0091] Preferably, in step S300, adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes:

[0092] S310. Obtain the duration of the electric toothbrush brushing state in the first state, wherein the first state includes a state under a first condition, the first condition including the brushing amplitude being less than the preset amplitude threshold and the brushing frequency being greater than the preset frequency threshold.

[0093] S320. If the duration is detected to be greater than the second preset time, the vibration frequency of the electric toothbrush is adjusted.

[0094] During brushing, there may be instances where the brushing amplitude is less than the preset amplitude threshold and the brushing frequency is greater than the preset frequency threshold, either continuously or intermittently.

[0095] In one application scenario, if the above state is continuously detected for a second preset time, such as 3 seconds, it indicates that the user's intention to adjust the brushing frequency is more certain, and the vibration frequency of the electric toothbrush should be adjusted.

[0096] In one application scenario, if, over a sustained period of time, such as 3 seconds, it is no longer possible to continuously detect brushing amplitude being less than a preset amplitude threshold and brushing frequency being greater than a preset frequency threshold—for example, if within 3 seconds, the brushing amplitude initially appears to be less than the preset amplitude threshold, then gradually increases and exceeds the preset amplitude threshold, and the brushing frequency initially appears to be greater than the preset frequency threshold, then gradually decreases and falls below the preset frequency threshold—this indicates that the current state is recovering, and the relevant data collection for the specified period of time will resume.

[0097] At the same time, users can set the vibration frequency of the electric toothbrush to the preset vibration frequency when it is turned on, regardless of whether the vibration frequency is adjusted during the current brushing process.

[0098] See Figure 3 This is a schematic diagram of the feature points of a brushing image provided in the embodiments of this application. It is intended as an example and not a limitation. Preferably, the types of the above-mentioned second brushing images include frontal brushing images, brushing images of the face on the side where the toothbrush is held, and brushing images of the face on the side where the toothbrush is not held. Here, it is assumed that the user is holding the toothbrush with their right hand. Then, the left-side brushing image is the brushing image of the face on the side where the toothbrush is not held, and the right-side brushing image is the brushing image of the face on the side where the toothbrush is held. In step S120, the specific method for determining the type corresponding to each of the above-mentioned second brushing images may include:

[0099] Obtain the feature point ratio of the second brushing image, that is, the ratio of the distance between the left eye feature point 21 and the nose tip feature point 51 to the distance between the right eye feature point 22 and the nose tip feature point 51.

[0100] If the ratio of the above feature points is within a first preset range, such as 0.5 to 0.55, then the brushing image is determined to be a frontal brushing image.

[0101] If the feature point ratio is within a second preset range, such as 0.55 to 0.7, then the brushing image is determined to be a brushing image of the right side of the face.

[0102] If the reciprocal of the ratio is within a third preset range, such as 0.55 to 0.7, then the brushing image is determined to be a brushing image of the left side of the face.

[0103] In actual operation, there may be cases where the eyes cannot be detected in the second brushing image, that is, there are no eye feature points, or there are only eye feature points on one side. In such cases, it will be judged as an abnormal state, and no adjustment will be made to the vibration frequency of the electric toothbrush.

[0104] By collecting facial feature points and analyzing the relationships between them, the type of the second brushing image can be easily determined. It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of this application's embodiments.

[0105] Corresponding to the method described in the above embodiments, Figure 4 This is a structural block diagram of the electric toothbrush control device provided in the embodiments of this application. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0106] Reference Figure 4 The device 7 includes:

[0107] The acquisition module 71 is configured to acquire a plurality of first brushing images within a first preset time period, wherein the first brushing images include a first test point and a second test point.

[0108] The determining module 72 is configured to determine the brushing amplitude and brushing frequency of the electric toothbrush based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images; the adjusting module 73 is configured to adjust the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold.

[0109] The acquisition module 71 obtains a first brushing image including a first test point and a second test point. The determination module 72 analyzes the relative position between the first test point and the second test point to obtain the brushing amplitude and brushing frequency. If the adjustment module 73 obtains signals that the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold, the vibration frequency of the electric toothbrush is adjusted. By detecting and analyzing the real-time state of the toothbrush, it is possible to know whether the user's actual needs require fast brushing, thereby adjusting the vibration frequency of the electric toothbrush in a timely manner to obtain a better brushing effect.

[0110] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0111] in addition, Figure 4 The electric toothbrush control device shown can be a software unit, a hardware unit, or a combination of software and hardware built into an existing terminal device. It can also be integrated into the terminal device as a separate accessory, or it can exist as a standalone terminal device.

[0112] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0113] Figure 5 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. For example... Figure 5 As shown, the terminal device 4 in this embodiment includes: at least one processor 40 ( Figure 5 (Only one is shown) a processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, which, when executing the computer program 42, implements the steps in any of the above-described embodiments of the electric toothbrush control method.

[0114] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. This terminal device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 5 This is merely an example of terminal device 4 and does not constitute a limitation on terminal device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0115] The processor 40 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0116] In some embodiments, the memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. In other embodiments, the memory 41 may be an external storage device of the terminal device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal device 4. Furthermore, the memory 41 may include both internal and external storage units of the terminal device 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0117] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0118] This application provides a computer program product that, when run on a terminal device, enables the terminal device to implement the steps described in the various method embodiments above.

[0119] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0120] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0121] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0122] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0123] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0124] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for controlling an electric toothbrush, characterized in that, The control method includes: Acquire a number of first brushing images within a first preset time period. The first brushing images include a first test point and a second test point. The first test point is a test point located on a human face, and the second test point is a test point located on the electric toothbrush. The brushing amplitude and brushing frequency are determined based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images. If the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold, then the vibration frequency of the electric toothbrush is adjusted.

2. The electric toothbrush control method according to claim 1, characterized in that, The step of acquiring a plurality of first brushing images within a first preset time period includes: Several second brushing images are captured within the first preset time period; Determine the type corresponding to each of the second brushing images; Mark the first test point and the second test point on each of the second brushing images according to the type corresponding to each of the second brushing images; The second brushing image, which includes the first test point and the second test point, is determined as the first brushing image.

3. The electric toothbrush control method according to claim 2, characterized in that, The types of the second brushing teeth images include frontal brushing teeth images, brushing teeth images of the face with the toothbrush held on one side, and brushing teeth images of the face without the toothbrush held on the other side. The step of marking the first test point and the second test point on each of the second brushing images according to the type corresponding to each of the second brushing images includes: If the type of the second brushing image is a frontal brushing image, then the first test point is the tip of the nose, and the second test point is the midpoint of the toothbrush handle. If the type of the second brushing image is a brushing image of the face on the side without holding a toothbrush, and the second brushing image includes the tooth area and the middle tooth area on the side without holding a toothbrush, then the first test point is the midpoint of the ear on the side holding the toothbrush, and the second test point is located at the bottom of the toothbrush. If the type corresponding to the second brushing image is a brushing image of the face on the side without holding a toothbrush, and the brushing image includes the tooth area on the side holding a toothbrush, then the first test point is the midpoint of the ear on the side holding a toothbrush, and the second test point is located at the first joint of the fist on the side holding a toothbrush. If the type corresponding to the second brushing image is a brushing image of the face on the side holding the toothbrush, and the brushing image includes the tooth area and the middle tooth area on the side not holding the toothbrush, then the first test point is the midpoint of the ear on the side not holding the toothbrush, and the second test point is located at the first joint of the fist on the side holding the toothbrush. If the type corresponding to the second brushing image is a brushing image of the face on the side where the toothbrush is held, and the brushing image includes the tooth area on the side where the toothbrush is held, then the first test point is the midpoint of the ear on the side where the toothbrush is not held, and the second test point is located at the bottom of the toothbrush.

4. The electric toothbrush control method according to claim 2, characterized in that, Determining the type corresponding to each of the second brushing images includes: Obtain the feature point ratio of the second brushing image. The feature point ratio is the ratio of the distance between the eye feature point and the nose tip feature point on the side without holding the toothbrush to the distance between the eye feature point and the nose tip feature point on the side with the toothbrush. If the ratio of the feature points is within a first preset range, then the second brushing image is determined to be a frontal brushing image. If the feature point ratio is within a second preset range, then the second brushing image is determined to be a brushing image of the face on the side holding the toothbrush. If the reciprocal of the ratio is within a third preset range, then the second brushing image is determined to be a brushing image of the face on the side without a toothbrush. Wherein, the minimum boundary value of the second preset range is greater than or equal to the maximum boundary value of the first preset range, and the minimum boundary value of the third preset range is greater than or equal to the maximum boundary value of the first preset range.

5. The electric toothbrush control method according to claim 2, characterized in that, Determining the brushing amplitude and brushing frequency based on the relative positions between the first test points and the second test points corresponding to each of the first brushing images includes: Obtain a dataset showing the distance between the first test point and the second test point at third preset time intervals; Determine the maximum and minimum values ​​in the dataset; Calculate the difference between the maximum value and the minimum value, and determine the brushing amplitude based on the difference; Calculate the time difference between two adjacent minimum values, and determine the brushing frequency based on the time difference.

6. The electric toothbrush control method according to claim 2, characterized in that, The step of adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes: If the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold, then the vibration frequency of the electric toothbrush in the current brushing area is maintained. Increase the vibration frequency of the electric toothbrush in the unbrushed areas of the teeth other than the currently brushed area; The values ​​of the preset swing amplitude threshold and the preset frequency threshold correspond to the type of the second brushing image.

7. The electric toothbrush control method according to any one of claims 1 to 6, characterized in that, The step of adjusting the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold includes: The duration of the electric toothbrush brushing state in the first state is obtained, wherein the first state includes a state under a first condition, the first condition including the brushing amplitude being less than the preset amplitude threshold and the brushing frequency being greater than the preset frequency threshold; If the duration is detected to be greater than the second preset time, the vibration frequency of the electric toothbrush is adjusted.

8. An electric toothbrush control device, characterized in that, The control device includes: The acquisition module is configured to acquire a plurality of first brushing images within a first preset time period. The first brushing images include a first test point and a second test point. The first test point is a test point located on a human face, and the second test point is a test point located on the electric toothbrush. The determination module is configured to determine the brushing amplitude and brushing frequency based on the relative positions between the first test point and the second test point corresponding to each of the first brushing images. The adjustment module is configured to adjust the vibration frequency of the electric toothbrush if the brushing amplitude is less than a preset amplitude threshold and the brushing frequency is greater than a preset frequency threshold.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.