Intelligent unlocking method and device of massager, storage medium and electronic equipment
By counting the frequency of massager usage and predicting the user's massage tendency and dynamically adjusting the massage mode, the existing massagers cannot adjust the massage techniques, improve user experience and hardware utilization, and realize intelligent unlocking and updating of the massager.
Patent Information
- Application Number
- CN202311684817.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2024-11-08
AI Technical Summary
The existing massagers cannot adjust the massage techniques according to individual user differences, resulting in the inability to take into account the best experience for all users, and lack freshness and surprises.
By counting the frequency of using the massager, unlocking and adding new massage modes, predicting the user's massage tendency type, dynamically adjusting the massage mode collection, and adding network server data update function.
It realizes the intelligent unlocking of the massager, brings freshness to users, improves user experience and hardware utilization, and adapts to the massage needs of different users.
Smart Images

Figure CN118919045A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of massage equipment, and in particular to an intelligent unlocking method and device for a massager, a storage medium, and an electronic device. Background Art
[0002] In the related art, there are two main types of massage control methods on the market: 1. Key switching. Short press the key to switch a massage technique, or short press the key to turn on or off a massage function (hot compress, music, light, etc.). It can also be controlled by voice recognition, and the user can control the massage technique switching through voice input, or turn on or off some functions (hot compress, music, light) through voice input.
[0003] In the related technologies, each user has differences in growth, and the size of the face, head, neck, etc. is different. The massage techniques of the equipment cannot take into account the best experience of all users. After the equipment leaves the factory, the massage techniques are fixed and cannot be updated or added. When the techniques are fixed, the cognition is fixed, which cannot give users more freshness or surprises, nor can it give users expectations.
[0004] With respect to the above-mentioned problems existing in the related technologies, no efficient and accurate solutions have been found yet. Summary of the invention
[0005] The present invention provides an intelligent unlocking method and device for a massager, a storage medium, and an electronic device to solve the above-mentioned technical problems existing in the related art.
[0006] According to one embodiment of the present invention, a smart unlocking method for a massager is provided, comprising: counting a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a number of unlocked massage modes, and the second massage mode set includes a number of unlocked massage modes; selecting a first massage mode in the second massage mode set according to the first usage frequency; unlocking the first massage mode, and adding the first massage mode from the second massage mode set to the first massage mode set.
[0007] Optionally, selecting the first massage mode in the second massage mode set according to the first usage frequency includes: predicting the user's first massage tendency type in the first time period according to the first usage frequency; and searching the second massage mode set for the first massage mode that best matches the first massage tendency type.
[0008] Optionally, predicting the user's first massage tendency type in the first time period based on the first usage frequency includes: determining a target massage mode with the highest usage frequency in the first massage mode set based on the first usage frequency; reading mode parameters of the target massage mode; and using the mode parameters to predict the user's first massage tendency type in the first time period.
[0009] Optionally, after adding the first massage mode to the first massage mode set, the method further includes: counting a second usage frequency of the first massage mode set of the massager within a second time period; selecting a second massage mode and a third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency; locking the second massage mode, unlocking the third massage mode, and adding the second massage mode from the first massage mode set to the second massage mode set, and adding the third massage mode from the second massage mode set to the first massage mode set.
[0010] Optionally, selecting the second massage mode and the third massage mode in the first massage mode set and the second massage mode set respectively according to the second usage frequency includes: predicting the user's second massage tendency type in the second time period according to the second usage frequency, and predicting the user's massage aversion type in the second time period according to the second usage frequency; searching for the third massage mode that best matches the second massage tendency type in the second massage mode set, and searching for the second massage mode that best matches the massage aversion type in the first massage mode set.
[0011] Optionally, before locking the second massage mode and unlocking the third massage mode, the method further includes: obtaining the current number of modes in the first massage mode set; determining whether the number of modes reaches a preset value; if the number of modes reaches the preset value, determining to lock the second massage mode and unlock the third massage mode.
[0012] Optionally, the method also includes: monitoring whether there is new massage technique data on the network server of the massager; if there is new massage technique data on the network server of the massager, downloading the massage technique data from the network server; using the massage technique data to generate a fourth massage mode, and adding the fourth massage mode to the second massage mode set.
[0013] According to another embodiment of the present invention, there is provided an intelligent unlocking device for a massager, comprising: a statistical module, used to count a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a number of unlocked massage modes, and the second massage mode set includes a number of unlocked massage modes; a first selection module, used to select a first massage mode in the second massage mode set according to the first usage frequency; a first unlocking module, used to unlock the first massage mode, and add the first massage mode from the second massage mode set to the first massage mode set.
[0014] Optionally, the first selection module includes: a prediction unit for predicting the user's first massage tendency type in the first time period based on the first usage frequency; and a search unit for searching the first massage mode that best matches the first massage tendency type in the second massage mode set.
[0015] Optionally, the prediction unit includes: a determination subunit, used to determine the target massage mode with the highest usage frequency in the first massage mode set based on the first usage frequency; a reading subunit, used to read the mode parameters of the target massage mode; and a prediction subunit, used to use the mode parameters to predict the user's first massage tendency type in the first time period.
[0016] Optionally, the device also includes: a first unlocking module, used to count the second usage frequency of the first massage mode set of the massager within a second time period after the first unlocking module adds the first massage mode to the first massage mode set; a second selection module, used to select the second massage mode and the third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency; a second unlocking module, used to lock the second massage mode, unlock the third massage mode, and add the second massage mode from the first massage mode set to the second massage mode set, and add the third massage mode from the second massage mode set to the first massage mode set.
[0017] Optionally, the second selection module includes: a prediction unit for predicting the user's second massage tendency type in the second time period based on the second usage frequency, and predicting the user's massage aversion type in the second time period based on the second usage frequency; a search unit for searching the third massage mode that best matches the second massage tendency type in the second massage mode set, and searching the second massage mode that best matches the massage aversion type in the first massage mode set.
[0018] Optionally, the device also includes: an acquisition module, used to acquire the current number of modes in the first massage mode set before the second unlocking module locks the second massage mode and unlocks the third massage mode; a judgment module, used to judge whether the number of modes reaches a preset value; and a determination module, used to determine to lock the second massage mode and unlock the third massage mode if the number of modes reaches the preset value.
[0019] Optionally, the device also includes: a monitoring module, used to monitor whether there is new massage technique data on the network server of the massager; a downloading module, used to download the massage technique data from the network server if there is new massage technique data on the network server of the massager; and an adding module, used to generate a fourth massage mode using the massage technique data, and add the fourth massage mode to the second massage mode set.
[0020] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device embodiments when running.
[0021] According to another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above-mentioned device embodiments.
[0022] Through the embodiment of the present invention, a first usage frequency of a first massage mode set of a massager within a first time period is counted, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a number of unlocked massage modes, and the second massage mode set includes a number of unlocked massage modes, and the first massage mode is selected from the second massage mode set according to the first usage frequency, the first massage mode is unlocked, and the first massage mode is added from the second massage mode set to the first massage mode set. After the user uses the massager for a period of time, a new massage mode that the user likes is unlocked, which brings a sense of freshness to the user, solves the technical problem in the related art that the massager can only use the factory-fixed massage mode, improves the hardware utilization of the massager, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0024] Figure 1 is a hardware structure block diagram of a massager according to an embodiment of the present invention;
[0025] Figure 2 is a flow chart of a smart unlocking method for a massager according to an embodiment of the present invention;
[0026] Figure 3 is a schematic structural diagram of a massager in an embodiment of the present invention;
[0027] Figure 4 is a schematic diagram of a key switching mode in an embodiment of the present invention;
[0028] Figure 5 is a schematic diagram of a local voice recognition switching mode in an embodiment of the present invention;
[0029] Figure 6 is a schematic diagram of a cloud-based voice recognition switching mode in an embodiment of the present invention;
[0030] Figure 7 4 is a structural block diagram of an intelligent unlocking device for a massager according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Example 1
[0034] The method embodiment provided in the first embodiment of the present application can be executed in a massager, a mobile phone, a computer, a tablet, a health device, or a similar control device. Taking running on a massager as an example, Figure 1 1 is a hardware structure block diagram of a massager according to an embodiment of the present invention. Figure 1 As shown, the massager may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the massager may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above massager. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0035] The memory 104 can be used to store massager programs, for example, software programs and modules of application software, such as a massager program corresponding to a smart unlocking method of a massager in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the massager program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the massager via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0036] The transmission device 106 is used to receive or send data via a network. A specific example of the above network may include a wireless network provided by a communication provider of the massager. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0037] In this embodiment, a smart unlocking method for a massager is provided. Figure 2 is a flow chart of a smart unlocking method for a massager according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0038] Step S202, counting a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes;
[0039] The massager of this embodiment is a health device or wearable device that acts on living bodies such as humans and animals. The health device may be a neck massager, a facial massager, a shoulder massager, a leg massager, a massage chair, a back massager, etc. The massager may run a variety of massage modes based on user selection or settings.
[0040] The massager of this embodiment has two types of massage modes built in when it leaves the factory, namely a first massage mode set that has been unlocked and a second massage mode set that has not yet been unlocked. The massage modes in each massage set can switch states under certain conditions, such as switching from an unlocked state (activated state) to an unlocked state (silent state), or from an unlocked state to an unlocked state. The user cannot directly select and use a massage mode in the second massage mode set, but can only select and use a massage mode in the first massage mode set.
[0041] In one example, a first video frequency is obtained by counting parameters such as the number of times each massage mode in a first massage mode set is used and the duration of use within a first time period. The first video frequency is used to characterize parameters such as the duration of each use, the total duration of use, the number of uses, etc. of each massage mode in the first massage mode set within the first time period.
[0042] Step S204, selecting a first massage mode from the second massage mode set according to the first usage frequency;
[0043] Optionally, in addition to selecting the first massage mode from the second massage mode set according to the first usage frequency, the first massage mode can be randomly selected from the second massage mode set after the current first massage mode set has been used for a period of time, or the first massage mode with the highest priority can be selected from the second massage mode set according to a preset priority.
[0044] Step S206, unlocking the first massage mode, and adding the first massage mode from the second massage mode set to the first massage mode set.
[0045] When the first massage mode is added from the second massage mode set to the first massage mode set, the first massage mode is deleted from the second massage mode set, and the first massage mode is added to the first massage mode set.
[0046] Optionally, after unlocking the first massage mode, a prompt message may be output to prompt the user that the massager has automatically added a new massage mode and welcomes the user to experience it.
[0047] Through the above steps, the first usage frequency of the first massage mode set of the massager within the first time period is counted, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a number of unlocked massage modes, and the second massage mode set includes a number of unlocked massage modes, and the first massage mode is selected from the second massage mode set according to the first usage frequency, the first massage mode is unlocked, and the first massage mode is added from the second massage mode set to the first massage mode set. After the user uses the massager for a period of time, a new massage mode that the user likes is unlocked, which brings a sense of freshness to the user, solves the technical problem in the related art that the massager can only use the factory-fixed massage mode, improves the hardware utilization of the massager, and improves the user experience.
[0048] In this embodiment, selecting the first massage mode in the second massage mode set according to the first usage frequency includes: predicting the user's first massage tendency type in the first time period according to the first usage frequency; and searching the second massage mode set for the first massage mode that best matches the first massage tendency type.
[0049] Optionally, predicting the user's first massage tendency type in the first time period based on the first usage frequency includes: determining a target massage mode with the highest usage frequency in a first massage mode set based on the first usage frequency; reading mode parameters of the target massage mode; and using the mode parameters to predict the user's first massage tendency type in the first time period.
[0050] In the above optional examples, the mode parameters may be, but are not limited to: massage area (such as eyes, back, shoulders, waist, etc.), massage technique (such as tapping, kneading, hot compress, etc.), massage intensity, massage scene (such as sleep aid, relief after exercise, refreshing, etc.), and may also be the driving parameters of the massager motor, such as frequency, voltage, current, etc. By inputting the mode parameters into the pre-trained first prediction model, the first massage tendency type corresponding to the target massage mode is output, and the first massage tendency type characterizes the user's massage preference in the first time period, and finally the first massage mode that best matches the first massage tendency type is found in the second massage mode set. The first massage tendency type of this embodiment may be a data label, and each massage mode of this embodiment is associated with at least one data label.
[0051] In some other examples, the target massage pattern may be input into a pre-trained second prediction model, and through similarity matching, a first massage pattern with the highest matching degree with the target massage pattern may be output.
[0052] In one implementation of this embodiment, after adding the first massage mode to the first massage mode set, the method further includes:
[0053] S11, counting a second usage frequency of the first massage mode set of the massager in a second time period;
[0054] S12, selecting a second massage mode and a third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency;
[0055] In one example, selecting the second massage mode and the third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency includes: predicting the user's second massage tendency type in the second time period according to the second usage frequency, and predicting the user's massage aversion type in the second time period according to the second usage frequency; searching the second massage mode set for the third massage mode that best matches the second massage tendency type, and searching the first massage mode set for the second massage mode that best matches the massage aversion type.
[0056] Optionally, the massage modes in the first massage mode set can also be sorted based on the second usage frequency, with the massage mode with the most usage times at the front and the massage mode with the least usage times at the end. The mode type of the massage mode with the most usage times can be determined as the third massage tendency type, and the massage mode with the least usage times can be determined as the second massage mode.
[0057] In one implementation scenario, after searching the second massage mode that best matches the massage aversion type in the first massage mode set, it is also determined whether the second massage mode is the user's favorite mode or default mode. If the second massage mode is the user's favorite mode or default mode, the fifth massage mode that second matches the massage aversion type (such as the massage mode ranked second in frequency of use) is searched in the first massage mode set, and the second massage mode is replaced by the fifth massage mode. Although a massage mode may be used less frequently in a certain period of time and is also a favorite mode or default mode set by the user, it may be because the massager is lent to others or the user keeps trying new massage modes. In this case, the favorite mode or default mode set by the user can be retained. The user can also directly start the previously set favorite mode or default mode in a convenient way when using it next time, thereby improving the user experience and preventing the user from finding the previously set favorite mode or default mode after the massager is lent out. While providing the user with a sense of freshness, the user's original intention and sense of belonging are retained.
[0058] S13, locking the second massage mode, unlocking the third massage mode, and adding the second massage mode from the first massage mode set to the second massage mode set, and adding the third massage mode from the second massage mode set to the first massage mode set.
[0059] According to user habits, some massage modes are eliminated and some massage modes that users like are updated to achieve the best experience that suits different users.
[0060] Optionally, before locking the second massage mode and unlocking the third massage mode, it also includes: obtaining the current number of modes in the first massage mode set; determining whether the number of modes reaches a preset value; if the number of modes reaches the preset value, determining to lock the second massage mode and unlock the third massage mode.
[0061] In this example, if the model has not reached the preset value, the second massage mode can be maintained unlocked while unlocking the third massage mode. However, if the preset value is reached, in order to improve the efficiency of the user's operation of the massager to select a massage mode, or to avoid the user's choice phobia, the unlocked second massage mode can be locked and deleted from the first massage mode set. Because the resources of the massager's mode selection button or massage selection control are limited, if too many massage modes are unlocked, it will become difficult for the user to select or find the massage mode they want, which will increase the difficulty of operating the massager.
[0062] The massager of this embodiment includes multiple functional modules, and the massage modes can be switched by pressing buttons, by local voice recognition, or by cloud voice recognition. Figure 3 It is a structural diagram of the massager in the embodiment of the present invention, including a local sound pickup module, a local voice recognition DSP module, an audio playback module, a massage actuator module, a data storage module, a cloud data storage module, and an MCU (microcomputer) module. The massage device can switch the massage technique mode through three inputs: device button, local voice recognition, or cloud voice recognition. To switch by button, you short press the device mode button to start the next mode. Among them, local voice recognition is the sound pickup of the massager device, and the voice command is obtained through the device DSP voice analysis to switch the mode. Cloud voice recognition is the sound pickup of the local device, and the audio data is transmitted to the cloud to analyze the audio data. If the specified command is parsed, the command is sent to the device end to execute the switch to the specified mode.
[0063] Figure 4 Schematic diagram of the key switching mode in the embodiment of the present invention, the key switching mode, the production massage device has N default modes (such as: 3 modes), and X modes that are not unlocked (such as: 10 modes).
[0064] Phase 1: The button switches from mode 1 to N (i.e. button function: next mode). Over time, the user is accustomed to the mode. The usage time and frequency of each mode are counted and sorted to predict which mode the user likes.
[0065] The second stage: After using it for a period of time, a preset mode that the user may like is unlocked and added to the previous N modes (for example, from 3 modes to 4 modes), becoming N+1 modes, and the usage time and frequency of each mode are recounted and re-sorted.
[0066] Phase 3: After a period of time, a preset mode that the user may like is unlocked again to replace the last ranked mode (replace the lowest ranked mode with the new mode), and the usage time is recalculated and re-ranked. The third phase is repeated in a cycle.
[0067] Figure 5 It is a schematic diagram of the local voice recognition switching mode in the embodiment of the present invention. The local voice recognition mode, the production device default mode N (such as: 3 modes). The mode that is not unlocked is X (such as: 10 modes)
[0068] Phase 1: Use voice to identify modes (such as soothing mode, eye exercise mode, sleep mode, etc.). As time goes by, the time and frequency of each mode are counted and sorted to predict which mode the user likes.
[0069] The second stage: unlock a preset mode that the user may like, add it to the previous N modes (for example, from 3 modes to 4 modes), and turn it into N+1 modes. The voice prompts the user with the new mode command word, and the user can switch to the new mode according to the command word. The usage time and frequency of each mode are re-counted and re-ordered.
[0070] The third stage: After a period of time, a mode is unlocked again to replace the last mode in the ranking (i.e. the last mode is eliminated and the lowest ranking mode is replaced by the new mode), and the user is prompted with the new mode command word by voice, and the user can switch to the new mode according to the command word. Then the usage time is re-counted and re-ranked, and the third stage is repeated in a cycle.
[0071] In this embodiment, it also includes: monitoring whether there is new massage technique data on the network server of the massager; if there is new massage technique data on the network server of the massager, downloading the massage technique data from the network server; using the massage technique data to generate a fourth massage mode, and adding the fourth massage mode to the second massage mode set.
[0072] In some examples, the local storage space of the massager is limited, and the new massage mode is continuously updated, which may fill up the storage space of the massager after a period of time, causing the massager to function abnormally. In this embodiment, before adding the fourth massage mode to the second massage mode set, the method also includes: determining the number of modes in the current second massage mode set, judging whether the number of modes exceeds a preset value, and if it exceeds the preset value, prohibiting the fourth massage mode from being added to the second massage mode set; if it does not exceed the preset value, reading the remaining storage space of the massager, and if the remaining storage space is lower than a preset threshold, determining to add the fourth massage mode to the second massage mode set, and if the remaining storage space is higher than the preset threshold, deleting several massage modes with the lowest frequency of use from the first massage mode set. The scheme of this embodiment is adopted, under the premise of continuously updating new massage modes, the storage space and function of the massager are guaranteed to be normal, and the storage space of the massager is prevented from being full and causing abnormal functions. When the number of modes in the current second massage mode set is large, it means that the user has just used the massager, and there are many massage modes that have not been unlocked to be unlocked. In order to prevent waste of resources and invalid updates, new massage modes can be added when there are fewer massage modes that have not been unlocked.
[0073] Figure 6 It is a schematic diagram of the cloud voice recognition switching mode in the embodiment of the present invention. After the device is connected to the Internet, the massager detects whether there are more massage technique data (technique data + voice data) on the server through the wireless network that can be downloaded to the device. If so, it is directly downloaded to the local (if there are M new modes on the network and X modes that have not been unlocked locally, the massage modes of the second massage mode set will increase to X+M), waiting to be unlocked. After waiting for the mode data to be downloaded to the massage device, the cloud voice recognition can be used to switch the massage mode and other switching methods, and the usage time and frequency of each mode can be counted and sorted, so as to predict the user's new favorite massage mode, thereby unlocking the new mode and replacing the last mode in the sorting.
[0074] By adopting the solution of this embodiment, the user starts or switches the massage mode of the massager through accurate voice recognition or button pressing, and the user's massage habits are counted and analyzed to predict the mode that the user will like and unlock the best mode. Regardless of whether the device is connected to the Internet, the user can experience an ever-increasing massage experience. Different massage techniques will be unlocked one after another within a period of time after use, giving the user constant surprises. At the same time, according to user habits, some massage modes are eliminated to achieve the best experience for different users, and the device is upgraded to an intelligent massager with self-learning and optimization capabilities.
[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0076] Example 2
[0077] In this embodiment, a smart unlocking device for a massager is also provided, which is used to implement the above-mentioned embodiments and preferred implementations, and will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0078] Figure 7 is a structural block diagram of an intelligent unlocking device for a massager according to an embodiment of the present invention. Figure 7 As shown, the device comprises:
[0079] A statistics module 70 is used to count a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes;
[0080] A first selection module 72, configured to select a first massage mode from the second massage mode set according to the first usage frequency;
[0081] The first unlocking module 74 is used to unlock the first massage mode and add the first massage mode from the second massage mode set to the first massage mode set.
[0082] Optionally, the first selection module includes: a prediction unit for predicting the user's first massage tendency type in the first time period based on the first usage frequency; and a search unit for searching the first massage mode that best matches the first massage tendency type in the second massage mode set.
[0083] Optionally, the prediction unit includes: a determination subunit, used to determine the target massage mode with the highest usage frequency in the first massage mode set based on the first usage frequency; a reading subunit, used to read the mode parameters of the target massage mode; and a prediction subunit, used to use the mode parameters to predict the user's first massage tendency type in the first time period.
[0084] Optionally, the device also includes: a first unlocking module, used to count the second usage frequency of the first massage mode set of the massager within a second time period after the first unlocking module adds the first massage mode to the first massage mode set; a second selection module, used to select the second massage mode and the third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency; a second unlocking module, used to lock the second massage mode, unlock the third massage mode, and add the second massage mode from the first massage mode set to the second massage mode set, and add the third massage mode from the second massage mode set to the first massage mode set.
[0085] Optionally, the second selection module includes: a prediction unit for predicting the user's second massage tendency type in the second time period based on the second usage frequency, and predicting the user's massage aversion type in the second time period based on the second usage frequency; a search unit for searching the third massage mode that best matches the second massage tendency type in the second massage mode set, and searching the second massage mode that best matches the massage aversion type in the first massage mode set.
[0086] Optionally, the device also includes: an acquisition module, used to acquire the current number of modes in the first massage mode set before the second unlocking module locks the second massage mode and unlocks the third massage mode; a judgment module, used to judge whether the number of modes reaches a preset value; and a determination module, used to determine to lock the second massage mode and unlock the third massage mode if the number of modes reaches the preset value.
[0087] Optionally, the device also includes: a monitoring module, used to monitor whether there is new massage technique data on the network server of the massager; a downloading module, used to download the massage technique data from the network server if there is new massage technique data on the network server of the massager; and an adding module, used to generate a fourth massage mode using the massage technique data, and add the fourth massage mode to the second massage mode set.
[0088] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0089] Example 3
[0090] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0091] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0092] S1, counting a first usage frequency of a first massage mode set of a massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes;
[0093] S2, selecting a first massage mode from the second massage mode set according to the first usage frequency;
[0094] S3, unlocking the first massage mode, and adding the first massage mode from the second massage mode set to the first massage mode set.
[0095] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0096] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0097] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0098] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0099] S1, counting a first usage frequency of a first massage mode set of a massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes;
[0100] S2, selecting a first massage mode from the second massage mode set according to the first usage frequency;
[0101] S3, unlocking the first massage mode, and adding the first massage mode from the second massage mode set to the first massage mode set.
[0102] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0103] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0104] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0106] The units described 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.
[0107] 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.
[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0109] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A smart unlocking method for a massager, characterized in that: include: Counting a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes; selecting a first massage mode from the second massage mode set according to the first usage frequency; The first massage mode is unlocked, and the first massage mode is added from the second massage mode set to the first massage mode set.
2. The method according to claim 1, characterized in that Selecting a first massage mode from the second massage mode set according to the first usage frequency includes: predicting a first massage tendency type of the user in the first time period according to the first usage frequency; The first massage mode that best matches the first massage tendency type is searched in the second massage mode set.
3. The method according to claim 2, characterized in that Predicting the user's first massage tendency type in the first time period according to the first usage frequency includes: Determining a target massage mode with the highest usage frequency in the first massage mode set based on the first usage frequency; Reading the mode parameters of the target massage mode; The mode parameters are used to predict a first massage tendency type of the user in the first time period.
4. The method according to claim 1, characterized in that After adding the first massage mode to the first massage mode set, the method further includes: Counting a second usage frequency of the first massage mode set of the massager in a second time period; selecting a second massage mode and a third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency; The second massage mode is locked, the third massage mode is unlocked, the second massage mode is added from the first massage mode set to the second massage mode set, and the third massage mode is added from the second massage mode set to the first massage mode set.
5. The method according to claim 4, characterized in that Selecting the second massage mode and the third massage mode from the first massage mode set and the second massage mode set respectively according to the second usage frequency comprises: predicting a second massage preference type of the user in the second time period according to the second usage frequency, and predicting a massage aversion type of the user in the second time period according to the second usage frequency; The third massage mode that best matches the second massage tendency type is searched in the second massage mode set, and the second massage mode that best matches the massage aversion type is searched in the first massage mode set.
6. The method according to claim 4, characterized in that Before locking the second massage mode and unlocking the third massage mode, the method further includes: Obtain the current number of modes in the first massage mode set; Determining whether the number of modes reaches a preset value; If the number of modes reaches a preset value, it is determined to lock the second massage mode and unlock the third massage mode.
7. The method according to claim 1, characterized in that The method further comprises: Monitoring whether there is new massage technique data on the network server of the massager; If the network server of the massager has new massage technique data, download the massage technique data from the network server; A fourth massage mode is generated by using the massage technique data, and the fourth massage mode is added to the second massage mode set.
8. An intelligent unlocking device for a massager, characterized in that: include: a statistical module, configured to count a first usage frequency of a first massage mode set of the massager within a first time period, wherein the massager is locally configured with a first massage mode set and a second massage mode set, the first massage mode set includes a plurality of unlocked massage modes, and the second massage mode set includes a plurality of unlocked massage modes; a first selection module, configured to select a first massage mode from the second massage mode set according to the first usage frequency; The first unlocking module is used to unlock the first massage mode and add the first massage mode from the second massage mode set to the first massage mode set.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 7 when executed.
10. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method steps of any one of claims 1 to 7 by running a program stored in a memory.
