CN112130746B - Method and system for intelligently switching control objects - Google Patents

Method and system for intelligently switching control objects Download PDF

Info

Publication number
CN112130746B
CN112130746B CN202011067496.6A CN202011067496A CN112130746B CN 112130746 B CN112130746 B CN 112130746B CN 202011067496 A CN202011067496 A CN 202011067496A CN 112130746 B CN112130746 B CN 112130746B
Authority
CN
China
Prior art keywords
keyboard
trigger signal
supporting
sensing
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011067496.6A
Other languages
Chinese (zh)
Other versions
CN112130746A (en
Inventor
陈超
闫升启
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chen Chao
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202011067496.6A priority Critical patent/CN112130746B/en
Publication of CN112130746A publication Critical patent/CN112130746A/en
Application granted granted Critical
Publication of CN112130746B publication Critical patent/CN112130746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof

Abstract

The invention relates to a method and a system for intelligently switching control objects, which are applied to a keyboard for controlling a plurality of objects, wherein the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a supporting piece of the keyboard; the control method comprises the following steps: sensing a first trigger signal of a keyboard space key; sensing a second trigger signal of the pressure sensor; sensing a third trigger signal of a keyboard space key; judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, entering signal sensing of the next period, and sensing the first trigger signal again; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object.

Description

Method and system for intelligently switching control objects
Technical Field
The invention relates to the technical field of intelligent control, in particular to a method and a system for intelligently switching control objects.
Background
In the prior art, most of the electronic devices are a keyboard for controlling a host, and as the number of the electronic devices increases, a user may need to operate a plurality of electronic devices many times, and it is troublesome to switch the operation keyboard back and forth as different computers are operated at the same time. An independent switch is also arranged, the keyboard control right is switched through the control switch, the switch is required to be specially adjusted, and the keyboard control right is inconvenient to switch repeatedly; how to switch the keyboard control right intelligently and protect the privacy of the user is a difficult point.
Disclosure of Invention
The invention discloses a method for intelligently switching control objects, which is applied to a keyboard for controlling a plurality of objects, wherein the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a supporting piece of the keyboard;
the control method comprises the following steps:
sensing a first trigger signal of a keyboard space key;
sensing a second trigger signal of the pressure sensor;
sensing a third trigger signal of a keyboard space key;
judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, entering signal sensing of the next period, and sensing the first trigger signal again; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object.
The method for intelligently switching control objects, wherein the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises at least one time when the pressure exceeds a preset threshold value, and the pressure sensing value exceeds the pressure threshold value in the first time period; the third trigger signal comprises a space key press.
The method for intelligently switching the control objects comprises that the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, when the keyboard is pressed under the action of the gravity of the user hand and exceeds a third relative displacement on the basis of the initial value, triggering the pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
In the method for intelligently switching control objects, the second trigger signal includes that the pressure sensing value exceeds the pressure threshold value in the first time period, and the triggering mode of the second trigger signal is as follows: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces by the pressure sensor in real time, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
After the second trigger signal is generated, the method for intelligently switching the control object further includes: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with the second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
A system for intelligently switching control objects is applied to a keyboard for controlling a plurality of objects, the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a support piece of the keyboard;
the system comprises:
the first sensing module is used for sensing a first trigger signal of the keyboard space key and sensing a third trigger signal of the keyboard space key;
the second sensing module senses a second trigger signal of the pressure sensor;
the time module is connected with the first sensing module and the second sensing module and used for recording a first moment of generating the first trigger signal, a second moment of generating the second trigger signal and a third moment of generating the third trigger signal;
the control module is connected with the first sensing module, the second sensing module and the time module and is used for judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, the signal sensing of the next period is started, and the first trigger signal is sensed again; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object;
the pressure sensor is connected with the control module, the control module comprises a receiving unit, a deviation comparison unit and a frequency switching unit, the receiving unit is used for the first trigger signal, the second trigger signal, the third trigger signal and the time recorded by the time module, the deviation comparison unit is used for judging whether the time difference among the received first trigger signal, the second trigger signal and the third trigger signal is within a preset range or not and outputting a judgment result to the frequency switching unit, and the frequency switching unit is used for generating different frequencies for switching control objects according to the result.
The system for intelligently switching control objects, wherein the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises at least one time when the pressure exceeds a preset threshold value, and the pressure sensing value exceeds the pressure threshold value in the first time period; the third trigger signal comprises a space key press.
The system for intelligently switching the control objects comprises a keyboard, a pressure sensor and a control module, wherein the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, when the keyboard is pressed under the action of the gravity of the user hand and exceeds a third relative displacement on the basis of the initial value, triggering the pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
In the system for intelligently switching control objects, the second trigger signal includes that the pressure sensing value exceeds the pressure threshold value in the first time period, and the triggering mode of the second trigger signal is as follows: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces by the pressure sensor in real time, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
The system for intelligently switching the control object, after generating the second trigger signal, further comprises: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with the second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
According to the method and the device, the keyboard control right can be switched according to the operation information of the user, one keyboard can control a plurality of host devices, intelligent switching is achieved, and the privacy of the user is protected. The method is one of the main improvement points of the invention, and is characterized in that whether the switching of the control object is triggered or not is judged through the first control of the space key of the keyboard, the gravity of the keyboard which is controlled by the intention of a user and the time sequence of the second control of the space key of the keyboard, and the cutting of the control object can be rapidly carried out through the time sequences of three different triggered signals, so that the inconvenience and the swiftness of using a single mechanical knob to control the switching in the prior art are overcome, and the potential safety hazard caused by image acquisition through a camera in the prior art is also overcome; one of the innovative improvements of the present invention is that through certain different operations of three trigger signals on a time line, misoperation caused by a single signal is avoided, a space key of a keyboard is reused, and in cooperation with pressure sensing, through controlling the space key twice and setting pressure sensing between two different trigger signals for controlling the space key, misoperation caused by simply controlling the space key or simply controlling pressure sensing is avoided, and accuracy of switching triggering of switching control right is improved. One of the main improvements of the present invention is that the pressure sensing component is arranged at the bottom of the keyboard, different values of pressures of different users are realized by improving the pressure sensing mode and by displacement and the like, so that the adaptability of the keyboard to sense the pressure is improved, the adaptability of the second trigger signal is effectively and rapidly performed by switching between the displacement and the pressure arranged in the shell, and meanwhile, the space key sensing is performed after the second trigger signal, so that the accuracy of the switching control trigger is improved.
Drawings
Fig. 1 is a schematic diagram of a method for intelligently switching control objects according to the present invention.
FIG. 2 is a schematic diagram of a system for intelligently switching control objects according to the present invention.
Detailed Description
The present application will now be described in further detail with reference to the drawings, it should be noted that the following detailed description is given for illustrative purposes only and is not to be construed as limiting the scope of the present application, as those skilled in the art will be able to make numerous insubstantial modifications and adaptations to the present application based on the above disclosure.
As shown in fig. 1, a schematic diagram of a method for intelligently switching control objects is disclosed for the present invention, which is applied to a keyboard for controlling a plurality of objects, the keyboard at least includes a wireless transmitter and a pressure sensor, the pressure sensor is disposed on a supporting member of the keyboard;
the control method comprises the following steps:
sensing a first trigger signal of a keyboard space key;
sensing a second trigger signal of the pressure sensor;
sensing a third trigger signal of a keyboard space key;
judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, entering signal sensing of the next period, and sensing the first trigger signal again; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object.
The method for intelligently switching control objects, wherein the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises at least one time when the pressure exceeds a preset threshold value, and the pressure sensing value exceeds the pressure threshold value in the first time period; the third trigger signal comprises a space key press.
The method for intelligently switching the control objects comprises that the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, when the keyboard is pressed under the action of the gravity of the user hand and exceeds a third relative displacement on the basis of the initial value, triggering the pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
In the method for intelligently switching control objects, the second trigger signal includes that the pressure sensing value exceeds the pressure threshold value in the first time period, and the triggering mode of the second trigger signal is as follows: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces by the pressure sensor in real time, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
After the second trigger signal is generated, the method for intelligently switching the control object further includes: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with the second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
Fig. 2 is a schematic diagram of a system for intelligently switching control objects according to the present invention. A system for intelligently switching control objects is applied to a keyboard for controlling a plurality of objects, the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a support piece of the keyboard;
the system comprises:
the first sensing module is used for sensing a first trigger signal of the keyboard space key and sensing a third trigger signal of the keyboard space key;
the second sensing module senses a second trigger signal of the pressure sensor;
the time module is connected with the first sensing module and the second sensing module and used for recording a first moment of generating the first trigger signal, a second moment of generating the second trigger signal and a third moment of generating the third trigger signal;
the control module is connected with the first sensing module, the second sensing module and the time module and is used for judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, the signal sensing of the next period is started, and the first trigger signal is sensed again; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object;
the pressure sensor is connected with the control module, the control module comprises a receiving unit, a deviation comparison unit and a frequency switching unit, the receiving unit is used for the first trigger signal, the second trigger signal, the third trigger signal and the time recorded by the time module, the deviation comparison unit is used for judging whether the time difference among the received first trigger signal, the second trigger signal and the third trigger signal is within a preset range or not and outputting a judgment result to the frequency switching unit, and the frequency switching unit is used for generating different frequencies for switching control objects according to the result.
The system for intelligently switching control objects, wherein the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises at least one time when the pressure exceeds a preset threshold value, and the pressure sensing value exceeds the pressure threshold value in the first time period; the third trigger signal comprises a space key press.
The system for intelligently switching the control objects comprises a keyboard, a pressure sensor and a control module, wherein the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, when the keyboard is pressed under the action of the gravity of the user hand and exceeds a third relative displacement on the basis of the initial value, triggering the pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
In the system for intelligently switching control objects, the second trigger signal includes that the pressure sensing value exceeds the pressure threshold value in the first time period, and the triggering mode of the second trigger signal is as follows: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces by the pressure sensor in real time, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
The system for intelligently switching the control object, after generating the second trigger signal, further comprises: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with the second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
According to the method and the device, the keyboard control right can be switched according to the operation information of the user, one keyboard can control a plurality of host devices, intelligent switching is achieved, and the privacy of the user is protected. The method is one of the main improvement points of the invention, and is characterized in that whether the switching of the control object is triggered or not is judged through the first control of the space key of the keyboard, the gravity of the keyboard which is controlled by the intention of a user and the time sequence of the second control of the space key of the keyboard, and the cutting of the control object can be rapidly carried out through the time sequences of three different triggered signals, so that the inconvenience and the swiftness of using a single mechanical knob to control the switching in the prior art are overcome, and the potential safety hazard caused by image acquisition through a camera in the prior art is also overcome; one of the innovative improvements of the present invention is that through certain different operations of three trigger signals on a time line, misoperation caused by a single signal is avoided, a space key of a keyboard is reused, and in cooperation with pressure sensing, through controlling the space key twice and setting pressure sensing between two different trigger signals for controlling the space key, misoperation caused by simply controlling the space key or simply controlling pressure sensing is avoided, and accuracy of switching triggering of switching control right is improved. One of the main improvements of the present invention is that the pressure sensing component is arranged at the bottom of the keyboard, different values of pressures of different users are realized by improving the pressure sensing mode and by displacement and the like, so that the adaptability of the keyboard to sense the pressure is improved, the adaptability of the second trigger signal is effectively and rapidly performed by switching between the displacement and the pressure arranged in the shell, and meanwhile, the space key sensing is performed after the second trigger signal, so that the accuracy of the switching control trigger is improved.

Claims (6)

1. A method for intelligently switching control objects is applied to a keyboard for controlling a plurality of objects, and is characterized in that the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a support piece of the keyboard;
the method comprises the following steps:
sensing a first trigger signal of a keyboard space key;
sensing a second trigger signal of the pressure sensor;
sensing a third trigger signal of a keyboard space key;
judging whether the second trigger signal is received within a first preset time period after the first trigger signal, if not, entering signal sensing of the next period, and re-sensing the first trigger signal; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object; the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises a pressure sensing value exceeding a pressure threshold value for a first period of time; the third trigger signal comprises one depression of a space key; the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, under the action of gravity of a user hand, when the keyboard is pressed to exceed a third relative displacement on the basis of an initial value, triggering a pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
2. The method of intelligently switching control objects according to claim 1, wherein the second trigger signal comprises a pressure sensing value exceeding a pressure threshold value during the first time period, the second trigger signal being triggered by: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces in real time by the pressure sensor, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
3. The method for intelligently switching control objects according to claim 2, after generating the second trigger signal, further comprising: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with a second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
4. A system for intelligently switching control objects is applied to a keyboard for controlling a plurality of objects, and is characterized in that the keyboard at least comprises a wireless transmitter and a pressure sensor, and the pressure sensor is arranged on a supporting piece of the keyboard;
the system comprises:
the first sensing module is used for sensing a first trigger signal of the keyboard space key and sensing a third trigger signal of the keyboard space key;
the second sensing module senses a second trigger signal of the pressure sensor;
the time module is connected with the first sensing module and the second sensing module and used for recording a first moment of generating the first trigger signal, a second moment of generating the second trigger signal and a third moment of generating the third trigger signal;
the control module is connected with the first sensing module, the second sensing module and the time module and is used for judging whether the second trigger signal is received within a first preset time period after the first trigger signal, and if not, entering signal sensing of the next period and re-sensing the first trigger signal; if yes, judging whether the third trigger signal is received within a second preset time period, and if yes, triggering the keyboard to switch the control object;
the pressure sensor is connected with the control module, the control module comprises a receiving unit, a deviation comparison unit and a frequency switching unit, the receiving unit is used for the first trigger signal, the second trigger signal, the third trigger signal and the time recorded by the time module, the deviation comparison unit is used for judging whether the time difference among the received first trigger signal, the second trigger signal and the third trigger signal is within a preset range or not and outputting the judgment result to the frequency switching unit, and the frequency switching unit is used for generating different frequencies for switching the control object according to the result; the first trigger signal comprises at least two presses of the space key; the second trigger signal comprises a pressure sensing value exceeding a pressure threshold value for a first period of time; the third trigger signal comprises one depression of a space key; the keyboard comprises at least four supporting pieces, the supporting pieces are arranged at the bottom of the keyboard and are used for fixedly supporting the keyboard when the keyboard is placed, and the pressure sensor is arranged in the supporting pieces; the four supporting pieces are arranged at the positions, close to four corners, of the bottom of the keyboard, wherein the two supporting pieces close to the front end of the keyboard can adjust the inclination angle of the keyboard, and the pressure sensors are arranged in the two supporting pieces close to the rear end of the keyboard; two support pieces near the keyboard rear end are set as a first support piece and a second support piece, and the first support piece and the second support piece are the same in structure and both comprise: the sensor comprises a supporting outer shell, a supporting inner shell, an elastic element and a sensing element; the supporting outer shell is a cuboid with a gap at the lower part and a hollow inner part, one end of the elastic element is fixed on the upper wall of the supporting outer shell, the other end of the elastic element is connected with the upper part of the supporting inner shell, the lower part of the supporting inner shell is contacted with a supporting surface of the keyboard, the supporting inner shell and the supporting outer shell can move relatively under the action of the elastic element, and the sensing element is arranged on the side wall of the supporting outer shell and used for sensing the relative displacement of the supporting inner shell relative to the supporting outer shell;
when the keyboard is normally placed on the supporting surface and is not used, the supporting inner shell and the supporting outer shell have first relative displacement due to the self gravity of the keyboard, the sensing element stores the first relative displacement as a basic value, when the user uses the keyboard, the supporting inner shell and the supporting outer shell further form a second relative displacement due to the gravity of the user hand, the sensing element stores the second relative displacement as an initial value, calculates a displacement difference value of the initial value and a base value, setting a pressure threshold according to the displacement difference, when the displacement difference is larger than the first displacement deviation and smaller than the second displacement deviation, setting the displacement between the supporting inner shell and the supporting outer shell corresponding to the pressure threshold value as a third relative displacement, under the action of gravity of a user hand, when the keyboard is pressed to exceed a third relative displacement on the basis of an initial value, triggering a pressure sensing value to exceed a pressure threshold value; and when the displacement difference is larger than the second displacement deviation, setting the displacement between the support inner shell and the support outer shell corresponding to the pressure threshold value as a fourth relative displacement, and when the keyboard is pressed to exceed the fourth relative displacement on the basis of the initial value under the action of the gravity of the hand of the user, triggering the pressure sensing value to exceed the pressure threshold value.
5. The system of intelligently switching control objects according to claim 4, wherein the second trigger signal includes a sensed pressure value exceeding a pressure threshold value during the first time period, the second trigger signal being triggered by: detecting whether the first trigger signal is received or not, if the first trigger signal is detected, sensing a pressure value on any one of the four supporting pieces in real time by the pressure sensor, judging whether the pressure value exceeds a pressure threshold value or not, if so, judging a first difference value between a second moment when the pressure exceeds the pressure threshold value and a first moment when the first trigger signal is detected, if the first difference value is less than or equal to the first time period, generating the second trigger signal, and if the first difference value is greater than the first time period, not generating the second trigger signal.
6. The system for intelligently switching control objects according to claim 5, after generating said second trigger signal, further comprising: detecting whether the space key is pressed in real time, if so, recording the third time when the space key is pressed, solving a second difference value between the third time and the second time, comparing the second difference value with a second time period, if the second difference value is less than or equal to the second time period, generating a control instruction for switching a control object, triggering the keyboard to switch the control object, if the second difference value is greater than the second time period, not generating the switching control object, starting the next switching cycle control, and monitoring and waiting for the first trigger signal.
CN202011067496.6A 2020-10-06 2020-10-06 Method and system for intelligently switching control objects Active CN112130746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011067496.6A CN112130746B (en) 2020-10-06 2020-10-06 Method and system for intelligently switching control objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011067496.6A CN112130746B (en) 2020-10-06 2020-10-06 Method and system for intelligently switching control objects

Publications (2)

Publication Number Publication Date
CN112130746A CN112130746A (en) 2020-12-25
CN112130746B true CN112130746B (en) 2021-12-14

Family

ID=73843742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011067496.6A Active CN112130746B (en) 2020-10-06 2020-10-06 Method and system for intelligently switching control objects

Country Status (1)

Country Link
CN (1) CN112130746B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485088B (en) * 2021-06-28 2023-03-14 上海闻泰信息技术有限公司 Keyboard switching circuit and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546295A (en) * 1991-08-16 1993-02-26 Toshiba Corp Keyboard system with low power consumption
CN104881133A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof, combination of computer system, keyboard and application program
CN205986813U (en) * 2016-07-22 2017-02-22 歌尔股份有限公司 Key module based on pressure sensor
CN208044554U (en) * 2018-03-19 2018-11-02 锋厚科技股份有限公司 More device switching systems and control device
CN110069423A (en) * 2014-10-20 2019-07-30 罗技欧洲公司 Input method with more mian engine changeovers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546295A (en) * 1991-08-16 1993-02-26 Toshiba Corp Keyboard system with low power consumption
CN110069423A (en) * 2014-10-20 2019-07-30 罗技欧洲公司 Input method with more mian engine changeovers
CN104881133A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof, combination of computer system, keyboard and application program
CN205986813U (en) * 2016-07-22 2017-02-22 歌尔股份有限公司 Key module based on pressure sensor
CN208044554U (en) * 2018-03-19 2018-11-02 锋厚科技股份有限公司 More device switching systems and control device

Also Published As

Publication number Publication date
CN112130746A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US10198239B2 (en) Gesture-controlled tabletop speaker system
CN201234245Y (en) Apparatus for pressure sensing by capacitor recognition
US8188984B2 (en) Input reception device, area control method, information recording medium, and program
US20150301684A1 (en) Apparatus and method for inputting information
CN108733249B (en) Handheld electronic device, touch detector and touch detection method thereof
CN112130746B (en) Method and system for intelligently switching control objects
CN110049192B (en) Detection method and mobile terminal
WO2002031788A1 (en) Method and apparatus for motion activated control of an electronic device
RU2001105951A (en) ONE HAND CONTROL DEVICE FOR WIRELESS PHONES
WO1997025666A2 (en) Method and apparatus for implementing a dialpad on the surface of a mouse input device
EP2685375A1 (en) Information processing terminal and information processing method for remote controlling an external device from the lock screen
CN107796349A (en) The depth and angular transducer annex of electric tool
WO2008140607A1 (en) Keypad for a slider type portable mobile communications device
KR20080094452A (en) Ultrasound system
CN112162478A (en) Control method and control system for intelligently switching control power
US6307282B1 (en) Smart switch
KR100749437B1 (en) Key lockable type mobile communication terminal and method for controlling the same terminal
CN109101141B (en) Sensitivity-adjustable capacitive touch device and control method thereof
US8385849B2 (en) Standby mode switch system and communication device having same
EP2214080A3 (en) Method and device of input for a portable terminal comprising dome switches and pressure sensors
JP4406678B2 (en) Capacitance type emergency call switch
CN109298824B (en) Application program starting method and terminal equipment
CN110049188B (en) Anti-theft early warning method and mobile terminal
WO2005001862A3 (en) Self-calibrating dielectric property-based switch
CN111669678A (en) True wireless earphone volume adjusting device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Chen Chao

Inventor after: Yan Shengqi

Inventor before: Yan Shengqi

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211125

Address after: No. 146-6, Lishan Road, Jinan, Shandong 250014

Applicant after: Chen Chao

Address before: Room 127, 1 / F, building 3, Qianwan bonded port area, Qingdao area, China (Shandong) pilot Free Trade Zone, Qingdao, Shandong Province

Applicant before: Qingdao moshang Software Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant