Keyboard control method and electronic device

A technology of electronic equipment and control methods, applied in the direction of electrical digital data processing, instruments, calculations, etc., can solve the problems of large overall thickness of electronic equipment, and achieve the effects of ensuring input experience, reducing overall thickness, and reducing size

Inactive Publication Date: 2015-05-06
LENOVO (BEIJING) CO LTD
4 Cites 0 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a keyboard control method, which solves the existin...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

In summary, in the keyboard control method provided in the present embodiment, adjusting the state of the keyboard in the electronic device according to the state information includes: analyzing the detection information to obtain the electronic device's state; when the state of the electronic device is the third state, a first control signal is generated, and the first control signal is used to control the state of the keyboard to switch to the first state; when the state of the electronic device is the second state In four states, a second control signal is generated, and the second control signal is used to control the state of the keyboard to switch to the second state. With this method, the state of the electronic device is determined by analyzing the detection information of the sensor, and after the state of the electronic device is determined, a corresponding control signal is generated, and the state of the keyboard is adjusted according to the control signal, thereby realizing The state of the electronic device controls the state of the keyboard, and the adjustment process is simple and easy to implement.
In summary, in the keyboard control method provided in this embodiment, the second surface of the electronic device is provided with a display screen, the first surface and the second surface are rotatably connected by a connecting shaft, and the The connecting shaft is connected to the keyboard on the first surface, then receiving the state information of the electronic device includes: receiving the relative rotation value between the first surface and the second surface on the connected shaft, and the relative rotation value Indicates the relative rotation angle or distance between the first surface and the second surface at the position of the connecting axis. With this method, by receiving the relative rotation value of the relative rotation between the first surface and the second surface at the position of the connecting shaft, the relative rotation value represents the state of the electronic device, and based on the relative rotation value, the electronic device The state of the keyboard is adjusted, and the adjustment is performed through the connecting shaft during the process, and the electronic device does not need to perform a large amount of data processing, and does not need to perform a large amount of structural changes, which is easy to implement.
It should be noted that the keyboard is switched to the first state by the connecting rod, so that the plane where the keycap of the keyboard is located is higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the middle of the keyboard is raised keys, so that the keyboard protrudes from the plane of the non-keyboard part to ensure the user's input experience.
It should be noted that the keyboard is switched to the second state by the connecting rod, so that the plane where the keycap of the keyboard is located is not higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the keyboard is put away The buttons in the keyboard reduce the overall height of the keyboard, so that the keyboard is lowered until the top of the keycap of the button is not higher than the plane of the non-keyboard part, which reduces the overall thickness of the electronic device and is conducive to reducing the size of the electronic device.
[0104] To sum up, in the keyboard control method provided in this embodiment, the receiving the state information of the electronic device includes: acquiring the detection information of the sensor provided by the electronic device, the detection information indicating that the electronic device The relative position between the second surface of the device and the first surface, the second surface is provided with a display screen, and one side of the first surface is rotatably connected to one side of the second surface; judging the detection Whether the information satisfies the first preset condition, generating a first judgment result; when the first judgment result indicates that the detected information meets the first preset condition, performing the step of adjusting the electronic device according to the status information The state step for the keyboard. With this method, the information on the first surface and the second surface of the electronic equipment is collected by the sensor installed on the electronic equipment, and then the state of the electronic equipment is judged according to the information, only the two connected surfaces of the electronic equipment need to be The information is collected and simply judged, the amount of information processing is small, easy to implement, and the power consumption of electronic equipment is low.
[0141] In summary, in the keyboard control method provided in this embodiment, when the detection information includes the distance between the first preset position on the second surface and the second preset position on the first surface value, the analysis of the detection information to obtain the state of the electronic device specifically includes: comparing the current detection information with the historical detection information to obtain the first comparison result; when the first comparison result indicates When the distance value corresponding to the current detection information is greater than the distance value of the historical detection information, and the distance value corresponding to the current detection information is greater than the preset distance value, it is determined that the state of the electronic device is the third state; when When the first comparison result indicates that the distance value corresponding to the current detection information is less than the distance value of the historical detection information, and the distance value corresponding to the current detection information is less than a preset distance value, it is determined that the electronic device The state of is the fourth state. With this method, the state of the electronic device can be obtained by detecting and judging the distance value between the preset positions on the first surface and the second surface, the analysis process is simple, and a large amount of data processing is not required. Low power consumption.
[0160] To sum up, in the keyboard control method provided in this embodiment, when the detection information includes the angle value between the second surface and the first surface, the analysis described Detecting information to obtain the state of the electronic device specifically includes: comparing the current detection information with historical detection information to obtain a second comparison result; when the second comparison result indicates that the current detection information corresponds to the included angle When the value is greater than the included angle value of the historical detection information, and the included angle value corresponding to the current detection information is greater than the preset included angle value, it is determined that the state of the electronic device is the third state; when...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention provides a keyboard control method. The keyboard control method comprises the steps of receiving state information of an electronic device; adjusting states of a keyboard in the electronic device according to the state information, wherein the states of the keyboard in the electronic device include two states: a first state that a keyboard part protrudes out of a non-keyboard part and a second state that the keyboard part and the non-keyboard part are on the same plane. By adopting the method, the state of the keyboard in the electronic device can be adjusted according to the state of the electronic device; when a user uses the keyboard for input, the keyboard can be controlled to be in the first state, the keyboard protrudes out of the plane of the non-keyboard part and the input experience of the user input is guaranteed; when the electronic device is put away, the keyboard can be controlled to be in the second state, the keyboard is lowered to a state that tops of caps of keys are not higher than the plane of the non-keyboard part, the overall thickness of the electronic device is reduced and the reduction of the size of the electronic device is facilitated.

Application Domain

Technology Topic

Image

  • Keyboard control method and electronic device
  • Keyboard control method and electronic device
  • Keyboard control method and electronic device

Examples

  • Experimental program(1)

Example Embodiment

[0074] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
[0075] As attached figure 2 , Is a flowchart of Embodiment 1 of a keyboard control method provided by the present invention. The method is applied to an electronic device with a keyboard. The electronic device may specifically be a desktop computer, a notebook, a tablet computer, a mobile phone, a smart TV, a smart watch , Wearable devices and other electronic equipment.
[0076] Among them, the method is implemented through the following steps:
[0077] Step S201: receiving state information of the electronic device;
[0078] The electronic device has multiple states, and the state information of the electronic device is received to determine the state of the electronic device.
[0079] Specifically, the state of the electronic device may be various corresponding states such as opening the keyboard and closing the keyboard, or normal use and stop use.
[0080] Step S202: Adjust the state of the keyboard in the electronic device according to the state information.
[0081] Wherein, the state of the keyboard in the electronic device corresponds to the state of the electronic device.
[0082] Specifically, the state of the keyboard includes a first state and a second state. When the keyboard is in the first state, the plane where the top of the keycap of the keyboard is located protrudes from the plane where the non-keyboard part of the first surface of the electronic device is located; When the keyboard is in the second state, the top of the keycap of the keyboard is in the same plane as the non-keyboard portion of the first surface, or when the keyboard is in the second state, the top of the keycap of the keyboard is lower than The plane where the non-keyboard part is located in the first surface.
[0083] For example, when the state of the electronic device is to open the keyboard, the keyboard state is adjusted to the first state, and when the state of the electronic device is to close the keyboard, the keyboard state is adjusted to the second state.
[0084] Such as image 3 Shown is a side view of the keyboard in the first state in this embodiment. The keyboard 301 contains 5 keys. The keycaps of the keys 302 form a plane. The first plane 303 of the electronic device is not the keyboard. The part 304 is in a plane, the two planes are different, and the keycap of the button 302 is higher than the non-keyboard part in the first plane.
[0085] Such as Figure 4 What is shown is a side view of the keyboard in the second state in this embodiment. The keyboard 401 contains 5 keys. The keycaps of the keyboard 402 of the keys form a plane. The first plane 403 of the electronic device is The non-keyboard portion 404 is on a plane, the two planes are the same, and the keycap of the button 402 is on the same plane as the non-keyboard portion of the first screen.
[0086] Wherein, the keyboard in this schematic diagram contains 5 keys, but it is not limited to this. In specific implementation, the method and number of keys in the keyboard can be set in any manner, which is not limited in this embodiment.
[0087] It should be noted that the state of the keyboard in the electronic device can be adjusted according to the state of the electronic device. When the user uses the keyboard to input, the keyboard can be controlled to be in the first state. The keyboard protrudes from the plane of the non-keyboard portion to ensure that the user When the electronic device is stowed, the keyboard can be controlled to be in the second state. The keyboard is lowered until the top of the keycap of the key is on the same plane as the plane of the non-keyboard part, which reduces the overall thickness of the electronic device. Conducive to reducing the size of electronic equipment.
[0088] It should be noted that in specific implementation, while adjusting the state of the keyboard in the electronic device, it can also control the operating state of the keyboard according to the state information of the electronic device. For example, when the electronic device is in the on state, the control is turned on. The function of the keyboard, and when the electronic device is in the closed state, the function of closing the keyboard is controlled.
[0089] In summary, the keyboard control method provided in this embodiment receives state information of an electronic device; adjusts the state of the keyboard in the electronic device according to the state information; wherein the state of the keyboard includes the first state and In the second state, when the keyboard is in the first state, the plane of the top of the keyboard's keycaps protrudes from the plane of the first surface of the electronic device where the non-keyboard part is located; when the keyboard is in the second state, the plane of the keyboard The top of the keycap is in the same plane as the non-keyboard portion of the first surface, or, when the keyboard is in the second state, the top of the keycap of the keyboard is lower than the plane of the non-keyboard portion of the first surface. There are two states of the keyboard in the electronic device: the first state where the keyboard part protrudes from the non-keyboard part and the second state where the keyboard part and the non-keyboard part are on the same plane. With this method, the state of the keyboard in the electronic device can be based on this The state of the electronic device can be adjusted. When the user uses the keyboard to input, the keyboard can be controlled to be in the first state. The keyboard protrudes from the plane of the non-keyboard part to ensure the user's input experience. When the electronic device is stowed, the keyboard can be controlled. The keyboard is controlled to be in the second state, and the keyboard is lowered until the top of the keycap of the key is not higher than the plane of the non-keyboard part, which reduces the overall thickness of the electronic device and is beneficial to reducing the size of the electronic device.
[0090] As attached Figure 5 , Is a flowchart of Embodiment 2 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0091] Step S501: Obtain detection information of a sensor set by the electronic device;
[0092] Wherein, the detection information indicates the relative position of the second surface of the electronic device and the first surface, the second surface is provided with a display screen, and one side of the first surface and one of the second surface The sides can be connected by rotation.
[0093] It should be noted that the second surface on which the display screen is disposed is opposite to the first surface, and the first surface and the second surface are rotatably connected by one edge, and the first surface of the electronic device is connected to the second surface. The sides can be opened and closed through the rotatably connected edges.
[0094] The detection information is the state information of the electronic device, and the state information indicates the opening and closing state between the first side and the second side.
[0095] Step S502: Determine whether the detection information meets a first preset condition, and generate a first judgment result;
[0096] Wherein, by analyzing the detection information, the opening and closing state between the first surface and the second surface can be determined.
[0097] Wherein, the first preset condition is that the electronic device satisfies the conditions of certain specific states. In the specific state, the keyboard needs to be adjusted correspondingly to achieve the state of the electronic device (the state meets the input requirements of the user) match.
[0098] It should be noted that the first preset condition includes two situations, one is the opening between the first side and the second side of the electronic device, and the other is the first side and the second side of the electronic device. Closed between two sides.
[0099] Specifically, when the first preset condition is that the first side and the second side of the user's electronic device are open, that is, when the user needs to use the keyboard of the electronic device for input, the keyboard needs to be adjusted to the first state; When the first preset condition is that the first surface and the second surface of the electronic device are closed, that is, when the user does not need to use the keyboard of the electronic device for input, the keyboard needs to be adjusted to the second state.
[0100] Specifically, the detection information is compared with the first preset condition to generate a first judgment result. The first judgment result may indicate that the detection information meets the first preset condition, or the detection information does not meet the first judgment. A preset condition.
[0101] It should be noted that in this embodiment, the controller is used to control the keyboard state. In specific implementation, the CPU (Central Processing Unit) of the electronic device can be used to judge the detection information collected by the sensor and adjust the electronic The keyboard status of the device.
[0102] Step S503: When the first judgment result indicates that the detection information meets the first preset condition, adjust the state of the keyboard in the electronic device according to the state information.
[0103] Wherein, step S503 is the same as step S202 in Embodiment 1, and will not be repeated in this embodiment.
[0104] To sum up, in the keyboard control method provided in this embodiment, the receiving state information of the electronic device includes: acquiring detection information of a sensor set by the electronic device, where the detection information indicates the first state of the electronic device The relative positions of the two surfaces and the first surface, the second surface is provided with a display screen, and an edge of the first surface is rotatably connected with an edge of the second surface; it is determined whether the detection information satisfies The first preset condition generates a first judgment result; when the first judgment result indicates that the detection information meets the first preset condition, execute the adjustment of the state of the keyboard in the electronic device according to the state information step. With this method, the information on the first side and the second side of the electronic device is collected by the sensor set on the electronic device, and then the state of the electronic device is judged based on the information, only the two connected sides of the electronic device The information is collected and simply judged, the amount of information processing is small, easy to implement, and the power consumption of electronic equipment is low.
[0105] As attached Image 6 , Is a flowchart of Embodiment 3 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0106] Step S601: Obtain detection information of a sensor set by the electronic device;
[0107] Step S602: Determine whether the detection information meets a first preset condition, and generate a first judgment result;
[0108] Among them, steps S601-602 are consistent with steps S501-502 in Embodiment 2, which are not repeated in this embodiment.
[0109] Step S603: Analyze the detection information to obtain the state of the electronic device;
[0110] Wherein, the detection information indicates the relative position of the second surface and the first surface of the electronic device.
[0111] In specific implementations, the detection information is analyzed to determine the opening and closing state between the first surface and the second surface, that is, the state of the electronic device.
[0112] It should be noted that the state of the electronic device can be either the static state of the electronic device or the dynamic state of the electronic device.
[0113] For example, the static state may be the state of the electronic device after the relative position between the first surface and the second surface of the electronic device is fixed, which may specifically include the open state between the first surface and the second surface of the electronic device , Or closed state.
[0114] For example, the dynamic state may be the state of the electronic device during the relative operation between the first side and the second side of the electronic device, and may specifically include the state where the first side and the second side of the electronic device are being opened, Or the first surface and the second surface are in a closed state, etc.
[0115] Of course, in specific implementation, the state of the electronic device may also have other multiple naming or classification methods related to the user's use, which is not limited in this embodiment.
[0116] Step S604: When the state of the electronic device is the third state, generate a first control signal, where the first control signal is used to control the state of the keyboard to switch to the first state;
[0117] Wherein, the third state is that the first side and the second side of the electronic device are open.
[0118] It should be noted that when the state of the electronic device is in the third state, the space between the first side and the second side of the electronic device is large or in the process of expanding, that is, the first side and the second side of the electronic device When the two sides are opened or in the process of opening, a first control signal is generated to control the state of the keyboard to switch to the first state, so that the plane of the keyboard keycap is higher than the non-keyboard part of the first side of the electronic device The plane of the keyboard is to raise the keys of the keyboard so that the keyboard protrudes from the plane of the non-keyboard portion, ensuring the user's input experience.
[0119] Step S605: When the state of the electronic device is the fourth state, a second control signal is generated, and the second control signal is used to control the state of the keyboard to switch to the second state.
[0120] Wherein, the fourth state is that the first surface and the second surface of the electronic device are closed.
[0121] It should be noted that when the state of the electronic device is the fourth state, the space between the first side and the second side of the electronic device is small or in the process of shrinking, that is, the first side and the second side of the electronic device The two sides are closed or in the process of closing. At this time, a second control signal is generated to control the state of the keyboard to switch to the second state, so that the plane of the keyboard keycap is not higher than that of the first side of the electronic device. The plane of the non-keyboard part, that is, the keys in the keyboard are retracted to reduce the overall height of the keyboard, so that the keyboard is lowered to the top of the keycap of the keys not higher than the plane of the non-keyboard part, reducing the overall thickness of the electronic device, Conducive to reducing the size of electronic equipment.
[0122] In summary, in the keyboard control method provided in this embodiment, the adjusting the state of the keyboard in the electronic device according to the state information includes: analyzing the detection information to obtain the state of the electronic device; When the state of the electronic device is the third state, a first control signal is generated, and the first control signal is used to control the state of the keyboard to switch to the first state; when the state of the electronic device is the fourth state , Generate a second control signal, the second control signal is used to control the state of the keyboard to switch to the second state. With this method, the state of the electronic device is determined by analyzing the detection information of the sensor, and after the state of the electronic device is determined, the corresponding control signal is generated, and the state of the keyboard is adjusted according to the control signal, which realizes The state of the electronic device controls the state of the keyboard, and the adjustment process is simple and easy to implement.
[0123] Specifically, the detection information includes the distance value from the first preset position on the second surface to the second preset position on the first surface.
[0124] As attached Figure 7 , Is a flowchart of Embodiment 4 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0125] Step S701: Obtain detection information of a sensor set by the electronic device;
[0126] Step S702: Determine whether the detection information meets a first preset condition, and generate a first judgment result;
[0127] Among them, steps S701-702 are consistent with steps S601-602 in Embodiment 3, and will not be repeated in this embodiment.
[0128] Step S703: Compare current detection information with historical detection information to obtain a first comparison result;
[0129] Wherein, the detection information is the distance value from the first preset position on the second surface to the second preset position on the first surface.
[0130] Specifically, the first preset position may be any position on the second surface that is not the first side, and the first side is the side of the second surface that is rotatably connected to the first surface. The second preset position may be any position on the first surface that is not a second side, and the second side is a side of the first surface that is rotatably connected to the second surface.
[0131] In specific implementation, the first preset position may be any point in the side parallel to the first side in the second surface, and the second preset position may be in the side parallel to the second side in the first surface Any point.
[0132] Among them, such as Figure 8 The illustrated schematic diagram of the structure of the electronic device is a side view of the electronic device. Wherein, the first surface 801 and the second surface 802 of the electronic device are rotatably connected by a side 803. The first preset position 804 is a point of the side parallel to the side 803 in the second surface. The preset position 805 is a point on the side parallel to the side 03 in the first surface, and the plane where the first preset position 804 and the second preset position 805 are located is perpendicular to the first surface and the second surface.
[0133] It should be noted that the historical detection information is the detection information detected in the previous detection cycle, and the historical detection information may be stored in the storage area of ​​the electronic device.
[0134] Wherein, when the first comparison result indicates that the distance value corresponding to the current detection information is greater than the distance value of the historical detection information, and the distance value corresponding to the current detection information is greater than the preset distance value, it is determined The state of the electronic device is a third state, and the third state is specifically an open state.
[0135] It should be noted that when the distance value corresponding to the current detection information is greater than the distance value of the historical detection information, it indicates that the first side and the second side of the electronic device are in the process of opening, and when the current detection information When the distance value corresponding to the information is greater than the preset distance value, it indicates that the space between the first surface and the second surface is large enough, and the user can input keys through the space. At this time, it can be determined that the electronic device is in the third State, the plane where the keycap of the keyboard is located is higher than the plane of the non-keyboard part of the first side of the electronic device, that is, the keys in the keyboard are raised so that the keyboard protrudes on the plane of the non-keyboard part to ensure the user Input experience.
[0136] Wherein, when the first comparison result indicates that the distance value corresponding to the current detection information is less than the distance value of the historical detection information, and the distance value corresponding to the current detection information is less than the preset distance value, it is determined The state of the electronic device is a fourth state, and the fourth state is specifically a closed state.
[0137] It should be noted that when the distance value corresponding to the current detection information is less than the distance value of the historical detection information, it indicates that the first side and the second side of the electronic device are in the process of closing, and when the current detection information When the distance value corresponding to the information is less than the preset distance value, it indicates that the space between the first surface and the second surface is very small, and the user cannot perform key input through the space. At this time, it can be determined that the electronic device is in the fourth State, the plane where the keycap of the keyboard is located is not higher than the plane of the non-keyboard part of the first side of the electronic device, that is, the keys in the keyboard are stowed, the overall height of the keyboard is reduced, and the keyboard is lowered to the keys The top of the keycap is not higher than the plane of the non-keyboard part, which reduces the overall thickness of the electronic device.
[0138] Step S704: When the state of the electronic device is the third state, generate a first control signal, where the first control signal is used to control the state of the keyboard to switch to the first state;
[0139] Step S705: When the state of the electronic device is the fourth state, a second control signal is generated, and the second control signal is used to control the state of the keyboard to switch to the second state.
[0140] Among them, steps S704-705 are consistent with steps S604-605 in Embodiment 4, and are not described in detail in this embodiment.
[0141] In summary, in the keyboard control method provided in this embodiment, when the detection information includes the distance value between the first preset position on the second surface and the second preset position on the first surface, Then the analyzing the detection information to obtain the status of the electronic device specifically includes: comparing the current detection information with the historical detection information to obtain a first comparison result; when the first comparison result indicates the current When the distance value corresponding to the detection information is greater than the distance value of the historical detection information, and the distance value corresponding to the current detection information is greater than the preset distance value, it is determined that the state of the electronic device is the third state; when the first A comparison result indicates that when the distance value corresponding to the current detection information is less than the distance value of the historical detection information, and the distance value corresponding to the current detection information is less than the preset distance value, it is determined that the state of the electronic device is The fourth state. With this method, the state of the electronic device can be obtained by detecting and judging the distance between the preset positions on the first surface and the second surface. The analysis process is simple and does not require a large amount of data processing. Low power consumption.
[0142] Wherein, the detection information includes the angle value between the second surface and the first surface.
[0143] As attached Picture 9 , Is a flowchart of Embodiment 5 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0144] Step S901: Obtain detection information of a sensor set by the electronic device;
[0145] Step S902: Determine whether the detection information meets a first preset condition, and generate a first judgment result;
[0146] Among them, steps S901-902 are consistent with steps S601-602 in Embodiment 4, and are not described in detail in this embodiment.
[0147] Step S903: Compare the current detection information with the historical detection information to obtain a second comparison result;
[0148] Wherein, the detection information is the angle value between the second surface and the first surface.
[0149] Wherein, the included angle value can be set according to the specific structure of the electronic device. For example, the included angle value can be any value from 0° to 360°.
[0150] It should be noted that the historical detection information is the detection information detected in the previous detection cycle, and the historical detection information may be stored in the storage area of ​​the electronic device.
[0151] When the second comparison result indicates that the angle value corresponding to the current detection information is greater than the angle value of the historical detection information, and the angle value corresponding to the current detection information is greater than the preset angle value, Determining that the state of the electronic device is a third state, and the third state is specifically an open state;
[0152] It should be noted that if the included angle value corresponding to the current detection information is greater than the included angle value of the historical detection information, it indicates that the first and second sides of the electronic device are in the process of opening, and when the current When the included angle value corresponding to the detection information is greater than the preset included angle value, it indicates that at this time, the user can perform key input through the space between the first surface and the second surface. At this time, it can be determined that the electronic device is in the first In three states, the plane where the keycap of the keyboard is located is higher than the plane of the non-keyboard part of the first side of the electronic device, that is, the keys in the keyboard are raised so that the keyboard protrudes on the plane of the non-keyboard part to ensure The user’s input experience.
[0153] In specific implementation, the value range of the preset angle value can be any value from 80° to 150°. When the angle between the first surface and the second surface is within the value range, the user passes through the At the same time, the keyboard input of electronic equipment has a better visual experience for the display screen.
[0154] When the second comparison result indicates that the angle value corresponding to the current detection information is less than the angle value of the historical detection information, and the angle value corresponding to the current detection information is less than the preset angle value, It is determined that the state of the electronic device is a fourth state, and the fourth state is specifically a closed state.
[0155] It should be noted that if the included angle value corresponding to the current detection information is less than the included angle value of the historical detection information, it indicates that the first side and the second side of the electronic device are in the process of closing, and when the current When the included angle value corresponding to the detection information is less than the preset included angle value, it indicates that the space between the first surface and the second surface is very small, and the user cannot perform key input through the space. At this time, the electronic device can be determined In the fourth state, the plane where the keycap of the keyboard is located is not higher than the plane of the non-keyboard part of the first side of the electronic device, that is, the keys in the keyboard are stowed and the overall height of the keyboard is reduced to realize the keyboard The top of the keycap lowered to the key is not higher than the plane of the non-keyboard part, which reduces the overall thickness of the electronic device.
[0156] In specific implementation, the value range of the preset included angle value may be any value from 0° to 80°.
[0157] Step S904: when the state of the electronic device is the third state, generate a first control signal, where the first control signal is used to control the state of the keyboard to switch to the first state;
[0158] Step S905: When the state of the electronic device is the fourth state, a second control signal is generated, and the second control signal is used to control the state of the keyboard to switch to the second state.
[0159] Among them, steps S904-905 are consistent with steps S604-605 in Embodiment 4, which are not described in detail in this embodiment.
[0160] In summary, in the keyboard control method provided in this embodiment, when the detection information includes the angle value between the second surface and the first surface, the analysis of the detection information is performed, Obtaining the status of the electronic device specifically includes: comparing the current detection information with historical detection information to obtain a second comparison result; when the second comparison result indicates that the angle value corresponding to the current detection information is greater than all When the included angle value of the historical detection information, and the included angle value corresponding to the current detection information is greater than the preset included angle value, it is determined that the state of the electronic device is the third state; when the second comparison result indicates When the angle value corresponding to the current detection information is less than the angle value of the historical detection information, and the angle value corresponding to the current detection information is less than the preset angle value, it is determined that the state of the electronic device is the first Four states. With this method, the state of the electronic device can be obtained by detecting and judging the angle value between the first surface and the second surface, the analysis process is simple, a large amount of data processing is not required, and the power consumption of the electronic device is low.
[0161] Wherein, the second surface of the electronic device is provided with a display screen, the first surface of the electronic device and the second surface are rotatably connected by a connecting shaft, and the connecting shaft is connected with the keyboard on the first surface.
[0162] As attached Picture 10 , Is a flowchart of Embodiment 6 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0163] Step S1001: receiving the relative rotation value between the first surface and the second surface in the connected shaft;
[0164] Wherein, the relative rotation value represents the relative rotation angle or distance of the first surface and the second surface at the position of the connecting shaft.
[0165] Specifically, the first surface and the second surface rotate relative to each other at the connecting shaft, and the relative rotation corresponds to a certain angle or a distance.
[0166] It should be noted that the distance is a curved surface distance, and since the connecting shaft is cylindrical, the distance is a relative distance that the relative rotation moves with respect to the outer surface of the connecting shaft.
[0167] Wherein, the relative rotation value indicates the relative position change between the first surface and the second surface, that is, it indicates whether the state of the electronic device is open or closed.
[0168] Wherein, the connection between the connecting shaft and the keyboard in the first surface will be described in detail in subsequent embodiments, and will not be described in detail in this embodiment.
[0169] Step S1002: Adjust the state of the keyboard in the electronic device according to the relative rotation value.
[0170] Wherein, step S1001 is the same as step S202 in Embodiment 1, and will not be repeated in this embodiment.
[0171] In summary, in the keyboard control method provided in this embodiment, the second surface of the electronic device is provided with a display screen, and the first surface and the second surface are rotatably connected by a connecting shaft, and the connecting shaft is connected to the If the keyboard in the first surface is connected, receiving the state information of the electronic device includes: receiving a relative rotation value between the first surface and the second surface in the connected shaft, and the relative rotation value represents the The relative rotation angle or distance between the first surface and the second surface at the position of the connecting shaft. Using this method, by receiving the relative rotation value of the relative rotation of the first surface and the second surface at the position of the connecting shaft, the relative rotation value indicates the state of the electronic device, and then based on the relative rotation value, the electronic device The state of the keyboard is adjusted. During this process, the connecting shaft is adjusted. The electronic device does not need to perform a large amount of data processing, and does not require a large amount of structural changes, which is easy to implement.
[0172] As attached Picture 11 , Is a flowchart of Embodiment 7 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0173] Step S1101: receiving the relative rotation value between the first surface and the second surface in the connected shaft;
[0174] Among them, step S1101 is the same as step S1001 in the sixth embodiment, and will not be repeated in this embodiment.
[0175] Step S1102: Accept the relative rotation value between the first surface and the second surface in the connecting shaft;
[0176] Wherein, the connecting shaft is connected with the keyboard on the first surface by a connecting rod. When the connecting shaft acts, the connecting rod is pulled, and the connecting rod adjusts the state of the keyboard.
[0177] In a specific implementation, the first surface and the second surface rotate relative to each other, and accept the relative rotation value to pull the connecting rod to move.
[0178] Picture 12 Shown is a schematic structural diagram of the electronic device in this embodiment. The connecting shaft 1201 of the electronic device is respectively connected with a first surface 1202 and a second surface 1203. The first surface 1203 is provided with a display screen 1204, and the second A keyboard 1205 is arranged in the surface 1204, and the keyboard 1205 is connected to the connecting shaft 1201 through a connecting rod 1206.
[0179] Step S1103: When the relative rotation value is greater than a first preset value, control the connecting shaft to switch the state of the keyboard through the link connecting the connecting shaft and the keyboard in the first surface to the first status;
[0180] It should be noted that when the electronic device is in the open state, the relative movement between the first surface and the second surface is the first direction, and the first direction can be regarded as the positive direction. When the electronic device is in the closed state, The relative movement between the first surface and the second surface is a second direction, and the second direction can be regarded as a negative direction.
[0181] In specific implementation, the first preset value may take a positive value, and the second preset value may take a negative value.
[0182] In a specific implementation, the first preset value can be set to a value of 0. When the relative rotation value is greater than 0, the first surface and the second surface rotate relative to each other, and the rotation is switched to the first state through the linkage of the keyboard. .
[0183] Of course, in order to ensure that the operation button of the electronic device does not touch the display screen, the first preset value can be set to a larger value, such as 10°, or 1 cm.
[0184] It should be noted that the keyboard is moved to the first state by the linkage, so that the plane where the keycap of the keyboard is located is higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the keys in the keyboard are raised, In order to make the keyboard protrude on the plane of the non-keyboard part, the user's input experience is guaranteed.
[0185] Step S1104: When the relative rotation value is less than a second preset value, control the state of the connecting shaft to pull the keyboard through the link to switch to the second state.
[0186] Corresponding to step S1103, in specific implementation, the second preset value may take a value of 0. When the relative rotation value is less than 0, the first surface and the second surface rotate relatively, and the rotation affects the keyboard through the linkage. The state is switched to the second state.
[0187] Of course, in order to ensure that the operating button of the electronic device does not touch the display screen, the second preset value can be set to a larger value, such as -10°, or -1 cm.
[0188] It should be noted that the keyboard is switched to the second state through the linkage, so that the plane of the keyboard keycap is not higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the keys in the keyboard are retracted , Reduce the overall height of the keyboard, realize that the keyboard is lowered to the top of the keycap of the keys not higher than the plane of the non-keyboard part, reduce the overall thickness of the electronic device, and help reduce the size of the electronic device.
[0189] To sum up, in the keyboard control method provided in this embodiment, the connecting shaft of the electronic device is connected to the keyboard on the first side by a connecting rod, and then the keyboard in the electronic device is adjusted according to the state information. The state includes: accepting the relative rotation value between the first surface and the second surface of the connecting shaft; when the relative rotation value is greater than a first preset value, controlling the connecting shaft to connect the The state in which the connecting shaft of the connecting shaft and the keyboard in the first surface pulls the keyboard is switched to the first state; when the relative rotation value is less than the second preset value, the connecting shaft is controlled to pass through the connecting rod The state of pulling the keyboard is switched to the second state. By adopting this method, by setting a connecting rod between the connecting shaft and the keyboard, the action of the connecting rod is affected based on the state of the electronic device, thereby realizing the control of the state of the keyboard. The adjustment process is simple and only a simple modification of the structure of the electronic device is required. ,Easy to implement.
[0190] As attached Figure 13 , Is a flowchart of Embodiment 8 of a keyboard control method provided by the present invention. The method is implemented by the following steps:
[0191] Step S1301: receiving the relative rotation value between the first surface and the second surface in the connected shaft;
[0192] Among them, step S1301 is consistent with step S1001 in the sixth embodiment, which is not described in detail in this embodiment.
[0193] Step S1302: Accept the relative rotation value between the first surface and the second surface in the connecting shaft;
[0194] Wherein, a sliding plate is arranged under the keys in the keyboard, and the sliding plate is connected with the key cap, and the sliding plate is connected with the connecting shaft through a connecting rod. When the connecting shaft acts, the connecting rod is affected, and the connecting rod further controls the state of the keyboard. Adjustment.
[0195] In a specific implementation, the first surface and the second surface rotate relative to each other, and accept the relative rotation value to pull the connecting rod to move.
[0196] Figure 14 Shown is a schematic structural diagram of the electronic device in this embodiment. The connecting shaft 1401 of the electronic device is respectively connected with a first surface 1402 and a second surface 1403. The first surface 1403 is provided with a display screen 1404, and the second A keyboard is arranged in the surface 1404, and a sliding plate 1406 is arranged at the bottom of the keys 1405 in the keyboard, and the sliding plate 1406 is connected to the connecting shaft 1401 through a connecting rod 1407.
[0197] Among them, the Figure 14 Here, only the structure of one of the keys in the keyboard is described. Each of the other keys in the keyboard is provided with a sliding plate, and the sliding plate is indirectly connected with the connecting shaft.
[0198] Step S1303: When the relative rotation value is greater than a third preset value, control the sliding plate provided on the button to move, and pull the keycap corresponding to the sliding plate to rise;
[0199] Wherein, the keyboard is switched to the first state, and the sliding plate is connected with the connecting shaft.
[0200] Among them, such as Figure 15 Shown is a schematic structural diagram of the button in this embodiment. In the schematic structural diagram, the button is in a normal state, the keycap 1501 of the button is connected to the scissor structure 1502, one end of the scissor structure is connected to the sliding plate 1503, and the other end It is connected to the firmware in the back plate 1504, and an elastic rubber 1505 is also arranged between the back plate 1504 and the key cap 1501.
[0201] In specific implementation, when the electronic device is opened, when the first surface and the second surface are relatively moved, when the relative rotation value between the first surface and the second surface in the connecting shaft is greater than the third preset When the value is set, the connecting shaft moves the sliding plate through the connecting rod to the direction of the firmware close to the sliding plate, so that the height of the scissors structure increases, and then the key cap corresponding to the sliding plate rises, and the plane of the keyboard key cap is higher than the electronic The plane of the non-keyboard part of the first side of the device, that is, the keys in the keyboard are raised, so that the keyboard protrudes from the plane of the non-keyboard part, ensuring the user's input experience.
[0202] Step S1304: When the relative rotation value is less than the third preset value, control the sliding plate to move, pull the keycap corresponding to the sliding plate to sink, and switch the keyboard to the second state.
[0203] Among them, such as Figure 16 What is shown is another structural diagram of the button in this embodiment. In the structural diagram, the button is in a sinking state of the keycap, the keycap 1601 of the button is connected to the scissor structure 1602, and one end of the scissor structure is connected to the sliding plate 1603 is connected, the other end is connected with the firmware in the back plate 1604, and an elastic rubber 1605 is also provided between the back plate 1604 and the key cap 1601.
[0204] In specific implementation, when the electronic device is closed, when the first surface and the second surface move relative to each other, when the relative rotation value between the first surface and the second surface in the connecting shaft is less than the fourth preset When the value is set, the connecting shaft moves the sliding plate away from the firmware of the sliding plate through the connecting rod, so that the height of the scissor structure is reduced, and the key cap corresponding to the sliding plate is lowered, and the plane where the key cap of the keyboard is located is not higher than the The plane of the non-keyboard part of the first side of the electronic device, that is, retract the keys in the keyboard and reduce the overall height of the keyboard, so that the keyboard is lowered to the top of the keycaps of the keys not higher than the plane of the non-keyboard part. The overall thickness of the electronic device.
[0205] In summary, in the keyboard control method provided in this embodiment, the adjusting the state of the keyboard in the electronic device according to the state information includes: receiving the first surface and the second surface of the connecting shaft. The relative rotation value between the surfaces; when the relative rotation value is greater than the third preset value, the slide plate provided on the button is controlled to move, and the keycap corresponding to the slide plate is pulled up, and the keyboard is switched to the first state , The sliding plate is connected to the connecting shaft; when the relative rotation value is less than a third preset value, the sliding plate is controlled to move, and the keycap corresponding to the sliding plate is caused to sink, and the keyboard is switched to the second state . By adopting this method, by setting a connecting rod between the connecting shaft and the keyboard, and connecting the connecting rod with the slide plate of the button, the connecting rod is moved based on the state of the electronic device, and then the sliding plate is moved through the connecting rod to realize the control of the keyboard The adjustment process is simple, only simple changes to the structure of the electronic device are required, which is easy to implement.
[0206] The above-mentioned embodiments of the present invention describe a keyboard control method in detail. The keyboard control method of the present invention can be implemented by various forms of electronic equipment. Therefore, the present invention also provides an electronic equipment. The examples are described in detail.
[0207] Figure 17 What is shown is a schematic structural diagram of Embodiment 1 of an electronic device provided in this application. The electronic device has a keyboard. The electronic device may specifically be a desktop computer, a notebook, a tablet computer, a mobile phone, a smart TV, a smart watch, and a wearable. Electronic equipment such as type equipment.
[0208] Wherein, the electronic device is realized by the following structures: a housing 1701, a keyboard 1702, and a controller 1703;
[0209] The controller 1703 is configured to receive state information of the electronic device, and adjust the state of the keyboard in the electronic device according to the state information;
[0210] Wherein, the state of the keyboard includes a first state and a second state. When the keyboard is in the first state, the plane where the top of the keycap of the keyboard is located protrudes from the plane where the non-keyboard part of the first surface of the electronic device is located; When the keyboard is in the second state, the top of the keycap of the keyboard is on the same plane as the non-keyboard portion of the first surface, or when the keyboard is in the second state, the top of the keycap of the keyboard is lower than the The plane where the non-keyboard part is located in the first side.
[0211] In summary, in the electronic device provided in this embodiment, the state of the keyboard in the electronic device can be adjusted according to the state of the electronic device. When the user uses the keyboard to input, the keyboard can be controlled to be in the first state, and the keyboard protrudes from The plane of the non-keyboard part ensures the user’s input experience, and when the electronic device is stowed, the keyboard can be controlled to be in the second state, and the keyboard is lowered to the top of the keycap of the keys not higher than the plane of the non-keyboard part, The overall thickness of the electronic device is reduced, which is conducive to reducing the size of the electronic device.
[0212] Figure 18 What is shown is a schematic structural diagram of a controller in Embodiment 2 of an electronic device provided in this application, and the electronic device is realized by the following structures: a housing, a keyboard, and a controller;
[0213] Among them, the controller includes: an acquisition unit 1801, a judgment unit 1802, and an adjustment unit 1803;
[0214] Among them, the structure and function of the casing and the keyboard are the same as those in the first embodiment, which will not be repeated in this embodiment.
[0215] Wherein, the acquiring unit 1801 acquires detection information of a sensor provided by the electronic device, the detection information indicates the relative position of the second surface of the electronic device and the first surface, and the second surface is provided with a display screen , One side of the first surface and one side of the second surface are rotatably connected;
[0216] Wherein, the judging unit 1802 judges whether the detection information satisfies a first preset condition, and generates a first judgment result;
[0217] Wherein, the adjustment unit 1803 is configured to analyze the detection information to obtain the state of the electronic device when the first judgment result indicates that the detection information meets the first preset condition; when the state of the electronic device is In the third state, a first control signal is generated, and the first control signal is used to control the state of the keyboard to switch to the first state; when the state of the electronic device is in the fourth state, a second control signal is generated, The second control signal is used to control the state of the keyboard to switch to the second state.
[0218] To sum up, in the electronic device provided in this embodiment, the information on the first side and the second side of the electronic device is collected by the sensor provided in the electronic device, and the electronic device is determined by analyzing the detection information of the sensor. After the state of the electronic device is determined, the corresponding control signal is generated, and the state of the keyboard is adjusted according to the control signal, so that the state of the keyboard is controlled according to the state of the electronic device. The adjustment process is simple. The amount of information processing is small, easy to implement, and the power consumption of electronic equipment is low.
[0219] Wherein, the second side of the electronic device is provided with a display screen.
[0220] Figure 19 What is shown is a schematic structural diagram of a controller in Embodiment 3 of an electronic device provided in this application, and the electronic device is realized by the following structures: a housing, a keyboard, and a controller;
[0221] The controller includes a rotating shaft 1901 and a connecting rod 1902.
[0222] Among them, the structure and function of the casing and the keyboard are the same as those in the first embodiment, which will not be repeated in this embodiment.
[0223] Wherein, the rotating shaft 1901 is arranged at the connecting position between the first side and the second side of the electronic device, and the connecting shaft is connected with the keyboard in the first side;
[0224] Wherein, the connecting rod 1902 connects the rotation shaft and the keyboard, and the connecting rod receives the relative rotation value between the first surface and the second surface in the connecting shaft, and moves to the relative rotation value The corresponding distance affects the keyboard adjustment state.
[0225] Specifically, the keyboard is moved to the first state by the linkage 1902, so that the plane where the keycap of the keyboard is located is higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the keys in the keyboard are raised to The keyboard is made to protrude on the plane of the non-keyboard part, ensuring the user's input experience.
[0226] Specifically, the keyboard is moved to the second state by the connecting rod 1902, so that the plane of the keycap of the keyboard is not higher than the plane of the non-keyboard part of the first surface of the electronic device, that is, the keys in the keyboard are retracted, The overall height of the keyboard is reduced, so that the keyboard is lowered until the top of the keycap of the keys is not higher than the plane of the non-keyboard part, which reduces the overall thickness of the electronic device, which is beneficial to reduce the size of the electronic device.
[0227] In summary, in the electronic device provided in this embodiment, the controller includes: a rotating shaft provided at a position where the first side and the second side of the electronic device are connected, and the second side of the electronic device is provided with a display Screen, the connecting shaft is connected to the keyboard in the first surface; a connecting rod connecting the rotation shaft and the keyboard, the connecting rod receives one of the first surface and the second surface in the connecting shaft And move the distance corresponding to the relative rotation value to influence the keyboard adjustment state. With this electronic device, by setting a connecting rod between the connecting shaft and the keyboard, the action of the connecting rod is affected based on the state of the electronic device, thereby realizing the control of the state of the keyboard. The adjustment process is simple, and only the structure of the electronic device is simple. Changes are easy to implement.
[0228] Picture 20 What is shown is a schematic structural diagram of a controller in Embodiment 4 of an electronic device provided in this application, and the electronic device is realized by the following structures: a housing, a keyboard, and a controller;
[0229] The controller includes a rotating shaft 1901, a connecting rod 1902 and a sliding plate 1903.
[0230] Wherein, the structure and function of the casing, keyboard, rotating shaft, and connecting rod are consistent with those in the third embodiment, and will not be repeated in this embodiment.
[0231] Wherein, a sliding plate 1903 is provided at the bottom of the keys in the keyboard, one end of the sliding plate is connected to the scissors structure of the key, and the other end of the sliding plate is connected to the connecting rod 1902, and the sliding plate is adjusted according to the movement of the connecting rod. The state of the scissors structure pulls the keycaps of the keys to rise, causing the keyboard to switch to the first state or pulls the keycaps corresponding to the sliding plate to sink, causing the keyboard to switch to the second state.
[0232] It should be noted that the sliding board controls the sinking and rising of the keycap of the button such as Figure 15 with 16 As shown, details are not described in this embodiment.
[0233] In summary, in the electronic device provided by this embodiment, the controller further includes: a slide plate provided at the bottom of the keys in the keyboard, one end of the slide plate is connected to the scissors structure of the keys, and the other end of the slide plate is connected to The connecting rod is connected, the state of the scissors structure is adjusted according to the movement of the connecting rod, and the keycap of the button is pulled up, so that the keyboard is switched to the first state or the keycap corresponding to the slide plate is caused to sink , So that the keyboard is switched to the second state. With this electronic device, a connecting rod is provided between the connecting shaft and the keyboard, and the connecting rod is connected to the slide plate of the button, and the connecting rod is moved based on the state of the electronic device, and then the sliding plate is moved through the connecting rod to realize the control of the The state of the keyboard, the adjustment process is simple, only a simple modification to the structure of the electronic device is required, which is easy to implement.
[0234] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. As for the device provided in the embodiment, since it corresponds to the method provided in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0235] Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities Or there is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment including the element.
[0236] The keyboard control method and electronic equipment provided by this application are described in detail above. Specific examples are used in this article to illustrate the principles and implementations of this application. The description of the above embodiments is only used to help understand this application. Method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of ​​this application, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a reference to this Application restrictions.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Display device

InactiveCN101150941AReduce overall thicknessSolve the heavyInstrument housingRack/frame constructionImaging SignalImage signal
Owner:INNOLUX CORP

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products