Toothbrush button configuration method, device, electronic device and storage medium

By implementing the button configuration method on the toothbrush, users can flexibly configure the button function on the toothbrush, solving the problem of limited number of existing electric toothbrush keys, and achieving rich functional control and good user experience.

CN117898551BActive Publication Date: 2025-03-25GUANGZHOU STARS PULSE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311744724.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2025-03-25
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

The number of buttons in existing electric toothbrushes is limited, which cannot meet users' increasingly rich functional needs. At the same time, adding buttons will affect users' grip and operating experience.

Method used

By implementing the key configuration method on the toothbrush, users can flexibly configure the functions of any key on the toothbrush according to their own needs. By displaying the key setting interface, users can select keys and determine their trigger information and functions, and the storage module stores these configuration information.

Benefits of technology

It realizes the flexible configuration of the toothbrush button function, enriches the toothbrush control function, meets the different operating needs of users, and avoids the defects of adding buttons, ensuring the user's grip and operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117898551B_ABST
    Figure CN117898551B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a button configuration method, device, electronic device and storage medium for a toothbrush. The method is applied to an electronic device, and the method includes: displaying a button setting interface, the button setting interface includes one or more buttons set in the toothbrush, and one or more trigger information corresponding to each of the buttons; in response to a first button configuration operation for a first button, determining a first function corresponding to the first trigger information of the first button; and storing the first button, the first trigger information and the first function in correspondence. The above-mentioned button configuration method, device, electronic device and storage medium for a toothbrush enrich the functions that can be controlled by the buttons of the toothbrush, meet the different control needs of users, and do not require additional buttons to be added to the toothbrush, thereby ensuring the user's holding and operation experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oral cleaning, and in particular to a button configuration method, device, electronic device and storage medium for a toothbrush. Background Art

[0002] In recent years, electric toothbrushes have been loved by more and more users because of their better oral cleaning ability and more comfortable brushing experience. Limited by the structure, shape and volume of the electric toothbrush itself, usually only a small number of buttons can be set on the handle of the electric toothbrush, and the function of each button is fixed to meet the user's needs for operation-related functions. However, with the intelligent development of electric toothbrushes, the functions that electric toothbrushes can provide are becoming more and more abundant. A small number of buttons obviously cannot meet the user's control needs. If additional buttons are added to the electric toothbrush, it will affect the user's grip and operation, causing inconvenience to the user. Summary of the invention

[0003] The embodiments of the present application disclose a method, device, electronic device and storage medium for configuring buttons of a toothbrush. The user can flexibly configure any button on the toothbrush according to his or her own needs, thereby enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0004] The embodiments of the present application also disclose a toothbrush control method, device, electronic device and storage medium. The toothbrush can respond to the user's trigger operation and execute the corresponding function according to the trigger information and / or function configured by the user for each button, thereby enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0005] The embodiment of the present application discloses a method for configuring buttons of a toothbrush, which is applied to an electronic device. The method includes:

[0006] Displaying a button setting interface, the button setting interface includes one or more buttons set in the toothbrush, and one or more trigger information corresponding to each of the buttons;

[0007] In response to a first key configuration operation for a first key, determining a first function corresponding to first trigger information of the first key;

[0008] The first button, the first trigger information and the first function are stored correspondingly.

[0009] The present application embodiment discloses a toothbrush control method, which is applied to a toothbrush, and the method comprises:

[0010] In response to a trigger operation on a first button, obtaining first trigger information corresponding to the trigger operation;

[0011] Determine, according to the first trigger information of the first button, a first function corresponding to the first trigger information of the first button; the correspondence between the first button, the first trigger information and the first function is configured according to a first button configuration operation for the first button;

[0012] Controlling the toothbrush to perform the first function.

[0013] The embodiment of the present application discloses a button configuration device for a toothbrush, which is applied to an electronic device, and the device includes:

[0014] A display module, used to display a button setting interface, wherein the button setting interface includes one or more buttons set in the toothbrush, and one or more trigger information corresponding to each of the buttons;

[0015] A setting module, configured to determine, in response to a first key configuration operation on a first key, a first function corresponding to first trigger information of the first key;

[0016] The storage module is used to store the first button, the first trigger information and the first function correspondingly.

[0017] The present application embodiment discloses a toothbrush control device, which is applied to a toothbrush. The device comprises:

[0018] A trigger module, configured to obtain first trigger information corresponding to a trigger operation on a first button in response to the trigger operation;

[0019] a function determination module, configured to determine, according to the first trigger information of the first button, a first function corresponding to the first trigger information of the first button; the correspondence between the first button, the first trigger information and the first function is configured according to a first button configuration operation for the first button;

[0020] A control module is used to control the toothbrush to perform the first function.

[0021] An embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method described in any of the above embodiments.

[0022] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in any of the above embodiments is implemented.

[0023] The embodiments of the present application disclose a button configuration method, device, electronic device and storage medium for a toothbrush. The electronic device displays a button setting interface, which includes one or more buttons set in the toothbrush and one or more trigger information corresponding to each button. In response to a first button configuration operation for a first button, a first function corresponding to the first trigger information of the first button is determined, and the first button, the first trigger information and the first function are stored accordingly. The user can flexibly configure the correspondence between the buttons, trigger information and functions on the toothbrush according to his own needs, enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0024] The toothbrush control method, device, electronic device and storage medium disclosed in the embodiments of the present application, the toothbrush responds to a trigger operation on a first button, obtains first trigger information corresponding to the trigger operation, and determines a first function corresponding to the first trigger information of the first button according to the first trigger information of the first button. The correspondence between the first button, the first trigger information and the first function is configured according to the first button configuration operation on the first button, and then the toothbrush is controlled to execute the first function. The toothbrush can respond to the user's trigger operation and execute the corresponding function according to the trigger information and / or function configured by the user for each button, thereby enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control requirements of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 It is an application scenario diagram of a button configuration method of a toothbrush and a toothbrush control method in one embodiment;

[0027] Figure 2 is a flow chart of a method for configuring buttons of a toothbrush in one embodiment;

[0028] Figure 3A This is a schematic diagram of a button setting interface in an embodiment;

[0029] Figure 3B This is a schematic diagram of a button setting interface in another embodiment;

[0030] Figure 3CThis is a schematic diagram of a button setting interface in another embodiment;

[0031] Figure 3D A schematic diagram of an interface of a button setting interface and a function selection list in an embodiment;

[0032] Figure 3E This is a schematic diagram of a button setting interface in another embodiment;

[0033] Figure 4 A flowchart of a button configuration method for a toothbrush in another embodiment;

[0034] Figure 5A This is a schematic diagram of a button setting interface in another embodiment;

[0035] Figure 5B This is a schematic diagram of a button setting interface in another embodiment;

[0036] Figure 6 A flowchart of a button configuration method for a toothbrush in another embodiment;

[0037] Figure 7 A flowchart of an electronic device receiving current button configuration data sent by a toothbrush and displaying a current function corresponding to first trigger information of a first button in an embodiment;

[0038] Fig. 8A This is a schematic diagram of a button setting interface in another embodiment;

[0039] Figure 8B This is a schematic diagram of a button setting interface in another embodiment;

[0040] Fig. 9 is a flow chart of a toothbrush control method in one embodiment;

[0041] Fig.10 A block diagram of a button configuration device for a toothbrush in one embodiment;

[0042] Fig.11 is a block diagram of a toothbrush control device in one embodiment;

[0043] Fig.12 FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0046] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first button may be referred to as a second button, and similarly, a second button may be referred to as a first button. Both the first button and the second button are buttons, but they are not the same button. The term "plurality" used in this application refers to two or more. The term "and / or" used in this application refers to one of the schemes, or any combination of multiple schemes.

[0047] Figure 1 FIG. 1 is an application scenario diagram of a toothbrush button configuration method and a toothbrush control method in an embodiment. Figure 1 As shown, the terminal device 110 can establish a communication connection with the toothbrush 120, wherein the terminal device 110 may include but is not limited to a mobile phone, a wearable device (such as smart glasses, smart watches, etc.), a tablet computer, a laptop computer, a PC (Personal Computer), etc. The toothbrush 120 may include an electric toothbrush, which may be a pure electric toothbrush or a toothbrush that supports manual and electric brushing.

[0048] The communication connection established between the terminal device 110 and the toothbrush 120 may include but is not limited to wireless communication connection and wired communication connection, among which the wireless communication connection may include but is not limited to Bluetooth communication connection, Wi-Fi communication connection, radio frequency communication connection, etc., and the wired communication connection may include but is not limited to the connection established via a USB (Universal Serial Bus) data cable.

[0049] The toothbrush 120 may include a brush head and a handle. The handle may be provided with one or more buttons 122. The button 122 may be a mechanical button or a touch button, etc. Each button may be used to control the toothbrush 120 to perform different functions.

[0050] As an implementation mode, the user can perform a button configuration operation on the button 122 on the toothbrush 120 on the terminal device 110. The terminal device 110 can display a button setting interface, which may include one or more buttons 122 set in the toothbrush 120, and one or more trigger information corresponding to each button 122. The user can select any button in the button setting interface to perform a first button configuration operation according to his own needs. The terminal device 110 can determine a first function corresponding to the first trigger information of the first button in response to the user's first button configuration operation on the first button, where the first button is any button of the toothbrush 120, and the first trigger information is any trigger information corresponding to the first button. The terminal device 110 can store the first button, the first trigger information and the first function correspondingly, thereby updating the button configuration data.

[0051] The terminal device 110 can send the updated button configuration data to the toothbrush 120. During the use of the toothbrush 120, if the toothbrush 120 detects a trigger operation on the first button, the first trigger information corresponding to the trigger operation can be obtained. The toothbrush 120 can determine the first function corresponding to the first trigger information of the first button based on the first trigger information of the first button, and control the toothbrush 120 to perform the first function.

[0052] As another embodiment, the user can perform a button configuration operation on the button 122 on the toothbrush 120. The toothbrush 120 may also include a display device, and the toothbrush 120 may display a button setting interface through the display device, and the button setting interface may include one or more buttons 122 set in the toothbrush 120, and one or more trigger information corresponding to each button 122. The user can select any button in the button setting interface to perform a first button configuration operation according to his own needs. The toothbrush 120 can respond to the user's first button configuration operation on the first button and determine the first function corresponding to the first trigger information of the first button. The first button is any button of the toothbrush 120, and the first trigger information is any trigger information corresponding to the first button. The toothbrush 120 can store the first button, the first trigger information and the first function correspondingly, thereby updating the button configuration data.

[0053] After the toothbrush 120 updates the button configuration data, during the use of the toothbrush 120, if the toothbrush 120 detects a trigger operation on the first button, the first trigger information corresponding to the trigger operation can be obtained. The toothbrush 120 can determine the first function corresponding to the first trigger information of the first button based on the first trigger information of the first button, and control the toothbrush 120 to perform the first function.

[0054] like Figure 2 As shown, in one embodiment, a method for configuring buttons of a toothbrush is provided, which can be applied to an electronic device, and the electronic device can be the terminal device mentioned above, or the toothbrush mentioned above. The method for configuring buttons of a toothbrush can include the following steps:

[0055] Step 210, displaying a button setting interface, which includes one or more buttons set in the toothbrush, and one or more trigger information corresponding to each button.

[0056] When the user needs to configure the button functions of the toothbrush, the electronic device can display the button setting interface corresponding to the toothbrush. The button setting interface may refer to an interface that provides custom function configurations for the toothbrush buttons. The user can perform button configuration operations on the toothbrush buttons in the button setting interface to configure the trigger information and / or functions corresponding to the buttons.

[0057] Optionally, the button setting interface may include all buttons set in the toothbrush. For example, if the handle of the toothbrush is provided with 3 buttons, the button setting interface may display the 3 buttons.

[0058] Optionally, the button setting interface may also only include buttons set in the toothbrush that can realize custom function configuration. The multiple buttons set in the toothbrush can be divided into function buttons and switch buttons, wherein the function buttons can be used to control the functions performed by the toothbrush, such as controlling the brushing mode of the toothbrush, controlling the toothbrush to display the brushing report and other functions, but not limited to these; the switch button can be used to control the power on and / or off of the toothbrush. In order to prevent the user from arbitrarily modifying the switch button and causing the toothbrush to fail to turn on and / or shut down normally, it can be set that the switch button does not support custom function configuration, and only the function button supports custom function configuration. Therefore, only the function buttons on the toothbrush can be displayed in the button setting interface.

[0059] In some embodiments, the button setting interface may display identification information corresponding to each button, and the identification information may be used to identify the button to help the user distinguish the buttons. The identification information may include but is not limited to one or more of the name corresponding to each button, the number corresponding to each button, the identification graphic corresponding to each button, the setting position of each button in the toothbrush, etc.

[0060] The name of the button displayed in the button setting interface may be the same as the button name of the button in the toothbrush. For example, if the button name of a button on the toothbrush is "Button A", the name of the button displayed in the button setting interface is also "Button A". Figure 3A FIG. 1 is a schematic diagram of a button setting interface in an embodiment. Figure 3A As shown, button A and button B are set on the handle of the toothbrush 120, and the button setting interface 300 can display the names corresponding to each button, such as "button" and "button B".

[0061] The numbers corresponding to each button can be composed of one or more of numbers, letters, and symbols. For example, the button setting interface displays two buttons set in the toothbrush, and the corresponding numbers are "001", "002", etc., but it is not limited to this.

[0062] The identification graphic corresponding to each button can be the same as the button graphic of the button in the toothbrush. The button graphic can include the button shape and the pattern in the button. For example, if the button shape of a button on the toothbrush is circular and the button contains a first pattern (the pattern can be a flat pattern or a three-dimensional pattern), then the identification graphic corresponding to the button displayed in the button setting interface is a circle containing the first pattern. Figure 3B FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 3B As shown, two buttons are provided on the handle of the toothbrush 120, and both buttons are circular buttons. The pattern in one of the buttons is 3 circles, and the pattern in the other button is 4 circles. The button setting interface 300 can display the identification graphics corresponding to each button, which indicates the shape of the button and the corresponding pattern.

[0063] The setting position of each button in the toothbrush can be used to represent the position of the button in the handle of the toothbrush. Optionally, the button setting interface can display a model image corresponding to the toothbrush, and restore the real product structure of the toothbrush through the model image. The model image can truly restore each button set on the handle of the toothbrush, and the user can accurately obtain the setting position of each button in the toothbrush through the model image. For example, Figure 3C FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 3C As shown, the button setting interface 300 can display a model image 310 corresponding to the toothbrush 120 , and the model image 310 can show each button set in the handle of the toothbrush 120 and the setting position of each button, and truly restore each button set on the handle of the toothbrush 120 .

[0064] By displaying the identification information corresponding to each button in the button setting interface, the user can intuitively determine which button in the toothbrush is the button for performing the button configuration operation, thereby improving the convenience of button function setting. It should be noted that the method of displaying the identification information corresponding to each button in the button setting interface may also be other methods besides the several methods described in the above embodiments, and the embodiments of the present application are not limited to this. Optionally, the button setting interface may also provide several optional methods of displaying the identification information corresponding to the button at the same time, and the user may select one of the methods for display according to actual needs and habits to meet the different needs and habits of the user.

[0065] The button setting interface may also include one or more trigger information corresponding to each displayed button. The trigger information can be used to indicate the triggering method of the button. Different trigger information corresponds to different triggering methods. The trigger information may include, but is not limited to, one or more of the touch frequency, touch duration, touch pressure, etc. of the button. For example, the trigger information corresponding to the button may include, but is not limited to, one or more of single-click, double-click, short press, long press for 3 seconds, light press, heavy press, etc. When multiple buttons are displayed, the trigger information corresponding to different buttons may be the same or different. For example, if two buttons are displayed, the trigger information corresponding to one of the buttons may include single-click and double-click, and the trigger information corresponding to the other button may include double-click and long press for 3 seconds, etc., but is not limited to this. Exemplarily, Figure 3C FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 3C As shown, the button setting interface 300 can display the model image 310 corresponding to the toothbrush 120, and the trigger information corresponding to the button (including single click and double click). The user can select the button for the desired button configuration operation, and the electronic device responds to the button selection operation and displays the trigger information corresponding to the operation selected by the user.

[0066] The trigger information corresponding to each button may be uniformly set before the toothbrush leaves the factory, or may be set by the user according to actual needs, and this embodiment of the present application does not limit this.

[0067] In some embodiments, the electronic device can be a terminal device such as a mobile phone or a wearable device. Since the structures of different toothbrushes are different, the buttons and corresponding trigger information set on different toothbrushes are also different. Therefore, the electronic device can first establish a communication connection with the toothbrush that needs to perform button configuration operations, and obtain the product information corresponding to the toothbrush connected to the communication connection (such as the toothbrush model, etc.), and determine the buttons set on the toothbrush, the identification information corresponding to each button, and one or more trigger information according to the product information corresponding to the toothbrush, so as to display the button setting interface to ensure that the buttons and trigger information contained in the displayed button setting interface are accurate, thereby improving the accuracy of the button custom function configuration of the toothbrush.

[0068] Step 220: In response to a first key configuration operation on a first key, determine a first function corresponding to first trigger information of the first key.

[0069] In some embodiments, the user can select any button in the button setting interface to perform a first button configuration operation according to actual needs. The first button configuration operation may refer to the operation of configuring the trigger information and / or function corresponding to the button, which may include but is not limited to the following situations:

[0070] 1. A button corresponds to a trigger information, and the user can set the function for the trigger information of the button to configure the function corresponding to the trigger information of the button;

[0071] 2. If a button corresponds to multiple trigger information, the user can set the function for any trigger information of the button, and can configure the corresponding functions for multiple trigger information of the button respectively;

[0072] 3. A button corresponds to a function, and the user can set the trigger information for the function of the button to configure the trigger information corresponding to the function that realizes the control.

[0073] Taking the function corresponding to any trigger information of any button set by the user as an example, the user can first select the first button and the first trigger information in the button setting interface, the first button is any button of the toothbrush, and the first trigger information is any trigger information corresponding to the first button. The electronic device can determine the first trigger information of the first button selected by the user, and display the function selection list corresponding to the first trigger information of the first button. The function selection list may include multiple functions available for the user to select, and the function may refer to the function that the toothbrush can perform and realize, which may include but is not limited to multiple functions such as entering the brushing mode provided by the toothbrush, viewing the brushing report, viewing the remaining power, turning on the flight mode, viewing the connection status, self-cleaning of the toothbrush, switching voice packages, etc.

[0074] Among them, entering the brushing mode provided by the toothbrush refers to the function of the toothbrush entering the selected brushing mode. The toothbrush can provide one or more brushing modes. The brushing mode refers to the operating mode corresponding to the toothbrush brushing operation. Different brushing modes correspond to different operating parameters, which may include but are not limited to motor vibration frequency, motor output duty cycle, operating time, etc. For example, the brushing mode may include but is not limited to gentle mode, cleaning mode, whitening mode, etc., but is not limited to this. Different brushing modes correspond to different operating parameters, and the oral cleaning and care effects achieved are also different.

[0075] Viewing the toothbrushing report refers to the function of the toothbrush displaying the toothbrushing report. The toothbrushing report may refer to a report summarizing the toothbrushing process performed by the toothbrush. The toothbrushing report may include the toothbrushing data corresponding to the toothbrushing process performed by the toothbrush. The toothbrushing data may include but is not limited to the total toothbrushing time, the toothbrushing time corresponding to each tooth area, the amount of dental plaque residue, the toothbrushing coverage rate, etc. Viewing the toothbrushing report can be viewing the toothbrushing report corresponding to the most recent toothbrushing process, or viewing the toothbrushing report corresponding to the toothbrushing process performed in the target time period. For example, you can view the toothbrushing report for the past week, or view the toothbrushing report for the past 3 days, etc.

[0076] Checking the remaining power refers to the function of the toothbrush displaying the current remaining power.

[0077] Turning on airplane mode refers to the function of the toothbrush entering airplane mode. Airplane mode may refer to a mode in which the toothbrush is disconnected from the terminal device and will not be awakened by a wake-up operation. The wake-up operation may include but is not limited to triggering a wake-up button, taking the toothbrush out of the base, holding the toothbrush, and other operations.

[0078] Checking the connection status refers to the function of the toothbrush displaying the current connection status, which may include but is not limited to the connection status of communications such as Bluetooth and WiFi.

[0079] Toothbrush self-cleaning refers to the function of the toothbrush head to perform automatic cleaning operations. The automatic cleaning operation of the brush head can be an operation in which a motor drives the brush head to swing quickly to shake off water on the brush head.

[0080] Switching voice packages refers to the function of switching voice packages of the toothbrush. A voice package may refer to a voice resource package that provides different timbres. A toothbrush may be pre-configured with a variety of selectable voice packages. The user can select a favorite timbre for voice playback by switching voice packages.

[0081] The user can perform a first button configuration operation in the function selection list to select a first function corresponding to the first trigger information of the first button, and the electronic device can determine the first function corresponding to the first trigger information of the first button according to the first button configuration operation.

[0082] For example, Figure 3D FIG. 1 is a schematic diagram of a button setting interface and a function selection list in an embodiment. Figure 3DAs shown, the button setting interface 300 displays a model image 310 corresponding to a toothbrush. The model image 310 includes three buttons for setting a toothbrush. The user can select any trigger information of any button to perform the first button configuration operation. For example, after the user selects button 312 and clicks 314, the user can touch and select the function control 316. The electronic device can display the function selection list 320 corresponding to the single click of button 312 according to the user's selection operation. The function selection list 320 may include function icons, function names, function descriptions and other function information of multiple functions. The user can switch the displayed function information by sliding left or right. When the function icon of a certain function is selected and the confirmation control is touched, the first button configuration operation corresponding to the single click of button 312 is completed. For example, the user selects the function icon corresponding to the function of viewing the last brushing report and clicks the confirmation control, then the electronic device can determine that the function corresponding to the single click of button 312 is the function of viewing the last brushing report.

[0083] Step 230, storing the first button, the first trigger information and the first function in correspondence.

[0084] The electronic device may store the first key, the first trigger information, and the first function of the first key configuration operation performed by the user, so as to generate corresponding updated key configuration information. Optionally, the electronic device may store the key, the trigger information, and the corresponding function of the key configuration operation performed each time the user performs a key configuration operation on a key, so as to generate corresponding updated key configuration information.

[0085] Optionally, the electronic device may also be provided with a save control in the button setting interface, and the user may perform multiple button configuration operations on one button or multiple buttons, and after determining that the button function configuration is completed, trigger the save control to save. In response to the user's save operation, the electronic device may obtain each button, trigger information, and corresponding function for the button configuration operation, and store them respectively to generate one or more updated button configuration information, and obtain updated button configuration data, which includes the one or more updated button configuration information.

[0086] For example, Figure 3E FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 3EAs shown, if the user performs 4 button configuration operations, they are: first select the single click of button 312 in the button setting interface 300 to set function A; select the double click of button 312 to set function B; select the double click of button 318 to set function C; select the long press of button 318 for 3 seconds to set function D. Then the user clicks the save control 330, and the electronic device detects that the user clicks the save control 330, that is, detects the save operation, and can store button 312, single click and function A accordingly, button 312, double click and function B accordingly, button 318, double click and function C accordingly, and button 318, long press for 3 seconds and function D accordingly, thereby generating 4 updated button configuration information, and the 4 updated button configuration information is the updated button configuration data obtained this time.

[0087] The toothbrush can update the correspondence between one or more groups of buttons, trigger information, and functions according to the updated button configuration data. Taking the updated button configuration data including the first button, the first trigger information, and the updated button configuration information of the first function as an example, the toothbrush can update the correspondence between the first button, the first trigger information, and the first function according to the updated button configuration data. After the toothbrush completes the update, if the toothbrush detects a trigger operation for the first button, it can respond to the trigger operation for the first button, obtain the first trigger information corresponding to the trigger operation, determine the first function corresponding to the first trigger information of the first button according to the first trigger information of the first button, and control the toothbrush to execute the first function, thereby realizing flexible customization of the functions executed by the buttons on the toothbrush, enriching the functions that can be controlled by the buttons of the toothbrush, and meeting the different control needs of users.

[0088] In an embodiment of the present application, an electronic device displays a button setting interface, which includes one or more buttons set in the toothbrush and one or more trigger information corresponding to each button. In response to a first button configuration operation for a first button, a first function corresponding to the first trigger information of the first button is determined, and the first button, the first trigger information and the first function are stored accordingly. The user can flexibly configure the correspondence between the buttons, trigger information and functions on the toothbrush according to his or her own needs, enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0089] like Figure 4 As shown, in another embodiment, a method for configuring buttons of a toothbrush is provided, which can be applied to the above-mentioned electronic device. The method may include the following steps:

[0090] Step 402, displaying a button setting interface, which includes a plurality of usage information corresponding to the toothbrush, one or more buttons set in the toothbrush, and one or more trigger information corresponding to each button.

[0091] In an embodiment of the present application, the button setting interface may also include multiple usage information corresponding to the toothbrush. The user can configure the function of any trigger information of any button under the usage information according to actual needs, thereby further enriching the functions that can be controlled by the toothbrush buttons.

[0092] The multiple usage information corresponding to the toothbrush can be used to describe the various usage states corresponding to the toothbrush. In some embodiments, the multiple usage information corresponding to the toothbrush may include one or more of the following information:

[0093] 1. Multiple usage postures of toothbrushes.

[0094] The multiple usage postures of the toothbrush may include but are not limited to the handle of the toothbrush pointing upward (referring to the handle of the toothbrush pointing upward relative to the user), the handle of the toothbrush pointing downward (referring to the handle of the toothbrush pointing downward relative to the user), the tilt angle of the handle of the toothbrush, etc. Optionally, a posture sensor may be provided in the toothbrush, such as an IMU (Inertial measurement unit) or a gyroscope, etc. The posture sensor may be used to detect the usage posture of the toothbrush, and the same trigger information of the same button may be configured with the same or different functions according to different usage postures of the toothbrush.

[0095] For example, when the toothbrush handle is facing upward, the function corresponding to double-clicking button A is to view the brushing report. When the toothbrush handle is facing downward, the function corresponding to double-clicking button A is the toothbrush self-cleaning.

[0096] 2. The toothbrush is placed in multiple oral locations in the mouth.

[0097] The multiple oral positions of the toothbrush in the oral cavity may include but are not limited to multiple tooth areas, tongue positions, etc. Optionally, the toothbrush may be provided with an information collection device such as a camera, and during the toothbrush brushing operation, the oral image may be collected by the camera, etc. The toothbrush may analyze and identify the oral image to determine the oral position of the toothbrush head. For different oral positions, the same trigger information of the same button may be configured with the same or different functions.

[0098] For example, for tooth area A, the function corresponding to a single click of button B is to adjust the strength of the toothbrush; for tooth area B, the function corresponding to a single click of button B is to adjust the duty cycle of the motor, etc.

[0099] 3. Multiple operating states corresponding to the toothbrush.

[0100] The multiple operating states corresponding to the toothbrush may include but are not limited to standby state, wake-up state, working state, flight state, etc. Among them, the standby state may refer to the state in which most components of the toothbrush (such as the motor, display device, etc.) are not powered, and the toothbrush is in a dormant state; the wake-up state may refer to the state in which the toothbrush exits dormancy, powers the display device, etc., but the motor is still not running, and the wake-up state is usually a state between the standby state and the working state; the working state may refer to the state in which the motor in the toothbrush is running, and the motor can drive the brush head to vibrate during operation to achieve the effect of electric brushing; the flight state may refer to the state in which the toothbrush is in flight mode. In the flight state, the toothbrush disconnects all communication connections and will not respond to the wake-up operation, that is, it will not enter the wake-up state. For different operating states of the toothbrush, the same trigger information of the same button can be configured with the same or different functions.

[0101] For example, when the toothbrush is in the wake-up state, long pressing button A for 3 seconds corresponds to viewing the brushing report. When the toothbrush is in the flight state, long pressing button A for 3 seconds corresponds to exiting the flight mode.

[0102] 4. The multiple brushing stages of a toothbrush during a brushing process.

[0103] A complete brushing operation with a toothbrush can be considered as a brushing process. A total brushing time can be set through a brushing process. A brushing process can be divided into multiple brushing stages. The brushing sub-times corresponding to each brushing stage can be the same or different. For example, the total brushing time is 2 minutes, which can be divided into 4 brushing stages, and the brushing sub-time corresponding to each brushing stage is 30 seconds. For different brushing stages in a brushing process, the same trigger information of the same button can be configured with the same or different functions.

[0104] For example, in the first brushing stage of a brushing process, the function corresponding to double-clicking button C is to switch the brushing mode. In the second brushing stage of a brushing process, the function corresponding to double-clicking button C is to play / turn off music.

[0105] 5. Multiple remaining power ranges corresponding to toothbrushes.

[0106] A plurality of remaining power ranges may be preset, for example, the remaining power ranges may include remaining power greater than 80%, remaining power between 40% and 80%, and remaining power less than 40%. For different remaining power ranges, the same trigger information of the same button may be configured with the same or different functions. When the remaining power range of the toothbrush is different, the same trigger information of the same button may be configured with the same or different functions.

[0107] Step 404, if a first button configuration operation for a first button is detected in the setting area of ​​the target usage information corresponding to the toothbrush, then in response to the first button configuration operation, a first function corresponding to the first trigger information of the first button under the target usage information is determined; the target usage information is any usage information corresponding to the toothbrush.

[0108] The user can select the usage information for which the key configuration operation is required, and the electronic device can use the usage information selected by the user as the target usage information and display the setting area of ​​the target usage information. The user can perform a key configuration operation on any key in the setting area of ​​the target usage information to configure the trigger information and / or function corresponding to the key.

[0109] The way in which the user configures any button in the setting area of ​​the target usage information corresponding to the toothbrush, and the way in which the electronic device determines the button, trigger information and corresponding functions based on the user's button configuration operation, may be similar to the description in step 220 in the above embodiment and will not be repeated here.

[0110] For example, Figure 5A FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 5A As shown, multiple usage information of the toothbrush includes handle upward and handle downward. If the user chooses to set the button function when the handle is facing upward, the button setting interface 300 can display the setting area 510 corresponding to the handle facing upward. The user can then perform button configuration operations on any button of the toothbrush in the setting area 510 to configure the trigger information and / or function corresponding to the button when the handle is facing upward.

[0111] For example, Figure 5B FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 5B As shown, the user can switch the target usage information by sliding left or right, for example, by sliding left to switch from handle up to handle down, and the button setting interface 300 can display the setting area 520 corresponding to the handle down. The user can perform a button configuration operation on any button of the toothbrush in the setting area 520 to configure the trigger information and / or function corresponding to the button when the handle is down.

[0112] In some embodiments, the electronic device may be a terminal device, and the electronic device may be connected to the toothbrush for communication. When the electronic device enters the button setting interface, it may receive the current usage information sent by the toothbrush, and the electronic device may use the current usage information as the target usage information, and display the setting area corresponding to the target usage information in the button setting interface.

[0113] As a specific implementation, when the electronic device enters the button setting interface, the electronic device may send a usage information acquisition request to the toothbrush, and the usage information acquisition request may indicate the information category of the usage information to be acquired. For example, the functions corresponding to the trigger information of each button may be set for the multiple usage postures of the toothbrush, and the information category of the usage information to be acquired is the usage posture; and / or, the functions corresponding to the trigger information of each button may be set for the multiple oral positions of the toothbrush, and the information category of the usage information to be acquired is the oral position, etc. After the toothbrush receives the information acquisition request sent by the electronic device, it may acquire the current usage information that meets the information category according to the information category indicated by the information acquisition request, and send the current usage information to the electronic device.

[0114] The electronic device can use the current usage information as the target usage information, and display the setting area corresponding to the target usage information in the button setting interface. By adjusting the usage information of the toothbrush, the user can switch the setting area corresponding to the target usage information in the button setting interface of the electronic device, and the switching method is more convenient and intuitive. For example, the user can turn the handle of the toothbrush upward, and the button setting interface of the electronic device will switch to display the setting area corresponding to the handle facing upward; the user can turn the handle of the toothbrush downward, and the button setting interface of the electronic device will switch to display the setting area corresponding to the handle facing downward.

[0115] During the process of setting button functions, the electronic device can switch and display the setting area corresponding to the current usage information according to the current usage information of the toothbrush, so that the user can set the function corresponding to any trigger information of any button under the current usage information, thereby improving the convenience and intuitiveness of function setting and improving the user experience.

[0116] Step 406, storing the target usage information, the first button, the first trigger information and the first function in correspondence.

[0117] The electronic device may store the target usage information, and the first button, the first trigger information, and the first function corresponding to the first button configuration operation performed by the user, to generate corresponding updated button configuration information.

[0118] Optionally, the electronic device may perform multiple button configuration operations on one or more buttons under one or more usage information, and after determining that the button function configuration is completed, trigger the save control to save. In response to the user's save operation, the electronic device may store each usage information, each button, trigger information and corresponding function of the button configuration operation respectively, so as to generate one or more updated button configuration information, and obtain updated button configuration data, which includes the one or more updated button configuration information.

[0119] The toothbrush can update the correspondence between buttons, trigger information, and functions under one or more usage information according to the updated button configuration data. After the toothbrush completes the update, if the toothbrush detects a trigger operation for the first button, it can respond to the trigger operation for the first button and obtain the first trigger information corresponding to the trigger operation. The toothbrush can also obtain the current usage information, and determine the first function corresponding to the first trigger information of the first button under the current usage information according to the current usage information and the first trigger information of the first button, and then control the toothbrush to execute the first function.

[0120] Optionally, the current usage information may include but is not limited to one or more of the current usage posture of the toothbrush, the current oral position of the toothbrush in the mouth, the current operating status of the toothbrush, the current brushing stage of the toothbrush, the remaining power range to which the current remaining power of the toothbrush belongs, etc.

[0121] For example, for different oral positions, the trigger information and / or functions corresponding to the buttons can be configured separately. Then, during the brushing operation of the toothbrush, the toothbrush can collect oral images through a camera, analyze and identify the oral images to determine the current oral position of the toothbrush head in the mouth, and determine the first function corresponding to the first trigger information and the first button for triggering the operation at the current oral position, and then control the toothbrush to perform the first function.

[0122] In an embodiment of the present application, the user can flexibly set the trigger information and / or function corresponding to different usage information of any button on the toothbrush according to his or her own needs, thereby enriching the functions that can be controlled by the buttons of the toothbrush to adapt to more toothbrush usage scenarios and meet the user's control needs in different scenarios. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0123] like Figure 6 As shown, in another embodiment, a method for configuring buttons of a toothbrush is provided, which can be applied to the above-mentioned electronic device. The method may include the following steps:

[0124] Step 602: Display the button setting interface.

[0125] The button setting interface may include one or more buttons set in the toothbrush, and one or more trigger information corresponding to each button; or, the button setting interface may include multiple usage information corresponding to the toothbrush, one or more buttons set in the toothbrush, and one or more trigger information corresponding to each button.

[0126] Step 604 , determining first trigger information of a first key selected by the user, and displaying a function selection list corresponding to the first trigger information of the first key, wherein the function selection list includes a plurality of functions.

[0127] In an embodiment of the present application, a button configuration operation may be an operation for configuring a function corresponding to the trigger information of the button. For different buttons and different trigger information of the same button, the functions included in the corresponding function selection lists may be the same or different. For example, the function selection lists corresponding to all buttons and all trigger information may be the same, including all functions available for the user to select.

[0128] For another example, different buttons and different trigger information of the same button may have different corresponding function selection lists, and the currently selected configured function will not appear in the function selection list. For example, after setting function A for a single click of button A, when the user sets a double click of button A, function A will not appear in the function selection list corresponding to the double click of button A, thereby avoiding repeated configuration of the same function and causing confusion in button control. Alternatively, for different trigger information of the same button, the corresponding selectable functions are different, thus corresponding to different function selection lists. For example, the selectable functions corresponding to a single click of button A include turning on the flight mode, self-cleaning the toothbrush, and switching the voice package, and the selectable functions corresponding to a double click of button A include checking the connection status, checking the remaining power, checking the brushing report, etc. The functions included in the function selection list corresponding to each trigger information of different buttons can be set according to actual needs, and the embodiments of the present application do not limit this.

[0129] The multiple functions included in the function selection list can be arranged according to a preset arrangement. In some embodiments, the preset arrangement may include any of the following:

[0130] Method 1: Arrange the functions in descending order according to the function type corresponding to each function and the degree of proximity to the function type of the function configured by other trigger information of the first button.

[0131] The electronic device may classify all optional functions into multiple function types, and the function types may include but are not limited to brushing control function, information viewing function, operation status control function and auxiliary function, etc. Among them, the brushing control function refers to the function of controlling the toothbrush to perform brushing operations, such as the function of switching brushing modes, the function of entering a certain brushing mode, the function of adjusting the brushing intensity, etc.; the information viewing function refers to the function of viewing various types of information, such as the function of viewing brushing reports, the function of viewing connection status, the function of viewing remaining power, etc.; the operation status control function refers to the function of controlling the toothbrush to switch the operation status, such as the function of turning on the flight mode, the function of entering the standby state, the function of starting the brushing operation, etc.; the auxiliary function refers to other auxiliary functions provided by the toothbrush, such as the function of self-cleaning of the toothbrush, the function of switching voice packages, the lighting function, etc.

[0132] The electronic device may obtain the function type to which the function configured for the other trigger information of the first button belongs, and may arrange the multiple functions included in the function selection list corresponding to the first trigger information of the first button in descending order according to the function type corresponding to each function and the degree of proximity to the function type of the function configured for the other trigger information of the first button. For example, the function of the same function type as the function configured for the other trigger information of the first button belongs may be arranged in front, and the function of a different function type from the function configured for the other trigger information of the first button belongs may be arranged in the back.

[0133] Optionally, a distance coefficient between multiple function types can be pre-set, and the distance coefficient can be used to characterize the proximity between two function types. The smaller the distance coefficient, the closer the two function types are (i.e., the greater the proximity), and the larger the distance coefficient, the greater the difference between the two function types (i.e., the smaller the proximity). The function types corresponding to each function and the distance coefficients between the function types to which the other trigger information of the first button has been configured can be arranged in order of distance coefficient from small to large. Among them, the distance coefficient corresponding to the same function type can be 0. For example, the function of double-clicking button A has been configured to view the connection status. In the function selection list corresponding to long pressing button A for 3 seconds, the functions of viewing the brushing report and viewing the remaining power can be arranged in front, and other functions can be arranged in the back.

[0134] In an embodiment of the present application, for different trigger modes of the same button, users usually want to set relatively similar functions. Therefore, they can be arranged and displayed in descending order according to the function types corresponding to each function and the degree of similarity to the function types of functions configured by other trigger information of the first button, which makes it more convenient for users to perform button configuration operations, improves the convenience of function setting, and improves the intelligence of electronic devices.

[0135] Method 2: Arrange the functions in descending order according to the function type corresponding to each function and the degree of proximity to the function type of the functions configured with the same trigger information of other keys.

[0136] The electronic device can obtain the function type of the function configured with the same trigger information (i.e., the first trigger information) of other keys, and arrange the multiple functions included in the function selection list corresponding to the first trigger information of the first key in order from large to small according to the function type corresponding to each function and the degree of proximity to the function type of the function configured with the same trigger information of other keys.

[0137] Optionally, the function types corresponding to the functions can be arranged in ascending order according to the distance coefficients between the function types to which the functions configured with the same trigger information of other buttons belong. For example, if the function configured by double-clicking button A is to check the connection status, then in the function selection list corresponding to double-clicking button B, the functions of checking the brushing report and checking the remaining battery power can be arranged in front, and other functions can be arranged in the back.

[0138] In an embodiment of the present application, for the same trigger mode of different keys, users usually want to set relatively similar functions. Therefore, they can be arranged and displayed in descending order according to the function type corresponding to each function and the degree of similarity to the function type of the functions configured with the same trigger information of other keys, which is more convenient for users to perform key configuration operations, improves the convenience of function setting, and improves the intelligence of electronic devices.

[0139] Method three: Arrange the functions in descending order according to their historical usage frequency.

[0140] The toothbrush can count the historical usage frequency corresponding to each function, which may refer to the number of times the function is executed in a historical time period. The historical time period may be set according to actual needs, such as the last week, the last 2 weeks, the last month, etc., but is not limited thereto.

[0141] For the multiple functions included in the function selection list corresponding to the first trigger information of the first button, the electronic device can obtain the historical usage frequency corresponding to each function, and arrange and display them in descending order according to the historical usage frequency, so that users can more easily find the functions with higher usage frequency for configuration, thereby improving the convenience of function setting and improving the intelligence of the electronic device.

[0142] Method 4: Arrange the functions according to the configuration frequency corresponding to the first trigger information of the first button from large to small.

[0143] In some embodiments, the server may collect button configuration data of multiple toothbrushes, and determine the configuration frequency corresponding to each function and each trigger information of each button according to the button configuration data of the multiple toothbrushes. Optionally, the configuration frequency may be expressed as a percentage of the configuration. For example, among 10 toothbrushes, for a single click of button A, 2 are configured with function 1, 3 are configured with function 2, and 5 are configured with function 3. Then, the configuration frequency corresponding to the single click of button A of function 1 may be 20%, the configuration frequency corresponding to the single click of button A of function 2 may be 30%, and the configuration frequency corresponding to the single click of button A of function 3 may be 50%.

[0144] The server can send the configuration frequency corresponding to each function and each trigger information of each button to the electronic device. When configuring the function button, for the multiple functions included in the function selection list corresponding to the first trigger information of the first button, the electronic device can obtain the configuration frequency corresponding to each function and the first trigger information of the first button, and arrange and display them in order from large to small according to the configuration frequency. By means of big data, more functions that are selected and configured are recommended to users, which improves the convenience of function setting and the intelligence of electronic devices.

[0145] Method 5: Arrange in a fixed default order.

[0146] A fixed default order may also be pre-set for all selectable functions, and the electronic device may arrange and display the multiple functions included in the function selection list corresponding to the first trigger information of the first button in the fixed default order.

[0147] It should be noted that the arrangement and display of the multiple functions included in the function selection list may also be in other ways, and is not limited to the several ways described above. The user can perform a key configuration operation for the first trigger information of the first key in the function selection list corresponding to the first trigger information of the first key to select the first function to be configured.

[0148] Step 606: Detect a first key configuration operation for first trigger information of a first key in the function selection list.

[0149] Step 608: In response to the first key configuration operation for the first trigger information of the first key, determine a first function corresponding to the first trigger information of the first key.

[0150] The description of step 606 and step 608 can refer to the relevant description in the above embodiments, which will not be repeated here.

[0151] Step 610, determine whether the first function is the same as the function configured for any other button, or whether the first function is the same as the function configured for any other trigger information corresponding to the first button. If so, execute step 612, if not, execute step 614.

[0152] Step 612: output first prompt information, where the first prompt information is used to prompt that the configured functions are repeated.

[0153] Step 614, storing the first button, the first trigger information, and the first function in correspondence.

[0154] After the electronic device determines the first function selected by the user and corresponding to the first trigger information of the first button, it can determine whether the first function is the same as the function configured for any other button, or whether the first function is the same as the function configured for any other trigger information corresponding to the first button. If the first function is the same as the function configured for any other button, or the first function is the same as the function configured for any other trigger information corresponding to the first button, it means that the functions configured by the user are repeated, and the first prompt information can be output, and the first prompt information can be used to prompt that the configured functions are repeated. The user can reselect the first function corresponding to the first trigger information of the first button according to the first prompt information.

[0155] Optionally, the method of outputting the first prompt information may include but is not limited to displaying text and / or pictures corresponding to the first prompt information through a display device, outputting voice corresponding to the first prompt information through a playback device, and providing a vibration prompt through a vibration module.

[0156] If the first function is not the same as the function configured with any other button, and the first function is not the same as the function configured with any other trigger information corresponding to the first button, it means that the first function is not repeated with other configured functions, and the electronic device can store the first button, the first trigger information and the first function accordingly, or the electronic device can store the target usage information, the first button, the first trigger information and the first function accordingly to generate corresponding updated button configuration information.

[0157] In some embodiments, the user may also perform key configuration operations on other trigger information and / or other functions of the first key. The electronic device may determine the second function corresponding to the second trigger information of the first key in response to the second key configuration operation on the first key; the second trigger information is different from the first trigger information, and the second function is different from the first function. The electronic device may store the first key, the second trigger information, and the second function in correspondence. For the same key, different trigger information may correspond to different functions, which can avoid configuring the same function for different trigger information of the same key, resulting in confusion in the function control of the toothbrush and inconvenience to the user.

[0158] In some embodiments, the user can also perform button configuration operations on other buttons. The electronic device can determine the third function corresponding to the third trigger information of the second button in response to the third button configuration operation for the second button, the second button is different from the first button, the third function is different from the first function, and the third trigger information can be the same as or different from the first trigger information. The electronic device can store the second button, the third trigger information and the third function in correspondence. Different functions can be configured for different buttons respectively, which can avoid the situation where different buttons are configured with the same function, resulting in confusion in the function control of the toothbrush and causing inconvenience to the user.

[0159] It should be noted that for different usage information of the toothbrush, the configured functions can be the same or different. For example, the same trigger information of the same button can be configured with the same function or different functions under different usage information. The embodiments of the present application are not limited to this.

[0160] In an embodiment of the present application, the electronic device can display a function selection list corresponding to the first trigger information of the first button, and the multiple functions included in the function selection list can be arranged in a preset arrangement to facilitate the user to perform button configuration operations, thereby improving the convenience of function setting and improving the intelligence of the electronic device; moreover, in the process of function setting, it can avoid configuring the same function with different trigger information of the same button, and avoid configuring the same function with different buttons, which can avoid confusion in the function control of the toothbrush and inconvenience to the user.

[0161] In some embodiments, the electronic device may be a terminal device such as Figure 7 As shown, before the step of responding to the first button configuration operation for the first button and determining the first function corresponding to the first trigger information of the first button, the button configuration method of the toothbrush may further include the following steps:

[0162] Step 702: When a communication connection is established between the electronic device and the toothbrush, current button configuration data sent by the toothbrush is received.

[0163] When the electronic device and the toothbrush establish a communication connection, the toothbrush can send the current button configuration data to the electronic device, and the current button configuration data may include multiple current button configuration information, and each current button configuration information may include a button, trigger information and a corresponding current function. The electronic device can determine the current function corresponding to each trigger information of each button according to the button configuration data.

[0164] Step 704: Determine the current function corresponding to the first trigger information of the first button according to the current button configuration data.

[0165] Step 706: Display the current function corresponding to the first trigger information of the first button.

[0166] After the electronic device determines the first button and the first trigger information selected by the user, it can determine the current function corresponding to the first trigger information of the first button according to the current button configuration data, and display the current function corresponding to the first trigger information of the first button in the button setting interface, so that the user can intuitively understand the current function of the first trigger information of the first button, thereby deciding whether to perform the button configuration operation and determining the first function that needs to be configured.

[0167] For example, Fig. 8AFIG. 1 is a schematic diagram of a button setting interface in another embodiment. Fig. 8A As shown, the button setting interface 300 may include a function selection control 316. After the electronic device determines that the user selects button 312 and clicks 314, it may display in the function selection control 316 that the current function corresponding to the single click of button 312 is toothbrush self-cleaning.

[0168] In some embodiments, when the electronic device has not established a communication connection with the toothbrush, the electronic device cannot obtain the current button configuration data of the toothbrush. After the electronic device determines the first button and the first trigger information selected by the user, the current function corresponding to the first trigger information of the first button can be displayed as the default function. Optionally, the default function can be the function corresponding to the first trigger information of the first button set when the toothbrush leaves the factory, or it can be no function (that is, indicating that the corresponding function is not configured).

[0169] For example, Figure 8B FIG. 1 is a schematic diagram of a button setting interface in another embodiment. Figure 8B As shown, the key setting interface 300 may include a function selection control 316. After the electronic device determines that the user selects the key 312 and clicks 314, it may display in the function selection control 316 that the current function corresponding to the single click of the key 312 is no function.

[0170] Optionally, after the user performs a first button configuration operation on the first trigger information of the first button, the electronic device may display the first function selected by the user in the button setting interface after determining the first function selected by the user. That is, the current function corresponding to the first trigger information of the first button may be updated to the first function newly configured by the user, so as to facilitate the user to know the function selected by the user and improve convenience.

[0171] In some embodiments, when the electronic device establishes a communication connection with the toothbrush, the electronic device may send updated button configuration data to the toothbrush so that the toothbrush updates the correspondence between the first button, the first trigger information and the first function according to the updated button configuration data.

[0172] After the electronic device generates updated button configuration data, the electronic device may send the updated button configuration data to the toothbrush, and the toothbrush receives the updated button configuration data sent by the electronic device. The updated button configuration data may include one or more updated button configuration information, and each updated button configuration information includes a button, trigger information, and a corresponding function. The toothbrush may update the correspondence between one or more groups of buttons, trigger information, and functions according to each updated button configuration information. After the user completes the button function setting of the toothbrush on the electronic device, the electronic device promptly synchronizes the updated button configuration data to the toothbrush, and the toothbrush promptly updates the trigger information and functions corresponding to the buttons, which can improve the accuracy of the toothbrush control and avoid the situation where the button function update of the toothbrush is delayed, causing inconvenience to the user.

[0173] In some embodiments, after the toothbrush updates the correspondence between the button, trigger information, and function, it can output a second prompt information, which can be used to prompt the user that the toothbrush has completed the configuration of the button. Optionally, the way of outputting the second prompt information may include but is not limited to the toothbrush displaying the text and / or picture corresponding to the second prompt information through a display device, outputting the voice corresponding to the second prompt information through a playback device, and vibrating the vibration module. The user can determine that the configuration of the button has been completed based on the second prompt information output by the toothbrush, and repeated settings can be avoided.

[0174] In some embodiments, after the electronic device displays the button setting interface, the current operating state of the toothbrush can be obtained when the electronic device establishes a communication connection with the toothbrush. If the current operating state of the toothbrush is the working state, the button configuration operation is prohibited; and / or if the current operating state of the toothbrush is the standby state and the electronic device disconnects the communication connection with the toothbrush, the button configuration operation is prohibited.

[0175] When the toothbrush is in working state, i.e., when the toothbrush is brushing teeth, if the function of the button on the toothbrush is changed, it may affect the control of the toothbrush by the user who is currently using the toothbrush. Therefore, when the toothbrush is in working state, the user is prohibited from performing button configuration operations on the electronic device to avoid adverse effects on the user who is currently using the toothbrush.

[0176] If the current operating state of the toothbrush is in standby mode, the user can normally perform button configuration operations on the electronic device. Since the electronic device cannot synchronize the updated button configuration data to the toothbrush in time when the communication connection between the electronic device and the toothbrush is disconnected, the user is prohibited from performing button configuration operations on the electronic device when the toothbrush is in standby mode and the communication connection between the electronic device and the toothbrush is disconnected, so as to avoid the failure of the button configuration operation due to the failure to synchronize the updated button configuration data to the toothbrush in time.

[0177] In some embodiments, after the electronic device determines the first function corresponding to the first trigger information of the first button, it can determine whether to maintain a communication connection with the toothbrush. When the electronic device establishes a communication connection with the toothbrush, the first button, the first trigger information and the first function are stored accordingly, and when the electronic device disconnects the communication connection with the toothbrush, the first button, the first trigger information and the first function are not stored accordingly.

[0178] Since the electronic device cannot synchronize the updated button configuration data to the toothbrush in time when the communication connection between the electronic device and the toothbrush is disconnected, the function configured by the user may become invalid. Therefore, the electronic device may not store the first button, the first trigger information and the first function, that is, it does not generate the corresponding updated button configuration information. Furthermore, the electronic device may output a third prompt information, which may be used to prompt that the button configuration operation is invalid due to the disconnection of the communication connection with the toothbrush.

[0179] Optionally, the third prompt information may be output in a manner including, but not limited to, displaying text and / or pictures corresponding to the third prompt information through a display device, outputting voice corresponding to the third prompt information through a playback device, and performing a vibration prompt through a vibration module. The user may re-establish a communication connection between the electronic device and the toothbrush according to the third prompt information to confirm that the key configuration operation is valid.

[0180] In an embodiment of the present application, a user can customize the button functions of the toothbrush on an electronic device such as a mobile phone. The electronic device can establish a communication connection with the toothbrush to display the current function corresponding to the first trigger information of the first button before the user performs the button configuration operation. After the user performs the button configuration operation, the updated button configuration data is promptly synchronized to the toothbrush so that the toothbrush can promptly update the function corresponding to the first trigger information of the first button, thereby ensuring the effectiveness of the button configuration operation and improving the user experience.

[0181] like Fig. 9 As shown, in one embodiment, a toothbrush control method is provided, which can be applied to the above-mentioned toothbrush, and the method may include the following steps:

[0182] Step 910: In response to a trigger operation on a first button, obtain first trigger information corresponding to the trigger operation.

[0183] Step 920, determining the first function corresponding to the first trigger information of the first button according to the first trigger information of the first button; the correspondence between the first button, the first trigger information and the first function is configured according to the first button configuration operation for the first button.

[0184] Step 930, controlling the toothbrush to perform the first function.

[0185] In one embodiment, after step 910, the method further includes: obtaining current usage information of the toothbrush; step 920 may include: determining, based on the current usage information and the first trigger information of the first button, a first function corresponding to the first trigger information of the first button under the current usage information.

[0186] In one embodiment, the current usage information includes one or more of the current usage posture of the toothbrush, the current oral position of the toothbrush in the mouth, the current operating status of the toothbrush, the current brushing stage of the toothbrush, and the remaining power range to which the current remaining power of the toothbrush belongs.

[0187] In one embodiment, the method further includes: when establishing a communication connection with the electronic device, receiving updated button configuration data sent by the electronic device, the updated button configuration data including one or more updated button configuration information, each updated button configuration information including a button, trigger information and a corresponding function; and updating the correspondence between one or more groups of buttons, trigger information and functions according to each updated button configuration information.

[0188] It should be noted that the description of the toothbrush control method provided in the embodiment of the present application can refer to the relevant description of the toothbrush button configuration method provided in the above embodiments, and will not be repeated here.

[0189] In an embodiment of the present application, the toothbrush responds to a trigger operation on a first button, obtains first trigger information corresponding to the trigger operation, and determines a first function corresponding to the first trigger information of the first button based on the first trigger information of the first button. The correspondence between the first button, the first trigger information and the first function is configured based on the first button configuration operation on the first button, and then the toothbrush is controlled to execute the first function. The toothbrush can respond to the user's trigger operation and execute corresponding functions based on the trigger information and / or functions configured by the user for each button, thereby enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0190] like Fig.10 As shown, in one embodiment, a button configuration device 1000 for a toothbrush is provided, which can be applied to the above-mentioned electronic device. The button configuration device 1000 for a toothbrush may include a display module 1010 , a setting module 1020 and a storage module 1030 .

[0191] The display module 1010 is used to display a button setting interface, which includes one or more buttons set in the toothbrush and one or more trigger information corresponding to each button.

[0192] The setting module 1020 is configured to determine a first function corresponding to first trigger information of the first button in response to a first button configuration operation on the first button.

[0193] The storage module 1030 is used to store the first button, the first trigger information and the first function in correspondence.

[0194] In one embodiment, the button setting interface also includes multiple usage information corresponding to the toothbrush; the setting module 1020 is also used to determine, in response to the first button configuration operation, if a first button configuration operation for the first button is detected in the setting area of ​​the target usage information corresponding to the toothbrush, the first function corresponding to the first trigger information of the first button under the target usage information; the target usage information is any usage information corresponding to the toothbrush.

[0195] The storage module 1030 is further used to store the target usage information, the first button, the first trigger information and the first function in correspondence.

[0196] In one embodiment, the multiple usage information corresponding to the toothbrush includes one or more of the following:

[0197] Multiple usage postures of the toothbrush;

[0198] multiple oral locations of the toothbrush in the mouth;

[0199] Multiple operating states corresponding to the toothbrush;

[0200] The multiple brushing stages of a toothbrush during a brushing process;

[0201] Multiple remaining power ranges corresponding to the toothbrush.

[0202] In one embodiment, the electronic device is connected to the toothbrush for communication. The button configuration device 1000 for the toothbrush also includes a receiving module.

[0203] The receiving module is used to receive the current usage information sent by the toothbrush.

[0204] The display module 1010 is further used to use the current usage information as the target usage information and display a setting area corresponding to the target usage information in the button setting interface.

[0205] In one embodiment, the setting module 1020 is also used to determine a second function corresponding to the second trigger information of the first button in response to a second button configuration operation for the first button; the second trigger information is different from the first trigger information, and the second function is different from the first function.

[0206] The storage module 1030 is further used to store the first button, the second trigger information and the second function in correspondence.

[0207] In one embodiment, the setting module 1020 is further used to determine a third function corresponding to the third trigger information of the second button in response to a third button configuration operation for the second button; the second button is different from the first button, and the third function is different from the first function.

[0208] The storage module 1030 is further used to store the second button, the third trigger information and the third function correspondingly.

[0209] In one embodiment, the button configuration device 1000 for a toothbrush further includes a prompt module.

[0210] The prompt module is used to output a first prompt message if the first function is the same as a function configured for any other button, or the first function is the same as a function configured for any other trigger information corresponding to the first button, and the first prompt message is used to prompt that the configured function is repeated.

[0211] In one embodiment, the display module 1010 is further used to display a function selection list corresponding to the first trigger information of the first button, wherein the function selection list includes a plurality of functions, and the plurality of functions are arranged in a preset arrangement.

[0212] The button configuration device 1000 for a toothbrush further includes an operation detection module for detecting a first button configuration operation for first trigger information of a first button in a function selection list.

[0213] In one embodiment, the preset arrangement includes any one of the following:

[0214] Arrange the functions in descending order according to the function types corresponding to the functions and the function types configured by other trigger information of the first button according to their closeness;

[0215] Arrange the functions in descending order according to the function type corresponding to each function and the degree of closeness to the function type of the functions configured with the same trigger information of other keys;

[0216] Arrange the functions in descending order according to their historical usage frequency;

[0217] Arrange the functions according to the configuration frequencies corresponding to the first trigger information of the first button from large to small;

[0218] Arrange in a fixed default order.

[0219] In one embodiment, the receiving module is further used to receive current button configuration data sent by the toothbrush when a communication connection is established between the electronic device and the toothbrush.

[0220] The display module 1010 is further used to determine the current function corresponding to the first trigger information of the first button according to the current button configuration data; and display the current function corresponding to the first trigger information of the first button.

[0221] In one embodiment, the button configuration device 1000 for a toothbrush further includes a sending module.

[0222] The sending module is used to send updated button configuration data to the toothbrush, so that the toothbrush updates the corresponding relationship between the first button, the first trigger information and the first function according to the updated button configuration data.

[0223] In one embodiment, the receiving module is further used to obtain the current operating status of the toothbrush when a communication connection is established between the electronic device and the toothbrush.

[0224] The setting module 1020 is also used to prohibit key configuration operations if the current operating state of the toothbrush is the working state; and / or prohibit key configuration operations if the current operating state of the toothbrush is the standby state and the electronic device and the toothbrush are disconnected from the communication connection.

[0225] In one embodiment, the storage module 1030 is also used to store the first button, the first trigger information and the first function correspondingly when the electronic device and the toothbrush establish a communication connection; and is used to not store the first button, the first trigger information and the first function correspondingly when the electronic device and the toothbrush disconnect the communication connection.

[0226] In an embodiment of the present application, an electronic device displays a button setting interface, which includes one or more buttons set in the toothbrush and one or more trigger information corresponding to each button. In response to a first button configuration operation for a first button, a first function corresponding to the first trigger information of the first button is determined, and the first button, the first trigger information and the first function are stored accordingly. The user can flexibly configure the correspondence between the buttons, trigger information and functions on the toothbrush according to his or her own needs, enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0227] like Fig.11 As shown, in one embodiment, a toothbrush control device 1100 is provided, which can be applied to the above-mentioned toothbrush. The toothbrush control device 1100 may include a trigger module 1110 , a function determination module 1120 and a control module 1130 .

[0228] The trigger module 1110 is configured to obtain first trigger information corresponding to a trigger operation in response to a trigger operation on a first button.

[0229] The function determination module 1120 is used to determine the first function corresponding to the first trigger information of the first button according to the first trigger information of the first button; the correspondence between the first button, the first trigger information and the first function is configured according to the first button configuration operation for the first button.

[0230] The control module 1130 is used to control the toothbrush to perform the first function.

[0231] In one embodiment, the toothbrush control device 1100 further includes a usage information acquisition module.

[0232] The usage information acquisition module is used to obtain the current usage information of the toothbrush.

[0233] The function determination module 1120 is further configured to determine, based on the current usage information and the first trigger information of the first button, a first function corresponding to the first trigger information of the first button under the current usage information.

[0234] In one embodiment, the current usage information includes one or more of the current usage posture of the toothbrush, the current oral position of the toothbrush in the mouth, the current operating status of the toothbrush, the current brushing stage of the toothbrush, and the remaining power range to which the current remaining power of the toothbrush belongs.

[0235] In one embodiment, the toothbrush control device 1100 further includes a receiving module and an updating module.

[0236] The receiving module is used to receive updated key configuration data sent by the electronic device when a communication connection is established with the electronic device. The updated key configuration data includes one or more updated key configuration information. Each updated key configuration information includes a key, trigger information and a corresponding function.

[0237] The update module is used to update the corresponding relationship between one or more groups of buttons, trigger information and functions according to each updated button configuration information.

[0238] In an embodiment of the present application, the toothbrush responds to a trigger operation on a first button, obtains first trigger information corresponding to the trigger operation, and determines a first function corresponding to the first trigger information of the first button based on the first trigger information of the first button. The correspondence between the first function, the first trigger information and the first function is configured based on the first button configuration operation on the first button, and then the toothbrush is controlled to execute the first function. The toothbrush can respond to the user's trigger operation and execute corresponding functions based on the trigger information and / or functions configured by the user for each button, thereby enriching the functions that can be controlled by the buttons of the toothbrush and meeting the different control needs of the user. There is no need to add additional buttons on the toothbrush, thereby ensuring the user's holding and operating experience.

[0239] Fig.12 FIG. 1 is a structural block diagram of an electronic device in an embodiment. Fig.12 As shown, the electronic device 1200 may include one or more of the following components: a processor 1210, and a memory 1220 coupled to the processor 1210, wherein the memory 1220 may store one or more computer programs, and the one or more computer programs may be configured to implement the button configuration method of the toothbrush described in the above embodiments when executed by one or more processors 1210.

[0240] The processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts of the entire electronic device 1200, and executes various functions and processes data of the electronic device 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1220, and calling data stored in the memory 1220. Optionally, the processor 1210 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1210 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented separately through a communication chip.

[0241] The memory 1220 may include a random access memory (RAM) or a read-only memory (ROM). The memory 1220 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 1200 during use, etc.

[0242] It can be understood that the electronic device 1200 may include more or fewer structural elements than those in the above structural block diagram, for example, including a display device, a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., and is not limited here.

[0243] An embodiment of the present application discloses a toothbrush, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor implements the toothbrush control method described in the above embodiments.

[0244] The embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the button configuration method of the toothbrush as described in the above embodiments.

[0245] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the toothbrush control method described in the above embodiments.

[0246] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the button configuration method of the toothbrush described in the above embodiments.

[0247] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the toothbrush control method described in the above embodiments.

[0248] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0249] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).

[0250] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0251] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean 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 the embodiments of the present application.

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

[0253] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0254] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0255] The above is a detailed introduction to the button configuration method, device, electronic device and storage medium of a toothbrush disclosed in the embodiment of the present application. The principle and implementation method of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for configuring buttons of a toothbrush, characterized in that: Applied to electronic equipment, the method comprises: Display a button setting interface, the button setting interface including a plurality of usage information corresponding to the toothbrush, one or more buttons set in the toothbrush, and one or more trigger information corresponding to each of the buttons; the plurality of usage information corresponding to the toothbrush is used to describe the various usage states corresponding to the toothbrush; If a first button configuration operation for a first button is detected in a setting area of ​​the target usage information corresponding to the toothbrush, a first function corresponding to the first trigger information of the first button under the target usage information is determined in response to the first button configuration operation; the target usage information is any usage information corresponding to the toothbrush; for different usage information of the toothbrush, the functions corresponding to the first trigger information of the first button are the same or different; The target usage information, the first button, the first trigger information and the first function are stored correspondingly.

2. The method according to claim 1, characterized in that The multiple usage information corresponding to the toothbrush includes one or more of the following: Multiple usage postures of the toothbrush; multiple oral locations of the toothbrush in the oral cavity; A plurality of operating states corresponding to the toothbrush; The toothbrush has multiple brushing stages in one brushing process; The toothbrush corresponds to multiple remaining power ranges.

3. The method according to claim 1, characterized in that The electronic device is in communication connection with the toothbrush, and if a first key configuration operation for a first key is detected in a setting area of ​​target usage information corresponding to the toothbrush, before responding to the first key configuration operation, the method further includes: Receiving current usage information sent by the toothbrush; The current usage information is used as target usage information, and a setting area corresponding to the target usage information is displayed in the button setting interface.

4. The method according to claim 1, characterized in that: The method further comprises: In response to a second key configuration operation for the first key, determining a second function corresponding to second trigger information of the first key; the second trigger information is different from the first trigger information, and the second function is different from the first function; The first button, the second trigger information and the second function are stored correspondingly.

5. The method according to claim 1, characterized in that The method further comprises: In response to a third key configuration operation for a second key, determining a third function corresponding to third trigger information of the second key; the second key is different from the first key, and the third function is different from the first function; The second button, the third trigger information and the third function are stored correspondingly.

6. The method according to claim 1, characterized in that After determining the first function corresponding to the first trigger information of the first button under the target usage information, the method further includes: If the first function is the same as a function configured for any other button, or the first function is the same as a function configured for any other trigger information corresponding to the first button, a first prompt message is output, where the first prompt message is used to prompt that the configured functions are repeated.

7. The method according to claim 1, characterized in that Before determining, in response to the first key configuration operation for the first key, a first function corresponding to the first trigger information of the first key under the target usage information, the method further includes: Displaying a function selection list corresponding to the first trigger information of the first button, wherein the function selection list includes a plurality of functions, and the plurality of functions are arranged in a preset arrangement; A first key configuration operation for first trigger information of a first key is detected in the function selection list.

8. The method according to claim 7, characterized in that The preset arrangement includes any one of the following: Arrange the functions in descending order according to the function types corresponding to the functions and the function types configured by other trigger information of the first button according to their closeness; Arrange the functions in descending order according to the function type corresponding to each function and the degree of closeness to the function type of the functions configured with the same trigger information of other keys; Arrange the functions in descending order according to their historical usage frequency; Arrange the functions according to the configuration frequencies corresponding to the first trigger information of the first button from large to small; Arrange in a fixed default order.

9. The method according to any one of claims 1 to 8, characterized in that: Before determining, in response to the first key configuration operation for the first key, a first function corresponding to the first trigger information of the first key under the target usage information, the method further includes: When the electronic device and the toothbrush establish a communication connection, receiving current button configuration data sent by the toothbrush; Determine a current function corresponding to the first trigger information of the first button according to the current button configuration data; The current function corresponding to the first trigger information of the first button is displayed.

10. The method according to claim 9, characterized in that After the target usage information, the first button, the first trigger information, and the first function are stored in correspondence, the method further includes: Send updated button configuration data to the toothbrush, so that the toothbrush updates the correspondence between the first button, the first trigger information and the first function under the target usage information according to the updated button configuration data.

11. The method according to any one of claims 1 to 8, characterized in that: After displaying the button setting interface, the method further includes: When the electronic device establishes a communication connection with the toothbrush, obtaining a current operating state of the toothbrush; If the current operating state of the toothbrush is the working state, the key configuration operation is prohibited; and / or, If the current operating state of the toothbrush is the standby state, and the electronic device disconnects the communication connection with the toothbrush, the key configuration operation is prohibited.

12. The method according to any one of claims 1 to 8, characterized in that: The corresponding storage of the target usage information, the first button, the first trigger information, and the first function includes: When the electronic device establishes a communication connection with the toothbrush, the target usage information, the first button, the first trigger information and the first function are stored correspondingly; The method further comprises: When the electronic device is disconnected from the toothbrush, the target usage information, the first button, the first trigger information and the first function are not stored accordingly.

13. A toothbrush control method, characterized in that: Applied to a toothbrush, the method comprises: In response to a trigger operation on a first button, first trigger information corresponding to the trigger operation is obtained, and current usage information of the toothbrush is obtained; the current usage information of the toothbrush is used to describe a current usage status of the toothbrush; According to the current usage information and the first trigger information of the first button, determining the first function corresponding to the first trigger information of the first button under the current usage information; the correspondence between the current usage information, the first button, the first trigger information and the first function is configured according to the first button configuration operation for the first button in the setting area of ​​the current usage information corresponding to the toothbrush displayed in the button setting interface, the button setting interface including a plurality of usage information corresponding to the toothbrush, one or more buttons set in the toothbrush and one or more trigger information corresponding to each of the buttons, and for different usage information of the toothbrush, the functions corresponding to the first trigger information of the first button are the same or different; Controlling the toothbrush to perform the first function.

14. The method according to claim 13, characterized in that The current usage information includes one or more of the current usage posture of the toothbrush, the current oral position of the toothbrush in the mouth, the current operating state of the toothbrush, the current brushing stage of the toothbrush, and the remaining power range to which the current remaining power of the toothbrush belongs.

15. The method according to claim 13 or 14, characterized in that The method further comprises: In the case of establishing a communication connection with an electronic device, receiving updated key configuration data sent by the electronic device, the updated key configuration data including one or more updated key configuration information, each of the updated key configuration information including usage information, key, trigger information and corresponding function; According to each of the updated button configuration information, the correspondence between one or more groups of buttons, usage information, trigger information and functions is updated.

16. A button configuration device for a toothbrush, characterized in that: Applied to electronic equipment, the device comprises: A display module is used to display a button setting interface, wherein the button setting interface includes a plurality of usage information corresponding to the toothbrush, one or more buttons set in the toothbrush, and one or more trigger information corresponding to each of the buttons; the plurality of usage information corresponding to the toothbrush is used to describe the various usage states corresponding to the toothbrush; A setting module, for, if a first button configuration operation for a first button is detected in a setting area of ​​target usage information corresponding to the toothbrush, determining, in response to the first button configuration operation, a first function corresponding to first trigger information of the first button under the target usage information; the target usage information is any usage information corresponding to the toothbrush; for different usage information of the toothbrush, the functions corresponding to the first trigger information of the first button are the same or different; A storage module is used to store the target usage information, the first button, the first trigger information and the first function in correspondence.

17. A toothbrush control device, characterized in that: Applied to a toothbrush, the device comprises: A trigger module, configured to obtain first trigger information corresponding to a trigger operation on a first button in response to the trigger operation; A usage information acquisition module, used to acquire current usage information of the toothbrush; the current usage information of the toothbrush is used to describe the current usage status of the toothbrush; a function determination module, for determining, according to the current usage information and the first trigger information of the first button, a first function corresponding to the first trigger information of the first button under the current usage information; the correspondence between the first button, the first trigger information and the first function is configured according to a first button configuration operation for the first button in a setting area of ​​the current usage information corresponding to the toothbrush displayed in a button setting interface, the button setting interface including a plurality of usage information corresponding to the toothbrush, one or more buttons set in the toothbrush and one or more trigger information corresponding to each of the buttons, and for different usage information of the toothbrush, the functions corresponding to the first trigger information of the first button are the same or different; A control module is used to control the toothbrush to perform the first function.

18. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 12 or 13 to 15.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 12 or 13 to 15 is implemented.

Citation Information

Patent Citations

  • System for operating modes for an electric toothbrush

    CN101426450A

  • Method and device for setting functions of press keys of controller and electronic equipment

    CN104851269A

  • Method and device for controlling electric toothbrush

    CN106037973A

  • Toothbrush control method and device thereof and electric toothbrush

    CN110833463A

  • Electric toothbrush and control method thereof

    CN113558805A