CN111857326A - Signal control method and device - Google Patents

Signal control method and device Download PDF

Info

Publication number
CN111857326A
CN111857326A CN201910340496.XA CN201910340496A CN111857326A CN 111857326 A CN111857326 A CN 111857326A CN 201910340496 A CN201910340496 A CN 201910340496A CN 111857326 A CN111857326 A CN 111857326A
Authority
CN
China
Prior art keywords
operation instruction
data signal
terminal
signal
module
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.)
Granted
Application number
CN201910340496.XA
Other languages
Chinese (zh)
Other versions
CN111857326B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910340496.XA priority Critical patent/CN111857326B/en
Publication of CN111857326A publication Critical patent/CN111857326A/en
Application granted granted Critical
Publication of CN111857326B publication Critical patent/CN111857326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/015Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Neurosurgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Neurology (AREA)
  • Health & Medical Sciences (AREA)
  • Dermatology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a signal control method and a signal control device. The method comprises the following steps: collecting an electromyographic signal of a target limb, wherein the electromyographic signal indicates a target action of the target limb; and sending a data signal to the terminal according to the electromyographic signal, so that the terminal executes a second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, wherein the second operation instruction is the same as the first operation instruction. According to the technical scheme, the wearable device sends the data signal to the terminal according to the collected myoelectric signal, so that when a user sends a first operation instruction to the terminal, the terminal executes a second operation instruction corresponding to the data signal before receiving the first operation instruction, and the second operation instruction is the same as the first operation instruction, so that the user can feel that the first operation instruction is sent, the terminal executes the first operation instruction without waiting for the time of sending the first operation instruction to the terminal by the user, the control time is shortened, and the user experience is improved.

Description

信号控制方法及装置Signal control method and device

技术领域technical field

本公开涉及通信技术领域,尤其涉及一种信号控制方法及装置。The present disclosure relates to the field of communication technologies, and in particular, to a signal control method and device.

背景技术Background technique

随着信息技术的不断发展和网络技术的日益普及,手机、平板、计算机以及游戏机等终端已成为人们生活中必不可少的设备。With the continuous development of information technology and the increasing popularity of network technology, terminals such as mobile phones, tablets, computers, and game consoles have become indispensable devices in people's lives.

相关技术中,人们在采用肢体对终端进行控制时,通常是大脑发出对应操作的命令,然后神经传输系统将对应操作的命令发送至相应的肢体,肢体在接收到此命令后,在终端上执行与此命令对应的操作,从而实现对终端的控制。In the related art, when people use limbs to control the terminal, it is usually the brain that issues the corresponding operation command, and then the neural transmission system sends the corresponding operation command to the corresponding limb. The operation corresponding to this command realizes the control of the terminal.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中肢体的肌肉系统的反馈时间导致控制时间延长的问题,本公开实施例提供一种信号控制方法及装置。所述技术方案如下:In order to overcome the problem of prolonged control time caused by the feedback time of the muscular system of the limb in the related art, the embodiments of the present disclosure provide a signal control method and device. The technical solution is as follows:

根据本公开实施例的第一方面,提供一种信号控制方法,应用于可穿戴设备,包括采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作;According to a first aspect of the embodiments of the present disclosure, there is provided a signal control method, applied to a wearable device, including collecting an electromyographic signal of a target limb, where the electromyographic signal indicates a target action of the target limb;

根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。Send a data signal to the terminal according to the EMG signal, so that the terminal executes the second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the The first operation instructions are the same.

本公开的实施例提供的技术方案可以包括以下有益效果:可穿戴设备根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the wearable device sends a data signal to the terminal according to the collected EMG signal, so that when the user sends the first operation instruction to the terminal, the terminal is already receiving the first operation instruction. Before the operation instruction, the second operation instruction corresponding to the data signal is executed, and the second operation instruction is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction , without waiting for the time for the user to send the first operation instruction to the terminal, shortening the control time, and further improving the user experience.

在一个实施例中,在所述根据所述肌电信号向终端发送数据信号之前,还包括:In an embodiment, before the sending a data signal to the terminal according to the electromyographic signal, the method further includes:

提取所述肌电信号的特征信息;extracting characteristic information of the electromyographic signal;

所述根据所述肌电信号向终端发送数据信号包括:The sending a data signal to the terminal according to the myoelectric signal includes:

根据所述肌电信号的特征信息获取数据信号,并向终端发送所述数据信号。Acquire a data signal according to the characteristic information of the electromyographic signal, and send the data signal to the terminal.

在一个实施例中,所述根据所述肌电信号向终端发送数据信号包括:In an embodiment, the sending a data signal to the terminal according to the electromyographic signal includes:

通过有线数据传输接口向终端发送数据信号;所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种;Send data signals to the terminal through a wired data transmission interface; the wired data transmission interface includes one of RS232 interface, RS242, and RS485 interface;

或者;or;

通过无线传输模块向终端发送数据信号;所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种。The data signal is sent to the terminal through the wireless transmission module; the wireless transmission module includes one of a WIFI module, a Zigbee wireless module and a Bluetooth module.

在一个实施例中,在所述根据所述肌电信号向终端发送数据信号之后,还包括:In one embodiment, after the sending a data signal to the terminal according to the electromyographic signal, the method further includes:

接收终端发送的响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识;receiving a response message sent by the terminal; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal;

在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息;When it is determined that the response message carries the success identifier of receiving the data signal, displaying the sending success information;

在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。When it is determined that the response message carries the failure flag of receiving the data signal, the data signal is re-sent to the terminal according to the electromyographic signal.

根据本公开实施例的第二方面,提供一种信号控制方法,应用于终端,包括:According to a second aspect of the embodiments of the present disclosure, a signal control method is provided, applied to a terminal, including:

接收数据信号;receive data signals;

执行所述数据信号对应的第二操作指令;executing the second operation instruction corresponding to the data signal;

若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。If the first operation instruction is obtained according to the target action, the execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

本公开的实施例提供的技术方案可以包括以下有益效果:当用户向终端发送第一操作指令时,由于终端在接收到第一操作指令之前,已经执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when the user sends the first operation instruction to the terminal, since the terminal has executed the second operation instruction corresponding to the data signal before receiving the first operation instruction, and The second operation instruction is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the user to send the first operation instruction to the terminal, shortening the time. It can control the time and improve the user experience.

在一个实施例中,所述执行所述数据信号对应的第二操作指令包括:In one embodiment, the executing the second operation instruction corresponding to the data signal includes:

提取所述数据信号的特征信息;extracting characteristic information of the data signal;

根据所述数据信号的特征信息获取第二操作指令,并执行所述第二操作指令。Acquire a second operation instruction according to the characteristic information of the data signal, and execute the second operation instruction.

在一个实施例中,在所述接收数据信号之后,还包括:In one embodiment, after the receiving the data signal, the method further includes:

向可穿戴设备发送响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。A response message is sent to the wearable device; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

根据本公开实施例的第三方面,提供一种信号控制装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a signal control apparatus, including:

采集模块,用于采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作;a collection module, used for collecting the electromyographic signal of the target limb, the electromyographic signal indicating the target movement of the target limb;

第一发送模块,用于根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。a first sending module, configured to send a data signal to the terminal according to the electromyographic signal, so that the terminal executes the second operation instruction corresponding to the data signal before obtaining the first operation instruction according to the target action, and the The second operation instruction is the same as the first operation instruction.

在一个实施例中,还包括提取模块,所述第一发送模块包括第一获取子模块和第一发送子模块;In one embodiment, an extraction module is further included, and the first sending module includes a first obtaining sub-module and a first sending sub-module;

所述提取模块,用于提取所述肌电信号的特征信息;The extraction module is used to extract the characteristic information of the electromyographic signal;

所述第一获取子模块,用于根据所述肌电信号的特征信息获取数据信号;The first acquisition sub-module is configured to acquire a data signal according to the characteristic information of the electromyographic signal;

所述第一发送子模块,用于向终端发送所述数据信号。The first sending submodule is configured to send the data signal to the terminal.

在一个实施例中,所述第一发送模块包括第二发送子模块;In one embodiment, the first sending module includes a second sending sub-module;

所述第二发送子模块,用于通过有线数据传输接口向终端发送数据信号;所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种;The second sending submodule is used for sending data signals to the terminal through a wired data transmission interface; the wired data transmission interface includes one of an RS232 interface, an RS242, and an RS485 interface;

或者;or;

通过无线传输模块向终端发送数据信号;所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种。The data signal is sent to the terminal through the wireless transmission module; the wireless transmission module includes one of a WIFI module, a Zigbee wireless module and a Bluetooth module.

在一个实施例中,还包括第一接收模块、第一确定模块和第二确定模块;In one embodiment, it further includes a first receiving module, a first determining module and a second determining module;

所述第一接收模块,用于接收终端发送的响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识;The first receiving module is configured to receive a response message sent by a terminal; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal;

所述第一确定模块,用于在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息;The first determining module is configured to display successful sending information when it is determined that the response message carries a successful identifier for receiving the data signal;

所述第二确定模块,用于在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。The second determining module is configured to re-send the data signal to the terminal according to the myoelectric signal when it is determined that the response message carries the failure flag of receiving the data signal.

根据本公开实施例的第四方面,提供一种信号控制装置,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided a signal control device, comprising:

第二接收模块,用于接收数据信号;a second receiving module for receiving data signals;

第一执行模块,用于执行所述数据信号对应的第二操作指令;a first execution module, configured to execute the second operation instruction corresponding to the data signal;

第二执行模块,用于在根据目标动作获取到第一操作指令时,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。The second execution module is configured to prohibit execution of the first operation instruction when the first operation instruction is obtained according to the target action, where the first operation instruction is the same as the second operation instruction.

在一个实施例中,所述第一执行模块包括提取子模块、第二获取子模块和执行子模块;In one embodiment, the first execution module includes an extraction sub-module, a second acquisition sub-module and an execution sub-module;

所述提取子模块,用于提取所述数据信号的特征信息;The extraction submodule is used to extract the characteristic information of the data signal;

所述第二获取子模块,用于根据所述数据信号的特征信息获取第二操作指令;the second obtaining sub-module is configured to obtain a second operation instruction according to the characteristic information of the data signal;

所述执行子模块,用于执行所述第二操作指令。The execution submodule is configured to execute the second operation instruction.

在一个实施例中,还包括第二发送模块;In one embodiment, it also includes a second sending module;

所述第二发送模块,用于向可穿戴设备发送响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。The second sending module is configured to send a response message to the wearable device; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

根据本公开实施例的第五方面,提供一种信号控制装置,包括:According to a fifth aspect of the embodiments of the present disclosure, there is provided a signal control apparatus, including:

第一处理器;the first processor;

用于存储第一处理器可执行指令的第一存储器;a first memory for storing instructions executable by the first processor;

其中,所述第一处理器被配置为:Wherein, the first processor is configured to:

采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作;collecting the electromyographic signal of the target limb, the electromyographic signal indicating the target action of the target limb;

根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。Send a data signal to the terminal according to the EMG signal, so that the terminal executes the second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the The first operation instructions are the same.

根据本公开实施例的第六方面,提供一种信号控制装置,包括:According to a sixth aspect of the embodiments of the present disclosure, there is provided a signal control device, comprising:

第二处理器;the second processor;

用于存储第二处理器可执行指令的第二存储器;a second memory for storing instructions executable by the second processor;

其中,所述第二处理器被配置为:wherein the second processor is configured to:

接收数据信号;receive data signals;

执行所述数据信号对应的第二操作指令;executing the second operation instruction corresponding to the data signal;

若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。If the first operation instruction is obtained according to the target action, the execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

根据本公开实施例的第七方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现第一方面任一实施例所述方法的步骤。According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having computer instructions stored thereon, and when the instructions are executed by a processor, implement the steps of the method described in any one of the embodiments of the first aspect.

根据本公开实施例的第八方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现第二方面任一实施例所述方法的步骤。According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having computer instructions stored thereon, and when the instructions are executed by a processor, implement the steps of the method according to any one of the embodiments of the second aspect.

本公开的实施例提供的技术方案可以包括以下有益效果:可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,提高了终端的反应速度;另外,能够确保终端正确接收数据信号,提高了操作的准确性。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the user to send the first operation instruction to the terminal. It shortens the control time and improves the response speed of the terminal; in addition, it can ensure that the terminal receives the data signal correctly, and the accuracy of the operation is improved.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1a是根据一示例性实施例示出的信号控制方法的流程图。Fig. 1a is a flow chart of a signal control method according to an exemplary embodiment.

图1b是根据一示例性实施例示出的信号控制方法的流程图。Fig. 1b is a flowchart of a signal control method according to an exemplary embodiment.

图2a是根据一示例性实施例示出的信号控制方法的流程图。Fig. 2a is a flowchart of a signal control method according to an exemplary embodiment.

图2b是根据一示例性实施例示出的信号控制方法的流程图。Fig. 2b is a flow chart of a signal control method according to an exemplary embodiment.

图3是根据一示例性实施例示出的信号控制方法的交互图。FIG. 3 is an interaction diagram of a signal control method according to an exemplary embodiment.

图4是根据一示例性实施例示出的信号控制方法的交互图。FIG. 4 is an interaction diagram illustrating a signal control method according to an exemplary embodiment.

图5a是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 5a is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图5b是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 5b is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图5c是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 5c is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图5d是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 5d is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图6a是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 6a is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图6b是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 6b is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图6c是根据一示例性实施例示出的信号控制装置的结构示意图。Fig. 6c is a schematic structural diagram of a signal control apparatus according to an exemplary embodiment.

图7是根据一示例性实施例示出的信号控制装置的结构框图。FIG. 7 is a structural block diagram of a signal control apparatus according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

本公开实施例提供的技术方案涉及可穿戴设备和终端,该可穿戴设备可以为智能手环、智能手表、智能运动鞋以及其他设置在肢体上的智能设备;该终端可以为用户使用的手机、平板电脑、笔记本电脑、智能游戏机以及其他智能设备,本公开实施例对此不作限定。相关技术中,采用肢体接收到大脑发出的对应操作的命令,然后在终端上执行与此命令对应的操作,实现对终端的控制。但肢体在接收到对应操作的命令后,肢体的肌肉系统有反馈时间,也就是说,当肢体接收到此命令后,需要经过此反馈时间后才能对终端进行控制,从而延长了控制时间。本公开的实施例提供的技术方案中,可穿戴设备根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。The technical solutions provided by the embodiments of the present disclosure relate to wearable devices and terminals, where the wearable devices may be smart bracelets, smart watches, smart sports shoes, and other smart devices installed on the limbs; the terminals may be mobile phones, Tablet computers, notebook computers, smart game consoles, and other smart devices are not limited in the embodiments of the present disclosure. In the related art, the limbs are used to receive the command corresponding to the operation issued by the brain, and then the operation corresponding to the command is executed on the terminal to realize the control of the terminal. However, after the limb receives the command corresponding to the operation, the muscle system of the limb has a feedback time, that is to say, after the limb receives the command, the terminal can be controlled only after the feedback time has passed, thus prolonging the control time. In the technical solution provided by the embodiments of the present disclosure, the wearable device sends a data signal to the terminal according to the collected EMG signal, so that when the user sends the first operation instruction to the terminal, the terminal has already received the first operation instruction before receiving the first operation instruction. The second operation instruction corresponding to the data signal is executed, and the second operation instruction is the same as the first operation instruction, so the user can feel that while the first operation instruction is sent, the terminal executes the first operation instruction without waiting. The time for the user to send the first operation instruction to the terminal shortens the control time, thereby improving the user experience.

本公开实施例提供了信号控制方法,实施该方法的执行主体有可穿戴设备和终端。本公开实施例根据方法实施主体的不同,布置了两套实施例,如下所述:The embodiment of the present disclosure provides a signal control method, and the executive body implementing the method includes a wearable device and a terminal. Two sets of embodiments are arranged in the embodiments of the present disclosure according to different method implementation bodies, as follows:

可穿戴设备侧Wearable device side

图1a是根据一示例性实施例示出的一种信号控制方法的流程图,该方法应用于可穿戴设备,如图1a所示,该信号控制方法包括以下步骤101和步骤102:Fig. 1a is a flowchart showing a signal control method according to an exemplary embodiment, and the method is applied to a wearable device. As shown in Fig. 1a, the signal control method includes the following steps 101 and 102:

在步骤101中,采集目标肢体的肌电信号。In step 101, the electromyography signal of the target limb is collected.

其中,肌电信号指示目标肢体的目标动作。Among them, the EMG signal indicates the target action of the target limb.

示例的,在可穿戴设备上设置肌电传感器或者肌电图神经接口,并将肌电传感器或者肌电图神经接口紧贴用户的目标肢体,通过肌电传感器或者肌电图神经接口采集目标肢体的肌电信号,由于肌电传感器或者肌电图神经接口采集到的肌电信号是一种微弱的电信号,很容易受身体的其他信号以及外界环境干扰和噪声干扰,所以在肌电传感器或者肌电图神经接口中设有信号调理电路和AD转换器,通过信号调理电路对采集的肌电信号进行放大和滤波等处理,以增加肌电信号的信噪比,并将调理后的肌电信号通过AD转换器转换成数字肌电信号。For example, an EMG sensor or EMG neural interface is set on the wearable device, and the EMG sensor or EMG neural interface is closely attached to the target limb of the user, and the target limb is collected through the EMG sensor or EMG neural interface. Since the EMG signal collected by the EMG sensor or the EMG neural interface is a weak electrical signal, it is easily interfered by other signals of the body and the external environment and noise. The EMG neural interface is equipped with a signal conditioning circuit and an AD converter, and the collected EMG signals are amplified and filtered through the signal conditioning circuit to increase the signal-to-noise ratio of the EMG signals and convert the conditioned EMG The signal is converted into a digital EMG signal by an AD converter.

需要说明的是,本实施例中的目标肢体可以为手腕、脚、膝盖等可固定可穿戴设备的肢体,在此不做限定。It should be noted that the target limb in this embodiment may be a limb that can fix the wearable device, such as a wrist, a foot, or a knee, which is not limited herein.

需要说明的是,本实施例中的肌电传感器和肌电图神经接口可采用现有技术中的肌电传感器和肌电图神经接口,在此不再赘述。It should be noted that, the EMG sensor and EMG neural interface in this embodiment may adopt the EMG sensor and EMG neural interface in the prior art, which will not be repeated here.

在步骤102中,根据肌电信号向终端发送数据信号,以使得终端在根据目标动作获取到第一操作指令之前,执行数据信号对应的第二操作指令,第二操作指令与第一操作指令相同。In step 102, a data signal is sent to the terminal according to the EMG signal, so that the terminal executes a second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the first operation instruction .

示例的,可穿戴设备向终端发送数据信号,假设终端在执行数据信号对应的第二操作指令后,延时40ms接收到了用户根据目标动作发送的第一操作指令,由于第一操作指令和第二操作指令相同,所以在40ms之前,终端就相当于已经执行了第一操作指令,而用户肌肉系统也有一定的反馈时间,假设反馈时间为30ms,这样,就是当用户按下按键或者鼠标或者触摸屏时,用户按下按键或者鼠标或者触摸屏的时间与终端执行数据信号对应的第二操作指令之间只有10ms的时间差,所以对于用户来说,就可以感受到在按下按键或者鼠标或者触摸屏时,终端就执行了第一操作指令,缩短了控制时间,进而提高了用户体验。For example, when the wearable device sends a data signal to the terminal, it is assumed that the terminal receives the first operation instruction sent by the user according to the target action with a delay of 40ms after executing the second operation instruction corresponding to the data signal. The operation instructions are the same, so before 40ms, the terminal is equivalent to having executed the first operation instruction, and the user's muscle system also has a certain feedback time. Suppose the feedback time is 30ms. In this way, when the user presses the button or mouse or touch screen , there is only a 10ms time difference between the time when the user presses the button or the mouse or the touch screen and the terminal executes the second operation command corresponding to the data signal. The first operation instruction is executed, the control time is shortened, and the user experience is further improved.

可选的,可穿戴设备通过有线数据传输接口向终端发送数据信号,或者通过无线传输模块向终端发送数据信号。其中,所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种,所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种;在可穿戴设备通过有线方式发送数据信号时,终端侧对应的设有RS232接口或者RS242或者RS485接口等,然后将可穿戴设备与终端通过相应的数据线连接,实现可穿戴设备将数据信号通过有线方式发送至终端;在可穿戴设备通过无线方式发送数据信号时,终端侧对应的设有WIFI模块或者Zigbee无线模块或者蓝牙模块等,实现可穿戴设备将数据信号通过无线方式发送至终端。Optionally, the wearable device sends a data signal to the terminal through a wired data transmission interface, or sends a data signal to the terminal through a wireless transmission module. Wherein, the wired data transmission interface includes one of RS232 interface, RS242, and RS485 interface, and the wireless transmission module includes one of a WIFI module, a Zigbee wireless module, and a Bluetooth module; the wearable device sends data in a wired manner When there is a signal, the terminal side is equipped with a corresponding RS232 interface or RS242 or RS485 interface, etc., and then connect the wearable device and the terminal through the corresponding data cable, so that the wearable device can send the data signal to the terminal by wire; in the wearable device When the data signal is sent wirelessly, a WIFI module, a Zigbee wireless module or a Bluetooth module, etc. are correspondingly provided on the terminal side, so that the wearable device can send the data signal to the terminal wirelessly.

可选的,根据肌电信号向终端发送数据信号的具体方法如下:Optionally, the specific method for sending a data signal to the terminal according to the EMG signal is as follows:

第一种方法,可穿戴设备将肌电信号发送至终端,此时的数据信号即为肌电信号。In the first method, the wearable device sends the EMG signal to the terminal, and the data signal at this time is the EMG signal.

第二种方法,可穿戴设备提取所述肌电信号的特征信息;根据所述肌电信号的特征信息获取数据信号,并向终端发送所述数据信号。In the second method, the wearable device extracts the characteristic information of the electromyographic signal; acquires a data signal according to the characteristic information of the electromyographic signal, and sends the data signal to the terminal.

示例的,可穿戴设备对采集到的每个肌电信号进行快速傅里叶转换,获得每个肌电信号的频谱或者功率谱,能在频率维度上反映每个肌电信号的变化,进而通过频谱或者功率谱的分布得到每个肌电信号的频率,并将每个肌电信号的频率进行显示,使得用户可通过实验确定每个肌电信号的频率、目标肢体的目标动作、以及目标肢体的目标动作对应的指令之间的对应关系,然后在可穿戴设备中存储每个肌电信号的频率与目标肢体的目标动作对应的指令之间的对应关系,这样,当可穿戴设备采集到一个肌电信号时,对此肌电信号进行快速傅里叶转换,得到此肌电信号的频谱或者功率谱,最终根据此肌电信号的频谱或者功率谱的分布得到此肌电信号的频率,然后确定是否存储有此肌电信号的频率,若确定存储有此肌电信号的频率,则查找与此肌电信号的频率对应的指令,实现了对采集到的肌电信号的处理,得到了肌电信号对应的指令,然后根据指令向终端发送数据信号,此时的数据信号则为此指令,此指令也就是第二操作指令,以使得终端直接执行第二操作指令,实现了终端对自身的控制,终端对自身的控制包括对显示在终端上的各个界面的控制、对终端触摸屏的控制或者对终端按键的控制等,本实施例在此不做限定。For example, the wearable device performs fast Fourier transform on each collected EMG signal to obtain the spectrum or power spectrum of each EMG signal, which can reflect the change of each EMG signal in the frequency dimension, and then pass The frequency of each EMG signal is obtained from the distribution of the spectrum or power spectrum, and the frequency of each EMG signal is displayed, so that the user can determine the frequency of each EMG signal, the target action of the target limb, and the target limb through experiments. The corresponding relationship between the instructions corresponding to the target action of the When the EMG signal is used, fast Fourier transform is performed on the EMG signal to obtain the spectrum or power spectrum of the EMG signal, and finally the frequency of the EMG signal is obtained according to the distribution of the spectrum or power spectrum of the EMG signal, and then It is determined whether the frequency of the EMG signal is stored, and if it is determined that the frequency of the EMG signal is stored, the instruction corresponding to the frequency of the EMG signal is searched, the processing of the collected EMG signal is realized, and the myoelectric signal is obtained. The command corresponding to the electrical signal, and then send a data signal to the terminal according to the command. The data signal at this time is this command, and this command is also the second operation command, so that the terminal directly executes the second operation command and realizes the terminal's self-confidence. Control, the terminal's control of itself includes the control of various interfaces displayed on the terminal, the control of the touch screen of the terminal, or the control of the keys of the terminal, etc., which is not limited in this embodiment.

示例的,在终端上安装有俄罗斯方块游戏,用户通过变形按键、向下按键、向左按键和向右按键来控制游戏,采集到的肌电信号的数量为四个,可穿戴设备在对四个肌电信号进行处理后,得到第一个肌电信号的频率为1HZ,第二个肌电信号的频率为2HZ,第三个肌电信号的频率为3HZ,第四个肌电信号的频率为4HZ,用户通过实验可知第一个肌电信号的频率1HZ对应的目标肢体的目标动作为“按变形按键”,第二个肌电信号的频率2HZ对应的目标肢体的目标动作为“按向下按键”,第三个肌电信号的频率3HZ对应的目标肢体的目标动作为“按向左按键”,第四个肌电信号的频率4HZ对应的目标肢体的目标动作为“按向右按键”,设定“按变形按键”对应的指令为变形指令,设定“按向下按键”对应的指令为向下指令,设定“按向左按键”对应的指令为向左指令,设定“按向右按键”对应的指令为向右指令,然后将上述每个肌电信号的频率与对应的目标肢体的目标动作的指令存储至可穿戴设备中,当可穿戴设备采集到肌电信号时,对肌电信号处理后,若得到肌电信号的频率为1HZ,则确定可穿戴设备中是否存储有肌电信号的频率1HZ,若确定可穿戴设备中存储有肌电信号的频率1HZ,则查找到肌电信号的频率1HZ对应的指令为变形指令,可穿戴设备将数据信号发送至终端,也就是将变形指令发送至终端,以使得终端在接收到此变形指令时,执行变形指令,使得当前运行的俄罗斯方块发生变形,实现对俄罗斯方块游戏的直接控制,之后,用户会通过变形按键向终端发送变形指令,此时,终端在接收到此变形指令时,直接忽略此变形指令,使得用户感受到在刚按下变形按键后当前俄罗斯方块就发生变形,提高了用户体验;以同样的方法,可以得到肌电信号的频率2HZ对应的指令为向下指令;肌电信号的频率3HZ对应的指令为向左指令;肌电信号的频率4HZ对应的指令为向右指令。For example, a Tetris game is installed on the terminal, and the user controls the game by pressing the transform button, the down button, the left button and the right button. The number of collected EMG signals is four, and the wearable device is on After each EMG signal is processed, the frequency of the first EMG signal is 1HZ, the frequency of the second EMG signal is 2HZ, the frequency of the third EMG signal is 3HZ, and the frequency of the fourth EMG signal is It is 4HZ, the user can know through experiments that the target action of the target limb corresponding to the frequency of the first EMG signal is 1HZ as "press the deformation button", and the target action of the target limb corresponding to the frequency of the second EMG signal of 2HZ is "Press the direction". Press the button", the target action of the target limb corresponding to the frequency of the third EMG signal is "Press the left button", and the target action of the target limb corresponding to the frequency of the fourth EMG signal is "Press the right button". ”, set the command corresponding to “Press the deformation button” as the deformation command, set the command corresponding to “Press the down button” as the downward command, set the corresponding command of “Press the left button” as the left command, set The command corresponding to "Press the right button" is the right command, and then the frequency of each EMG signal and the instruction of the corresponding target action of the target limb are stored in the wearable device. When the wearable device collects the EMG signal When the EMG signal is processed, if the frequency of the EMG signal is 1HZ, it is determined whether the frequency of the EMG signal is 1HZ stored in the wearable device. Then the instruction corresponding to the frequency 1HZ of the EMG signal is found to be the deformation instruction, and the wearable device sends the data signal to the terminal, that is, the deformation instruction is sent to the terminal, so that the terminal executes the deformation instruction when it receives the deformation instruction. The currently running Tetris is deformed to achieve direct control of the Tetris game. After that, the user will send a deformation command to the terminal through the deformation button. At this time, when the terminal receives the deformation command, it directly ignores the deformation command, making the The user feels that the current Tetris is deformed just after pressing the deformation button, which improves the user experience; in the same way, the command corresponding to the frequency of the EMG signal 2HZ can be obtained as the downward command; the frequency of the EMG signal corresponds to 3HZ The command is leftward command; the command corresponding to the frequency of EMG signal 4HZ is rightward command.

示例的,可穿戴设备在采集到肌电信号后,提取每个肌电信号的时域特征数据或者频域特征数据,其中,时域特征数据主要包括积分肌电值、均方根值、绝对值积分、过零点数、方差、Willison幅值、肌电信号的时序模型以及肌电信号直方图等,具体采用时域法分析提取肌电信号的时域特征数据的方法可参考对应的现有技术中的方法,本实施例在此不再赘述。For example, after collecting the EMG signal, the wearable device extracts the time-domain characteristic data or frequency-domain characteristic data of each EMG signal, wherein the time-domain characteristic data mainly includes the integral EMG value, the root mean square value, the absolute value Value integration, zero-crossing points, variance, Willison amplitude, time series model of EMG signal and EMG signal histogram, etc. For the specific method of using time domain method to analyze and extract the time domain characteristic data of EMG signal, please refer to the corresponding existing The method in the technology is not repeated in this embodiment.

频率特征数据主要包括平均功率、平均频率和中值频率,具体采用频域法分析提取肌电信号的频域特征数据的方法可参考对应的现有技术中的方法,本实施例在此不再赘述。The frequency characteristic data mainly includes the average power, the average frequency and the median frequency. For the specific method of using the frequency domain method to analyze and extract the frequency domain characteristic data of the EMG signal, please refer to the corresponding method in the prior art, and this embodiment will not be repeated here. Repeat.

以提取肌电信号的频域特征数据为例,可穿戴设备在获取到每个肌电信号的频域特征数据后,将每个肌电信号的所有频域特征数据作为训练数据,在可穿戴设备上预先设置朴素贝叶斯分类器,然后将每个训练数据输入至朴素贝叶斯分类器中,然后获取该朴素贝叶斯分类器计算得到的目标肢体的目标动作对应的指令,将该计算得到的指令与已知的目标肢体的目标动作对应的指令进行对比,并根据对比结果调整朴素贝叶斯分类器中的参数,最终使得朴素贝叶斯分类器计算得到的指令与已知的目标肢体的目标动作对应的指令相同,此时,该朴素贝叶斯分类器即为训练得到的分类器模型。Taking the extraction of the frequency-domain feature data of the EMG signal as an example, after the wearable device obtains the frequency-domain feature data of each EMG signal, it uses all the frequency-domain feature data of each EMG signal as training data. The naive Bayes classifier is preset on the device, and then each training data is input into the naive Bayes classifier, and then the instruction corresponding to the target action of the target limb calculated by the naive Bayes classifier is obtained, and the The calculated command is compared with the known command corresponding to the target action of the target limb, and the parameters in the naive Bayes classifier are adjusted according to the comparison result, so that the command calculated by the naive Bayes classifier is finally the same as the known command. The commands corresponding to the target actions of the target limbs are the same. At this time, the naive Bayes classifier is the classifier model obtained by training.

可穿戴设备在采用该分类器模型获取肌电信号对应的指令时,将采集到的肌电信号按照上述方法提取此肌电信号的频域特征数据,然后将提取的肌电信号的频域特征数据输入至该分类器模型进行指令的预测,实现了肌电信号的处理,得到了肌电信号对应的指令,然后根据指令向终端发送数据信号,此时的数据信号则为此指令,此指令也就是第二操作指令,以使得终端直接执行第二操作指令,实现了终端对自身的控制,终端对自身的控制包括对显示在终端上的各个界面的控制、对终端触摸屏的控制或者对终端按键的控制等,本实施例在此不做限定。When the wearable device uses the classifier model to obtain the instruction corresponding to the EMG signal, the collected EMG signal extracts the frequency domain feature data of the EMG signal according to the above method, and then extracts the frequency domain feature of the EMG signal. The data is input into the classifier model to predict the instruction, realize the processing of the EMG signal, and obtain the instruction corresponding to the EMG signal, and then send the data signal to the terminal according to the instruction. The data signal at this time is this instruction, this instruction That is, the second operation instruction, so that the terminal directly executes the second operation instruction and realizes the terminal's control of itself. The terminal's control of itself includes the control of various interfaces displayed on the terminal, the control of the terminal touch screen, or the control of the terminal The control of buttons, etc., is not limited in this embodiment.

示例的,在终端上安装有俄罗斯方块游戏,用户通过变形按键、向下按键、向左按键和向右按键来控制游戏,采集到的肌电信号的数量为四个,可穿戴设备在对四个肌电信号进行处理后,得到第一个肌电信号的频域特征数据为1HZ,第二个肌电信号的频域特征数据为2HZ,第三个肌电信号的频域特征数据为3HZ,第四个肌电信号的频域特征数据为4HZ,用户通过实验可知第一个肌电信号的频域特征数据1HZ对应的目标肢体的目标动作为“按变形按键”,第二个肌电信号的频率2HZ对应的目标肢体的目标动作为“按向下按键”,第三个肌电信号的频率3HZ对应的目标肢体的目标动作为“按向左按键”,第四个肌电信号的频率4HZ对应的目标肢体的目标动作为“按向右按键”,设定“按变形按键”对应的指令为变形指令,设定“按向下按键”对应的指令为向下指令,设定“按向左按键”对应的指令为向左指令,设定“按向右按键”对应的指令为向右指令,;然后以频域特征数据为1HZ为例,选取1HZ左右的多个频域特征数据为训练数据,例如选取0.98HZ,0.99HZ,0.995HZ,1HZ,1.05HZ,1.1HZ等作为训练数据,将这些训练数据分别输入至朴素贝叶斯分类器中,然后获取该朴素贝叶斯分类器计算得到的目标肢体的目标动作,查看该朴素贝叶斯分类器计算得到的目标肢体的目标动作对应的指令是否为变形指令,若不是,调整朴素贝叶斯分类器中的参数,最终使得朴素贝叶斯分类器计算得到的指令与已知的目标肢体的目标动作对应的指令相同;采用同样的方法训练其他频域特征数据,最终得到分类器模型。当可穿戴设备采集到肌电信号时,对肌电信号处理后,若得到肌电信号的频域特征数据为1HZ,则将频域特征数据1HZ输入至分类器模型中,分类器模型计算得到频域特征数据1HZ对应的指令为变形指令,可穿戴设备将数据信号发送至终端,也就是将变形指令发送至终端,以使得终端在接收到此变形指令时,执行变形指令,使得当前运行的俄罗斯方块发生变形,实现对俄罗斯方块游戏的直接控制,之后,用户会通过变形按键向终端发送变形指令,此时,终端在接收到此变形指令时,直接忽略此变形指令,使得用户感受到在刚按下变形按键后当前俄罗斯方块就发生变形,提高了用户体验。For example, a Tetris game is installed on the terminal, and the user controls the game by pressing the transform button, the down button, the left button and the right button. The number of collected EMG signals is four, and the wearable device is on After the EMG signals are processed, the frequency domain characteristic data of the first EMG signal is 1HZ, the frequency domain characteristic data of the second EMG signal is 2HZ, and the frequency domain characteristic data of the third EMG signal is 3HZ , the frequency domain characteristic data of the fourth EMG signal is 4HZ, and the user can know through experiments that the target action of the target limb corresponding to the frequency domain characteristic data 1HZ of the first EMG signal is "press the deformation button", and the second EMG signal The target action of the target limb corresponding to the signal frequency 2HZ is "press the down button", the target action of the target limb corresponding to the frequency 3HZ of the third EMG signal is "press the left button", and the fourth EMG signal's target action is "press the left button". The target action of the target limb corresponding to the frequency of 4HZ is "press the right button", set the command corresponding to "press the deformation button" as the deformation command, set the command corresponding to "press the down button" as the downward command, and set " The command corresponding to "Press the left button" is the left command, and the command corresponding to "Press the right button" is set to the right command. The data is training data, for example, select 0.98HZ, 0.99HZ, 0.995HZ, 1HZ, 1.05HZ, 1.1HZ, etc. as training data, input these training data into Naive Bayes classifier respectively, and then obtain the Naive Bayes The target action of the target limb calculated by the classifier, check whether the command corresponding to the target action of the target limb calculated by the naive Bayes classifier is a deformation command, if not, adjust the parameters in the naive Bayes classifier, and finally The instructions calculated by the Naive Bayesian classifier are the same as the instructions corresponding to the known target movements of the target limbs; the same method is used to train other frequency domain feature data, and finally the classifier model is obtained. When the wearable device collects the EMG signal, after processing the EMG signal, if the frequency domain characteristic data of the EMG signal is 1HZ, then input the frequency domain characteristic data 1HZ into the classifier model, and the classifier model calculates The command corresponding to the frequency domain characteristic data 1HZ is a deformation command, and the wearable device sends the data signal to the terminal, that is, the deformation command is sent to the terminal, so that when the terminal receives the deformation command, it executes the deformation command, so that the currently running Tetris is deformed to achieve direct control of the Tetris game. After that, the user will send a deformation command to the terminal through the deformation button. At this time, when the terminal receives this deformation command, it will directly ignore the deformation command, making the user feel The current Tetris is deformed just after pressing the deform button, which improves the user experience.

以同样的方法,可以得到肌电信号的频域特征数据2HZ对应的指令为向下指令;肌电信号的频率3HZ对应的指令为向左指令;肌电信号的频率4HZ对应的指令为向右指令,本实施例在此不再赘述。In the same way, it can be obtained that the command corresponding to the frequency domain characteristic data 2HZ of the EMG signal is a downward command; the command corresponding to the frequency 3HZ of the EMG signal is a left command; the command corresponding to the frequency 4HZ of the EMG signal is a rightward command. instruction, which will not be repeated in this embodiment.

需要说明的是,可穿戴设备根据肌电信号的时域特征数据获取对应的指令的方法与上述根据肌电信号的频域特征数据获取对应的指令的方法相同,可参考上述方法,本实施例在此不再赘述。It should be noted that the method for the wearable device to obtain the corresponding command according to the time-domain characteristic data of the EMG signal is the same as the above-mentioned method for obtaining the corresponding command according to the frequency-domain characteristic data of the EMG signal. It is not repeated here.

本公开的实施例提供的技术方案中,可穿戴设备在采集到肌电信号后,对此肌电信号进行了处理,然后根据处理后的肌电信号向终端发送了数据信号,此时的数据信号即为第二操作指令,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了第二操作指令,省去了终端对肌电信号的处理时间,进一步使得用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。In the technical solution provided by the embodiments of the present disclosure, after collecting the EMG signal, the wearable device processes the EMG signal, and then sends a data signal to the terminal according to the processed EMG signal. The signal is the second operation instruction, so that when the user sends the first operation instruction to the terminal, the terminal has executed the second operation instruction before receiving the first operation instruction, which saves the processing time of the EMG signal by the terminal, and further The user feels that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the time for the user to send the first operation instruction to the terminal, which shortens the control time and improves the user experience.

进一步的,如图1b所示,在执行完步骤102之后,还包括如下步骤103和步骤105:Further, as shown in FIG. 1b, after step 102 is performed, the following steps 103 and 105 are further included:

在步骤103中,接收终端发送的响应消息。In step 103, a response message sent by the terminal is received.

其中,所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。Wherein, the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

需要说明的是,根据接收到的响应消息指示的内容不同,下述执行的步骤也不同,在确定响应消息中携带接收数据信号的成功标识时,则执行步骤104;在确定响应消息中携带接收数据信号的失败标识时,则执行步骤105。It should be noted that, according to the different contents indicated by the received response message, the following steps are also different. When it is determined that the response message carries the success identifier of the received data signal, step 104 is performed; When the failure flag of the data signal is identified, step 105 is executed.

在步骤104中,在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息。In step 104, when it is determined that the response message carries a success identifier for receiving the data signal, the sending success information is displayed.

在步骤105中,在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。In step 105, when it is determined that the response message carries the failure flag of receiving the data signal, the data signal is re-sent to the terminal according to the myoelectric signal.

示例的,可穿戴设备在接收到响应消息时,对响应消息进行解析,确定响应消息中携带的是数据信号发送的成功标识还是数据信号发送的失败标识,若确定是数据信号发送的成功标识,则语音播报发送成功信息,或者震动可穿戴设备,以使得用户获知数据信号发送成功;若确定是数据信号发送的失败标识,则再次根据所述肌电信号向终端发送数据信号,确保终端接收到正确的数据信号。For example, when the wearable device receives the response message, it parses the response message, and determines whether the response message carries the success identifier of data signal transmission or the failure identifier of data signal transmission. If it is determined to be the success identifier of data signal transmission, Then the voice broadcasts the success information, or vibrates the wearable device, so that the user knows that the data signal is sent successfully; if it is determined that it is the failure sign of the data signal transmission, the data signal is sent to the terminal again according to the EMG signal to ensure that the terminal receives the data signal. correct data signal.

终端侧terminal side

图2a是根据一示例性实施例示出的一种信号控制方法的流程图,该方法应用于终端,如图2a所示,该信号控制方法包括以下步骤201至步骤203:Fig. 2a is a flowchart showing a signal control method according to an exemplary embodiment, and the method is applied to a terminal. As shown in Fig. 2a, the signal control method includes the following steps 201 to 203:

在步骤201中,接收数据信号。In step 201, a data signal is received.

示例的,终端通过有线数据传输接口或者无线传输模块接收可穿戴设备发送的数据信号,具体有线数据传输接口的种类和无线传输模块的种类可参考上述步骤101中的描述,本实施例在此不再赘述。For example, the terminal receives the data signal sent by the wearable device through the wired data transmission interface or the wireless transmission module. For the specific type of the wired data transmission interface and the type of the wireless transmission module, please refer to the description in the above step 101. Repeat.

需要说明的是,当可穿戴设备向终端发送的数据信号为肌电信号时,则终端接收的数据信号即为肌电信号;当可穿戴设备向终端发送的数据信号为目标肢体的目标动作对应的指令时,则终端接收的数据信号即为目标肢体的目标动作对应的指令。It should be noted that when the data signal sent by the wearable device to the terminal is an EMG signal, the data signal received by the terminal is an EMG signal; when the data signal sent by the wearable device to the terminal is the target action corresponding to the target limb When the command is given, the data signal received by the terminal is the command corresponding to the target action of the target limb.

在步骤202中,执行数据信号对应的第二操作指令。In step 202, a second operation instruction corresponding to the data signal is executed.

示例的,若数据信号为肌电信号时,则终端需要对数据信号进行处理,根据处理后的数据信号执行对应的第二操作指令;若数据信号为目标肢体的目标动作对应的指令时,则数据信号即为第二操作指令,终端直接执行第二操作指令。For example, if the data signal is an EMG signal, the terminal needs to process the data signal, and execute the corresponding second operation instruction according to the processed data signal; if the data signal is an instruction corresponding to the target action of the target limb, then The data signal is the second operation instruction, and the terminal directly executes the second operation instruction.

可选的,当数据信号为肌电信号时,执行数据信号对应的第二操作指令的具体方法如下:Optionally, when the data signal is an EMG signal, the specific method for executing the second operation instruction corresponding to the data signal is as follows:

提取所述数据信号的特征信息;extracting characteristic information of the data signal;

根据所述数据信号的特征信息获取第二操作指令,并执行第二操作指令。Acquire a second operation instruction according to the characteristic information of the data signal, and execute the second operation instruction.

示例的,终端接收到数据信号后,需要对数据信号进行处理,此时的数据信号为可穿戴设备采集的肌电信号,终端对每个数据信号进行快速傅里叶转换,获得每个数据信号的频谱或者功率谱,能在频率维度上反映每个数据信号的变化,进而通过频谱或者功率谱的分布得到每个数据信号的频率,并将每个数据信号的频率进行显示,使得用户可通过实验确定每个数据信号的频率、目标肢体的目标动作、以及目标肢体的目标动作对应的指令之间的对应关系,然后在终端中存储每个数据信号的频率与目标肢体的目标动作对应的指令之间的对应关系,这样,当终端接收到数据信号时,对此数据信号进行快速傅里叶转换,得到此数据信号的频谱或者功率谱,最终根据此数据信号的频谱或者功率谱的分布得到此数据信号的频率,然后确定是否存储有此数据信号的频率,若确定存储有此数据信号的频率,则查找与此数据信号的频率对应的指令,实现了对接收到的数据信号的处理,处理后的数据信号为与目标肢体的目标动作对应的指令,此指令也就是第二操作指令,终端直接执行第二操作指令,实现了终端对自身的控制,终端对自身的控制包括对显示在终端上的各个界面的控制、对终端触摸屏的控制或者对终端按键的控制等,本实施例在此不做限定。具体采用此方法对数据信号进行处理的实例可参考上述步骤102中对应的描述,本实施例在此不再赘述。For example, after the terminal receives the data signal, it needs to process the data signal. At this time, the data signal is the EMG signal collected by the wearable device. The terminal performs fast Fourier transform on each data signal to obtain each data signal. The frequency spectrum or power spectrum can reflect the change of each data signal in the frequency dimension, and then obtain the frequency of each data signal through the distribution of the spectrum or power spectrum, and display the frequency of each data signal, so that users can pass The experiment determines the correspondence between the frequency of each data signal, the target action of the target limb, and the instruction corresponding to the target action of the target limb, and then stores in the terminal the frequency of each data signal and the instruction corresponding to the target action of the target limb In this way, when the terminal receives the data signal, it performs fast Fourier transform on the data signal to obtain the frequency spectrum or power spectrum of the data signal, and finally obtains according to the distribution of the frequency spectrum or power spectrum of the data signal. The frequency of the data signal, and then determine whether the frequency of the data signal is stored. If it is determined that the frequency of the data signal is stored, the command corresponding to the frequency of the data signal is searched to realize the processing of the received data signal. The processed data signal is an instruction corresponding to the target action of the target limb. This instruction is also the second operation instruction. The terminal directly executes the second operation instruction to realize the terminal's control over itself. The control of each interface on the terminal, the control of the touch screen of the terminal, or the control of the keys of the terminal, etc., are not limited in this embodiment. For an example of using this method to process the data signal, reference may be made to the corresponding description in the foregoing step 102, which is not repeated in this embodiment.

示例的,终端提取每个数据信号的时域特征数据或者频域特征数据,其中,时域特征数据主要包括积分肌电值、均方根值、绝对值积分、过零点数、方差、Willison幅值、肌电信号的时序模型以及肌电信号直方图等,具体采用时域法分析提取数据信号的时域特征数据的方法可参考对应的现有技术中的方法,本实施例在此不再赘述。频率特征数据主要包括平均功率、平均频率和中值频率,具体采用频域法分析提取数据信号的频域特征数据的方法可参考对应的现有技术中的方法,本实施例在此不再赘述。Exemplarily, the terminal extracts time-domain characteristic data or frequency-domain characteristic data of each data signal, wherein the time-domain characteristic data mainly includes the integral EMG value, the root mean square value, the absolute value integral, the number of zero-crossing points, the variance, and the Willison amplitude. value, the time sequence model of the EMG signal, the EMG signal histogram, etc., the specific method of using the time domain method to analyze and extract the time domain characteristic data of the data signal may refer to the corresponding method in the prior art, and this embodiment will not be repeated here. Repeat. The frequency characteristic data mainly includes the average power, the average frequency and the median frequency. For the specific method of using the frequency domain method to analyze and extract the frequency domain characteristic data of the data signal, reference may be made to the corresponding methods in the prior art, which will not be repeated in this embodiment. .

以提取数据信号的频域特征数据为例,终端在获取到每个数据信号的频域特征数据后,将每个数据信号的所有频域特征数据作为训练数据,在终端上预先设置朴素贝叶斯分类器,然后将每个训练数据输入至朴素贝叶斯分类器中,然后获取该朴素贝叶斯分类器计算得到的目标肢体的目标动作对应的指令,将该计算得到的指令与已知的目标肢体的目标动作对应的指令进行对比,并根据对比结果调整朴素贝叶斯分类器中的参数,最终使得朴素贝叶斯分类器计算得到的指令与已知的目标肢体的目标动作对应的指令相同,此时,该朴素贝叶斯分类器即为训练得到的分类器模型。Taking the frequency domain feature data extraction of the data signal as an example, after the terminal obtains the frequency domain feature data of each data signal, it uses all the frequency domain feature data of each data signal as training data, and pre-sets Naive Bayes on the terminal. Then input each training data into the naive Bayes classifier, and then obtain the instruction corresponding to the target action of the target limb calculated by the naive Bayes classifier, and the calculated instruction and the known Compare the instructions corresponding to the target actions of the target limbs, and adjust the parameters in the Naive Bayes classifier according to the comparison results, and finally make the instructions calculated by the Naive Bayes classifier correspond to the known target actions of the target limbs. The instructions are the same. At this time, the naive Bayes classifier is the classifier model obtained by training.

终端在采用该分类器模型获取数据信号对应的目标肢体的目标动作时,将接收到的数据信号按照上述方法提取此数据信号的频域特征数据,然后将提取的数据信号的频域特征数据输入至该分类器模型进行指令的预测,实现了数据信号的处理,处理后的数据信号为与目标肢体的目标动作对应的指令,此指令也就是第二操作指令,终端直接执行第二操作指令,实现了终端对自身的控制,终端对自身的控制包括对显示在终端上的各个界面的控制、对终端触摸屏的控制或者对终端按键的控制等,本实施例在此不做限定。具体采用此方法对数据信号进行处理的实例可参考上述步骤102中对应的描述,本实施例在此不再赘述。When the terminal adopts the classifier model to obtain the target action of the target limb corresponding to the data signal, the terminal extracts the frequency domain characteristic data of the data signal from the received data signal according to the above method, and then inputs the frequency domain characteristic data of the extracted data signal. The classifier model predicts the command and realizes the processing of the data signal. The processed data signal is the command corresponding to the target action of the target limb. This command is also the second operation command, and the terminal directly executes the second operation command. The control of the terminal on itself is realized, and the control of the terminal on itself includes the control of various interfaces displayed on the terminal, the control of the touch screen of the terminal, or the control of the keys of the terminal, etc., which is not limited in this embodiment. For an example of using this method to process the data signal, reference may be made to the corresponding description in the foregoing step 102, which is not repeated in this embodiment.

需要说明的是,终端根据数据信号的时域特征数据获取对应的指令的方法与上述根据数据信号的频域特征数据获取对应的指令的方法相同,可参考上述方法,本实施例在此不再赘述。It should be noted that the method for the terminal to obtain the corresponding command according to the time-domain characteristic data of the data signal is the same as the above-mentioned method for obtaining the corresponding command according to the frequency-domain characteristic data of the data signal. Repeat.

在步骤203中,若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。In step 203, if a first operation instruction is obtained according to the target action, execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

示例的,终端在执行数据信号对应的第二操作指令后,若获取到与根据目标动作对应的第一操作指令,此时,将第一操作指令与第二操作指令进行比较,在确定第一操作指令与第二操作指令相同时,忽略第一操作指令,避免对同一个指令重复执行。For example, after the terminal executes the second operation instruction corresponding to the data signal, if the terminal obtains the first operation instruction corresponding to the action according to the target, at this time, the first operation instruction is compared with the second operation instruction, and the first operation instruction is determined after determining the first operation instruction. When the operation instruction is the same as the second operation instruction, the first operation instruction is ignored to avoid repeated execution of the same instruction.

本公开的实施例提供的技术方案中,终端在接收到数据信号后,需要对此数据信号进行处理,而终端处理数据信号所需的时间对于用户肌肉的反馈时间来说,可以忽略不计,这样,当用户向终端发送第一操作指令时,由于终端在接收到第一操作指令之前,已经执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。In the technical solution provided by the embodiments of the present disclosure, after receiving the data signal, the terminal needs to process the data signal, and the time required for the terminal to process the data signal can be ignored for the feedback time of the user's muscles, so that , when the user sends the first operation instruction to the terminal, since the terminal has executed the second operation instruction corresponding to the data signal before receiving the first operation instruction, and the second operation instruction is the same as the first operation instruction, it can make The user feels that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the user to send the first operation instruction to the terminal, which shortens the control time and improves the user experience.

进一步的,如图2b所示,在执行完步骤201之后,还包括步骤204:Further, as shown in Figure 2b, after step 201 is performed, step 204 is further included:

在步骤204中,向可穿戴设备发送响应消息。In step 204, a response message is sent to the wearable device.

其中,所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。Wherein, the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

示例的,终端在接收到数据信号时,需要确定数据信号是否接收完整,有没有丢包,若确定数据信号完整,没有丢包,则确定接收数据信号成功,此时向可穿戴设备反馈携带成功标识的响应消息;若确定数据信号不完整,有丢包,则确定接收数据信号失败,此时向可穿戴设备反馈携带失败标识的响应消息,使得可穿戴设备再次向终端发送数据信号,终端重新接收数据信号,确保终端接收数据信号的准确性。For example, when the terminal receives the data signal, it needs to determine whether the data signal is received completely and whether there is any packet loss. If it is determined that the data signal is complete and there is no packet loss, it is determined that the data signal is successfully received, and at this time, it is reported to the wearable device that the carrying is successful. If it is determined that the data signal is incomplete and there is packet loss, it is determined that the receiving of the data signal fails, and at this time, the wearable device is fed back a response message carrying the failure identification, so that the wearable device sends the data signal to the terminal again, and the terminal restarts Receive data signals to ensure the accuracy of data signals received by the terminal.

下面通过几个实施例详细介绍实现过程。The implementation process is described in detail below through several embodiments.

图3是根据一示例性实施例示出的一种信号控制方法的交互图,执行主体为可穿戴设备和终端,如图3所示,包括以下步骤301至步骤305。FIG. 3 is an interaction diagram of a signal control method according to an exemplary embodiment. The execution subject is a wearable device and a terminal. As shown in FIG. 3 , the following steps 301 to 305 are included.

在步骤301中,可穿戴设备采集目标肢体的肌电信号。In step 301, the wearable device collects the electromyographic signal of the target limb.

其中,肌电信号指示目标肢体的目标动作。Among them, the EMG signal indicates the target action of the target limb.

在步骤302中,可穿戴设备提取所述肌电信号的特征信息。In step 302, the wearable device extracts characteristic information of the electromyographic signal.

在步骤303中,可穿戴设备根据所述肌电信号的特征信息获取数据信号,并向终端发送数据信号,终端接收数据信号。In step 303, the wearable device acquires a data signal according to the characteristic information of the electromyographic signal, and sends the data signal to the terminal, and the terminal receives the data signal.

在步骤304中,终端执行数据信号对应的第二操作指令。In step 304, the terminal executes the second operation instruction corresponding to the data signal.

在步骤305中,若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。In step 305, if the first operation instruction is obtained according to the target action, the execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

本公开实施例提供一种信号控制方法,可穿戴设备根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control method. The wearable device sends a data signal to the terminal according to the collected EMG signal, so that when the user sends the first operation instruction to the terminal, the terminal has already received the first operation instruction before receiving the first operation instruction. The second operation instruction corresponding to the data signal is executed, and the second operation instruction is the same as the first operation instruction, so the user can feel that while the first operation instruction is sent, the terminal executes the first operation instruction without waiting. The time for the user to send the first operation instruction to the terminal shortens the control time, thereby improving the user experience.

图4是根据一示例性实施例示出的一种信号控制方法的交互图,执行主体为可穿戴设备和终端,如图4所示,包括以下步骤401至步骤405。FIG. 4 is an interaction diagram of a signal control method according to an exemplary embodiment. The execution subject is a wearable device and a terminal. As shown in FIG. 4 , the following steps 401 to 405 are included.

在步骤401中,可穿戴设备采集目标肢体的肌电信号。In step 401, the wearable device collects the electromyographic signal of the target limb.

其中,肌电信号指示目标肢体的目标动作。Among them, the EMG signal indicates the target action of the target limb.

在步骤402中,可穿戴设备根据肌电信号向终端发送数据信号,终端接收数据信号。In step 402, the wearable device sends a data signal to the terminal according to the EMG signal, and the terminal receives the data signal.

在步骤403中,终端提取所述数据信号的特征信息。In step 403, the terminal extracts characteristic information of the data signal.

在步骤404中,终端根据所述数据信号的特征信息获取第二操作指令,并执行第二操作指令。In step 404, the terminal acquires the second operation instruction according to the characteristic information of the data signal, and executes the second operation instruction.

在步骤405中,若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。In step 405, if a first operation instruction is obtained according to the target action, execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

本公开实施例提供一种信号控制方法,可穿戴设备根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control method. The wearable device sends a data signal to the terminal according to the collected EMG signal, so that when the user sends the first operation instruction to the terminal, the terminal has already received the first operation instruction before receiving the first operation instruction. The second operation instruction corresponding to the data signal is executed, and the second operation instruction is the same as the first operation instruction, so the user can feel that while the first operation instruction is sent, the terminal executes the first operation instruction without waiting. The time for the user to send the first operation instruction to the terminal shortens the control time, thereby improving the user experience.

下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure.

图5a是根据一示例性实施例示出的一种信号控制装置50的结构示意图,该装置50包括可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图5a所示,该信号控制装置50包括采集模块501和第一发送模块502。Fig. 5a is a schematic structural diagram of a signal control apparatus 50 according to an exemplary embodiment. The apparatus 50 includes part or all of an electronic device that can be implemented by software, hardware or a combination of the two. As shown in FIG. 5 a , the signal control device 50 includes a collection module 501 and a first sending module 502 .

其中,采集模块501,用于采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作。Wherein, the acquisition module 501 is configured to acquire the electromyographic signal of the target limb, where the electromyographic signal indicates the target action of the target limb.

第一发送模块502,用于根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。The first sending module 502 is configured to send a data signal to the terminal according to the EMG signal, so that the terminal executes the second operation instruction corresponding to the data signal before obtaining the first operation instruction according to the target action, so The second operation instruction is the same as the first operation instruction.

在一个实施例中,如图5b所示,所述装置50还包括提取模块503,所述第一发送模块502包括第一获取子模块5021和第一发送子模块5022。In one embodiment, as shown in FIG. 5b , the apparatus 50 further includes an extraction module 503 , and the first sending module 502 includes a first obtaining sub-module 5021 and a first sending sub-module 5022 .

其中,提取模块503,用于提取所述肌电信号的特征信息。Wherein, the extraction module 503 is used to extract the characteristic information of the electromyographic signal.

第一获取子模块5021,用于根据所述肌电信号的特征信息获取数据信号。The first obtaining sub-module 5021 is configured to obtain a data signal according to the characteristic information of the electromyographic signal.

第一发送子模块5022,用于向终端发送所述数据信号。The first sending submodule 5022 is configured to send the data signal to the terminal.

在一个实施例中,如图5c所示,所述第一发送模块502包括还第二发送子模块5023。In one embodiment, as shown in FIG. 5 c , the first sending module 502 includes a second sending sub-module 5023 .

其中,所述第二发送子模块5023,用于通过有线数据传输接口向终端发送数据信号;所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种;Wherein, the second sending sub-module 5023 is used to send data signals to the terminal through a wired data transmission interface; the wired data transmission interface includes one of an RS232 interface, an RS242, and an RS485 interface;

或者;or;

通过无线传输模块向终端发送数据信号;所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种。The data signal is sent to the terminal through the wireless transmission module; the wireless transmission module includes one of a WIFI module, a Zigbee wireless module and a Bluetooth module.

在一个实施例中,如图5d所示,所述装置50还包括第一接收模块504、第一确定模块505和第二确定模块506。In one embodiment, as shown in FIG. 5d , the apparatus 50 further includes a first receiving module 504 , a first determining module 505 and a second determining module 506 .

其中,所述第一接收模块504,用于接收终端发送的响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。The first receiving module 504 is configured to receive a response message sent by the terminal; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

所述第一确定模块505,用于在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息。The first determining module 505 is configured to display successful sending information when it is determined that the response message carries a success identifier for receiving the data signal.

所述第二确定模块506,用于在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。The second determining module 506 is configured to re-send the data signal to the terminal according to the myoelectric signal when it is determined that the response message carries the failure flag of receiving the data signal.

本公开实施例提供一种信号控制装置,该装置根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control device, which sends a data signal to a terminal according to a collected electromyography signal, so that when a user sends a first operation instruction to the terminal, the terminal has already executed the first operation instruction before receiving the first operation instruction. The second operation instruction corresponding to the data signal, and the second operation instruction is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the user The time for sending the first operation instruction to the terminal shortens the control time, thereby improving the user experience.

图6a是根据一示例性实施例示出的一种信号控制装置60的结构示意图,该装置60可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图6a所示,该信号控制装置60包括第二接收模块601、第一执行模块602和第二执行模块603。Fig. 6a is a schematic structural diagram of a signal control apparatus 60 according to an exemplary embodiment. The apparatus 60 may be implemented by software, hardware or a combination of the two to become part or all of an electronic device. As shown in FIG. 6 a , the signal control apparatus 60 includes a second receiving module 601 , a first executing module 602 and a second executing module 603 .

其中,第二接收模块601,用于接收数据信号。The second receiving module 601 is used for receiving data signals.

第一执行模块602,用于执行所述数据信号对应的第二操作指令。The first execution module 602 is configured to execute the second operation instruction corresponding to the data signal.

第二执行模块603,用于在根据目标动作获取到第一操作指令时,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。The second execution module 603 is configured to prohibit execution of the first operation instruction when the first operation instruction is obtained according to the target action, where the first operation instruction is the same as the second operation instruction.

在一个实施例中,如图6b所示,所述第一执行模块602包括提取子模块6021、第二获取子模块6022和执行子模块6023。In one embodiment, as shown in FIG. 6b , the first execution module 602 includes an extraction sub-module 6021 , a second acquisition sub-module 6022 and an execution sub-module 6023 .

其中,提取子模块6021,用于提取所述数据信号的特征信息。Among them, the extraction sub-module 6021 is used to extract the characteristic information of the data signal.

第二获取子模块6022,用于根据所述数据信号的特征信息获取第二操作指令。The second obtaining sub-module 6022 is configured to obtain a second operation instruction according to the characteristic information of the data signal.

执行子模块6023,用于执行第二操作指令。The execution sub-module 6023 is used for executing the second operation instruction.

在一个实施例中,如图6c所示,所述装置60还包括第二发送模块604。In one embodiment, as shown in FIG. 6c , the apparatus 60 further includes a second sending module 604 .

其中,所述第二发送模块604,用于向可穿戴设备发送响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。The second sending module 604 is configured to send a response message to the wearable device; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

本公开实施例提供一种信号控制装置,当用户向终端发送第一操作指令时,由于终端在接收到第一操作指令之前,已经执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control device, when a user sends a first operation instruction to a terminal, because the terminal has executed a second operation instruction corresponding to a data signal before receiving the first operation instruction, and the second operation instruction It is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the time for the user to send the first operation instruction to the terminal, which shortens the control time, Thereby, the user experience is improved.

本公开实施例提供一种信号控制装置,该信号控制装置包括:An embodiment of the present disclosure provides a signal control device, the signal control device includes:

第一处理器;the first processor;

用于存储第一处理器可执行指令的第一存储器;a first memory for storing instructions executable by the first processor;

其中,所述第一处理器被配置为:Wherein, the first processor is configured to:

采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作;collecting the electromyographic signal of the target limb, the electromyographic signal indicating the target action of the target limb;

根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。Send a data signal to the terminal according to the EMG signal, so that the terminal executes the second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the The first operation instructions are the same.

在一个实施例中,上述第一处理器还可被配置为:In one embodiment, the above-mentioned first processor can also be configured to:

提取所述肌电信号的特征信息;extracting characteristic information of the electromyographic signal;

根据所述肌电信号的特征信息获取数据信号,并向终端发送所述数据信号。Acquire a data signal according to the characteristic information of the electromyographic signal, and send the data signal to the terminal.

在一个实施例中,上述第一处理器还可被配置为:In one embodiment, the above-mentioned first processor can also be configured to:

通过有线数据传输接口向终端发送数据信号;所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种;Send data signals to the terminal through a wired data transmission interface; the wired data transmission interface includes one of RS232 interface, RS242, and RS485 interface;

或者;or;

通过无线传输模块向终端发送数据信号;所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种。The data signal is sent to the terminal through the wireless transmission module; the wireless transmission module includes one of a WIFI module, a Zigbee wireless module and a Bluetooth module.

在一个实施例中,上述第一处理器还可被配置为:In one embodiment, the above-mentioned first processor can also be configured to:

接收终端发送的响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识;receiving a response message sent by the terminal; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal;

在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息;When it is determined that the response message carries the success identifier of receiving the data signal, displaying the sending success information;

在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。When it is determined that the response message carries the failure flag of receiving the data signal, the data signal is re-sent to the terminal according to the electromyographic signal.

本公开实施例提供一种信号控制装置,该装置根据采集到的肌电信号向终端发送了数据信号,使得在用户向终端发送第一操作指令时,终端已在接收第一操作指令之前,执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control device, which sends a data signal to a terminal according to a collected electromyography signal, so that when a user sends a first operation instruction to the terminal, the terminal has already executed the first operation instruction before receiving the first operation instruction. The second operation instruction corresponding to the data signal, and the second operation instruction is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the user The time for sending the first operation instruction to the terminal shortens the control time, thereby improving the user experience.

本公开实施例提供一种信号控制装置,该信号控制装置包括:An embodiment of the present disclosure provides a signal control device, the signal control device includes:

第二处理器;the second processor;

用于存储第二处理器可执行指令的第二存储器;a second memory for storing instructions executable by the second processor;

其中,所述第二处理器被配置为:wherein the second processor is configured to:

接收数据信号;receive data signals;

执行所述数据信号对应的第二操作指令;executing the second operation instruction corresponding to the data signal;

若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。If the first operation instruction is obtained according to the target action, the execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

在一个实施例中,上述第二处理器还可被配置为:In one embodiment, the above-mentioned second processor can also be configured to:

提取所述数据信号的特征信息;extracting characteristic information of the data signal;

根据所述数据信号的特征信息获取第二操作指令,并执行所述第二操作指令。Acquire a second operation instruction according to the characteristic information of the data signal, and execute the second operation instruction.

在一个实施例中,上述第二处理器还可被配置为:In one embodiment, the above-mentioned second processor can also be configured to:

向可穿戴设备发送响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。A response message is sent to the wearable device; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

本公开实施例提供一种信号控制装置,当用户向终端发送第一操作指令时,由于终端在接收到第一操作指令之前,已经执行了数据信号对应的第二操作指令,且第二操作指令与第一操作指令相同,所以可以让用户感受到在发送第一操作指令的同时,终端就执行了第一操作指令,而无需等待用户向终端发送第一操作指令的时间,缩短了控制时间,进而提高了用户体验。An embodiment of the present disclosure provides a signal control device, when a user sends a first operation instruction to a terminal, because the terminal has executed a second operation instruction corresponding to a data signal before receiving the first operation instruction, and the second operation instruction It is the same as the first operation instruction, so the user can feel that the terminal executes the first operation instruction while sending the first operation instruction, without waiting for the time for the user to send the first operation instruction to the terminal, which shortens the control time, Thereby, the user experience is improved.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

图7是根据一示例性实施例示出的一种用于信号控制装置70的结构框图,该装置70适用于终端。例如,装置70可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 7 is a structural block diagram of a signal control apparatus 70 according to an exemplary embodiment, and the apparatus 70 is suitable for a terminal. For example, apparatus 70 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

装置70可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。Device 70 may include one or more of the following components: processing component 702 , memory 704 , power supply component 706 , multimedia component 708 , audio component 710 , input/output (I/O) interface 712 , sensor component 714 , and communication component 716 .

处理组件702通常控制装置70的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理部件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operation of the device 70, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Additionally, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

存储器704被配置为存储各种类型的数据以支持在装置70的操作。这些数据的示例包括用于在装置70上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 704 is configured to store various types of data to support operations at device 70 . Examples of such data include instructions for any application or method operating on the device 70, contact data, phonebook data, messages, pictures, videos, and the like. Memory 704 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件706为装置70的各种组件提供电力。电力组件706可以包括电源管理系统,一个或多个电源,及其他与为装置70生成、管理和分配电力相关联的组件。Power component 706 provides power to various components of device 70 . Power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 70 .

多媒体组件708包括在所述装置70和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当装置70处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 708 includes a screen that provides an output interface between the device 70 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, multimedia component 708 includes a front-facing camera and/or a rear-facing camera. When the apparatus 70 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置70处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。Audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when device 70 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 704 or transmitted via communication component 716 . In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件714包括一个或多个传感器,用于为装置70提供各个方面的状态评估。例如,传感器组件714可以检测到装置70的打开/关闭状态,组件的相对定位,例如所述组件为装置70的显示器和小键盘,传感器组件714还可以检测装置70或装置70一个组件的位置改变,用户与装置70接触的存在或不存在,装置70方位或加速/减速和装置70的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 714 includes one or more sensors for providing status assessments of various aspects of device 70 . For example, the sensor assembly 714 can detect the open/closed state of the device 70, the relative positioning of components, such as the display and keypad of the device 70, and the sensor assembly 714 can also detect a change in the position of the device 70 or a component of the device 70 , the presence or absence of user contact with the device 70 , the orientation or acceleration/deceleration of the device 70 and the temperature change of the device 70 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件716被配置为便于装置70和其他设备之间有线或无线方式的通信。装置70可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 716 is configured to facilitate wired or wireless communication between apparatus 70 and other devices. Device 70 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置70可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 70 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置70的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as memory 704 including instructions, executable by the processor 720 of the apparatus 70 to perform the method described above. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本公开实施例提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由可穿戴设备的处理器执行时,使得可穿戴设备能够执行上述信号控制方法,所述方法包括:An embodiment of the present disclosure provides a non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of a wearable device, the wearable device can execute the above signal control method, and the method includes:

采集目标肢体的肌电信号,所述肌电信号指示所述目标肢体的目标动作;collecting the electromyographic signal of the target limb, the electromyographic signal indicating the target action of the target limb;

根据所述肌电信号向终端发送数据信号,以使得终端在根据所述目标动作获取到第一操作指令之前,执行所述数据信号对应的第二操作指令,所述第二操作指令与所述第一操作指令相同。Send a data signal to the terminal according to the EMG signal, so that the terminal executes the second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the The first operation instructions are the same.

在一个实施例中,在所述根据所述肌电信号向终端发送数据信号之前,还包括:In an embodiment, before the sending a data signal to the terminal according to the electromyographic signal, the method further includes:

提取所述肌电信号的特征信息;extracting characteristic information of the electromyographic signal;

所述根据所述肌电信号向终端发送数据信号包括:The sending a data signal to the terminal according to the myoelectric signal includes:

根据所述肌电信号的特征信息获取数据信号,并向终端发送所述数据信号。Acquire a data signal according to the characteristic information of the electromyographic signal, and send the data signal to the terminal.

在一个实施例中,所述根据所述肌电信号向终端发送数据信号包括:In an embodiment, the sending a data signal to the terminal according to the electromyographic signal includes:

通过有线数据传输接口向终端发送数据信号;所述有线数据传输接口包括RS232接口、RS242、RS485接口中的一种;Send data signals to the terminal through a wired data transmission interface; the wired data transmission interface includes one of RS232 interface, RS242, and RS485 interface;

或者;or;

通过无线传输模块向终端发送数据信号;所述无线传输模块包括WIFI模块、Zigbee无线模块、蓝牙模块中的一种。The data signal is sent to the terminal through the wireless transmission module; the wireless transmission module includes one of a WIFI module, a Zigbee wireless module and a Bluetooth module.

在一个实施例中,在所述根据所述肌电信号向终端发送数据信号之后,还包括:In one embodiment, after the sending a data signal to the terminal according to the electromyographic signal, the method further includes:

接收终端发送的响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识;receiving a response message sent by the terminal; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal;

在确定所述响应消息中携带接收所述数据信号的成功标识时,展示发送成功信息;When it is determined that the response message carries the success identifier of receiving the data signal, displaying the sending success information;

在确定所述响应消息中携带接收所述数据信号的失败标识时,重新根据所述肌电信号向终端发送数据信号。When it is determined that the response message carries the failure flag of receiving the data signal, the data signal is re-sent to the terminal according to the electromyographic signal.

本公开实施例提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行上述信号控制方法,所述方法包括:An embodiment of the present disclosure provides a non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of a terminal, the terminal can execute the above signal control method, and the method includes:

接收数据信号;receive data signals;

执行所述数据信号对应的第二操作指令;executing the second operation instruction corresponding to the data signal;

若根据目标动作获取到第一操作指令,禁止执行所述第一操作指令,所述第一操作指令与所述第二操作指令相同。If the first operation instruction is obtained according to the target action, the execution of the first operation instruction is prohibited, and the first operation instruction is the same as the second operation instruction.

在一个实施例中,所述执行所述数据信号对应的第二操作指令包括:In one embodiment, the executing the second operation instruction corresponding to the data signal includes:

提取所述数据信号的特征信息;extracting characteristic information of the data signal;

根据所述数据信号的特征信息获取第二操作指令,并执行第二操作指令。Acquire a second operation instruction according to the characteristic information of the data signal, and execute the second operation instruction.

在一个实施例中,在所述接收数据信号之后,还包括:In one embodiment, after the receiving the data signal, the method further includes:

向可穿戴设备发送响应消息;所述响应消息中携带所述终端接收所述数据信号的成功标识或者失败标识。A response message is sent to the wearable device; the response message carries a success identifier or a failure identifier of the terminal receiving the data signal.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A signal control method is applied to a wearable device and comprises the following steps:
acquiring an electromyographic signal of a target limb, wherein the electromyographic signal indicates a target action of the target limb;
and sending a data signal to a terminal according to the electromyographic signal so that the terminal executes a second operation instruction corresponding to the data signal before acquiring a first operation instruction according to the target action, wherein the second operation instruction is the same as the first operation instruction.
2. The method according to claim 1, before the transmitting the data signal to the terminal according to the electromyographic signal, further comprising:
extracting feature information of the electromyographic signals;
the sending of the data signal to the terminal according to the electromyographic signal comprises:
and acquiring a data signal according to the feature information of the electromyographic signal, and sending the data signal to a terminal.
3. The method according to claim 1, wherein the transmitting a data signal to a terminal according to the electromyographic signal comprises:
sending a data signal to a terminal through a wired data transmission interface; the wired data transmission interface comprises one of an RS232 interface, an RS242 interface and an RS485 interface;
Or;
sending a data signal to a terminal through a wireless transmission module; the wireless transmission module comprises one of a WIFI module, a Zigbee wireless module and a Bluetooth module.
4. The method according to claim 1, after the transmitting data signal to the terminal according to the electromyographic signal, further comprising:
receiving a response message sent by a terminal; the response message carries a success identifier or a failure identifier of the terminal for receiving the data signal;
when the response message is determined to carry the successful identification for receiving the data signal, displaying the successful sending information;
and when determining that the response message carries a failure identifier for receiving the data signal, sending the data signal to the terminal again according to the electromyographic signal.
5. A signal control method is applied to a terminal and comprises the following steps:
receiving a data signal;
executing a second operation instruction corresponding to the data signal;
and if a first operation instruction is acquired according to the target action, the first operation instruction is forbidden to be executed, and the first operation instruction is the same as the second operation instruction.
6. The method of claim 5, wherein executing the second operation instruction corresponding to the data signal comprises:
Extracting characteristic information of the data signal;
and acquiring a second operation instruction according to the characteristic information of the data signal, and executing the second operation instruction.
7. The method of claim 5, further comprising, after said receiving a data signal:
sending a response message to the wearable device; and the response message carries a success identifier or a failure identifier of the terminal for receiving the data signal.
8. A signal control apparatus, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring an electromyographic signal of a target limb, and the electromyographic signal indicates a target action of the target limb;
the first sending module is used for sending a data signal to the terminal according to the electromyographic signal so that the terminal executes a second operation instruction corresponding to the data signal before acquiring the first operation instruction according to the target action, and the second operation instruction is the same as the first operation instruction.
9. The apparatus of claim 8, further comprising an extraction module, the first sending module comprising a first acquisition sub-module and a first sending sub-module;
the extraction module is used for extracting the characteristic information of the electromyographic signals;
The first acquisition submodule is used for acquiring a data signal according to the characteristic information of the electromyographic signal;
and the first sending submodule is used for sending the data signal to a terminal.
10. The apparatus of claim 8, wherein the first transmitting module further comprises a second transmitting submodule;
the second sending submodule is used for sending a data signal to the terminal through the wired data transmission interface; the wired data transmission interface comprises one of an RS232 interface, an RS242 interface and an RS485 interface;
or;
sending a data signal to a terminal through a wireless transmission module; the wireless transmission module comprises one of a WIFI module, a Zigbee wireless module and a Bluetooth module.
11. The method of claim 8, further comprising a first receiving module, a first determining module, and a second determining module;
the first receiving module is used for receiving a response message sent by the terminal; the response message carries a success identifier or a failure identifier of the terminal for receiving the data signal;
the first determining module is configured to, when it is determined that the response message carries a successful identifier for receiving the data signal, display a transmission success message;
And the second determining module is used for sending the data signal to the terminal again according to the electromyographic signal when determining that the response message carries the failure identification for receiving the data signal.
12. A signal control apparatus, comprising:
the second receiving module is used for receiving the data signal;
the first execution module is used for executing a second operation instruction corresponding to the data signal;
and the second execution module is used for prohibiting executing the first operation instruction when the first operation instruction is obtained according to the target action, and the first operation instruction is the same as the second operation instruction.
13. The apparatus of claim 12, wherein the first execution module comprises an extraction sub-module, a second acquisition sub-module, and an execution sub-module;
the extraction submodule is used for extracting the characteristic information of the data signal;
the second obtaining submodule is used for obtaining a second operation instruction according to the characteristic information of the data signal;
and the execution submodule is used for executing the second operation instruction.
14. The apparatus of claim 12, further comprising a second transmitting module;
The second sending module is used for sending a response message to the wearable device; and the response message carries a success identifier or a failure identifier of the terminal for receiving the data signal.
15. A signal control apparatus, comprising:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring an electromyographic signal of a target limb, wherein the electromyographic signal indicates a target action of the target limb;
and sending a data signal to a terminal according to the electromyographic signal so that the terminal executes a second operation instruction corresponding to the data signal before acquiring a first operation instruction according to the target action, wherein the second operation instruction is the same as the first operation instruction.
16. A signal control apparatus, comprising:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving a data signal;
executing a second operation instruction corresponding to the data signal;
and if a first operation instruction is acquired according to the target action, the first operation instruction is forbidden to be executed, and the first operation instruction is the same as the second operation instruction.
17. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of claims 1 to 4.
18. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of claims 5 to 7.
CN201910340496.XA 2019-04-25 2019-04-25 Signal control method and device Active CN111857326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910340496.XA CN111857326B (en) 2019-04-25 2019-04-25 Signal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910340496.XA CN111857326B (en) 2019-04-25 2019-04-25 Signal control method and device

Publications (2)

Publication Number Publication Date
CN111857326A true CN111857326A (en) 2020-10-30
CN111857326B CN111857326B (en) 2025-01-07

Family

ID=72951520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910340496.XA Active CN111857326B (en) 2019-04-25 2019-04-25 Signal control method and device

Country Status (1)

Country Link
CN (1) CN111857326B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050522A1 (en) * 2021-09-28 2023-04-06 歌尔股份有限公司 Interaction method, terminal device, and readable storage medium

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050081995A (en) * 2004-02-17 2005-08-22 산재의료관리원 Electronotive wheelchair for controlling an electromyogram an its controlling method
US20090327171A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Recognizing gestures from forearm emg signals
US20100069798A1 (en) * 2008-09-15 2010-03-18 Ching-Hsiang Cheng Wearable device to assist with the movement of limbs
CN103645804A (en) * 2013-12-18 2014-03-19 三星电子(中国)研发中心 Method and device for identifying human body gestures as well as watch using device
CN103750836A (en) * 2014-01-14 2014-04-30 优尔美有限公司 Wearable myoelectricity instrument
US20140365979A1 (en) * 2013-06-11 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for performing communication service based on gesture
US20150084860A1 (en) * 2013-09-23 2015-03-26 Thalmic Labs Inc. Systems, articles, and methods for gesture identification in wearable electromyography devices
CN105094606A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for processing information
CN105116995A (en) * 2014-08-31 2015-12-02 上海傲意信息科技有限公司 Intelligent wearable device and working method therefor
CN105468152A (en) * 2015-11-24 2016-04-06 小米科技有限责任公司 Terminal operation control method and device based on wearable equipment, and equipment
CN105487661A (en) * 2015-11-27 2016-04-13 东莞酷派软件技术有限公司 Terminal control method and device
CN105718049A (en) * 2016-01-14 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Control method, control device, wearable intelligent equipment and terminal
CN106034177A (en) * 2015-03-18 2016-10-19 小米科技有限责任公司 Information interaction method and apparatus thereof
CN106503516A (en) * 2016-09-30 2017-03-15 北京小米移动软件有限公司 Terminal, unlocked by fingerprint method and device
KR20170083403A (en) * 2016-01-08 2017-07-18 엘지전자 주식회사 Smart watch and controlling method using electromyograph singsl therof
CN106997106A (en) * 2016-01-22 2017-08-01 周常安 Glasses type physiological sensing and wearing device and glasses structure
CN107515925A (en) * 2017-08-24 2017-12-26 北京小米移动软件有限公司 Method for playing music and device
US20180177666A1 (en) * 2016-12-22 2018-06-28 Rehab-Robotics Company Ltd. Power Assistive Device For Hand Rehabilitation And A Method of Using The Same
CN108392734A (en) * 2018-01-30 2018-08-14 深圳市前海未来无限投资管理有限公司 A kind of electro photoluminescence health-care method, device and wearable device
CN108415560A (en) * 2018-02-11 2018-08-17 广东欧珀移动通信有限公司 Electronic device, method of controlling operation thereof and Related product
CN108986803A (en) * 2018-06-26 2018-12-11 北京小米移动软件有限公司 Scenery control method and device, electronic equipment, readable storage medium storing program for executing
CN109117769A (en) * 2018-07-31 2019-01-01 东南大学 A kind of real-time quality assessment feedback method for wearing type electrocardiogram acquisition
CN109163422A (en) * 2018-08-22 2019-01-08 广东美的制冷设备有限公司 Air conditioner and its control method, device and computer readable storage medium
CN109491504A (en) * 2018-11-08 2019-03-19 郑州大学 A kind of projection interactive system based on gesture electromyography signal

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050081995A (en) * 2004-02-17 2005-08-22 산재의료관리원 Electronotive wheelchair for controlling an electromyogram an its controlling method
US20090327171A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Recognizing gestures from forearm emg signals
US20100069798A1 (en) * 2008-09-15 2010-03-18 Ching-Hsiang Cheng Wearable device to assist with the movement of limbs
US20140365979A1 (en) * 2013-06-11 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for performing communication service based on gesture
US20150084860A1 (en) * 2013-09-23 2015-03-26 Thalmic Labs Inc. Systems, articles, and methods for gesture identification in wearable electromyography devices
CN103645804A (en) * 2013-12-18 2014-03-19 三星电子(中国)研发中心 Method and device for identifying human body gestures as well as watch using device
CN103750836A (en) * 2014-01-14 2014-04-30 优尔美有限公司 Wearable myoelectricity instrument
CN105116995A (en) * 2014-08-31 2015-12-02 上海傲意信息科技有限公司 Intelligent wearable device and working method therefor
CN106034177A (en) * 2015-03-18 2016-10-19 小米科技有限责任公司 Information interaction method and apparatus thereof
CN105094606A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for processing information
CN105468152A (en) * 2015-11-24 2016-04-06 小米科技有限责任公司 Terminal operation control method and device based on wearable equipment, and equipment
CN105487661A (en) * 2015-11-27 2016-04-13 东莞酷派软件技术有限公司 Terminal control method and device
KR20170083403A (en) * 2016-01-08 2017-07-18 엘지전자 주식회사 Smart watch and controlling method using electromyograph singsl therof
CN105718049A (en) * 2016-01-14 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Control method, control device, wearable intelligent equipment and terminal
CN106997106A (en) * 2016-01-22 2017-08-01 周常安 Glasses type physiological sensing and wearing device and glasses structure
CN106503516A (en) * 2016-09-30 2017-03-15 北京小米移动软件有限公司 Terminal, unlocked by fingerprint method and device
US20180177666A1 (en) * 2016-12-22 2018-06-28 Rehab-Robotics Company Ltd. Power Assistive Device For Hand Rehabilitation And A Method of Using The Same
CN107515925A (en) * 2017-08-24 2017-12-26 北京小米移动软件有限公司 Method for playing music and device
CN108392734A (en) * 2018-01-30 2018-08-14 深圳市前海未来无限投资管理有限公司 A kind of electro photoluminescence health-care method, device and wearable device
CN108415560A (en) * 2018-02-11 2018-08-17 广东欧珀移动通信有限公司 Electronic device, method of controlling operation thereof and Related product
CN108986803A (en) * 2018-06-26 2018-12-11 北京小米移动软件有限公司 Scenery control method and device, electronic equipment, readable storage medium storing program for executing
CN109117769A (en) * 2018-07-31 2019-01-01 东南大学 A kind of real-time quality assessment feedback method for wearing type electrocardiogram acquisition
CN109163422A (en) * 2018-08-22 2019-01-08 广东美的制冷设备有限公司 Air conditioner and its control method, device and computer readable storage medium
CN109491504A (en) * 2018-11-08 2019-03-19 郑州大学 A kind of projection interactive system based on gesture electromyography signal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张佳星;: "人机交互, 如何做到意念控制", 河南电力, no. 01, 10 January 2018 (2018-01-10) *
方又方;喻洪流;官龙;易金花;张颖;石萍;: "基于肌电触发的上肢康复训练机器人的实现", 上海理工大学学报, no. 04, 15 August 2015 (2015-08-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050522A1 (en) * 2021-09-28 2023-04-06 歌尔股份有限公司 Interaction method, terminal device, and readable storage medium

Also Published As

Publication number Publication date
CN111857326B (en) 2025-01-07

Similar Documents

Publication Publication Date Title
CN104537365B (en) Touch key-press and fingerprint recognition implementation method, device and terminal device
RU2644057C2 (en) Remote control method and apparatus
WO2017181555A1 (en) Method and apparatus for controlling targeting massage device
CN106445461B (en) Method and device for processing character information
CN109246360B (en) Prompting method and mobile terminal
WO2022042275A1 (en) Distance measurement method, apparatus, electronic device, and readable storage medium
JP7173670B2 (en) VOICE CONTROL COMMAND GENERATION METHOD AND TERMINAL
CN107978316A (en) The method and device of control terminal
CN107102772B (en) Touch control method and device
EP4221184A1 (en) Panning photography method for target user, electronic device, and storage medium
WO2021013136A1 (en) Apparatus control method, and electronic apparatus
CN115378302B (en) Control method, device, equipment and readable storage medium for linear motor
CN105117699A (en) User behavior monitoring method and device
CN107529699A (en) Control method of electronic device and device
WO2024067468A1 (en) Interaction control method and apparatus based on image recognition, and device
CN113452835A (en) Method and device for controlling vibration of terminal
US20160313969A1 (en) Electronic apparatus, image display system, and recording medium
CN105677023A (en) Information presenting method and device
CN107885016B (en) Holographic projection method and device
CN106452916B (en) Preparation method and device, the client and server of quality of service information
CN113325948A (en) Air-isolated gesture adjusting method and terminal
CN111093133A (en) Wireless device control method, apparatus and computer readable storage medium
CN111857326A (en) Signal control method and device
CN107948876B (en) Method, device and medium for controlling sound box equipment
JP2018521368A (en) Fingerprint identification method, apparatus, program, and recording medium

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
GR01 Patent grant
GR01 Patent grant