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 mode management method and device, a mobile terminal and a computer storage medium, which can improve the control efficiency of massage equipment. The following are detailed below.
First, referring to fig. 1, fig. 1 is an application scenario diagram of a mode management 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 handheld massage device, or the like, without limitation.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a mode management method according to an embodiment of the present application. The method may be applied to a mobile terminal, as shown in fig. 2, and the mode management method may include:
210. the mode to be deleted is determined from among the respective massage modes included in the favorite list.
In this embodiment of the application, the favorite list may be stored in the mobile terminal, and may include one or more massage modes, each massage mode may be manually collected into the favorite list by the user, or may be automatically collected into the favorite list by the mobile terminal, which is not limited specifically.
In an embodiment of the present application, a massage pattern may be used to characterize an operating state of the massage device when performing a massage operation, and the massage pattern may include one or more massage parameters. The massage parameters may be massage manipulation, massage shift, massage duration, heating temperature during massage and hot compress, and the like, and are not limited specifically.
Optionally, in this embodiment of the present application, each massage mode included in the favorite list may also correspond to a respective mode attribute. Schema attributes may include, but are not limited to: mode name, storage time, collection time, historical use times, switched times, unused time and the like.
The mode name can be a unique identifier of the massage mode and is used for distinguishing different massage modes. The mode name may be automatically generated by the mobile terminal, or may be automatically edited by the user through an interactive interface provided by the mobile terminal, which is not limited specifically.
The storage time may be a time when the massage mode is stored locally in the mobile terminal or uploaded to the server, and is not particularly limited.
The collection time may be a time when the massage mode is collected to the collection list. In the embodiment of the application, a certain massage mode can be stored in the local of the mobile terminal or uploaded to the server first and then collected to the collection list. That is, the storage time and the collection time corresponding to the massage mode may be different.
The historical number of uses may be an accumulated number of times that the massage device performs massage operations using the massage mode. In the embodiment of the application, when the user selects a certain massage mode from the collection modes, the mobile terminal may send a control instruction including the massage mode to the massage device, and count the number of times of use of the massage device. The massage device can receive the control instruction sent by the mobile terminal and execute massage operation according to the massage mode included by the control instruction.
The number of times of being switched may be an accumulated number of times that a massage mode currently used is switched to another massage mode while the massage apparatus performs a massage operation. In the embodiment of the application, when the user selects a certain first massage mode from the favorite list, the mobile terminal may send a control instruction including the first massage mode to the massage mode, so that the massage apparatus performs a massage operation using the first massage mode. When the massage device performs a massage operation using the first massage mode, if the user adjusts the massage parameters, the mobile terminal may generate a second massage mode according to the adjusted massage parameters, and send an adjustment instruction including the second massage mode to the massage device, so that the massage device switches the currently used massage mode from the first massage mode to the second massage mode. After transmitting the adjustment instruction, the mobile terminal may accumulate the number of times the first massage mode is switched.
The unused period may refer to an accumulated period of time in which the massage operation is not performed for a certain massage mode for the massage apparatus. In the embodiment of the application, when a certain massage mode is collected into the collection list or the massage operation performed by the massage device according to the massage mode is finished, the unused time duration of the massage mode can be accumulated until the mobile terminal generates the control instruction including the massage mode, so that the massage device performs the massage operation according to the massage mode again. After generating the above-described control instruction, the mobile terminal may end the accumulation of the unused time period of the massage mode.
In the present embodiment, the massage patterns in the favorites list may be deleted.
As an alternative embodiment, the massage mode to be deleted may be automatically selected by the mobile terminal. That is, the manner of determining the mode to be deleted from the respective massage modes may include: counting the number of times of switching corresponding to each massage mode in the collection list; and determining the mode to be deleted according to the corresponding switched times of each massage mode. Or counting the historical use times corresponding to each massage mode in the collection list; determining a mode to be deleted according to the historical use times corresponding to each massage mode; or determining the mode to be deleted according to the collection time corresponding to each massage mode; alternatively, the to-be-deleted mode may be determined according to the unused time length corresponding to each massage mode, for example, the massage mode with the longest unused time length may be determined as the to-be-deleted mode. The mode to be deleted is automatically selected according to the using condition of each massage mode, the massage mode which is not interested by the user can be intelligently predicted, and the user can save complicated query and selection operations.
The mode for determining the mode to be deleted according to the number of times of being switched corresponding to each massage mode may include, but is not limited to:
1. and determining the N massage modes with the highest switching times from the collection list as the modes to be deleted. The mobile terminal can sort the massage modes included in the collection list according to the sequence of the switched times from low to high, and after sorting, the N massage modes with the last ranking are selected as the modes to be deleted; or, the massage modes included in the favorite list may be sorted according to the switched times from high to low, and after sorting, the N massage modes with the top rank are selected as the to-be-deleted modes, which is not limited specifically. It should be noted that N is a positive integer, and N is less than or equal to the total number of massage modes included in the favorite list. N may be set by a user, or may be determined according to a preset deletion ratio and the total number of massage modes, which is not limited specifically.
2. And determining the massage mode with the switched times higher than a preset switching time threshold value from the collection list as a mode to be deleted. The preset threshold value of the switching times may be set by a user, or may be preset by a manufacturer of the massage device when the massage device leaves a factory, and is not particularly limited.
That is to say, in the embodiment of the present application, the massage mode with the higher number of times of switching may be determined as the to-be-deleted mode, so that the massage mode that is not interested by the user may be more accurately determined according to the number of times of switching.
As another optional implementation, the mobile terminal may further display each massage mode included in the favorite list, so that the user may select a mode to be deleted from the favorite list. That is, the manner of determining the mode to be deleted from the respective massage modes may include: detecting a first user selection operation aiming at the favorite list; in response to the first user selection operation, one or more massage modes indicated by the first user selection operation are determined as the to-be-deleted modes. The first user selection operation may be specifically clicking, dragging and the like, and is not limited specifically.
For example, please refer to fig. 3A together, where fig. 3A is an exemplary diagram of a display interface of a favorites list disclosed in an embodiment of the present application. As shown in fig. 3A, the favorite list may include the favorite massage patterns: mode one, mode two, mode three, mode four. When the favorite list is displayed, the massage parameters included in each massage mode can be correspondingly displayed, so that the user can conveniently know the detailed information of each massage mode. It should be noted that the display interface shown in fig. 3A is only one example, and when the favorite list is displayed, more or less information of the massage parameters than that shown in fig. 3A may be displayed. The user may perform a selection operation with respect to the display interface of the favorite list, and as shown in fig. 3A, the user may perform a selection operation on the mode three to determine the mode three as the to-be-deleted mode.
220. An association pattern associated with the pattern to be deleted is determined from the favorites list.
In the embodiment of the present application, the association pattern associated with the to-be-deleted pattern may include, but is not limited to: a massage mode which is the same as or similar to the mode to be deleted is set at the storage time or the collection time; or the included massage parameters are the same as or similar to the massage parameters included in the mode to be deleted; or the corresponding historical using times are the same as or similar to the historical using times of the mode to be deleted; or the corresponding massage mode with the same or similar switched times as the mode to be deleted.
It should be noted that, the storage time being close may mean that a time difference between the storage time of the to-be-deleted mode and the storage time of the associated mode is smaller than a preset first time difference threshold. The storage time is close to the previous storage time, which means that the time difference between the storage time of the to-be-deleted mode and the storage time of the associated mode is smaller than a preset second time difference threshold. The first time difference threshold and the second time difference threshold may be set by a user, and may be set to 1 minute, 2 minutes, and the like, without limitation.
When the massage parameter is a massage manipulation, a massage manipulation sequence corresponding to each massage apparatus may be preset according to different massage apparatuses, and the massage manipulation sequence corresponding to each massage apparatus includes different massage manipulations that can be performed by the massage apparatus. In this sequence, the massage techniques are arranged in accordance with the similarity, and two adjacent massage techniques are similar massage techniques. Illustratively, "kneading," "pressing," "tapping," "synthesizing," and the like may be included in the sequence. When the massage parameter is a massage manipulation, the similarity of the massage parameter may indicate that the massage manipulation in the deletion mode and the massage manipulation in the association mode are adjacent massage manipulations in the preset massage manipulation sequence.
When the massage parameters are parameters with specific numerical values such as massage gears, massage duration, heating temperature and the like, the similarity of the massage parameters can mean that the difference value between the value of the massage parameter of the to-be-deleted mode and the value of the massage parameter of the associated mode is smaller than a preset difference threshold value. Illustratively, when the massage parameters are massage gears, the preset gear difference threshold is assumed to be 1 massage gear, and the massage gear of the to-be-deleted mode is 3; if the massage gear of a certain massage mode is 2, the massage gear of the massage mode is similar to the massage gear of the mode to be deleted; if the massage gear of a certain massage mode is 5, the massage gear of the massage mode is not similar to the massage gear of the to-be-deleted mode.
The fact that the historical use times are close to the historical use times of the to-be-deleted mode can mean that the difference value between the historical use times of the to-be-deleted mode and the historical use times corresponding to the massage mode determined as the association mode is smaller than a preset historical use time threshold value; the same reason for the switched times is similar, and the following description is omitted.
230. And when the mode to be deleted is deleted from the favorite list, outputting deletion prompt information for prompting the user to delete the associated mode.
In the embodiment of the application, the mode to be deleted may be automatically deleted by the mobile terminal after the mode to be deleted is determined, or may be deleted after the user confirms the mode to be deleted. That is, the mobile terminal may output prompt information for prompting the user to delete the to-be-deleted mode after determining the to-be-deleted mode, and delete the to-be-deleted mode from the favorite list when acquiring that the user confirmation information input for the prompt information indicates that deletion is confirmed. Or, if the to-be-deleted mode is the massage mode selected by the user through the first user selection operation, after the to-be-deleted mode is determined, detecting a user operation of the user for triggering deletion of the virtual key, where the deletion of the virtual key may be displayed in the display interface of the favorite list. The to-be-deleted mode may be deleted from the favorites list upon detection of a user operation that triggers deletion of the virtual key.
After the to-be-deleted mode is deleted, deleting prompt information for prompting the user to delete the associated mode can be output to prompt the user to delete the associated mode, so that the associated mode similar to the to-be-deleted mode can be automatically recommended for the user, the user can delete the massage modes in the collection list in batches, the number of the massage modes can be managed and adjusted, the user can conveniently find out the interesting massage modes from the collection list, and the control efficiency of the massage equipment is improved.
For example, please refer to fig. 3B together, and fig. 3B is an exemplary diagram of a display interface for outputting an association mode according to an embodiment of the disclosure. As shown in fig. 3B, the user deletes the selected mode to be deleted (mode three) by clicking the delete virtual key 301. After deleting the to-be-deleted mode, the mobile terminal may output and display a deletion prompt message 302. As shown in fig. 3B, two association modes may be included in the deletion hint 302: mode one and mode seven. The user can continuously select the associated mode needing to be deleted from the mode one and the mode seven so as to enable the mobile terminal to continuously delete.
In addition, in some embodiments, after the deletion prompt information is output in step 230, one or more associated modes included in the deletion prompt information may be deleted according to an input of the user, or after the mode to be deleted or the associated mode is deleted, the massage mode may be acquired as a replacement mode and collected in the favorite list.
Referring to fig. 4, fig. 4 is a schematic flow chart of another mode management method disclosed in the embodiment of the present application. The method may be applied to a mobile terminal, as shown in fig. 4, and the mode management method may include the steps of:
410. the mode to be deleted is determined from among the respective massage modes included in the favorite list.
420. One or more massage parameters included in the mode to be deleted are acquired.
430. And determining the quantity of parameters of which the massage parameters corresponding to each massage mode in the collection list are the same as or similar to the massage parameters corresponding to the to-be-deleted mode.
In this embodiment of the application, the number of parameters of the massage parameter corresponding to each massage mode that is the same as or similar to the massage parameter corresponding to the to-be-deleted mode may include: the number of the massage parameters corresponding to each massage mode is the same as the number of the massage parameters corresponding to the to-be-deleted mode; or the number of the massage parameters corresponding to each massage mode is similar to the number of the massage parameters corresponding to the to-be-deleted mode; or the sum of the number of the same massage parameters and the number of the similar parameters of the massage parameters corresponding to the massage modes and the massage parameters corresponding to the to-be-deleted modes.
440. And determining the association degree of each massage mode included in the collection list and the mode to be deleted according to the same or similar parameter number.
In the embodiment of the present application, the greater the number of the same or similar massage parameters, the higher the association degree of the massage pattern with the pattern to be deleted. That is, the number of identical or similar massage parameters is positively correlated with the degree of correlation. Optionally, the association degree between a certain massage mode and the to-be-deleted mode may be a quotient of the number of the same or similar parameters in the massage mode and the to-be-deleted mode and the total number of the massage parameters corresponding to the to-be-deleted mode. For example, assuming that there are 2 massage parameters in a certain massage mode that are the same as or similar to the massage parameters in the to-be-deleted mode, and the total number of the massage parameters included in the to-be-deleted mode is 4, the association degree between the massage mode and the to-be-deleted mode is 50%.
Or, association degree values corresponding to the same or similar parameter numbers may be preset, for example, when the same or similar parameter numbers are 1 to 2, the corresponding association degree values are 1; when the number of the same or similar parameters is 3-4, the corresponding correlation value is 2.
Alternatively, when the association degree between a certain massage pattern and the to-be-deleted pattern is determined, the association degree corresponding to the massage pattern in which the massage manipulation is the same as the massage manipulation in the to-be-deleted pattern may be higher than the association degree corresponding to the massage pattern in which the massage manipulation is different from the massage manipulation in the to-be-deleted pattern. Compared with massage parameters such as massage strength, heating temperature and the like, when massage equipment performs massage operation by using different massage methods, the massage experience felt by a user is greatly different. Therefore, setting the association degree for the same massage pattern as the massage manipulation higher than the association degree for the different massage patterns as the massage manipulation makes it possible to more efficiently determine the association pattern similar to the pattern to be deleted.
For example, referring to fig. 5A together, fig. 5A is a diagram illustrating a display interface of another favorite list disclosed in an embodiment of the present application. As shown in fig. 5A, four massage modes are currently displayed: mode A1, mode A2, mode A3, mode A4, mode A3 being a user selected mode to delete. For convenience of description, it is assumed in this example. As shown in fig. 5A, there are 3 massage parameters in pattern a1 that are the same as the massage parameters in pattern A3, respectively: massage manipulation, force gear and heating gear. The absence of massage parameters in mode a2 that are the same as the massage parameters in mode A3, the degree of association of mode a1 with mode A3 is higher than the degree of association of mode a2 with mode A3. There are also 3 massage parameters in pattern a4 that are the same as the massage parameters in pattern A3, respectively: the power gear, the heating gear and the running time length. However, since the massage technique in the mode a4 is different from the massage technique in the mode A3, and the massage technique in the mode a1 is the same as the massage technique in the mode A3, the degree of association between the mode a1 and the mode A3 is higher than the degree of association between the mode a4 and the mode A3.
Or, the association degree between each massage mode and the mode to be deleted included in the collection list can be determined one by one according to the similarity between the corresponding massage parameters and the preset weight of each massage parameter. When the massage parameters are massage manipulations, the similarity between the massage manipulations can be determined according to the arrangement positions of the massage manipulations in a preset massage manipulation sequence, and the closer the arrangement positions of the two massage manipulations in the massage manipulation sequence are, the higher the similarity between the two massage manipulations is; when the massage manipulation is parameters with specific numerical values such as massage gear, massage duration, heating temperature and the like, the similarity between the massage parameters with the specific numerical values can be determined according to the difference between the two massage parameters, and the smaller the difference between the two massage parameters is, the higher the similarity between the two massage parameters is. In addition, the preset weights corresponding to different massage parameters may be the same or different, and are not limited specifically. Optionally, the preset weight corresponding to the massage manipulation may be higher than the preset weights corresponding to other massage parameters except for the massage manipulation, so that the association mode similar to the to-be-deleted mode can be determined more effectively.
450. And selecting the associated mode from the massage modes according to the association degree of each massage mode and the mode to be deleted.
In the embodiment of the present application, the association degree corresponding to the association pattern is higher than the association degree corresponding to the non-association pattern in each massage pattern. Namely, the massage mode with higher association degree with the mode to be deleted is selected as the association mode.
As an alternative implementation, the method for selecting the association mode may include: and determining the massage mode with the association degree with the mode to be deleted higher than a preset association degree threshold value as the association mode. The association threshold may be set by a user, or may be set by a manufacturer of the massage apparatus when the massage apparatus leaves a factory, and is not particularly limited.
As another optional implementation, the method for selecting the association mode may also include: and selecting M massage modes with the highest association degree with the modes to be deleted from the massage modes included in the favorite list as association modes. M is a positive integer. That is, the mobile terminal can sort the massage modes according to the sequence of the corresponding relevance degrees from top to bottom, and after the sorting, M massage modes which are arranged at the top are selected as relevance modes; or sequencing the massage modes according to the sequence of the corresponding relevance degrees from low to high, and selecting the M massage modes which are sequenced at the last from the sequenced massage modes as the relevance modes.
It can be seen that, in the embodiment of the present application, the number of association patterns may be one or more, and is not limited specifically.
460. And when the mode to be deleted is deleted from the favorite list, outputting deletion prompt information for prompting the user to delete the associated mode.
470. A second user selection operation for deleting the prompt information is detected.
In this embodiment of the application, the second user selection operation may be a user operation such as clicking, dragging, and the like, and is not limited specifically. The second user selection operation may be for selecting one or more association modes included in the deletion hint information to indicate deletion of the selected association mode.
As an optional implementation manner, the manner of outputting the deletion prompt message in step 460 may include: and keeping displaying the deletion prompt message within a first preset time length. Accordingly, step 470 may include: and detecting a second user selection operation within a first preset time length. If a second user selection operation is detected within the first preset time period, the following step 480 may be executed to delete the association pattern in response to the second user selection operation; if the second user selection operation is not detected within the first preset time period, the display of the deletion prompt message can be cancelled. That is to say, the deletion prompt message can be automatically closed, the mobile terminal cancels the recommendation association mode, interference caused by long-time display of the deletion prompt message to a user is avoided, and the user does not need to manually close the deletion prompt message.
For example, please refer to fig. 5B together, and fig. 5B is a diagram illustrating another example of a display interface of an output association mode disclosed in the embodiment of the present application. As shown in fig. 5B, when the deletion prompt message 501 is output, the real-time countdown message 502 with the first preset time period as the starting time may be output together. As shown in fig. 5B, the current countdown real-time is 5 seconds, and if the second user selection operation of clicking the marquee 503 by the user is not detected within 5 seconds, the display of the deletion prompt information is cancelled when the countdown is finished, and the display interface 504 for displaying the favorite list is switched. Due to the deletion of mode three, mode five, which was not previously displayed due to the interface area limitation, may be displayed in the display interface 504 of the favorites list.
480. And in response to the second user selection operation, deleting the one or more association modes indicated by the second user selection operation from the favorites list.
490. And when the mode to be deleted and/or the associated mode are deleted from the collection list, reordering the rest massage modes of the collection list according to a preset ordering rule, and displaying each rest massage mode after reordering.
In the embodiment of the present application, for convenience of management, the massage modes included in the favorite list may be sorted according to a preset sorting rule. The preset ordering rule may include, but is not limited to:
rule one is as follows: and sequencing according to the sequence of the switched times corresponding to the massage modes from low to high or from high to low. Rule two: and sequencing according to the sequence of the collection time corresponding to each massage mode from new to old or from old to new. Rule three: and sequencing according to the sequence of the historical use times corresponding to the massage modes from a small number to a large number. Rule four: and sequencing according to the initial letter of the mode name corresponding to each massage mode.
After the mode to be deleted and/or the associated mode are deleted, the remaining massage modes in the favorite list can be sorted and displayed according to any one of the preset sorting rules, so that the user can know the detailed information of the remaining massage modes in the favorite list.
For example, please refer to fig. 5C together, and fig. 5C is an exemplary diagram of an application scenario for deleting a massage pattern in a favorite list according to an embodiment of the present application. As shown in fig. 5C, the mode three is a to-be-deleted mode, and when the mode three is successfully deleted, the deletion prompt message 501 is output, where the deletion prompt message 501 includes two associated modes associated with the mode three: mode one and mode seven. Assuming that the first preset time duration is 10 seconds, when the countdown real-time 502 reaches 5 seconds, the user instructs the deletion association mode by a second user selection operation of clicking the selection box 503 and clicking the deletion virtual key 504: mode one. After deleting the mode three and the mode one, the mobile terminal switches the display interface 504 for displaying the favorite list. In the display interface 504, the respective massage modes are sorted in the order of the switched times from low to high.
In the embodiment of the application, the associated mode associated with the mode to be deleted can be determined according to the number of the same or similar massage parameters, so that the mobile terminal can recommend the associated mode which is not interested by the user more accurately, the user can delete other associated modes similar to the mode to be deleted simultaneously when deleting the mode to be deleted, and the deletion efficiency of the massage modes in the favorite list can be improved.
Referring to fig. 6, fig. 6 is a schematic flow chart of another mode management method disclosed in the embodiment of the present application. The method may be applied to a mobile terminal, as shown in fig. 6, steps 601 to 615 included in the mode management method may be shown as steps 410 to 480 in fig. 4, and details are not repeated below. The schema management method shown in fig. 6 may further include the steps of:
617. and counting the number of the deleted massage modes in the collection list, and acquiring at least one massage mode different from the deleted massage modes as a replacement mode.
In the embodiment of the present application, the deleted massage mode may include a to-be-deleted mode and/or an associated mode. In addition, the mobile terminal can be bound with one or more massage devices, and after the binding, a user can adjust massage parameters of the massage devices through the mobile terminal, so that the massage devices are controlled through the mobile terminal. When the user adjusts the massage parameters of the massage device, the mobile terminal can generate a new massage mode according to the obtained adjusted massage parameters, and the new massage mode is stored to the local of the mobile terminal or uploaded to the server for being downloaded by other mobile terminals, so that the user-defined massage mode can be shared among a plurality of users. Optionally, the server may accumulate the download times of the respective massage modes stored on the server. After uploading a certain massage mode to the server, the mobile terminal can acquire the accumulated downloading times corresponding to the uploaded massage mode from the server and can output the accumulated downloading times of the massage mode, so that a user can check the downloading condition of the massage mode and call the enthusiasm of the user for uploading the customized massage mode.
As an optional implementation manner, in this application example, the manner of obtaining the substitution mode may include: acquiring at least one massage mode different from the deleted massage mode from the massage modes locally stored in the mobile terminal as a replacement mode; or downloading at least one massage pattern different from the deleted massage pattern from the server as a replacement pattern.
Further optionally, if the massage mode is downloaded from the server as a replacement mode, the download permission of the mobile terminal may be verified before downloading; if the download authority passes the verification, downloading the massage mode from the server as a replacement mode; if the download authority verification is not passed, the massage mode cannot be downloaded from the server. The download authority of the mobile terminal is verified before downloading, so that an illegal user can be prevented from randomly using the massage mode resources stored in the server.
The method for verifying the download permission of the mobile terminal may include: acquiring a product sequence code input by a user; verifying the obtained product sequence code; the manufacturer of the massage equipment can set a unique serial code for each massage equipment when the equipment leaves a factory, and the serial code set by the manufacturer can be used for indicating that the source of the massage equipment is legal; when the mobile terminal acquires the input product serial code, whether the product serial code exists can be inquired from a serial code database provided by a manufacturer; if the product sequence code exists, the product sequence code is determined to be legal, and the download authority of the mobile terminal passes verification.
Or, the method for verifying the download right of the mobile terminal may further include: acquiring an input user telephone number; verifying whether the acquired user telephone number is matched with a reserved telephone number corresponding to the massage equipment, wherein the reserved telephone number corresponding to the massage equipment can be bound with a serial code or a hardware address of the massage equipment and other numbers which can represent the identity of the massage equipment, so that the reserved telephone number can be read by the mobile terminal conveniently; and when the user telephone number is verified to be matched with the reserved telephone number, the download authority of the mobile terminal can be determined to be verified.
As an optional implementation manner, in this embodiment of the application, if the download right verification of the mobile terminal is not passed, a payment purchase page may be further output, where the payment purchase page may provide an entry for purchasing the download right for payment, and a user may trigger a purchase procedure of the download right through the entry to purchase the download right. When the download authority is successfully purchased, at least one massage pattern different from the deleted massage pattern may be downloaded from the server as a replacement pattern. That is, when the download authority verification fails, a purchase link of the download authority may be provided to the user so that the user may make a legitimate purchase of the download authority.
619. And collecting the alternative modes into a collection list.
In the embodiment of the application, the mobile terminal can directly collect the alternate mode into the collection list after acquiring the alternate mode, so as to supplement a new massage mode to the collection list. Or after the alternate mode is acquired, generating and outputting collection prompt information including the alternate mode to prompt the user to collect the alternate mode into the collection list. After the favorite information is output, a third user selection operation input for the favorite information can be detected, and one or more alternative modes indicated by the third user selection operation can be collected in the favorite list. That is, after the alternate mode is acquired, the user may select the alternate mode that needs to be collected to the favorites list.
621. And displaying the favorite list added with the alternative mode according to a preset pattern.
In the embodiment of the application, in order to facilitate the user to know the detailed information of the massage mode included in the collection list after the supplement is added, the collection list can be displayed according to a preset pattern. Optionally, the preset patterns may include, but are not limited to:
the first mode is as follows: the alternate modes are arranged before the original massage modes of the favorite list, which may refer to the massage modes retained in the favorite list after the mode to be deleted and/or the associated mode is deleted and before the alternate mode is added. The supplementary modes are arranged in front of the original massage modes, so that the user can conveniently and quickly know which supplementary modes are added.
And the second mode is as follows: when the number of the acquired alternative modes is large (for example, greater than one), the alternative modes may be arranged in the order from new to old or from old to new according to the storage time of each alternative mode. Arranging the supplementary modes according to the storage time facilitates the user to know which supplementary modes are stored recently and which supplementary modes are stored earlier.
In the embodiment of the present application, when the favorite list is displayed according to the preset style, any one of the styles may be used alone, or a combination of the styles may be used, which is not limited specifically. For example, please refer to fig. 7 in combination, fig. 7 is an exemplary diagram of a display interface of a favorites list after adding a replacement mode, which is disclosed in the embodiment of the present application. As shown in fig. 7, the mode three is a to-be-deleted mode, and the user deletes the association mode of the mode three by the second user selection operation: mode one. After mode three and mode one are deleted, two new massage modes can be obtained from the mobile terminal locally or from the server: mode B1 and mode B2 are supplemented into the favorites list as alternate modes. The mode B1 and the mode B2 are arranged before the mode two and the mode four of the favorites list as the alternative modes.
In the embodiment of the application, after the massage mode in the favorite list is deleted, a new alternate mode can be obtained from the local mobile terminal or the server in time to supplement the favorite list, so that a user can select the new alternate mode in the favorite list.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a mode management device according to an embodiment of the present application. The mode management device may be applied to a mobile terminal, and the device may be a terminal device in the foregoing embodiments, or a component located in the terminal device, such as a chip. And, the apparatus may implement all the functions of the terminal device in the foregoing embodiments. As shown in fig. 8, the mode management apparatus 800 may include:
a first determining module 810 for determining a mode to be deleted from the respective massage modes included in the favorite list; the favorite list may be stored in the mode management apparatus 800 or may be stored in a memory of the mobile device located in the mode management apparatus 800, which is not limited in particular.
A second determining module 820, configured to determine an association pattern associated with the pattern to be deleted from the favorites list;
an output module 830, configured to output a deletion prompt message for inquiring whether the user needs to delete the associated mode when the to-be-deleted mode is deleted from the favorite list.
As an optional implementation manner, the first determining module 810 may specifically include: a statistic unit and a mode determination unit;
the statistical unit is used for counting the switched times corresponding to each massage mode in the collection list;
and the first mode determining unit is used for determining the mode to be deleted according to the switched times corresponding to the massage modes.
Further optionally, the first mode determining unit may be specifically configured to determine, from the favorite list, N massage modes with the highest number of times of switching as the to-be-deleted modes, where N is a positive integer.
As an optional implementation manner, the first determining module 810 may further include: a detection unit;
a detection unit configured to detect a first user selection operation for the favorite list;
the first mode determination unit may be further configured to determine, as the to-be-deleted mode, one or more massage modes indicated by the first user selection operation in response to the first user selection operation.
As an optional implementation manner, the second determining module 820 may include: an acquisition unit and a second mode determination unit;
the acquisition unit is used for acquiring one or more massage parameters included in the mode to be deleted;
a second mode determining unit for determining an associated mode associated with the mode to be deleted from the favorites list according to the one or more massage parameters.
Optionally, the second mode determining unit may be specifically configured to determine the number of parameters that the massage parameter corresponding to each massage mode included in the favorite list is the same as or similar to the number of parameters corresponding to the to-be-deleted mode; determining the association degree of each massage mode included in the collection list and the mode to be deleted according to the same or similar parameter number; the more the number of the same or similar massage parameters is, the higher the association degree of the massage mode and the mode to be deleted is; that is, the number of identical or similar massage parameters is positively correlated with the degree of correlation. Optionally, the massage parameter may be any one of massage manipulation, massage strength, massage duration and heating temperature; the association degree of the same massage pattern as the massage manipulation in the to-be-deleted mode may be higher than the association degree of the different massage pattern.
The second mode determining unit can be used for selecting the associated mode from the massage modes according to the association degree of each massage mode and the mode to be deleted; the relevance degree corresponding to the relevance mode is higher than the relevance degree corresponding to the non-relevance mode in each massage mode.
Further optionally, the second mode determining unit may be specifically configured to determine, as the association mode, a massage mode in which an association degree with the to-be-deleted mode is higher than a preset association degree threshold; or selecting M massage modes with the highest association degree with the mode to be deleted from the massage modes as association modes; m is a positive integer.
As an optional implementation manner, the mode management apparatus 800 may further include: the device comprises a detection module and a deletion module.
A detection module, configured to detect a second user selection operation for deleting the prompt information after the output unit 830 outputs the deletion prompt information for prompting the user to delete the association mode.
A deleting module, configured to delete, in response to a second user selection operation, one or more association patterns indicated by the second user selection operation from the favorites list; or, the second determining module 820 is configured to directly delete the determined association pattern from the favorites list when determining one or more association patterns.
Optionally, the output unit 830 may be specifically configured to keep displaying the deletion prompt message within a first preset time period;
the detection module may be specifically configured to detect the second user selection operation within a first preset time period after the output unit 830 outputs the deletion prompt message; when the detection module detects the second user selection operation, the detection success information may be fed back to the output unit 830;
the output unit 830 may be further configured to cancel displaying the deletion prompt message when the feedback detection success message sent by the detection module when the second user selection operation is detected is not detected within the first preset time period.
As an optional implementation manner, the output module may be further configured to reorder, according to a preset ordering rule, the remaining massage modes in the favorite list when the to-be-deleted mode and/or the association mode is deleted from the favorite list; and displaying each of the rest massage modes after reordering.
Further optionally, the output module may be specifically configured to determine the number of times of being switched corresponding to each remaining massage mode of the favorite list; and reordering the remaining massage modes according to the switched times corresponding to the remaining massage modes.
As an optional implementation manner, the mode management apparatus 800 may further include: the device comprises a statistic module, an acquisition module and a collection module;
the statistical module is used for counting the number of the deleted massage modes in the collection list; the deleted massage mode may include a to-be-deleted mode and/or an associated mode.
An acquisition module for acquiring at least one massage mode different from the deleted massage mode as a replacement mode.
And the collection module is used for collecting the alternative modes into a collection list.
Optionally, the obtaining module may include: a first acquisition unit and/or a second acquisition unit;
the first obtaining unit may be configured to obtain at least one massage pattern different from the deleted massage pattern as a replacement pattern from massage patterns locally stored in the mobile terminal.
A second obtaining unit operable to download at least one massage pattern different from the deleted massage pattern as a replacement pattern from the server.
Further optionally, the second obtaining unit may verify the download authority of the mobile terminal before downloading at least one massage mode different from the deleted massage mode as a replacement mode from the server. And the second obtaining unit may be specifically configured to download, as a replacement mode, at least one massage mode different from the deleted massage mode from the server when the download authority verification of the mobile terminal passes.
Optionally, the second obtaining unit may be specifically configured to obtain an input product sequence code; when the product sequence code is verified to be legal, determining that the download authority of the mobile terminal passes verification; or, it can also be used to obtain the input user telephone number; and when the user telephone number is verified to be matched with the reserved telephone number corresponding to the massage equipment, determining that the download authority of the mobile terminal passes verification.
Optionally, the second obtaining unit may be further configured to output a payment purchase page when the download right verification of the mobile terminal fails, where the payment purchase page is used to provide an entry for paying for purchasing the download right for the mobile terminal; and downloading at least one massage mode different from the deleted massage mode from the server as a replacement mode when the download authority of the mobile terminal is successfully purchased.
As an optional implementation manner, the collection module may be specifically configured to output collection prompt information, where the collection prompt information is used to prompt a user to collect a replacement mode; detecting a third user selection operation aiming at the collection prompt information; and collecting one or more alternative modes indicated by the selection operation of the third user into the collection list.
As an optional implementation manner, the output module may be further configured to, after the collection module collects the alternate mode to the collection list, display the collection list with the alternate mode added according to a preset pattern.
Further optionally, the preset pattern may include: the alternative mode is arranged before the original massage mode of the collection list; the original massage mode is a massage mode reserved in the collection list after the mode to be deleted and/or the associated mode is deleted and before the alternative mode is added.
Alternatively, the preset pattern may further include: and when the number of the alternative modes is more than one, arranging the alternative modes according to the storage time sequence of the alternative modes.
In the embodiment of the application, after the mode to be deleted is determined, the associated mode similar to the mode to be deleted can be automatically recommended to the user, so that the user can delete the massage modes in the collection list in batches, the number of the massage modes can be managed and adjusted, the user can conveniently find out the massage mode of interest from the collection list, and the control efficiency of the massage device is further improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a 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 one or more processors 910, where the one or more programs are configured to perform the schema management methods described in the embodiments above, among others.
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.
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 mode management method, device, mobile terminal and computer-readable storage medium disclosed in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and implementations 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.