Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a massage equipment control method and system, a massage equipment and a mobile terminal, which can reduce the influence of quitting of a control application program on the normal massage work of the massage equipment. The following are detailed below.
First, referring to fig. 1, fig. 1 is an application scenario diagram of a massage apparatus 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. The massage device 10 and the mobile terminal 20 may establish a communication connection, and may specifically communicate through a Wireless communication manner, such as bluetooth, a mobile cellular data network, Wi-Fi (Wireless Fidelity), infrared, and the like, which is not limited specifically.
The massage device 10 may be a neck massage device worn on the neck of the user, a face massage device worn on the head of the user, an eye massage device, or the like, or may be a massage chair, a hand-held massage device, or the like, and is not particularly limited. The massage device 10 may perform a massage job after being activated. The massage apparatus 10 may be in different operating states based on the difference in the numerical values of one or more operating parameters, such as massage mode, massage gear, heating temperature, etc., used when the massage apparatus 10 performs a massage operation.
Different massage devices 10 may provide a variety of different massage modes. For example, the massage mode of the neck massager may include a soothing mode, a vitality mode, an intelligence mode, and the like, and the massage mode of the face massager may include a cleaning mode, a essence introduction mode, a pulling mode, and the like. Further, the massage device 10 may also provide different massage gears. For example, the massage device may provide 1-9 levels of massage gears, the higher the level of massage gears, the stronger the user's feeling. Further, the massage device 10 can also generate heat through a built-in heating device to provide a hot compress function for the user. The massage apparatus 10 may control the heating device such that the heating temperature is constant at a certain temperature value or the heating temperature is changed within a preset temperature change range.
The mobile terminal 20 may be an electronic device such as a smart phone, a smart tablet, a remote controller, and the like. The mobile terminal 20 may be loaded with a control application program (hereinafter, referred to as a control APP) of the massage apparatus 10, and the user may operate the control APP to control the massage apparatus through the control APP.
A massage apparatus control method disclosed in an embodiment of the present application will be described below based on a massage apparatus control system as shown in fig. 1. Referring to fig. 2, fig. 2 is a schematic flow chart of a control method of a massage apparatus according to an embodiment of the present application. As shown in fig. 2, the massage apparatus control method may include the steps of:
210. the mobile terminal detects a user operation of a control APP for the massage device.
In the embodiment of the application, the user operation of the control APP for the massage device may be used to start or quit the control APP, and may also be used to trigger the mobile terminal to send a work instruction to the massage device, so that the massage device may respond to the work instruction sent by the mobile terminal to execute a corresponding operation.
Optionally, the user operation of the control APP for the massage device may include, but is not limited to:
1. and starting user operation of the control APP, for example, clicking an application icon of the control APP, and triggering the start control APP through a voice instruction. The mobile terminal can respond to the user operation of starting the control APP, and the control APP is operated to the foreground of the mobile terminal. And during the period that the control APP is in the foreground operation of the mobile terminal, the screen of the mobile terminal displays an interactive interface of the control APP. And during the period that the control APP is in the foreground operation of the mobile terminal, the screen of the mobile terminal displays an interactive interface of the control APP. The interactive interface controlling the APP may provide a variety of different interactive controls, such as virtual buttons, text entry boxes, draggable progress bars, virtual knobs, and so forth. For example, please refer to fig. 3 together, and fig. 3 is an exemplary diagram of an interactive interface of a control APP of a massage apparatus according to an embodiment of the present application.
2. The user operation for controlling the progress of the work may refer to a user operation for controlling the start, pause, or end of the massage work performed by the massage apparatus. The interactive interface for controlling the APP can comprise one or more of a start working virtual key, a pause working virtual key and an end working virtual key. When detecting the user operation of triggering the virtual key for starting working, the mobile terminal can send a working starting instruction to the massage equipment so as to start the massage work of the massage equipment; when the user operation of triggering the virtual button for work pause is detected, a work pause instruction can be sent to the massage equipment so as to pause the massage work of the massage equipment; when the user operation of triggering the end work virtual key is detected, an end work instruction can be sent to the massage device to end the massage work of the massage device. Optionally, the start-working virtual key and the pause-working virtual key may be the same virtual key, and the start/pause function may be implemented at different triggering times. For example, in the interactive interface for controlling APP shown in fig. 3, the virtual key for starting to work and the virtual key for suspending to work are the same virtual key 301, and the interactive interface for controlling APP further includes a virtual key for ending to work 302.
3. The user operation for adjusting the working parameters may be a user operation for adjusting the working state of the massage apparatus by adjusting the working parameters. Display controls for displaying the values/sizes of the operating parameters and controls for adjusting the operating parameters may be included in the interactive interface for controlling the APP. The control for adjusting the working parameters can be any one of virtual keys, a text input box, a draggable progress bar, a virtual knob and other controls, and a user can perform operations such as clicking, character input, dragging, rotating and the like on the controls. The mobile terminal can obtain 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 a user can judge whether the working parameters need to be adjusted continuously. In addition, the mobile terminal can generate a working state adjusting instruction according to the adjusted working parameters and send the working state adjusting instruction to the massage equipment so as to adjust the working state of the massage equipment to a working state matched with the adjusted working parameters. For example, the interactive interface for controlling APP shown in fig. 3 provides a virtual key 303 for selecting a massage mode, a draggable progress bar 304 for adjusting a massage gear, a draggable progress bar 305 for adjusting a heating temperature, and a draggable icon 306 for adjusting an operation duration.
4. The user operation of quitting controlling the APP can refer to the user operation of triggering and controlling the APP to quit the foreground running of the mobile terminal. For example, clicking a return key displayed in the interactive interface of the control APP, clicking a virtual key for returning to the main interface of the mobile terminal operating system, pressing an entity key of the mobile terminal to switch and display the main interface of the mobile terminal operating system, sliding the interactive interface of the control APP to switch and display the main interface of the mobile terminal operating system, or sliding the interactive interface of the control APP to switch and display an interactive interface of another application program different from the control APP, etc. The mobile terminal can respond to the user operation of quitting the control APP, and the control APP is switched to the background operation of the mobile terminal or the operation of the control APP is directly stopped.
220. And when detecting the first user operation of quitting the control APP, the mobile terminal sends an application quitting instruction to the massage equipment.
In this embodiment of the application, the mobile terminal, in response to the first user operation, may switch the control APP to the background operation of the mobile terminal or directly terminate the operation of the control APP, in addition to performing step 220.
230. And when the massage equipment receives the application exit instruction, the massage equipment continues to operate in the current working state.
In the embodiment of the present application, the massage apparatus may be operating in a certain operating state before receiving the application quit instruction. For example, upon receiving the application exit instruction, the massage apparatus continuing to operate in the current operating state may refer to the massage apparatus continuing to perform a massage operation in the massage mode, the massage gear, and the heating temperature before the application exit instruction is received. Namely, the massage equipment does not adjust the current working state, so that the massage work of the massage equipment can not be interrupted by the quitting of the control APP, and more complete and comfortable massage experience can be provided for the user. For example, if the massage device performs the massage operation in the 8-step massage shift position in the comforting mode before receiving the application quit instruction, the massage device will continue to perform the massage operation in the 8-step massage shift position in the comforting mode after receiving the application quit instruction.
As an optional implementation manner, when the mobile terminal detects the first user operation, the application quitting instruction sent to the massage device may carry the running time information of the massage device. The runtime information may include, but is not limited to: and one or more time information of the preset operation time length of the current working state, the operated time length of the current working state and the residual operation time length of the current working state.
The preset operation duration of the current working state can be input by a user through controlling the APP, and can also be bound with the massage mode in advance. For example, the user may set the preset operation time to 10 minutes by controlling the APP; or, if the user selects the massage mode of the relaxing mode, the preset operation time is defaulted to 15 minutes.
After the massage operation of the massage apparatus is started, the mobile terminal may record the duration of the continuous operation of the massage apparatus in the current operation state. For example, the mobile terminal may initiate the timing of the duration of the continuous operation upon detecting a user operation that triggers the start of operation of the virtual key. When the mobile terminal detects the first user operation, the currently counted continuous operation duration may be determined as the operation duration of the current working state.
The mobile terminal can subtract the preset running time length from the continuous running time length to obtain the remaining running time length, can count down according to the preset running time length when detecting the user operation of triggering the virtual key to start working, and can determine the remaining running time length according to the counting down result when detecting the first user operation. The massage device can output massage duration prompt information when receiving the residual running duration so as to prompt the user that the massage work is probably finished.
In the embodiment of the application, the massage equipment can also count the continuous operation time of the current working state. Optionally, the massage device may obtain the running time and the preset running time sent by the mobile terminal from the application quitting instruction; the massage equipment takes the running time as the starting time of the continuous running time, and continues to count the continuous running time running in the current working state while running in the current working state; and when the continuous operation time counted by the massage equipment reaches the preset operation time sent by the mobile terminal, the massage equipment stops operating, and the massage operation is finished, so that the massage equipment can still finish the massage operation according to the preset massage time after the control APP exits.
Optionally, the massage device may further determine the remaining operation duration of the current working state according to the already-operated duration and the preset operation duration sent by the mobile terminal; the massage equipment can count down by taking the determined residual running time as a timing starting point while continuing to run in the current working state; when the countdown is finished, the massage equipment finishes the massage work, so that the massage equipment can still finish the massage work according to the preset massage duration after the APP is controlled to exit.
As another optional implementation manner, when receiving the application exit instruction, the massage device may output application exit prompt information to prompt the user to control that the APP has exited. The application quitting prompt message can be a voice prompt message broadcasted by the massage device through voice, and can also be a vibration prompt message output by the massage device through executing vibration prompt operation. For example, the vibration indication operation may be a double vibration indication, that is, the massage apparatus 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 the vibration experience different from the massage operation can be provided, and the effect of informing the user is achieved.
Further optionally, if the application quitting prompt information output by the massage device is vibration prompt information, the massage device may suspend the massage operation before continuing to operate in the current working state in response to the application quitting instruction, and then execute the vibration prompt operation; and after the vibration prompt operation is finished, responding to the application quitting instruction to continue to obtain the working state operation when the application quitting instruction is obtained. That is, the massage apparatus performs the vibration prompt operation first, and delays performing the massage operation, so that the vibration prompt operation and the massage operation do not intersect, and the user can effectively receive the vibration prompt information.
Further optionally, when receiving the application quitting instruction, the massage device may first keep a silent state within a second preset time period, and then execute a vibration prompt operation; after the vibration prompt operation is finished, the silent state is kept within a third preset time, and then the application quitting instruction is responded to continue to obtain the working state when the application quitting instruction is obtained to run. The second preset time and the third preset time are long enough to make the user feel that the massage device stops working. The second preset time period and the third preset time period may be set to the same time period, for example, to 3s, or may be set to different time periods. That is, the massage device can keep silent for a certain time before/after outputting the vibration prompt message, so that a certain interval exists among the suspension of the massage work, the output of the vibration prompt message and the recovery of the massage work, the attention of the user can be transferred to the work of the massage device, and the user can more effectively receive the vibration prompt message.
In the embodiment of the application, the mobile terminal sends the application quitting instruction to the massage equipment when detecting that the control APP quits. The massage equipment responds to the application exit instruction and continues to operate in the current working state, so that the massage work of the massage equipment cannot be interrupted by the exit of the control APP, and more complete and comfortable massage experience can be provided for a user. In addition, the mobile terminal can send running time information such as preset running time, residual running time and the like besides sending an application quitting instruction, so that the running time statistics and running time control can be automatically carried out on the massage equipment after the APP is controlled to quit.
Referring to fig. 4, fig. 4 is a schematic flow chart of another massage apparatus control method disclosed in the embodiment of the present application. As shown in fig. 4, the method comprises the steps of:
401. the mobile terminal detects a user operation of a control APP for the massage device.
403. And when detecting the first user operation of quitting the control APP, the mobile terminal sends an application quitting instruction to the massage equipment.
405. And when the massage equipment receives the application exit instruction, the massage equipment continues to operate in the current working state.
407. And when detecting that the control APP is restored to the foreground operation of the mobile terminal again, the mobile terminal sends a response instruction to the massage equipment.
In the embodiment of the application, after the user quits the control APP, the user operation of starting the control APP by clicking the application icon of the control APP can enter the control APP again, and the mobile terminal recovers the control APP to the foreground for operation.
409. And the massage equipment returns response information to the mobile terminal according to the received response instruction.
In the embodiment of the application, the response instruction and the response information can be used for performing the handshake operation between the mobile terminal and the massage device. In 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 may send a response instruction to the massage device first. If the response command can be successfully sent to the massage device, the massage device may execute step 409 to send a response message to the mobile terminal. If the mobile terminal can receive the response message, 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. And when receiving the response information, the mobile terminal sends a request instruction to the massage equipment.
In the embodiment of the application, the request instruction is used for requesting to acquire the working information of the massage equipment in the current working state. The working information includes, but is not limited to: working parameters such as a massage mode, a massage gear, a heating temperature and the like, and running time information such as preset running time, running time and residual running time of the current working state.
In addition, the response instruction and the request instruction may be non-working state adjustment instructions, and the massage device may continue to operate in the current working state without adjusting the working state when receiving the response instruction or the request instruction.
413. The massage equipment acquires the working information in the current working state according to the request instruction and sends the working information to the mobile terminal.
415. And the mobile terminal displays the received working information in an interactive interface of the control APP.
In the embodiment of the application, when the user enters the control APP again, the interactive interface of the control APP may be a default interactive interface, and each working parameter and running time information in the default interactive interface are unrelated to the current working state of the massage device. For example, please refer to fig. 5a together, and fig. 5a is an exemplary diagram of a default interactive interface for controlling an APP according to an embodiment of the present application. As shown in FIG. 5a, the massage position and the fomentation temperature are both in the initial position. When the mobile terminal obtains the working information sent by the massage equipment, the working information can be displayed in an interactive interface of the control APP. For example, please refer to fig. 5b together, and fig. 5b is an exemplary diagram of displaying the working information in the interactive interface for controlling the APP disclosed in the embodiment of the present application. As shown in fig. 5b, the user can know the current working state of the massage device through the interactive interface of the control APP, so that the user can conveniently judge whether to adjust. It should be noted that the default interactive interface shown in fig. 5a is not necessarily displayed when the user enters the control APP again. When the mobile terminal acquires the working information sent by the massage device within a short enough time, the user can directly see the interactive interface including the working information as shown in fig. 5b when entering the control APP again, so that the user can know the working state of the massage device conveniently.
417. And when detecting a third user operation for adjusting the working parameters of the massage equipment, the mobile terminal acquires the adjusted working parameters according to the third user operation, generates a working state adjusting instruction according to the adjusted working parameters, and sends the working state adjusting instruction to the massage equipment.
In this embodiment of the application, the mobile terminal may detect the third user operation when detecting that the control APP is restored to the foreground operation again. When the third user operation is detected, the interactive interface for controlling the APP may be the default interactive interface, or may be an interactive interface including the work information of the massage device, which is not limited specifically.
419. And the massage equipment is adjusted from the current working state to the working state matched with the working parameters carried by the working state adjusting instruction.
In the embodiment of the application, if the user adjusts the working parameters, the massage device may adjust the working state of the massage operation, and the massage device does not keep the working state when the application exit instruction is obtained, but switches to the working state matched with the working parameters carried by the working state adjustment instruction. Illustratively, the user starts the control APP, and the massage equipment is controlled by the control APP to carry out massage work at 8 levels of massage gears in a relaxing mode. When the user quits controlling the APP, the massage equipment is kept in the relieving mode to carry out massage work in 8-level massage gears. The user opens control APP again because of reasons such as massage gear is too big/not enough, massage mode is improper, with massage gear adjustment for 9 grades in control APP's interactive interface to adjust the hot compress temperature to the low temperature, then mobile terminal can generate and send operating condition adjustment instruction, makes massage equipment execute massage operation with 9 grades of power degrees under the mode of releiving, and generates heat with the temperature that the low temperature corresponds, and the temperature that the low temperature corresponds can preset.
In an embodiment of the present application, the third user operation of adjusting the operating parameters of the massage apparatus may be a massage gear adjusting operation of adjusting a massage gear. The mobile terminal can acquire the adjusted massage gear according to the massage gear adjusting operation and send the adjusted massage gear to the massage equipment, so that the massage equipment is switched to the adjusted massage gear from the current massage gear. If the adjusted massage gear is not adjacent to the current massage gear, the massage device can be directly switched to the adjusted massage gear from the current massage gear, and can also be adjusted to the adjusted massage gear from the current massage gear one by one, and the method is not limited specifically.
Referring to fig. 6, fig. 6 is a flowchart illustrating an embodiment of step 417 in the flowchart shown in fig. 4. As shown in fig. 6, the following steps may be included:
601. and when the massage gear adjusting operation is detected, acquiring the adjusted massage gear according to the massage gear adjusting operation.
603. Judging whether the remaining operation time length of the current working state is less than a first preset time length or not; if yes, go to step 605; if not, go to step 607.
In this embodiment of the application, the first preset time period may be set by a user, or may be preset by a manufacturer of the massage device, which is not limited specifically. For example, the first preset time period may be set to 3 minutes, 2 minutes. When the remaining operation time is shorter than the first preset time, the massage operation is about to be finished.
605. Judging whether the adjusted massage gear is smaller than the current gear of the massage equipment or not; if yes, go to step 607; if not, go to step 609.
607. And generating a massage gear adjusting instruction according to the adjusted massage gear.
In the embodiment of the application, when the massage equipment is about to finish working (the remaining running time is less than the first preset time), the mobile terminal responds to the massage gear adjustment operation indicating the gear reduction to generate a massage gear adjustment instruction, and sends the massage gear adjustment instruction to the massage equipment, so that the massage equipment is switched from the current massage gear to a smaller massage gear.
As an optional implementation manner, when the mobile terminal performs step 605 and determines that the adjusted massage gear is greater than the current gear of the massage device, the mobile terminal may not generate the massage gear adjustment instruction. That is, the mobile terminal generates the massage gear adjustment instruction only in response to the massage gear adjustment operation indicating the downshift, so that the massage apparatus can only downshift when the massage operation is about to end, to reduce user discomfort.
609. And generating a massage gear adjusting instruction according to a preset gear adjusting time interval and the adjusted massage gear.
In the embodiment of the present application, the preset shift interval may be greater than the current shift interval. That is, when the massage apparatus is about to end its operation (the remaining operation time is less than the first preset time), the massage apparatus may switch from the current massage gear to the adjusted massage gear according to the shift time interval included in the massage gear adjustment instruction, so as to increase the time interval from the current massage gear to the adjusted massage gear, slow down the adjustment speed of the massage gear, and reduce discomfort of the user. For example, assuming that the current shift interval is 1 second, the preset shift interval may be 2 seconds. If the massage equipment receives a working state adjusting instruction for adjusting the massage gear to 9 levels when the remaining operation time is less than the first preset time, the current massage gear of 8 levels is kept, and the massage gear is adjusted from 8 levels to 9 levels after 2 seconds of receiving the working state adjusting instruction.
That is to say, as shown in fig. 6, in the embodiment of the present application, when the remaining operating time of the current operating state is less than the first preset time, the mobile terminal may generate the massage gear adjustment instruction according to the preset gear adjustment rule and the adjusted gear.
Wherein, the preset gear adjustment rule may include: if the adjusted massage gear is smaller than the current gear of the massage equipment, generating a massage gear adjusting instruction according to the adjusted massage gear; or if the adjusted massage gear is larger than the current gear of the massage equipment, no massage gear adjusting instruction is generated; or if the adjusted massage gear is larger than the current massage gear of the massage equipment, generating a massage gear adjusting instruction according to the preset gear adjusting time interval and the adjusted massage gear. The preset shift time interval may be greater than the current shift time interval.
In addition, in the massage apparatus control method shown in fig. 4, although the application exit instruction sent by the massage apparatus executing step 403 may carry the running time length of the current working state recorded by the mobile terminal, so that the massage apparatus may continue to use the running time length for timing, there may be a case that clocks of the massage apparatus and the mobile terminal are not synchronized, which may cause timing errors. Therefore, in the embodiment of the present application, when it is detected that the control APP is turned on again, in addition to performing the above-mentioned steps 407 to 409 to confirm whether the communication connection is smooth, the mobile terminal may further send a check clock instruction to the massage device, so that the massage device may perform time synchronization on the mobile terminal and the massage device according to the check clock instruction.
As an optional implementation, the check clock instruction may carry clock information of the mobile terminal, and the clock information of the mobile terminal is calibrated through networking; the massage equipment can adjust the clock information of the massage equipment into the clock information of the mobile terminal after receiving the clock checking instruction, namely, the clock information of the massage equipment is corrected by taking the clock information of the mobile terminal as a reference, so that the massage equipment without the networking function can keep accurate timing.
As another optional implementation, the check clock instruction may further carry a continuous operation duration of the massage device 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 a preset running time of the current working state. After receiving the application quitting instruction and the check clock instruction, the massage equipment can calculate the remaining operation time length of the current working filling according to the continuous operation time length obtained from the check clock instruction and the preset operation time length obtained from the application quitting instruction. Namely, the remaining operation time length operated in the current working state is determined based on the continuous operation time length recorded by the mobile terminal, so that the massage device can more accurately end the massage operation according to the preset massage time length.
Or, in the embodiment of the application, when it is detected again that the control APP is turned on, the mobile terminal may send the remaining running time of the current working state recorded by the mobile terminal to the mobile terminal, in addition to sending the check clock instruction to the massage device.
Optionally, the massage device may output massage duration prompting information after determining the remaining operation duration according to the check clock instruction, or after receiving the remaining operation duration sent by the mobile terminal, so as to prompt the user that the massage operation is about to end. The massage duration prompt information may be voice prompt information broadcasted through voice, or may be vibration prompt information output by the massage device through executing vibration prompt operation, and is not particularly limited.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present application. As shown in fig. 7, the mobile terminal 700 may include:
a detection unit 710 for detecting a first user operation for exiting the control application;
a sending unit 720, configured to send an application exit instruction to the massage apparatus in response to the first user operation, so as to instruct the massage apparatus to continue to operate in the current working state.
As an optional implementation manner, the detecting unit 710 may be further configured to detect a second user operation that triggers ending of the operation of the virtual key; finishing the work, and displaying the virtual key on an interactive interface of the control application program;
the sending unit 720 may be further configured to send a work ending instruction to the massage apparatus to instruct the massage apparatus to end the massage work in response to the second user operation.
As an optional implementation, the mobile terminal 700 may further include: a control unit.
The control unit is used for responding to the first user operation and controlling a control application program of the massage equipment to run in a background of the mobile terminal; alternatively, the control application controlling the massage device terminates the operation in response to the first user operation.
As an optional implementation manner, the detecting unit 710 may be further configured to detect whether the control application program is restored to the foreground operation of the mobile terminal again after the control application program of the control unit controlling the massage device exits;
the transmitting unit 720 may include: the device comprises an acquisition module and a sending module;
the obtaining module is configured to, when the detection unit 710 detects that the control application program is restored to the foreground of the mobile terminal again and detects a third user operation for adjusting the working parameters of the massage device, obtain the adjusted working parameters according to the third user operation; generating a working state adjusting instruction according to the adjusted working parameters;
and the sending module is used for sending a working state adjusting instruction to the massage equipment so as to indicate that the massage equipment is adjusted from the current working state to the working state matched with the adjusted working parameters.
As an alternative embodiment, the operating parameters may include: massaging gears; the working state adjusting instruction can comprise a massage gear adjusting instruction;
the acquisition module is specifically used for generating a massage gear adjustment instruction according to a preset gear adjustment rule and an adjusted gear when the remaining operation time of the current working state of the massage equipment is less than a first preset time;
further optionally, the obtaining module may be specifically configured 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; or when the adjusted massage gear is larger than the current massage gear of the massage equipment, generating a massage gear adjusting instruction according to a preset gear adjusting time interval and the adjusted massage gear.
The sending module may be specifically configured to send a massage gear adjustment instruction to the massage device to instruct the massage device to switch from a current massage gear to an adjusted massage gear; or, the massage device may be configured 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 according to a preset gear shifting time interval.
As an optional implementation manner, the sending unit 720 may be further configured to send a response instruction to the massage device when the detecting unit 710 detects that the control application returns to the foreground operation of the mobile terminal again, so as to instruct the massage device to return a response message to the mobile terminal when receiving the response instruction.
As an optional implementation, the mobile terminal 700 may further include: a receiving unit and a display unit.
And the receiving unit can be used for receiving response information returned by the massage equipment according to the response instruction after the sending unit 720 sends the response instruction.
The transmitting unit 720 may be further configured to transmit a request instruction to the massage device when receiving the response message; the request instruction is used for requesting to acquire the working information of the massage equipment running in the current working state.
And the receiving unit can also be used for receiving the work information returned by the massage equipment according to the request instruction.
And the display unit is used for displaying the working information in the interactive interface of the control application program.
As an optional implementation manner, the application quitting instruction sent by the sending unit 720 to the massage device in response to the first user operation may carry the running time length and the preset running time length of the current working state of the massage device; the sending unit 720 sends an application exit instruction to the massage device to instruct the massage device to operate in the current working state and count the duration of continuous operation, the starting time of the duration of continuous operation is the duration of operation, and when the duration of continuous operation reaches the preset duration of operation, the operation is stopped.
As an optional implementation manner, the sending unit 720 may further send a check clock instruction to the massage device when the detecting unit 710 detects that the first user operation is detected and the control application program is restored to the foreground running of the mobile terminal again, so as to perform time synchronization on the mobile terminal and the massage device according to the check clock instruction.
Further optionally, the check clock instruction carries the continuous operation duration of the current working state recorded by the mobile terminal; the application exit instruction sent by the sending unit 720 to the massage device in response to the first user operation may also carry a preset running duration of the massage device in the current working state; after the sending unit 720 responds to the first user operation to send the application quitting instruction, if it is detected that the control application program is restored to the foreground operation of the mobile terminal again, a check clock instruction is sent to the massage device, the massage device can be instructed to determine the remaining operation duration of the current working state according to the continuous operation duration obtained from the check clock instruction and the preset operation duration obtained from the application quitting instruction, and massage duration prompt information is output according to the remaining operation duration.
Or, after the sending unit 720 sends the application quitting instruction in response to the first user operation, if it is detected that the control application program is restored to the foreground operation of the mobile terminal again, the remaining operation duration of the current working state recorded by the mobile terminal may also be directly sent to the massage device, so that the massage device outputs massage duration prompt information.
In the embodiment of the application, the mobile terminal shown in fig. 8 is implemented, when the control APP of the massage device is detected to exit, the massage device is controlled to continue to operate in the current working state, so that the massage work of the massage device is not interrupted by the exit of the control APP, and more complete and comfortable massage experience can be provided for a user.
Please refer to fig. 8, fig. 8 is a schematic structural diagram of a massage apparatus according to an embodiment of the present application. As shown in fig. 8, the massage apparatus 800 may include:
a transceiver unit 810, configured to receive an instruction sent by a mobile terminal;
a control unit 820, configured to control the massage apparatus to continue to operate in the current working state when receiving an application exit instruction sent by the mobile terminal; the application quitting instruction is a working instruction triggered by the mobile terminal when the mobile terminal detects the first user operation; the first user operation is a user operation of a control application program, and the control application program is operated on the mobile terminal.
As an optional implementation manner, the control unit 820 may be further configured to control the massage device to end the massage operation when receiving an operation ending instruction sent by the mobile terminal; the finishing work instruction is a work instruction triggered by the mobile terminal when detecting the second user operation; the second user operation is a user operation of touching the end-of-work virtual key, and the end-of-work virtual key is displayed on the interactive interface of the control application program.
As an optional implementation manner, the control unit 820 may be further configured to control the massage device to adjust from the current working state to a working state matched with the adjusted working parameter when receiving a working state adjustment instruction sent by the mobile terminal;
the working state adjusting instruction is triggered by the mobile terminal when detecting the operation of a third user and carries the adjusted working parameters; the third user operation is the user operation of adjusting the working parameters of the massage equipment through the control application program to obtain the adjusted working parameters, and the control application program is restored to the foreground of the mobile terminal to operate again after quitting according to the first user operation.
As an alternative embodiment, the third user operation may be a massage shift adjusting operation of adjusting a massage shift; the working state adjusting instruction comprises a massage gear adjusting instruction, the massage gear adjusting instruction carries an adjusted massage gear, and the massage gear adjusting instruction is generated by the mobile terminal according to a preset gear adjusting rule and the adjusted gear when the remaining operation time of the current working state of the massage equipment is less than a first preset time.
Further optionally, the preset gear adjustment rule may include: if the adjusted gear is smaller than the current massage gear of the massage equipment, generating a massage gear adjusting instruction according to the adjusted massage gear; or if the adjusted gear is larger than the current massage gear, no massage gear adjusting instruction is generated.
The control unit 820 may be further configured 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 preset gear adjustment rule may also include: if the adjusted massage gear is larger than the current massage gear of the massage equipment, generating a massage gear adjusting instruction according to a preset gear adjusting time interval and the adjusted massage gear;
the control unit 820 may be further configured to control the massage device to switch from the current massage gear to the adjusted massage gear according to a preset gear shifting time interval when receiving the massage gear adjusting instruction.
As an optional implementation manner, the transceiver unit 810 may be further configured to return response information to the mobile terminal when receiving a response instruction sent by the mobile terminal; the response instruction is triggered when the mobile terminal detects that the control application program is withdrawn according to the first user operation and then is restored to the foreground running of the mobile terminal.
As an optional implementation manner, the transceiver unit 810 may be further configured to receive a request instruction sent by the mobile terminal after returning the response information to the mobile terminal;
the massage apparatus 800 may further include: an acquisition unit;
an obtaining unit, configured to obtain, when the transceiver unit 810 receives the request instruction, working information that the massage apparatus operates in a current working state; the request instruction is a working instruction sent by the mobile terminal when receiving the response information;
the transceiver unit 810 may be further configured to send the working information to the mobile terminal; the working information is used for displaying in an interactive interface of the control application.
As an optional implementation manner, the transceiver unit 810 may be further configured to obtain, from an application quit instruction sent by the mobile terminal, an already-running time length and a preset running time length of the massage device in the current working state, which are carried by the application quit instruction;
the control unit 820 is specifically configured to control the massage device to operate in the current working state, and count the continuous operation time length of the massage device operating in the current working state by using the operated time length as a timing starting point; and controlling the massage equipment to finish the massage work when the continuous operation time counted by the massage equipment reaches the preset operation time.
As an optional implementation manner, the transceiver unit 810 may be further configured to receive a check clock command sent by the mobile terminal; the clock checking instruction is triggered when the mobile terminal detects that the control application program exits according to the first user operation and then restores to the foreground operation of the mobile terminal;
the control unit 820 may also perform time synchronization between the mobile terminal and the massage device according to the check clock command.
As an optional implementation manner, the check clock instruction may carry a continuous operation duration of the current working state recorded by the mobile terminal;
the massage apparatus 800 may further include: a determination unit;
the determining unit is used for determining the residual operating duration of the current working state according to the continuous operating duration obtained from the clock checking instruction and the preset operating duration obtained from the application quitting instruction;
as another optional implementation, the transceiver unit 810 may be further configured to receive the remaining operation duration of the current operating state recorded by the mobile terminal, where the remaining operation duration is sent by the mobile terminal; the remaining running time is triggered when the mobile terminal detects that the control application program is restored to the foreground running of the mobile terminal again;
the control unit 820 may be further configured to output the massage duration prompting information according to the remaining operation duration when the determining unit determines that the remaining operation duration of the current operation state is determined or when the transceiver 810 receives the remaining operation duration of the current operation state.
As an optional implementation manner, the control unit 820 may be specifically configured to control the massage device to suspend the massage operation and execute a vibration prompting operation after receiving an application quitting instruction sent by the mobile terminal; and when the vibration prompt operation is finished, controlling the massage equipment to continue to operate in a working state when the application quitting instruction is obtained.
As an alternative embodiment, the control unit 820 may control the massage apparatus to keep the silent state for a second preset time period after controlling the massage apparatus to suspend the massage operation and before controlling the massage apparatus to perform the vibration prompting operation; and/or the presence of a gas in the gas,
and after the vibration prompt operation is finished and before the massage equipment is controlled to recover to run in the working state when the application quitting instruction is obtained, the massage equipment is controlled to keep a silent state within a third preset time length.
In the embodiment of the application, the massage device shown in fig. 8 is implemented, after the control APP of the mobile terminal exits, the massage device can still continue to operate in the current working state, and the current working state continues to operate, so that the massage operation of the massage device cannot be interrupted by the exit of the control APP, and a more complete and comfortable massage experience can be provided for a user.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present application. As shown in fig. 9, 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. Memory 920 may store one or more application programs that may be configured to be executed by the one or more processors 910, where the one or more programs are configured to perform the mode selection methods described in the embodiments above.
Processor 910 may include one or more processing cores. Processor 910 interfaces with various portions of the overall mobile terminal 900 using various interfaces and lines to perform various functions of the mobile terminal 900 and to process data by executing or performing instructions, programs, code sets, or instruction sets stored in memory 920 and invoking data stored in memory 920. Alternatively, the processor 910 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 910 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 910, but may be implemented by a communication chip.
The Memory 920 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 920 may be used to store instructions, programs, code sets, or instruction sets. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described method embodiments, and the like. The storage data area may also store data created by mobile terminal 900 during use, and the like.
The wireless communication module 930 may provide a solution for wireless communication applied to the mobile terminal 900, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. 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 apparatus through the wireless communication module 930, thereby implementing data transmission with the massage apparatus.
It is understood that the mobile terminal 900 may include more or less structural elements than those shown in the above structural block diagrams, for example, a power source, an input button, a camera, a speaker, a screen, a Radio Frequency (RF) circuit, a sensor, etc., which are not limited herein.
Referring to fig. 10, fig. 10 is a schematic structural view of another massage apparatus disclosed in the embodiment of the present application. As shown in fig. 10, the massage device 1000 may include one or more of the following components: a processor 1010, a memory 1020 coupled with the processor 1010, a wireless communication module 1030, and a massage component 1040. The memory 1020 may store one or more application programs configured to be executed by the one or more processors 1010, wherein the one or more programs are configured to perform the control method of the massage apparatus as described in the embodiments above.
The wireless communication module 1030 may provide a solution for wireless communication including wireless lan, bluetooth, etc. applied to the massage apparatus 1000. The massage device 1000 can establish a communication connection with the mobile terminal through the wireless communication module 1030, thereby implementing data transmission with the mobile terminal.
The massage component 1040 may include components such as electrode pads and heating elements, and each component of the massage component 1040 may operate according to instructions transmitted by the processor 1010 and act on the skin, joints, etc. of the user to generate a massage effect.
It is understood that the massage device 1000 may include more or less structural elements than those shown in the above structural block diagrams, for example, a power source, a speaker, an input button, etc., which are not limited herein.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to realize the method described in the embodiments.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The above detailed description is provided for a massage device control method, a massage device control system, a massage device and a mobile terminal disclosed in the embodiments of the present application, and specific examples are applied herein to explain the principles and embodiments of the present application. Meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.