CN114157547A - Massager control method, device, equipment and storage medium - Google Patents

Massager control method, device, equipment and storage medium Download PDF

Info

Publication number
CN114157547A
CN114157547A CN202111300433.5A CN202111300433A CN114157547A CN 114157547 A CN114157547 A CN 114157547A CN 202111300433 A CN202111300433 A CN 202111300433A CN 114157547 A CN114157547 A CN 114157547A
Authority
CN
China
Prior art keywords
massager
control
remote
user
remote control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111300433.5A
Other languages
Chinese (zh)
Inventor
李华优
王�华
蔡溢枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Megain Technology Co ltd
Original Assignee
Zhuhai Megain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Megain Technology Co ltd filed Critical Zhuhai Megain Technology Co ltd
Priority to CN202111300433.5A priority Critical patent/CN114157547A/en
Publication of CN114157547A publication Critical patent/CN114157547A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H23/00Percussion or vibration massage, e.g. using supersonic vibration; Suction-vibration massage; Massage with moving diaphragms
    • A61H23/02Percussion or vibration massage, e.g. using supersonic vibration; Suction-vibration massage; Massage with moving diaphragms with electric or magnetic drive
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H2201/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5007Control means thereof computer controlled
    • A61H2201/501Control means thereof computer controlled connected to external computer devices or networks
    • A61H2201/5012Control means thereof computer controlled connected to external computer devices or networks using the internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • Pain & Pain Management (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Rehabilitation Therapy (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Telephonic Communication Services (AREA)
  • Massaging Devices (AREA)

Abstract

The invention relates to the field of massager control, and discloses a massager control method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring an instruction of a user, and determining a massager control mode according to the instruction; if the mode is the remote control mode, determining the shared party and detecting whether the shared party installs the application program; if not, acquiring a shared party H5 page, extracting configuration data, generating control data, and controlling the massager at the user side based on the remote control data; and if so, acquiring configuration data configured by the shared party, generating control data and controlling the massager on the user side. The invention is divided into two control directions of local control and remote control, wherein the local control is bidirectional interaction between the massager and the local mobile terminal, and the remote control is multi-party interaction between the massager and the local mobile terminal as well as between the remote mobile terminal and the remote massager, so that the traditional massager realizes wireless control, remote control, cross-region control and linkage control among a plurality of massagers.

Description

Massager control method, device, equipment and storage medium
Technical Field
The invention relates to the field of massager control, in particular to a massager control method, device, equipment and storage medium.
Background
The phenomenon that people use massage equipment to massage so as to relieve life pressure is more and more common, although there are many types of massagers on the market, the control method of most massagers is limited to that the adjusting button is directly embedded on the massagers, and the control mode is single and the interactivity is poor by controlling the massagers through the adjusting button or using a wireless remote control.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the control method of the existing massager is single in interactive operation.
The invention provides a control method of a massager, which is characterized by being applied to a massager control system, wherein the massager control system at least comprises at least one massager, a mobile terminal and a cloud platform, and the control method of the massager comprises the following steps: acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform, and determining a control mode of the massager according to the operation instruction; if the control mode is a remote control mode, determining a shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
optionally, in a first implementation manner of the first aspect of the present invention, if the control mode is a local control mode, the method for controlling the massager further includes: acquiring local configuration data of a first massager acquired by the mobile terminal, wherein the first massager is a massager currently controlled in the side where a user is located, and the local configuration information is one of touch information and state change information; generating local control data based on the local configuration data; and sending the local control data to all massagers except the first massager on the side where the user is located, and controlling all massagers to execute corresponding operations.
Optionally, in a second implementation manner of the first aspect of the present invention, the acquiring local configuration data of the first massager, which is acquired by the mobile terminal, includes: determining a first massager controlled by the mobile terminal currently in the side where the user is located; acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal; or, reading a pressing operation of a user on the first massager through a control link established in advance between the mobile terminal and the first massager, determining state change information based on the pressing operation, and generating local configuration data corresponding to the first massager based on the state change information.
Optionally, in a third implementation manner of the first aspect of the present invention, the obtaining, by the cloud platform, an H5 page scheduled by a shared party, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling a massager on a side where a user is located based on the first remote control data includes: obtaining a sharing link through the cloud platform, and sending the sharing link to the shared party, wherein the sharing link is an IP address for calling a preset H5 page; when the shared party is detected to click the sharing link to enter the H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to a mobile terminal at the side where a user is located; controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data; and controlling the massager on the user side according to the first remote control data.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the obtaining, by the cloud platform, second remote configuration data configured by the shared party on the application program, generating second remote control data, and controlling, based on the second remote control data, a massager on a side where a user is located includes: the permission parameters set by the user on the application program are extracted, and sharing permission is determined based on the permission parameters; acquiring second remote configuration data configured on the application program by the shared party; extracting control parameters in the second remote configuration data based on the sharing permission; generating second remote control data according to the control parameters; and controlling the massager on the side where the user is located based on the second remote control data.
Optionally, in a fifth implementation manner of the first aspect of the present invention, before the receiving an advertisement request sent by a user equipment, the method further includes: acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform; if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file; storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table; and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the detecting that the application program controlling the massager is installed in the shared party, the method further includes: judging whether the shared party opens the sharing authority of the massager or not; if so, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data; sending the third remote control data to all massagers in the shared party; and all massagers in the sharing party execute corresponding operation processes according to the third remote control data.
A second aspect of the present invention provides a massager control apparatus comprising: the judging module is used for acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform and determining a control mode of the massager according to the operation instruction; the detection module is used for determining a shared party in the remote control mode and detecting whether an application program for controlling the massager is installed in the shared party or not when the control mode is the remote control mode; the webpage calling module is used for acquiring an H5 page scheduled by the shared party through the cloud platform when the shared party does not install an application program for controlling the massager, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager on the side where the user is located based on the first remote control data; and the program calling module is used for acquiring second remote configuration data configured on the application program by the shared party through the cloud platform when the shared party installs the application program for controlling the massager, generating second remote control data and controlling the massager at the side where the user is located based on the second remote control data.
Optionally, in a first implementation manner of the second aspect of the present invention, the massager control apparatus further includes a local control module, where the local control module is specifically configured to: the system comprises a configuration acquisition unit, a state change unit and a state change unit, wherein the configuration acquisition unit is used for acquiring local configuration data of a first massager acquired by the mobile terminal, the first massager is a massager which is currently controlled in the side where a user is located, and the local configuration information is one of touch information and state change information; a data generation unit for generating local control data based on the local configuration data; and the data execution unit is used for sending the local control data to all massagers except the first massager in the side where the user is located and controlling all massagers to execute corresponding operations.
Optionally, in a second implementation manner of the second aspect of the present invention, the configuration obtaining unit is specifically configured to: determining a first massager controlled by the mobile terminal currently in the side where the user is located; acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal; or, reading a pressing operation of a user on the first massager through a control link established in advance between the mobile terminal and the first massager, determining state change information based on the pressing operation, and generating local configuration data corresponding to the first massager based on the state change information.
Optionally, in a third implementation manner of the second aspect of the present invention, the web page invoking module is specifically configured to: obtaining a sharing link through the cloud platform, and sending the sharing link to the shared party, wherein the sharing link is an IP address for calling a preset H5 page; when the shared party is detected to click the sharing link to enter the H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to a mobile terminal at the side where a user is located; controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data; and controlling the massager on the user side according to the first remote control data.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the program calling module is specifically configured to: the permission parameters set by the user on the application program are extracted, and sharing permission is determined based on the permission parameters; acquiring second remote configuration data configured on the application program by the shared party; extracting control parameters in the second remote configuration data based on the sharing permission; generating second remote control data according to the control parameters; and controlling the massager on the side where the user is located based on the second remote control data.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the massager control apparatus further includes a sharing module, and the sharing module is specifically configured to: judging whether the shared party opens the sharing authority of the massager or not; if so, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data; sending the third remote control data to all massagers in the shared party; and all massagers in the sharing party execute corresponding operation processes according to the third remote control data.
A third aspect of the present invention provides a massager control apparatus comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the massager control apparatus to perform the steps of the massager control method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the massager control method described above.
According to the technical scheme, an operation instruction sent by a user at the mobile terminal is obtained through the cloud platform, and the control mode of the massager is determined according to the operation instruction; if the control mode is a remote control mode, determining a shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party; if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling a massager on the side where the user is located based on the first remote control data; and if so, acquiring second remote configuration data configured on the application program by the shared party through the cloud platform, generating second remote control data, and controlling the massager on the side where the user is located based on the second remote control data. The invention adopts two large control directions of local control and remote control, wherein the local control is bidirectional interaction between the massager and the local mobile terminal, and the remote control is multi-party interaction between the massager and the local mobile terminal as well as between the remote mobile terminal and the remote massager, so that the traditional massager realizes wireless control, remote control, cross-region control and linkage control among a plurality of massagers, and the interactivity is improved.
Drawings
FIG. 1 is a schematic view of a first embodiment of a massager control method in accordance with an embodiment of the present invention;
FIG. 2 is a schematic view of a second embodiment of a control method of a massage apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic view of a third embodiment of a control method of a massage apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic view of a fourth embodiment of a control method of a massage apparatus according to the embodiment of the present invention;
FIG. 5 is a schematic view of a fifth embodiment of a control method of a massage apparatus according to the embodiment of the present invention;
FIG. 6 is a schematic view of an embodiment of a massager control device in accordance with the present invention;
FIG. 7 is a schematic view of another embodiment of a massager control device in accordance with an embodiment of the present invention;
fig. 8 is a schematic diagram of an embodiment of a massager control apparatus in an embodiment of the present invention.
Detailed Description
According to the technical scheme, an operation instruction sent by a user at the mobile terminal is obtained through the cloud platform, and the control mode of the massager is determined according to the operation instruction; if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party; if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager at the user side based on the first remote control data; if yes, second remote configuration data configured on the application program by the shared party are obtained through the cloud platform, second remote control data are generated, and the massager on the side where the user is located is controlled based on the second remote control data. The invention adopts two large control directions of local control and remote control, wherein the local control is bidirectional interaction between the massager and the local mobile terminal, and the remote control is multi-party interaction between the massager and the local mobile terminal as well as between the remote mobile terminal and the remote massager, so that the traditional massager realizes wireless control, remote control, cross-region control and linkage control among a plurality of massagers, and the interactivity is improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For the sake of understanding, the following describes a specific process of the embodiment of the present invention, and referring to fig. 1, a first embodiment of the control method of a massage apparatus according to the embodiment of the present invention includes:
101. acquiring an operation instruction sent by a user at a mobile terminal through a cloud platform, and determining a control mode of the massager according to the operation instruction;
it is understood that the executing subject of the present invention may be a massager control device, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
In this embodiment, the operation command sent by the user mobile terminal may provide a remote or local control selection box on the mobile terminal for determining the subsequent massager control mode.
In this step, when the user directly presses the corresponding switch on the massager, the user can also directly default to selecting the local control mode.
In this step, when the user selects to send the sharing link, the mode of selecting the remote control may be directly defaulted.
102. If the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
in this embodiment, after the user determines that the user is in the remote mode, the user needs to select to send the sharing link to the shared party through the cloud platform, and when the shared party opens the sharing link, the user searches and determines whether the APP for controlling the massager is installed on the mobile terminal of the shared party through the APP interface.
103. If not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager at the user side based on the first remote control data;
in this embodiment, when the shared party clicks the sharing link, and confirms that the APP of the shared party without the massager is installed through the APP interface, the sharing link will jump to the preset H5 page, by clicking the preset fixed mode on the H5 interface, and through the sliding of the finger, the H5 interface will extract the first remote configuration data, i.e. the input data of the shared party on the mobile terminal, the first remote configuration data are sent to the cloud platform, the cloud platform sends the first remote configuration data to the mobile terminal of the sharing party, the mobile terminal converts the received first remote configuration data into first remote control data and sends the first remote control data to one or more connected massagers in a wireless connection mode, the massagers operate corresponding actuators by analyzing the first remote control data, and meanwhile experience icons can be sent to the control party through the mobile terminal.
Specifically, the whole scene interaction mode comprises a control party, a controlled party and a cloud platform, wherein the control party is a mode of sending a remote instruction through a mobile terminal or a massager, and the instruction is received by the cloud platform and forwarded to the massager of the controlled party, so that the purpose of remote control is achieved.
104. If yes, second remote configuration data configured on the application program by the shared party are obtained through the cloud platform, second remote control data are generated, and the massager on the side where the user is located is controlled based on the second remote control data.
In the step, the shared party clicks the sharing link, when the APP of the massager installed on the shared party is confirmed through the applink interface, the sharing link skips to the user massager control interface in the APP, the shared party configures second remote configuration data on the APP user massager control interface, and the second remote configuration data are converted into the second remote control data and then sent to the massager on the side where the user is located for control.
In this step, similar to the local control method, there are two control methods: first, by clicking a preset mode of the mobile terminal, the mobile terminal sends mode data to a massager through a wireless network, and the massager analyzes a data packet and responds to a corresponding actuator such as vibration, expansion, rotation and the like; and secondly, acquiring the sliding speed of the gesture and the fingers on the touch screen of the mobile terminal, packaging and sending the acquired data to the massager, analyzing the data by the massager and responding to the actuator, and controlling the operation of the actuator of the massager through the gesture and the speed. Wherein gestures include, but are not limited to: single-finger clicking, single-finger long pressing, single-finger sliding, double-finger clicking, double-finger long pressing, double-finger sliding, three-finger clicking, three-finger long pressing and three-finger sliding.
In the embodiment, an operation instruction sent by a user at the mobile terminal is obtained through the cloud platform, and the control mode of the massager is determined according to the operation instruction; if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party; if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager at the user side based on the first remote control data; if yes, second remote configuration data configured on the application program by the shared party are obtained through the cloud platform, second remote control data are generated, and the massager on the side where the user is located is controlled based on the second remote control data. The invention adopts two large control directions of local control and remote control, wherein the local control is bidirectional interaction between the massager and the local mobile terminal, and the remote control is multi-party interaction between the massager and the local mobile terminal as well as between the remote mobile terminal and the remote massager, so that the traditional massager realizes wireless control, remote control, cross-region control and linkage control among a plurality of massagers, and the interactivity is improved.
Referring to fig. 2, a second embodiment of the control method of the massager in the embodiment of the present invention includes:
201, acquiring an operation instruction sent by a user at a mobile terminal through a cloud platform, and determining a control mode of a massager according to the operation instruction;
202, determining a first massager controlled by the mobile terminal at present in the side where the user is located;
203, acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal;
204, or reading a pressing operation of a user on the first massager through a control link established between the mobile terminal and the first massager in advance, determining state change information based on the pressing operation, and generating local configuration data corresponding to the first massager based on the state change information;
in this embodiment, when it is determined that the control mode is the local control mode, the mobile terminal analyzes the local configuration information provided by the user into a mechanical language that can be recognized by the massager, that is, local control data, and then sends the local configuration information to all massagers on the local side of the user, so that the massagers execute their instructions to perform corresponding massage actions.
205, generating local control data based on the local configuration data;
206, sending the local control data to all massagers except the first massager in the side where the user is located, and controlling all massagers to execute corresponding operations;
in this step, all massagers except the first massager should be understood as massagers which are in a power-on state and can keep a real-time connection state with the user-side mobile terminal, and real-time communication is carried out with the user-side mobile terminal through Bluetooth, so that changed local control data can be received at the first time.
207, if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
208, if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager at the user side based on the first remote control data;
and 209, if yes, acquiring second remote configuration data configured on the application program by the shared party through the cloud platform, generating second remote control data, and controlling the massager on the side where the user is located based on the second remote control data.
The present embodiment describes in detail the process of the local control mode of the massager on the basis of the previous embodiment, by determining the first massager currently controlled by the mobile terminal in the side where the user is located; acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal; alternatively, a pressing operation of a user on the first massager is read through a control link established in advance between the mobile terminal and the first massager, state change information is determined based on the pressing operation, and local configuration data corresponding to the first massager is generated based on the state change information. Generating local control data based on the local configuration data; and sending the local control data to all massagers except the first massager in the user side, and controlling all massagers to execute corresponding operations. Compared with the local control mode of the traditional massager, the method enriches various local control modes and improves the interestingness of the massager.
Referring to fig. 3, a third embodiment of the control method of the massager in the embodiment of the present invention includes:
301, acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform, and determining a control mode of the massager according to the operation instruction;
302, if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
303, if not, acquiring a sharing link through the cloud platform, and sending the sharing link to the shared party, wherein the sharing link is an IP address for calling a preset H5 page;
304, when it is detected that the shared party clicks the sharing link to enter the H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to the mobile terminal of the user side;
in this step, the requirements for the network speed are different due to the different control modes. Therefore, a lowest network speed value can be set according to different control modes. When the shared party enters a preset H5 page, confirming the network speed information, and when the speed measured by the shared party is lower than the lowest network speed value, prompting that the network connection is unstable; and when the speed measurement of the shared party is between the control mode applied at the low network speed and the control mode applied at the high network speed, dynamically displaying the control mode with the requirement lower than the network speed value of the shared party.
305, controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data;
in this embodiment, when the user initiates sharing, the cloud platform calls a preset H5 page with a console, and generates a temporary sharing link by combining with the control of the user side massager authority data, leading to the IP address of the preset H5 page. When the shared party accesses the sharing link, the H5 webpage collects first remote configuration data of the shared party, such as "select massage mode" or "touch operation", through a preset SDK, sends the first remote data to the user side mobile terminal through the cloud platform, generates first remote control data through analysis, and controls the massager.
And 306, controlling the massager on the user side according to the first remote control data.
307, if yes, obtaining second remote configuration data configured on the application program by the shared party through the cloud platform, generating second remote control data, and controlling the massager on the side where the user is located based on the second remote control data.
The embodiment describes in detail the process of controlling the user side massager through the H5 page on the basis of the previous embodiment, acquires a sharing link through the cloud platform, and sends the sharing link to the shared party, wherein the sharing link is an IP address for calling a preset H5 page; when the shared party is detected to click the sharing link to enter an H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to a mobile terminal at the side where a user is located; controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data; and controlling the massager on the user side according to the first remote control data. Compared with the control mode of the traditional massager, the method has the advantages that a remote control mode is added, and the interactive convenience of the massager is improved.
Referring to fig. 4, a fourth embodiment of the control method of the massager in the embodiment of the present invention includes:
401, acquiring an operation instruction sent by a user at a mobile terminal through a cloud platform, and determining a control mode of a massager according to the operation instruction;
402, if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
403, if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager on the side where the user is located based on the first remote control data;
404, if yes, extracting the authority parameters set by the user on the application program, and determining the sharing authority based on the authority parameters;
405, acquiring second remote configuration data configured on the application program by the shared party;
in this embodiment, when it is determined that the mobile terminal of the shared party installs the application, the application control interface may collect second remote configuration data of the shared party, for example, a "certain mode" in the fixed mode, by clicking a fixed mode preset on the application control interface or by using a gesture and a sliding speed of a finger; in the 'gesture control' in the touch mode, the finger respectively clicks, long presses or slides on the touch screen, and the input speed and other parameters are input. The application collects second remote configuration data and sends the second remote configuration data to the mobile terminal of the user side, and the mobile terminal converts the second remote configuration data into second remote control data capable of being identified by the massager and sends the second remote control data to the massager through Bluetooth connection to control the massager.
406, extracting control parameters in the second remote configuration data based on the sharing authority;
407, generating second remote control data according to the control parameters;
and 408, controlling the massager on the side of the user based on the second remote control data.
On the basis of the previous embodiment, the embodiment describes a process in which a user side and a shared party control each other in detail, and determines sharing permission based on permission parameters by extracting permission parameters set by a user on an application program; acquiring second remote configuration data configured on the application program by the shared party; extracting control parameters in the second remote configuration data based on the sharing permission; generating second remote control data according to the control parameters; and controlling the massager on the side where the user is located based on the second remote control data. Compared with the control mode of the traditional massager, the method has the advantages that the mode that the massager is controlled by the mobile terminal and the two parties in a shared mode is added, and the interactivity of the massager is improved.
Referring to fig. 5, a fifth embodiment of the control method of the massager in the embodiment of the present invention includes:
501, acquiring an operation instruction sent by a user at a mobile terminal through a cloud platform, and determining a control mode of a massager according to the operation instruction;
502, if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
503, if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager on the user side based on the first remote control data;
and 504, if yes, obtaining second remote configuration data configured on the application program by the shared party through the cloud platform, generating second remote control data, and controlling the massager on the side where the user is located based on the second remote control data.
505, judging whether the shared party opens the sharing authority of the massager;
506, if yes, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data;
507, sending the third remote control data to all massagers in the shared party;
and 508, all massagers in the sharing party execute corresponding operation processes according to the third remote control data.
In this embodiment, after the shared party skips to the application by clicking the sharing link, the shared party needs to select whether to share the control right of the local massager. When the shared party determines the sharing control authority, the application program on the user side obtains the massager control authority of the shared party. The user can acquire third remote configuration data of the user side by clicking a preset fixed mode on the application control interface or by the gesture and the sliding speed of a finger, for example, a certain mode in the fixed mode; in the 'gesture control' in the touch mode, the finger respectively clicks, long presses or slides on the touch screen, and the input speed and other parameters are input. The application collects third remote configuration data and sends the third remote configuration data to the mobile terminal of the shared party, and the mobile terminal converts the third remote configuration data into third remote control data capable of being identified by the massager and sends the third remote control data to the massager of the shared party through Bluetooth connection to control the massager.
On the basis of the previous embodiment, the embodiment describes a process that a user side and a shared party are mutually controlled through a massager in detail, and whether the shared party opens the sharing authority of the massager is judged; if so, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data; sending the third remote control data to all massagers in the shared party; and all massagers in the sharing party execute corresponding operation processes according to the third remote control data. Compared with the control mode of the traditional massager, the method has the advantages that the mode of controlling the massager by sharing the massager by the two parties through changing the state information of the massager is added, and the interactivity of the massager is improved.
With reference to fig. 6, the control method of the massage apparatus according to the embodiment of the present invention is described above, and the control apparatus of the massage apparatus according to the embodiment of the present invention is described below, in which one embodiment of the control apparatus of the massage apparatus according to the present invention includes:
the judging module 601 is used for acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform and determining a control mode of the massager according to the operation instruction;
a detecting module 602, configured to determine a shared party in the remote control mode when the control mode is the remote control mode, and detect whether an application program for controlling the massager is installed in the shared party;
the webpage calling module 603 is configured to, when the shared party does not install an application program for controlling a massager, obtain an H5 page scheduled by the shared party through the cloud platform, extract first remote configuration data in the H5 page, generate first remote control data, and control the massager on the side where the user is located based on the first remote control data;
the program calling module 604 is configured to, when the shared party installs the application program for controlling the massager, obtain second remote configuration data configured on the application program by the shared party through the cloud platform, generate second remote control data, and control the massager on the side where the user is located based on the second remote control data.
In the embodiment of the invention, the massager control device runs the massager control method, and comprises the steps of obtaining an operation instruction sent by a user at a mobile terminal through a cloud platform, and determining a control mode of a massager according to the operation instruction; if the control mode is the remote control mode, determining the shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party; if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager at the user side based on the first remote control data; if yes, second remote configuration data configured on the application program by the shared party are obtained through the cloud platform, second remote control data are generated, and the massager on the side where the user is located is controlled based on the second remote control data. The invention adopts two large control directions of local control and remote control, wherein the local control is bidirectional interaction between the massager and the local mobile terminal, and the remote control is multi-party interaction between the massager and the local mobile terminal as well as between the remote mobile terminal and the remote massager, so that the traditional massager realizes wireless control, remote control, cross-region control and linkage control among a plurality of massagers.
Referring to fig. 7, a second embodiment of the control device of the massage apparatus according to the embodiment of the present invention includes:
the judging module 601 is used for acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform and determining a control mode of the massager according to the operation instruction;
a detecting module 602, configured to determine a shared party in the remote control mode when the control mode is the remote control mode, and detect whether an application program for controlling the massager is installed in the shared party;
the webpage calling module 603 is configured to, when the shared party does not install an application program for controlling a massager, obtain an H5 page scheduled by the shared party through the cloud platform, extract first remote configuration data in the H5 page, generate first remote control data, and control the massager on the side where the user is located based on the first remote control data;
the program calling module 604 is configured to, when the shared party installs the application program for controlling the massager, obtain second remote configuration data configured on the application program by the shared party through the cloud platform, generate second remote control data, and control the massager on the side where the user is located based on the second remote control data.
In this embodiment, the massager control device further includes a local control module 605, and the local control module 605 specifically includes:
a configuration obtaining unit 6051, configured to obtain local configuration data of a first massager collected by the mobile terminal, where the first massager is a massager currently being controlled in a side where a user is located, and the local configuration information is one of touch information and state change information;
a data generation unit 6052 for generating local control data based on the local configuration data;
a data execution unit 6053 for sending local control data to all massagers except the first massager in the user's side and controlling all massagers to execute corresponding operations.
In this embodiment, the configuration acquiring unit 6051 is specifically configured to:
determining a first massager controlled by the mobile terminal at the side where the user is located;
acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal;
alternatively, a pressing operation of a user on the first massager is read through a control link established in advance between the mobile terminal and the first massager, state change information is determined based on the pressing operation, and local configuration data corresponding to the first massager is generated based on the state change information.
In this embodiment, the web page calling module 603 is specifically configured to:
the method comprises the steps of obtaining a sharing link through a cloud platform, and sending the sharing link to a shared party, wherein the sharing link is an IP address for calling a preset H5 page;
when the shared party is detected to click the sharing link to enter an H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to a mobile terminal at the side where a user is located;
controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data;
and controlling the massager on the user side according to the first remote control data.
In this embodiment, the program calling module 604 is specifically configured to:
the method comprises the steps of extracting authority parameters set by a user on an application program, and determining sharing authority based on the authority parameters;
acquiring second remote configuration data configured on the application program by the shared party; extracting control parameters in the second remote configuration data based on the sharing permission;
generating second remote control data according to the control parameters; and controlling the massager on the side where the user is located based on the second remote control data.
In this embodiment, the massager control device further includes a sharing module 606, and the sharing module is specifically configured to:
judging whether the shared party opens the sharing authority of the massager or not;
if so, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data;
sending the third remote control data to all massagers in the shared party; and all massagers in the sharing party execute corresponding operation processes according to the third remote control data.
On the basis of the previous embodiment, the specific functions of each module and the unit composition of part of the modules are described in detail, and through the newly added modules, when the shared party determines the sharing control authority, the application program on the user side will obtain the massager control authority of the shared party. The user can acquire third remote configuration data of the user side by clicking a preset fixed mode on the application control interface or by the gesture and the sliding speed of a finger, for example, a certain mode in the fixed mode; in the 'gesture control' in the touch mode, the finger respectively clicks, long presses or slides on the touch screen, and the input speed and other parameters are input. The application collects third remote configuration data and sends the third remote configuration data to the mobile terminal of the shared party, and the mobile terminal converts the third remote configuration data into third remote control data capable of being identified by the massager and sends the third remote control data to the massager of the shared party through Bluetooth connection to control the massager.
The control device of the massager in the embodiment of the present invention is described in detail in terms of the modular functional entity in fig. 6 and 7 above, and the control device of the massager in the embodiment of the present invention is described in detail in terms of the hardware processing below.
Fig. 8 is a schematic structural diagram of a massager control device 800, which may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 810 (e.g., one or more processors) and a memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 833 or data 832. Memory 820 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instructions operating on the massager control apparatus 800. Still further, the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the massager control apparatus 800 to implement the steps of the massager control method described above.
The massager control apparatus 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input-output interfaces 860, and/or one or more operating systems 831, such as Windows service, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the massager control apparatus configuration illustrated in fig. 8 does not constitute a limitation of the massager control apparatus provided herein and may include more or fewer components than illustrated, or some components in combination, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and which may also be a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the massager control method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A massager control method is applied to a massager control system, the massager control system at least comprises at least one massager, a mobile terminal and a cloud platform, and the massager control method comprises the following steps:
acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform, and determining the massager control mode according to the operation instruction;
if the control mode is a remote control mode, determining a shared party in the remote control mode, and detecting whether an application program for controlling the massager is installed in the shared party;
if not, acquiring an H5 page scheduled by the shared party through the cloud platform, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling a massager on the side where the user is located based on the first remote control data;
and if so, acquiring second remote configuration data configured on the application program by the shared party through the cloud platform, generating second remote control data, and controlling the massager on the side where the user is located based on the second remote control data.
2. The massager control method as claimed in claim 1, wherein if the control mode is a local control mode, the massager control method further comprises:
acquiring local configuration data of a first massager acquired by the mobile terminal, wherein the first massager is a massager currently controlled in the side where a user is located, and the local configuration information is one of touch information and state change information;
generating local control data based on the local configuration data;
and sending the local control data to all massagers except the first massager on the side where the user is located, and controlling all massagers to execute corresponding operations.
3. The massager control method of claim 2, wherein the obtaining of the local configuration data of the first massager collected by the mobile terminal comprises:
determining a first massager controlled by the mobile terminal currently in the side where the user is located;
acquiring touch information of a user on the mobile terminal, and generating local configuration data corresponding to the first massager based on the touch information, wherein the touch information is a set of clicking operations of the user based on a human body acupuncture point map displayed on the mobile terminal;
alternatively, the first and second electrodes may be,
reading a pressing operation of a user on the first massager through a control link established in advance between the mobile terminal and the first massager, determining state change information based on the pressing operation, and generating local configuration data corresponding to the first massager based on the state change information.
4. The massager control method as claimed in claim 1, wherein the obtaining, by the cloud platform, the H5 page scheduled by the shared party, extracting the first remote configuration data in the H5 page, and generating the first remote control data, and the controlling the massager on the user side based on the first remote control data comprises:
obtaining a sharing link through the cloud platform, and sending the sharing link to the shared party, wherein the sharing link is an IP address for calling a preset H5 page;
when the shared party is detected to click the sharing link to enter the H5 page, triggering a preset SDK to acquire first remote configuration data configured on the H5 page by the shared party, and sending the first remote configuration data to a mobile terminal at the side where a user is located;
controlling the mobile terminal to generate corresponding first remote control data according to the first remote configuration data;
and controlling the massager on the user side according to the first remote control data.
5. The massager control method as claimed in claim 1, wherein the obtaining, by the cloud platform, second remote configuration data configured on the application program by the shared party, generating second remote control data, and controlling the massager on the side of the user based on the second remote control data comprises:
the permission parameters set by the user on the application program are extracted, and sharing permission is determined based on the permission parameters;
acquiring second remote configuration data configured on the application program by the shared party;
extracting control parameters in the second remote configuration data based on the sharing permission;
generating second remote control data according to the control parameters;
and controlling the massager on the side where the user is located based on the second remote control data.
6. The massager control method of claim 1, further comprising, after the detecting whether an application controlling the massager has been installed in the shared party:
judging whether the shared party opens the sharing authority of the massager or not;
if so, calling out an application program in the shared party, configuring third remote configuration data on the application program, and generating third remote control data based on the third remote configuration data;
sending the third remote control data to all massagers in the shared party;
and all massagers in the sharing party execute corresponding operation processes according to the third remote control data.
7. A massager control device is applied to a massager control system, the massager control system at least comprises at least one massager, a mobile terminal and a cloud platform, and the massager control device comprises:
the judging module is used for acquiring an operation instruction sent by a user at the mobile terminal through the cloud platform and determining a control mode of the massager according to the operation instruction;
the detection module is used for determining a shared party in the remote control mode and detecting whether an application program for controlling the massager is installed in the shared party or not when the control mode is the remote control mode;
the webpage calling module is used for acquiring an H5 page scheduled by the shared party through the cloud platform when the shared party does not install an application program for controlling the massager, extracting first remote configuration data in the H5 page, generating first remote control data, and controlling the massager on the side where the user is located based on the first remote control data;
and the program calling module is used for acquiring second remote configuration data configured on the application program by the shared party through the cloud platform when the shared party installs the application program for controlling the massager, generating second remote control data and controlling the massager at the side where the user is located based on the second remote control data.
8. The massager control apparatus of claim 7, further comprising a local control module, the local control module being configured to:
acquiring local configuration data of a first massager acquired by the mobile terminal, wherein the first massager is a massager currently controlled in the side where a user is located, and the local configuration information is one of touch information and state change information;
generating local control data based on the local configuration data;
and sending the local control data to all massagers except the first massager on the side where the user is located, and controlling all massagers to execute corresponding operations.
9. A massager control apparatus, characterized by comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the massager control apparatus to perform the steps of the massager control method of any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the massager control method as claimed in any one of claims 1 to 6.
CN202111300433.5A 2021-11-04 2021-11-04 Massager control method, device, equipment and storage medium Pending CN114157547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111300433.5A CN114157547A (en) 2021-11-04 2021-11-04 Massager control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111300433.5A CN114157547A (en) 2021-11-04 2021-11-04 Massager control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114157547A true CN114157547A (en) 2022-03-08

Family

ID=80459339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111300433.5A Pending CN114157547A (en) 2021-11-04 2021-11-04 Massager control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114157547A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101955536B1 (en) * 2018-03-08 2019-03-07 박재원 Method for providing massage-pattern sharing service based on connection between massage chair and terminal device
CN113143749A (en) * 2021-03-03 2021-07-23 珠海美佳音科技有限公司 Acupoint massage device and massage control method thereof
US20210275388A1 (en) * 2020-03-04 2021-09-09 Innovative Vending Solutions Llc Systems and methods for user control of electronic chairs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101955536B1 (en) * 2018-03-08 2019-03-07 박재원 Method for providing massage-pattern sharing service based on connection between massage chair and terminal device
US20210275388A1 (en) * 2020-03-04 2021-09-09 Innovative Vending Solutions Llc Systems and methods for user control of electronic chairs
CN113143749A (en) * 2021-03-03 2021-07-23 珠海美佳音科技有限公司 Acupoint massage device and massage control method thereof

Similar Documents

Publication Publication Date Title
KR102150774B1 (en) Method and apparatus for loading a terminal application
RU2672714C2 (en) Multi-input control method and system and electronic device supporting same
KR100993331B1 (en) Apparatus and method for managing user schedule
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
WO2018120884A1 (en) Method and system for controlling mobile device by pc terminal
CN103631556A (en) Method, mobile terminal and system for remote control over display device
CN106708363A (en) Mistaken touch preventive method and device for display interface and mobile terminal
CN104317390A (en) Method and system for replacing mouse operation by multiple gestures based on virtual machine of mobile terminal
CN102591671A (en) Method for starting application program in virtual environment
CN111078104A (en) Redirection method of multi-point touch equipment on cloud desktop and computer equipment
US20220244845A1 (en) Method, device, electronic device, and storage medium for sending and receiving message
CN104090752A (en) Method for promoting customization of shortcut icon on desktop of android system
WO2020000263A1 (en) Method and device for calling input method, and server and terminal
CN114157547A (en) Massager control method, device, equipment and storage medium
CN111766987B (en) Application program management method and device and electronic equipment
CN105138697B (en) A kind of search result shows method, apparatus and system
CN107888820A (en) A kind of control method of camera lens, device and terminal
JP2015049658A (en) Information processing terminal and control method therefor, system and control method therefor, and program
CN104049857A (en) System and method for supporting operating system sharing
CN110837404A (en) Shortcut operation processing method and device for internal function module and storage medium
CN105027054A (en) Gesture operation conversion method and apparatus
JP2008146584A (en) Application sharing screen controller, application sharing screen control program, and communication terminal device
CN115567525A (en) Cloud server and multi-terminal adaptation method and system and cloud server
CN103701849A (en) Method and equipment for operating mobile equipment through user equipment
KR101491056B1 (en) Touch screen terminal apparatus and method for supporting mouse user interface in server based computing system of terminal environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination