Electronic device control method and device, electronic device and storage medium

By calculating the amplitude ratio of the alpha brain wave and the Bedda brain wave, the concentration value is determined and the control instructions are generated, which solves the problem of delay in electronic devices that control the electronic devices by EEG signals, and improves the response rate and user experience.

CN114594852BActive Publication Date: 2025-04-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011438235.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-07
Publication Date
2025-04-29
Estimated Expiration
2040-12-07

AI Technical Summary

Technical Problem

In the prior art, electronic devices based on EEG signals have large delays, resulting in slow response rates and poor user experience.

Method used

By obtaining the alpha brain wave and Bedda brain wave of the target user, calculate the concentration value, and generate the first type of control instructions to control the electronic device based on the concentration value to achieve rapid response.

Benefits of technology

Reduces the delay of electronic devices that control electronic devices through EEG signals, improves response rate and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114594852B_ABST
    Figure CN114594852B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a control method and device for an electronic device, an electronic device and a storage medium. The control method for the electronic device comprises: displaying a first page; acquiring brain waves of a target user when the first page is displayed, wherein the brain waves comprise: alpha brain waves and beta brain waves; determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave; and generating a first type of control instruction for controlling the electronic device according to the concentration value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electrical equipment, and in particular to a control method and device for an electronic device, an electronic device, and a storage medium. Background Art

[0002] Currently, research on EEG signals is mostly applied to brain-computer interfaces and neural feedback. Brain-computer interface technology collects EEG signals and processes them to extract the characteristics of the EEG signals; the electronic devices are controlled to perform corresponding operations based on the extracted characteristics.

[0003] However, in the related art, the control of electronic devices based on EEG signals has a relatively large delay, which leads to the problem of slow response rate of electronic devices and poor user experience. Summary of the invention

[0004] The present disclosure provides a control method and device for an electronic device, an electronic device, and a storage medium.

[0005] A first aspect of an embodiment of the present disclosure provides a control method for an electronic device, including:

[0006] Display the first page;

[0007] Acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves;

[0008] determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave;

[0009] A first type of control instruction for controlling the electronic device is generated according to the concentration value.

[0010] Based on the above scheme, the concentration value is determined according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave, including:

[0011] Determining a first ratio between the amplitude energy of the alpha wave at a first moment and the maximum amplitude energy of the alpha wave;

[0012] Determining a second ratio between the amplitude energy of the Beda brain wave at the first moment and the maximum amplitude energy of the Beda brain wave;

[0013] The concentration value is obtained according to the first ratio and the second ratio.

[0014] Based on the above solution, obtaining the concentration value according to the first ratio and the second ratio includes:

[0015] The difference between the first ratio and the second ratio is calculated to obtain the concentration value.

[0016] Based on the above scheme, the first type of instructions includes: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on the current target displayed on the first page;

[0017] The step of generating a first type of control instruction for controlling the electronic device according to the concentration value comprises:

[0018] If the peak value of the concentration value is greater than a first threshold, generating the determination instruction for controlling the electronic device to perform the predetermined operation;

[0019] and / or,

[0020] If the valley value of the concentration value is less than a second threshold, generating the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation;

[0021] The second threshold is smaller than the first threshold.

[0022] Based on the above solution, the method further includes:

[0023] When the concentration value at the nth detection moment is within a preset interval, a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment is determined, and a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment is determined; the concentration value being within the preset interval includes: the concentration value being greater than the first threshold or the concentration value being less than the second threshold; wherein n is a positive integer;

[0024] If the sign of the first slope is opposite to the sign of the second slope, it is determined that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold.

[0025] Based on the above solution, the predetermined operation includes one of the following:

[0026] Booking operations;

[0027] Purchase operation;

[0028] Collection operation;

[0029] Forwarding operation.

[0030] Based on the above solution, the method further includes:

[0031] Acquiring eye waves of the target user when the first page is displayed;

[0032] Acquiring electrooculographic characteristics according to the electrooculographic waves;

[0033] A second type of control instruction for controlling the electronic device is generated according to the electrooculographic feature; wherein the second type of control instruction is different from the first type of control instruction.

[0034] Based on the above scheme, the electrooculographic characteristics include: blinking frequency;

[0035] The generating, according to the electrooculographic feature, a second type of control instruction for controlling the electronic device comprises:

[0036] When the blinking frequency is higher than the frequency threshold, control is generated to switch the electronic device to a second page, where the second page is the page displayed by the electronic device at a previous moment.

[0037] Based on the above solution, the method further includes:

[0038] If the first and second control instructions are not detected within a preset time period of displaying the first page, a third control instruction is generated to control the electronic device, wherein the third control instruction is different from the first and second control instructions.

[0039] Based on the above solution, the third type of control instruction includes one of the following:

[0040] A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment;

[0041] A control instruction to control the electronic device to close the application corresponding to the first page.

[0042] A second aspect of an embodiment of the present disclosure provides a control device for an electronic device, including:

[0043] A display module, used for displaying a first page;

[0044] A first acquisition module is used to acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves;

[0045] a determination module, for determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave;

[0046] A generating module is used to generate a first type of control instruction for controlling the electronic device according to the concentration value.

[0047] Based on the above scheme, the determination module is specifically used to determine a first ratio between the amplitude energy of the alpha wave at the first moment and the maximum amplitude energy of the alpha wave; determine a second ratio between the amplitude energy of the beta brain wave at the first moment and the maximum amplitude energy of the beta brain wave; and obtain the concentration value based on the first ratio and the second ratio.

[0048] Based on the above solution, the determination module is specifically used to calculate the difference between the first ratio and the second ratio to obtain the concentration value.

[0049] Based on the above scheme, the first type of instructions includes: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on the current target displayed on the first page;

[0050] The generation module is specifically used to generate the determination instruction for controlling the electronic device to perform the predetermined operation if the peak value of the concentration value is greater than a first threshold; and / or to generate the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation if the trough value of the concentration value is less than a second threshold; wherein the second threshold is less than the first threshold.

[0051] Based on the above solution, the device further includes:

[0052] A slope module; used for determining a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment, and determining a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment when the concentration value at the nth detection moment is within a preset interval; the concentration value being within the preset interval includes: the concentration value being greater than the first threshold or the concentration value being less than the second threshold; wherein n is a positive integer;

[0053] A conditional module is used to determine that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold if the sign of the first slope is opposite to the sign of the second slope.

[0054] Based on the above solution, the predetermined operation includes one of the following:

[0055] Booking operations;

[0056] Purchase operation;

[0057] Collection operation;

[0058] Forwarding operation.

[0059] Based on the above solution, the device also includes:

[0060] A second acquisition module, used to acquire the eye waves of the target user when the first page is displayed;

[0061] A third acquisition module is used to acquire the electrooculogram characteristics according to the electrooculogram;

[0062] The generating module is used to generate a second type of control instruction for controlling the electronic device according to the electrooculographic characteristics; wherein the second type of control instruction is different from the first type of control instruction.

[0063] Based on the above scheme, the electrooculographic characteristics include: blinking frequency;

[0064] The generating module is specifically used to generate control for the electronic device to switch to a second page when the blinking frequency is higher than a frequency threshold, where the second page is a page displayed by the electronic device at a previous moment.

[0065] Based on the above scheme, the generation module is also used to generate a third type of control instruction for controlling the electronic device if the first type of control instruction and the second type of control instruction are not detected within a preset time period for displaying the first page, wherein the third type of control instruction is different from the first type of control instruction and the second type of control instruction, respectively.

[0066] Based on the above solution, the third type of control instruction includes one of the following:

[0067] A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment;

[0068] A control instruction to control the electronic device to close the application corresponding to the first page.

[0069] A third aspect of the present disclosure provides an electronic device, including:

[0070] a memory for storing processor-executable instructions;

[0071] A processor connected to the memory;

[0072] The processor is configured to execute a control method for an electronic device as provided by any one of the technical solutions of the first aspect.

[0073] A fourth aspect of the embodiments of the present disclosure provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a computer, the computer can execute the control method of the electronic device provided by any one of the technical solutions of the first aspect. The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects:

[0074] The technical solution provided by the embodiment of the present disclosure combines the alpha brain waves and beta brain waves in the EEG signals to jointly determine the concentration value that characterizes the degree of concentration of the target user's attention when viewing the first page, so that the target user's intention (or intent) can be quickly determined, thereby generating a first type of control instruction corresponding to the user's intention (or intent) to control the electronic device to execute the control instruction; thereby reducing the control delay of the electronic device using EEG signals, improving the response rate of controlling the electronic device using EEG signals, and further improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0076] Figure 1 is a flowchart of a method for controlling an electronic device according to an exemplary embodiment;

[0077] Figure 2 is a schematic diagram showing the effect of a target user wearing a detection device according to an exemplary embodiment;

[0078] Figure 3 is a schematic diagram of a process for determining a concentration value according to an exemplary embodiment;

[0079] Figure 4 is a waveform diagram of a concentration value in the time domain according to an exemplary embodiment;

[0080] Figure 5 is a flowchart of a method for controlling an electronic device according to an exemplary embodiment;

[0081] Figure 6 is a flowchart of a method for controlling an electronic device according to an exemplary embodiment;

[0082] Figure 7 is a waveform diagram of an electro-oculogram according to an exemplary embodiment;

[0083] Figure 8 is a schematic structural diagram of a control device of an electronic device according to an exemplary embodiment;

[0084] Fig. 9 It is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

[0086] like Figure 1 As shown, an embodiment of the present disclosure provides a control method of an electronic device, and the control method is applied to the electronic device, including:

[0087] S110: display the first page;

[0088] S120: Acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves;

[0089] S130: determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave;

[0090] S140: Generate a first type of control instruction for controlling the electronic device according to the concentration value. In the embodiment of the present disclosure, the electronic device includes but is not limited to: various mobile terminals and / or fixed terminals. The mobile terminal includes but is not limited to: a mobile phone, a tablet computer or a wearable device, etc. The fixed terminal includes: a personal computer (PC) or a projection device, etc.

[0091] In one embodiment, the electronic device may be a small-screen device whose screen area is smaller than a first preset value, and the small-screen device may not be convenient for the user's manual touch; or, the electronic device may be a large display device whose display area is larger than a second preset value. The second preset value is larger than the first preset value. The large display device here is a projection device, which is hung on the wall and may require a special control device for control. In this way, it is not easy to control when the user leaves the control device. In the embodiment of the present disclosure, the target user can wear a detection device for simplified control through EEG signals.

[0092] The first page displayed by the electronic device may be a system-level page or an application-level page. The system-level page includes: a display page of the operating system. The application-level page includes: a display page of any application installed in the operating system.

[0093] The first page displays one or more targets, such as product information or service information for online shopping. For another example, the target may be: pictures to be viewed and / or texts to be read by the target user.

[0094] The target user may be a user wearing a detection device for detecting brain waves, or a user viewing the first page. The detection device may be connected to the electronic device in advance. This connection may be a wired connection or a wireless connection. For example, a wireless connection includes but is not limited to a Bluetooth connection or a WiFi direct connection, or a network connection is established through the Internet. The Internet may include: an access network and a core network, etc. The access network includes but is not limited to: an access network for cellular mobile communications and / or a WiFi network constructed by a WiFi hotspot. The core network is connected to the back end of the access network to realize data interaction between different access networks or multiple devices connected to the same access network. The data interaction includes: brain wave detection data.

[0095] In one embodiment, the brain waves can be detected by a detection device. Figure 2 As shown, the target user wears a brain-activated headband as a detection device to detect the target user's EEG signal. In this way, the electronic device can receive the aforementioned brain waves from the detection device. For example, the electronic device receives the original signal of the EEG signal from the detection device, and obtains brain waves of different frequencies by signal decomposition; according to the frequency range of the alpha brain wave and the beta brain wave, the alpha brain wave and the beta brain wave of the detected target user can be extracted.

[0096] Figure 2 The mobile phone held by the target user may be the electronic device in the embodiment of the present disclosure.

[0097] In the disclosed embodiment, at least the amplitudes of the alpha brain wave and the beta brain wave are obtained. The concentration value representing the attention level of the target user when viewing the first page is determined based on the amplitudes of the two brain waves. The amplitudes of the alpha brain wave and the beta brain wave reflect the activity level of the target user's brain.

[0098] In the embodiment of the present disclosure, the concentration value is positively correlated with the concentration of the target user when viewing the first page.

[0099] A first type of control instruction to be executed by the control electronic device is generated according to the concentration value.

[0100] For example, in one embodiment, if the concentration value is within a preset interval, a first type of control instruction to be executed by the electronic device is generated; and / or, if the concentration value is outside the preset interval, the first type of control instruction to be executed by the electronic device is not generated.

[0101] In the embodiment of the present disclosure, the first type of control instruction may be: a control instruction other than controlling the electronic device to execute display switching, and of course, may also be a control instruction for controlling the electronic device to execute display switching.

[0102] If the first type of control instruction is: a control instruction other than controlling the electronic device to perform display switching, it may be an operation instruction for one or more targets displayed on the first page. Of course, the execution result of the operation instruction will trigger the electronic device to switch the display. This first type of control instruction is not an instruction to directly control the electronic device to switch the display. For example, the first type of control instruction is an instruction to determine online shopping. The electronic device will send a purchase request based on the goods or services displayed on the first page and receive a payment request returned by the server based on the purchase request; at this time, the payment request will trigger the electronic device to switch to the payment page, but the payment page is not directly instructed to be executed by the first type of control instruction, but is triggered by the execution result of the first type of control instruction.

[0103] In summary, in the embodiments of the present disclosure, the alpha brain waves and beta brain waves in the EEG signals are combined to jointly determine a concentration value that characterizes the degree of concentration of the target user's attention when viewing the first page, so that the target user's intention (or intent) can be quickly determined, thereby generating a first type of control instruction corresponding to the user's intention (or intent) to control the electronic device to execute the control instruction; thereby reducing the control delay of electronic devices using EEG signals, improving the response rate of controlling electronic devices using EEG signals, and further improving user satisfaction.

[0104] In one embodiment, Figure 3 As shown, the S130 may include:

[0105] S131: Determine a first ratio between the amplitude energy of the alpha wave at a first moment and the maximum amplitude energy of the alpha wave;

[0106] S132: Determine a second ratio between the amplitude energy of the Beda brain wave at the first moment and the maximum amplitude energy of the Beda brain wave;

[0107] S133: Obtain the concentration value according to the first ratio and the second ratio.

[0108] Amplitude energy is proportional to the square of the amplitude.

[0109] Through observation, it was found that the peak value of alpha brain waves and the trough value of beta brain waves, or the trough value of alpha brain waves and the peak value of beta brain waves, have a certain accompanying relationship.

[0110] The concentration value obtained as the independent variable using the first ratio and the second ratio as the independent variable can make the concentration value have a comparative range of variation. In this way, the gradient of the concentration value variation increases. In this way, the greater the gradient of the concentration value variation, the concentration value will quickly rise from a very small value to a larger value or drop to a smaller value, so that when the conditions are met, the first type of control instruction can be quickly generated, thereby improving the response rate of the electronic device.

[0111] In some other embodiments, determining the concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave comprises:

[0112] determining a first ratio between an absolute value of the amplitude of the alpha wave at a first moment and a maximum absolute value of the amplitude of the alpha wave;

[0113] Determining a second ratio between the absolute value of the amplitude of the Beda brain wave at the first moment and the maximum absolute value of the amplitude of the Beda brain wave;

[0114] The concentration value is obtained according to the first ratio and the second ratio.

[0115] In one embodiment, obtaining the concentration value according to the first ratio and the second ratio includes:

[0116] The difference between the first ratio and the second ratio is calculated to obtain the concentration value.

[0117] For example, the concentration value is obtained by subtracting the difference between the first ratio and the second ratio; in another embodiment, the concentration value can also be obtained by adding the first ratio to the second ratio. In short, there are many ways to calculate the concentration value based on the first ratio and the second ratio, which are not limited to any of the above.

[0118] For example, the concentration value is calculated using the following formula:

[0119]

[0120] In formula (1), is the amplitude energy of the alpha brain wave at time t, is the amplitude energy of Beda brainwave at time t, E α is the maximum energy of the alpha wave amplitude, E β It is the maximum energy of the amplitude of Beda brain waves.

[0121] In the disclosed embodiments, the amplitude of the alpha brain wave and the amplitude of the beta brain wave are both amplitudes of time domain waves.

[0122] In some embodiments, the first type of instructions includes: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on the current target displayed on the first page;

[0123] The S140 may include: if the peak value of the concentration value is greater than a first threshold, generating the determination instruction for controlling the electronic device to perform the predetermined operation; and / or, if the trough value of the concentration value is less than a second threshold, generating the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation; wherein the second threshold is less than the first threshold.

[0124] like Figure 4 The concentration value also shows a certain periodicity. For example, a time domain waveform diagram drawn based on discrete concentration values ​​flips between positive and negative values ​​once, corresponding to a cycle of the concentration value.

[0125] The first threshold may be Figure 4 The second threshold value may be Figure 4 The C value in .

[0126] The concentration value between the first threshold and the second threshold is: a value outside the preset interval; and the concentration value greater than the first threshold and less than the second threshold is a value within the preset interval.

[0127] exist Figure 4 In the figure, time t1 is the peak value of the concentration value; time t2 is the trough value of the concentration value.

[0128] In one embodiment, in order to further improve the response rate of the electronic device, the electronic device determines whether to generate a first-class control instruction each time it obtains a concentration value, rather than waiting until the concentration value has crossed between positive and negative values ​​at least once before determining whether to generate a first-class control instruction.

[0129] In this way, by determining whether the peak value of the concentration value is greater than the first threshold and whether the trough value of the concentration value is less than the first threshold, compared with solely determining whether the concentration value is within a preset interval, the repeated generation of the first type of control instructions can be reduced, thereby reducing unnecessary generation of control instructions and erroneous operations.

[0130] For example, assuming that the first type of control instruction is a purchase instruction that controls an electronic device to perform a purchase operation, the first type of control instruction is generated once the concentration value is greater than a first threshold value. Due to the continuity of the change in the concentration value, the purchase instruction may be repeatedly generated, resulting in repeated purchases and the like. However, this is obviously not what the user wants. Therefore, in the embodiment of the present disclosure, the peak value and trough value of the concentration value are used to determine whether to generate the first type of control instruction, which can reduce the misoperation of the electronic device and further improve the user experience.

[0131] Exemplarily, the method further includes:

[0132] When the concentration value at the nth detection moment is within a preset interval, a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment is determined, and a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment is determined; the concentration value being within the preset interval includes: the concentration value being greater than the first threshold or the concentration value being less than the second threshold; wherein n is a positive integer;

[0133] If the sign of the first slope is opposite to the sign of the second slope, it is determined that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold.

[0134] The nth detection moment can be any detection moment of the concentration value, and one detection moment can correspond to a detection moment of the brain wave. The n-1th detection moment is the detection moment before the nth detection moment; the n+1th detection moment is the detection moment after the nth detection moment. The slope of the straight line is constructed in the two-dimensional coordinate system with the moment information of the detection moment and the concentration value. If it is found that the signs of the slopes of the two straight lines are opposite, it means that a peak value or a trough value of the concentration value has been experienced.

[0135] The sign of the first slope is opposite to the sign of the second slope, including:

[0136] The first slope is a positive number and the second slope is a negative number;

[0137] or,

[0138] The first slope is a negative number and the second slope is a positive number.

[0139] As for whether the concentration value is currently experiencing a peak value or a trough value, it can be determined based on the sign of the concentration value. Alternatively, if the sign of the slope switches from negative to positive, it can be considered that the concentration value has experienced a trough value. If the sign of the slope switches from positive to negative, it can be considered that it has experienced a peak value.

[0140] By fitting a straight line and based on the slope of the straight line, the peak value and the trough value of the concentration value can be quickly known, thereby further accelerating the generation of the first type of control instructions, thereby improving the response rate of the electronic device.

[0141] In one embodiment, the predetermined operation includes one of the following:

[0142] Booking operations; for example, booking transportation tickets, booking online shopping products, etc.

[0143] Purchase action: purchase of online goods and / or services.

[0144] Collection operation; the collection operation includes but is not limited to: collection of links to online shopping products or services; or collection of articles and other content displayed on the first page;

[0145] Forwarding operation.

[0146] The forwarding operation includes: forwarding text and / or images on instant social platforms such as WeChat.

[0147] In some embodiments, the method further comprises:

[0148] Acquiring eye waves of the target user when the first page is displayed;

[0149] Acquiring electrooculographic characteristics according to the electrooculographic waves;

[0150] A second type of control instruction for controlling the electronic device is generated according to the electrooculographic feature; wherein the second type of control instruction is different from the first type of control instruction.

[0151] Eye waves are a physiological waveform that reflects the eye movements of the target user.

[0152] The user's eye movement also reflects the target user's attention to the content displayed on the first page, and thus can also reflect the user's intention or willingness.

[0153] In the disclosed embodiment, eye waves are introduced to generate the second type of control instructions for electronic devices. The second type of control instructions can control the electronic device to perform corresponding operations, for example, control the electronic device to perform display switching, enriching the control of electronic devices using brain waves. Eye waves and brain waves are both types of the aforementioned brain waves.

[0154] In one embodiment, the electrooculogram feature may include: the target user's blinking frequency and / or blinking amplitude. The amplitude of conscious blinking is different from the amplitude of unconscious blinking. In one embodiment, if the user's conscious blinking is detected according to the electrooculogram feature, the second type of control instruction may be generated.

[0155] Figure 7 is a waveform diagram of an eye wave; Figure 7 In the disclosed embodiment, the electrooculogram feature may be a peak feature in the electrooculogram wave. If the amplitude value corresponding to the peak of the electrooculogram wave is greater than a specific value, it can be considered that a conscious blink has occurred. In the disclosed embodiment, the blink amplitude or the frequency of conscious blinking can be determined based on whether there is a peak feature, and whether to generate a second type of control instruction.

[0156] In one embodiment, the electrooculographic characteristics include: blinking frequency;

[0157] The generating, according to the electrooculographic feature, a second type of control instruction for controlling the electronic device comprises:

[0158] When the blinking frequency is higher than the frequency threshold, control is generated to switch the electronic device to a second page, where the second page is the page displayed by the electronic device at a previous moment.

[0159] In order to improve the control accuracy and reduce the misoperation of the electronic device, the electrooculographic features described in the embodiment of the present disclosure include: blink frequency. And the blink frequency is the blink frequency with a blink amplitude greater than the amplitude threshold, so as to ensure that the target user consciously blinks to control the electronic device and reduce the misoperation caused by a single conscious blink.

[0160] The frequency threshold may be any positive integer. For example, the frequency threshold may be a positive integer not less than 2.

[0161] In one embodiment, the method further comprises:

[0162] If the first and second control instructions are not detected within a preset time period of displaying the first page, a third control instruction is generated to control the electronic device, wherein the third control instruction is different from the first and second control instructions.

[0163] If the brain waves and / or eye waves of the first type of control instructions and / or the second type of control instructions are not detected within the predetermined time of displaying the first page, a third type of control instruction is generated. The third type of control instruction can be any instruction other than the first type of control instruction and the second type of control instruction, thereby further enriching the brain wave signal control form of the electronic device.

[0164] In one embodiment, the third type of control instruction includes one of the following:

[0165] A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment;

[0166] A control instruction to control the electronic device to close the application corresponding to the first page.

[0167] For example, the first page is shopping page A. If the first type of control instruction and / or the second type of control instruction is not generated within the preset display time of shopping page A, it means that the target user is not interested in the content on shopping page A and can switch to the next shopping page B. The next shopping page B can be any shopping page that has not been displayed before, so that the target user can see the shopping information on shopping page B.

[0168] For another example, the first page is shopping page A. If the electronic device generates a second type of control instruction, it returns to display the previous shopping page C; shopping page C was displayed before shopping page A.

[0169] In one embodiment, the method further comprises:

[0170] After generating a control instruction, outputting prompt information, wherein the control instruction includes any one of the first type of control instruction, the second type of control instruction to the third type of control instruction;

[0171] The brain waves when the prompt information is detected are obtained, and the concentration value is determined according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave in the brain wave; according to the concentration value, it is determined whether to execute the generated control instruction.

[0172] For example, the prompt information is displayed on the first page in the form of a prompt dialog box, which has an "OK" control and / or a "Cancel" control; based on the electrooculographic characteristics of the concentration value of the brain wave, it is determined whether the target user pays more attention to the "OK" control or the "Cancel" control, thereby determining whether to perform the corresponding operation.

[0173] Closing the application corresponding to the first page, if the first page is an online shopping page, is equivalent to the electronic device closing the online shopping application after the third control instruction is executed.

[0174] Of course, the above is only an example of the third type of control instructions. There are many ways to implement it, not limited to any of the above examples.

[0175] The disclosed embodiment provides a control method of an electronic device, which can be applied to various scenarios, and is described below by taking an online shopping scenario as an example. If the shopping scenario is in place, the first page currently displayed by the electronic device is an online shopping page.

[0176] This technology is applied to shopping scenarios, and the entire closed-loop shopping scenario of the online mall is completed through mind control. For example:

[0177] On the online shopping page, there are controls such as "next", "buy" and "previous" to confirm / cancel purchases and turn pages. You can use mobile shopping apps, such as Xiaomi Mall and other brand mall apps, to complete a series of operations that only require you to use your brain to control the products you want to buy.

[0178] First, the single-channel EEG headband collects EEG signals at the PF2 of the human forehead. The detection equipment collects the original waveform of the EEG signal and can separate 4 different brain waves and 1 eye wave. These 4 brain waves include the aforementioned alpha brain waves and beta brain waves.

[0179] Then the Bluetooth transmits the EEG signal to the mobile phone APP, which analyzes the communication data and performs algorithm processing on the original waveform, separates the original waveform mentioned above, processes it with the concentration value algorithm, and records the number of eye movements in real time; finally, it judges the thresholds of the peaks and troughs of the concentration value curve and the electrooculogram threshold to implement corresponding operations.

[0180] The concentration value is defined as the difference between the amplitude energy of the alpha wave and the amplitude energy of the beta wave. The formula is the above formula (1).

[0181] like Figure 4 As shown in the figure, in the same period of time, the concentration value ranges from [-100, 100], and the focus value ranges from [0, 100]. Generally, the focus value is calculated based on the amplitude of the alpha brain wave alone.

[0182] By combining the method of calculating the concentration value with the alpha brain wave and the beta brain wave, the concentration value change gradient becomes larger, so that the electronic device responds faster and the corresponding instructions are executed faster.

[0183] In addition, it solves the problem of long delays in issuing commands in the video, and is also a new secondary data processing method for raw brain waves. For the threshold judgment of the EEG concentration value, when the peak value at time t1 appears at a certain moment, the extreme value algorithm (that is, the slope change between the three points) is used to find the extreme point, and determine whether the maximum value meets the set B requirement, and finally execute the corresponding command, and the same applies to time t2. In this way, the EEG signal will not be repeatedly judged, and the command will be repeatedly executed, which will speed up the reaction while reducing memory and improving the accuracy of the command. The extreme points here include the peak value and trough value of the aforementioned concentration value.

[0184] like Figure 5 As shown, the EEG headband worn at PF2 on the forehead of the human body collects EEG signals, and the collected EEG signals at least include: brain wave signals and eye wave signals. Figure 5It is defined in the specification that the EEG headband is a single-channel EEG headband. In the actual implementation process, the EEG headband can also be a multi-channel EEG headband. The original signals collected by the EEG headband are transmitted to the mobile phone via Bluetooth. The mobile phone can process the application (Application, App) that generates control instructions based on EEG signals. After receiving the original signal transmitted by Bluetooth of the EEG headband, it performs communication analysis and processes it based on the processing algorithm to separate the alpha brain waves, beta brain waves and eye waves in the EEG. Finally, based on the control algorithm, the concentration value is calculated to obtain the peak value and trough value of the curve corresponding to the concentration value. The peak value and trough value based on the concentration value are used to generate two control instructions respectively; the eye waves are used to generate another control instruction. For example, the number of eye movements can be extracted based on the eye waves, and then whether to generate a control instruction is controlled based on the number of eye movements.

[0185] For specific operation procedures, please refer to Figure 6 As shown, firstly, the single-channel original EEG signal is analyzed, and four different brain waves and one eye wave are separated by Fourier transform;

[0186] Then, the concentration value is processed into a real-time effective concentration value according to the concentration value algorithm, and the peak characteristics of the eye wave are extracted according to the eye electrogram algorithm. That is, the eye electrogram feature here is determined according to the peak of the eye wave.

[0187] Finally, a comprehensive judgment is made based on the corresponding threshold, the obtained concentration value and the electrical detection characteristics, and a control instruction is generated based on the judgment result.

[0188] When the electrooculogram feature is greater than a certain threshold A, the first command (command-1) is executed.

[0189] When a peak value of the concentration value is greater than the threshold value B, the second signal instruction (command-2) is executed.

[0190] When a certain trough value of the concentration value is less than the threshold C, the third instruction (command-3) is executed;

[0191] When no command threshold is detected within a certain period of time, the fourth command (command-4) is executed. The certain period of time here can be the preset time length corresponding to the third type of control command mentioned above.

[0192] The first instruction here is a type of the aforementioned second type of control instruction; the second instruction and the third instruction here are both the aforementioned first type of control instruction. The fourth instruction here is the aforementioned third type of control instruction.

[0193] When calculating the peak and trough values ​​of the concentration value, it is generally necessary to take the first three concentration values. When the signs of the slopes between the two values ​​are opposite, an extreme point appears, and the middle point is used as the judgment point of the threshold value. This threshold value can be initialized and calibrated according to the characteristics of the EEG signals of different users. For example, the threshold value is determined based on the historical EEG signals of the target user and the control behavior of the electronic device. The threshold value here may include: the aforementioned first threshold value and / or the second threshold value.

[0194] like Figure 8 As shown, an embodiment of the present disclosure provides a control device for an electronic device, comprising:

[0195] Display module 110, used to display the first page;

[0196] A first acquisition module 120 is used to acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves;

[0197] A determination module 130, configured to determine a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave;

[0198] The generating module 140 is configured to generate a first type of control instruction for controlling the electronic device according to the concentration value.

[0199] In some embodiments, the display module 110, the first acquisition module 120, the determination module 130 and the generation module 140 include a program module; after the program module is executed by the processor, the function of any of the above modules can be realized.

[0200] In some embodiments, the display module 110, the first acquisition module 120, the determination module 130 and the generation module 140 include a soft-hard combination module; the soft-hard combination module includes but is not limited to a programmable array; the programmable array includes but is not limited to: a complex programmable array and / or a field programmable array.

[0201] In some embodiments, the display module 110, the first acquisition module 120, the determination module 130 and the generation module 140 may include pure hardware modules; the pure hardware modules include but are not limited to application specific integrated circuits.

[0202] It can be understood that the determination module 130 is specifically used to determine a first ratio between the amplitude energy of the alpha wave at the first moment and the maximum amplitude energy of the alpha wave; determine a second ratio between the amplitude energy of the beta brain wave at the first moment and the maximum amplitude energy of the beta brain wave; and obtain the concentration value based on the first ratio and the second ratio.

[0203] It can be understood that the determination module 130 is specifically configured to calculate the difference between the first ratio and the second ratio to obtain the concentration value.

[0204] It can be understood that the first type of instructions include: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on the current target displayed on the first page;

[0205] The generation module 140 is specifically used to generate the determination instruction for controlling the electronic device to perform the predetermined operation if the peak value of the concentration value is greater than a first threshold; and / or to generate the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation if the trough value of the concentration value is less than a second threshold; wherein the second threshold is less than the first threshold.

[0206] It can be understood that the device further includes:

[0207] A slope module; used for determining a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment, and determining a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment when the concentration value at the nth detection moment is within a preset interval; the concentration value being within the preset interval includes: the concentration value being greater than the first threshold or the concentration value being less than the second threshold; wherein n is a positive integer;

[0208] A conditional module is used to determine that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold if the sign of the first slope is opposite to the sign of the second slope.

[0209] It can be understood that the predetermined operation includes one of the following:

[0210] Booking operations;

[0211] Purchase operation;

[0212] Collection operation;

[0213] Forwarding operation.

[0214] It can be understood that the device also includes:

[0215] A second acquisition module, used to acquire the eye waves of the target user when the first page is displayed;

[0216] A third acquisition module is used to acquire the electrooculogram characteristics according to the electrooculogram;

[0217] The generating module 140 is used to generate a second type of control instruction for controlling the electronic device according to the electrooculographic characteristics; wherein the second type of control instruction is different from the first type of control instruction.

[0218] It can be understood that the electrooculographic characteristics include: blinking frequency;

[0219] The generating module 140 is specifically configured to generate a control for the electronic device to switch to a second page when the blinking frequency is higher than a frequency threshold, where the second page is a page displayed by the electronic device at a previous moment.

[0220] It can be understood that the generation module 140 is also used to generate a third type of control instructions for controlling the electronic device if the first type of control instructions and the second type of control instructions are not detected within a preset time period for displaying the first page, wherein the third type of control instructions are different from the first type of control instructions and the second type of control instructions, respectively.

[0221] It can be understood that the third type of control instruction includes one of the following:

[0222] A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment;

[0223] A control instruction to control the electronic device to close the application corresponding to the first page.

[0224] An embodiment of the present disclosure provides an electronic device, including:

[0225] a memory for storing processor-executable instructions;

[0226] A processor connected to the memory;

[0227] The processor is configured to execute the control method of the electronic device provided by any of the aforementioned technical solutions.

[0228] The processor may include various types of storage media, which are non-transitory computer storage media that can continue to retain information stored thereon after the communication device loses power.

[0229] Here, the electronic device may include: the electronic device itself being controlled. The electronic device includes but is not limited to: various mobile terminals or fixed terminals such as mobile phones, tablets or projection devices.

[0230] The processor can be connected to the memory through a bus or the like, and is used to read the executable program stored in the memory, for example, to execute the following Figure 1 , Figure 3 , Figure 5 to Figure 6 At least one of any of the methods shown.

[0231] Fig. 9 8 is a block diagram of a mobile electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a mobile computer, etc.

[0232] Reference Fig. 9 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0233] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0234] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a 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 disk or optical disk.

[0235] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0236] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating state, such as a shooting state or a video state, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0237] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating state, such as a call state, a recording state, and a voice recognition state, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0238] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0239] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0240] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0241] In an exemplary embodiment, the electronic device 800 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 gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0242] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by the processor 820 of the electronic device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0243] The present disclosure provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the control method of the electronic device provided by any of the above embodiments, for example, it can execute the following steps: Figure 1 , Figure 3 , Figure 5 to Figure 6 At least one of any of the methods shown.

[0244] The control method of the electronic device may include: displaying a first page; acquiring brain waves of a target user when the first page is displayed, wherein the brain waves include alpha brain waves and beta brain waves; determining a concentration value based on the amplitude of the alpha brain wave and the amplitude of the beta brain wave; and generating a first type of control instruction for controlling the electronic device based on the concentration value.

[0245] It can be understood that determining the concentration value based on the amplitude of the alpha brain wave and the amplitude of the beta brain wave includes: determining a first ratio between the amplitude energy of the alpha wave and the maximum amplitude energy of the alpha wave at a first moment; determining a second ratio between the amplitude energy of the beta brain wave at the first moment and the maximum amplitude energy of the beta brain wave; and obtaining the concentration value based on the first ratio and the second ratio.

[0246] It can be understood that obtaining the concentration value according to the first ratio and the second ratio includes: calculating the difference between the first ratio and the second ratio to obtain the concentration value.

[0247] It can be understood that the first type of instructions include: a determination instruction and / or a cancel instruction for performing a predetermined operation on the current target displayed on the first page; the first type of control instruction for controlling the electronic device is generated based on the concentration value, including: if the peak value of the concentration value is greater than a first threshold, generating the determination instruction for controlling the electronic device to perform the predetermined operation; and / or, if the trough value of the concentration value is less than a second threshold, generating the cancel instruction for controlling the electronic device to cancel the execution of the predetermined operation; wherein the second threshold is less than the first threshold.

[0248] It can be understood that the method also includes: when the concentration value at the nth detection moment is within a preset interval, determining a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment, and determining a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment; the concentration value being within the preset interval includes: the concentration value being greater than the first threshold or the concentration value being less than the second threshold; wherein n is a positive integer; if the sign of the first slope is opposite to the sign of the second slope, determining that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold.

[0249] It can be understood that the predetermined operation includes one of the following: a reservation operation; a purchase operation; a collection operation; a forwarding operation.

[0250] It can be understood that the method further includes: obtaining eye waves of the target user when the first page is displayed; obtaining eye electroencephalogram features according to the eye waves;

[0251] A second type of control instruction for controlling the electronic device is generated according to the electrooculographic feature; wherein the second type of control instruction is different from the first type of control instruction.

[0252] It can be understood that the electrooculographic characteristics include: blinking frequency;

[0253] The generating of the second type of control instruction for controlling the electronic device according to the electrooculographic feature includes: when the blinking frequency is higher than a frequency threshold, generating a control instruction for controlling the electronic device to switch to a second page, the second page being the page displayed by the electronic device at a previous moment.

[0254] It can be understood that the method also includes: if the first category control instructions and the second category control instructions are not detected within a preset time length of displaying the first page, generating a third category control instruction for controlling the electronic device, wherein the third category control instruction is different from the first category control instruction and the second category control instruction, respectively.

[0255] It can be understood that the third category of control instructions includes one of the following: a control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and in the past; a control instruction for controlling the electronic device to close the application corresponding to the first page.

[0256] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure 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 customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0257] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the 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

1. A method for controlling an electronic device, characterized in that: include: Display the first page; Acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves; determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave; Generate a first type of control instruction for controlling the electronic device according to the concentration value; wherein the first type of control instruction includes: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on the current target displayed on the first page; When the concentration value at the nth detection moment is within a preset interval, a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment is determined, and a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment is determined; the concentration value being within the preset interval includes: the concentration value being greater than a first threshold value or the concentration value being less than a second threshold value; wherein n is a positive integer; If the sign of the first slope is opposite to the sign of the second slope, it is determined that the peak value of the concentration value is greater than the first threshold or the trough value of the concentration value is less than the second threshold; The generating of the first type of control instruction for controlling the electronic device based on the concentration value includes: if the peak value of the concentration value is greater than the first threshold, generating the determination instruction for controlling the electronic device to perform the predetermined operation; and / or, if the trough value of the concentration value is less than the second threshold, generating the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation; wherein the second threshold is less than the first threshold.

2. The method according to claim 1, characterized in that Determining the concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave comprises: Determining a first ratio between the amplitude energy of the alpha brain wave at a first moment and the maximum amplitude energy of the alpha brain wave; Determining a second ratio between the amplitude energy of the Beda brain wave at the first moment and the maximum amplitude energy of the Beda brain wave; The concentration value is obtained according to the first ratio and the second ratio.

3. The method according to claim 2, characterized in that The obtaining the concentration value according to the first ratio and the second ratio includes: The difference between the first ratio and the second ratio is calculated to obtain the concentration value.

4. The method according to claim 1, characterized in that: The predetermined operation includes one of the following: Booking operations; Purchase operation; Collection operation; Forwarding operation.

5. The method according to claim 1, characterized in that The method further comprises: Acquiring eye waves of the target user when the first page is displayed; Acquiring electrooculographic characteristics according to the electrooculographic waves; A second type of control instruction for controlling the electronic device is generated according to the electrooculographic feature; wherein the second type of control instruction is different from the first type of control instruction.

6. The method according to claim 5, characterized in that The electrooculographic characteristics include: blinking frequency; The generating, according to the electrooculographic feature, a second type of control instruction for controlling the electronic device comprises: When the blinking frequency is higher than the frequency threshold, a control instruction is generated to control the electronic device to switch to a second page, where the second page is the page displayed by the electronic device at a previous moment.

7. The method according to claim 5 or 6, characterized in that: The method further comprises: If the first and second control instructions are not detected within a preset time period of displaying the first page, a third control instruction is generated to control the electronic device, wherein the third control instruction is different from the first and second control instructions.

8. The method according to claim 7, characterized in that The third type of control instructions includes one of the following: A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment; A control instruction to control the electronic device to close the application corresponding to the first page.

9. A control device for an electronic device, characterized in that: include: A display module, used for displaying a first page; A first acquisition module is used to acquire brain waves of the target user when the first page is displayed, wherein the brain waves include: alpha brain waves and beta brain waves; a determination module, for determining a concentration value according to the amplitude of the alpha brain wave and the amplitude of the beta brain wave; A generating module, configured to generate a first type of control instruction for controlling the electronic device according to the concentration value; wherein the first type of control instruction includes: a confirmation instruction and / or a cancellation instruction for performing a predetermined operation on a current target displayed on the first page; A slope module; used for determining a first slope between the concentration value at the nth detection moment and the concentration value at the n-1th detection moment, and determining a second slope between the concentration value at the nth detection moment and the concentration value at the n+1th detection moment when the concentration value at the nth detection moment is within a preset interval; the concentration value being within the preset interval includes: the concentration value being greater than a first threshold value or the concentration value being less than the second threshold value; wherein n is a positive integer; a conditional module, configured to determine that a peak value of the concentration value is greater than the first threshold or a trough value of the concentration value is less than the second threshold if a sign of the first slope is opposite to a sign of the second slope; The generation module is specifically used to generate the determination instruction for controlling the electronic device to perform the predetermined operation if the peak value of the concentration value is greater than the first threshold; and / or to generate the cancellation instruction for controlling the electronic device to cancel the execution of the predetermined operation if the trough value of the concentration value is less than the second threshold; wherein the second threshold is less than the first threshold.

10. The device according to claim 9, characterized in that The determination module is specifically used to determine a first ratio between the amplitude energy of the alpha brain wave at the first moment and the maximum amplitude energy of the alpha brain wave; determine a second ratio between the amplitude energy of the beta brain wave at the first moment and the maximum amplitude energy of the beta brain wave; and obtain the concentration value based on the first ratio and the second ratio.

11. The device according to claim 10, characterized in that The determination module is specifically configured to calculate a difference between the first ratio and the second ratio to obtain the concentration value.

12. The device according to claim 9, characterized in that The predetermined operation includes one of the following: Booking operations; Purchase operation; Collection operation; Forwarding operation.

13. The device according to claim 9, characterized in that The device also includes: A second acquisition module, used to acquire the eye waves of the target user when the first page is displayed; A third acquisition module is used to acquire the electrooculogram characteristics according to the electrooculogram; The generating module is used to generate a second type of control instruction for controlling the electronic device according to the electrooculographic characteristics; wherein the second type of control instruction is different from the first type of control instruction.

14. The device according to claim 13, characterized in that The electrooculographic characteristics include: blinking frequency; The generating module is specifically used to generate a control instruction to control the electronic device to switch to a second page when the blinking frequency is higher than a frequency threshold, and the second page is a page displayed by the electronic device at a previous moment.

15. The device according to claim 13 or 14, characterized in that The generation module is also used to generate a third type of control instruction for controlling the electronic device if the first type of control instruction and the second type of control instruction are not detected within a preset time period of displaying the first page, wherein the third type of control instruction is different from the first type of control instruction and the second type of control instruction.

16. The device according to claim 15, characterized in that The third type of control instructions includes one of the following: A control instruction for controlling the electronic device to switch to a third page, wherein the third page is a page that has not been displayed at the current moment and at a previous moment; A control instruction to control the electronic device to close the application corresponding to the first page.

17. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; The processor is configured to execute the control method of the electronic device as claimed in any one of claims 1 to 8. 18 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute the control method of the electronic device according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Screenshot taking method and related products

    CN108519811A

  • Method and device for obtaining user input degree

    CN110298712A