Human-computer interaction device, method and equipment and storage medium
By using micro switches and sensor groups in human-computer interaction devices, gyroscopes and acceleration sensors are used to identify user actions and realize mode switching without pressing buttons. This solves the problem of physical buttons that affect the appearance and touch buttons that are easy to accidentally touch, and improves user experience. experience and device aesthetics.
Patent Information
- Application Number
- CN202410886085.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-01
AI Technical Summary
The existing physical buttons and touch buttons affect the user experience in human-computer interaction. The physical buttons affect the appearance of the entire machine, and the touch buttons are easily affected by the environment and lead to accidental touches.
It uses micro switches and sensor groups to start the power supply by shaking the device. It uses gyroscopes and acceleration sensors to collect electrical signals and identify user movements to achieve mode switching without pressing buttons, enhancing anti-interference and aesthetics.
It improves the user experience and overall machine aesthetics, simplifies the operation process, reduces power consumption, avoids accidental touch errors, and enhances the ease of use of the device.
Smart Images

Figure CN118732852A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-computer interaction technology, and in particular to a human-computer interaction device, method, equipment and storage medium. Background Art
[0002] With the improvement of intelligent perception and interactive device performance, gesture control has long been applied to the field of human-computer interaction. Gesture interaction has many advantages, including rich interactive information, conforming to human cognitive habits, and achieving a smooth transition between human cognitive space and machine sensing.
[0003] At present, most household products generally use physical buttons or touch buttons. Such buttons require users to judge the position of the buttons in human-computer interaction, and physical buttons affect the aesthetics of the entire machine. Touch buttons are easily affected by the surface environment (such as water on the surface) and may cause accidental touches. These two types of buttons have different degrees of impact on the user experience. Summary of the invention
[0004] In view of this, the present invention provides a human-computer interaction device, method, equipment and storage medium to solve the problem that traditional physical buttons or touch buttons easily affect the user experience.
[0005] In a first aspect, the present invention provides a human-computer interaction device, the device comprising a power supply, a micro switch, a first chip and a sensor group, wherein the first chip is connected to the sensor group; the micro switch is connected between the power supply and the first chip, and the micro switch is turned on when a user shakes the human-computer interaction device to power the first chip; the first chip is used for:
[0006] Acquiring electrical signals collected by the sensor group;
[0007] The electrical signal is characterized and when it is detected that the action taken by the user on the human-computer interaction device is a preset action, the working mode of the human-computer interaction device is switched based on the preset action.
[0008] The present invention realizes powering the first chip through a micro switch when the user shakes the human-computer interaction device, and there is no need to start it by pressing a button. It is simple and convenient. After the first chip is powered on, it recognizes the electrical signal collected by the sensor group. When it is recognized that the action made by the user is consistent with the preset action, it responds to the user's interactive behavior and switches the working mode of the human-computer interaction device based on the preset action. There is no need to set a mode switching button, which improves the aesthetics and user experience.
[0009] In an optional embodiment, the device further includes a second chip;
[0010] The power supply is connected to the input terminal of the second chip, the micro switch is connected to the enable terminal of the second chip, and the output terminal of the second chip is connected to the power supply terminal of the first chip;
[0011] The micro switch is turned on when the user shakes the human-machine interaction device, the enable terminal of the second chip is activated, and the second chip transmits the input voltage of the power supply to the first chip, so that the first chip is powered.
[0012] Therefore, by adding a second chip and a micro switch between the power supply and the first chip, normal power supply is ensured, and the device can be started when the user shakes the human-computer interaction device without adding additional buttons.
[0013] In an optional embodiment, the micro switch is a gravity micro switch, and the device further includes a first voltage-dividing resistor, a second voltage-dividing resistor, a controlled switch and a first diode;
[0014] The gravity micro switch is connected to one end of the first voltage-dividing resistor, the other end of the first voltage-dividing resistor is respectively connected to the controlled end of the controlled switch and one end of the second voltage-dividing resistor, and the other end of the second voltage-dividing resistor is respectively connected to the power supply and the input end of the controlled switch;
[0015] The output end of the controlled switch is connected to the enable end of the second chip through the first diode.
[0016] Therefore, by adding a controlled switch and a first diode between the second chip and the micro switch, the power supply line is further protected to prevent reverse power supply.
[0017] In an optional implementation, the device further includes a second diode; the enable signal output terminal of the first chip is connected to the enable terminal of the second chip through the second diode; and the first chip is further used for:
[0018] After power is supplied, a first enable signal is outputted to keep the enable terminal of the second chip in an activated state;
[0019] After determining based on the electrical signal that the user has not taken any action, a second enable signal is output to make the enable end of the second chip exit the activation state and cut off the connection between the output end of the second chip and the power supply end of the first chip.
[0020] Therefore, after determining that the user has not taken any action, the second chip cuts off the power supply voltage output to the first chip, thereby reducing the power consumption of the entire device and saving user costs.
[0021] In an optional implementation, the sensor group includes a gyroscope sensor and an acceleration sensor, and the electrical signal includes an angular velocity electrical signal collected by the gyroscope sensor and an acceleration electrical signal collected by the acceleration sensor; and the first chip is further used for:
[0022] Filtering and signal intercepting the angular velocity electrical signal and the acceleration electrical signal to obtain valid data segments in the angular velocity electrical signal and the acceleration electrical signal;
[0023] Identify action features in valid data segments;
[0024] When it is detected that the action feature matches the preset action feature, it is determined that the action performed by the user on the human-computer interaction device is a preset action.
[0025] Thus, the anti-interference performance is enhanced by filtering the electric signal, and then the effective data segment in the electric signal is obtained by signal interception, so as to identify the effective actions taken by the user on the human-computer interaction device.
[0026] In an optional implementation, the preset action feature includes the number of first action fingers and the first action times, and the preset action includes gear switching; the first chip is further used for:
[0027] When it is detected that the action feature matches the number of fingers in the first action and the first action frequency, it is determined that the action performed by the user on the human-computer interaction device is a gear switch.
[0028] Therefore, by presetting the number of fingers and the number of times for the gear switching action, it is convenient for the user to realize the gear switching of the device, which is simple and easy to use.
[0029] In an optional implementation, the preset action feature includes the number of second action fingers and the second action times, and the preset action includes mode switching; the first chip is further used for:
[0030] When it is detected that the motion feature matches the second motion finger number and the second motion frequency, it is determined that the motion made by the user on the human-computer interaction device is a mode switch.
[0031] Therefore, by presetting the number of fingers and the number of times of mode switching, it is convenient for users to switch the modes of the device, which is simple and easy to use.
[0032] In a second aspect, the present invention provides a human-computer interaction method, which is applied to the human-computer interaction device of the first aspect or any corresponding embodiment thereof, and the method comprises:
[0033] Acquiring electrical signals collected by the sensor group;
[0034] The electrical signal is characterized and when it is detected that the action taken by the user on the human-computer interaction device is a preset action, the working mode of the human-computer interaction device is switched based on the preset action.
[0035] In a third aspect, the present invention provides a human-computer interaction device, including the human-computer interaction device of the first aspect or any corresponding embodiment thereof;
[0036] The first chip includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the human-computer interaction method of the second aspect by executing the computer instructions.
[0037] In some optional implementations, the human-computer interaction device is a beauty instrument.
[0038] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the human-computer interaction method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 is a structural block diagram of a human-computer interaction device according to an embodiment of the present invention;
[0041] Figure 2 is a structural block diagram of another human-computer interaction device according to an embodiment of the present invention;
[0042] Figure 3 is a structural block diagram of another human-computer interaction device according to an embodiment of the present invention;
[0043] Figure 4 is a structural block diagram of another human-computer interaction device according to an embodiment of the present invention;
[0044] Figure 5 is a flow chart of a human-computer interaction method according to an embodiment of the present invention;
[0045] Figure 6 is a flow chart of a beauty instrument interactive control method according to an embodiment of the present invention;
[0046] Figure 7 is a schematic diagram of the structure of a beauty instrument according to an embodiment of the present invention;
[0047] Figure 8 4 is a schematic diagram of the hardware structure of the first chip according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0049] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0050] With the improvement of intelligent perception and interactive device performance, gesture control has long been applied to the field of human-computer interaction. Gesture interaction has many advantages, including rich interactive information, conforming to human cognitive habits, and achieving a smooth transition between human cognitive space and machine sensing.
[0051] At present, most household products generally use physical buttons or touch buttons. Such buttons require users to judge the position of the buttons in human-computer interaction, and physical buttons affect the aesthetics of the entire machine. Touch buttons are easily affected by the surface environment (such as water on the surface) and may cause accidental touches. These two types of buttons have different degrees of impact on the user experience.
[0052] Therefore, the embodiments of the present invention provide a human-computer interaction solution. In order to solve the problem that the existing physical buttons affect the appearance of the whole machine and the touch buttons are easily affected by the surface environment (such as water on the surface) and cause accidental touches, a human-computer interaction solution of finger tapping is proposed. The solution is sensitive in response, has strong anti-interference ability, and is more in line with user habits. By tapping the finger at any position on the beauty instrument body, the switch, gear, and mode can be switched, thereby conveniently controlling the beauty instrument.
[0053] According to an embodiment of the present invention, a human-computer interaction device is provided. Figure 1A schematic diagram of a human-computer interaction device provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the human-machine interaction device includes a power supply 101, a micro switch 102, a first chip U1 and a sensor group 103. The first chip U1 is connected to the sensor group 103, the micro switch 102 is connected between the power supply 101 and the first chip U1, and the micro switch 102 is turned on when the user shakes the human-machine interaction device to power the first chip U1.
[0054] Specifically, the first chip U1 is used to obtain the electrical signal collected by the sensor group 103, perform feature recognition on the electrical signal, and when it is detected that the action taken by the identified user on the human-computer interaction device is a preset action, switch the working mode of the human-computer interaction device based on the preset action.
[0055] The human-computer interaction device provided by the embodiment of the present invention realizes power supply to the first chip through a micro switch when the user shakes the human-computer interaction device, and there is no need to start it by pressing a button. It is simple and convenient. After the first chip is powered on, it recognizes the electrical signal collected by the sensor group. When it is recognized that the action made by the user is consistent with the preset action, it responds to the user's interactive behavior and switches the working mode of the human-computer interaction device based on the preset action. There is no need to set a mode switching button, which improves the aesthetics and user experience.
[0056] In some optional embodiments, the sensor group includes a gyroscope sensor and an acceleration sensor, and the electrical signal includes an angular velocity electrical signal collected by the gyroscope sensor and an acceleration electrical signal collected by the acceleration sensor. The first chip U1 can also be used to filter and intercept the angular velocity electrical signal and the acceleration electrical signal to obtain valid data segments in the angular velocity electrical signal and the acceleration electrical signal, and then identify the action features in the valid data segments. When it is detected that the action features match the preset action features, it is determined that the action made by the user on the human-computer interaction device is a preset action.
[0057] Exemplarily, the first chip U1 pre-processes the electrical signals collected by the gyroscope and acceleration sensor through filtering, initially filters out other interference signals, enhances anti-interference ability, intercepts the starting point and ending point of the electrical signal to obtain a valid data segment, performs feature analysis on the valid data segment, and finally effectively identifies the actions made by the user. The actions may be tapping actions, touching actions, etc., but the present invention is not limited to this.
[0058] Thus, the anti-interference performance is enhanced by filtering the electric signal, and then the effective data segment in the electric signal is obtained by signal interception, so as to identify the effective actions taken by the user on the human-computer interaction device.
[0059] Specifically, the preset action feature includes the number of fingers in the first action and the number of first actions, and the preset action includes gear switching. When the first chip U1 detects that the action feature matches the number of fingers in the first action and the number of first actions, it determines that the action made by the user on the human-computer interaction device is a gear switch. Exemplarily, the number of fingers in the first action corresponding to the gear switch may be 1 (i.e., a single finger) and the number of first actions may be 2 times, but the present invention is not limited thereto.
[0060] Therefore, by presetting the number of fingers and the number of times for the gear switching action, it is convenient for the user to realize the gear switching of the device, which is simple and easy to use.
[0061] Exemplarily, the preset action feature includes the number of second action fingers and the second action number, and the preset action includes mode switching. When the first chip U1 detects that the action feature matches the number of second action fingers and the second action number, it determines that the action made by the user on the human-computer interaction device is a mode switch. Exemplarily, the number of second action fingers corresponding to the mode switch can be 2 (i.e., two fingers), and the second action number can be 2 times, but the present invention is not limited thereto.
[0062] Therefore, by presetting the number of fingers and the number of times of mode switching, it is convenient for users to switch the modes of the device, which is simple and easy to use.
[0063] In some optional embodiments, such as Figure 2 As shown, the human-computer interaction device also includes a second chip U2, wherein the power supply 101 is connected to the input terminal Vin of the second chip U2, the micro switch 102 is connected to the enable terminal EN of the second chip U2, and the output terminal Vout of the second chip U2 is connected to the power supply terminal Vcc of the first chip U1.
[0064] Specifically, when the user shakes the human-machine interaction device, the micro switch 102 is turned on, the enable terminal EN of the second chip U2 is activated, and the second chip U2 transmits the input voltage of the power supply 101 to the first chip U1, so that the first chip U1 is powered.
[0065] It should be noted that the second chip can be a direct current to direct current (DC-DC) chip, the enable terminal EN of the second chip U2 is the enable pin of the DC-DC chip, the input terminal Vin of the second chip U2 is the voltage input pin of the DC-DC chip, and the output terminal Vout of the second chip U2 is the port for the DC-DC chip to power the first chip U1 and other loads (such as a sensor group).
[0066] Therefore, by adding a second chip and a micro switch between the power supply and the first chip, normal power supply is ensured, and the device can be started when the user shakes the human-computer interaction device without adding additional buttons.
[0067] In some optional embodiments, such as Figure 3 As shown, the micro switch 102 can be a gravity micro switch. When the gravity micro switch senses shaking, the contacts at both ends are turned on, such as a mercury switch. The human-computer interaction device also includes a first voltage-dividing resistor R1, a second voltage-dividing resistor R2, a controlled switch Q1 and a first diode D1. The first diode D1 can prevent reverse power supply.
[0068] Specifically, the gravity microswitch is connected to one end of the first voltage-dividing resistor R1, the other end of the first voltage-dividing resistor R1 is respectively connected to the controlled end of the controlled switch Q1 and one end of the second voltage-dividing resistor R2, the other end of the second voltage-dividing resistor R2 is respectively connected to the power supply 101 and the input end of the controlled switch Q1, and the output end of the controlled switch Q1 is connected to the enable end EN of the second chip U2 after passing through the first diode D1.
[0069] It should be noted that the controlled switch Q1 may be a triode, and the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 are required to ensure that the controlled switch Q1 is in a saturated conduction state when the gravity microswitch is turned on.
[0070] Therefore, by adding a controlled switch and a first diode between the second chip and the micro switch, the power supply line is further protected to prevent reverse power supply.
[0071] In some optional embodiments, such as Figure 4 As shown, the human-computer interaction device further includes a second diode D2, wherein the enable signal output terminal IO_1 of the first chip U1 is connected to the enable terminal EN of the second chip U2 through the second diode D2. The second diode D2 can also prevent reverse power supply.
[0072] Specifically, the first chip U1 outputs a first enable signal after being powered on, so that the enable terminal EN of the second chip U2 remains in an activated state. After the first chip U1 determines that the user has not taken any action based on the electrical signal obtained through the sensor group, it outputs a second enable signal to make the enable terminal EN of the second chip U2 exit the activated state, and cut off the connection between the output terminal Vout of the second chip U2 and the power supply terminal Vcc of the first chip U1. Exemplarily, the first enable signal may be a high-level signal, and the second enable signal may be a low-level signal, but the present invention is not limited thereto.
[0073] For example, when the gyroscope and acceleration sensor recognize that the device has been lying flat for a period of time without external force, the first chip IO_1 is pulled down and the second chip stops working, that is, the power supply of the first chip and other loads is cut off. At this time, the power consumption of the whole device is extremely low, and low-power standby is achieved. If the device is in a low-power state and the body is shaken, the gravity micro switch action is activated again, and the above process is repeated.
[0074] Therefore, after determining that the user has not taken any action, the second chip cuts off the power supply voltage output to the first chip, thereby reducing the power consumption of the entire device and saving user costs.
[0075] In addition, see again Figure 4 The device also includes a grounded resistor R3 and a capacitor C1, wherein the capacitor C1 is a filter capacitor and can perform preliminary filtering on the electrical signal. In addition to the sensor group, other loads can be added to the device according to actual needs.
[0076] When the device body of the present invention shakes or sways, the micro switch is turned on, the power supply and the second chip work and output the voltage required by the first chip and the load. After the first chip is powered on, the gyroscope and the acceleration sensor are started to collect the electrical signals of the sensors. After the electrical signals of the sensors are characterized, when it is recognized that the action made by the user meets the preset action, the corresponding control is performed according to the preset action, such as switching gears, switching modes, etc., without adding additional physical buttons or touch screens, thereby improving the aesthetics and user experience.
[0077] According to an embodiment of the present invention, an embodiment of a human-computer interaction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0078] In this embodiment, a human-computer interaction method is provided, which can be used for example Figure 1 The first chip U1 shown is, for example, a microcontroller unit (MCU), a single-chip microcomputer, etc. Figure 5 is a flow chart of a human-computer interaction method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0079] Step S501, acquiring the electrical signal collected by the sensor group.
[0080] Specifically, the sensor group includes a gyro sensor and an acceleration sensor, and the electrical signal includes an angular velocity electrical signal collected by the gyro sensor and an acceleration electrical signal collected by the acceleration sensor.
[0081] Step S502 : performing feature recognition on the electrical signal, and when it is detected that the action performed by the user on the human-computer interaction device is a preset action, switching the working mode of the human-computer interaction device based on the preset action.
[0082] Specifically, the above step S502 includes:
[0083] Step a1, filtering and intercepting the angular velocity electrical signal and the acceleration electrical signal to obtain valid data segments in the angular velocity electrical signal and the acceleration electrical signal.
[0084] Step a2, identifying action features in the valid data segment.
[0085] Exemplarily, the first chip pre-processes the electrical signals collected by the gyroscope and acceleration sensor through filtering, initially filters out other interference signals, enhances anti-interference ability, intercepts the starting point and ending point of the electrical signal to obtain a valid data segment, performs feature analysis on the valid data segment, and finally effectively identifies the actions made by the user. The actions may be tapping actions, touching actions, etc., but the present invention is not limited to this.
[0086] Step a3: when it is detected that the action feature matches the preset action feature, it is determined that the action performed by the user on the human-computer interaction device is a preset action.
[0087] Specifically, the preset action feature includes the number of fingers for the first action and the number of first actions, and the preset action includes gear switching. When the first chip detects that the action feature matches the number of fingers for the first action and the number of first actions, it determines that the action made by the user for the human-computer interaction device is a gear switch. Exemplarily, the number of fingers for the first action corresponding to the gear switch may be 1 (i.e., a single finger), and the number of first actions may be 2 times, but the present invention is not limited thereto.
[0088] Therefore, by presetting the number of fingers and the number of times for the gear switching action, it is convenient for the user to realize the gear switching of the device, which is simple and easy to use.
[0089] Exemplarily, the preset action feature includes the number of second action fingers and the second action number, and the preset action includes mode switching. When the first chip detects that the action feature matches the number of second action fingers and the second action number, it determines that the action made by the user on the human-computer interaction device is a mode switch. Exemplarily, the number of second action fingers corresponding to the mode switch can be 2 (i.e., two fingers), and the second action number can be 2 times, but the present invention is not limited thereto.
[0090] Therefore, by presetting the number of fingers and the number of times of mode switching, it is convenient for users to switch the modes of the device, which is simple and easy to use.
[0091] The human-computer interaction method provided in this embodiment realizes power supply to the first chip through a micro switch when the user shakes the human-computer interaction device, and there is no need to start it by pressing a button. It is simple and convenient. After the first chip is powered on, it recognizes the electrical signal collected by the sensor group. When it recognizes that the action made by the user is consistent with the preset action, it responds to the user's interactive behavior and switches the working mode of the human-computer interaction device based on the preset action. There is no need to set a mode switching button, which improves the aesthetics and user experience.
[0092] The human-computer interaction scheme of the present invention is described in detail below in conjunction with a specific application example of the present invention. The specific application example can be applied to Figure 4 The human-machine interaction device shown is described below by taking a beauty instrument including the human-machine interaction device as an example.
[0093] like Figure 6 As shown, when the body shakes or sways, the micro switch is turned on, the power supply and the second chip work and output the voltage required by the first chip and the load. After the main control chip is powered on, the gyroscope and acceleration sensor are started, the electrical signals of the sensors are collected, and the characteristics of the sensor electrical signals are recognized. When it is recognized that the action made by the user meets the preset action, the corresponding control is performed according to the preset action, such as switching gears, switching modes, etc.
[0094] Specifically, the first chip pre-processes the electrical signals collected by the gyroscope and acceleration sensor, initially filters out other interference signals, enhances anti-interference ability, intercepts the starting point and ending point of the electrical signal to obtain a valid data segment, performs feature analysis on the valid data segment, and finally effectively identifies the actions made by the user, which can be tapping actions, touching actions, etc.
[0095] For example, the gear and mode can be switched by tapping, as shown below (the tapping fingers and the number of tapping times can be flexibly adjusted according to different needs):
[0096] Table 1 Preset Actions
[0097] Serial number Number of fingers for action Number of actions Functional Description 1 Index finger (one finger) 2 Gear Switching 2 Index finger + thumb (two fingers) 2 Mode Switching
[0098] See again Figure 4 When the gravity microswitch senses shaking (the amplitude of the shaking can be adjusted according to actual conditions), the two contacts of the switch are turned on, the controlled switch Q1 is turned on, the EN pin of the second chip U2 is set high, the second chip works and outputs voltage to the first chip, and the first chip works to set the corresponding IO_1 pin high to keep the EN pin level high to achieve self-locking of the device.
[0099] When the gyroscope and acceleration sensor recognize that the beauty instrument has been lying flat for a period of time without external force, the first IO_1 is pulled low, and the second chip stops working, that is, the power supply of the first chip and other loads is cut off. At this time, the power consumption of the whole machine is extremely low, and low-power standby is achieved. If the beauty instrument is in a low-power state and the body is shaken, the gravity micro switch action is activated again, and the above work flow is repeated.
[0100] The present invention optimizes the shortcomings of physical buttons and touch buttons, adds a gyroscope and an acceleration sensor in the body, and the switch can be controlled by tapping any position of the beauty instrument body with a finger. It is not easily interfered with and has a strong ability to adapt to the environment.
[0101] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0102] The human-computer interaction device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0103] The embodiment of the present invention also provides a human-computer interaction device having the above Figure 1 As shown in the human-computer interaction device. Figure 7 As shown, the human-computer interaction device can be a beauty instrument. In order to make the appearance of the beauty instrument simple and beautiful, the embodiment of the present invention does not set any contacts and button switches outside the beauty instrument body. The body includes a beauty instrument body and a beauty instrument massage head. The beauty instrument body includes a wireless charging plate, a battery, a controller (mainly including a first chip and a second chip), a gravity micro switch, a gyroscope, an acceleration sensor, etc., thereby improving the product aesthetics and user experience.
[0104] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a first chip provided by an optional embodiment of the present invention, such as Figure 8As shown, the first chip includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the first chip, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0105] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0106] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0107] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the first chip, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the first chip via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0108] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0109] The first chip also includes a communication interface 30, which is used for the first chip to communicate with other devices or communication networks.
[0110] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0111] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0112] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A human-computer interaction device, characterized in that: The device comprises a power supply, a micro switch, a first chip and a sensor group, wherein the first chip is connected to the sensor group; the micro switch is connected between the power supply and the first chip, and the micro switch is turned on when a user shakes the human-computer interaction device to power the first chip; the first chip is used for: Acquiring electrical signals collected by the sensor group; The electrical signal is subjected to feature recognition, and when it is detected that the action taken by the user on the human-computer interaction device is a preset action, the working mode of the human-computer interaction device is switched based on the preset action.
2. The device according to claim 1, characterized in that The device also includes a second chip; The power supply is connected to the input terminal of the second chip, the micro switch is connected to the enable terminal of the second chip, and the output terminal of the second chip is connected to the power supply terminal of the first chip; The micro switch is turned on when the user shakes the human-computer interaction device, the enable terminal of the second chip is activated, and the second chip transmits the input voltage of the power supply to the first chip, so that the first chip is powered.
3. The device according to claim 2, characterized in that The micro switch is a gravity micro switch, and the device further comprises a first voltage-dividing resistor, a second voltage-dividing resistor, a controlled switch and a first diode; The gravity micro switch is connected to one end of the first voltage-dividing resistor, the other end of the first voltage-dividing resistor is respectively connected to the controlled end of the controlled switch and one end of the second voltage-dividing resistor, and the other end of the second voltage-dividing resistor is respectively connected to the power supply and the input end of the controlled switch; The output end of the controlled switch is connected to the enable end of the second chip through the first diode.
4. The device according to claim 2, characterized in that The device further includes a second diode; the enable signal output terminal of the first chip is connected to the enable terminal of the second chip through the second diode; the first chip is also used for: After power is supplied, outputting a first enable signal to keep the enable terminal of the second chip in an activated state; After determining based on the electrical signal that the user has not taken any action, a second enable signal is output to make the enable end of the second chip exit the activation state and cut off the connection between the output end of the second chip and the power supply end of the first chip.
5. The device according to claim 1, characterized in that The sensor group includes a gyro sensor and an acceleration sensor, and the electrical signal includes an angular velocity electrical signal collected by the gyro sensor and an acceleration electrical signal collected by the acceleration sensor; the first chip is also used for: Filtering and signal intercepting the angular velocity electrical signal and the acceleration electrical signal to obtain valid data segments in the angular velocity electrical signal and the acceleration electrical signal; Identifying action features in the valid data segment; When it is detected that the action feature matches the preset action feature, it is determined that the action performed by the user on the human-computer interaction device is a preset action.
6. The device according to claim 5, characterized in that The preset action feature includes the number of first action fingers and the first action times, and the preset action includes gear switching; the first chip is also used for: When it is detected that the action feature matches the first action finger quantity and the first action frequency, it is determined that the action performed by the user on the human-computer interaction device is a gear switch.
7. The device according to claim 5, characterized in that The preset action feature includes the number of second action fingers and the second action times, and the preset action includes mode switching; the first chip is also used for: When it is detected that the action feature matches the second action finger number and the second action frequency, it is determined that the action performed by the user on the human-computer interaction device is a mode switch.
8. A human-computer interaction method, characterized in that: The human-computer interaction device according to any one of claims 1 to 7, wherein the method comprises: Acquiring electrical signals collected by the sensor group; The electrical signal is subjected to feature recognition, and when it is detected that the action taken by the user on the human-computer interaction device is a preset action, the working mode of the human-computer interaction device is switched based on the preset action.
9. A human-computer interaction device, characterized in that: A human-computer interaction device comprising any one of claims 1 to 7; The first chip includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the human-computer interaction method described in claim 8 by executing the computer instructions.
10. The human-computer interaction device according to claim 9, characterized in that: The human-computer interaction device is a beauty instrument.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the human-computer interaction method described in claim 8.
