[go: up one dir, main page]

WO2022007404A1 - Massage device control method and system, massage device, and mobile terminal - Google Patents

Massage device control method and system, massage device, and mobile terminal Download PDF

Info

Publication number
WO2022007404A1
WO2022007404A1 PCT/CN2021/076140 CN2021076140W WO2022007404A1 WO 2022007404 A1 WO2022007404 A1 WO 2022007404A1 CN 2021076140 W CN2021076140 W CN 2021076140W WO 2022007404 A1 WO2022007404 A1 WO 2022007404A1
Authority
WO
WIPO (PCT)
Prior art keywords
massage
massage device
mobile terminal
instruction
gear
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/076140
Other languages
French (fr)
Chinese (zh)
Inventor
刘杰
颜建平
左志康
贾佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies Co Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Publication of WO2022007404A1 publication Critical patent/WO2022007404A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/50Receiving or transmitting feedback, e.g. replies, status updates, acknowledgements, from the controlled devices
    • G08C2201/51Remote controlling of devices based on replies, status thereof

Definitions

  • the present invention relates to the field of interaction technology, and in particular to a massage device control method, system, massage device and mobile terminal.
  • the massage equipment can be remotely controlled through a control application (Application, APP) that is loaded on a mobile terminal such as a mobile phone and is matched with the massage equipment.
  • APP Application, APP
  • the embodiments of the present application disclose a massage device control method, a system, a massage device and a mobile terminal, which can control the massage device more conveniently.
  • a first aspect of the embodiments of the present application discloses a method for controlling a massage device.
  • the method is applied to a mobile terminal; the mobile terminal is communicatively connected to the massage device, and the method includes: detecting a first user operation that exits a control application program ; In response to the first user operation, send an application exit instruction to the massage device to instruct the massage device to continue to run in the current working state.
  • a second aspect of the embodiments of the present application discloses another method for controlling a massage device.
  • the method is applied to a massage device; the massage device is communicatively connected to a mobile terminal, and the method includes: exiting an application after receiving an application sent by the mobile terminal.
  • the application exit instruction is a work instruction triggered by the mobile terminal when detecting the first user operation; the first user operation is to exit the control application program.
  • the control application program runs on the mobile terminal.
  • a third aspect of the embodiments of the present application discloses a mobile terminal, comprising: a detection unit, configured to detect a first user operation for exiting a control application; a sending unit, configured to respond to the first user operation and send an application exit to a massage device instruction to instruct the massage device to continue to operate in the current working state.
  • a fourth aspect of the embodiments of the present application discloses a mobile terminal, including: a memory storing executable program codes; a processor coupled to the memory; the processor calling the executable program codes stored in the memory , and execute the massage device control method disclosed in the first aspect of the embodiments of the present application.
  • a fourth aspect of the embodiments of the present application discloses a massage device, comprising: a control unit configured to control the massage device to continue to run in a current working state when receiving an application exit instruction sent by a mobile terminal; the application exit instruction is: A work instruction triggered when the mobile terminal detects a first user operation; the first user operation is a user operation of exiting a control application program of the massage device, and the control application program runs on the mobile terminal.
  • a fifth aspect of the embodiments of the present application discloses a massage device, comprising: a memory storing executable program codes; a processor coupled to the memory; the processor calling the executable program codes stored in the memory , and execute the massage device control method disclosed in the second aspect of the embodiment of the present application.
  • a sixth aspect of the embodiments of the present application discloses a control system, including: a massage device and a mobile terminal; the massage device and the mobile terminal are connected in communication; the mobile terminal is configured to detect a control application program for the massage device The control application program runs on the mobile terminal; and, when the user operation is the first user operation to exit the control application program, send an application exit instruction to the massage device; the massage device, It is used for acquiring the work instruction sent by the mobile terminal; and, when the work instruction is an application exit instruction, controlling the massage device to continue to run in the current working state.
  • a seventh aspect of the embodiments of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the massage device control method disclosed in the first aspect of the embodiments of the present application.
  • An eighth aspect of the embodiments of the present application discloses a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the massage device control method disclosed in the second aspect of the embodiments of the present application.
  • the mobile terminal may generate an application exit instruction when detecting the first user operation to exit the control application, and send the application exit instruction to the massage device; the massage device continues to run in the current working state according to the instruction of the application exit instruction. That is to say, in the embodiment of the present application, even if the control application program of the massage device exits, the massage device will not stop the massage operation, so that the influence of the exit of the control application program on the normal massage operation of the massage device can be reduced, so that the massage operation can be affected by the massage device.
  • the control of the device is more convenient.
  • FIG. 1 is an application scenario diagram of a method for controlling a massage device disclosed in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for controlling a massage device disclosed in an embodiment of the present application
  • FIG. 3 is an example diagram of an interactive interface of a control APP of a massage device disclosed in an embodiment of the present application
  • FIG. 4 is a schematic flowchart of another massage device control method disclosed in an embodiment of the present application.
  • FIG. 5a is an example diagram of a default interaction interface of a control APP disclosed in an embodiment of the present application.
  • 5b is an example diagram of displaying work information in an interactive interface of a control APP disclosed in an embodiment of the present application
  • FIG. 6 is a schematic flowchart of a specific implementation manner of step 417 in the flowchart shown in FIG. 4;
  • FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a massage device disclosed in an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another massage device disclosed in an embodiment of the present application.
  • the embodiments of the present application disclose a massage device control method, system, massage device and mobile terminal, which can reduce the influence of the exit of the control application program on the normal massage work of the massage device. Each of them will be described in detail below.
  • the massage device control system may include a massage device 10 and a mobile terminal 20 .
  • a communication connection can be established between the massage device 10 and the mobile terminal 20, specifically, communication can be performed through wireless communication methods such as Bluetooth, mobile cellular data network, Wi-Fi (Wireless Fidelity, wireless fidelity), infrared, etc., which is not specifically limited.
  • wireless communication methods such as Bluetooth, mobile cellular data network, Wi-Fi (Wireless Fidelity, wireless fidelity), infrared, etc., which is not specifically limited.
  • the massage device 10 may be a neck massager worn on the user's neck, a facial massager, an eye massager, etc. worn on the user's head, etc., or a massage chair, a hand-held massager, etc. Do limit. After the massage device 10 is activated, the massage work can be performed.
  • the massage device 10 can be in different working states based on the difference in the value of one or more working parameters, such as massage mode, massage gear, heating temperature, etc., used when the massage device 10 performs the massage work.
  • the massage mode of the neck massager may include a soothing mode, a vitality mode, a smart mode, etc.
  • the massage mode of the face massager may include a cleaning mode, an essence introduction mode, a lifting mode, and the like.
  • the massage device 10 can also provide different massage gears.
  • the massage device may provide massage gears of 1-9 levels, and the higher the level of the massage gear, the stronger the feeling of the user.
  • the massage device 10 can also generate heat through the built-in heating device, so as to provide the user with a hot compress function.
  • the massage device 10 can control the heating device so that the heating temperature is constant at a certain temperature value or the heating temperature changes within a preset temperature variation range.
  • the mobile terminal 20 may be an electronic device such as a smart phone, a smart tablet, and a remote control.
  • the mobile terminal 20 may be loaded with a control application program (hereinafter referred to as the control APP) of the massage device 10, and the user may operate the control APP to control the massage device through the control APP.
  • a control application program hereinafter referred to as the control APP
  • FIG. 2 is a schematic flowchart of a method for controlling a massage device disclosed in an embodiment of the present application.
  • the massage device control method may include the following steps:
  • the mobile terminal detects a user operation of the control APP for the massage device.
  • the user operation on the control APP of the massage device can be used to start or exit the control APP, and can also be used to trigger the mobile terminal to send a work instruction to the massage device, so that the massage device can respond to the work sent by the mobile terminal.
  • the instruction performs the corresponding action.
  • user operations for the control APP of the massage device may include, but are not limited to:
  • the user operation to start the control APP for example, click the application icon of the control APP, and trigger the start of the control APP through a voice command.
  • the mobile terminal may run the control APP to the foreground of the mobile terminal in response to a user operation for starting the control APP.
  • the screen of the mobile terminal displays the interactive interface of the control APP.
  • the control APP is running in the foreground of the mobile terminal
  • the screen of the mobile terminal displays the interactive interface of the control APP.
  • the interactive interface for controlling the APP can provide a variety of different interactive controls, such as virtual buttons, text input boxes, draggable progress bars, virtual knobs, and so on. Exemplarily, please refer to FIG. 3 together.
  • FIG. 3 is an example diagram of an interactive interface of a control APP of a massage device disclosed in an embodiment of the present application.
  • the user operation to control the work progress may refer to the user operation to control the start, pause or end of the massage work performed by the massage equipment.
  • the interactive interface for controlling the APP may include one or more virtual keys among the virtual keys for starting work, virtual keys for pausing work, and virtual keys for ending work.
  • Pause the work instruction to suspend the massage work of the massage device; when detecting the user operation that triggers the virtual key to end the work, an end work instruction can be sent to the massage device to end the massage work of the massage device.
  • the virtual key for starting work and the virtual key for pausing work can also be the same virtual key, and the start/pause function can be realized at different trigger timings.
  • the interactive interface for controlling the APP shown in FIG. 3 the virtual key for starting work and the virtual key for pausing work are the same virtual key 301 , and the interactive interface for controlling the APP further includes a virtual key 302 for ending work.
  • the user operation of adjusting the working parameters may refer to the user operation of adjusting the working state of the massage equipment by adjusting the working parameters.
  • the interactive interface of the control APP may include display controls for displaying the value/size of the working parameters and controls for adjusting the working parameters.
  • the controls used to adjust the working parameters can be any of the virtual buttons, text input boxes, draggable progress bars, virtual knobs and other controls. Users can perform operations such as clicking, character input, dragging, and rotating through the above controls. .
  • the mobile terminal can acquire the adjusted working parameters according to the detected user operation.
  • the mobile terminal can display the adjusted working parameters through the display control, so that the user can judge whether it is necessary to continue to adjust the working parameters.
  • the mobile terminal can generate a working state adjustment instruction according to the adjusted working parameters, and send the working state adjustment instruction to the massage device, so as to adjust the working state of the massage device to a working state matching the adjusted working parameters.
  • the interactive interface of the control APP shown in FIG. 3 provides a virtual button 303 for selecting a massage mode, a draggable progress bar 304 for adjusting the massage gear, and a draggable progress bar for adjusting the heating temperature. 305, a draggable icon 306 for adjusting the running duration is also provided.
  • the user operation to exit the control APP may refer to a user operation that triggers the control APP to exit the foreground operation of the mobile terminal. For example, click the return button displayed in the interactive interface of the control APP, click the virtual button used to return to the main interface of the mobile terminal operating system, press the physical button of the mobile terminal to switch the display of the main interface of the mobile terminal operating system, and slide to control the interaction of the APP interface to switch to display the main interface of the mobile terminal operating system, or slide the interactive interface of the control APP to switch to display the interactive interface of another application different from the control APP, etc.
  • the mobile terminal may switch the control APP to the background running of the mobile terminal, or directly terminate the running of the control APP.
  • the mobile terminal When detecting the first user operation to exit the control APP, the mobile terminal sends an application exit instruction to the massage device.
  • the mobile terminal in response to the first user operation, may, in addition to executing step 220, switch the control APP to the background running of the mobile terminal, or directly terminate the running of the control APP.
  • the massage device When receiving the application exit instruction, the massage device continues to run in the current working state.
  • the massage device may be running in a certain working state before receiving the application exit instruction.
  • continuing to run the massage device in the current working state may mean that the massage device continues to perform massage operations in the massage mode, massage gear, and heating temperature before receiving the application exit instruction. That is, the massage device does not adjust the current working state, so that the massage work of the massage device will not be interrupted by the exit of the control APP, which can provide users with a more complete and comfortable massage experience.
  • the massage device performs massage work at a massage gear of level 8 in the soothing mode before receiving the application exit instruction, then after receiving the application exit instruction, the massage device will continue to operate at level 8 in the soothing mode. the massage stall for massage work.
  • the application exit instruction sent to the massage device may carry running time information of the massage device.
  • the running time information may include, but is not limited to, one or more types of time information among the preset running duration of the current working state, the running duration of the current working state, and the remaining running duration of the current working state.
  • the preset running duration of the current working state may be input by the user through the control APP, or may be pre-bound with the massage mode.
  • the user can set the preset running time to 10 minutes by controlling the APP; or, if the user selects the massage mode of the soothing mode, the preset running time is 15 minutes by default.
  • the mobile terminal can record the continuous running time of the massage device in the current working state.
  • the mobile terminal may start timing the continuous running duration when detecting a user operation that triggers the start-to-work virtual key.
  • the currently counted continuous running duration may be determined as the running duration in the current working state.
  • the mobile terminal can subtract the preset running duration and the continuous running duration to obtain the remaining running duration, or can count down according to the preset running duration when detecting the user operation that triggers the virtual key to start working, and detect the first user operation.
  • the remaining running time is determined according to the result of the countdown.
  • the massage device can output the massage time length prompt information to remind the user that the massage work may end.
  • the massage device may also make statistics on the continuous running time of the current working state.
  • the massage device can obtain the running duration and the preset running duration sent by the mobile terminal from the application exit instruction; the massage device takes the running duration as the starting time of the continuous running duration, and continues to run while running in the current working state. Carry out statistics on the continuous running duration of the current working state; and, when the continuous running duration counted by the massage device reaches the preset running duration sent by the mobile terminal, the massage device stops running and ends the massage work, so that the massage device exits the control APP After that, the massage work can still be completed according to the scheduled massage time.
  • the massage device can also determine the remaining running duration of the current working state according to the running duration and the preset running duration sent by the mobile terminal; the massage device can determine the remaining running duration while continuing to run in the current working state.
  • a countdown is performed for the starting point of the timing; when the countdown ends, the massage device ends the massage work, so that the massage device can still complete the massage work according to the predetermined massage duration after the control APP exits.
  • the massage device may output application exit prompt information to prompt the user that the control APP has exited.
  • the application exit prompt information may be voice prompt information broadcast by the massage device through voice, or may be vibration prompt information output by the massage device by performing a vibration prompt operation.
  • the vibration prompt operation may be a double vibration prompt, that is, the massage device vibrates twice with a preset vibration effect.
  • the specific form of the vibration prompting operation is not limited, as long as a vibration experience different from that of the massage operation can be provided to achieve the effect of informing the user.
  • the massage device may suspend the massage operation before continuing to run in the current working state in response to the application exit instruction, and then execute the vibration prompt operation; and, After the vibration prompting operation is completed, it continues to run in response to the application exit instruction to obtain the working state when the application exit instruction is obtained. That is, the massage device performs the vibration prompt operation first, and delays the massage operation, so that the vibration prompt operation and the massage operation do not overlap, and the user can effectively receive the vibration prompt information.
  • the massage device when receiving the application exit instruction, can keep silent for the second preset time period, and then perform the vibration prompt operation; after the vibration prompt operation is completed, the third preset Keep silent for a long time, and then continue to run in response to the application exit instruction to obtain the working state when the application exit instruction is obtained.
  • the above-mentioned second preset duration and third preset duration are long enough so that the user can feel that the massage device stops working.
  • the second preset duration and the third preset duration may be set to the same duration, for example, 3s, or may be set to different durations.
  • the massage device can remain silent for a certain period of time before or after the output of the vibration prompt information, so that there is a certain interval between the pause of the massage work, the output of the vibration prompt information, and the recovery of the massage work.
  • the user's attention is shifted to the work of the massage device, so that the user can receive the vibration prompt information more effectively.
  • the mobile terminal sends an application exit instruction to the massage device when detecting that the control APP exits.
  • the massage device continues to run in the current working state, so that the massage work of the massage device will not be interrupted by the exit of the control APP, which can provide users with a more complete and comfortable massage experience.
  • the mobile terminal can also send running time information such as the preset running duration, the running duration, the remaining running duration, etc., so that the massage device can perform running duration statistics and running duration control by itself after controlling the APP to exit. .
  • FIG. 4 is a schematic flowchart of another method for controlling a massage device disclosed in an embodiment of the present application. As shown in Figure 4, the method includes the following steps:
  • the mobile terminal detects a user operation of a control APP for the massage device.
  • the mobile terminal When detecting the first user operation to exit the control APP, the mobile terminal sends an application exit instruction to the massage device.
  • the massage device When receiving the application exit instruction, the massage device continues to run in the current working state.
  • the mobile terminal sends a response instruction to the massage device when detecting that the control APP has resumed running in the foreground of the mobile terminal again.
  • the user after the user exits the control APP, the user can start the control APP by clicking on the application icon of the control APP, etc. to enter the control APP again, and the mobile terminal restores the control APP to the foreground operation.
  • the massage device returns response response information to the mobile terminal according to the received response instruction.
  • the response instruction and the response information corresponding to the response may be used to perform a handshake operation between the mobile terminal and the massage device.
  • the mobile terminal can first send a response instruction to the massage device. If the response instruction can be successfully sent to the massage device, the massage device can execute step 409 to send the response response information to the mobile terminal. If the mobile terminal can receive the response response information, the communication connection between the mobile terminal and the massage device is smooth, and the following step 411 is executed. It should be noted that more than one handshake operation may be performed between the mobile terminal and the massage device to further confirm that the communication connection between the mobile terminal and the massage device is smooth.
  • the mobile terminal When receiving the response response information, the mobile terminal sends a request instruction to the massage device.
  • the request instruction is used to request to obtain the working information of the massage device in the current working state.
  • the working information includes, but is not limited to, working parameters such as massage mode, massage gear, and heating temperature, as well as running time information such as the preset running duration, elapsed running duration, and remaining running duration of the current working state.
  • response command and the request command may be non-working state adjustment commands.
  • the massage device receives the response command or the request command, it may not adjust the working state and continue to run in the current working state.
  • the massage device acquires work information in the current work state according to the request instruction, and sends the work information to the mobile terminal.
  • the mobile terminal displays the received work information in the interactive interface of the control APP.
  • FIG. 5a is an example diagram of a default interaction interface for controlling an APP disclosed in an embodiment of the present application. As shown in Figure 5a, both the massage gear and the heat compress temperature are at the initial position.
  • the mobile terminal acquires the work information sent by the massage device, the work information can be displayed in the interactive interface of the control APP. Exemplarily, please refer to FIG. 5b together.
  • FIG. 5a is an example diagram of a default interaction interface for controlling an APP disclosed in an embodiment of the present application. As shown in Figure 5a, both the massage gear and the heat compress temperature are at the initial position.
  • the mobile terminal acquires the work information sent by the massage device, the work information can be displayed in the interactive interface of the control APP.
  • FIG. 5b Exemplarily, please refer to FIG. 5b together.
  • FIG. 5b is an example diagram of displaying work information in an interactive interface of a control APP disclosed in an embodiment of the present application.
  • the user can know the current working state of the massage device by controlling the interactive interface of the APP, so as to facilitate the user to judge whether adjustment is required.
  • the default interactive interface shown in FIG. 5a is not necessarily displayed.
  • the mobile terminal obtains the work information sent by the massage device in a short enough time, when the user enters the control APP again, he can directly see the interactive interface including the work information as shown in Figure 5b, which is convenient for the user to understand the massage device. working status.
  • the mobile terminal When the mobile terminal detects a third user operation that adjusts the working parameters of the massage device, the mobile terminal obtains the adjusted working parameters according to the third user operation, generates a working state adjustment instruction according to the adjusted working parameters, and sends the massage device. Work status adjustment instructions.
  • the mobile terminal may detect the above-mentioned third user operation when detecting that the control APP resumes running in the foreground again.
  • the interaction interface of the control APP may be the above-mentioned default interaction interface, or may be an interaction interface including working information of the massage device, which is not specifically limited.
  • the massage device is adjusted from the current working state to a working state matching the working parameters carried by the working state adjustment instruction.
  • the massage device can adjust the working state of the massage work.
  • the working parameters carried by the state adjustment instruction match the working state.
  • the user starts the control APP, and controls the massage device to perform massage work at an 8-level massage gear in the soothing mode through the control APP.
  • the massage device continues to perform massage work at the 8-level massage gear in the soothing mode.
  • the user opens the control APP again due to reasons such as excessive or insufficient massage gears, inappropriate massage modes, etc., and adjusts the massage gears to level 9 in the interactive interface of the control APP, and adjusts the hot compress temperature to low temperature, then the mobile terminal can generate And send the working state adjustment instruction, so that the massage device performs the massage operation with 9 levels of strength in the soothing mode, and generates heat at the temperature corresponding to the low temperature, and the temperature corresponding to the low temperature can be preset.
  • the third user operation for adjusting the working parameters of the massage device may be a massage gear adjustment operation for adjusting the massage gear.
  • the mobile terminal can acquire the adjusted massage gear according to the massage gear adjustment operation, and send the adjusted massage gear to the massage device, so that the massage device switches from the current massage gear to the adjusted massage gear.
  • the massage equipment can be directly switched from the current massage gear to the adjusted massage gear, or can be adjusted from the current massage gear to the adjusted massage gear step by step. There are no specific restrictions on the massage stalls.
  • FIG. 6 is a schematic flowchart of a specific implementation manner of step 417 in the flowchart shown in FIG. 4 . As shown in Figure 6, the following steps may be included:
  • step 603. Determine whether the remaining running duration of the current working state is less than the first preset duration; if so, go to step 605; if not, go to step 607.
  • the first preset duration may be set by the user, or may be preset by the manufacturer of the massage device, which is not specifically limited.
  • the first preset duration may be set to 3 minutes or 2 minutes.
  • the massage operation is about to end.
  • step 605. Determine whether the adjusted massage gear is smaller than the current gear of the massage device; if so, go to step 607; if not, go to step 609.
  • the mobile terminal when the massage device is about to end its operation (the remaining running time is less than the first preset time), the mobile terminal generates a massage gear adjustment instruction in response to the massage gear adjustment operation indicating the downshift, and sends the instruction to the massage device.
  • the massage gear adjustment command makes the massage device switch from the current massage gear to a smaller massage gear.
  • the mobile terminal when the mobile terminal performs the above step 605 and determines that the adjusted massage gear is greater than the current gear of the massage device, it may not generate a massage gear adjustment instruction. That is, the mobile terminal only generates a massage gear adjustment instruction in response to a massage gear adjustment operation instructing to downshift, so that the massage device can only downshift when the massage operation is about to end, so as to reduce user discomfort.
  • the preset gear shifting time interval may be greater than the current gear shifting time interval. That is, when the massage device is about to end its operation (the remaining running time is less than the first preset time), the massage device can switch from the current massage gear to the adjusted massage gear according to the gear shifting time interval included in the massage gear adjustment instruction. , so that the time interval for switching from the current massage gear to the adjusted massage gear can be increased, the adjustment speed of the massage gear can be slowed down, and user discomfort can also be reduced. Exemplarily, assuming that the current gear shifting time interval is 1 second, the preset shifting time interval may be 2 seconds.
  • the massage device receives a working state adjustment instruction to adjust the massage gear to level 9 when the remaining running time is less than the first preset duration, it will first maintain the current massage gear of level 8, and after receiving the working state adjustment instruction 2 After a few seconds, adjust the massage gear from level 8 to level 9.
  • the mobile terminal may adjust the gear according to the preset gear adjustment rule and the adjusted gear. Generate massage gear adjustment instructions.
  • the above preset gear adjustment rules may include: if the adjusted massage gear is smaller than the current gear of the massage device, generating a massage gear adjustment instruction according to the adjusted massage gear; or, if the adjusted massage gear is If the gear is greater than the current gear of the massage equipment, no massage gear adjustment instruction will be generated; or, if the adjusted massage gear is greater than the current massage gear of the massage equipment, the preset gear adjustment time interval and the adjusted The massage gear generates a massage gear adjustment instruction.
  • the preset gear shifting time interval may be greater than the current gear shifting time interval.
  • the massage device executes the application exit instruction sent in step 403, it may carry the running duration of the current working state recorded by the mobile terminal, so that the massage device can continue to use the running duration to carry out the operation.
  • the clocks of the massage device and the mobile terminal may be out of sync, resulting in timing errors. Therefore, in this embodiment of the present application, when it is detected again that the control APP is opened, in addition to performing the above steps 407 to 409 to confirm whether the communication connection is smooth, the mobile terminal can also send a check clock instruction to the massage device, For the massage equipment to perform time synchronization on the mobile terminal and the massage equipment according to the check clock instruction.
  • the check clock instruction may carry the clock information of the mobile terminal, and the clock information of the mobile terminal is calibrated through the network; after receiving the check clock instruction, the massage device may The information is adjusted to the clock information of the mobile terminal, that is, the clock information of the massage equipment is corrected based on the clock information of the mobile terminal, so that the massage equipment without the networking function can keep the timing accurate.
  • the instruction for checking the clock may also carry the continuous running duration of the massage device running in the current working state recorded by the mobile terminal.
  • the application exit instruction sent by the mobile terminal to the massage device may include the preset running duration of the current working state.
  • the massage device After receiving the application exit command and the check clock command, the massage device can calculate the remaining running time of the current work load according to the continuous running time obtained from the check clock command and the preset running time obtained from the application exit command. . That is, the remaining running duration in the current working state is determined based on the continuous running duration recorded by the mobile terminal, so that the massage device can more accurately end the massage operation according to the predetermined massage duration.
  • the mobile terminal when it is detected again that the control APP is opened, the mobile terminal can not only send the check clock instruction to the massage device, but also directly send the remaining current working state recorded by the mobile terminal to the mobile terminal. Run time.
  • the massage device can output massage duration prompt information to remind the user that the massage operation is about to end.
  • the massage duration prompt information may be voice prompt information broadcast by voice, or vibration prompt information output by the massage device by performing a vibration prompt operation, which is not specifically limited.
  • FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application. As shown in FIG. 7, the mobile terminal 700 may include:
  • a detection unit 710 configured to detect a first user operation of exiting the control application
  • the sending unit 720 is configured to send an application exit instruction to the massage device in response to the first user operation, so as to instruct the massage device to continue to run in the current working state.
  • the detection unit 710 can also be used to detect a second user operation that triggers the end work virtual key; the end work virtual key is displayed on the interactive interface of the control application;
  • the sending unit 720 may also be configured to send an end work instruction to the massage device in response to the second user operation, so as to instruct the massage device to end the massage work.
  • the mobile terminal 700 may further include: a control unit.
  • the control unit is configured to, in response to the first user operation, run a control application program for controlling the massage device in the background of the mobile terminal; or, in response to the first user operation, terminate the operation of the control application program for controlling the massage device.
  • the detection unit 710 can also be used to detect whether the control application program is restored to the foreground of the mobile terminal again after the control application program controlling the massage device by the control unit exits;
  • the above-mentioned sending unit 720 may include: an obtaining module and a sending module;
  • the acquisition module is used to acquire the adjusted operating parameters according to the third user operation when the detection unit 710 detects that the control application program is restored to the foreground operation of the mobile terminal again and detects the third user operation for adjusting the operating parameters of the massage device ; And generate working state adjustment instructions according to the adjusted working parameters;
  • the sending module is used for sending a working state adjustment instruction to the massage device, so as to instruct the massage device to adjust from the current working state to the working state matching the adjusted working parameters.
  • the working parameters may include: a massage gear;
  • the working state adjustment instruction may include a massage gear adjustment instruction;
  • the acquiring module can be specifically configured to generate a massage gear adjustment instruction according to the preset gear adjustment rule and the adjusted gear when the remaining running duration of the current working state of the massage device is less than the first preset duration;
  • the above acquisition module can be specifically used to generate a massage gear adjustment instruction according to the adjusted massage gear when the adjusted massage gear is smaller than the current massage gear of the massage device;
  • a massage gear adjustment instruction is generated according to the preset gear shifting time interval and the adjusted massage gear.
  • the above-mentioned sending module can specifically be used to send a massage gear adjustment instruction to the massage device to instruct the massage device to switch from the current massage gear to the adjusted massage gear; or, can be used to send the massage gear adjustment to the massage device instruction to instruct the massage device to switch from the current massage gear to the adjusted massage gear according to the preset gear shifting time interval.
  • the above-mentioned sending unit 720 can also be configured to send a response instruction to the massage device to indicate that the massage device is in When the response command is received, the response response information is returned to the mobile terminal.
  • the mobile terminal 700 may further include: a receiving unit and a display unit.
  • the receiving unit may be configured to receive the response response information returned by the massage device according to the response command after the sending unit 720 sends the response command.
  • the above-mentioned sending unit 720 can also be used to send a request instruction to the massage device when the response response information is received; the request instruction is used to request to obtain the working information of the massage device running in the current working state.
  • the receiving unit can also be used to receive the work information returned by the massage device according to the request instruction.
  • the display unit is used for displaying work information in the interactive interface of the control application.
  • the application exit instruction sent by the sending unit 720 to the massage device in response to the first user operation may carry the running duration and the preset running duration of the current working state of the massage device;
  • the massage device sends an application exit instruction to instruct the massage device to run in the current working state and count the continuous running time.
  • the starting time of the continuous running time is the running time, and when the continuous running time reaches the preset running time, it stops running.
  • the above-mentioned sending unit 720 may also send a check clock to the massage device when the detection unit 710 detects the operation of the first user and detects that the control application program has resumed running in the foreground of the mobile terminal again instruction to perform time synchronization on the mobile terminal and the massage device according to the instruction of checking the clock.
  • the verification clock instruction carries the continuous running duration of the current working state recorded by the mobile terminal; the sending unit 720 can also carry the massage device in the current working state in response to the application exit instruction sent to the massage device by the first user operation.
  • the sending unit 720 sends the application exit instruction in response to the first user operation, if it detects that the control application program is restored to the foreground running of the mobile terminal again, it sends a check clock instruction to the massage device, which can indicate
  • the massage device determines the remaining running duration of the current working state according to the continuous running duration obtained from the verification clock command and the preset running duration obtained from the application exit command, and outputs massage duration prompt information according to the remaining running duration.
  • the sending unit 720 sends the application exit instruction in response to the first user operation, if it is detected that the control application program is restored to the foreground running of the mobile terminal again, it can also directly send the current working state recorded by the mobile terminal to the massage device. The remaining running time is used for the massage equipment to output the massage time prompt information.
  • the massage device when it is detected that the control APP of the massage device exits, the massage device can be controlled to keep running in the current working state, so that the massage work of the massage device will not be controlled by the APP.
  • the exit interruption can provide users with a more complete and comfortable massage experience.
  • FIG. 8 is a schematic structural diagram of a massage device disclosed in an embodiment of the present application.
  • the massage device 800 may include:
  • a transceiver unit 810 configured to receive an instruction sent by the mobile terminal
  • the control unit 820 is configured to control the massage device to continue to run in the current working state when receiving the application exit instruction sent by the mobile terminal;
  • the application exit instruction is a work instruction triggered by the mobile terminal when detecting the operation of the first user;
  • the first user The operation is a user operation of the control application, and the control application runs on the mobile terminal.
  • control unit 820 can also be used to control the massage device to end the massage work when receiving the end work instruction sent by the mobile terminal;
  • the end work instruction is that the mobile terminal detects the second user The work instruction triggered during the operation;
  • the second user operation is a user operation of touching the end work virtual key, and the end work virtual key is displayed on the interactive interface of the control application program.
  • control unit 820 can also be used to control the massage device to adjust from the current working state to the one that matches the adjusted working parameters when receiving the working state adjustment instruction sent by the mobile terminal. working status;
  • the working state adjustment instruction is triggered by the mobile terminal when it detects a third user operation, and carries the adjusted working parameters;
  • the third user operation is a user who adjusts the working parameters of the massage device by controlling the application program to obtain the adjusted working parameters operation, control the application program to resume operation in the foreground of the mobile terminal after exiting according to the first user operation.
  • the third user operation may be a massage gear adjustment operation for adjusting the massage gear;
  • the working state adjustment instruction includes a massage gear adjustment instruction, and the massage gear adjustment instruction carries the adjusted massage gear , is generated by the mobile terminal according to the preset gear adjustment rule and the adjusted gear when the remaining running duration of the current working state of the massage device is less than the first preset duration.
  • the above-mentioned preset gear adjustment rules may include: if the adjusted gear is smaller than the current massage gear of the massage device, generating a massage gear adjustment instruction according to the adjusted massage gear; If the next gear is greater than the current massage gear, the massage gear adjustment command will not be generated.
  • control unit 820 can also be used to control the massage device to switch from the current massage gear to the adjusted massage gear when receiving the massage gear adjustment instruction.
  • the above preset gear adjustment rules may also include: if the adjusted massage gear is greater than the current massage gear of the massage device, generating a massage gear according to the preset gear shifting time interval and the adjusted massage gear adjustment instructions;
  • control unit 820 can also be used to control the massage device to switch from the current massage gear to the adjusted massage gear according to the preset gear shifting time interval when receiving the massage gear adjustment instruction.
  • the transceiver unit 810 may also be configured to return response response information to the mobile terminal when receiving the response command sent by the mobile terminal; Triggered when the user returns to the foreground of the mobile terminal after exiting the operation.
  • the transceiver unit 810 may also be configured to receive a request instruction sent by the mobile terminal after returning the response response information to the mobile terminal;
  • the massage device 800 may further include: an acquisition unit;
  • the acquisition unit is used to acquire the work information of the massage device running under the current working state when the transceiver unit 810 receives the request instruction;
  • the request instruction is the work instruction sent by the mobile terminal when receiving the response response information;
  • the transceiver unit 810 can also be used to send work information to the mobile terminal; the work information is used to display in the interactive interface of the control application.
  • the transceiver unit 810 can also be used to obtain, from the application exit instruction sent by the mobile terminal, the running duration and the preset running duration of the massage device carried by the application exit instruction in the current working state;
  • the control unit 820 can specifically be used to control the massage equipment to run in the current working state, and use the running time as the timing starting point to count the continuous running time of the massage equipment running in the current working state; When the duration reaches the preset running duration, control the massage equipment to end the massage work.
  • the transceiver unit 810 can also be used to receive a check clock instruction sent by the mobile terminal; the check clock instruction is that the mobile terminal returns to Triggered when the mobile terminal is running in the foreground;
  • the above-mentioned control unit 820 can also perform time synchronization on the mobile terminal and the massage device according to the instruction of checking the clock.
  • the check clock instruction may carry the continuous running duration of the current working state recorded by the mobile terminal
  • the massage device 800 may further include: a determining unit;
  • a determining unit configured to determine the remaining running duration of the current working state according to the continuous running duration obtained from the check clock instruction and the preset running duration obtained from the application exit command;
  • the transceiver unit 810 can also be used to receive the remaining running time of the current working state recorded by the mobile terminal and sent by the mobile terminal; the remaining running time is the time when the mobile terminal detects that the control application program is restored to Triggered when the mobile terminal is running in the foreground;
  • control unit 820 can also be used to output massage duration prompt information according to the remaining running duration when the determining unit determines the remaining running duration of the current working state or when the transceiver unit 810 receives the remaining running duration of the current working state.
  • control unit 820 may be specifically configured to, after receiving the application exit instruction sent by the mobile terminal, control the massage device to suspend the massage work and perform a vibration prompt operation; and, when the vibration prompt operation is completed , control the massage device to continue to run in the working state when the application exit instruction is obtained.
  • control unit 820 may control the massage device to maintain a silent state for a second preset time period after controlling the massage device to suspend the massage operation, and before controlling the massage device to perform the vibration prompt operation; and/ or,
  • the massage device After the vibration prompting operation is completed, and before the massage device is controlled to obtain the working state when the application exit instruction is resumed, the massage device is controlled to remain in a silent state for a third preset time period.
  • the massage device shown in FIG. 8 when the massage device shown in FIG. 8 is implemented, after the control APP of the mobile terminal is exited, it can still continue to run in the current working state, and continue to operate in the current working state, so that the massage work of the massage device will not work. Interrupted by the exit of the control APP, it can provide users with a more complete and comfortable massage experience.
  • FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present application.
  • the mobile terminal 900 may include one or more of the following components: a processor 910 , a memory 920 coupled with the processor 910 , and a wireless communication module 930 coupled with the processor 910 .
  • the memory 920 may store one or more application programs, one or more application programs may be configured to be executed by one or more processors 910, and one or more programs are configured to execute as described in the above embodiments mode selection method.
  • Processor 910 may include one or more processing cores.
  • the processor 910 uses various interfaces and lines to connect various parts of the entire mobile terminal 900, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 920, and calling the data stored in the memory 920.
  • the processor 910 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used for handling wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 910, and is implemented by a communication chip alone.
  • the memory 920 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 920 may include a stored program area and a stored data area, wherein the stored program 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 foregoing method embodiments, and the like.
  • the storage data area may also store data and the like created by the mobile terminal 900 in use.
  • the wireless communication module 930 may provide applications on the mobile terminal 900 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellites System
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 930 may be one or more devices integrating at least one communication processing module.
  • the mobile terminal 900 can establish a communication connection with the massage device through the wireless communication module 930, so as to realize data transmission with the massage device.
  • the mobile terminal 900 may include more or less structural elements than those in the above-mentioned structural block diagram, for example, including a power supply, an input button, a camera, a speaker, a screen, an RF (Radio Frequency, radio frequency) circuit, a sensor, etc. It is not limited here.
  • massage device 1000 may include one or more of the following components: processor 1010 , memory 1020 coupled to processor 1010 , wireless communication module 1030 , and massage component 1040 .
  • the memory 1020 may store one or more application programs, one or more application programs may be configured to be executed by one or more processors 1010, and one or more programs are configured to execute as described in the above embodiments The control method of the massage equipment.
  • the wireless communication module 1030 can provide a wireless communication solution applied on the massage device 1000 including wireless local area network, Bluetooth and the like.
  • the massage device 1000 can establish a communication connection with the mobile terminal through the wireless communication module 1030, so as to realize data transmission with the mobile terminal.
  • the massaging component 1040 may include electrodes, heating elements and other components, and each component in the massaging component 1040 may operate according to the instructions transmitted by the processor 1010 and act on the user's skin, joints and other parts to generate massage effects.
  • the massage device 1000 may include more or less structural elements than those in the above-mentioned structural block diagram, for example, may also include a power supply, a speaker, an input button, etc., which are not limited herein.
  • the embodiments of the present application disclose a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, the methods described in the foregoing embodiments are implemented.
  • the embodiments of the present application disclose a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the foregoing embodiments.
  • the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the embodiments of the above-mentioned methods.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), and the like.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM
  • the units described above as separate components may or may not be physically separated, and components displayed as units may or may not be object units, and may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the above-mentioned integrated units if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory.
  • the technical solution of the present application or the part that contributes to the prior art, or the whole or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to cause a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute some or all of the steps of the above methods in the various embodiments of the present application.
  • a computer device which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Massaging Devices (AREA)
  • Telephone Function (AREA)

Abstract

A massage device control method and system, a massage device, and a mobile terminal. The method comprises: the mobile terminal detects a user operation for a control application, the control application running on the mobile terminal; upon detection of a first user operation of exiting the control application, the mobile terminal sends an application exit instruction to the massage device in response to the first user operation; and when the massage device receives the application exit instruction sent by the mobile terminal, the massage device is controlled to continue to operate in the current work state. By implementing embodiments of the present application, even if the control application of the massage device is exited, the massage device will not stop the massage work, so that the effect of the exit of the control application on the normal massage work of the massage device can be reduced.

Description

按摩设备控制方法、系统、按摩设备及移动终端Massage equipment control method, system, massage equipment and mobile terminal 技术领域technical field

本发明涉及交互技术领域,具体涉及一种按摩设备控制方法、系统、按摩设备及移动终端。The present invention relates to the field of interaction technology, and in particular to a massage device control method, system, massage device and mobile terminal.

背景技术Background technique

目前,可以通过手机等移动终端上装载的与按摩设备配套的控制应用程序(Application,APP)对按摩设备进行远程控制。在实践中发现,虽然可以实现远程控制,但是在利用控制APP对按摩设备进行控制时,仍然存在较多不便。At present, the massage equipment can be remotely controlled through a control application (Application, APP) that is loaded on a mobile terminal such as a mobile phone and is matched with the massage equipment. In practice, it is found that although remote control can be realized, there are still many inconveniences when using the control APP to control the massage equipment.

发明内容SUMMARY OF THE INVENTION

本申请实施例公开了按摩设备控制方法、系统、按摩设备及移动终端,能够更加便捷地对按摩设备进行控制。The embodiments of the present application disclose a massage device control method, a system, a massage device and a mobile terminal, which can control the massage device more conveniently.

本申请实施例第一方面公开一种按摩设备控制方法,所述方法应用于移动终端;所述移动终端与所述按摩设备通信连接,所述方法包括:检测退出控制应用程序的第一用户操作;响应于所述第一用户操作,向所述按摩设备发送应用退出指令,以指示所述按摩设备继续以当前工作状态运行。A first aspect of the embodiments of the present application discloses a method for controlling a massage device. The method is applied to a mobile terminal; the mobile terminal is communicatively connected to the massage device, and the method includes: detecting a first user operation that exits a control application program ; In response to the first user operation, send an application exit instruction to the massage device to instruct the massage device to continue to run in the current working state.

本申请实施例第二方面公开另一种按摩设备控制方法,所述方法应用于按摩设备;所述按摩设备与移动终端通信连接,所述方法包括:在接收到所述移动终端发送的应用退出指令时,控制所述按摩设备继续以当前工作状态运行;所述应用退出指令为所述移动终端在检测到第一用户操作时触发的工作指令;所述第一用户操作为退出控制应用程序的用户操作,所述控制应用程序运行于所述移动终端。A second aspect of the embodiments of the present application discloses another method for controlling a massage device. The method is applied to a massage device; the massage device is communicatively connected to a mobile terminal, and the method includes: exiting an application after receiving an application sent by the mobile terminal. When instructed, control the massage device to continue to run in the current working state; the application exit instruction is a work instruction triggered by the mobile terminal when detecting the first user operation; the first user operation is to exit the control application program. User operation, the control application program runs on the mobile terminal.

本申请实施例第三方面公开一种移动终端,包括:检测单元,用于检测退出控制应用程序的第一用户操作;发送单元,用于响应所述第一用户操作,向按摩设备发送应用退出指令,以指示所述按摩设备继续以当前工作状态运行。A third aspect of the embodiments of the present application discloses a mobile terminal, comprising: a detection unit, configured to detect a first user operation for exiting a control application; a sending unit, configured to respond to the first user operation and send an application exit to a massage device instruction to instruct the massage device to continue to operate in the current working state.

本申请实施例第四方面公开一种移动终端,包括:存储有可执行程序代码的存储器;与所述存储器耦合的处理器;所述处理器调用所述存储器中存储的所述可执行程序代码,执行本申请实施例第一方面公开的按摩设备控制方法。A fourth aspect of the embodiments of the present application discloses a mobile terminal, including: a memory storing executable program codes; a processor coupled to the memory; the processor calling the executable program codes stored in the memory , and execute the massage device control method disclosed in the first aspect of the embodiments of the present application.

本申请实施例第四方面公开一种按摩设备,包括:控制单元,用于在接收到移动终端发送的应用退出指令时,控制所述按摩设备继续以当前工作状态运行;所述应用退出指令为所述移动终端在检测到第一用户操作时触发的工作指令;所述第一用户操作为退出按摩设备的控制应用程序的用户操作,所述控制应用程序运行于所述移动终端。A fourth aspect of the embodiments of the present application discloses a massage device, comprising: a control unit configured to control the massage device to continue to run in a current working state when receiving an application exit instruction sent by a mobile terminal; the application exit instruction is: A work instruction triggered when the mobile terminal detects a first user operation; the first user operation is a user operation of exiting a control application program of the massage device, and the control application program runs on the mobile terminal.

本申请实施例第五方面公开一种按摩设备,包括:存储有可执行程序代码的存储器;与所述存储器耦合的处理器;所述处理器调用所述存储器中存储的所述可执行程序代码,执行本申请实施例第二方面公开的按摩设备控制方法。A fifth aspect of the embodiments of the present application discloses a massage device, comprising: a memory storing executable program codes; a processor coupled to the memory; the processor calling the executable program codes stored in the memory , and execute the massage device control method disclosed in the second aspect of the embodiment of the present application.

本申请实施例第六方面公开一种控制系统,包括:按摩设备和移动终端;所述按摩设备和所述移动终端通信连接;所述移动终端,用于检测针对所述按摩设备的控制应用程序的用户操作,所述控制应用程序运行于所述移动终端;以及,在用户操作为退出所述控制应用程序的第一用户操作时,向所述按摩设备发送应用退出指令;所述按摩设备,用于获取所述移动终端发 送的工作指令;以及,在工作指令为应用退出指令时,控制所述按摩设备继续以当前工作状态运行。A sixth aspect of the embodiments of the present application discloses a control system, including: a massage device and a mobile terminal; the massage device and the mobile terminal are connected in communication; the mobile terminal is configured to detect a control application program for the massage device The control application program runs on the mobile terminal; and, when the user operation is the first user operation to exit the control application program, send an application exit instruction to the massage device; the massage device, It is used for acquiring the work instruction sent by the mobile terminal; and, when the work instruction is an application exit instruction, controlling the massage device to continue to run in the current working state.

本申请实施例第七方面公开一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例第一方面公开的按摩设备控制方法。A seventh aspect of the embodiments of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the massage device control method disclosed in the first aspect of the embodiments of the present application.

本申请实施例第八方面公开一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例第二方面公开的按摩设备控制方法。An eighth aspect of the embodiments of the present application discloses a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the massage device control method disclosed in the second aspect of the embodiments of the present application.

与现有技术相比,本申请实施例具有以下有益效果:Compared with the prior art, the embodiments of the present application have the following beneficial effects:

移动终端可以在检测到退出控制应用程序的第一用户操作时,生成应用退出指令,并将应用退出指令发送至按摩设备;按摩设备根据应用退出指令的指示,继续以当前工作状态运行。也就是说,在本申请实施例中,即使按摩设备的控制应用程序退出,按摩设备也不会停止按摩工作,从而可以减少控制应用程序的退出对按摩设备进行正常按摩工作的影响,使得对按摩设备的控制更加便捷。The mobile terminal may generate an application exit instruction when detecting the first user operation to exit the control application, and send the application exit instruction to the massage device; the massage device continues to run in the current working state according to the instruction of the application exit instruction. That is to say, in the embodiment of the present application, even if the control application program of the massage device exits, the massage device will not stop the massage operation, so that the influence of the exit of the control application program on the normal massage operation of the massage device can be reduced, so that the massage operation can be affected by the massage device. The control of the device is more convenient.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1是本申请实施例公开的一种按摩设备控制方法的应用场景图;1 is an application scenario diagram of a method for controlling a massage device disclosed in an embodiment of the present application;

图2是本申请实施例公开的一种按摩设备控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a massage device disclosed in an embodiment of the present application;

图3是本申请实施例公开的一种按摩设备的控制APP的交互界面示例图;3 is an example diagram of an interactive interface of a control APP of a massage device disclosed in an embodiment of the present application;

图4是本申请实施例公开的另一种按摩设备控制方法的流程示意图;4 is a schematic flowchart of another massage device control method disclosed in an embodiment of the present application;

图5a是本申请实施例公开的一种控制APP的默认交互界面的示例图;FIG. 5a is an example diagram of a default interaction interface of a control APP disclosed in an embodiment of the present application;

图5b是本申请实施例公开的一种在控制APP的交互界面中显示工作信息的示例图;5b is an example diagram of displaying work information in an interactive interface of a control APP disclosed in an embodiment of the present application;

图6是图4所示的流程图中步骤417的一种具体实施方式的流程示意图;FIG. 6 is a schematic flowchart of a specific implementation manner of step 417 in the flowchart shown in FIG. 4;

图7是本申请实施例公开的一种移动终端的结构示意图;FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;

图8是本申请实施例公开的一种按摩设备的结构示意图;8 is a schematic structural diagram of a massage device disclosed in an embodiment of the present application;

图9是本申请实施例公开的另一种移动终端的结构示意图;FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present application;

图10是本申请实施例公开的另一种按摩设备的结构示意图。FIG. 10 is a schematic structural diagram of another massage device disclosed in an embodiment of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本申请实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" in the embodiments of the present application and the accompanying drawings and any modifications thereof are intended to cover non-exclusive inclusion. 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 unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

本申请实施例公开了一种按摩设备控制方法、系统、按摩设备及移动终端,能够减少控制应用程序的退出对按摩设备进行正常按摩工作的影响。以下分别进行详细说明。The embodiments of the present application disclose a massage device control method, system, massage device and mobile terminal, which can reduce the influence of the exit of the control application program on the normal massage work of the massage device. Each of them will be described in detail below.

首先,请参阅图1,图1是本申请实施例公开的一种按摩设备控制方法的应用场景图。如图1所示,该按摩设备控制系统可以包括按摩设备10和移动终端20。按摩设备10和移动终端20之间可以建立通信连接,具体可以通过蓝牙、移动蜂窝数据网络、Wi-Fi(Wireless Fidelity,无线保真)、红外等等无线通信方式进行通信,具体不做限定。First, please refer to FIG. 1 , which is an application scenario diagram of a massage device control method disclosed in an embodiment of the present application. As shown in FIG. 1 , the massage device control system may include a massage device 10 and a mobile terminal 20 . A communication connection can be established between the massage device 10 and the mobile terminal 20, specifically, communication can be performed through wireless communication methods such as Bluetooth, mobile cellular data network, Wi-Fi (Wireless Fidelity, wireless fidelity), infrared, etc., which is not specifically limited.

按摩设备10,可以是佩戴在用户颈部的颈部按摩仪、佩戴在用户头部等部位的脸部按摩仪、眼部按摩仪等,也可以是按摩椅、手持式按摩器等,具体不做限定。按摩设备10在启动之后,可以执行按摩工作。基于按摩设备10执行按摩工作时使用的按摩模式、按摩档位、发热温度等一种或者多种工作参数的数值的不同,按摩设备10可以处于不同的工作状态。The massage device 10 may be a neck massager worn on the user's neck, a facial massager, an eye massager, etc. worn on the user's head, etc., or a massage chair, a hand-held massager, etc. Do limit. After the massage device 10 is activated, the massage work can be performed. The massage device 10 can be in different working states based on the difference in the value of one or more working parameters, such as massage mode, massage gear, heating temperature, etc., used when the massage device 10 performs the massage work.

不同的按摩设备10,可以提供多种不同的按摩模式。示例性的,颈部按摩仪的按摩模式可包括舒缓模式、活力模式、智能模式等,脸部按摩仪的按摩模式可包括清洁模式、精华导入模式、提拉模式等。进一步地,按摩设备10也可以提供不同的按摩档位。例如,按摩设备可以提供1-9级的按摩档位,按摩档位的级别越高,用户的感觉越强烈。进一步地,按摩设备10还可以通过内置的发热器件发热,为用户提供热敷功能。按摩设备10可以对发热器件进行控制,使得发热温度恒定在某一个温度值或者使得发热温度在预设的温度变化范围内变化。Different massage devices 10 can provide a variety of different massage modes. Exemplarily, the massage mode of the neck massager may include a soothing mode, a vitality mode, a smart mode, etc., and the massage mode of the face massager may include a cleaning mode, an essence introduction mode, a lifting mode, and the like. Further, the massage device 10 can also provide different massage gears. For example, the massage device may provide massage gears of 1-9 levels, and the higher the level of the massage gear, the stronger the feeling of the user. Further, the massage device 10 can also generate heat through the built-in heating device, so as to provide the user with a hot compress function. The massage device 10 can control the heating device so that the heating temperature is constant at a certain temperature value or the heating temperature changes within a preset temperature variation range.

移动终端20,可以是智能手机、智能平板、遥控器等电子设备。移动终端20可以装载有按摩设备10的控制应用程序(以下简称控制APP),用户可以对控制APP进行操作,以通过控制APP对按摩设备进行控制。The mobile terminal 20 may be an electronic device such as a smart phone, a smart tablet, and a remote control. The mobile terminal 20 may be loaded with a control application program (hereinafter referred to as the control APP) of the massage device 10, and the user may operate the control APP to control the massage device through the control APP.

基于如图1所示的按摩设备控制系统,下面对本申请实施例公开的按摩设备控制方法进行介绍。请一并参阅图2,图2是本申请实施例公开的一种按摩设备控制方法的流程示意图。如图2所示,该按摩设备控制方法可以包括以下步骤:Based on the massage device control system shown in FIG. 1 , the massage device control method disclosed in the embodiments of the present application will be introduced below. Please refer to FIG. 2 together. FIG. 2 is a schematic flowchart of a method for controlling a massage device disclosed in an embodiment of the present application. As shown in Figure 2, the massage device control method may include the following steps:

210、移动终端检测针对按摩设备的控制APP的用户操作。210. The mobile terminal detects a user operation of the control APP for the massage device.

在本申请实施例中,针对按摩设备的控制APP的用户操作可以用于启动或者退出控制APP,还可以用于触发移动终端向按摩设备发送工作指令,以使按摩设备可以响应移动终端发送的工作指令执行相应的操作。In the embodiment of the present application, the user operation on the control APP of the massage device can be used to start or exit the control APP, and can also be used to trigger the mobile terminal to send a work instruction to the massage device, so that the massage device can respond to the work sent by the mobile terminal. The instruction performs the corresponding action.

可选的,针对按摩设备的控制APP的用户操作可以包括但不限于:Optionally, user operations for the control APP of the massage device may include, but are not limited to:

1.启动控制APP的用户操作,例如点击控制APP的应用图标,通过语音指令触发启动控制APP。移动终端可以响应于启动控制APP的用户操作,将控制APP至移动终端的前台运行。在控制APP处于移动终端的前台运行期间,移动终端的屏幕显示控制APP的交互界面。在控制APP处于移动终端的前台运行期间,移动终端的屏幕显示控制APP的交互界面。控制APP的交互界面可以提供多种不同的交互控件,例如虚拟按键、文本输入框、可拖拽的进度条、虚拟旋钮等。示例性的,请一并参阅图3,图3是本申请实施例公开的一种按摩设备的控制APP的交互界面示例图。1. The user operation to start the control APP, for example, click the application icon of the control APP, and trigger the start of the control APP through a voice command. The mobile terminal may run the control APP to the foreground of the mobile terminal in response to a user operation for starting the control APP. When the control APP is running in the foreground of the mobile terminal, the screen of the mobile terminal displays the interactive interface of the control APP. When the control APP is running in the foreground of the mobile terminal, the screen of the mobile terminal displays the interactive interface of the control APP. The interactive interface for controlling the APP can provide a variety of different interactive controls, such as virtual buttons, text input boxes, draggable progress bars, virtual knobs, and so on. Exemplarily, please refer to FIG. 3 together. FIG. 3 is an example diagram of an interactive interface of a control APP of a massage device disclosed in an embodiment of the present application.

2.控制工作进度的用户操作,可以指对按摩设备执行按摩工作的启动、暂停或者结束进行控制的用户操作。控制APP的交互界面可以包括开始工作虚拟按键,暂停工作虚拟按键和结束工作虚拟按键中的一种或者多种虚拟按键。移动终端在检测到触发开始工作虚拟按键的用户操作时,可以向按摩设备发送开始工作指令,以启动按摩设备的按摩工作;在检测到触发暂停 工作虚拟按键的用户操作时,可以向按摩设备发送暂停工作指令,以暂停按摩设备的按摩工作;在检测到触发结束工作虚拟按键的用户操作时,可以向按摩设备发送结束工作指令,以结束按摩设备的按摩工作。可选的,开始工作虚拟按键及暂停工作虚拟按键也可以为同一虚拟按键,触发的时机不同可实现启动/暂停功能。示例性的,图3所示的控制APP的交互界面中,开始工作虚拟按键和暂停工作虚拟按键为同一虚拟按键301,控制APP的交互界面还包括结束工作虚拟按键302。2. The user operation to control the work progress may refer to the user operation to control the start, pause or end of the massage work performed by the massage equipment. The interactive interface for controlling the APP may include one or more virtual keys among the virtual keys for starting work, virtual keys for pausing work, and virtual keys for ending work. When the mobile terminal detects a user operation that triggers the virtual key to start working, it can send a start work instruction to the massage device to start the massage work of the massage device; when it detects a user operation that triggers the virtual key to pause work, it can send a message to the massage device. Pause the work instruction to suspend the massage work of the massage device; when detecting the user operation that triggers the virtual key to end the work, an end work instruction can be sent to the massage device to end the massage work of the massage device. Optionally, the virtual key for starting work and the virtual key for pausing work can also be the same virtual key, and the start/pause function can be realized at different trigger timings. Exemplarily, in the interactive interface for controlling the APP shown in FIG. 3 , the virtual key for starting work and the virtual key for pausing work are the same virtual key 301 , and the interactive interface for controlling the APP further includes a virtual key 302 for ending work.

3.调整工作参数的用户操作,可以指通过调整工作参数从而对按摩设备的工作状态进行调整的用户操作。控制APP的交互界面中可以包括用于显示工作参数的数值/大小的显示控件和用于调整工作参数的控件。用于调整工作参数的控件可以为虚拟按键、文本输入框、可拖拽进度条、虚拟旋钮等控件中的任意一种,用户可以对通过上述控件执行点击、字符输入、拖拽、旋转等操作。移动终端可以根据检测到的用户操作获取调整后的工作参数。移动终端可以通过显示控件显示调整后的工作参数,以供用户判断是否需要继续对工作参数进行调整。此外,移动终端可以根据调整后的工作参数生成工作状态调整指令,并向按摩设备发送工作状态调整指令,以将按摩设备的工作状态调整至与调整后的工作参数相匹配的工作状态。示例性的,图3所示的控制APP的交互界面提供了对按摩模式进行选择的虚拟按键303、对按摩档位调整的可拖拽进度条304,对发热温度进行调整的可拖拽进度条305,还提供了对运行时长进行调整的可拖拽图标306。3. The user operation of adjusting the working parameters may refer to the user operation of adjusting the working state of the massage equipment by adjusting the working parameters. The interactive interface of the control APP may include display controls for displaying the value/size of the working parameters and controls for adjusting the working parameters. The controls used to adjust the working parameters can be any of the virtual buttons, text input boxes, draggable progress bars, virtual knobs and other controls. Users can perform operations such as clicking, character input, dragging, and rotating through the above controls. . The mobile terminal can acquire the adjusted working parameters according to the detected user operation. The mobile terminal can display the adjusted working parameters through the display control, so that the user can judge whether it is necessary to continue to adjust the working parameters. In addition, the mobile terminal can generate a working state adjustment instruction according to the adjusted working parameters, and send the working state adjustment instruction to the massage device, so as to adjust the working state of the massage device to a working state matching the adjusted working parameters. Exemplarily, the interactive interface of the control APP shown in FIG. 3 provides a virtual button 303 for selecting a massage mode, a draggable progress bar 304 for adjusting the massage gear, and a draggable progress bar for adjusting the heating temperature. 305, a draggable icon 306 for adjusting the running duration is also provided.

4.退出控制APP的用户操作,可以指触发控制APP退出移动终端的前台运行的用户操作。例如,点击控制APP的交互界面中显示的返回键、点击用于返回移动终端操作系统主界面的虚拟按键,按压移动终端的实体按键以切换显示移动终端操作系统的主界面、滑动控制APP的交互界面以切换显示移动终端操作系统的主界面,或者滑动控制APP的交互界面以切换显示与控制APP不同的另一应用程序的交互界面等。移动终端可以响应于退出控制APP的用户操作,将控制APP切换至移动终端的后台运行,或者直接终止控制APP的运行。4. The user operation to exit the control APP may refer to a user operation that triggers the control APP to exit the foreground operation of the mobile terminal. For example, click the return button displayed in the interactive interface of the control APP, click the virtual button used to return to the main interface of the mobile terminal operating system, press the physical button of the mobile terminal to switch the display of the main interface of the mobile terminal operating system, and slide to control the interaction of the APP interface to switch to display the main interface of the mobile terminal operating system, or slide the interactive interface of the control APP to switch to display the interactive interface of another application different from the control APP, etc. In response to the user operation of exiting the control APP, the mobile terminal may switch the control APP to the background running of the mobile terminal, or directly terminate the running of the control APP.

220、移动终端在检测到退出控制APP的第一用户操作时,向按摩设备发送应用退出指令。220. When detecting the first user operation to exit the control APP, the mobile terminal sends an application exit instruction to the massage device.

在本申请实施例中,移动终端响应于第一用户操作,除了可以执行步骤220,还可以将控制APP切换至移动终端的后台运行,或者直接终止控制APP的运行。In this embodiment of the present application, in response to the first user operation, the mobile terminal may, in addition to executing step 220, switch the control APP to the background running of the mobile terminal, or directly terminate the running of the control APP.

230、按摩设备在接收到应用退出指令时,继续以当前工作状态运行。230. When receiving the application exit instruction, the massage device continues to run in the current working state.

在本申请实施例中,按摩设备在接收到应用退出指令之前,可能正以某一工作状态运行。例如,在接收到应用退出指令时,按摩设备继续以当前工作状态运行可以指按摩设备继续以接收到应用退出指令之前的按摩模式、按摩档位、发热温度执行按摩操作。即,按摩设备不对当前工作状态进行调整,使得按摩设备的按摩工作不会被控制APP的退出打断,可以为用户提供更加完整、舒适的按摩体验。示例性的,若按摩设备在接收到应用退出指令之前,在舒缓模式下以8级的按摩档位进行按摩工作,那么在接收到应用退出指令之后,按摩设备将继续在舒缓模式下以8级的按摩档位进行按摩工作。In this embodiment of the present application, the massage device may be running in a certain working state before receiving the application exit instruction. For example, when an application exit instruction is received, continuing to run the massage device in the current working state may mean that the massage device continues to perform massage operations in the massage mode, massage gear, and heating temperature before receiving the application exit instruction. That is, the massage device does not adjust the current working state, so that the massage work of the massage device will not be interrupted by the exit of the control APP, which can provide users with a more complete and comfortable massage experience. Exemplarily, if the massage device performs massage work at a massage gear of level 8 in the soothing mode before receiving the application exit instruction, then after receiving the application exit instruction, the massage device will continue to operate at level 8 in the soothing mode. the massage stall for massage work.

作为一种可选的实施方式,移动终端在检测到第一用户操作时,向按摩设备发送的应用退出指令可以携带有按摩设备的运行时间信息。其中,运行时间信息可以包括但不限于:当前工作状态的预设运行时长、当前工作状态的已运行时长、当前工作状态的剩余运行时长中的一种或者多种时间信息。As an optional implementation manner, when the mobile terminal detects the operation of the first user, the application exit instruction sent to the massage device may carry running time information of the massage device. The running time information may include, but is not limited to, one or more types of time information among the preset running duration of the current working state, the running duration of the current working state, and the remaining running duration of the current working state.

其中,当前工作状态的预设运行时长可以由用户通过控制APP输入,也可以是预先与按摩模式绑定的。例如,用户可以通过控制APP将预设运行时长设置为10分钟;或者,若用户选择了舒缓模式的按摩模式,则预设运行时长默认为15分钟。The preset running duration of the current working state may be input by the user through the control APP, or may be pre-bound with the massage mode. For example, the user can set the preset running time to 10 minutes by controlling the APP; or, if the user selects the massage mode of the soothing mode, the preset running time is 15 minutes by default.

在按摩设备的按摩工作开始之后,移动终端可以记录按摩设备以当前工作状态运行的持续运行时长。示例性的,移动终端可以在检测到触发开始工作虚拟按键的用户操作时启动对持续运行时长的计时。当移动终端在检测到第一用户操作时,可以将当前统计到的持续运行时长确定为当前工作状态的已运行时长。After the massage work of the massage device starts, the mobile terminal can record the continuous running time of the massage device in the current working state. Exemplarily, the mobile terminal may start timing the continuous running duration when detecting a user operation that triggers the start-to-work virtual key. When the mobile terminal detects the first user operation, the currently counted continuous running duration may be determined as the running duration in the current working state.

移动终端可以对预设运行时长和持续运行时长相减以获得剩余运行时长,也可以在检测到触发开始工作虚拟按键的用户操作时根据预设运行时长进行倒计时,并在检测到第一用户操作时根据倒计时的结果确定剩余运行时长。按摩设备可以在接收到剩余运行时长时,输出按摩时长提示信息,以提示用户按摩工作可能结束。The mobile terminal can subtract the preset running duration and the continuous running duration to obtain the remaining running duration, or can count down according to the preset running duration when detecting the user operation that triggers the virtual key to start working, and detect the first user operation. The remaining running time is determined according to the result of the countdown. When receiving the remaining running time, the massage device can output the massage time length prompt information to remind the user that the massage work may end.

在本申请实施例中,按摩设备也可以对当前工作状态的持续运行时长进行统计。可选的,按摩设备可以从应用退出指令中获取移动终端发送的已运行时长和预设运行时长;按摩设备将已运行时长作为持续运行时长的起始时刻,在以当前工作状态运行的同时继续进行当前工作状态运行的持续运行时长的统计;以及,在按摩设备统计出的持续运行时长到达移动终端发送的预设运行时长时,按摩设备停止运行,结束按摩工作,使得按摩设备在控制APP退出之后,仍然可以按照预定的按摩时长完成按摩工作。In the embodiment of the present application, the massage device may also make statistics on the continuous running time of the current working state. Optionally, the massage device can obtain the running duration and the preset running duration sent by the mobile terminal from the application exit instruction; the massage device takes the running duration as the starting time of the continuous running duration, and continues to run while running in the current working state. Carry out statistics on the continuous running duration of the current working state; and, when the continuous running duration counted by the massage device reaches the preset running duration sent by the mobile terminal, the massage device stops running and ends the massage work, so that the massage device exits the control APP After that, the massage work can still be completed according to the scheduled massage time.

可选的,按摩设备还可以根据移动终端发送的已运行时长和预设运行时长确定当前工作状态的剩余运行时长;按摩设备可以在继续以当前工作状态运行的同时,以确定出的剩余运行时长为计时起点进行倒计时;在倒计时结束时,按摩设备结束按摩工作,从而也可以使得按摩设备在控制APP退出之后,仍然可以按照预定的按摩时长完成按摩工作。Optionally, the massage device can also determine the remaining running duration of the current working state according to the running duration and the preset running duration sent by the mobile terminal; the massage device can determine the remaining running duration while continuing to run in the current working state. A countdown is performed for the starting point of the timing; when the countdown ends, the massage device ends the massage work, so that the massage device can still complete the massage work according to the predetermined massage duration after the control APP exits.

作为另一种可选的实施方式,按摩设备在接收到应用退出指令时,可以输出应用退出提示信息,以提示用户控制APP已退出。应用退出提示信息可以为按摩设备通过语音播报的语音提示信息,也可以为按摩设备通过执行震动提示操作输出的震动提示信息。示例性的,震动提示操作可以为双震动提示,即按摩设备以预设的震动效果震动两次。在本申请实施例中,震动提示操作的具体形式不做限定,只要能够提供与按摩操作不同的震动体验,达到告知用户的效果即可。As another optional implementation manner, when receiving the application exit instruction, the massage device may output application exit prompt information to prompt the user that the control APP has exited. The application exit prompt information may be voice prompt information broadcast by the massage device through voice, or may be vibration prompt information output by the massage device by performing a vibration prompt operation. Exemplarily, the vibration prompt operation may be a double vibration prompt, that is, the massage device vibrates twice with a preset vibration effect. In the embodiment of the present application, the specific form of the vibration prompting operation is not limited, as long as a vibration experience different from that of the massage operation can be provided to achieve the effect of informing the user.

进一步可选的,若按摩设备输出的应用退出提示信息为震动提示信息,则按摩设备可以在响应于应用退出指令继续以当前工作状态运行之前,先暂停按摩操作,再执行震动提示操作;以及,震动提示操作执行完毕之后,再响应于应用退出指令继续以获取到应用退出指令时的工作状态运行。即,按摩设备先执行震动提示操作,延迟执行按摩操作,使得震动提示操作和按摩操作不交叉,用户可以有效地接收到震动提示信息。Further optionally, if the application exit prompt information output by the massage device is vibration prompt information, the massage device may suspend the massage operation before continuing to run in the current working state in response to the application exit instruction, and then execute the vibration prompt operation; and, After the vibration prompting operation is completed, it continues to run in response to the application exit instruction to obtain the working state when the application exit instruction is obtained. That is, the massage device performs the vibration prompt operation first, and delays the massage operation, so that the vibration prompt operation and the massage operation do not overlap, and the user can effectively receive the vibration prompt information.

更进一步可选的,按摩设备还可以在接收到应用退出指令时,先在第二预设时长内保持静默状态,再执行震动提示操作;在震动提示操作执行完毕之后,先在第三预设时长内保持静默状态,再响应于应用退出指令继续以获取到应用退出指令时的工作状态运行。其中,上述的第二预设时长和第三预设时长足够长,使得用户可以感受到按摩设备停止工作。第二预设时长和第三预设时长可以设定为相同的时长,例如设定为3s,也可以设定为不同的时长。也就是说,按摩设备可以在输出震动提示信息前/后的一定时长内保持静默,使得按摩工作的暂停、震动 提示信息的输出、按摩工作的恢复三者之间的接续存在一定间隔,可以将用户的注意力转移至按摩设备的工作上,使得用户可以更有效地接收到震动提示信息。Further optionally, when receiving the application exit instruction, the massage device can keep silent for the second preset time period, and then perform the vibration prompt operation; after the vibration prompt operation is completed, the third preset Keep silent for a long time, and then continue to run in response to the application exit instruction to obtain the working state when the application exit instruction is obtained. Wherein, the above-mentioned second preset duration and third preset duration are long enough so that the user can feel that the massage device stops working. The second preset duration and the third preset duration may be set to the same duration, for example, 3s, or may be set to different durations. That is to say, the massage device can remain silent for a certain period of time before or after the output of the vibration prompt information, so that there is a certain interval between the pause of the massage work, the output of the vibration prompt information, and the recovery of the massage work. The user's attention is shifted to the work of the massage device, so that the user can receive the vibration prompt information more effectively.

在本申请实施例中,移动终端在检测到控制APP退出时向按摩设备发送应用退出指令。按摩设备响应于应用退出指令,继续以当前工作状态运行,使得按摩设备的按摩工作不会被控制APP的退出打断,可以为用户提供更加完整、舒适的按摩体验。此外,移动终端除了发送应用退出指令,还可以发送预设运行时长、已运行时长、剩余运行时长等运行时间信息,从而可以在控制APP退出之后,使得按摩设备自行进行运行时长统计和运行时长控制。In this embodiment of the present application, the mobile terminal sends an application exit instruction to the massage device when detecting that the control APP exits. In response to the application exit instruction, the massage device continues to run in the current working state, so that the massage work of the massage device will not be interrupted by the exit of the control APP, which can provide users with a more complete and comfortable massage experience. In addition, in addition to sending the application exit command, the mobile terminal can also send running time information such as the preset running duration, the running duration, the remaining running duration, etc., so that the massage device can perform running duration statistics and running duration control by itself after controlling the APP to exit. .

请一并参阅图4,图4是本申请实施例公开的另一种按摩设备控制方法的流程示意图。如图4所示,该方法包括以下步骤:Please also refer to FIG. 4 , which is a schematic flowchart of another method for controlling a massage device disclosed in an embodiment of the present application. As shown in Figure 4, the method includes the following steps:

401、移动终端检测针对按摩设备的控制APP的用户操作。401. The mobile terminal detects a user operation of a control APP for the massage device.

403、移动终端在检测到退出控制APP的第一用户操作时,向按摩设备发送应用退出指令。403. When detecting the first user operation to exit the control APP, the mobile terminal sends an application exit instruction to the massage device.

405、按摩设备在接收到应用退出指令时,继续以当前工作状态运行。405. When receiving the application exit instruction, the massage device continues to run in the current working state.

407、移动终端在检测到控制APP再次恢复至移动终端的前台运行时,向按摩设备发送应答指令。407. The mobile terminal sends a response instruction to the massage device when detecting that the control APP has resumed running in the foreground of the mobile terminal again.

在本申请实施例中,用户在退出控制APP之后,可以通过点击控制APP的应用图标等启动控制APP的用户操作再次进入控制APP,移动终端将控制APP恢复至前台运行。In the embodiment of the present application, after the user exits the control APP, the user can start the control APP by clicking on the application icon of the control APP, etc. to enter the control APP again, and the mobile terminal restores the control APP to the foreground operation.

409、按摩设备根据接收到的应答指令向移动终端返回应答响应信息。409. The massage device returns response response information to the mobile terminal according to the received response instruction.

在本申请实施例中,应答指令和应答相响应信息可以用于进行移动终端和按摩设备之间的握手操作。在控制APP退出之后的一段时间内,移动终端和按摩设备之间可能不存在数据传输,难以确认移动终端和按摩设备之间的通信连接是否通畅。因此,在用户再次进入控制APP时,移动终端可以先向按摩设备发送应答指令。若应答指令可以成功发送至按摩设备,则按摩设备可以执行步骤409,将应答响应信息发送至移动终端。若移动终端能够接收到应答响应信息,则移动终端和按摩设备之间的通信连接通畅,执行下述的步骤411。需要说明的是,移动终端和按摩设备之间可以执行不止一次握手操作,以进一步确认移动终端和按摩设备之间的通信连接通畅。In this embodiment of the present application, the response instruction and the response information corresponding to the response may be used to perform a handshake operation between the mobile terminal and the massage device. For a period of time after the control APP exits, there may be no data transmission between the mobile terminal and the massage device, and it is difficult to confirm whether the communication connection between the mobile terminal and the massage device is smooth. Therefore, when the user enters the control APP again, the mobile terminal can first send a response instruction to the massage device. If the response instruction can be successfully sent to the massage device, the massage device can execute step 409 to send the response response information to the mobile terminal. If the mobile terminal can receive the response response information, the communication connection between the mobile terminal and the massage device is smooth, and the following step 411 is executed. It should be noted that more than one handshake operation may be performed between the mobile terminal and the massage device to further confirm that the communication connection between the mobile terminal and the massage device is smooth.

411、移动终端在接收到应答响应信息时,向按摩设备发送请求指令。411. When receiving the response response information, the mobile terminal sends a request instruction to the massage device.

在本申请实施例中,请求指令用于请求获取按摩设备在当前工作状态下的工作信息。工作信息包括但不限于:按摩模式、按摩档位、发热温度等工作参数、以及当前工作状态的预设运行时长、已运行时长、剩余运行时长等运行时间信息。In the embodiment of the present application, the request instruction is used to request to obtain the working information of the massage device in the current working state. The working information includes, but is not limited to, working parameters such as massage mode, massage gear, and heating temperature, as well as running time information such as the preset running duration, elapsed running duration, and remaining running duration of the current working state.

此外,应答指令和请求指令可以为非工作状态调整指令,按摩设备在接收到应答指令或者请求指令时,可以不调整工作状态,继续以当前的工作状态运行。In addition, the response command and the request command may be non-working state adjustment commands. When the massage device receives the response command or the request command, it may not adjust the working state and continue to run in the current working state.

413、按摩设备根据请求指令获取在当前工作状态下的工作信息,并将工作信息发送至移动终端。413. The massage device acquires work information in the current work state according to the request instruction, and sends the work information to the mobile terminal.

415、移动终端在控制APP的交互界面中显示接收到的工作信息。415. The mobile terminal displays the received work information in the interactive interface of the control APP.

在本申请实施例中,当用户再次进入控制APP时,控制APP的交互界面可以为默认交互界面,默认交互界面中各个工作参数和运行时间信息与按摩设备的当前工作状态无关。示例性的,请一并参阅图5a,图5a是本申请实施例公开的一种控制APP的默认交互界面的示例图。如图5a所示,按摩档位和热敷温度均处于初始位置。当移动终端获取到按摩设备发送的工作 信息时,可以在控制APP的交互界面中显示工作信息。示例性的,请一并参阅图5b,图5b是本申请实施例公开的一种在控制APP的交互界面中显示工作信息的示例图。如图5b所示,用户可以通过控制APP的交互界面了解按摩设备的当前工作状态,以便于用户判断是否需要调整。需要说明的是,当用户再次进入控制APP时,图5a所示的默认交互界面并非必然显示的。当移动终端在足够短的时间内获取到按摩设备发送的工作信息,则用户在再次进入控制APP时,可以直接看到如图5b所示的包括工作信息的交互界面,可以便于用户了解按摩设备的工作状态。In the embodiment of the present application, when the user enters the control APP again, the interactive interface of the control APP may be the default interactive interface, and the various working parameters and running time information in the default interactive interface have nothing to do with the current working state of the massage device. Exemplarily, please refer to FIG. 5a together. FIG. 5a is an example diagram of a default interaction interface for controlling an APP disclosed in an embodiment of the present application. As shown in Figure 5a, both the massage gear and the heat compress temperature are at the initial position. When the mobile terminal acquires the work information sent by the massage device, the work information can be displayed in the interactive interface of the control APP. Exemplarily, please refer to FIG. 5b together. FIG. 5b is an example diagram of displaying work information in an interactive interface of a control APP disclosed in an embodiment of the present application. As shown in Fig. 5b, the user can know the current working state of the massage device by controlling the interactive interface of the APP, so as to facilitate the user to judge whether adjustment is required. It should be noted that when the user enters the control APP again, the default interactive interface shown in FIG. 5a is not necessarily displayed. When the mobile terminal obtains the work information sent by the massage device in a short enough time, when the user enters the control APP again, he can directly see the interactive interface including the work information as shown in Figure 5b, which is convenient for the user to understand the massage device. working status.

417、移动终端在检测到调整按摩设备的工作参数的第三用户操作时,根据第三用户操作获取调整后的工作参数,并根据调整后的工作参数生成工作状态调整指令,向按摩设备发送该工作状态调整指令。417. When the mobile terminal detects a third user operation that adjusts the working parameters of the massage device, the mobile terminal obtains the adjusted working parameters according to the third user operation, generates a working state adjustment instruction according to the adjusted working parameters, and sends the massage device. Work status adjustment instructions.

在本申请实施例中,移动终端可以在检测到控制APP再次恢复至前台运行时,对上述的第三用户操作进行检测。在检测到第三用户操作时,控制APP的交互界面可以为上述的默认交互界面,也可以是包括按摩设备的工作信息的交互界面,具体不做限定。In the embodiment of the present application, the mobile terminal may detect the above-mentioned third user operation when detecting that the control APP resumes running in the foreground again. When the third user operation is detected, the interaction interface of the control APP may be the above-mentioned default interaction interface, or may be an interaction interface including working information of the massage device, which is not specifically limited.

419、按摩设备从当前工作状态调整至与工作状态调整指令携带的工作参数相匹配的工作状态。419. The massage device is adjusted from the current working state to a working state matching the working parameters carried by the working state adjustment instruction.

在本申请实施例中,若用户对工作参数进行了调整,则按摩设备可以对按摩工作的工作状态进行调整,按摩设备不再保持获取到应用退出指令时的工作状态,而是切换至与工作状态调整指令携带的工作参数相匹配的工作状态。示例性的,用户启动控制APP,通过控制APP控制按摩设备正在舒缓模式下以8级的按摩档位进行按摩工作。在用户退出控制APP时,按摩设备继续保持在舒缓模式下以8级的按摩档位进行按摩工作。用户由于按摩档位过大/不足、按摩模式不合适等原因再次打开控制APP,在控制APP的交互界面中将按摩档位调整为9级,并且将热敷温度调整为低温,则移动终端可以生成并发送工作状态调整指令,使得按摩设备在舒缓模式下以9级力度执行按摩操作,并且以低温对应的温度发热,低温对应的温度可以预先设定。In the embodiment of the present application, if the user adjusts the working parameters, the massage device can adjust the working state of the massage work. The working parameters carried by the state adjustment instruction match the working state. Exemplarily, the user starts the control APP, and controls the massage device to perform massage work at an 8-level massage gear in the soothing mode through the control APP. When the user exits the control APP, the massage device continues to perform massage work at the 8-level massage gear in the soothing mode. The user opens the control APP again due to reasons such as excessive or insufficient massage gears, inappropriate massage modes, etc., and adjusts the massage gears to level 9 in the interactive interface of the control APP, and adjusts the hot compress temperature to low temperature, then the mobile terminal can generate And send the working state adjustment instruction, so that the massage device performs the massage operation with 9 levels of strength in the soothing mode, and generates heat at the temperature corresponding to the low temperature, and the temperature corresponding to the low temperature can be preset.

在本申请实施例中,调整按摩设备的工作参数的第三用户操作可以为对按摩档位进行调整的按摩档位调整操作。移动终端可以根据按摩档位调整操作获取到调整后的按摩档位,并将调整后的按摩档位发送至按摩设备,以使按摩设备从当前按摩档位切换至调整后的按摩档位。其中,若调整后的按摩档位与当前按摩档位不相邻,则按摩设备可以从当前按摩档位直接切换至调整后的按摩档位,也可以从当前按摩档位逐档调节至调整后的按摩档位,具体不做限定。In the embodiment of the present application, the third user operation for adjusting the working parameters of the massage device may be a massage gear adjustment operation for adjusting the massage gear. The mobile terminal can acquire the adjusted massage gear according to the massage gear adjustment operation, and send the adjusted massage gear to the massage device, so that the massage device switches from the current massage gear to the adjusted massage gear. Among them, if the adjusted massage gear is not adjacent to the current massage gear, the massage equipment can be directly switched from the current massage gear to the adjusted massage gear, or can be adjusted from the current massage gear to the adjusted massage gear step by step. There are no specific restrictions on the massage stalls.

请一并参阅图6,图6是图4所示的流程图中步骤417的一种具体实施方式的流程示意图。如图6所示,可以包括以下步骤:Please also refer to FIG. 6 . FIG. 6 is a schematic flowchart of a specific implementation manner of step 417 in the flowchart shown in FIG. 4 . As shown in Figure 6, the following steps may be included:

601、在检测到按摩档位调整操作时,根据按摩档位调整操作获取到调整后的按摩档位。601. When a massage gear adjustment operation is detected, obtain an adjusted massage gear according to the massage gear adjustment operation.

603、判断当前工作状态的剩余运行时长是否小于第一预设时长;若是,执行步骤605;若否,执行步骤607。603. Determine whether the remaining running duration of the current working state is less than the first preset duration; if so, go to step 605; if not, go to step 607.

在本申请实施例中,第一预设时长可以由用户设定,也可以由按摩设备的厂商预先设定,具体不做限定。例如,第一预设时长可以设定为3分钟、2分钟。当剩余运行时长小于第一预设时长时,按摩操作即将结束。In the embodiment of the present application, the first preset duration may be set by the user, or may be preset by the manufacturer of the massage device, which is not specifically limited. For example, the first preset duration may be set to 3 minutes or 2 minutes. When the remaining running time is less than the first preset time, the massage operation is about to end.

605、判断调整后的按摩档位是否小于按摩设备的当前档位;若是,执行步骤607;若否, 执行步骤609。605. Determine whether the adjusted massage gear is smaller than the current gear of the massage device; if so, go to step 607; if not, go to step 609.

607、根据调整后的按摩档位生成按摩档位调整指令。607. Generate a massage gear adjustment instruction according to the adjusted massage gear.

在本申请实施例中,移动终端在按摩设备即将结束工作(剩余运行时长小于第一预设时长)时,响应指示减档的按摩档位调整操作生成按摩档位调整指令,并向按摩设备发送按摩档位调整指令,使得按摩设备从当前按摩档位切换至更小的按摩档位。In the embodiment of the present application, when the massage device is about to end its operation (the remaining running time is less than the first preset time), the mobile terminal generates a massage gear adjustment instruction in response to the massage gear adjustment operation indicating the downshift, and sends the instruction to the massage device. The massage gear adjustment command makes the massage device switch from the current massage gear to a smaller massage gear.

作为一种可选的实施方式,移动终端在执行上述的步骤605判断出调整后的按摩档位大于按摩设备的当前档位时,也可以不生成按摩档位调整指令。即,移动终端只响应指示减档的按摩档位调整操作生成按摩档位调整指令,使得按摩设备在按摩操作即将结束时只能减档,以减少用户不适。As an optional implementation manner, when the mobile terminal performs the above step 605 and determines that the adjusted massage gear is greater than the current gear of the massage device, it may not generate a massage gear adjustment instruction. That is, the mobile terminal only generates a massage gear adjustment instruction in response to a massage gear adjustment operation instructing to downshift, so that the massage device can only downshift when the massage operation is about to end, so as to reduce user discomfort.

609、根据预设的调档时间间隔及调整后的按摩档位生成按摩档位调整指令。609. Generate a massage gear adjustment instruction according to the preset gear shifting time interval and the adjusted massage gear.

在本申请实施例中,预设的调档时间间隔可以大于当前的调档时间间隔。即,在按摩设备即将结束工作(剩余运行时长小于第一预设时长)时,按摩设备可以按照的按摩档位调整指令包括的调档时间间隔从当前按摩档位切换至调整后的按摩档位,从而可以增大从当前按摩档位切换至调整后的按摩档位的时间间隔,放缓按摩档位的调整速度,也可以减少用户不适。示例性的,假设当前的调档时间间隔为1秒,预设的调档时间间隔可以为2秒。若按摩设备在剩余运行时长小于第一预设时长时接收到将按摩档位调整至9级的工作状态调整指令,则先保持当前8级的按摩档位,在接收到工作状态调整指令的2秒后再将按摩档位从8级调整至9级。In this embodiment of the present application, the preset gear shifting time interval may be greater than the current gear shifting time interval. That is, when the massage device is about to end its operation (the remaining running time is less than the first preset time), the massage device can switch from the current massage gear to the adjusted massage gear according to the gear shifting time interval included in the massage gear adjustment instruction. , so that the time interval for switching from the current massage gear to the adjusted massage gear can be increased, the adjustment speed of the massage gear can be slowed down, and user discomfort can also be reduced. Exemplarily, assuming that the current gear shifting time interval is 1 second, the preset shifting time interval may be 2 seconds. If the massage device receives a working state adjustment instruction to adjust the massage gear to level 9 when the remaining running time is less than the first preset duration, it will first maintain the current massage gear of level 8, and after receiving the working state adjustment instruction 2 After a few seconds, adjust the massage gear from level 8 to level 9.

也就是说,如图6所示,在本申请实施例中,移动终端可以在当前工作状态的剩余运行时长小于第一预设时长时,按照预设的档位调整规则及调整后的档位生成按摩档位调整指令。That is to say, as shown in FIG. 6 , in this embodiment of the present application, when the remaining running duration of the current working state is less than the first preset duration, the mobile terminal may adjust the gear according to the preset gear adjustment rule and the adjusted gear. Generate massage gear adjustment instructions.

其中,上述预设的档位调整规则可以包括:若调整后的按摩档位小于按摩设备的当前档位,则根据调整后的按摩档位生成按摩档位调整指令;或者,若调整后的按摩档位大于按摩设备的当前档位,则不生成按摩档位调整指令;或者,若调整后的按摩档位大于按摩设备的当前按摩档位,则根据预设的调档时间间隔及调整后的按摩档位生成按摩档位调整指令。其中,预设的调档时间间隔可以大于当前的调档时间间隔。The above preset gear adjustment rules may include: if the adjusted massage gear is smaller than the current gear of the massage device, generating a massage gear adjustment instruction according to the adjusted massage gear; or, if the adjusted massage gear is If the gear is greater than the current gear of the massage equipment, no massage gear adjustment instruction will be generated; or, if the adjusted massage gear is greater than the current massage gear of the massage equipment, the preset gear adjustment time interval and the adjusted The massage gear generates a massage gear adjustment instruction. The preset gear shifting time interval may be greater than the current gear shifting time interval.

此外,在图4所示的按摩设备控制方法中,按摩设备执行步骤403发送的应用退出指令虽然可以携带有移动终端记录的当前工作状态的已运行时长,使得按摩设备可以继续利用已运行时长进行计时,但按摩设备和移动终端的时钟有可能存在不同步的情况,导致计时出错。因此,在本申请实施例中,当再次检测到控制APP被打开时,除了可以执行上述的步骤407~步骤409以确认通信连接是否通畅以外,移动终端还可以向按摩设备发送校验时钟指令,以供按摩设备根据校验时钟指令对移动终端和按摩设备进行时间同步。In addition, in the massage device control method shown in FIG. 4 , although the massage device executes the application exit instruction sent in step 403, it may carry the running duration of the current working state recorded by the mobile terminal, so that the massage device can continue to use the running duration to carry out the operation. However, the clocks of the massage device and the mobile terminal may be out of sync, resulting in timing errors. Therefore, in this embodiment of the present application, when it is detected again that the control APP is opened, in addition to performing the above steps 407 to 409 to confirm whether the communication connection is smooth, the mobile terminal can also send a check clock instruction to the massage device, For the massage equipment to perform time synchronization on the mobile terminal and the massage equipment according to the check clock instruction.

作为一种可选的实施方式,校验时钟指令可以携带有移动终端的时钟信息,移动终端的时钟信息是经过联网校准的;按摩设备可以在接收到校验时钟指令之后,将按摩设备的时钟信息调整为移动终端的时钟信息,即以移动终端的时钟信息为基准对按摩设备的时钟信息进行校正,使得不具有联网功能的按摩设备也可以保持计时准确。As an optional implementation, the check clock instruction may carry the clock information of the mobile terminal, and the clock information of the mobile terminal is calibrated through the network; after receiving the check clock instruction, the massage device may The information is adjusted to the clock information of the mobile terminal, that is, the clock information of the massage equipment is corrected based on the clock information of the mobile terminal, so that the massage equipment without the networking function can keep the timing accurate.

作为另一种可选的实施方式,校验时钟指令还可以携带有移动终端记录的按摩设备以当前工作状态运行的持续运行时长。以及,移动终端向按摩设备发送的应用退出指令中可以包括当前工作状态的预设运行时长。按摩设备可以在接收到应用退出指令以及校验时钟指令之后,根据从校验时钟指令中获取到的持续运行时长和从应用退出指令中获取到的预设运行时长计算 当前工作装填的剩余运行时长。即,以移动终端记录的持续运行时长为准,确定以当前工作状态运行的剩余运行时长,使得按摩设备可以更加准确地按照预定的按摩时长结束按摩操作。As another optional implementation manner, the instruction for checking the clock may also carry the continuous running duration of the massage device running in the current working state recorded by the mobile terminal. And, the application exit instruction sent by the mobile terminal to the massage device may include the preset running duration of the current working state. After receiving the application exit command and the check clock command, the massage device can calculate the remaining running time of the current work load according to the continuous running time obtained from the check clock command and the preset running time obtained from the application exit command. . That is, the remaining running duration in the current working state is determined based on the continuous running duration recorded by the mobile terminal, so that the massage device can more accurately end the massage operation according to the predetermined massage duration.

或者,在本申请实施例中,当再次检测到控制APP被打开时,移动终端除了可以向按摩设备发送校验时钟指令之外,还可以直接向移动终端发送移动终端记录的当前工作状态的剩余运行时长。Or, in this embodiment of the present application, when it is detected again that the control APP is opened, the mobile terminal can not only send the check clock instruction to the massage device, but also directly send the remaining current working state recorded by the mobile terminal to the mobile terminal. Run time.

可选的,按摩设备在根据校验时钟指令确定上述的剩余运行时长,或者在接收到移动终端发送的剩余运行时长之后,可以输出按摩时长提示信息,以提示用户按摩操作即将结束。按摩时长提示信息可以为通过语音播报的语音提示信息,也可以为按摩设备通过执行震动提示操作输出的震动提示信息,具体不做限定。Optionally, after determining the remaining running time according to the check clock instruction, or after receiving the remaining running time sent by the mobile terminal, the massage device can output massage duration prompt information to remind the user that the massage operation is about to end. The massage duration prompt information may be voice prompt information broadcast by voice, or vibration prompt information output by the massage device by performing a vibration prompt operation, which is not specifically limited.

请一并参阅图7,图7是本申请实施例公开的一种移动终端的结构示意图。如图7所示,该移动终端700可以包括:Please refer to FIG. 7 together. FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application. As shown in FIG. 7, the mobile terminal 700 may include:

检测单元710,用于检测退出控制应用程序的第一用户操作;a detection unit 710, configured to detect a first user operation of exiting the control application;

发送单元720,用于响应于第一用户操作,向按摩设备发送应用退出指令,以指示按摩设备继续以当前工作状态运行。The sending unit 720 is configured to send an application exit instruction to the massage device in response to the first user operation, so as to instruct the massage device to continue to run in the current working state.

作为一种可选的实施方式,检测单元710,还可以用于检测触发结束工作虚拟按键的第二用户操作;结束工作虚拟按键显示于控制应用程序的交互界面;As an optional implementation manner, the detection unit 710 can also be used to detect a second user operation that triggers the end work virtual key; the end work virtual key is displayed on the interactive interface of the control application;

发送单元720,还可以用于响应于第二用户操作,向按摩设备发送结束工作指令,以指示按摩设备结束按摩工作。The sending unit 720 may also be configured to send an end work instruction to the massage device in response to the second user operation, so as to instruct the massage device to end the massage work.

作为一种可选的实施方式,移动终端700还可以包括:控制单元。As an optional implementation manner, the mobile terminal 700 may further include: a control unit.

控制单元,用于响应于第一用户操作,控制按摩设备的控制应用程序在移动终端的后台运行;或者,响应于第一用户操作,控制按摩设备的控制应用程序终止运行。The control unit is configured to, in response to the first user operation, run a control application program for controlling the massage device in the background of the mobile terminal; or, in response to the first user operation, terminate the operation of the control application program for controlling the massage device.

作为一种可选的实施方式,检测单元710,还可以用于在控制单元控制按摩设备的控制应用程序退出之后,检测控制应用程序是否再次恢复至移动终端的前台运行;As an optional implementation manner, the detection unit 710 can also be used to detect whether the control application program is restored to the foreground of the mobile terminal again after the control application program controlling the massage device by the control unit exits;

上述的发送单元720,可以包括:获取模块和发送模块;The above-mentioned sending unit 720 may include: an obtaining module and a sending module;

获取模块,用于在检测单元710检测到控制应用程序再次恢复至移动终端的前台运行,且检测到调整按摩设备的工作参数的第三用户操作时,根据第三用户操作获取调整后的工作参数;并根据调整后的工作参数生成工作状态调整指令;The acquisition module is used to acquire the adjusted operating parameters according to the third user operation when the detection unit 710 detects that the control application program is restored to the foreground operation of the mobile terminal again and detects the third user operation for adjusting the operating parameters of the massage device ; And generate working state adjustment instructions according to the adjusted working parameters;

发送模块,用于向按摩设备发送工作状态调整指令,以指示按摩设备从当前工作状态调整至与调整后的工作参数相匹配的工作状态。The sending module is used for sending a working state adjustment instruction to the massage device, so as to instruct the massage device to adjust from the current working state to the working state matching the adjusted working parameters.

作为一种可选的实施方式,工作参数可以包括:按摩档位;工作状态调整指令可以包括按摩档位调整指令;As an optional implementation manner, the working parameters may include: a massage gear; the working state adjustment instruction may include a massage gear adjustment instruction;

获取模块,具体可以用于在按摩设备的当前工作状态的剩余运行时长小于第一预设时长时,按照预设的档位调整规则及调整后的档位生成按摩档位调整指令;The acquiring module can be specifically configured to generate a massage gear adjustment instruction according to the preset gear adjustment rule and the adjusted gear when the remaining running duration of the current working state of the massage device is less than the first preset duration;

进一步可选的,上述的获取模块,具体可以用于在调整后的按摩档位小于按摩设备的当前按摩档位时,则根据调整后的按摩档位生成按摩档位调整指令;或者,在调整后的按摩档位大于按摩设备的当前按摩档位时,根据预设的调档时间间隔及调整后的按摩档位生成按摩档位调整指令。Further optionally, the above acquisition module can be specifically used to generate a massage gear adjustment instruction according to the adjusted massage gear when the adjusted massage gear is smaller than the current massage gear of the massage device; When the subsequent massage gear is greater than the current massage gear of the massage device, a massage gear adjustment instruction is generated according to the preset gear shifting time interval and the adjusted massage gear.

上述的发送模块,具体可以用于向按摩设备发送按摩档位调整指令,以指示按摩设备从当 前按摩档位切换至调整后的按摩档位;或者,可以用于向按摩设备发送按摩档位调整指令,以指示按摩设备按照预设的调档时间间隔从当前按摩档位切换至调整后的按摩档位。The above-mentioned sending module can specifically be used to send a massage gear adjustment instruction to the massage device to instruct the massage device to switch from the current massage gear to the adjusted massage gear; or, can be used to send the massage gear adjustment to the massage device instruction to instruct the massage device to switch from the current massage gear to the adjusted massage gear according to the preset gear shifting time interval.

作为一种可选的实施方式,上述的发送单元720,还可以用于在检测单元710检测到控制应用程序再次恢复至移动终端的前台运行时,向按摩设备发送应答指令,以指示按摩设备在接收到应答指令时向移动终端返回应答响应信息。As an optional implementation manner, the above-mentioned sending unit 720 can also be configured to send a response instruction to the massage device to indicate that the massage device is in When the response command is received, the response response information is returned to the mobile terminal.

作为一种可选的实施方式,移动终端700还可以包括:接收单元和显示单元。As an optional implementation manner, the mobile terminal 700 may further include: a receiving unit and a display unit.

接收单元,可以用于在发送单元720发送应答指令之后接收按摩设备根据应答指令返回的应答响应信息。The receiving unit may be configured to receive the response response information returned by the massage device according to the response command after the sending unit 720 sends the response command.

上述的发送单元720,还可以用于在接收到应答响应信息时,向按摩设备发送请求指令;请求指令用于请求获取按摩设备在当前工作状态下运行的工作信息。The above-mentioned sending unit 720 can also be used to send a request instruction to the massage device when the response response information is received; the request instruction is used to request to obtain the working information of the massage device running in the current working state.

接收单元,还可以用于接收按摩设备根据请求指令返回的工作信息。The receiving unit can also be used to receive the work information returned by the massage device according to the request instruction.

显示单元,用于在控制应用程序的交互界面中显示工作信息。The display unit is used for displaying work information in the interactive interface of the control application.

作为一种可选的实施方式,上述的发送单元720响应于第一用户操作向按摩设备发送的应用退出指令可以携带有按摩设备当前工作状态的已运行时长和预设运行时长;发送单元720向按摩设备发送应用退出指令,以指示按摩设备以当前工作状态运行并统计持续运行时长,持续运行时长的起始时刻为已运行时长,并在持续运行时长达到预设运行时长时,停止运行。As an optional implementation manner, the application exit instruction sent by the sending unit 720 to the massage device in response to the first user operation may carry the running duration and the preset running duration of the current working state of the massage device; The massage device sends an application exit instruction to instruct the massage device to run in the current working state and count the continuous running time. The starting time of the continuous running time is the running time, and when the continuous running time reaches the preset running time, it stops running.

作为一种可选的实施方式,上述的发送单元720,还可以在检测单元710检测到第一用户操作且检测到控制应用程序再次恢复至移动终端的前台运行时,向按摩设备发送校验时钟指令,以根据校验时钟指令对移动终端和按摩设备进行时间同步。As an optional implementation manner, the above-mentioned sending unit 720 may also send a check clock to the massage device when the detection unit 710 detects the operation of the first user and detects that the control application program has resumed running in the foreground of the mobile terminal again instruction to perform time synchronization on the mobile terminal and the massage device according to the instruction of checking the clock.

进一步可选的,校验时钟指令携带有移动终端记录的当前工作状态的持续运行时长;发送单元720响应于第一用户操作向按摩设备发送的应用退出指令还可以携带有按摩设备在当前工作状态的预设运行时长;上述的发送单元720响应于第一用户操作发送应用退出指令之后,若检测到控制应用程序再次恢复至移动终端的前台运行时,向按摩设备发送校验时钟指令,可以指示按摩设备根据从校验时钟指令中获取到的持续运行时长和从应用退出指令中获取到的预设运行时长确定当前工作状态的剩余运行时长,并根据剩余运行时长输出按摩时长提示信息。Further optionally, the verification clock instruction carries the continuous running duration of the current working state recorded by the mobile terminal; the sending unit 720 can also carry the massage device in the current working state in response to the application exit instruction sent to the massage device by the first user operation. After the above-mentioned sending unit 720 sends the application exit instruction in response to the first user operation, if it detects that the control application program is restored to the foreground running of the mobile terminal again, it sends a check clock instruction to the massage device, which can indicate The massage device determines the remaining running duration of the current working state according to the continuous running duration obtained from the verification clock command and the preset running duration obtained from the application exit command, and outputs massage duration prompt information according to the remaining running duration.

或者,上述的发送单元720响应于第一用户操作发送应用退出指令之后,若检测到控制应用程序再次恢复至移动终端的前台运行时,也可以直接向按摩设备发送移动终端记录的当前工作状态的剩余运行时长,以供按摩设备输出按摩时长提示信息。Alternatively, after the above-mentioned sending unit 720 sends the application exit instruction in response to the first user operation, if it is detected that the control application program is restored to the foreground running of the mobile terminal again, it can also directly send the current working state recorded by the mobile terminal to the massage device. The remaining running time is used for the massage equipment to output the massage time prompt information.

在本申请实施例中,实施如图8所示的移动终端,可以在检测到按摩设备的控制APP退出时,控制按摩设备继续保持当前工作状态运行,使得按摩设备的按摩工作不会被控制APP的退出打断,可以为用户提供更加完整、舒适的按摩体验。In the embodiment of the present application, by implementing the mobile terminal as shown in FIG. 8 , when it is detected that the control APP of the massage device exits, the massage device can be controlled to keep running in the current working state, so that the massage work of the massage device will not be controlled by the APP. The exit interruption can provide users with a more complete and comfortable massage experience.

请一并参阅图8,图8是本申请实施例公开的一种按摩设备的结构示意图。如图8所示,该按摩设备800可以包括:Please refer to FIG. 8 together. FIG. 8 is a schematic structural diagram of a massage device disclosed in an embodiment of the present application. As shown in FIG. 8, the massage device 800 may include:

收发单元810,用于接收移动终端发送的指令;a transceiver unit 810, configured to receive an instruction sent by the mobile terminal;

控制单元820,用于在接收到移动终端发送的应用退出指令时,控制按摩设备继续以当前工作状态运行;应用退出指令为移动终端在检测到第一用户操作时触发的工作指令;第一用户操作为控制应用程序的用户操作,控制应用程序运行于移动终端。The control unit 820 is configured to control the massage device to continue to run in the current working state when receiving the application exit instruction sent by the mobile terminal; the application exit instruction is a work instruction triggered by the mobile terminal when detecting the operation of the first user; the first user The operation is a user operation of the control application, and the control application runs on the mobile terminal.

作为一种可选的实施方式,上述的控制单元820,还可以用于在接收到移动终端发送的结束工作指令时,控制按摩设备结束按摩工作;结束工作指令为移动终端在检测到第二用户操作时触发的工作指令;第二用户操作为触及结束工作虚拟按键的用户操作,结束工作虚拟按键显示于控制应用程序的交互界面。As an optional implementation manner, the above-mentioned control unit 820 can also be used to control the massage device to end the massage work when receiving the end work instruction sent by the mobile terminal; the end work instruction is that the mobile terminal detects the second user The work instruction triggered during the operation; the second user operation is a user operation of touching the end work virtual key, and the end work virtual key is displayed on the interactive interface of the control application program.

作为一种可选的实施方式,上述的控制单元820,还可以用于在接收到移动终端发送的工作状态调整指令时,控制按摩设备从当前工作状态调整至与调整后的工作参数相匹配的工作状态;As an optional implementation manner, the above-mentioned control unit 820 can also be used to control the massage device to adjust from the current working state to the one that matches the adjusted working parameters when receiving the working state adjustment instruction sent by the mobile terminal. working status;

工作状态调整指令由移动终端在检测到第三用户操作时触发,且携带有调整后的工作参数;第三用户操作为通过控制应用程序调整按摩设备的工作参数以获得调整后的工作参数的用户操作,控制应用程序根据第一用户操作退出后再次恢复至移动终端的前台运行。The working state adjustment instruction is triggered by the mobile terminal when it detects a third user operation, and carries the adjusted working parameters; the third user operation is a user who adjusts the working parameters of the massage device by controlling the application program to obtain the adjusted working parameters operation, control the application program to resume operation in the foreground of the mobile terminal after exiting according to the first user operation.

作为一种可选的实施方式,第三用户操作可以为调整按摩档位的按摩档位调整操作;工作状态调整指令包括按摩档位调整指令,按摩档位调整指令携带有调整后的按摩档位,是移动终端在按摩设备的当前工作状态的剩余运行时长小于第一预设时长时,按照预设的档位调整规则及调整后的档位生成的。As an optional embodiment, the third user operation may be a massage gear adjustment operation for adjusting the massage gear; the working state adjustment instruction includes a massage gear adjustment instruction, and the massage gear adjustment instruction carries the adjusted massage gear , is generated by the mobile terminal according to the preset gear adjustment rule and the adjusted gear when the remaining running duration of the current working state of the massage device is less than the first preset duration.

进一步可选的,上述预设的档位调整规则可以包括:若调整后的档位小于按摩设备的当前按摩档位,则根据调整后的按摩档位生成按摩档位调整指令;或者,若调整后的档位大于当前按摩档位,则不生成按摩档位调整指令。Further optionally, the above-mentioned preset gear adjustment rules may include: if the adjusted gear is smaller than the current massage gear of the massage device, generating a massage gear adjustment instruction according to the adjusted massage gear; If the next gear is greater than the current massage gear, the massage gear adjustment command will not be generated.

上述的控制单元820,还可以用于在接收到按摩档位调整指令时,控制按摩设备从当前按摩档位切换至调整后的按摩档位。The above-mentioned control unit 820 can also be used to control the massage device to switch from the current massage gear to the adjusted massage gear when receiving the massage gear adjustment instruction.

或者,上述预设的档位调整规则也可以包括:若调整后的按摩档位大于按摩设备的当前按摩档位,则根据预设的调档时间间隔及调整后的按摩档位生成按摩档位调整指令;Alternatively, the above preset gear adjustment rules may also include: if the adjusted massage gear is greater than the current massage gear of the massage device, generating a massage gear according to the preset gear shifting time interval and the adjusted massage gear adjustment instructions;

上述的控制单元820,还可以用于在接收到按摩档位调整指令时,控制按摩设备按照预设的调档时间间隔从当前按摩档位切换至调整后的按摩档位。The above-mentioned control unit 820 can also be used to control the massage device to switch from the current massage gear to the adjusted massage gear according to the preset gear shifting time interval when receiving the massage gear adjustment instruction.

作为一种可选的实施方式,收发单元810,还可以用于在接收到移动终端发送的应答指令时,向移动终端返回应答响应信息;应答指令为移动终端在检测到控制应用程序根据第一用户操作退出后再次恢复至移动终端的前台运行时触发的。As an optional implementation manner, the transceiver unit 810 may also be configured to return response response information to the mobile terminal when receiving the response command sent by the mobile terminal; Triggered when the user returns to the foreground of the mobile terminal after exiting the operation.

作为一种可选的实施方式,收发单元810,还可以用于在向移动终端返回应答响应信息之后,接收移动终端发送的请求指令;As an optional implementation manner, the transceiver unit 810 may also be configured to receive a request instruction sent by the mobile terminal after returning the response response information to the mobile terminal;

按摩设备800,还可以包括:获取单元;The massage device 800 may further include: an acquisition unit;

获取单元,用于在收发单元810接收到请求指令时,获取按摩设备在当前工作状态下运行的工作信息;请求指令为移动终端在接收到应答响应信息时发送的工作指令;The acquisition unit is used to acquire the work information of the massage device running under the current working state when the transceiver unit 810 receives the request instruction; the request instruction is the work instruction sent by the mobile terminal when receiving the response response information;

收发单元810,还可以用于向移动终端发送工作信息;工作信息用于在控制应用程序的交互界面中显示。The transceiver unit 810 can also be used to send work information to the mobile terminal; the work information is used to display in the interactive interface of the control application.

作为一种可选的实施方式,收发单元810,还可以用于从移动终端发送的应用退出指令中获取应用退出指令携带的按摩设备在当前工作状态的已运行时长和预设运行时长;As an optional implementation manner, the transceiver unit 810 can also be used to obtain, from the application exit instruction sent by the mobile terminal, the running duration and the preset running duration of the massage device carried by the application exit instruction in the current working state;

控制单元820,具体可以用于控制按摩设备以当前工作状态运行,并以已运行时长为计时起点对按摩设备以当前工作状态运行的持续运行时长进行统计;以及,在按摩设备统计出的持续运行时长到达预设运行时长时,控制按摩设备结束按摩工作。The control unit 820 can specifically be used to control the massage equipment to run in the current working state, and use the running time as the timing starting point to count the continuous running time of the massage equipment running in the current working state; When the duration reaches the preset running duration, control the massage equipment to end the massage work.

作为一种可选的实施方式,收发单元810,还可以用于接收移动终端发送的校验时钟指令;校验时钟指令为移动终端在检测到控制应用程序根据第一用户操作退出后再次恢复至移动终端的前台运行时触发的;As an optional implementation manner, the transceiver unit 810 can also be used to receive a check clock instruction sent by the mobile terminal; the check clock instruction is that the mobile terminal returns to Triggered when the mobile terminal is running in the foreground;

上述的控制单元820,还可以根据校验时钟指令对移动终端和按摩设备进行时间同步。The above-mentioned control unit 820 can also perform time synchronization on the mobile terminal and the massage device according to the instruction of checking the clock.

作为一种可选的实施方式,校验时钟指令可以携带有移动终端记录的当前工作状态的持续运行时长;As an optional implementation manner, the check clock instruction may carry the continuous running duration of the current working state recorded by the mobile terminal;

按摩设备800,还可以包括:确定单元;The massage device 800 may further include: a determining unit;

确定单元,用于根据从校验时钟指令中获取到的持续运行时长和从应用退出指令中获取到的预设运行时长确定当前工作状态的剩余运行时长;a determining unit, configured to determine the remaining running duration of the current working state according to the continuous running duration obtained from the check clock instruction and the preset running duration obtained from the application exit command;

作为另一种可选的实施方式,收发单元810,还可以用于接收移动终端发送的移动终端记录的当前工作状态的剩余运行时长;剩余运行时长是移动终端在检测到控制应用程序再次恢复至移动终端的前台运行时触发的;As another optional implementation manner, the transceiver unit 810 can also be used to receive the remaining running time of the current working state recorded by the mobile terminal and sent by the mobile terminal; the remaining running time is the time when the mobile terminal detects that the control application program is restored to Triggered when the mobile terminal is running in the foreground;

上述的控制单元820,还可以用于在确定单元确定出定当前工作状态的剩余运行时长时或者在收发单元810接收到当前工作状态的剩余运行时长时,根据剩余运行时长输出按摩时长提示信息。The above-mentioned control unit 820 can also be used to output massage duration prompt information according to the remaining running duration when the determining unit determines the remaining running duration of the current working state or when the transceiver unit 810 receives the remaining running duration of the current working state.

作为一种可选的实施方式,控制单元820,具体可以用于在接收到移动终端发送的应用退出指令之后,控制按摩设备暂停按摩工作并执行震动提示操作;以及,在震动提示操作执行完毕时,控制按摩设备继续以获取到应用退出指令时的工作状态运行。As an optional implementation manner, the control unit 820 may be specifically configured to, after receiving the application exit instruction sent by the mobile terminal, control the massage device to suspend the massage work and perform a vibration prompt operation; and, when the vibration prompt operation is completed , control the massage device to continue to run in the working state when the application exit instruction is obtained.

作为一种可选的实施方式,控制单元820,可以在控制按摩设备暂停按摩工作之后,以及在控制按摩设备执行震动提示操作之前,控制按摩设备在第二预设时长内保持静默状态;和/或,As an optional implementation manner, the control unit 820 may control the massage device to maintain a silent state for a second preset time period after controlling the massage device to suspend the massage operation, and before controlling the massage device to perform the vibration prompt operation; and/ or,

在震动提示操作执行完毕之后,以及在控制按摩设备以获取到应用退出指令时的工作状态恢复运行之前,控制按摩设备在第三预设时长内保持静默状态。After the vibration prompting operation is completed, and before the massage device is controlled to obtain the working state when the application exit instruction is resumed, the massage device is controlled to remain in a silent state for a third preset time period.

在本申请实施例中,实施如图8所示的按摩设备,可以在移动终端的控制APP退出之后,仍然继续以当前工作状态运行,继续保持当前工作状态运行,使得按摩设备的按摩工作不会被控制APP的退出打断,可以为用户提供更加完整、舒适的按摩体验。In the embodiment of the present application, when the massage device shown in FIG. 8 is implemented, after the control APP of the mobile terminal is exited, it can still continue to run in the current working state, and continue to operate in the current working state, so that the massage work of the massage device will not work. Interrupted by the exit of the control APP, it can provide users with a more complete and comfortable massage experience.

请一并参阅图9,图9是本申请实施例公开的另一种移动终端的结构示意图。如图9所示,移动终端900可以包括一个或多个如下部件:处理器910、与处理器910耦合的存储器920,以及与处理器910耦合的无线通信模块930。其中,存储器920可存储有一个或多个应用程序,一个或多个应用程序可以被配置为由一个或多个处理器910执行,一个或多个程序配置用于执行如上述各实施例中描述的模式选择方法。Please refer to FIG. 9 together. FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present application. As shown in FIG. 9 , the mobile terminal 900 may include one or more of the following components: a processor 910 , a memory 920 coupled with the processor 910 , and a wireless communication module 930 coupled with the processor 910 . Wherein, the memory 920 may store one or more application programs, one or more application programs may be configured to be executed by one or more processors 910, and one or more programs are configured to execute as described in the above embodiments mode selection method.

处理器910可以包括一个或者多个处理核。处理器910利用各种接口和线路连接整个移动终端900内的各个部分,通过运行或执行存储在存储器920内的指令、程序、代码集或指令集,以及调用存储在存储器920内的数据,执行移动终端900的各种功能和处理数据。可选地,处理器910可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器910可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中, CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器910中,单独通过一块通信芯片进行实现。Processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire mobile terminal 900, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 920, and calling the data stored in the memory 920. Various functions of the mobile terminal 900 and processing data. Optionally, the processor 910 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used for handling wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 910, and is implemented by a communication chip alone.

存储器920可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器920可用于存储指令、程序、代码、代码集或指令集。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储移动终端900在使用中所创建的数据等。The memory 920 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 920 may include a stored program area and a stored data area, wherein the stored program 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 foregoing method embodiments, and the like. The storage data area may also store data and the like created by the mobile terminal 900 in use.

无线通信模块930可以提供应用在移动终端900上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块930可以是集成至少一个通信处理模块的一个或多个器件。移动终端900通过无线通信模块930可与按摩设备建立通信连接,从而实现与按摩设备之间的数据传输。The wireless communication module 930 may provide applications on the mobile terminal 900 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 930 may be one or more devices integrating at least one communication processing module. The mobile terminal 900 can establish a communication connection with the massage device through the wireless communication module 930, so as to realize data transmission with the massage device.

可以理解地,移动终端900可包括比上述结构框图中更多或更少的结构元件,例如,包括电源、输入按键、摄像头、扬声器、屏幕、RF(Radio Frequency,射频)电路、传感器等,可在此不进行限定。It can be understood that the mobile terminal 900 may include more or less structural elements than those in the above-mentioned structural block diagram, for example, including a power supply, an input button, a camera, a speaker, a screen, an RF (Radio Frequency, radio frequency) circuit, a sensor, etc. It is not limited here.

请参阅图10,图10是本申请实施例公开的另一种按摩设备的结构示意图。如图10所示,按摩设备1000可以包括一个或多个如下部件:处理器1010、与处理器1010耦合的存储器1020、无线通信模块1030及按摩部件1040。其中,存储器1020可存储有一个或多个应用程序,一个或多个应用程序可以被配置为由一个或多个处理器1010执行,一个或多个程序配置用于执行如上述各实施例中描述的按摩设备的控制方法。Please refer to FIG. 10 , which is a schematic structural diagram of another massage device disclosed in an embodiment of the present application. As shown in FIG. 10 , massage device 1000 may include one or more of the following components: processor 1010 , memory 1020 coupled to processor 1010 , wireless communication module 1030 , and massage component 1040 . Wherein, the memory 1020 may store one or more application programs, one or more application programs may be configured to be executed by one or more processors 1010, and one or more programs are configured to execute as described in the above embodiments The control method of the massage equipment.

无线通信模块1030可以提供应用在按摩设备1000上的包括无线局域网、蓝牙等无线通信的解决方案。按摩设备1000通过无线通信模块1030可与移动终端建立通信连接,从而实现与移动终端之间的数据传输。The wireless communication module 1030 can provide a wireless communication solution applied on the massage device 1000 including wireless local area network, Bluetooth and the like. The massage device 1000 can establish a communication connection with the mobile terminal through the wireless communication module 1030, so as to realize data transmission with the mobile terminal.

按摩部件1040可以包括电极片、加热元件等元器件,按摩部件1040中的各个元器件可根据处理器1010传输的指令进行运行,并作用在用户的皮肤、关节等部位,产生按摩效果。The massaging component 1040 may include electrodes, heating elements and other components, and each component in the massaging component 1040 may operate according to the instructions transmitted by the processor 1010 and act on the user's skin, joints and other parts to generate massage effects.

可以理解地,按摩设备1000可包括比上述结构框图中更多或更少的结构元件,例如,还可包括电源、扬声器、输入按键等,在此不作限定。It can be understood that the massage device 1000 may include more or less structural elements than those in the above-mentioned structural block diagram, for example, may also include a power supply, a speaker, an input button, etc., which are not limited herein.

本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例中描述的方法。The embodiments of the present application disclose a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, the methods described in the foregoing embodiments are implemented.

本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的方法。The embodiments of the present application disclose a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the foregoing embodiments.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中, 该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), and the like.

如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the specific features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In the various embodiments of the present application, it should be understood that the size of the sequence numbers of the above-mentioned processes does not imply an inevitable sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be implemented in the present application. The implementation of the examples constitutes no limitation.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components displayed as units may or may not be object units, and may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the whole or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to cause a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute some or all of the steps of the above methods in the various embodiments of the present application.

以上对本申请实施例公开的一种按摩设备控制方法、系统、按摩设备及移动终端进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A massage device control method, system, massage device, and mobile terminal disclosed in the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The descriptions of the above embodiments are only Used to help understand the methodology and its core ideas of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiments and application scope. To sum up, the content of this specification should not be construed as a limitation to the present application.

Claims (35)

一种按摩设备控制方法,其特征在于,所述方法应用于移动终端;所述移动终端与所述按摩设备通信连接,所述方法包括:A method for controlling massage equipment, characterized in that the method is applied to a mobile terminal; the mobile terminal is communicatively connected to the massage equipment, and the method includes: 检测退出控制应用程序的第一用户操作;Detecting the first user operation to exit the control application; 响应于所述第一用户操作,向所述按摩设备发送应用退出指令,以指示所述按摩设备继续以当前工作状态运行。In response to the first user operation, an application exit instruction is sent to the massage device to instruct the massage device to continue running in the current working state. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises: 检测触发结束工作虚拟按键的第二用户操作,所述结束工作虚拟按键显示在所述控制应用程序的交互界面;Detecting a second user operation that triggers an end work virtual key, and the end work virtual key is displayed on the interactive interface of the control application; 响应于所述第二用户操作,向所述按摩设备发送结束工作指令,以指示所述按摩设备结束按摩工作。In response to the second user operation, an end work instruction is sent to the massage device to instruct the massage device to end the massage work. 根据权利要求1或2所述的方法,其特征在于,在所述检测退出控制应用程序的第一用户操作之后,所述方法还包括:The method according to claim 1 or 2, wherein after the detecting the first user operation of exiting the control application, the method further comprises: 响应于所述第一用户操作,控制所述控制应用程序切换到所述移动终端的后台运行。In response to the first user operation, the control application is controlled to switch to run in the background of the mobile terminal. 根据权利要求1或2所述的方法,其特征在于,在所述检测退出控制应用程序的第一用户操作之后,所述方法还包括:The method according to claim 1 or 2, wherein after the detecting the first user operation of exiting the control application, the method further comprises: 响应于所述第一用户操作,控制所述控制应用程序终止运行。In response to the first user operation, the control application is controlled to terminate running. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises: 当所述控制应用程序再次恢复至所述移动终端的前台运行时,若检测到调整所述按摩设备的工作参数的第三用户操作,则根据所述第三用户操作获取调整后的工作参数;When the control application program resumes to run in the foreground of the mobile terminal again, if a third user operation for adjusting the operating parameters of the massage device is detected, the adjusted operating parameters are obtained according to the third user operation; 根据所述调整后的工作参数生成工作状态调整指令,并向所述按摩设备发送所述工作状态调整指令,以指示所述按摩设备从所述当前工作状态调整至与所述调整后的工作参数相匹配的工作状态。A working state adjustment instruction is generated according to the adjusted working parameters, and the working state adjustment instruction is sent to the massage device to instruct the massage device to adjust from the current working state to the adjusted working parameter. matching working status. 根据权利要求5所述的方法,其特征在于,所述工作参数包括:按摩档位;所述根据所述调整后的工作参数生成工作状态调整指令,并向所述按摩设备发送所述工作状态调整指令,包括:The method according to claim 5, wherein the working parameters include: massage gears; generating a working state adjustment instruction according to the adjusted working parameters, and sending the working state to the massage device Adjustment instructions, including: 在所述当前工作状态的剩余运行时长小于第一预设时长时,按照预设的档位调整规则及调整后的档位生成按摩档位调整指令,并向所述按摩设备发送所述按摩档位调整指令。When the remaining running duration of the current working state is less than the first preset duration, a massage gear adjustment instruction is generated according to the preset gear adjustment rule and the adjusted gear, and the massage gear is sent to the massage device Bit adjustment command. 根据权利要求6所述的方法,其特征在于,所述按照预设的档位调整规则及调整后的档位生成按摩档位调整指令,并向所述按摩设备发送所述按摩档位调整指令,包括:The method according to claim 6, wherein the massage gear adjustment instruction is generated according to a preset gear adjustment rule and the adjusted gear, and the massage gear adjustment instruction is sent to the massage device ,include: 若调整后的按摩档位小于所述按摩设备的当前按摩档位,则根据所述调整后的按摩档位生成按摩档位调整指令,并向所述按摩设备发送所述按摩档位调整指令,以指示所述按摩设备从所述当前按摩档位切换至所述调整后的按摩档位。If the adjusted massage gear is smaller than the current massage gear of the massage device, a massage gear adjustment instruction is generated according to the adjusted massage gear, and the massage gear adjustment instruction is sent to the massage device, to instruct the massage device to switch from the current massage gear to the adjusted massage gear. 根据权利要求6所述的方法,其特征在于,所述按照预设的档位调整规则及调整后的档位生成按摩档位调整指令,并向所述按摩设备发送所述按摩档位调整指令,包括:The method according to claim 6, wherein the massage gear adjustment instruction is generated according to a preset gear adjustment rule and the adjusted gear, and the massage gear adjustment instruction is sent to the massage device ,include: 若调整后的按摩档位大于所述按摩设备的当前按摩档位,则根据预设的调档时间间隔及所述调整后的按摩档位生成按摩档位调整指令,并向所述按摩设备发送所述按摩档位调整指令,以指示所述按摩设备按照所述调档时间间隔从所述当前按摩档位切换至所述调整后的按摩档 位。If the adjusted massage gear is greater than the current massage gear of the massage device, a massage gear adjustment instruction is generated according to the preset gear shifting time interval and the adjusted massage gear, and sent to the massage device The massage gear adjustment instruction is used to instruct the massage device to switch from the current massage gear to the adjusted massage gear according to the gear shifting time interval. 根据权利要求1所述的方法,其特征在于,在控制所述控制应用程序退出之后,所述方法还包括:The method according to claim 1, wherein after controlling the control application to exit, the method further comprises: 在检测到所述控制应用程序再次恢复至所述移动终端的前台运行时,向所述按摩设备发送应答指令,以指示所述按摩设备在接收到所述应答指令时向所述移动终端返回应答响应信息。When it is detected that the control application program has resumed running in the foreground of the mobile terminal again, send a response instruction to the massage device to instruct the massage device to return a response to the mobile terminal when receiving the response instruction response information. 根据权利要求9所述的方法,其特征在于,在所述向所述按摩设备发送所述应答指令之后,所述方法还包括:The method according to claim 9, wherein after the sending the response instruction to the massage device, the method further comprises: 在接收到所述按摩设备发送的应答响应信息时,向所述按摩设备发送请求指令,以请求获取所述按摩设备在当前工作状态下运行的工作信息;When receiving the response response information sent by the massage device, send a request instruction to the massage device to request to obtain the working information of the massage device running under the current working state; 获取所述按摩设备发送的所述工作信息,并在所述控制应用程序的交互界面中显示所述工作信息。The work information sent by the massage device is acquired, and the work information is displayed in the interactive interface of the control application. 根据权利要求1所述的方法,其特征在于,所述应用退出指令携带有所述按摩设备在所述当前工作状态的已运行时长和预设运行时长;The method according to claim 1, wherein the application exit instruction carries the running duration and the preset running duration of the massage device in the current working state; 所述应用退出指令还用于指示所述按摩设备以所述当前工作状态运行并统计持续运行时长,所述持续运行时长的起始时刻为所述已运行时长,并在所述持续运行时长达到所述预设运行时长时,停止运行。The application exit instruction is also used to instruct the massage device to run in the current working state and count the continuous running duration. The starting time of the continuous running duration is the running duration, and when the continuous running duration reaches When the preset running time is long, stop running. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises: 在检测到所述控制应用程序再次恢复至所述移动终端的前台运行时,向所述按摩设备发送校验时钟指令,以根据所述校验时钟指令对所述移动终端和所述按摩设备进行时间同步。When it is detected that the control application program has resumed running in the foreground of the mobile terminal again, send a check clock instruction to the massage device, so as to perform a check on the mobile terminal and the massage device according to the check clock instruction time synchronization. 根据权利要求12所述的方法,其特征在于,所述校验时钟指令携带有所述移动终端记录的所述当前工作状态的持续运行时长;所述应用退出指令携带有所述按摩设备在所述当前工作状态的预设运行时长;The method according to claim 12, wherein the check clock instruction carries the continuous running duration of the current working state recorded by the mobile terminal; the application exit instruction carries the massage device in the The preset running time of the current working state; 以及,所述向所述按摩设备发送校验时钟指令,以根据所述校验时钟指令对所述移动终端和所述按摩设备进行时间同步,包括:And, the sending a check clock instruction to the massage device to perform time synchronization on the mobile terminal and the massage device according to the check clock instruction, including: 向所述按摩设备发送校验时钟指令,以指示所述按摩设备根据从所述校验时钟指令中获取到的所述持续运行时长和从所述应用退出指令中获取到的预设运行时长确定所述当前工作状态的剩余运行时长,并根据所述剩余运行时长输出按摩时长提示信息。Send a check clock instruction to the massage device to instruct the massage device to determine according to the continuous running duration obtained from the check clock command and the preset running duration obtained from the application exit command Remaining running time of the current working state, and outputting massage duration prompt information according to the remaining running time. 根据权利要求1所述的方法,其特征在于,在控制所述控制应用程序退出之后,所述方法还包括:The method according to claim 1, wherein after controlling the control application to exit, the method further comprises: 在检测到所述控制应用程序再次恢复至所述移动终端的前台运行时,向所述按摩设备发送所述移动终端记录的所述当前工作状态的剩余运行时长,以供所述按摩设备输出按摩时长提示信息。When it is detected that the control application program has resumed running in the foreground of the mobile terminal again, send the remaining running time of the current working state recorded by the mobile terminal to the massage device, so that the massage device can output massage Time reminder information. 一种按摩设备控制方法,其特征在于,所述方法应用于按摩设备;所述按摩设备与移动终端通信连接,所述方法包括:A method for controlling massage equipment, characterized in that the method is applied to massage equipment; the massage equipment is communicatively connected to a mobile terminal, and the method comprises: 在接收到所述移动终端发送的应用退出指令时,控制所述按摩设备继续以当前工作状态运行;所述应用退出指令为所述移动终端在检测到第一用户操作时触发的工作指令;所述第一用户操作为退出控制应用程序的用户操作,所述控制应用程序运行于所述移动终端。When receiving the application exit instruction sent by the mobile terminal, the massage device is controlled to continue to run in the current working state; the application exit instruction is a work instruction triggered by the mobile terminal when it detects the operation of the first user; The first user operation is a user operation of exiting a control application program, and the control application program runs on the mobile terminal. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises: 在接收到所述移动终端发送的结束工作指令时,控制所述按摩设备结束按摩工作;所述结束工作指令为所述移动终端在检测到第二用户操作时触发的工作指令;所述第二用户操作为触及结束工作虚拟按键的用户操作,所述结束工作虚拟按键显示于所述控制应用程序的交互界面。When receiving the end work instruction sent by the mobile terminal, the massage device is controlled to end the massage work; the end work instruction is a work instruction triggered by the mobile terminal when it detects the operation of the second user; the second The user operation is a user operation of touching a work end virtual key, and the work end virtual key is displayed on the interactive interface of the control application. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises: 在接收到所述移动终端发送的工作状态调整指令时,控制所述按摩设备从所述当前工作状态调整至与调整后的工作参数相匹配的工作状态;When receiving the working state adjustment instruction sent by the mobile terminal, control the massage device to adjust from the current working state to a working state that matches the adjusted working parameters; 其中,所述工作状态调整指令由所述移动终端在检测到第三用户操作时触发,且携带有所述调整后的工作参数;所述第三用户操作为通过所述控制应用程序调整所述按摩设备的工作参数以获得所述调整后的工作参数的用户操作,所述控制应用程序根据所述第一用户操作退出后再次恢复至所述移动终端的前台运行。Wherein, the working state adjustment instruction is triggered by the mobile terminal when detecting a third user operation, and carries the adjusted working parameter; the third user operation is to adjust the The operating parameters of the massage device are obtained from the user operation of the adjusted operating parameters, and the control application program returns to the foreground operation of the mobile terminal after exiting according to the first user operation. 根据权利要求17所述的方法,其特征在于,所述工作参数包括按摩档位;所述工作状态调整指令包括:按摩档位调整指令;所述按摩档位调整指令是所述移动终端在所述当前工作状态的剩余运行时长小于第一预设时长时,按照预设的档位调整规则及调整后的档位生成的。The method according to claim 17, wherein the working parameter comprises a massage gear; the working state adjustment instruction comprises: a massage gear adjustment instruction; the massage gear adjustment instruction is the location where the mobile terminal is located. When the remaining running duration of the current working state is less than the first preset duration, it is generated according to the preset gear adjustment rule and the adjusted gear. 根据权利要求18所述的方法,其特征在于,所述预设的档位调整规则包括:若调整后的档位小于所述按摩设备的当前按摩档位,则根据所述调整后的按摩档位生成按摩档位调整指令;The method according to claim 18, wherein the preset gear adjustment rule comprises: if the adjusted gear is smaller than the current massage gear of the massage device, then according to the adjusted massage gear Generate massage gear adjustment instructions; 以及,所述在接收到所述移动终端发送的工作状态调整指令时,控制所述按摩设备从所述当前工作状态调整至与调整后的工作参数相匹配的工作状态,包括:And, when receiving the working state adjustment instruction sent by the mobile terminal, controlling the massage device to adjust from the current working state to the working state that matches the adjusted working parameters, including: 在接收到所述移动终端发送的按摩档位调整指令时,控制所述按摩设备从所述当前按摩档位切换至所述调整后的按摩档位。When receiving the massage gear adjustment instruction sent by the mobile terminal, the massage device is controlled to switch from the current massage gear to the adjusted massage gear. 根据权利要求18所述的方法,其特征在于,所述预设的档位调整规则包括:若调整后的按摩档位大于所述按摩设备的当前按摩档位,则根据预设的调档时间间隔及所述调整后的按摩档位生成按摩档位调整指令;The method according to claim 18, wherein the preset gear adjustment rule comprises: if the adjusted massage gear is greater than the current massage gear of the massage device, then according to the preset gear adjustment time The interval and the adjusted massage gear generate a massage gear adjustment instruction; 以及,所述在接收到所述移动终端发送的工作状态调整指令时,控制所述按摩设备从所述当前工作状态调整至与调整后的工作参数相匹配的工作状态,包括:And, when receiving the working state adjustment instruction sent by the mobile terminal, controlling the massage device to adjust from the current working state to the working state that matches the adjusted working parameters, including: 在接收到所述移动终端发送的按摩档位调整指令时,控制所述按摩设备按照所述调档时间间隔从所述当前按摩档位切换至所述调整后的按摩档位。When receiving the massage gear adjustment instruction sent by the mobile terminal, the massage device is controlled to switch from the current massage gear to the adjusted massage gear according to the gear shifting time interval. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises: 在接收到所述移动终端发送的应答指令时,向所述移动终端返回应答响应信息;所述应答指令为所述移动终端在检测到所述控制应用程序根据所述第一用户操作退出后再次恢复至所述移动终端的前台运行时触发的。When receiving the response command sent by the mobile terminal, return response response information to the mobile terminal; the response command is for the mobile terminal to return to the mobile terminal after detecting that the control application program exits according to the first user operation Triggered when the mobile terminal is restored to the foreground running. 根据权利要求21所述的方法,其特征在于,在所述在接收到所述移动终端发送的应答指令时,向所述移动终端返回应答响应信息之后,所述方法还包括:The method according to claim 21, characterized in that, after returning the response response information to the mobile terminal when the response command sent by the mobile terminal is received, the method further comprises: 在接收到所述移动终端发送的请求指令时,获取所述按摩设备在所述当前工作状态下运行的工作信息;所述请求指令为所述移动终端在接收到所述应答响应信息时发送的工作指令;When receiving the request instruction sent by the mobile terminal, obtain the working information of the massage device running in the current working state; the request instruction is sent by the mobile terminal when receiving the response response information work orders; 向所述移动终端发送所述工作信息;所述工作信息用于在所述控制应用程序的交互界面中 显示。Send the work information to the mobile terminal; the work information is used for display in the interactive interface of the control application. 根据权利要求15所述的方法,其特征在于,所述应用退出指令携带有所述按摩设备在所述当前工作状态的已运行时长和预设运行时长;The method according to claim 15, wherein the application exit instruction carries the running duration and the preset running duration of the massage device in the current working state; 所述在接收到所述移动终端发送的应用退出指令时,控制所述按摩设备继续以当前工作状态运行,包括:When receiving the application exit instruction sent by the mobile terminal, controlling the massage device to continue to run in the current working state, including: 在接收到所述移动终端发送的应用退出指令时,控制所述按摩设备以所述当前工作状态运行并统计持续运行时长,所述持续运行时长的起始时刻为所述已运行时长,并在所述持续运行时长达到所述预设运行时长时,停止运行。When receiving the application exit instruction sent by the mobile terminal, control the massage device to run in the current working state and count the duration of continuous running, the starting time of the duration of continuous running is the running duration, and the When the continuous running duration reaches the preset running duration, the running is stopped. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises: 接收所述移动终端发送的校验时钟指令;所述校验时钟指令为所述移动终端在检测到所述控制应用程序根据所述第一用户操作退出后再次恢复至所述移动终端的前台运行时触发的;Receive a check clock instruction sent by the mobile terminal; the check clock instruction is that the mobile terminal returns to the foreground operation of the mobile terminal after detecting that the control application program exits according to the first user operation triggered when 根据所述校验时钟指令对所述移动终端和所述按摩设备进行时间同步。Time synchronization is performed on the mobile terminal and the massage device according to the check clock instruction. 根据权利要求24所述的方法,其特征在于,所述校验时钟指令携带有所述移动终端记录的所述当前工作状态的持续运行时长;所述应用退出指令携带有所述按摩设备在所述当前工作状态的预设运行时长;The method according to claim 24, wherein the check clock instruction carries the continuous running duration of the current working state recorded by the mobile terminal; the application exit instruction carries the massage device in the The preset running time of the current working state; 以及,所述根据所述校验时钟指令对所述移动终端和所述按摩设备进行时间同步,包括:And, performing time synchronization on the mobile terminal and the massage device according to the check clock instruction includes: 根据从所述校验时钟指令中获取到的所述持续运行时长和从所述应用退出指令中获取到的预设运行时长确定所述当前工作状态的剩余运行时长,并根据所述剩余运行时长输出按摩时长提示信息。Determine the remaining running duration of the current working state according to the continuous running duration acquired from the check clock instruction and the preset running duration acquired from the application exit instruction, and determine the remaining running duration according to the remaining running duration Output massage duration prompt information. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises: 接收所述移动终端发送的所述移动终端记录的所述当前工作状态的剩余运行时长;所述剩余运行时长是所述移动终端在检测到所述控制应用程序再次恢复至所述移动终端的前台运行时触发的;根据所述剩余运行时长输出按摩时长提示信息。Receive the remaining running time of the current working state recorded by the mobile terminal and sent by the mobile terminal; the remaining running time is the foreground of the mobile terminal when the mobile terminal detects that the control application program is restored to the mobile terminal again. Triggered during running; output massage duration prompt information according to the remaining running duration. 根据权利要求15所述的方法,其特征在于,在接收到所述移动终端发送的应用退出指令之后,以及在控制所述按摩设备继续以当前工作状态运行之前,所述方法还包括:The method according to claim 15, wherein after receiving the application exit instruction sent by the mobile terminal and before controlling the massage device to continue to run in the current working state, the method further comprises: 控制所述按摩设备暂停按摩工作并执行震动提示操作;Control the massage device to suspend the massage work and perform a vibration prompt operation; 以及,所述控制所述按摩设备继续以当前工作状态运行,包括:And, the controlling the massage device to continue to run in the current working state includes: 在所述震动提示操作执行完毕时,控制所述按摩设备继续以获取到所述应用退出指令时的工作状态运行。When the vibration prompting operation is completed, the massage device is controlled to continue to run in the working state when the application exit instruction is obtained. 根据权利要求27所述的方法,在所述控制所述按摩设备暂停按摩工作之后,以及在所述控制所述按摩设备执行震动提示操作之前,所述方法还包括:The method according to claim 27, after the controlling the massage device to suspend the massage work, and before the controlling the massage device to perform the vibration prompting operation, the method further comprises: 控制所述按摩设备在第二预设时长内保持静默状态;controlling the massage device to remain silent for a second preset time period; 和/或,在所述震动提示操作执行完毕之后,以及在所述控制所述按摩设备以获取到所述应用退出指令时的工作状态恢复运行之前,所述方法还包括:And/or, after the vibration prompting operation is completed, and before the working state when the massage device is controlled to obtain the application exit instruction is resumed, the method further includes: 控制所述按摩设备在第三预设时长内保持静默状态;controlling the massage device to remain silent within a third preset time period; 其中,所述静默状态为所述按摩设备不执行按摩工作时的状态。Wherein, the silent state is a state when the massage device does not perform massage work. 一种移动终端,其特征在于,包括:A mobile terminal, comprising: 检测单元,用于检测退出控制应用程序的第一用户操作;a detection unit for detecting a first user operation for exiting the control application; 发送单元,用于响应所述第一用户操作,向按摩设备发送应用退出指令,以指示所述按摩设备继续以当前工作状态运行。The sending unit is configured to send an application exit instruction to the massage device in response to the first user operation, so as to instruct the massage device to continue running in the current working state. 一种移动终端,其特征在于,包括:A mobile terminal, comprising: 存储有可执行程序代码的存储器;a memory in which executable program code is stored; 与所述存储器耦合的处理器;a processor coupled to the memory; 所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1-14任一项所述的方法。The processor invokes the executable program code stored in the memory to execute the method according to any one of claims 1-14. 一种按摩设备,其特征在于,包括:A massage device, characterized in that it includes: 控制单元,用于在接收到移动终端发送的应用退出指令时,控制所述按摩设备继续以当前工作状态运行;所述应用退出指令为所述移动终端在检测到第一用户操作时触发的工作指令;所述第一用户操作为退出控制应用程序的用户操作,所述控制应用程序运行于所述移动终端。a control unit, configured to control the massage device to continue to run in the current working state when receiving the application exit instruction sent by the mobile terminal; the application exit instruction is a work triggered by the mobile terminal when it detects the operation of the first user instruction; the first user operation is a user operation of exiting a control application program, and the control application program runs on the mobile terminal. 一种按摩设备,其特征在于,包括:A massage device, characterized in that it includes: 存储有可执行程序代码的存储器;a memory in which executable program code is stored; 与所述存储器耦合的处理器;a processor coupled to the memory; 所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求15-28任一项所述的方法。The processor invokes the executable program code stored in the memory to execute the method according to any one of claims 15-28. 一种按摩设备控制系统,其特征在于,包括:按摩设备和移动终端;所述按摩设备和所述移动终端通信连接;A massage device control system, characterized in that it includes: a massage device and a mobile terminal; the massage device and the mobile terminal are communicatively connected; 所述移动终端,用于检测退出控制应用程序的第一用户操作;以及,响应所述第一用户操作,向所述按摩设备发送应用退出指令;the mobile terminal, configured to detect a first user operation to exit the control application; and, in response to the first user operation, send an application exit instruction to the massage device; 所述按摩设备,用于在接收到所述应用退出指令时,控制所述按摩设备继续以当前工作状态运行。The massage device is configured to control the massage device to continue to run in the current working state when receiving the application exit instruction. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-14任一所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1-14 is implemented. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求15-28任一所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 15-28 is implemented.
PCT/CN2021/076140 2020-07-10 2021-02-09 Massage device control method and system, massage device, and mobile terminal Ceased WO2022007404A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010664947.8 2020-07-10
CN202010664947.8A CN111988463B (en) 2020-07-10 2020-07-10 Massage device control method, massage device control system, massage device, mobile terminal, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2022007404A1 true WO2022007404A1 (en) 2022-01-13

Family

ID=73439156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076140 Ceased WO2022007404A1 (en) 2020-07-10 2021-02-09 Massage device control method and system, massage device, and mobile terminal

Country Status (2)

Country Link
CN (1) CN111988463B (en)
WO (1) WO2022007404A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945035A (en) * 2022-07-26 2022-08-26 深圳市西昊智能家具有限公司 Control method and device of intelligent chair, computer equipment and storage medium
CN116489416A (en) * 2023-04-03 2023-07-25 北京达佳互联信息技术有限公司 Data processing method, device, server, terminal and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988463B (en) * 2020-07-10 2021-10-19 未来穿戴技术有限公司 Massage device control method, massage device control system, massage device, mobile terminal, and computer-readable storage medium
CN112987623A (en) * 2021-04-01 2021-06-18 上海荣泰健康科技股份有限公司 Low-power consumption massage chair control system, standby method and awakening method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106292392A (en) * 2015-05-19 2017-01-04 深圳市博电电子技术有限公司 The electric energy control system of intelligent closestool and method
CN108259665A (en) * 2017-12-29 2018-07-06 苏州车萝卜汽车电子科技有限公司 Interior interaction display methods and mobile communication terminal
CN108320223A (en) * 2018-04-11 2018-07-24 陈成 Shared device systems, method based on Internet of Things remote control and shared air cleaner equipment
US20190272018A1 (en) * 2015-02-13 2019-09-05 Samsung Electronics Co., Ltd. Method and apparatus for reducing power consumption based on use pattern of user
CN110250785A (en) * 2019-06-05 2019-09-20 云南中商正晓农业科技有限公司 A kind of wisdom formula wheeled chair or bed shared system and business model
CN111988463A (en) * 2020-07-10 2020-11-24 未来穿戴技术有限公司 Massage equipment control method and system, massage equipment and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981791B (en) * 2011-09-05 2015-09-23 联想(北京)有限公司 A kind of control method of electronic device works and device
US9473883B2 (en) * 2014-05-31 2016-10-18 Apple Inc. Location service authorization and indication
CN108200278A (en) * 2017-12-28 2018-06-22 维沃移动通信有限公司 Application running state control method and mobile terminal
CN109782851A (en) * 2019-01-23 2019-05-21 努比亚技术有限公司 Working mode adjustment method, wearable device and computer-readable storage medium
CN110022525A (en) * 2019-03-04 2019-07-16 广东小天才科技有限公司 Shutdown control method and system and intelligent terminal
CN210205316U (en) * 2019-04-01 2020-03-31 河南蜗跑电子科技有限公司 Intelligent massage device suitable for sports equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190272018A1 (en) * 2015-02-13 2019-09-05 Samsung Electronics Co., Ltd. Method and apparatus for reducing power consumption based on use pattern of user
CN106292392A (en) * 2015-05-19 2017-01-04 深圳市博电电子技术有限公司 The electric energy control system of intelligent closestool and method
CN108259665A (en) * 2017-12-29 2018-07-06 苏州车萝卜汽车电子科技有限公司 Interior interaction display methods and mobile communication terminal
CN108320223A (en) * 2018-04-11 2018-07-24 陈成 Shared device systems, method based on Internet of Things remote control and shared air cleaner equipment
CN110250785A (en) * 2019-06-05 2019-09-20 云南中商正晓农业科技有限公司 A kind of wisdom formula wheeled chair or bed shared system and business model
CN111988463A (en) * 2020-07-10 2020-11-24 未来穿戴技术有限公司 Massage equipment control method and system, massage equipment and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945035A (en) * 2022-07-26 2022-08-26 深圳市西昊智能家具有限公司 Control method and device of intelligent chair, computer equipment and storage medium
CN114945035B (en) * 2022-07-26 2022-11-18 深圳市西昊智能家具有限公司 Control method and device of intelligent chair, computer equipment and storage medium
CN116489416A (en) * 2023-04-03 2023-07-25 北京达佳互联信息技术有限公司 Data processing method, device, server, terminal and storage medium

Also Published As

Publication number Publication date
CN111988463B (en) 2021-10-19
CN111988463A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2022007404A1 (en) Massage device control method and system, massage device, and mobile terminal
EP3011426B1 (en) Privacy mode for always-on voice-activated information assistant
CN103929835B (en) Control method, the device and system of ringing alarm clock
CN103576834B (en) Electricity-saving control method and the electronic equipment for supporting electricity-saving control method
US10362259B2 (en) Portable device, display apparatus, display system, and method for controlling power of display apparatus thereof
WO2019024750A1 (en) Video communications method and apparatus, terminal, and computer readable storage medium
KR20160144024A (en) Method and device for turning on air conditioner
CN106569411B (en) Intelligent cooking utensil reminding method and device
WO2023241009A1 (en) Screen projection method, apparatus and system, device, and storage medium
CN111973980A (en) Virtual pet control method, mobile device and computer storage medium
WO2024032144A1 (en) Device control method and apparatus, and wearable device and storage medium
WO2015176446A1 (en) Method for sending configuration information, configuring and synchronizing functions, and mobile terminal and system thereof
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
CN103984559B (en) timing method and device
CN108037669B (en) Method and device for controlling a coffee machine
CN106937162A (en) Audio and video playing control method and device
US10561942B2 (en) Metronome for competitive gaming headset
CN106096230B (en) A kind of based reminding method and wearable device
CN113893123A (en) Massage data processing method and device, electronic equipment and storage medium
CN117796942B (en) Toothbrush control method, device, toothbrush and storage medium
WO2018045882A1 (en) Method and system for controlling soft operational key of application of intelligent terminal
CN112354084A (en) Massage pulse output control method and device, massage equipment and storage medium
US10789925B2 (en) Method and system for timed event evaluation
CN107623792A (en) Method and device for controlling a massage chair
WO2024104081A1 (en) Wallpaper display method and apparatus, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21837131

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21837131

Country of ref document: EP

Kind code of ref document: A1