Gear adjustment method, device, storage medium and electronic equipment

The terminal receives the operation information of the virtual gear control to generate instructions, and realizes continuous gear adjustment of the wearable massager, solving the problem of cumbersome manual gear adjustment by users and improving the convenience and efficiency of gear adjustment.

CN113134160BActive Publication Date: 2024-12-27GUANGDONG SKG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110346686.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2024-12-27
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

The existing wearable massagers require the user to manually adjust the gears multiple times when adjusting the gear position. The operation is cumbersome and the adjustment time is long, which lacks convenience.

Method used

The terminal receives the operation information input from the user's virtual gear control, generates and sends gear adjustment instructions, realizes continuous gear adjustment of the wearable massager, and reduces the user's manual operation on the device.

Benefits of technology

It improves the convenience and efficiency of gear adjustment, reduces the time of gear adjustment, enhances the intelligence and accuracy of operation, and provides real-time feedback on gear changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113134160B_ABST
    Figure CN113134160B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a gear adjustment method, device, storage medium and electronic device, wherein the method includes: receiving a gear adjustment operation input for a virtual gear control in a gear adjustment application, obtaining operation information corresponding to the gear adjustment operation, generating a gear adjustment instruction based on the operation information, sending the gear adjustment instruction to the wearable massager to control the wearable massager to perform continuous gear adjustment, the wearable massager is communicatively connected to the terminal, and the embodiments of the present application are used to improve the convenience of gear adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of massage equipment, and in particular to a gear adjustment method, device, storage medium and electronic equipment. Background Art

[0002] With the development of science and technology and the improvement of people's ideological level, people will pay more and more attention to physical health. For example, when the user is unwell, the user can go to a professional medical institution for massage to relax the whole body, eliminate fatigue and relieve stress. However, when the user's spare time is insufficient, the user cannot go to a professional medical institution, so wearable massagers (such as eye massagers, waist massagers, etc.) come into being. For example, a wearable massager can output pulse microcurrent through an electrode element to apply a certain tension to the skin to achieve a stimulation effect (such as a massage stimulation effect). Summary of the invention

[0003] The embodiments of the present application provide a gear adjustment method, device, storage medium and electronic device, which can improve the convenience of gear adjustment. The technical solution of the embodiments of the present application is as follows:

[0004] In a first aspect, an embodiment of the present application provides a gear adjustment method, which is applied to a terminal, wherein the terminal is communicatively connected to a wearable massager, and the method includes:

[0005] Receiving a gear adjustment operation inputted to a virtual gear control in a gear adjustment application, and acquiring operation information corresponding to the gear adjustment operation;

[0006] A gear adjustment instruction is generated based on the operation information, and the gear adjustment instruction is sent to the wearable massager to control the wearable massager to continuously adjust the gear.

[0007] In a second aspect, an embodiment of the present application provides a gear adjustment method, which is applied to a wearable massager, and the method includes:

[0008] Receiving a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on operation information corresponding to a gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in a gear adjustment application of the terminal;

[0009] The gear is continuously adjusted based on the gear adjustment instruction, and the wearable massager is connected to the terminal.

[0010] In a third aspect, an embodiment of the present application provides a gear adjustment device, the device comprising:

[0011] An information acquisition module, used for receiving a gear adjustment operation inputted from a virtual gear control in a gear adjustment application;

[0012] An instruction generation module, used for acquiring operation information corresponding to the gear adjustment operation, and generating a gear adjustment instruction based on the operation information;

[0013] A control and adjustment module is used to control the wearable massager to perform continuous gear adjustment based on the gear adjustment instruction, and the wearable massager is connected to the terminal.

[0014] In a fourth aspect, an embodiment of the present application provides another gear adjustment device, the device comprising:

[0015] An instruction receiving module, used for receiving a gear adjustment instruction sent by a terminal, wherein the gear adjustment instruction is generated by the terminal based on operation information corresponding to a gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in a gear adjustment application of the terminal;

[0016] A gear adjustment module is used to continuously adjust the gear based on the gear adjustment instruction, and the wearable massager is connected to the terminal.

[0017] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing any of the above method steps.

[0019] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0020] In one or more embodiments of the present application, a terminal receives a gear adjustment operation input by a user for a virtual gear control in a gear adjustment application, obtains operation information corresponding to the gear adjustment operation, generates a gear adjustment instruction based on the operation information, and sends the gear adjustment instruction to the wearable massager to control the wearable massager to continuously adjust the gear, and the wearable massager is connected to the terminal; when (the user) has a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly received, and a gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation, so that the gear of the wearable massager can be continuously adjusted based on the gear adjustment instruction generated on the terminal. During the entire gear adjustment process, the user does not need to manually adjust the gear multiple times, such as requiring the user to perform large-scale body movements on the wearable massager to manually increase the gear each time it is pressed, thereby improving the convenience of gear adjustment and reducing the adjustment time of gear adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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.

[0022] Figure 1 It is a flow chart of a gear adjustment method provided in an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of an interface of a gear adjustment application involved in a gear adjustment method provided in an embodiment of the present application;

[0024] Figure 3 is a flow chart of another gear adjustment method provided in an embodiment of the present application;

[0025] Figure 3a is a schematic diagram of a scenario of a gear position adjustment of a second touch type involved in the gear position adjustment method provided in an embodiment of the present application;

[0026] Figure 3b is a schematic diagram of another scenario of gear adjustment of the second touch type involved in the gear adjustment method provided in an embodiment of the present application;

[0027] Figure 4 is a schematic diagram of a scenario of a gear position adjustment of a third touch type involved in a gear position adjustment method provided in an embodiment of the present application;

[0028] Figure 5It is a schematic diagram of an interface of a touch area of ​​a virtual gear position control involved in a gear position adjustment method provided in an embodiment of the present application;

[0029] Figure 6 It is a schematic diagram of an interface of a gear change time involved in a gear adjustment method provided in an embodiment of the present application;

[0030] Figure 7 is a flow chart of another gear adjustment method provided in an embodiment of the present application;

[0031] Figure 8 This is a schematic diagram of an application scenario of a wearable massager provided in an embodiment of the present application;

[0032] Fig. 9 is a flow chart of another gear adjustment method provided in an embodiment of the present application;

[0033] Fig.10 This is a schematic diagram of a scene architecture of a gear adjustment provided in an embodiment of the present application;

[0034] Fig.11 is a structural schematic diagram of a gear adjustment device provided in an embodiment of the present application;

[0035] Fig.12 It is a structural diagram of an instruction generation module provided in an embodiment of the present application;

[0036] Fig.13 is a structural schematic diagram of another gear adjustment module provided in an embodiment of the present application;

[0037] Fig.14 is a structural schematic diagram of another gear adjustment device provided in an embodiment of the present application;

[0038] Fig.15 is a structural schematic diagram of a gear adjustment module provided in an embodiment of the present application;

[0039] Fig.16 is a structural schematic diagram of another gear adjustment device provided in an embodiment of the present application;

[0040] Fig.17 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0041] Fig.18 It is a schematic diagram of the structure of the operating system and user space provided in the embodiment of the present application;

[0042] Fig.19 yes Fig.17 The architecture diagram of the Android operating system;

[0043] Fig. 20 yes Fig.17 The architecture diagram of the IOS operating system;

[0044] Fig.21 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] 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.

[0046] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are a kind of "or" relationship.

[0047] The present application is described in detail below with reference to specific embodiments.

[0048] In one embodiment, Figure 1 As shown, a gear adjustment method is proposed, which is applied to the terminal. The method can be implemented by a computer program and can be run on a gear adjustment device based on the von Neumann system. The computer program can be integrated into the application or run as an independent tool application.

[0049] Specifically, the gear adjustment method includes:

[0050] Step S101: receiving a gear adjustment operation inputted to a virtual gear control in a gear adjustment application, and obtaining operation information corresponding to the gear adjustment operation.

[0051] The gear adjustment application is usually an interactive application with interactive functions. This type of interactive application can realize the interaction between the wearable massager and the terminal. For example, the user can control the wearable massager through the gear adjustment application on the terminal; for example, the wearable massager can send the current status information (such as the current power, the gear of the electrical stimulation, etc.). In addition, the gear adjustment application can refer to an application developed by a third party and not provided by the terminal operating system itself to control the wearable massager, including some applications, applets, plug-ins, application services, etc. developed by a third party. In some embodiments, the gear adjustment application can be understood as an application other than the preset system application of the terminal operating system, and the gear adjustment application can be run on the terminal.

[0052] The control can be understood as the "encapsulation of data and methods" corresponding to the display content used to develop and build the terminal user display interface (i.e., UI interface). Certain method functions can be implemented through the control, such as providing the functions of interface elements such as windows, text boxes, buttons, and drop-down menus. Generally, controls can be divided into four types:

[0053] Imperative control: used to start a specific function. Common command controls include button controls, icon controls, hyperlink controls, etc.

[0054] Selection control: used to select options or data. Common selection controls include check box controls, list box controls, list controls, text edit controls, etc.

[0055] Entry control: used to input data. Common input controls include spinner controls, dial controls, slider controls, etc.

[0056] Display control: used to control "how" and "where" an application displays specific data. Commonly used display controls include text controls for displaying text, image controls for displaying images, etc.

[0057] In this application, the virtual gear control is a functional control in the gear adjustment application, which is used to simulate the gear adjustment function key or function button on the wearable massager. Based on the virtual gear control, the user can adjust or continuously adjust the gear of the wearable massager on the terminal. The type of the virtual gear control is determined based on the specific implementation environment and is not further limited here.

[0058] The gear adjustment operation is a type of human-computer interaction operation. Usually, the human-computer interaction operation is an instruction or command for commanding the terminal to work, which can be understood as a code that specifies the execution of a certain operation or a certain control to achieve a certain function. Furthermore, the gear adjustment operation in this application can be understood as a machine executable code generated by the trigger instruction before the command terminal executes the gear adjustment of the wearable massager. By executing the code, the terminal first obtains the operation information corresponding to the gear adjustment operation input by the user, and then generates an adjustment instruction based on the operation information.

[0059] The operation information can be understood as the operation parameters used by the terminal to generate the corresponding gear adjustment instructions. In this application, the acquisition of the operation information corresponds to the gear adjustment operation input by the user. In some embodiments, the type of gear adjustment operation is different, and the operation information contained in the operation information is also different;

[0060] If the gear adjustment operation is an interval touch operation on the virtual gear control, the exemplary operation information may be the number of interval clicks and the interval click duration corresponding to the interval touch operation;

[0061] If the gear adjustment operation is a continuous touch operation on the virtual gear control, the exemplary operation information may be the continuous touch duration, the continuous touch force, etc.

[0062] If the gear adjustment operation is a continuous sliding operation on the virtual gear control, the exemplary operation information may be a sliding distance, a sliding displacement, a sliding speed, etc.

[0063] If the gear adjustment operation is a voice adjustment operation for a virtual gear control, the exemplary operation information may be a voice adjustment keyword (such as adjusting to a target gear), etc.;

[0064] Specifically, the terminal may have a touch screen, which may be a touch screen capable of realizing a single touch function, such as a capacitive touch screen, an electromagnetic touch screen, or a touch screen capable of realizing capacitive sensing, electromagnetic sensing, and infrared sensing at the same time. The user may start the gear adjustment application on the terminal, and when the user touches the virtual control in the gear adjustment application on the terminal touch screen with a finger, the capacitance parameter of the touch position changes, and the touch frame determines the touch parameters (touch position, touch time, touch strength, etc.) of the finger on the terminal display interface according to the change in capacitance; or, when the finger contacts the touch frame, it blocks the infrared receiving end from receiving the infrared signal, and the touch frame determines the touch parameters of the finger on the display interface according to the blocked infrared signal. By identifying the code corresponding to the logic control instruction corresponding to the touch parameter, the terminal can monitor the gear adjustment operation input by the user for the translation control.

[0065] In a specific implementation scenario, such as Figure 2As shown, Figure 2 The present invention is a schematic diagram of an interface of a gear adjustment application. The terminal may have a touch screen. The current display interface of the terminal is a display interface of a gear adjustment application. The user may view relevant status information of the wearable massager on the current display interface. There is a virtual gear control for adjusting the gear of the wearable massager on the current display interface. The virtual gear control is Figure 2 As shown in the dotted box, the virtual gear control may include a downshift key, an upshift key, and a gear progress bar, etc. Schematically, when the user is about to use the wearable massager or is currently using the wearable massager, if the user has a need to adjust the gear, the user can adjust it through the adjustment interface of the gear adjustment application on the terminal. Schematically, the user can input the current gear adjustment operation to the "upshift key" by touching the "upshift key" with his finger, and the current gear adjustment operation can be multiple continuous clicks on the "upshift key". It can be understood that when the terminal recognizes the user's multiple continuous clicks on the "upshift key" (that is, the interval touch operation), the interval touch operation input by the user for the virtual gear control "upshift key" is detected. At this time, the terminal analyzes and processes the relevant touch parameters of the collected interval touch operation, and can obtain the operation information corresponding to the interval touch operation, such as the number of interval clicks and the interval click duration corresponding to the interval touch operation.

[0066] In a feasible implementation, the virtual gear control may include a plurality of functional gear adjustment adjustment controls, and each adjustment control may determine a preset adjustment operation corresponding to each adjustment control during the gear adjustment application development stage, such as when a user operates a certain adjustment control A, the adjustment control A corresponds to an interval touch operation, that is, when the adjustment control A is determined to be triggered in the terminal, it is considered that the user has input an interval touch operation for the adjustment control A; when a user operates a certain adjustment control B, the adjustment control B corresponds to a continuous touch operation, that is, when the adjustment control B is determined to be triggered in the terminal, it is considered that the user has input a continuous touch operation for the adjustment control B;

[0067] Furthermore, when the terminal determines that it has received a gear adjustment operation input by the user for the virtual gear control, it can obtain operation information corresponding to the gear adjustment operation based on the gear adjustment operation. For example, when it is determined that an interval touch operation is input, the operation information such as the number of interval clicks and the interval click duration corresponding to the interval touch operation is obtained; if it is determined that a sliding touch operation is input, the sliding distance, sliding displacement, sliding speed, etc. corresponding to the sliding touch operation are obtained.

[0068] Optionally, the virtual gear control on the terminal may also correspond to multiple preset adjustment operations, and the multiple preset adjustment operations can be distinguished by collecting trigger touch parameters by the terminal. That is, a rule for distinguishing adjustment operations based on the trigger touch parameters is set for a single virtual gear control. The trigger touch parameters may be trigger touch duration, trigger touch force, and trigger touch displacement. For example, a certain virtual gear control may correspond to preset adjustment operation A and preset adjustment operation B at the same time. The rule for distinguishing adjustment operations may be based on the trigger touch duration. When the trigger touch duration is within the preset duration threshold, the gear adjustment operation is considered to be the preset adjustment operation A. When the trigger touch duration is outside the preset duration threshold, the gear adjustment operation is considered to be the preset adjustment operation B.

[0069] Among them, "setting rules for distinguishing adjustment operations based on triggering touch parameters for a single virtual gear control" can be determined based on the actual application environment and is not specifically limited here. The above examples are only illustrative examples for ease of understanding. It can be understood that in some embodiments, the specific operation information is determined based on the determined gear adjustment operation, that is, the gear adjustment operation and the various operation parameters included in the operation information are pre-set with a mapping relationship. In implementation, after the terminal determines the specific gear adjustment operation, it can obtain the corresponding operation information (specifically obtain the operation parameters corresponding to the operation information) based on the mapping relationship corresponding to the gear adjustment operation.

[0070] Step S102: Generate a gear adjustment instruction based on the operation information, and send the gear adjustment instruction to the wearable massager to control the wearable massager to perform continuous gear adjustment.

[0071] The gear adjustment instruction is used to indicate the gear adjustment instruction or gear adjustment command of the wearable massager, which can be understood as a code that specifies the gear adjustment operation or the gear adjustment function. In this application, the terminal generates the gear adjustment instruction based on the operation information, and the gear adjustment instruction can carry the corresponding gear adjustment parameters to assist in the reference when controlling the gear adjustment function of the wearable massager;

[0072] In addition, after the terminal determines that it has received the gear adjustment operation input by the user, and thus obtains the operation information corresponding to the gear adjustment operation, such as the number of interval clicks and the interval click duration corresponding to the interval touch operation, the terminal can perform protocol parsing and encapsulation on the operation information according to the preset protocol format for generating the corresponding adjustment instruction, thereby generating a gear adjustment instruction. In some embodiments, the gear adjustment instruction carries a gear adjustment parameter determined based on at least one operation parameter in the operation information, such as a gear adjustment value, a gear adjustment time, a gear adjustment speed, etc. Schematically, the terminal generates a gear adjustment instruction based on the operation information, and can control the wearable massager to perform continuous gear adjustment based on the gear adjustment instruction; in a specific implementation, the terminal can send the gear adjustment instruction to the wearable massager through a pre-established communication connection with the wearable massager; after receiving the gear adjustment instruction, the wearable massager responds to the gear adjustment instruction to continuously adjust the current gear.

[0073] In addition, in the present application, by executing the gear adjustment method, the gear of the wearable massager can be continuously adjusted based on the terminal. In the related art, if the user needs to adjust the wearable massager to a suitable gear to meet the user's adjustment to the most suitable massage intensity (such as electrical stimulation intensity or vibration intensity), the user is usually required to manually adjust the gear on the wearable massager multiple times, such as adding one gear each time you press it. This method takes a long time for the user to press the required number of gears, and the operability is not simple and convenient. The gear adjustment method of the present application is simple and convenient, and the gear adjustment is highly intelligent.

[0074] In an embodiment of the present application, a terminal receives a gear adjustment operation input by a user for a virtual gear control in a gear adjustment application, obtains operation information corresponding to the gear adjustment operation, generates a gear adjustment instruction based on the operation information, and controls the wearable massager to perform continuous gear adjustment based on the gear adjustment instruction, and the wearable massager is connected to the terminal; when (the user) has a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly received, and a gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation, thereby realizing continuous gear adjustment of the wearable massager based on the gear adjustment instruction generated on the terminal. During the entire gear adjustment process, the user does not need to manually adjust the gear multiple times, such as requiring the user to perform large-scale physical movements on the wearable massager to manually increase the gear each time it is pressed, thereby improving the convenience of gear adjustment and reducing the adjustment time of gear adjustment.

[0075] See also Figure 3 , Figure 3 This is a flow chart of another embodiment of a gear adjustment method proposed in this application. Specifically:

[0076] Step S201: receiving a gear adjustment operation inputted to a virtual gear control in a gear adjustment application.

[0077] Please refer to step S101 for details, which will not be described again here.

[0078] Step S202: Determine the operation type corresponding to the gear adjustment operation.

[0079] In the present application, the gear adjustment operation includes multiple operation types. Different operation types will refer to different operation information obtained during gear adjustment to generate corresponding gear adjustment instructions to achieve continuous gear adjustment of the wearable massager; wherein, the gear adjustment operation includes but is not limited to various touch-type adjustment operations and various non-touch-type adjustment operations, such as the gear adjustment operation can be the first, second, third, and fourth touch types in the following steps, or can be a non-touch-type voice gear adjustment operation, a gesture gear adjustment operation, and the like;

[0080] In a feasible implementation, the terminal can distinguish gear adjustment operations of different operation types based on the operation trigger parameters when the user inputs the gear adjustment operation. The terminal pre-sets different operation distinction rules for each gear adjustment operation. The operation distinction rule includes at least one parameter feature corresponding to the operation trigger parameter. The parameter feature can be a parameter range corresponding to a certain operation trigger parameter, or a parameter threshold corresponding to a certain operation trigger parameter. The operation trigger parameters include but are not limited to touch force, touch displacement, trigger keywords (such as gear adjustment keywords in voice adjustment operations), touch time, etc. In actual applications, when the terminal detects that there is a gear adjustment operation input, it can determine the type of the currently input gear adjustment operation one by one based on the multiple operation trigger parameters of the collected operation input and the operation distinction rules set for each gear adjustment operation.

[0081] In a feasible implementation manner, the terminal may obtain control configuration information corresponding to the virtual gear control, and determine the operation type corresponding to the gear adjustment operation according to the control configuration information.

[0082] The control configuration information can be understood as the relevant attribute information of the virtual gear control during development. In actual applications, the control configuration information includes but is not limited to the location of the control, the area where the control is located, and the function of the control configuration.

[0083] The virtual gear control may include adjustment controls for adjusting multiple functional gears, and each adjustment control can determine the preset adjustment operation corresponding to each adjustment control during the gear adjustment application development stage. For example, when a user operates a certain adjustment control A, the terminal can obtain the control configuration information corresponding to the triggered control, and then based on the control configuration information, it can be identified that "a certain adjustment control A" is triggered, and the adjustment control A corresponds to the interval touch operation, that is, when the adjustment control A is determined to be triggered by the terminal, it is considered that the user has input an interval touch operation for the adjustment control A; for example, when the user operates a certain adjustment control B, the adjustment control B corresponds to the continuous touch operation, that is, when the adjustment control B is determined to be triggered by the terminal, it is considered that the user has input a continuous touch operation for the adjustment control A.

[0084] Step S203: acquiring operation information corresponding to the gear adjustment operation based on the operation type.

[0085] According to some embodiments, the terminal can preset a mapping relationship between each operation type and operation information. For example, the operation information corresponding to operation type A may be: operation parameter a. When the terminal determines that it has received a gear adjustment operation input by the user for a virtual gear control, it can obtain the operation information corresponding to the gear adjustment operation based on the gear adjustment operation. For example, when it is determined that an interval touch operation is input, the operation information such as the number of interval clicks and the interval click duration corresponding to the interval touch operation is obtained; if it is determined that an interval touch operation is input, the sliding distance, sliding displacement, sliding speed, etc. corresponding to the interval touch operation are obtained.

[0086] Optionally, the virtual gear control on the terminal may also correspond to multiple preset adjustment operations, and the multiple preset adjustment operations can be distinguished by collecting trigger touch parameters by the terminal. That is, a rule for distinguishing adjustment operations based on the trigger touch parameters is set for a single virtual gear control. The trigger touch parameters may be trigger touch duration, trigger touch force, and trigger touch displacement. For example, a certain virtual gear control may correspond to preset adjustment operation A and preset adjustment operation B at the same time. The rule for distinguishing adjustment operations may be based on the trigger touch duration. When the trigger touch duration is within the preset duration threshold, the gear adjustment operation is considered to be the preset adjustment operation A. When the trigger touch duration is outside the preset duration threshold, the gear adjustment operation is considered to be the preset adjustment operation B.

[0087] Among them, "setting rules for distinguishing adjustment operations based on triggering touch parameters for a single virtual gear control" can be determined based on the actual application environment and is not specifically limited here. The above examples are only illustrative examples for ease of understanding. It can be understood that in some embodiments, the specific operation information is determined based on the determined gear adjustment operation, that is, the gear adjustment operation and the various operation parameters included in the operation information are pre-set with a mapping relationship. In implementation, after the terminal determines the specific gear adjustment operation, it can obtain the corresponding operation information (specifically obtain the operation parameters corresponding to the operation information) based on the mapping relationship corresponding to the gear adjustment operation.

[0088] Step S204: determining a gear adjustment parameter based on the operation information, and generating a gear adjustment instruction corresponding to the gear adjustment parameter.

[0089] The gear adjustment parameters are used in the present application for the terminal to generate gear adjustment instructions. According to some embodiments, if the operation information such as the number of interval clicks and the interval click duration corresponding to the interval touch operation is obtained, the operation information can be parsed and packaged according to the preset protocol format for generating the corresponding adjustment instruction, so as to generate the gear adjustment instruction. In some embodiments, the gear adjustment instruction carries the gear adjustment parameters determined based on at least one operation parameter in the operation information, such as the gear adjustment value, the gear adjustment time, the gear adjustment speed, etc.

[0090] This step will be explained in detail below in conjunction with a specific implementation method.

[0091] 1. In a specific implementation mode:

[0092] If the operation type is the first touch type, the number of interval touches corresponding to the first touch type is obtained; wherein the first touch type can be understood as a user touching the virtual gear control multiple times at short intervals within a period of time, such as continuously pressing the virtual gear control n times (n is a natural number) at an interval of time t. In some embodiments, the first touch type can be called an interval touch type.

[0093] In a specific implementation scenario, the virtual gear control in the gear adjustment application may include multiple adjustment controls, each adjustment control corresponds to a corresponding preset gear adjustment operation in advance, and when the user triggers input for different adjustment controls, the terminal only needs to obtain the control configuration information (such as the control position) corresponding to the corresponding adjustment control to determine the operation type of the gear adjustment operation, so that based on the mapping relationship between the preset operation type and the operation information, the operation information corresponding to the operation type of the adjustment operation, that is, the operation parameters contained in the operation information, can be obtained;

[0094] Specifically, in the present application, the operation information of the first touch type is the number of interval touches. For example, if the user presses the virtual gear position control n times continuously at intervals of time t, the number of interval touches is n, where n is a natural number.

[0095] 2. Determine a gear adjustment value based on the number of interval touches, and generate a first gear adjustment instruction corresponding to the gear adjustment value.

[0096] The gear adjustment value can be understood as the gear value that the wearable massager needs to adjust.

[0097] Optionally, the gear adjustment value may be a gear change (a positive gear change corresponds to upshifting, and a negative gear change corresponds to downshifting). If the gear adjustment value is a, the wearable massager needs to increase or decrease the adjustment by a gear. In actual applications, the terminal may use the interval touch times as the gear adjustment value. Furthermore, the positive or negative gear adjustment value may be determined by the gear attributes corresponding to the virtual gear control (such as the gear up function attribute and the gear down function attribute).

[0098] Optionally, the gear adjustment value may be a target gear value, that is, the gear value that the wearable massager needs to reach in the end. For example, if the gear adjustment value is a, the wearable massager needs to be raised or lowered to gear a. In actual applications, the terminal may use the interval touch times as the gear adjustment value. For example, if the touch is pressed n times continuously, the target gear value is n.

[0099] 2. In a specific implementation mode,

[0100] If the operation type is the second touch type, the touch parameters corresponding to the second touch type are obtained, and the touch parameters include at least one of continuous touch duration, continuous touch force and continuous touch displacement; wherein, the second touch type can be understood as an operation in which the input object (such as a finger or mouse for input operation) does not leave the screen after the user selects the virtual gear control on the current display interface, such as a touch operation in which the virtual gear control is pressed without being released within time t. In some embodiments, the second touch type can be called a continuous touch type.

[0101] Specifically, in the present application, the operation information of the second touch type is the corresponding touch parameters, which include but are not limited to the fitting of one or more parameters such as continuous touch duration, continuous touch force, and continuous touch displacement.

[0102] In a specific implementation scenario, the touch parameters are explained by taking the continuous touch duration and the continuous touch strength as an example. Figure 3a As shown, Figure 3a1 is a schematic diagram of a scenario involving a gear adjustment of the second touch type in the present application. In actual applications, the terminal can identify an operation triggering time point in the process of a user inputting a gear adjustment operation of the second touch type for a virtual gear control, such as at Figure 4 At the time point t1 in the touch virtual gear control, the touch object is recognized and continuously touched (not released after touching), the terminal continuously monitors the touch state of the gear adjustment operation of the second touch type (whether it is in the released state), and in the case where the touch is released at the time point t2 after the time point t1, that is, as in Figure 3a At the t2 time point in the video (the t2 time point is after the t1 time point), it is detected that the touch virtual gear control is released, that is, the touch object is released. At this time, a second gear adjustment instruction can be generated based on the continuous touch duration (the difference between the t2 time point and the t1 time point) and / or the continuous touch force detected within the entire "continuous touch duration" (see the following explanation for the specific instruction generation process); then the second gear adjustment instruction is sent to the wearable massager, so that the wearable massager can be controlled to continuously adjust the gear.

[0103] Among them, the continuous touch displacement can be understood as after the virtual gear control is selected on the current display interface, the input object (such as the finger or mouse for input operation) does not leave the screen, and slides from the starting touch position a to the touch position b, then the relative displacement between the touch position a and the touch position b is the continuous touch displacement.

[0104] In a specific implementation scenario, the touch parameters are explained by taking the continuous touch duration, continuous touch force and continuous touch displacement as an example. Figure 3b As shown, Figure 3b 1 is a schematic diagram of a scenario involving a gear adjustment of the second touch type in the present application. In actual applications, the terminal can identify an operation triggering time point in the process of a user inputting a gear adjustment operation of the second touch type for a virtual gear control, such as at Figure 4 At the t1 time point in the figure, the touch virtual gear position control is recognized and the touch object is continuously touched (the touch is not released). Figure 3b The terminal continuously monitors the touch state (whether it is in the released state) and touch parameters (continuous touch duration, continuous touch force, and continuous touch displacement) of the gear adjustment operation of the second touch type, and obtains and determines that the touch is released at time point t2 after time point t1, that is, as in Figure 3b At the time point t2 in the detection (the time point t2 is after the time point t1), the touch virtual gear control is released, that is, at Figure 3bThe touch object is released at the touch end position b in the touch control. During the whole process, the terminal can monitor and obtain the touch parameters: continuous touch duration (the difference between time point t2 and time point t1), continuous touch force and continuous touch displacement (the relative displacement between touch position a and touch position b).

[0105] 2. Determine a gear adjustment speed and an adjustment duration based on the touch parameters, further determine a second gear adjustment parameter according to the gear adjustment speed and the adjustment duration, and generate a second gear adjustment instruction corresponding to the second gear adjustment parameter.

[0106] Optionally, the continuous touch duration can be used as the adjustment duration of the wearable massager. An adjustment coefficient can also be set, and the product of the continuous touch duration and the adjustment coefficient is used as the adjustment duration.

[0107] Optionally, a reference duration coefficient may be set, and the quotient of one of the continuous touch duration, the continuous touch force, and the continuous touch displacement and the reference duration coefficient is used as the adjustment duration.

[0108] Optionally, the terminal can pre-set a relationship correspondence table between the gear adjustment speed and the touch parameters (can be multiple). For example, when the continuous touch duration reaches t1 and the continuous touch force reaches f1, the corresponding gear adjustment speed is v1. Furthermore, the terminal can determine the gear adjustment speed in the relationship correspondence table based on the touch parameters.

[0109] In a feasible implementation, an adjustment parameter determination model can be pre-trained, and at least one of the continuous touch duration, the continuous touch force, and the continuous touch displacement can be input into the adjustment parameter determination model to output the gear adjustment speed and the adjustment duration. The adjustment parameter determination model is trained by touch parameter samples corresponding to multiple known marking speeds and known marking durations.

[0110] Specifically, a large amount of sample data is obtained from the actual application environment in advance, feature information is extracted, and the sample data is labeled. The feature information includes at least one parameter corresponding to touch parameters such as continuous touch duration, continuous touch force, and continuous touch displacement, and an initial adjustment parameter determination model is created. The adjustment parameter determination model can be trained using a large amount of sample data. For example, the adjustment parameter determination model can be based on one or more implementations of LR (Logistic Regression), SVM (Support Vector Machine), decision tree, naive Bayes classifier, CNN (Convolutional Neural Network), RNN (Recurrent Neural Networks), etc. The initial adjustment parameter determination model is trained based on sample data with labeled labels (gear adjustment speed and adjustment duration), and a trained adjustment parameter determination model can be obtained.

[0111] Furthermore, in this embodiment, a DNN-HMM model that introduces an error back propagation algorithm is used to create an initial adjustment parameter determination model. After extracting the feature information, the feature information is input into the neural network model in the form of a feature vector. The training process of the neural network model usually consists of two parts: forward propagation and back propagation. During the forward propagation process, the feature information corresponding to the terminal input sample data is transmitted from the input layer of the neural network model to the output layer after being calculated by the transfer function (also called activation function, conversion function) of the hidden layer neurons (also called nodes). The state of each layer of neurons affects the state of the next layer of neurons. The actual output value-first voice identifier is calculated in the output layer, and the expected error between the actual output value and the expected output value is calculated. The parameters of the neural network model are adjusted based on the expected error. The parameters include the weight value and threshold of each layer. After the training is completed, an adjustment parameter determination model is generated.

[0112] Specifically, the expected error may be a mean square error (MSE) between an actual output value and an expected output value. The mean square error (MSE) may be calculated using the following formula:

[0113]

[0114] Among them, m is the number of output nodes, p is the number of training samples, is the expected output value, and is the actual output value.

[0115] 3. In a specific implementation mode:

[0116] 1. If the operation type is the third touch type, obtain a double-click interval time parameter and a preset adjustment parameter corresponding to the third touch type, wherein the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0117] Among them, the third touch type can be understood as the operation of the user touching the virtual gear control twice in succession on the current display interface at an interval of t, such as the user touching the virtual gear control at time point t1 and releasing the touch object (such as finger, cursor), and then touching the virtual gear control at time point t2 (time point t2 is after time point t1) and releasing the touch object. In practical applications, when the user clicks the virtual gear control (such as the virtual plus gear key), the gear number of the wearable massager is controlled to change (such as gradually increase). When the user experiences the appropriate force or reaches the desired gear number, the user can click the virtual gear control (such as the virtual plus gear key) again, and the wearable massager is controlled to stop gear adjustment.

[0118] The double-click interval time is the time difference between the above-mentioned time point t1 and time point t2.

[0119] In addition, in some embodiments, the third touch type can be referred to as a dual touch position adjustment type.

[0120] Specifically, in the present application, the operation information of the third touch type is the corresponding preset adjustment parameter, and the preset adjustment parameter is a preset adjustment parameter. It can be understood that when the gear adjustment parameter of the third touch type is triggered, the gear adjustment instruction is generated according to the preset adjustment parameter, that is, in actual implementation, based on the gear adjustment instruction, the wearable massager is controlled to adjust according to the preset adjustment parameter, such as adjusting according to the preset adjustment gear value (such as adjusting 2 gears each time until the gear adjustment is stopped), adjusting according to the preset gear adjustment speed (such as changing one gear per second), and adjusting according to the preset adjustment time (such as continuously adjusting for 5s and then stopping the adjustment for 4 seconds, then continuously adjusting for 5s and then stopping the adjustment for 4 seconds...)

[0121] The touch parameters include, but are not limited to, fitting of one or more parameters such as continuous touch duration, continuous touch strength, and continuous touch displacement.

[0122] 2. Determine a third gear adjustment parameter according to the preset adjustment parameter and the double-click interval time parameter, and generate a third gear adjustment instruction corresponding to the third gear adjustment parameter.

[0123] After the terminal obtains the double-click interval time parameter and the preset adjustment parameter corresponding to the third touch type, such as obtaining one of the parameters such as continuous touch duration, continuous touch force, and continuous touch displacement, it can perform protocol parsing and packaging on the "double-click interval time parameter and preset adjustment parameter" according to the preset protocol format for generating the corresponding adjustment instruction, thereby generating a gear adjustment instruction. In some embodiments, the gear adjustment instruction carries the "double-click interval time parameter and preset adjustment parameter", and thus the third gear adjustment instruction can be used to instruct the wearable massager to continuously adjust the gear according to the preset adjustment parameter within the double-click interval time parameter.

[0124] In a specific implementation, the gear adjustment instruction corresponding to the third touch type may be composed of a third gear start adjustment instruction and a third gear stop adjustment instruction; Figure 4 As shown, Figure 4 1 is a schematic diagram of a scenario involving a third touch type gear adjustment in the present application. In actual applications, the terminal can identify an operation triggering time point in the process of a user inputting a third touch type gear adjustment operation for a virtual gear control, such as at Figure 4 At the t1 time point in the touch virtual gear control, the touch object is released. At this time, the terminal generates a third gear start adjustment instruction based on the preset adjustment parameter, and controls the wearable massager to adjust the gear based on the third gear start adjustment instruction; and simultaneously monitors the double-click interval time parameter of the gear adjustment operation of the third touch type. When the double-click interval time parameter is obtained and determined, that is, as in Figure 4 At the t2 time point in the video (the t2 time point is after the t1 time point), the virtual gear control is touched and the touch object is released. At this time, a third gear stop adjustment instruction can be generated based on the double-click interval time parameter, and the wearable massager can be controlled to stop gear adjustment based on the third gear start adjustment instruction.

[0125] 4. In a specific implementation mode:

[0126] In some embodiments, the virtual gear position control includes at least one touch area; Figure 5 As shown, Figure 5 is a schematic diagram of the interface of the touch area of ​​a virtual gear control involved in this application. Figure 5 In the example, the large rectangular frame area is the total touch area corresponding to the virtual gear position control, and the large rectangular frame area is divided into multiple small rectangular frame areas. It can be understood that a small rectangular frame area corresponds to a touch area of ​​the virtual gear position control, that is, the virtual gear position control is composed of multiple touch areas. Figure 5 There are two corresponding virtual gear controls, namely the "upshift" virtual gear control and the "downshift" virtual gear control.

[0127] If the operation type is the fourth touch type, the target touch area for the virtual gear control is obtained; wherein the fourth touch type can be understood as the target touch area selected by the user for the virtual gear control, and then the fourth gear adjustment parameter is determined based on the target touch area to perform the gear adjustment operation type.

[0128] In addition, in some embodiments, the fourth touch type may also be referred to as an area touch type.

[0129] For example, Figure 5 As shown, the current display interface of the terminal is a display interface of the gear adjustment application. The user can view the relevant status information of the wearable massager on the current display interface. There is a virtual gear control for adjusting the gear of the wearable massager on the current display interface. The large rectangular area corresponding to the virtual gear control includes multiple touch areas, that is, Figure 5 The multiple small rectangular areas in the diagram schematically illustrate that the user can input the current fourth touch type gear adjustment operation to the "gear up key" by touching the finger. When the user touches the virtual gear control on the terminal touch screen with a finger, the capacitance parameter of the touch position changes. The touch frame determines the touch parameters (touch position, touch time, touch force, etc.) of the finger on the terminal display interface according to the change in capacitance. The touch position parameters can be determined by analyzing the touch parameters, and each touch area included in the virtual gear control corresponds to a position range. The terminal can determine which target position range of each touch area the touch position parameter falls into, and based on the target position range, the user's target touch area for the virtual gear control can be determined.

[0130] 2. Determine a fourth gear adjustment parameter based on the target touch area, and generate a fourth gear adjustment instruction corresponding to the fourth gear adjustment parameter, wherein the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0131] For example, the touch area corresponding to the adjustment gear value is taken as an example. Figure 5 As shown, each touch area included in the virtual gear control may correspond to an adjustment gear value, and the adjustment gear values ​​corresponding to each touch area may increase one by one from left to right, or may decrease one by one from left to right. The terminal may use the adjustment gear value corresponding to the target touch area as the target adjustment gear value, and it can be understood that the fourth gear adjustment instruction corresponding to the target adjustment gear value generated subsequently can be used to instruct or control the wearable massager to continuously adjust the gear to the target adjustment gear value.

[0132] Take the touch area corresponding to the gear adjustment speed as an example. Figure 5As shown, each touch area included in the virtual gear control can correspond to a gear adjustment speed, and the gear adjustment speeds corresponding to each touch area can be increased one by one from left to right, or can be decreased one by one from left to right. The terminal can use the gear adjustment speed corresponding to the target touch area as the target gear adjustment speed. It can be understood that the fourth gear adjustment instruction corresponding to the target gear adjustment speed generated subsequently can be used to instruct or control the wearable massager to continuously adjust the gear according to the target gear adjustment speed.

[0133] Take the time of adjusting the gear position corresponding to the touch area as an example. Figure 6 As shown, Figure 6 It is a schematic diagram of the interface of the gear change time involved in the present application. The five touch areas included in the virtual gear control can each correspond to a gear adjustment time. The gear adjustment time corresponding to each touch area can be increased one by one from left to right, or can be decreased one by one from left to right. The terminal can use the gear adjustment time corresponding to the target touch area as the target gear adjustment time. It can be understood that the fourth gear adjustment instruction corresponding to the target gear adjustment time generated later is usually a wearable massager that corresponds to a reference adjustment speed when the gear changes, such as one unit per second. The fourth gear adjustment instruction can be used to instruct or control the wearable massager to continuously adjust the gear according to the reference adjustment speed within the target gear adjustment time.

[0134] In a feasible implementation manner: the correspondence between each of the touch areas and the benchmark adjustment parameters can be pre-set, wherein each touch area may correspond to multiple benchmark adjustment parameters, and the benchmark adjustment parameters include but are not limited to gear value, gear adjustment speed, adjustment time, gear adjustment interval, etc.

[0135] Furthermore, the terminal determines the fourth gear adjustment parameter corresponding to the target touch area based on the preset correspondence between each of the touch areas and the reference adjustment parameter, wherein the correspondence may be represented in the form of a list, a set, a link, etc.

[0136] Step S205: sending the gear adjustment instruction to the wearable massager to control the wearable massager to perform continuous gear adjustment, and the wearable massager is communicatively connected to the terminal.

[0137] For details, please refer to step S102, which will not be repeated here.

[0138] Step S206: Obtain the current target gear position of the wearable massager, and output the target gear position in a preset prompting manner.

[0139] The target gear is the current gear value of the wearable massager. The terminal can obtain the current target gear from the wearable massager in real time or periodically, so that the target gear can be displayed to the user.

[0140] The preset prompt mode refers to a gear prompt mode preset by the terminal to remind the gear of the wearable massager. The preset prompt mode can usually display the current target gear of the wearable massager in the form of pictures, text, audio, etc.

[0141] Optionally, the preset prompt method for the terminal to output the target gear can be output in the form of voice, for example: the terminal can voice broadcast "The current wearable massager is in gear A, and is continuously shifting up"; it can be in the form of vibration, for example: the terminal can call the internal vibration motor to prompt at a specific vibration frequency; it can also be in the form of calling the breathing light, flash light, fill light, etc. on the terminal.

[0142] It should be noted that there are many ways for the mobile terminal to output the target gear position, which may be one or more of the above, and are not specifically limited here.

[0143] In an embodiment of the present application, the terminal receives a gear adjustment operation input by a user for a virtual gear control in a gear adjustment application, obtains operation information corresponding to the gear adjustment operation, generates a gear adjustment instruction based on the operation information, and sends the gear adjustment instruction to the wearable massager to control the wearable massager to continuously adjust the gear. The wearable massager is communicatively connected to the terminal. When (the user) has a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control can be directly received by the terminal. Based on the operation information corresponding to the gear adjustment operation, a gear adjustment instruction for the wearable massager can be generated, thereby enabling the gear adjustment of the wearable massager based on the gear adjustment instruction generated on the terminal. Continuous adjustment, during the entire gear adjustment process, the user does not need to manually adjust the gear multiple times, such as on a wearable massager, the user needs to perform large-scale physical movements to manually increase the gear each time. This improves the convenience of gear adjustment and reduces the adjustment time of the gear adjustment; and, based on the determined gear adjustment operations of different operation types, the operation information corresponding to the corresponding operation type can be obtained, and then the gear adjustment parameters when generating the gear adjustment instruction can be quickly determined, the adjustment instruction can be accurately generated, and the accuracy of the gear adjustment is improved; and, while adjusting the gear, the current target gear can also be displayed, which improves the intelligence of the gear adjustment, and the gear changes during the continuous gear adjustment process can be fed back to the user in real time on the terminal.

[0144] In one embodiment, Figure 7As shown, a gear adjustment method is proposed, which is applied to a wearable massager. The method can be implemented by a computer program and can be run on a gear adjustment device based on the von Neumann system. The computer program can be integrated into the application or run as an independent tool application.

[0145] Step S301: receiving a gear adjustment instruction sent by a terminal.

[0146] The gear adjustment instruction is generated by the terminal based on operation information corresponding to the gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in the terminal gear adjustment application.

[0147] According to some embodiments, the gear adjustment instruction is generated based on the gear adjustment operation input by the user on the terminal for the virtual gear control. Specifically, the terminal determines the corresponding gear adjustment parameters after obtaining the operation information corresponding to the gear adjustment operation, and performs protocol parsing and packaging on the operation information according to the preset protocol format for generating the adjustment instruction, thereby generating the gear adjustment instruction.

[0148] In some embodiments, there are multiple types of gear adjustment operations input by the user in the virtual gear control in the terminal gear adjustment application. Different types of gear adjustment operations include different operation information contained in the operation information, and thus the generated gear adjustment instructions are usually different;

[0149] If the gear adjustment operation is an interval touch operation of the user on the virtual gear control, the exemplary operation information may be the number of interval clicks and the interval click duration corresponding to the interval touch operation;

[0150] If the gear adjustment operation is a continuous touch operation of the user on the virtual gear control, the exemplary operation information may be the continuous touch duration, the continuous touch force, etc.

[0151] In some embodiments, after the terminal generates a gear adjustment instruction based on the operation information corresponding to the gear adjustment operation, the gear adjustment instruction can be sent to the wearable massager based on the communication connection pre-established between the terminal and the wearable massager; at this time, the wearable massager can receive the gear adjustment instruction sent by the terminal.

[0152] Step S302: The gear is continuously adjusted based on the gear adjustment instruction, and the wearable massager is connected to the terminal.

[0153] The following is a detailed explanation of the scenarios involved in this application:

[0154] Figure 8A schematic diagram of an application scenario of a wearable massager of an embodiment of the present application is shown. With the development of science and technology and the improvement of users' knowledge level, users are paying more and more attention to their own health. In addition to daily healthy diet, regular work and rest, and active exercise, relieving fatigue has become the focus of users, and using a wearable massager can effectively relieve fatigue. For example, users can use an eye massager to massage their eyes to relieve eye fatigue; use a neck massager to massage their neck to relieve neck fatigue, relax their neck, and improve the user's sleep quality. When a user uses a wearable massager such as a neck massager, an eye massager, etc. for massage, the wearable massager will output a pulsed microcurrent through the electrode element, so that the body of the user can assist in producing a certain stress effect. In actual use, the wearable massager usually includes multiple stimulation gears, and can output corresponding pulse microcurrents based on multiple different stimulation gears. During use, if the user needs to adjust the wearable massager to a suitable gear, the wearable massager usually needs to be continuously adjusted. In this application, the user can directly operate on the gear adjustment application of the terminal, specifically, the virtual gear control of the gear adjustment application can be adjusted. At this time, the terminal receives and recognizes the gear adjustment operation input by the user for the virtual gear control, and can generate a corresponding gear based on the gear adjustment operation. The gear adjustment instruction is then sent to the wearable massager based on the pre-established communication connection between the terminal and the wearable massager; at this time, the wearable massager can receive the gear adjustment instruction, and then continuously adjust the gear in response to the gear adjustment instruction, so as to conveniently adjust the gear to a comfortable position for the user. During the entire gear adjustment process, the user does not need to perform large-scale body movements to perform multiple tedious adjustment operations on the wearable massager. Instead, the corresponding instruction can be generated in one step by simply inputting the corresponding adjustment operation into the gear adjustment application on the terminal, thereby realizing the continuous gear adjustment process of the wearable massager.

[0155] According to some embodiments, the gear adjustment instruction is generally generated based on the gear adjustment parameters determined by the terminal. In the process of responding to the gear adjustment instruction, the wearable massager can directly adjust the gear based on the gear adjustment parameters, wherein the gear adjustment parameters are associated with the operation type of the gear adjustment operation, and the gear adjustment parameters include but are not limited to the fitting of one or more of the gear adjustment value, gear adjustment speed, adjustment duration, preset adjustment parameters, and the fourth gear adjustment parameter.

[0156] Furthermore, the communication connection between the wearable massager and the terminal can be set up as a wired communication connection and a wireless communication connection. The terminal can connect the wearable massager through a wired communication interface using a universal serial bus (USB) to establish a wired communication connection with the wearable massager; the terminal can also use a wireless communication connection to establish a communication connection with the wearable massager. The wireless communication connection can be based on the Internet, Bluetooth, WIFI, ZigBee, local area network, etc. Preferably, in this embodiment, the terminal uses a wireless communication connection to establish a communication connection with the wearable massager.

[0157] In a feasible implementation, the wearable massager can generate a connection code, and the terminal can establish a communication connection with the wearable massager based on the connection code generated by the wearable massager. The connection code can be in the form of a QR code, a mini-program code, a string of random numbers, a combination of letters, etc. When the terminal needs to establish a communication connection with the wearable massager, the user can turn on the communication connection establishment mode of the wearable massager by, for example, pressing a physical button of the wearable massager, and then the wearable massager generates a connection code (such as a QR code) for establishing a communication connection. The terminal scans the connection code and identifies the connection code to establish a communication connection with the wearable massager.

[0158] Specifically, after the wearable massager establishes a communication connection with the terminal, the wearable massager can receive the gear adjustment instruction generated by the terminal. After receiving the gear adjustment instruction, the wearable massager responds and then continuously adjusts the gear.

[0159] Optionally, after the terminal establishes a communication connection with the wearable massager, the communication between the terminal and the wearable massager can use conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. to encrypt all communication data.

[0160] In an embodiment of the present application, the wearable massager can receive a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on the operation information corresponding to the gear adjustment operation, and the gear adjustment operation is an operation input on the virtual gear control in the gear adjustment application of the terminal; then the gear is continuously adjusted in response to the gear adjustment instruction, and the wearable massager is connected to the terminal. When there is a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly received, and the gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation. The wearable massager only needs to respond to the gear adjustment instruction, so that the gear of the wearable massager can be continuously adjusted based on the gear adjustment instruction generated on the terminal. In the whole gear adjustment process, the user does not need to manually adjust the gear multiple times, such as the user needs to perform a large range of body movements on the wearable massager to manually increase the gear each time it is pressed, which improves the convenience of gear adjustment and reduces the adjustment time of gear adjustment.

[0161] See also Fig. 9 , Fig. 9 This is a flow chart of another embodiment of a gear adjustment method proposed in this application. Specifically:

[0162] Step S401: receiving a gear adjustment instruction sent by a terminal.

[0163] The gear adjustment instruction is generated by the terminal based on operation information corresponding to the gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in the terminal gear adjustment application;

[0164] Please refer to step S301 for details, which will not be repeated here.

[0165] Step S402: Obtaining the gear adjustment parameter corresponding to the gear adjustment instruction.

[0166] According to some embodiments, the gear adjustment parameter in this application is used for the terminal to generate a gear adjustment instruction. According to some embodiments, if the terminal obtains the operation information such as the number of interval clicks and the interval click duration corresponding to the interval touch operation, the operation information can be parsed and packaged according to the preset protocol format of the corresponding generation adjustment instruction, so as to generate a gear adjustment instruction. In some embodiments, the gear adjustment instruction carries a gear adjustment parameter determined based on at least one operation parameter in the operation information, such as a gear adjustment value, a gear adjustment time, a gear adjustment speed, etc. The preset protocol format can be a frame protocol format of a data frame corresponding to the communication method between the corresponding terminal and the wearable massager. In addition, in some embodiments, different types of gear adjustment operations will generate different gear adjustment instructions, so that the wearable massager can continuously adjust the gear based on different gear adjustment instructions.

[0167] The specific acquisition method will be further explained in S403.

[0168] Step S403: performing continuous gear adjustment based on the gear adjustment parameter, where the gear adjustment parameter is determined by the terminal based on the operation type corresponding to the gear adjustment operation and the operation information corresponding to the operation type.

[0169] According to some embodiments, the terminal can determine the operation type corresponding to the gear adjustment operation during the process of determining the gear adjustment parameters and then generating the gear adjustment instructions. For example, the terminal can determine the operation type corresponding to the gear adjustment operation based on the control configuration information corresponding to the virtual gear control, and can determine the corresponding operation information based on the operation type. Then, the terminal can determine the corresponding gear adjustment parameters, and thus generate the gear adjustment instructions corresponding to the gear adjustment parameters.

[0170] Furthermore, after receiving the gear adjustment instruction from the terminal, the wearable massager can parse the gear adjustment instruction, such as parsing the gear adjustment instruction based on a pre-agreed instruction parsing protocol to determine the type of the gear adjustment instruction, and then obtain the gear adjustment parameters corresponding to the gear adjustment instruction of the corresponding type. In some embodiments, the gear adjustment instruction can carry the gear adjustment parameters, and when the wearable massager parses it, it can further obtain the gear adjustment parameters carried by the instruction.

[0171] The following will be further explained in conjunction with specific implementation methods:

[0172] In one possible way:

[0173] 1. If the gear adjustment instruction is a first gear adjustment instruction, obtain a gear adjustment value corresponding to the first gear adjustment instruction, where the gear adjustment value is generated by the terminal based on a first touch type corresponding to the gear adjustment operation and a number of interval touches corresponding to the first touch type;

[0174] According to some embodiments, the first gear adjustment instruction is generated by the terminal based on the first touch type corresponding to the gear adjustment operation and the number of interval touches corresponding to the first touch type; in a specific implementation, if the terminal determines that the operation type is the first touch type, it usually obtains the number of interval touches corresponding to the first touch type, so that the terminal can determine the gear adjustment value based on the number of interval touches and generate a first gear adjustment instruction corresponding to the gear adjustment value.

[0175] Optionally, the parsing process of the first gear adjustment instruction is usually the inverse process of generating the first gear adjustment instruction. Usually, the first gear adjustment instruction can carry the gear adjustment value, wherein the gear adjustment value can be the gear change amount (when the gear change amount is a positive number, it corresponds to upshifting, and when the gear change amount is a negative number, it corresponds to downshifting); wherein the gear adjustment value can be the target gear value, that is, the gear value that the wearable massager needs to reach in the end.

[0176] 2. The wearable massager continuously adjusts the gear based on the gear adjustment parameter, and specifically can adjust gear by gear based on the gear adjustment value. If the gear adjustment value is a, the wearable massager gradually increases or decreases the a gear according to the set gear-up reference parameter. It can be understood that the gradual adjustment method can provide the user with a comfortable stimulation experience effect and avoid the user's bad stimulation experience effect caused by rapid gear up (such as one-step gear up).

[0177] In one possible way:

[0178] 1. If the gear adjustment instruction is a second gear adjustment instruction, then obtain the gear adjustment speed and adjustment duration corresponding to the second gear adjustment instruction, wherein the gear adjustment speed and adjustment duration are generated based on the second touch type corresponding to the gear adjustment operation and the touch parameters corresponding to the second touch type, wherein the touch parameters include at least one of touch duration, touch force, and touch displacement.

[0179] According to some embodiments, the second gear adjustment instruction is generated by the terminal based on the second touch type corresponding to the gear adjustment operation and the touch parameters corresponding to the second touch type; in a specific implementation, if the terminal determines that the operation type is the second touch type, the terminal usually obtains the touch parameters corresponding to the second touch type, wherein the touch parameters include but are not limited to at least one of the continuous touch duration, continuous touch force, and continuous touch displacement. Thus, the terminal can determine the gear adjustment speed and adjustment duration based on the touch parameters, thereby generating the second gear adjustment instruction corresponding to the gear adjustment speed and adjustment duration.

[0180] Optionally, the parsing process of the second gear adjustment instruction is generally the reverse process of generating the second gear adjustment instruction. In some embodiments, the second gear adjustment instruction may carry the gear adjustment speed and the adjustment duration. When the wearable massager parses the second gear adjustment instruction, it may directly obtain the gear adjustment speed and the adjustment duration, so as to facilitate the next step of responding to the gear adjustment based on the gear adjustment speed and the adjustment duration.

[0181] 2. The wearable massager performs continuous gear adjustment based on the gear adjustment parameters (gear adjustment speed and adjustment duration), and specifically, the gear adjustment can be performed continuously based on the gear adjustment speed within the adjustment duration. For example, within the adjustment duration t, the wearable massager performs gear adjustment (such as upshifting or downshifting) according to the speed value indicated by the gear adjustment speed, and stops gear adjustment at the end of the adjustment duration t, and continuously outputs an electrical stimulation signal (such as an electrical stimulation current) at the gear value at the time of stopping.

[0182] In one possible way:

[0183] 1. If the gear adjustment instruction is a third gear adjustment instruction, obtain a double-click interval time parameter and a preset adjustment parameter corresponding to the third gear adjustment instruction, wherein the double-click interval time parameter and the preset adjustment parameter are associated with a third touch type corresponding to the gear adjustment operation; the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0184] According to some embodiments, the third gear adjustment instruction is: after the terminal determines that the operation type of the gear adjustment operation is the third touch type, the terminal determines the preset adjustment parameters and the double-click interval time parameters as the gear adjustment parameters based on the acquired double-click interval time parameters corresponding to the third touch type and the preset adjustment parameters, and then generates the third gear adjustment instruction corresponding to the gear adjustment parameters.

[0185] Optionally, the parsing process of the third gear adjustment instruction is generally the reverse process of generating the third gear adjustment instruction. In some embodiments, the third gear adjustment instruction may carry the double-click interval time parameter and the preset adjustment parameter. When the wearable massager parses the third gear adjustment instruction, it can directly obtain the double-click interval time parameter and the preset adjustment parameter, so as to facilitate the next step of responding to the gear adjustment based on the double-click interval time parameter and the preset adjustment parameter.

[0186] 2. The wearable massager performs continuous gear adjustment based on the gear adjustment parameters (double-click interval time parameters and preset adjustment parameters). Specifically, the gear can be continuously adjusted according to the preset adjustment parameters within the double-click interval time parameters.

[0187] Indicatively, taking the preset adjustment parameter as the preset adjustment gear value as an example, for example, within the double-click interval time parameter (such as time t), 2 gears are adjusted per time unit (the preset adjustment gear value is 2), and the gear adjustment is stopped when time t is reached;

[0188] In an illustrative example, the preset adjustment parameter is the preset adjustment speed. For example, the preset gear adjustment speed is adjusted within the double-click interval time parameter (such as time t) (such as changing one gear per second), and the gear adjustment is stopped when time t is reached;

[0189] Indicatively, taking the preset adjustment parameter as the preset adjustment time as an example, continuous adjustment is performed according to the preset adjustment time, such as the wearable massager continuously adjusts for 5 seconds according to the reference adjustment speed (usually the default setting at the factory) and then stops adjusting for 4 seconds, then continuously adjusts for 5 seconds and then stops adjusting for 4 seconds... until the gear adjustment stops when the time t is reached;

[0190] In one possible way:

[0191] 1. If the gear adjustment instruction is a fourth gear adjustment instruction, obtain a fourth gear adjustment parameter corresponding to the fourth gear adjustment instruction, where the fourth gear adjustment parameter is generated by the terminal based on a fourth touch type and a target touch area of ​​the gear adjustment operation, where the target touch area is one of the at least one touch area included in the virtual gear;

[0192] According to some embodiments, the virtual control on the terminal usually includes multiple touch areas, and the fourth touch type can be understood as the target touch area selected by the user on the terminal for the multiple touch areas in the virtual gear control, and then the fourth gear adjustment parameter is determined based on the target touch area to perform the gear adjustment operation type. In some embodiments, the fourth touch type can also be called a regional touch type. Since the terminal is pre-set with a correspondence between each of the touch areas and the reference adjustment parameters, wherein each touch area corresponds to multiple reference adjustment parameters, and the reference adjustment parameters include but are not limited to the gear value, gear adjustment speed, adjustment time, gear adjustment interval, etc., the terminal can obtain the reference adjustment parameters indicated in the above correspondence according to the target area touched by the identified user, and use it as the fourth gear adjustment parameter.

[0193] Optionally, the parsing process of the fourth gear adjustment instruction is generally the reverse process of generating the fourth gear adjustment instruction. In some embodiments, the fourth gear adjustment instruction may carry the benchmark adjustment parameters (such as gear adjustment speed and adjustment time). Then, when the wearable massager parses the fourth gear adjustment instruction, it may directly obtain the benchmark adjustment parameters to facilitate the next step of responding to the gear adjustment based on the benchmark adjustment parameters.

[0194] 2. The wearable massager performs continuous gear adjustment based on the gear adjustment parameter, which is specifically implemented by performing continuous gear adjustment based on the fourth gear adjustment parameter, wherein the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0195] Step S404: sending the current target gear position to the terminal, where the target gear position is used by the terminal to output the target gear position in a preset prompting manner.

[0196] The target gear is the current gear value of the wearable massager, and the target gear can be used to instruct the terminal to display the received target gear to the user in real time or periodically.

[0197] The preset prompt mode refers to a gear prompt mode preset by the terminal to remind the gear of the wearable massager. The preset prompt mode can usually display the current target gear of the wearable massager in the form of pictures, text, audio, etc.

[0198] According to some embodiments, the preset prompt method for the terminal to output the target gear can be output in the form of voice, for example: the terminal can voice broadcast "The current wearable massager is in gear A and is continuously shifting up"; it can be in the form of vibration, for example: the terminal can call the internal vibration motor to prompt at a specific vibration frequency; it can also be in the form of calling the breathing light, flash light, fill light, etc. on the terminal.

[0199] Step S405: Based on the current target gear position, determine the audio features corresponding to the gear position prompt sound.

[0200] The audio features include characteristic parameters such as audio pitch, sound intensity, sound duration, and timbre. Pitch refers to the frequency of sound waves, that is, the number of vibrations per second; sound intensity refers to the size of the sound wave amplitude; sound duration refers to the duration of sound wave vibration, also known as duration; timbre refers to the characteristics and nature of sound, also known as sound quality.

[0201] The wearable massager pre-stores the mapping relationship between each gear and each characteristic parameter of the prompt sound (which may be a fit of one or more of the characteristic parameters mentioned above), such as the characteristic parameters of the prompt sound for gear a are: pitch is b, sound intensity is c, and sound length is d. According to the mapping relationship, the audio features corresponding to the gear prompt sound corresponding to the target gear can be determined.

[0202] Step S406: Play the gear position prompt sound according to the audio feature.

[0203] Specifically, after the wearable massager determines the audio features of the gear prompt sound, it can decode and play the gear prompt sound according to the audio features. Indicatively, as the gear adjustment time of the wearable massager increases, the gear adjustment speed changes (such as the speed of adding and subtracting gears gradually increases), the gear adjustment value increases or decreases, etc., there will be a gear prompt sound to prompt, and each time a gear is raised or lowered, there will be a sound or note feedback similar to "beep". The faster the speed of adding and subtracting gears, the longer the gear adjustment time, and the higher or lower the gear value, the audio features of each gear prompt sound can be positively or negatively fed back accordingly, such as the shorter the interval between prompt sounds, thereby creating a kind of timely feedback to the user of the change of adding and subtracting gear adjustment during the gear adjustment process.

[0204] Furthermore, when the wearable massager finishes adjusting the gear, the current gear can be prompted.

[0205] In an embodiment of the present application, the wearable massager can receive a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on the operation information corresponding to the gear adjustment operation, and the gear adjustment operation is an operation input on the virtual gear control in the gear adjustment application of the terminal; then the gear is continuously adjusted in response to the gear adjustment instruction, and the wearable massager is connected to the terminal. When there is a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly received, and the gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation. The wearable massager only needs to respond to the gear adjustment instruction, so that the gear of the wearable massager can be continuously adjusted based on the gear adjustment instruction generated on the terminal. In the whole gear adjustment process, the user does not need to manually adjust the gear multiple times, such as the user needs to perform a large range of body movements on the wearable massager to manually increase the gear each time it is pressed, which improves the convenience of gear adjustment and reduces the adjustment time of gear adjustment.

[0206] See also Fig.10 , is a schematic diagram of the architecture of a gear adjustment system provided in an embodiment of the present application. Fig.10 As shown, the gear adjustment system 10 includes: a wearable massager 1100 and a terminal 1200. Among them:

[0207] The wearable massager 1100 may be a massage device or a massage equipment, for example, a massage equipment such as a neck massager, a waist massager, an eye massager, etc., or a therapeutic electronic device that uses electrodes for treatment. Specifically, the wearable massager 1100 may include an electrode group, which may act on a user's body part, such as the user's skin, joints, etc., to provide massage services. The electrode group may be one or more, preferably, the electrode group may include at least two, and is symmetrically arranged on the wearable massager 1100, so that when the electrode group is turned on, a body sensation similar to that of a massage using both hands can be generated. Possibly, the wearable massager 1100 may also include a speaker, or an audio interface. The speaker can be used to play audio signals, such as voice prompt information or music. The audio interface can be used for external headphones, and the user can listen to music through external headphones while enjoying the massage. In the embodiment of the present application, the wearable massager 1100 may include a plurality of electrical stimulation gears. The electrical stimulation signals output by the wearable massager 1100 corresponding to different electrical stimulation gears are different. Specifically, different electrical stimulation gears may also correspond to different electrode combinations, different signal frequencies, different signal strengths, and the like.

[0208] The terminal 1200 may be an electronic device with a gear adjustment function. The terminal 1200 may communicate with the wearable massager 1100 over a short distance, such as but not limited to Bluetooth, Wireless-Fidelity (Wi-Fi), Near Field Communication (NFC), ZigBee and other communication methods. The terminal 1200 may be installed with an application software (application, APP) for controlling the wearable massager 1100 (hereinafter referred to as the control APP), such as but not limited to the future wearable APP. Fig.10 As shown, the terminal 1200 can establish a connection with the wearable massager 1100 via Bluetooth for data transmission. Specifically, the user can control the wearable massager 1100 through the control APP installed on the terminal 1200. For example, but not limited to turning on or off the wearable massager 1100, switching the massage mode of the wearable massager 1100, controlling the wearable massager 1100 to play or pause music, etc. The electronic device involved in the embodiment of the present application can be a wearable device, a handheld device, a personal computer, a tablet computer, a vehicle-mounted device, a smart phone, a computing device, or other processing devices connected to a wireless modem. In different networks, terminal devices can be called different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), 5G network or terminal equipment in future evolution network, etc.

[0209] In addition, the gear adjustment system embodiments provided in the above embodiments belong to the same concept as the gear adjustment methods in some embodiments, and their implementation processes are detailed in the method embodiments, which will not be repeated here.

[0210] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0211] See also Fig.11 , which shows a schematic diagram of the structure of a gear adjustment device provided by an exemplary embodiment of the present application. The gear adjustment device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes an information acquisition module 11, an instruction generation module 12 and a control adjustment module 13.

[0212] The information acquisition module 11 is used to receive the gear adjustment operation inputted from the virtual gear control in the gear adjustment application;

[0213] An instruction generation module 12, used to obtain operation information corresponding to the gear adjustment operation, and generate a gear adjustment instruction based on the operation information;

[0214] The control and adjustment module 13 is used to generate a gear adjustment instruction based on the operation information, and send the gear adjustment instruction to the wearable massager to control the wearable massager to perform continuous gear adjustment. The wearable massager is communicatively connected to the terminal.

[0215] Optional, such as Fig.13 As shown, the device 1 further includes:

[0216] A type determination module 14, used to determine the operation type corresponding to the gear adjustment operation;

[0217] Optional, such as Fig.12 As shown, the instruction generation module 12 includes:

[0218] An information acquisition unit 121, configured to acquire operation information corresponding to the gear adjustment operation based on the operation type;

[0219] The instruction generating unit 122 is used to determine the gear adjustment parameter based on the operation information, and generate a gear adjustment instruction corresponding to the gear adjustment parameter.

[0220] Optionally, the type determination module 14 is specifically configured to:

[0221] The control configuration information corresponding to the virtual gear control is obtained, and the operation type corresponding to the gear adjustment operation is determined according to the control configuration information.

[0222] Optionally, the instruction generation module includes:

[0223] The information acquisition unit 121 is further configured to acquire the number of interval touches corresponding to the first touch type if the operation type is the first touch type;

[0224] The instruction generating unit 122 is further configured to use the interval touch times as a gear adjustment value and generate a first gear adjustment instruction corresponding to the gear adjustment value.

[0225] Optionally, the instruction generation module includes:

[0226] The information acquisition unit 121 is further configured to acquire a touch parameter corresponding to the second touch type if the operation type is the second touch type, wherein the touch parameter includes at least one of a continuous touch duration, a continuous touch force, and a continuous touch displacement;

[0227] The instruction generating unit 122 is further used to determine the gear adjustment speed and the adjustment duration based on the touch parameter, and then determine the second gear adjustment parameter according to the gear adjustment speed and the adjustment duration, and generate a second gear adjustment instruction corresponding to the second gear adjustment parameter, wherein the second gear adjustment instruction is used to instruct the wearable massager to continuously adjust the gear according to the gear adjustment speed within the adjustment duration.

[0228] Optionally, the instruction generating unit 122 is specifically configured to:

[0229] At least one of the continuous touch duration, the continuous touch force and the continuous touch displacement is input into an adjustment parameter determination model, and the gear adjustment speed and the adjustment duration are output. The adjustment parameter determination model is trained by touch parameter samples corresponding to multiple known marking speeds and known marking durations.

[0230] Optionally, the instruction generation module includes:

[0231] The information acquisition unit 121 is further configured to, if the operation type is a third touch type, acquire a double-click interval time parameter and a preset adjustment parameter corresponding to the third touch type, wherein the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0232] The instruction generating unit 122 is further configured to determine the preset adjustment parameter and the double-click interval time parameter as the gear adjustment parameter, and generate a third gear adjustment instruction corresponding to the gear adjustment parameter.

[0233] Optionally, the virtual gear position control includes at least one touch area;

[0234] The instruction generation module comprises:

[0235] The information acquisition unit 121 is further configured to acquire a target touch area for the virtual gear position control if the operation type is the fourth touch type;

[0236] The instruction generation unit 122 is further used to determine a fourth gear adjustment parameter based on the target touch area, and generate a fourth gear adjustment instruction corresponding to the fourth gear adjustment parameter, wherein the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0237] The optional instruction generation unit 122 is further used for:

[0238] Based on the preset corresponding relationship between each of the touch areas and the reference adjustment parameter, a fourth gear adjustment parameter corresponding to the target touch area is determined.

[0239] Optionally, the device 1 is specifically used for:

[0240] The current target gear position of the wearable massager is obtained, and the target gear position is output in a preset prompting manner.

[0241] It should be noted that the gear adjustment device provided in the above embodiment only uses the division of the above functional modules as an example when executing the gear adjustment method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the gear adjustment device provided in the above embodiment and the gear adjustment method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0242] 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.

[0243] In an embodiment of the present application, a terminal receives a gear adjustment operation input by a user for a virtual gear control in a gear adjustment application, obtains operation information corresponding to the gear adjustment operation, generates a gear adjustment instruction based on the operation information, and controls the wearable massager to perform continuous gear adjustment based on the gear adjustment instruction, wherein the wearable massager is connected to the terminal; when (the user) has a need for continuous gear adjustment, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly used, and a gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation, thereby realizing continuous gear adjustment of the wearable massager based on the gear adjustment instruction generated on the terminal, and the wearable massager can be continuously adjusted on the whole gear. During the gear adjustment process, the user does not need to manually adjust the gear multiple times, such as on a wearable massager, the user needs to perform large-scale physical movements to manually increase the gear each time. This improves the convenience of gear adjustment and reduces the adjustment time of the gear adjustment; and, based on the determined gear adjustment operations of different operation types, the operation information corresponding to the corresponding operation type can be obtained, and then the gear adjustment parameters when generating the gear adjustment instruction can be quickly determined, the adjustment instruction can be accurately generated, and the accuracy of the gear adjustment is improved; and, while adjusting the gear, the current target gear can also be displayed, which improves the intelligence of the gear adjustment and can provide real-time feedback to the user on the terminal about the gear changes during the continuous gear adjustment process.

[0244] See also Fig.14 , which shows a schematic diagram of the structure of a gear adjustment device provided by an exemplary embodiment of the present application. The gear adjustment device can be implemented as all or part of the device through software, hardware or a combination of both. The device 2 includes an instruction receiving module 21 and a gear adjustment module 22.

[0245] An instruction receiving module 21 is used to receive a gear adjustment instruction sent by a terminal, wherein the gear adjustment instruction is generated by the terminal based on operation information corresponding to a gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in a gear adjustment application of the terminal;

[0246] The gear adjustment module 22 is used to continuously adjust the gear based on the gear adjustment instruction, and the wearable massager is communicatively connected with the terminal.

[0247] Optional, such as Fig.15 As shown, the gear adjustment module 22 includes:

[0248] A parameter acquisition unit 221, used to acquire a gear adjustment parameter corresponding to the gear adjustment instruction;

[0249] The gear adjustment unit 222 is used to continuously adjust the gear based on the gear adjustment parameter, and the gear adjustment parameter is determined by the terminal based on the operation type corresponding to the gear adjustment operation and the operation information corresponding to the operation type.

[0250] Optionally, the parameter acquisition unit 221 is specifically used to:

[0251] If the gear adjustment instruction is a first gear adjustment instruction, obtaining a gear adjustment value corresponding to the first gear adjustment instruction, wherein the gear adjustment value is generated by the terminal based on a first touch type corresponding to the gear adjustment operation and a number of interval touches corresponding to the first touch type;

[0252] The gear adjustment unit 222 includes:

[0253] Gear-by-gear adjustment is performed based on the gear adjustment value.

[0254] Optionally, the parameter acquisition unit 221 is specifically used to: if the gear adjustment instruction is a second gear adjustment instruction, then acquire the gear adjustment speed and adjustment duration corresponding to the second gear adjustment instruction, the gear adjustment speed and adjustment duration are generated based on the second touch type corresponding to the gear adjustment operation and the touch parameters corresponding to the second touch type, the touch parameters including at least one of touch duration, touch force and touch displacement

[0255] The gear adjustment unit 222 includes:

[0256] During the adjustment time, the gear is adjusted continuously based on the gear adjustment speed.

[0257] Optionally, the parameter acquisition unit 221 is specifically used to:

[0258] If the gear adjustment instruction is a third gear adjustment instruction, obtaining a double-click interval time parameter and a preset adjustment parameter corresponding to the third gear adjustment instruction, wherein the double-click interval time parameter and the preset adjustment parameter are associated with a third touch type corresponding to the gear adjustment operation; the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0259] The gear adjustment unit 222 includes:

[0260] Within the double-click interval time parameter, the gear position is continuously adjusted according to the preset adjustment parameters.

[0261] Optionally, the parameter acquisition unit 221 is specifically used to:

[0262] If the gear adjustment instruction is a fourth gear adjustment instruction, obtaining a fourth gear adjustment parameter corresponding to the fourth gear adjustment instruction, where the fourth gear adjustment parameter is generated by the terminal based on a fourth touch type and a target touch area of ​​the gear adjustment operation, where the target touch area is one of the at least one touch area included in the virtual gear;

[0263] The gear adjustment unit 222 includes:

[0264] The gear is continuously adjusted based on the fourth gear adjustment parameter, and the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0265] Optional, such as Fig.16 As shown, the device 2 further includes:

[0266] The gear position sending module 23 is used to send the current target gear position to the terminal, and the target gear position is used for the terminal to output the target gear position in a preset prompting manner.

[0267] Optionally, the device 2 is specifically used for:

[0268] Based on the current target gear position, determining an audio feature corresponding to the gear position prompt sound;

[0269] The gear position prompt sound is played according to the audio feature.

[0270] It should be noted that the gear adjustment device provided in the above embodiment only uses the division of the above functional modules as an example when executing the gear adjustment method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the gear adjustment device provided in the above embodiment and the gear adjustment method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0271] 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.

[0272] In an embodiment of the present application, the wearable massager can receive a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on the operation information corresponding to the gear adjustment operation, and the gear adjustment operation is an operation input on the virtual gear control in the gear adjustment application of the terminal; then the gear is continuously adjusted in response to the gear adjustment instruction, and the wearable massager is connected to the terminal. When there is a continuous gear adjustment demand, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly received, and the gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation. The wearable massager only needs to respond to the gear adjustment instruction, so that the gear of the wearable massager can be continuously adjusted based on the gear adjustment instruction generated on the terminal. In the whole gear adjustment process, the user does not need to manually adjust the gear multiple times, such as the user needs to perform a large range of body movements on the wearable massager to manually increase the gear each time it is pressed, which improves the convenience of gear adjustment and reduces the adjustment time of gear adjustment.

[0273] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 1-Figure 10 The gear adjustment method of the embodiment shown in the figure can be specifically implemented by referring to Figure 1-Figure 10 The specific description of the illustrated embodiment will not be repeated here.

[0274] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 1-Figure 10 The gear adjustment method of the embodiment shown in the figure can be specifically implemented by referring to Figure 1-Figure 10 The specific description of the illustrated embodiment will not be repeated here.

[0275] Please refer to Fig.17, which shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.

[0276] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 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 110 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 is understandable that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0277] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 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 following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems. The data storage area may also store data created by the electronic device during use, such as a phone book, audio and video data, chat record data, etc.

[0278] See also Fig.18 As shown, the memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve good operating results, the operating system allocates corresponding system resources to different third-party applications. However, different application scenarios in the same third-party application also have different requirements for system resources. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.

[0279] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0280] Taking the Android operating system as an example, the programs and data stored in the memory 120 are as follows: Fig.19As shown, the memory 120 may store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, wherein the Linux kernel layer 320, the system runtime library layer 340 and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various hardware of electronic devices, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, etc. The system runtime library layer 340 provides the main feature support for the Android system through some C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D drawing support, and the Webkit library provides browser kernel support, etc. The system runtime library layer 340 also provides an Android runtime library (Android runtime), which mainly provides some core libraries that allow developers to use Java language to write Android applications. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application runs in the application layer 380. These applications can be native applications that come with the operating system, such as contact applications, text messaging applications, clock applications, camera applications, etc.; they can also be third-party applications developed by third-party developers, such as game applications, instant messaging applications, photo beautification applications, gear adjustment applications, etc.

[0281] Taking the operating system as an IOS system as an example, the programs and data stored in the memory 120 are as follows: Fig. 20As shown, the IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), a media layer 460 (Media layer), and a touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes the operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to the hardware for use by the program frameworks located in the core service layer 440. The core service layer 440 provides system services and / or program frameworks required by applications, such as the foundation framework, account framework, advertising framework, data storage framework, network connection framework, geographic location framework, motion framework, etc. The media layer 460 provides audio-visual interfaces for applications, such as graphics and image-related interfaces, audio technology-related interfaces, video technology-related interfaces, and wireless playback (AirPlay) interfaces for audio and video transmission technologies. The touchable layer 480 provides various commonly used interface-related frameworks for application development, and the touchable layer 480 is responsible for the user's touch interaction operations on electronic devices. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, etc.

[0282] exist Fig. 20 Among the frameworks shown, the frameworks related to most applications include but are not limited to: the basic framework in the core service layer 440 and the UIKit framework in the touchable layer 480. The basic framework provides many basic object classes and data types, provides the most basic system services for all applications, and has nothing to do with UI. The classes provided by the UIKit framework are basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UIs based on the UIKit framework, so it provides the basic architecture of applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, etc.

[0283] Among them, the method and principle of implementing data communication between third-party applications and the operating system in the IOS system can be referred to the Android system, and this application will not go into details here.

[0284] Among them, the input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays, which are used to receive touch operations on or near the user using any suitable object such as a finger or a touch pen, and to display the user interface of each application. The touch screen display is usually set on the front panel of the electronic device. The touch screen display can be designed as a full screen, a curved screen or a special-shaped screen. The touch screen display can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.

[0285] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes radio frequency circuits, input units, sensors, audio circuits, wireless fidelity (WiFi) modules, power supplies, Bluetooth modules and other components, which will not be described in detail here.

[0286] In the embodiment of the present application, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is the operating system of the electronic device. The operating system may be an Android system, an IOS system, or other operating systems, which is not limited in the embodiment of the present application.

[0287] The electronic device of the embodiment of the present application may also be equipped with a display device, which may be any device capable of realizing a display function, such as a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the electronic device 101 to view displayed text, images, videos and other information. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, electronic clothing and other devices.

[0288] exist Fig.17 In the electronic device shown, where the electronic device may be a terminal, the processor 110 may be used to call the gear adjustment application stored in the memory 120, and specifically perform the following operations:

[0289] Receiving a gear adjustment operation inputted to a virtual gear control in a gear adjustment application, and acquiring operation information corresponding to the gear adjustment operation;

[0290] A gear adjustment instruction is generated based on the operation information, and the gear adjustment instruction is sent to the wearable massager to control the wearable massager to perform continuous gear adjustment, and the wearable massager is communicatively connected with the terminal.

[0291] In one embodiment, after executing the gear adjustment operation of receiving the input of the virtual gear control in the gear adjustment application, the processor 110 further performs the following steps:

[0292] Determining an operation type corresponding to the gear adjustment operation;

[0293] The acquiring operation information corresponding to the gear adjustment operation and generating a gear adjustment instruction based on the operation information includes:

[0294] acquiring operation information corresponding to the gear adjustment operation based on the operation type;

[0295] A gear adjustment parameter is determined based on the operation information, and a gear adjustment instruction corresponding to the gear adjustment parameter is generated.

[0296] In one embodiment, when the processor 110 determines the operation type corresponding to the gear adjustment operation, the processor 110 specifically performs the following steps:

[0297] The control configuration information corresponding to the virtual gear control is obtained, and the operation type corresponding to the gear adjustment operation is determined according to the control configuration information.

[0298] In one embodiment, when the processor 110 executes the steps of obtaining the operation information corresponding to the gear adjustment operation based on the operation type, determining the gear adjustment parameter based on the operation information, and generating the gear adjustment instruction corresponding to the gear adjustment parameter, the processor 110 specifically performs the following steps:

[0299] If the operation type is a first touch type, obtaining the number of interval touches corresponding to the first touch type;

[0300] The number of interval touches is used as a gear adjustment value, and a first gear adjustment instruction corresponding to the gear adjustment value is generated.

[0301] In one embodiment, when the processor 110 executes the steps of acquiring the operation information corresponding to the gear adjustment operation based on the operation type, determining the gear adjustment parameter based on the operation information, and generating the gear adjustment instruction corresponding to the gear adjustment parameter, the processor 110 specifically performs the following steps:

[0302] If the operation type is the second touch type, acquiring a touch parameter corresponding to the second touch type, the touch parameter including at least one of a continuous touch duration, a continuous touch force, and a continuous touch displacement;

[0303] The gear adjustment speed and the adjustment duration are determined based on the touch parameter, and then the second gear adjustment parameter is determined according to the gear adjustment speed and the adjustment duration, and a second gear adjustment instruction corresponding to the second gear adjustment parameter is generated, wherein the second gear adjustment instruction is used to instruct the wearable massager to continuously adjust the gear according to the gear adjustment speed within the adjustment duration.

[0304] In one embodiment, when the processor 110 determines the gear adjustment speed and the adjustment duration based on the touch parameters, the processor 110 specifically performs the following steps:

[0305] At least one of the continuous touch duration, the continuous touch force and the continuous touch displacement is input into an adjustment parameter determination model, and the gear adjustment speed and the adjustment duration are output. The adjustment parameter determination model is trained by touch parameter samples corresponding to multiple known marking speeds and known marking durations.

[0306] In one embodiment, when the processor 110 executes the steps of acquiring the operation information corresponding to the gear adjustment operation based on the operation type and generating the gear adjustment instruction based on the operation information, the processor 110 specifically performs the following steps:

[0307] If the operation type is the third touch type, obtaining a double-click interval time parameter and a preset adjustment parameter corresponding to the third touch type, wherein the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0308] The preset adjustment parameter and the double-click interval time parameter are determined as gear adjustment parameters, and a third gear adjustment instruction corresponding to the gear adjustment parameter is generated.

[0309] In one embodiment, the processor 110 includes at least one touch area when executing the virtual gear position control;

[0310] When the operation information corresponding to the gear adjustment operation is acquired based on the operation type and the gear adjustment instruction is generated based on the operation information, the following steps are specifically performed:

[0311] If the operation type is the fourth touch type, obtaining a target touch area for the virtual gear position control;

[0312] A fourth gear adjustment parameter is determined based on the target touch area, and a fourth gear adjustment instruction corresponding to the fourth gear adjustment parameter is generated, wherein the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0313] In one embodiment, when the processor 110 determines the fourth gear adjustment parameter based on the target touch area, the processor 110 specifically performs the following steps:

[0314] Based on the preset corresponding relationship between each of the touch areas and the reference adjustment parameter, a fourth gear adjustment parameter corresponding to the target touch area is determined.

[0315] In an embodiment of the present application, a terminal receives a gear adjustment operation input by a user for a virtual gear control in a gear adjustment application, obtains operation information corresponding to the gear adjustment operation, generates a gear adjustment instruction based on the operation information, and controls the wearable massager to perform continuous gear adjustment based on the gear adjustment instruction, wherein the wearable massager is connected to the terminal; when (the user) has a need for continuous gear adjustment, the gear adjustment operation input by the user for the virtual gear control received by the terminal can be directly used, and a gear adjustment instruction for the wearable massager can be generated based on the operation information corresponding to the gear adjustment operation, thereby realizing continuous gear adjustment of the wearable massager based on the gear adjustment instruction generated on the terminal, and the wearable massager can be continuously adjusted on the whole gear. During the gear adjustment process, the user does not need to manually adjust the gear multiple times, such as on a wearable massager, the user needs to perform large-scale physical movements to manually increase the gear each time. This improves the convenience of gear adjustment and reduces the adjustment time of the gear adjustment; and, based on the determined gear adjustment operations of different operation types, the operation information corresponding to the corresponding operation type can be obtained, and then the gear adjustment parameters when generating the gear adjustment instruction can be quickly determined, the adjustment instruction can be accurately generated, and the accuracy of the gear adjustment is improved; and, while adjusting the gear, the current target gear can also be displayed, which improves the intelligence of the gear adjustment and can provide real-time feedback to the user on the terminal about the gear changes during the continuous gear adjustment process.

[0316] See also Fig.21 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.21 As shown, the electronic device 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .

[0317] The communication bus 1002 is used to realize the connection and communication between these components.

[0318] The user interface 1003 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.

[0319] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0320] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (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 the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.

[0321] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 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 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 store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may also be optionally at least one storage device located away from the aforementioned processor 1001. As Fig.21 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a gear adjustment application.

[0322] exist Fig.21In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the gear adjustment application stored in the memory 1005, and specifically perform the following operations:

[0323] Receiving a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on operation information corresponding to a gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in a gear adjustment application of the terminal;

[0324] The gear is continuously adjusted based on the gear adjustment instruction, and the wearable massager is communicatively connected with the terminal.

[0325] In one embodiment, the processor 1001, when executing the gear continuous adjustment based on the gear adjustment instruction, includes:

[0326] Obtaining a gear adjustment parameter corresponding to the gear adjustment instruction;

[0327] The gear is continuously adjusted based on the gear adjustment parameter, where the gear adjustment parameter is determined by the terminal based on an operation type corresponding to the gear adjustment operation and operation information corresponding to the operation type.

[0328] In one embodiment, when the processor 1001 executes the step of obtaining the gear adjustment parameter corresponding to the gear adjustment instruction, the processor 1001 specifically performs the following steps:

[0329] If the gear adjustment instruction is a first gear adjustment instruction, obtaining a gear adjustment value corresponding to the first gear adjustment instruction, wherein the gear adjustment value is generated by the terminal based on a first touch type corresponding to the gear adjustment operation and a number of interval touches corresponding to the first touch type;

[0330] The step of continuously adjusting the gear position based on the gear adjustment parameter comprises:

[0331] Gear-by-gear adjustment is performed based on the gear adjustment value.

[0332] In one embodiment, when the processor 1001 executes the step of obtaining the gear adjustment parameter corresponding to the gear adjustment instruction, the processor 1001 specifically performs the following steps:

[0333] If the gear adjustment instruction is a second gear adjustment instruction, the gear adjustment speed and adjustment duration corresponding to the second gear adjustment instruction are obtained, and the gear adjustment speed and adjustment duration are generated based on the second touch type corresponding to the gear adjustment operation and the touch parameters corresponding to the second touch type, and the touch parameters include at least one of touch duration, touch force and touch displacement.

[0334] The step of continuously adjusting the gear position based on the gear adjustment parameter comprises:

[0335] During the adjustment time, the gear is adjusted continuously based on the gear adjustment speed.

[0336] In one embodiment, when the processor 1001 executes the step of obtaining the gear adjustment parameter corresponding to the gear adjustment instruction, the processor 1001 specifically performs the following steps:

[0337] If the gear adjustment instruction is a third gear adjustment instruction, obtaining a double-click interval time parameter and a preset adjustment parameter corresponding to the third gear adjustment instruction, wherein the double-click interval time parameter and the preset adjustment parameter are associated with a third touch type corresponding to the gear adjustment operation; the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time;

[0338] The step of continuously adjusting the gear position based on the gear adjustment parameter comprises:

[0339] Within the double-click interval time parameter, the gear position is continuously adjusted according to the preset adjustment parameters.

[0340] In one embodiment, when the processor 1001 executes the step of obtaining the gear adjustment parameter corresponding to the gear adjustment instruction, the processor 1001 specifically performs the following steps:

[0341] If the gear adjustment instruction is a fourth gear adjustment instruction, obtaining a fourth gear adjustment parameter corresponding to the fourth gear adjustment instruction, where the fourth gear adjustment parameter is generated by the terminal based on a fourth touch type and a target touch area of ​​the gear adjustment operation, where the target touch area is one of the at least one touch area included in the virtual gear;

[0342] The step of continuously adjusting the gear position based on the gear adjustment parameter comprises:

[0343] The gear is continuously adjusted based on the fourth gear adjustment parameter, and the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

[0344] In one embodiment, when executing the gear adjustment method, the processor 1001 further performs the following steps:

[0345] The current target gear is sent to the terminal, and the target gear is used for the terminal to output the target gear in a preset prompting manner.

[0346] In one embodiment, when executing the gear adjustment method, the processor 1001 further performs the following steps:

[0347] Based on the current target gear position, determining an audio feature corresponding to the gear position prompt sound;

[0348] The gear position prompt sound is played according to the audio feature.

[0349] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A gear adjustment method, characterized in that: Applied to a terminal, the terminal is communicatively connected with a wearable massager, and the method comprises: Receiving a gear adjustment operation inputted for a virtual gear control in a gear adjustment application, determining an operation type corresponding to the gear adjustment operation, acquiring operation information corresponding to the gear adjustment operation based on the operation type, determining a gear adjustment parameter based on the operation information, and generating a gear adjustment instruction corresponding to the gear adjustment parameter; Sending the gear adjustment instruction to the wearable massager to control the wearable massager to perform gear continuous adjustment; The obtaining of operation information corresponding to the gear adjustment operation based on the operation type, determining a gear adjustment parameter based on the operation information, and generating a gear adjustment instruction corresponding to the gear adjustment parameter include: if the operation type is a second touch type, obtaining touch parameters corresponding to the second touch type, the touch parameters including at least one of continuous touch duration, continuous touch force, and continuous touch displacement; determining a gear adjustment speed and an adjustment duration based on the touch parameters, and then determining a second gear adjustment parameter according to the gear adjustment speed and the adjustment duration, and generating a second gear adjustment instruction corresponding to the second gear adjustment parameter; wherein the second gear adjustment instruction is used to instruct the wearable massager to continuously adjust the gear according to the gear adjustment speed within the adjustment duration.

2. The method according to claim 1, characterized in that The determining the operation type corresponding to the gear adjustment operation includes: The control configuration information corresponding to the virtual gear control is obtained, and the operation type corresponding to the gear adjustment operation is determined according to the control configuration information.

3. The method according to claim 1, characterized in that The determining the gear adjustment speed and adjustment duration based on the touch parameters includes: At least one of the continuous touch duration, the continuous touch force and the continuous touch displacement is input into an adjustment parameter determination model, and the gear adjustment speed and the adjustment duration are output. The adjustment parameter determination model is trained by touch parameter samples corresponding to multiple known marking speeds and known marking durations.

4. The method according to claim 1, characterized in that: The acquiring operation information corresponding to the gear adjustment operation based on the operation type, determining a gear adjustment parameter based on the operation information, and generating a gear adjustment instruction corresponding to the gear adjustment parameter includes: If the operation type is the third touch type, obtaining a double-click interval time parameter and a preset adjustment parameter corresponding to the third touch type, wherein the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time; Determine a third gear adjustment parameter according to the preset adjustment parameter and the double-click interval time parameter, and generate a third gear adjustment instruction corresponding to the third gear adjustment parameter; Among them, the third gear adjustment instruction is used to instruct the wearable massager to continuously adjust the gear according to the preset adjustment parameter within the double-click interval time parameter.

5. The method according to claim 1, characterized in that The virtual gear position control comprises at least one touch control area; The acquiring operation information corresponding to the gear adjustment operation based on the operation type, determining a gear adjustment parameter based on the operation information, and generating a gear adjustment instruction corresponding to the gear adjustment parameter includes: If the operation type is the fourth touch type, obtaining a target touch area for the virtual gear position control; Determine a fourth gear adjustment parameter based on the target touch area, and generate a fourth gear adjustment instruction corresponding to the fourth gear adjustment parameter, wherein the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time; The fourth gear adjustment instruction is used to instruct the wearable massager to continuously adjust the gear according to the fourth gear adjustment parameter.

6. The method according to claim 5, characterized in that The determining of the fourth gear adjustment parameter based on the target touch area includes: Based on the preset corresponding relationship between each of the touch areas and the reference adjustment parameter, a fourth gear adjustment parameter corresponding to the target touch area is determined.

7. The method according to claim 1, characterized in that The method further comprises: The current target gear position of the wearable massager is obtained, and the target gear position is output in a preset prompting manner.

8. A gear adjustment method, characterized in that: Applied to a wearable massager, the wearable massager is communicatively connected to a terminal, and the method comprises: Receiving a gear adjustment instruction sent by a terminal, the gear adjustment instruction is generated by the terminal based on operation information corresponding to a gear adjustment operation, and the gear adjustment operation is an operation input on a virtual gear control in a gear adjustment application of the terminal; Acquire a gear adjustment parameter corresponding to the gear adjustment instruction, and perform gear continuous adjustment based on the gear adjustment parameter, wherein the gear adjustment parameter is determined by the terminal based on an operation type corresponding to the gear adjustment operation and operation information corresponding to the operation type; The acquiring the gear adjustment parameter corresponding to the gear adjustment instruction includes: if the gear adjustment instruction is a second gear adjustment instruction, acquiring the gear adjustment speed and adjustment duration corresponding to the second gear adjustment instruction, wherein the gear adjustment speed and adjustment duration are generated based on a second touch type corresponding to the gear adjustment operation and a touch parameter corresponding to the second touch type, wherein the touch parameter includes at least one of touch duration, touch force, and touch displacement; The continuously adjusting the gear based on the gear adjustment parameter includes: continuously adjusting the gear based on the gear adjustment speed within the adjustment time.

9. The method according to claim 8, characterized in that The obtaining of the gear adjustment parameter corresponding to the gear adjustment instruction includes: If the gear adjustment instruction is a third gear adjustment instruction, obtaining a double-click interval time parameter and a preset adjustment parameter corresponding to the third gear adjustment instruction, wherein the double-click interval time parameter and the preset adjustment parameter are associated with a third touch type corresponding to the gear adjustment operation; the preset adjustment parameter includes at least one of a preset adjustment gear value, a preset gear adjustment speed, and a preset adjustment time; The step of continuously adjusting the gear position based on the gear adjustment parameter comprises: Within the double-click interval time parameter, the gear position is continuously adjusted according to the preset adjustment parameters.

10. The method according to claim 8, characterized in that The obtaining of the gear adjustment parameter corresponding to the gear adjustment instruction includes: If the gear adjustment instruction is a fourth gear adjustment instruction, obtaining a fourth gear adjustment parameter corresponding to the fourth gear adjustment instruction, where the fourth gear adjustment parameter is generated by the terminal based on a fourth touch type and a target touch area of ​​the gear adjustment operation, where the target touch area is one of the at least one touch area included in the virtual gear; The step of continuously adjusting the gear position based on the gear adjustment parameter comprises: The gear is continuously adjusted based on the fourth gear adjustment parameter, and the fourth gear adjustment parameter includes at least one of a target adjustment gear value, a target gear adjustment speed, and a target adjustment time.

11. The method according to claim 8, characterized in that The method further comprises: The current target gear is sent to the terminal, and the target gear is used for the terminal to output the target gear in a preset prompting manner.

12. The method according to claim 8, characterized in that The method further comprises: Based on the current target gear position, determine the audio features corresponding to the gear position prompt sound; The gear position prompt sound is played according to the audio feature.

13. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps as claimed in any one of claims 1 to 7 and 8 to 12.

14. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 7 and 8 to 12.