CN112767934A - Massage equipment control method, related device and computer storage medium - Google Patents

Massage equipment control method, related device and computer storage medium Download PDF

Info

Publication number
CN112767934A
CN112767934A CN202011531124.4A CN202011531124A CN112767934A CN 112767934 A CN112767934 A CN 112767934A CN 202011531124 A CN202011531124 A CN 202011531124A CN 112767934 A CN112767934 A CN 112767934A
Authority
CN
China
Prior art keywords
signal
massage
equipment
instruction
voice signal
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
CN202011531124.4A
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.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies Co Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202011531124.4A priority Critical patent/CN112767934A/en
Publication of CN112767934A publication Critical patent/CN112767934A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Massaging Devices (AREA)

Abstract

The application discloses a massage equipment control method, a related device and a computer storage medium. Wherein, the method comprises the following steps: acquiring a first voice signal of a user; generating an instruction signal based on the first voice signal; and sending an instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network. According to the embodiment of the application, the voice sent by the user can be converted into the instruction signal through the electronic equipment and sent to the massage equipment, and the massage equipment determines the working state of the massage equipment according to the received instruction signal. Therefore, the massage equipment can be controlled and operated without manually starting an application program or a small program in the mobile phone by the user, the hands of the user are liberated, the user can enjoy a series of services provided by the massage equipment during entertainment, and the user experience is effectively improved.

Description

Massage equipment control method, related device and computer storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a massage device control method, a related apparatus, and a computer storage medium.
Background
At present, most massage equipment in the market has a bluetooth function, can realize wireless control of the massage equipment at a mobile phone end, but can complete operations such as opening, adjusting modes, closing and the like only by opening an application program or a small program in the mobile phone by a user, and is not beneficial to user experience.
Disclosure of Invention
The embodiment of the application provides a massage equipment control method, a related device and a computer storage medium, which can recommend proper massage equipment for a user.
In a first aspect, an embodiment of the present application provides a massage apparatus control method, including: acquiring a first voice signal of a user;
generating an instruction signal based on the first voice signal;
and sending the instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network.
In a second aspect, an embodiment of the present application provides a massage apparatus control method, including: receiving an instruction signal sent by electronic equipment; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and executing the command signal, wherein the command signal is used for controlling the working state of the massage equipment.
In a third aspect, an embodiment of the present application provides a massage device control apparatus, including: and sending the instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network. In a fourth aspect, an embodiment of the present application provides a massage device control apparatus, including: the receiving module is used for receiving an instruction signal sent by the electronic equipment; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and the execution module is used for executing the instruction signal, and the instruction signal is used for controlling the working state of the massage equipment.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps provided in the first or second aspect of the embodiments of the present application.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps as provided by the first aspect of the embodiments of the present application.
In a seventh aspect, an embodiment of the present application provides a massage apparatus, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps as provided by the second aspect of the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in the embodiment of the application, a first voice signal of a user is obtained; generating an instruction signal based on the first voice signal; and sending an instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network. According to the embodiment of the application, the voice sent by the user can be converted into the instruction signal through the electronic equipment and sent to the massage equipment, and the massage equipment determines the working state of the massage equipment according to the received instruction signal. Therefore, the massage equipment can be controlled and operated without manually starting an application program or a small program in the mobile phone by the user, the hands of the user are liberated, the user can enjoy a series of services provided by the massage equipment during entertainment, and the user experience is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a massage apparatus control system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a massage apparatus control method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another massage apparatus control method provided in the embodiment of the present application;
fig. 4 is a schematic diagram illustrating a communication relationship between devices in a wireless mesh network in a massage device control method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another massage apparatus control method according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a control device of a massage apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic flow chart of another control device for a massage apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a massage apparatus provided in an embodiment of the present application.
Detailed Description
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 schematically shows a structural diagram of a massage device control system provided in an embodiment of the present application. As shown in fig. 1, the massage device control system 10 may include: a massage device 110 and an electronic device 120. Wherein:
the massage apparatus 110 may be various massage apparatuses having a massage function, such as a neck massage apparatus, a waist massage apparatus, an eye massage apparatus, a massage chair, and the like. The electronic device 120 may be an intelligent sound box, an intelligent mobile phone, an intelligent housekeeper, or other electronic devices that can perform voice interaction with the user and complete a specified voice instruction sent by the user, for example, a hundred-degree mini sound box, an intelligent voice assistant (Siri) of an apple mobile phone, and a hitink smart home platform in hua shi.
The electronic device 120 may perform short-range Communication with the massage device 110, such as but not limited to Wireless Mesh Network (Wireless Mesh Network), bluetooth, Wireless-Fidelity (Wi-Fi), Near Field Communication (NFC), ZigBee, and other Communication methods. The electronic device 120 can convert the voice message sent by the user into a control command and send the control command to the massage device 110 to control the operation state thereof. Such as but not limited to turning on or off any of the massage apparatuses, or switching the working intensity of any of the massage apparatuses, controlling any of the massage apparatuses to play or pause playing music, etc.
Further, the massage apparatus 110 may also be a set of massage apparatuses including a plurality of massage instruments, for example, a set of massage apparatuses including a neck massage instrument, a waist massage instrument, an eye massage instrument, and a leg massage instrument. The electronic device 120 can perform short-distance communication with any one of the massage devices 110 to operate one or more devices in the massage devices 110, for example, the user can send a voice message "activate the eye massage device", and the electronic device 120 can convert the voice message sent by the user into a control command and send the control command to the eye massage device in the massage device 110 to control the eye massage device to enter an operating state. The user may also send out voice information "start the neck massager, the waist massager, and the eye massager", and the electronic device 120 may convert the voice information into a control command and then respectively send the control command to the neck massager, the waist massager, and the eye massager in the massage device 110 to control the operations thereof. In addition, the electronic device according to the embodiment of the present application may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, or the like.
Next, a massage apparatus control method provided in an embodiment of the present application will be described with reference to a massage apparatus control system shown in fig. 1. Fig. 2 is a schematic flow chart illustrating a massage apparatus control method according to an embodiment of the present application. As shown in fig. 2, the massage apparatus control method may include at least the steps of:
s201, the electronic equipment acquires a first voice signal of a user.
The first voice signal is used for representing voice sent by the user, for example, voice of "small degree, open eye massager" sent by the user 1.
Specifically, the electronic device may include a voice wake-up module, a sound collection module, a voice-to-text module, a storage module, a semantic understanding module, an instruction generation module, a text-to-voice module, a network setting module, and an instruction sending module. When a voice awakening module of the electronic device (such as a small-scale sound box) receives an awakening word (such as a small-scale sound box), the voice collecting module collects voice information within a preset range, the voice information of a user is further converted into text information by the voice-to-text module, and the text information is stored in the storage module.
S202, the electronic equipment generates an instruction signal based on the first voice signal.
The instruction signal is used for indicating an instruction generated by the electronic device according to the voice information sent by the user, for example, the small-sized sound box a generates an instruction signal according to the acquired voice signal "turn on the eye massage apparatus" of the user 1.
Specifically, after the semantic understanding module is used for carrying out semantic analysis, word segmentation processing, feature extraction and other operations on the character information converted by the voice-to-text module, the instruction generating module is used for converting the extracted feature information into corresponding instruction signals.
Preferably, the electronic device in the embodiment of the present application may also input the first voice signal into a voice conversion instruction model to obtain an instruction signal, where the voice conversion instruction model may be obtained by machine learning, that is, training the voice signals stored in the voice database to obtain the instruction signal corresponding to each voice signal.
S203, the electronic equipment sends an instruction signal to the massage equipment.
Specifically, the electronic device may pre-select a short-distance communication mode (e.g., wireless mesh network, bluetooth, etc.) with the massage device through the network setting module, and further, the instruction sending module sends the instruction signal to the massage device by using a built-in antenna.
And S204, the massage equipment determines the working state of the massage equipment based on the instruction signal sent by the electronic equipment.
Specifically, after the massage equipment receives an instruction signal sent by the electronic equipment through an internal antenna, modulation and demodulation are carried out to convert the instruction signal into an electric signal which can be identified by a working system in the massage equipment, so that the working system can determine the working state of the massage equipment according to the electric signal.
Wherein, the working state of the massage equipment can include: standby mode, turning on the massage device, performing working mode, turning off the massage device. Wherein, the working mode can include any one or more of the following: daily comfort mode, gentle sleep-aiding mode, speed and passion mode, heating mode, cooling mode, music playing mode and combined mode. The user can also adjust the massage intensity in the daily comfort mode, the gentle sleep-aiding mode, the speed and the motivational mode, for example, the daily comfort mode can comprise 1-5 (from weak to strong) 5 gears, the gentle sleep-aiding mode can comprise 6-10 (from weak to strong) 5 gears, and the speed and motivational mode 11-15 (from weak to strong) 5 gears. The user may also select a combination mode, for example, the user 1 may select to listen to music while performing a daily comfort mode massage, or select to perform a gentle sleep-aid mode massage in a heating mode. In a specific example, the small-scale sound box acquires a first voice signal "small-scale degree" sent by the user 1, and helps me to open the eye massage instrument and the shoulder massage instrument, after the small-scale sound box is awakened, the first voice signal is input into the voice conversion instruction model by using the voice acquisition module to generate an instruction signal for opening the eye massage instrument and the shoulder massage instrument, and the instruction signal is sent to the eye massage instrument and the shoulder massage instrument, and the eye massage instrument and the shoulder massage instrument which receive the instruction signal can automatically enter the working state when being closed last time from the standby mode.
According to the embodiment of the application, the voice sent by the user can be converted into the instruction signal through the electronic equipment and sent to the massage equipment, and the massage equipment determines the working state of the massage equipment according to the received instruction signal. Therefore, the massage equipment can be controlled and operated without manually starting an application program or a WeChat applet in the mobile phone by a user, the hands of the user are liberated, the user can enjoy a series of services provided by the massage equipment during entertainment, and the user experience is effectively improved.
In some possible embodiments, step S203 may further include, before: step S200, determining the associated equipment between the electronic equipment and each massage equipment. The association device is used for representing a device which can be communicated with the electronic device and any massage device, can receive and forward command signals of the electronic device to the massage device, and can also receive and forward feedback signals of the massage device to the electronic device.
Specifically, after the associated device receives the instruction signal sent by the electronic device, the instruction signal can be forwarded to the corresponding massage device according to the address identification information of the massage device carried by the instruction signal, so that modulation and demodulation of the instruction signal which is not used for controlling the associated device are effectively avoided.
Further, the electronic device may send the instruction signal to the massage device through its associated device in the event of a failure to send the instruction signal to the massage device. The condition that the electronic device fails to send the instruction signal to the massage device can be understood as that the electronic device does not receive the feedback signal of the massage device within the preset time.
For example, the related devices between the small-sized sound box and the neck massager include electronic devices such as an intelligent air conditioner, an intelligent electric lamp, an intelligent switch, and an intelligent refrigerator, and when the user 1 wearing the neck massager sends a voice "reduce the working strength of the neck massager" and then moves from the bedroom to the kitchen, the voice signal conversion and the command signal generation require a certain time, so that the command signal is delayed. When the small-scale sound box sends the instruction signal corresponding to the voice signal to the neck massage instrument, because a plurality of obstacles such as a bookshelf, a wall and the like may exist in the linear propagation distance, the strength of the instruction signal in the propagation process is gradually weakened, and the neck massage instrument cannot effectively receive the instruction signal.
Referring to fig. 3, a flow chart of a control method of a massage apparatus is provided in an embodiment of the present application. As shown in fig. 3, the embodiment of the present application specifically includes the following steps:
s301, the electronic equipment broadcasts the equipment within the preset range.
Devices within the preset range in embodiments of the present application may include: massage equipment and first electronic equipment.
The massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network. Preferably, the wireless mesh network is a bluetooth networking communication network that performs message delivery based on broadcasting, and particularly is a peer-to-peer network that uses a network flooding manner without a center and without a route, and can implement many-to-many communication between bluetooth devices, so that the electronic device in the embodiment of the present application may select the wireless mesh network to establish a network topology for many-to-many device communication within a preset range, so as to enable mutual communication between the devices.
Specifically, the user 1 may open the widget software on the mobile phone to perform broadcasting for devices within a preset range. For example, the user 1 selects to start the wireless mesh network in the user setting page of the mini software, and broadcasts the neck massage device, the intelligent electric lamp, the intelligent refrigerator, the intelligent switch and other devices within the range of 15 meters around the mini sound box.
S302, the massage device and the first electronic device receive the broadcast.
Further, the specific process of the electronic device broadcasting the devices within the preset range includes: after receiving the broadcast sent by the electronic device, the massage device and the first electronic device within the preset range can feed back an identification signal needing to be distributed in a network, and after receiving the identification signal (for example, the device name displayed in the setting page of the small-scale software), the electronic device can send out an invitation to the massage device and the first electronic device respectively, where the invitation is a distribution network invitation (PDU), and after receiving the invitation, the massage device and the first electronic device that want to join the wireless mesh network can send back some own distribution network capabilities (for example, network keys and the like).
And S303, based on the preset network key, the electronic equipment, the massage equipment and the first electronic equipment establish a communication connection relation.
The preset network key is, for example, but not limited to, a key value, a public key.
Specifically, the key value may be a password randomly generated when each device leaves a factory or a user-defined password, and the user may establish a communication connection relationship between the electronic device and the massage device and the first electronic device by inputting the password. The exchange process of the public key generally includes: the massage device and the first electronic device encrypt information by using the public key, and if the electronic device successfully decrypts the acquired information by using the private key, the electronic device, the massage device and the first electronic device can establish a communication connection relationship.
Possibly, if the security and reliability of the communication connection relation need to be improved, the embodiment of the application may choose to adopt a mode of exchanging the public key. Because, after the electronic device completes the process of exchanging the public Key with the massage device and the first electronic device, a Session Key (Session Key) is derived, and the electronic device can use the Session Key to encrypt the command signal in the subsequent communication process.
S304, the electronic device determines the first electronic device as a related device.
For example, after the mini sound box and the neck massage instrument, the intelligent electric lamp, the intelligent refrigerator and the intelligent switch within 15 meters of the periphery exchange public keys and are matched successfully to establish a communication connection relationship, the intelligent electric lamp, the intelligent refrigerator and the intelligent switch are determined as associated equipment between the mini sound box and the neck massage instrument.
S305, the electronic equipment acquires a first voice signal of the user.
Specifically, S305 is identical to S201, and is not described herein again.
S306, the electronic equipment generates an instruction signal based on the first voice signal.
Specifically, S305 is identical to S202, and is not described herein again.
S307, the electronic device sends the instruction signal to the related device when the transmission of the instruction signal to the massage device fails.
S308, the associated equipment receives the instruction signal.
S309, the associated equipment transmits the command signal of the electronic equipment to the massage equipment.
Specifically, when the mini sound box fails to send the instruction signal to the neck massager (i.e., the neck massager does not feed back a signal indicating that the receiving of the instruction signal by the mini sound box is successful within the preset time), the intelligent electric lamp, the intelligent refrigerator and the intelligent switch can assist the mini sound box to forward the instruction signal to the neck massager.
And S310, the massage equipment determines the working state of the massage equipment based on the instruction signal forwarded by the associated equipment.
In a specific example, after the user opens the wireless mesh network setting of the mini-software, the mini-speaker broadcasts the neck massage device, shoulder massage device, massage chair, intelligent electric lamp, intelligent switch lamp, etc. within a preset range of 15 meters, when the neck massage device, intelligent electric lamp, intelligent switch lamp, etc. receives the broadcast of the mini-speaker, the device feeds back an identification signal carrying its own device name to the mini-speaker accordingly, and displays the identification signal in the interface of the mini-software, the user 1 can select a plurality of devices including but not limited to the neck massage device, shoulder massage device, massage chair, intelligent electric lamp, intelligent switch lamp, etc. to exchange a common secret key for matching as required, and in case of successful matching, as shown in fig. 4, the neck massage device, eye massage device, intelligent electric lamp, intelligent switch, and intelligent refrigerator are added to the wireless mesh network, to become node devices in a wireless mesh network. Therefore, the intelligent electric lamp, the intelligent switch and the intelligent refrigerator can be associated equipment among the small sound box, the neck massage equipment and the eye massage instrument, and when the instruction signal sent by the small sound box cannot be effectively transmitted to the neck massage equipment or the eye massage instrument, the instruction signal can be forwarded through the intelligent electric lamp, the intelligent switch and the intelligent refrigerator.
Therefore, when the electronic equipment cannot send the instruction signal to the massage equipment, the instruction signal is forwarded through the association equipment between the electronic equipment and the massage equipment, and the transmission path of the instruction signal is changed, so that the success rate of instruction signal transmission is improved, and the user experience is improved.
Referring to fig. 5, a flow chart of a control method of a massage apparatus is provided in an embodiment of the present application. As shown in fig. 4, the embodiment of the present application may specifically include the following steps:
s501, the electronic equipment acquires a first voice signal of a user.
Specifically, S501 is identical to S201, and is not described herein again.
S502, the electronic equipment generates a second voice signal based on the first voice signal.
The second voice signal generated by the electronic equipment in the embodiment of the application is used for feeding back voice information to the user.
Specifically, when the first voice signal sent by the user is not command information, the electronic device feeds back corresponding question information to the user. For example, a first voice signal sent by the user 2 to the iphone is "Siri, i are good and tired", and after the voice assistant system provided in the iphone acquires the first voice signal, a second voice signal "do you need to turn on a massage chair? ".
S503, the electronic equipment acquires a third voice signal sent by the user based on the second voice signal.
The third voice signal is used for representing voice information fed back by a user according to the second voice signal sent by the electronic equipment.
Possibly, the third speech signal emitted by the user may be a positive or negative answer, such as "good", "not available", or a positive answer and command information, such as "good, open the massage bar", or another command information, such as "also open the neck massage bar".
S504, the electronic equipment generates an instruction signal based on the third voice signal.
For example, a first voice signal sent by the user 2 to the iphone is "Siri, i see the iphone for too long and have a bit of eyes", and after the voice assistant of the iphone acquires the first voice signal, a second voice signal "does it need to turn on an eye massager for you to relieve eye fatigue? And feeds back the second voice signal to the user 2. User 2 can send out third voice signal "good according to this second voice signal, opens eye massage appearance bar", and when the apple cell-phone received this third voice signal, can correspond the instruction signal that generates the eye massage appearance of opening.
And S505, the electronic equipment sends a command signal to the massage equipment.
Specifically, S505 is identical to S203, and is not described herein again.
S506, the massage equipment determines the working state of the massage equipment based on the instruction signal sent by the electronic equipment.
Specifically, S506 is identical to S204, and is not described herein again.
Therefore, the embodiment of the application can generate the second voice signal for feeding back the first voice signal under the condition that the electronic equipment captures the first voice signal related to the massage equipment, so that the user is helped to solve the current troubles, and the use frequency of the massage equipment is increased.
In some possible embodiments, the first speech signal carries a keyword. The electronic equipment can generate an instruction signal based on the keyword carried by the first voice signal.
Possibly, a semantic understanding module in the electronic device may perform semantic analysis, word segmentation processing, and feature extraction on the text information to obtain a keyword in the text information, and generate an instruction signal based on the keyword, for example, a first voice signal "Siri" sent by a user, please turn on the keyword "on" and "massage chair" in "massage chair open".
Preferably, the keywords carried by the first voice signal may include: status keywords and/or instruction keywords. The state keywords can be words representing the body state of the user such as pain, sourness, swelling, tiredness and flowers, and the instruction keywords can be words representing user instructions such as turning on a massage chair, turning off an eye massage instrument, stopping a neck massage instrument, increasing the strength of the neck massage instrument, turning down music of the neck massage instrument, pausing the eye massage instrument and turning off the music of the neck massage instrument.
Further, the electronic device may generate a second voice signal based on the status keyword carried by the first voice signal; or generating an instruction signal based on the instruction keyword carried by the first voice signal.
For example, the voice assistant of the apple phone can generate a second voice' tone signal "whether it is necessary to turn on the eye massager for you to relieve eye fatigue based on the first voice signal" Siri "sent by the user, the status keyword" eyeflower "carried in" i see the phone too long to have eyeflower? ". Or based on the first voice signal "Siri" sent by the user, the massage intensity of the massage chair is increased to the instruction keywords "increase", "massage chair", "intensity", "5-gear" carried in the 5-gear "to generate the instruction signal.
In some possible embodiments, the instruction keywords carried by the first speech signal may include part keywords. For example, the instruction keywords "increase", "eye", "massager", and "intensity" carried in the first voice signal "Siri" issued by the user to increase the massage intensity of the eye massager "include the part keyword" eye ".
Preferably, after the electronic device generates the instruction signal and before the electronic device sends the instruction signal to the massage device, the massage device control method of the embodiment of the present application may further include: and determining the massage equipment corresponding to one part keyword according to the part keywords.
Further, the electronic device sends an instruction signal to the massage device corresponding to the part keyword. For example, after the first voice signal is determined to correspond to the eye massager according to the part keyword "eyes" in the above example, the electronic device may send a command signal for increasing the massage intensity to the eye massager.
In some possible implementations, the second voice signal sent by the electronic device carries the query keyword, for example, the second voice signal sent by the voice assistant of the iphone maltese to the user 2 "do you need to turn on the eye massaging device? Whether "in" is the query keyword.
Preferably, the electronic device of the embodiment of the application may acquire the third voice signal sent by the user based on the query keyword carried by the second voice signal. Wherein the third voice signal carries instruction keywords. Further, an instruction signal is generated based on an instruction keyword carried by the third voice signal. For example, is the user 2 "need to turn on the eye massaging device for you based on the second voice signal? And the ' carried inquiry keyword ' is used for judging whether the third voice signal sent by the user is good or not, and opening the bar ' to generate an instruction signal.
In some possible implementations, the instruction keywords carried by the third speech signal in the embodiment of the present application may include a part keyword. For example, the instruction keywords "open", "eye" and "eye" in the "open eye massage apparatus bar" of the third voice signal "good, and the" eye "in the" open eye massage apparatus bar "are the part keywords.
In a specific embodiment, the user 2 starts the wireless mesh network through the setting function in the apple mobile phone, broadcasts a plurality of devices with different functions, such as the SKG massage instrument, the intelligent refrigerator, the intelligent electric lamp, the intelligent switch, and the like in a home, after receiving the broadcast, the devices such as the SKG massage instrument, the intelligent refrigerator, the intelligent electric lamp, the intelligent switch, and the like can correspondingly send a feedback signal to the apple mobile phone, and display the device name of the feedback signal in the setting page, and the user 2 clicks the associated device to be matched in the mobile phone page as required: the apple mobile phone comprises a shoulder massage instrument, a waist massage instrument and an intelligent electric lamp, network keys are matched, and when the matching is successful, the apple mobile phone can establish communication connection relation with the shoulder massage instrument, the waist massage instrument and the intelligent electric lamp. After the user 2 sends a first voice message "Siri, i's backache", the voice assistant feeds back to the user 2 whether the second voice message "needs to start the waist massage instrument" according to the state keywords and the part keywords in the obtained first voice signal, when the user 2 sends a third voice signal "good", the waist massage instrument is turned on, the middle strength bar is adjusted, and the heating is carried out for 5 minutes ", the apple hand turns on the waist massage instrument according to the third voice signal" good ", the instruction keywords in the middle strength bar" turn on the waist massage instrument "," middle strength "and" heating for 5 minutes ", the generated instruction signal is determined to be sent to the waist massage instrument, if a plurality of obstacles exist in the apple hand and the waist massage instrument and cannot effectively transmit the instruction signal, the instruction signal can be intelligently transmitted by using the electric lamp, and after the waist massage instrument receives the instruction signal, the standby mode can be switched to the running mode according to the instruction signal, the working intensity is adjusted to be medium, and the 5-minute heating mode is started.
The massage equipment control method provided by the embodiment of the application can solve the problem that the manual operation of the massage instrument or the control of the massage instrument is complex through the electronic equipment comprising the intelligent voice system, can specifically position the massage equipment at the position through setting the key words, improves the accuracy of equipment positioning, can also set the associated equipment through a wireless mesh network, so that the massage equipment cannot receive the instruction signal in time, and the instruction signal is lost, so that the user experience is improved, and the operation efficiency among the equipment is also improved.
Fig. 6 is a schematic structural diagram of a massage device control apparatus 600 according to an exemplary embodiment of the present application. The massage device control apparatus 600 may be provided in an electronic device such as a terminal device or a server, and execute the massage device control method according to any of the embodiments described above. As shown in fig. 6, the massage device control apparatus 600 includes:
an obtaining module 610, configured to obtain a first voice signal of a user;
a generating module 620, configured to generate an instruction signal based on the first voice signal;
a sending module 630, configured to send the instruction signal to the massage device, where the instruction signal is used to control a working state of the massage device, where the massage device and the electronic device belong to a same networking, and any two devices in the networking are connected through a wireless network.
In some possible embodiments, before the sending module 630, the apparatus further includes: an associated device determination module to determine an associated device between the electronic device and the massage device;
the sending module 630 is specifically configured to: sending the instruction signal to the associated device to cause the associated device to forward the instruction signal to the massage device.
In some possible embodiments, the associated device determining module includes:
the broadcasting unit is used for broadcasting the equipment within the preset range; wherein, the equipment in the preset range comprises: the massage device and the first electronic device;
the communication establishing unit is used for establishing communication connection relations with the massage equipment and the first electronic equipment respectively based on a preset network key under the condition that the massage equipment and the first electronic equipment receive the broadcast;
a determining unit, configured to determine the first electronic device as the associated device.
In some possible embodiments, the communication establishing unit is specifically configured to:
under the condition that the massage equipment and the first electronic equipment receive the broadcast, exchanging respective network keys with the massage equipment and the first electronic equipment for matching;
and under the condition that the network key matching between the electronic equipment and the massage equipment and the first electronic equipment is successful, establishing the communication connection relation with the massage equipment and the first electronic equipment respectively.
In some possible embodiments, the generating module 620 includes:
a first generating unit configured to generate a second voice signal based on the first voice signal; wherein the second voice signal is used for feeding back voice information to the user;
a first obtaining unit, configured to obtain a third voice signal sent by the user based on the second voice signal;
a second generating unit configured to generate the instruction signal based on the third voice signal.
In some possible embodiments, the first speech signal carries a keyword;
the first generating unit is specifically configured to: and generating the instruction signal based on the keyword carried by the first voice signal.
In some possible embodiments, the keywords carried by the first speech signal include: an instruction keyword;
the first generating unit is specifically configured to: and generating the instruction signal based on the instruction keyword carried by the first voice signal.
In some possible embodiments, the instruction keywords carried by the first speech signal include part keywords;
after the generating module 620 and before the sending module 630, the apparatus further includes: the massage equipment determining module is used for determining massage equipment corresponding to the part keywords according to the part keywords;
the sending module 630 is specifically configured to: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
In some possible embodiments, the keywords carried by the first speech signal include: a status keyword;
the first generating unit is specifically configured to: and generating the second voice signal based on the state keyword carried by the first voice signal.
In some possible embodiments, the second speech signal carries a query keyword;
the first obtaining unit is specifically configured to: acquiring a third voice signal sent by the user based on the inquiry keyword carried by the second voice signal; wherein the third voice signal carries instruction keywords;
the second generating unit is specifically configured to: and generating the instruction signal based on the instruction keyword carried by the third voice signal.
In some possible embodiments, the instruction keywords carried by the third speech signal include part keywords;
after the generating module 620 and before the sending module 630, the apparatus further includes: the massage equipment determining module is used for determining massage equipment corresponding to the part keyword according to the part keyword;
the sending module 630 is specifically configured to: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
Fig. 7 is a schematic structural diagram of a massage device control apparatus 700 according to an exemplary embodiment of the present application. The massage apparatus control device 700 may be provided in a massage apparatus and execute the massage apparatus control method according to any of the embodiments described above. As shown in fig. 7, the massage apparatus control device 700 includes:
a receiving module 710, configured to receive an instruction signal sent by an electronic device; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and the execution module 720 is configured to execute the instruction signal, where the instruction signal is used to control the working state of the massage device.
In some possible embodiments, the networking further comprises an association device between the electronic device and the massage device;
the receiving module 710 is specifically configured to: and receiving the instruction signal forwarded by the associated equipment.
In some possible embodiments, the networking further comprises an association device between the electronic device and the massage device; the receiving module 710 is specifically configured to: and receiving the instruction signal forwarded by the associated equipment.
In some possible embodiments, the association device is a first electronic device that establishes a communication connection relationship with the massage device and the electronic device based on a preset network key when receiving a broadcast of the electronic device after the electronic device broadcasts within a preset range; wherein, the equipment in the preset range comprises: the massage device and the first electronic device.
In some possible embodiments, the association device is a first electronic device that establishes a communication connection relationship with the massage device and the electronic device after the electronic device broadcasts within a preset range, and exchanges a network key with the electronic device and matches the network key successfully when the electronic device broadcasts. .
In some possible embodiments, the receiving module 710 is specifically configured to: receiving an instruction signal generated based on the third voice signal and sent by the electronic equipment; the third voice signal is sent by a user, the third voice signal is generated based on a second voice signal sent by the electronic equipment, and the second voice signal is generated based on the first voice signal; wherein the second voice signal is used for feeding back voice information to the user.
In some possible embodiments, the first speech signal carries a keyword;
the receiving module 710 is specifically configured to: and receiving an instruction signal which is sent by the electronic equipment and generated based on the keyword carried by the first voice signal.
In some possible embodiments, the keywords carried by the first speech signal include: an instruction keyword;
the receiving module 710 is specifically configured to: and receiving an instruction signal which is sent by the electronic equipment and generated based on an instruction keyword carried by the first voice signal.
In some possible embodiments, the instruction keywords carried by the first speech signal include part keywords;
the receiving module 710 is specifically configured to: and receiving an instruction signal which is sent by the electronic equipment and generated based on a part keyword in the instruction keywords carried by the first voice signal.
In some possible embodiments, the keywords carried by the first speech signal include: a status keyword;
the second voice signal is generated based on the state keyword carried by the first voice signal.
In some possible embodiments, the second speech signal carries a query keyword;
the third voice signal is generated based on the inquiry keyword carried by the second voice signal;
the third voice signal carries instruction keywords;
the receiving module 710 is specifically configured to: and receiving an instruction signal which is sent by the electronic equipment and generated based on the instruction keyword carried by the third voice signal.
In some possible embodiments, the instruction keywords carried by the third speech signal include part keywords;
the receiving module 710 is specifically configured to: and receiving an instruction signal which is sent by the electronic equipment and generated based on the part keywords in the instruction keywords carried by the third voice signal.
According to the embodiment of the application, the voice sent by the user can be converted into the instruction signal through the electronic equipment and sent to the massage equipment, and the massage equipment determines the working state of the massage equipment according to the received instruction signal. Therefore, the massage equipment can be controlled and operated without manually starting an application program or a WeChat applet in the mobile phone by a user, the hands of the user are liberated, the user can enjoy a series of services provided by the massage equipment during entertainment, and the user experience is effectively improved.
It should be noted that, when the massage device control apparatus provided in the above embodiment executes the massage device control method, only the division of the above functional modules is taken as an example, and in practical applications, the above functions may be distributed to different functional modules according to needs, that is, the internal structure of the massage device may be divided into different functional modules to complete all or part of the above described functions. In addition, the massage device control apparatus and the massage device control method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Fig. 8 schematically illustrates a structural diagram of an electronic device provided in an embodiment of the present application. As shown in fig. 8, the electronic device 800 may include at least: at least one processor 810, at least one network interface 840, a user interface 830, a memory 850, at least one communication bus 820.
Wherein a communication bus 820 is used to enable connective communication between these components.
The user interface 830 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 830 may also include a standard wired interface and a wireless interface.
The network interface 840 may optionally include a standard wired interface or a wireless interface (e.g., WI-FI interface).
Processor 810 may include one or more processing cores, among other things. The processor 810 interfaces with various means and circuitry throughout the electronic device 800 to perform various functions and process data of the electronic device 800 by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 850, as well as invoking data stored in the memory 850. Optionally, the processor 810 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 810 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 the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 810, but may be implemented by a single chip.
The Memory 850 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 850 includes a non-transitory computer-readable medium. The memory 850 may be used to store instructions, programs, code sets, or instruction sets. The memory 850 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 850 may optionally be at least one storage device located remotely from the processor 810 as previously described. As shown in fig. 8, the memory 850, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a massage device control application.
In the electronic device 800 shown in fig. 8, the user interface 830 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and processor 810 may be configured to invoke an application of the electronic device stored in memory 850 and perform the following operations in particular:
acquiring a first voice signal of a user;
generating an instruction signal based on the first voice signal;
and sending the instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network.
In a possible embodiment, the processor 810 further performs, before sending the instruction signal to the massage device:
determining an association device between the electronic device and the massage device;
when the processor 810 sends the instruction signal to the massage device, it specifically executes:
sending the instruction signal to the associated device to cause the associated device to forward the instruction signal to the massage device.
In a possible embodiment, the processor 810, when determining the associated device between the electronic device and the massage device, specifically performs:
broadcasting equipment within a preset range; wherein, the equipment in the preset range comprises: the massage device and the first electronic device;
under the condition that the massage equipment and the first electronic equipment receive the broadcast, respectively establishing communication connection relations with the massage equipment and the first electronic equipment based on a preset network key;
determining the first electronic device as the associated device.
In a possible embodiment, when the massage apparatus and the first electronic device receive a broadcast and establish a communication connection relationship with the massage apparatus and the first electronic device respectively based on the network key, the processor 810 specifically performs:
under the condition that the massage equipment and the first electronic equipment receive the broadcast, exchanging respective network keys with the massage equipment and the first electronic equipment for matching;
and under the condition that the network key matching between the electronic equipment and the massage equipment and the first electronic equipment is successful, establishing the communication connection relation with the massage equipment and the first electronic equipment respectively.
In a possible embodiment, the processor 810 specifically performs, when generating the instruction signal based on the first speech signal:
generating a second speech signal based on the first speech signal; wherein the second voice signal is used for feeding back voice information to the user;
acquiring a third voice signal sent by the user based on the second voice signal;
generating the instruction signal based on the third speech signal.
In one possible embodiment, the first speech signal carries a keyword; when the processor 810 generates an instruction signal based on the first speech signal, specifically: and generating the instruction signal based on the keyword carried by the first voice signal.
In a possible embodiment, the keywords carried by the first speech signal include: an instruction keyword;
when the processor 810 generates the instruction signal based on the keyword carried by the first voice signal, it specifically executes:
and generating the instruction signal based on the instruction keyword carried by the first voice signal.
In one possible embodiment, the instruction keywords carried by the first voice signal include part keywords;
the processor 810 further performs, after generating the instruction signal based on an instruction keyword carried by the first voice signal and before sending the instruction signal to an associated device: determining massage equipment corresponding to the part keywords according to the part keywords;
when the processor 810 sends the instruction signal to the associated device, it specifically executes: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
In a possible embodiment, the keywords carried by the first speech signal include: a status keyword;
the processor 810 specifically executes, when generating a second speech signal based on the first speech signal:
and generating the second voice signal based on the state keyword carried by the first voice signal.
In a possible embodiment, the second speech signal carries a query keyword;
when the processor 810 acquires the third voice signal sent by the user based on the second voice signal, specifically: acquiring a third voice signal sent by the user based on the inquiry keyword carried by the second voice signal; wherein the third voice signal carries instruction keywords;
when the processor 810 generates the instruction signal based on the third speech signal, it specifically performs: and generating the instruction signal based on the instruction keyword carried by the third voice signal.
In a possible embodiment, the instruction keywords carried by the third voice signal include part keywords;
the processor 810, after generating the instruction signal and before sending the instruction signal to an associated device, further performs: determining massage equipment corresponding to the part keyword according to the part keyword;
when the processor 810 sends the instruction signal to the associated device, it specifically executes: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
Please refer to fig. 9, which provides a schematic structural diagram of a massage apparatus according to an embodiment of the present application. As shown in fig. 9, the massage apparatus 900 may include: at least one processor 910, at least one network interface 940, a user interface 930, memory 950, at least one communication bus 920.
Wherein a communication bus 920 is used to enable connective communication between these components.
The user interface 930 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 930 may also include a standard wired interface and a wireless interface.
The network interface 940 may optionally include a standard wired interface or a wireless interface (e.g., WI-FI interface).
Processor 910 may include one or more processing cores, among other things. The processor 910 interfaces various components throughout the electronic device 900 using various interfaces and lines to perform various functions of the electronic device 900 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 950 and invoking data stored in the memory 950. Optionally, the processor 910 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 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 the content required to be displayed by the display screen; 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 single chip.
The Memory 950 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 950 includes a non-transitory computer-readable medium. The memory 950 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 950 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for 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 store data and the like referred to in the above respective method embodiments. The memory 950 may optionally be at least one storage device located remotely from the processor 910. As shown in fig. 9, the memory 950, which is one type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a massage device control application program.
In the electronic device 900 shown in fig. 9, the user interface 930 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 910 may be configured to invoke an application program of the electronic device stored in the memory 950 and specifically perform the following operations:
receiving an instruction signal sent by electronic equipment; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and executing the command signal, wherein the command signal is used for controlling the working state of the massage equipment.
In a possible embodiment, the networking further comprises an association device between the electronic device and the massage device;
the processor 910, when executing the instruction signal sent by the receiving electronic device, specifically executes: and receiving the instruction signal forwarded by the associated equipment.
In a possible embodiment, the association device is a first electronic device that establishes a communication connection relationship with the massage device and the electronic device based on a preset network key after the electronic device broadcasts within a preset range and receives the broadcast of the electronic device; wherein, the equipment in the preset range comprises: the massage device and the first electronic device.
In a possible embodiment, the association device is a first electronic device that establishes a communication connection relationship with the electronic device after the electronic device broadcasts within a preset range, and exchanges a network key with the massage device and the electronic device and matches the network key successfully under the condition that the broadcast of the electronic device is received.
In a possible embodiment, when executing the instruction signal sent by the receiving electronic device, the processor 910 specifically performs: receiving an instruction signal generated based on the third voice signal and sent by the electronic equipment; the third voice signal is sent by a user, the third voice signal is generated based on a second voice signal sent by the electronic equipment, and the second voice signal is generated based on the first voice signal; wherein the second voice signal is used for feeding back voice information to the user.
In one possible embodiment, the first speech signal carries a keyword;
when the processor 910 executes the instruction signal sent by the receiving electronic device, specifically execute:
and receiving an instruction signal which is sent by the electronic equipment and generated based on the keyword carried by the first voice signal.
In a possible embodiment, the keywords carried by the first speech signal include: an instruction keyword;
the receiving of the instruction signal generated based on the keyword carried by the first voice signal and sent by the electronic device includes: and receiving an instruction signal which is sent by the electronic equipment and generated based on an instruction keyword carried by the first voice signal.
In one possible embodiment, the instruction keywords carried by the first voice signal include part keywords;
when the processor 910 executes the instruction signal generated based on the instruction keyword carried by the first voice signal and sent by the electronic device, specifically execute: and receiving an instruction signal which is sent by the electronic equipment and generated based on a part keyword in the instruction keywords carried by the first voice signal.
In a possible embodiment, the keywords carried by the first speech signal include: a status keyword;
the second voice signal is generated based on the state keyword carried by the first voice signal.
In a possible embodiment, the second speech signal carries a query keyword;
the third voice signal is generated based on the inquiry keyword carried by the second voice signal;
the third voice signal carries instruction keywords;
when the processor 910 executes the instruction signal generated based on the third speech signal sent by the receiving electronic device, specifically execute: and receiving an instruction signal which is sent by the electronic equipment and generated based on the instruction keyword carried by the third voice signal.
In a possible embodiment, the instruction keywords carried by the third speech signal include part keywords;
when the processor 910 executes the instruction signal generated based on the instruction keyword carried by the third speech signal and sent by the receiving electronic device, specifically execute: and receiving an instruction signal which is sent by the electronic equipment and generated based on the part keywords in the instruction keywords carried by the third voice signal.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
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 computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks. The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
The above-described embodiments are merely preferred embodiments of the present application, and are not intended to limit the scope of the present application, and various modifications and improvements made to the technical solutions of the present application by those skilled in the art without departing from the design spirit of the present application should fall within the protection scope defined by the claims of the present application.

Claims (27)

1. A massage apparatus control method applied to an electronic apparatus, the method comprising:
acquiring a first voice signal of a user;
generating an instruction signal based on the first voice signal;
and sending the instruction signal to the massage equipment, wherein the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network.
2. The method of claim 1, wherein prior to sending the command signal to the massage device, the method further comprises:
determining an association device between the electronic device and the massage device;
the sending the instruction signal to the massage device includes:
sending the instruction signal to the associated device to cause the associated device to forward the instruction signal to the massage device.
3. The method of claim 2, wherein the determining the associated device between the electronic device and the massage device comprises:
broadcasting equipment within a preset range; wherein, the equipment in the preset range comprises: the massage device and the first electronic device;
under the condition that the massage equipment and the first electronic equipment receive the broadcast, respectively establishing communication connection relations with the massage equipment and the first electronic equipment based on a preset network key;
determining the first electronic device as the associated device.
4. The method of claim 3, wherein establishing a communication connection with the massage device and the first electronic device, respectively, based on the network key, if the massage device and the first electronic device receive a broadcast, comprises:
under the condition that the massage equipment and the first electronic equipment receive the broadcast, exchanging respective network keys with the massage equipment and the first electronic equipment for matching;
and under the condition that the network key matching between the electronic equipment and the massage equipment and the first electronic equipment is successful, establishing the communication connection relation with the massage equipment and the first electronic equipment respectively.
5. The method of claim 1, wherein generating an instruction signal based on the first speech signal comprises:
generating a second speech signal based on the first speech signal; wherein the second voice signal is used for feeding back voice information to the user;
acquiring a third voice signal sent by the user based on the second voice signal;
generating the instruction signal based on the third speech signal.
6. The method of any of claims 2-4, wherein the first speech signal carries a keyword;
generating, based on the first speech signal, an instruction signal, comprising: and generating the instruction signal based on the keyword carried by the first voice signal.
7. The method of claim 6, wherein the keywords carried by the first speech signal comprise: an instruction keyword;
the generating the instruction signal based on the keyword carried by the first voice signal comprises:
and generating the instruction signal based on the instruction keyword carried by the first voice signal.
8. The method of claim 7, wherein the instruction keywords carried by the first speech signal include a part keyword;
after the instruction signal is generated based on the instruction keyword carried by the first voice signal and before the instruction signal is sent to the associated device, the method further includes: determining massage equipment corresponding to the part keywords according to the part keywords;
the sending the instruction signal to the associated device includes: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
9. The method of claim 6, wherein the keywords carried by the first speech signal comprise: a status keyword;
the generating a second speech signal based on the first speech signal comprises:
and generating the second voice signal based on the state keyword carried by the first voice signal.
10. The method of claim 9, wherein the second speech signal carries a query keyword;
the obtaining of the third voice signal sent by the user based on the second voice signal comprises: acquiring a third voice signal sent by the user based on the inquiry keyword carried by the second voice signal; wherein the third voice signal carries instruction keywords;
the generating the instruction signal based on the third speech signal comprises: and generating the instruction signal based on the instruction keyword carried by the third voice signal.
11. The method of claim 10, wherein the instruction keywords carried by the third speech signal include a part keyword;
after the generating the instruction signal and before the sending the instruction signal to the associated device, the method further comprises:
determining massage equipment corresponding to the part keyword according to the part keyword;
the sending the instruction signal to the associated device includes: and sending the instruction signal to the associated equipment so as to enable the associated equipment to forward the instruction signal to the massage equipment corresponding to the part keyword.
12. A massage apparatus control method, which is applied to a massage apparatus, characterized by comprising:
receiving an instruction signal sent by electronic equipment; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and executing the command signal, wherein the command signal is used for controlling the working state of the massage equipment.
13. The method of claim 12, further comprising an association device in the network between the electronic device and the massage device;
the receiving of the instruction signal sent by the electronic device includes:
and receiving the instruction signal forwarded by the associated equipment.
14. The method of claim 13, wherein the association device is a first electronic device which establishes a communication connection relationship with the massage device and the electronic device based on a preset network key when receiving the broadcast of the electronic device after the electronic device broadcasts within a preset range; wherein, the equipment in the preset range comprises: the massage device and the first electronic device.
15. The method of claim 14, wherein the association device is a first electronic device that establishes a communication connection relationship with the massage device and the electronic device after the electronic device broadcasts within a preset range and exchanges a network key with the electronic device and matches the network key successfully when receiving the broadcast of the electronic device.
16. The method of claim 12, wherein receiving the command signal transmitted by the electronic device comprises: receiving an instruction signal generated based on the third voice signal and sent by the electronic equipment; the third voice signal is sent by a user, the third voice signal is generated based on a second voice signal sent by the electronic equipment, and the second voice signal is generated based on the first voice signal; wherein the second voice signal is used for feeding back voice information to the user.
17. The method of any of claims 12-16, wherein the first speech signal carries a keyword;
the receiving of the instruction signal sent by the electronic device includes:
and receiving an instruction signal which is sent by the electronic equipment and generated based on the keyword carried by the first voice signal.
18. The method of claim 17, wherein the keywords carried by the first speech signal comprise: an instruction keyword;
the receiving of the instruction signal generated based on the keyword carried by the first voice signal and sent by the electronic device includes: and receiving an instruction signal which is sent by the electronic equipment and generated based on an instruction keyword carried by the first voice signal.
19. The method of claim 18, wherein the instruction keywords carried by the first speech signal include a part keyword;
the receiving of the instruction signal generated based on the instruction keyword carried by the first voice signal and sent by the electronic device includes: and receiving an instruction signal which is sent by the electronic equipment and generated based on a part keyword in the instruction keywords carried by the first voice signal.
20. The method of claim 16, wherein the keywords carried by the first speech signal comprise: a status keyword;
the second voice signal is generated based on the state keyword carried by the first voice signal.
21. The method of claim 20, wherein the second voice signal carries a query keyword;
the third voice signal is generated based on the inquiry keyword carried by the second voice signal;
the third voice signal carries instruction keywords;
the receiving of the instruction signal generated based on the third voice signal sent by the electronic device comprises: and receiving an instruction signal which is sent by the electronic equipment and generated based on the instruction keyword carried by the third voice signal.
22. The method of claim 21, wherein the instruction keywords carried by the third speech signal include a part keyword;
the receiving of the instruction signal generated based on the instruction keyword carried by the third voice signal and sent by the electronic device includes: and receiving an instruction signal which is sent by the electronic equipment and generated based on the part keywords in the instruction keywords carried by the third voice signal.
23. A massage equipment control device is applied to electronic equipment, and is characterized by comprising:
the acquisition module is used for acquiring a first voice signal of a user;
the generating module is used for generating an instruction signal based on the first voice signal;
the sending module is used for sending the instruction signal to the massage equipment, the instruction signal is used for controlling the working state of the massage equipment, the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network.
24. A massage apparatus control device applied to a massage apparatus, comprising:
the receiving module is used for receiving an instruction signal sent by the electronic equipment; the massage equipment and the electronic equipment belong to the same network, and any two pieces of equipment in the network are connected through a wireless network;
and the execution module is used for executing the instruction signal, and the instruction signal is used for controlling the working state of the massage equipment.
25. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-22.
26. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps according to any of claims 1-11.
27. A massage apparatus, characterized by comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps according to any of claims 12-22.
CN202011531124.4A 2020-12-22 2020-12-22 Massage equipment control method, related device and computer storage medium Pending CN112767934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011531124.4A CN112767934A (en) 2020-12-22 2020-12-22 Massage equipment control method, related device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011531124.4A CN112767934A (en) 2020-12-22 2020-12-22 Massage equipment control method, related device and computer storage medium

Publications (1)

Publication Number Publication Date
CN112767934A true CN112767934A (en) 2021-05-07

Family

ID=75695134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011531124.4A Pending CN112767934A (en) 2020-12-22 2020-12-22 Massage equipment control method, related device and computer storage medium

Country Status (1)

Country Link
CN (1) CN112767934A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113855542A (en) * 2021-09-08 2021-12-31 广州灵聚信息科技有限公司 Method and device for realizing intelligent massage based on intelligent voice interaction
CN116582382A (en) * 2023-07-11 2023-08-11 北京探境科技有限公司 Intelligent device control method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490890A (en) * 2014-09-16 2016-04-13 中兴通讯股份有限公司 Intelligent household terminal and control method therefor
CN107566234A (en) * 2017-10-20 2018-01-09 成都六零加信息技术有限公司 Intelligent home control system and constructing communication network method
CN108447480A (en) * 2018-02-26 2018-08-24 深圳市晟瑞科技有限公司 Method, intelligent sound terminal and the network equipment of smart home device control
CN110850736A (en) * 2019-11-12 2020-02-28 北京声智科技有限公司 Control method and system
CN111554291A (en) * 2020-05-18 2020-08-18 中移(杭州)信息技术有限公司 Device control method, voice input terminal, voice platform and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490890A (en) * 2014-09-16 2016-04-13 中兴通讯股份有限公司 Intelligent household terminal and control method therefor
CN107566234A (en) * 2017-10-20 2018-01-09 成都六零加信息技术有限公司 Intelligent home control system and constructing communication network method
CN108447480A (en) * 2018-02-26 2018-08-24 深圳市晟瑞科技有限公司 Method, intelligent sound terminal and the network equipment of smart home device control
CN110850736A (en) * 2019-11-12 2020-02-28 北京声智科技有限公司 Control method and system
CN111554291A (en) * 2020-05-18 2020-08-18 中移(杭州)信息技术有限公司 Device control method, voice input terminal, voice platform and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113855542A (en) * 2021-09-08 2021-12-31 广州灵聚信息科技有限公司 Method and device for realizing intelligent massage based on intelligent voice interaction
CN116582382A (en) * 2023-07-11 2023-08-11 北京探境科技有限公司 Intelligent device control method and device, storage medium and electronic device
CN116582382B (en) * 2023-07-11 2023-09-29 北京探境科技有限公司 Intelligent device control method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN107340991B (en) Voice role switching method, device, equipment and storage medium
CN103949072B (en) Intelligent toy is mutual, transmission method and intelligent toy
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN106062734A (en) Natural language control of secondary device
CN110459221A (en) The method and apparatus of more equipment collaboration interactive voices
CN112767934A (en) Massage equipment control method, related device and computer storage medium
CN102664009B (en) System and method for implementing voice control over video playing device through mobile communication terminal
CN105185378A (en) Voice control method, voice control system and voice-controlled air-conditioner
CN104144093A (en) Intelligent device control method, relevant device and system
CN107452383A (en) A kind of information processing method, server, terminal and information processing system
CN109473109A (en) Data processing method, device and computer readable storage medium
CN108880975B (en) Information display method, device and system
CN109582275A (en) Voice regulation method, device, storage medium and electronic device
CN101632873B (en) Multi-device interactive system and method
CN111221495A (en) Visual interaction method and device and terminal equipment
CN105407445B (en) A kind of connection method and the first electronic equipment
CN109783733A (en) User's portrait generating means and method, information processing unit and storage medium
KR101351264B1 (en) System and method for message translation based on voice recognition
CN206896812U (en) The control system of Intelligent doll
CN109065050A (en) A kind of sound control method, device, equipment and storage medium
CN117424956A (en) Setting item processing method and device, electronic equipment and storage medium
CN108429848A (en) A kind of information processing method, device and equipment
US10587941B2 (en) Microphone cooperation device
CN110910100A (en) Event reminding method, device, terminal, storage medium and system
CN108055655A (en) A kind of method, apparatus, equipment and the storage medium of speech ciphering equipment plusing good friend

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