Computer keyboard and electronic equipment

By adjusting the keyboard driver, the integration of the numeric keyboard superposition and multiplexing of the single-keypad laptop keyboard and the calculator function is achieved, solving the problems of existing keyboards in the numeric keyboard availability and calculator user experience, and improving user experience and operation efficiency.

CN119937801APending Publication Date: 2025-05-06莫晓东
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510139336.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing single-keypad laptop keyboard lacks usability, especially in the superposition and multiplexing of numeric keyboards, which leads to the +-*/ operator being unable to be obtained with one click, affecting the calculator experience.

Method used

By adjusting the keyboard driver, modifying the mapping relationship between the virtual key code and the scan code in the primary key area, implementing the Fn+Tel, Fn+Scie and Fn+Calc conversion programs, integrating the telephone keyboard, calculator keyboard and computer keyboard, and remapping the numeric keys and punctuation keys.

Benefits of technology

The overlay and reuse solution of the numeric keypad has been restored, which has improved the user experience and realized the software environment of virtual and real integration, making it convenient to use the computer's own calculator and make calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937801A_ABST
    Figure CN119937801A_ABST
Patent Text Reader

Abstract

The invention relates to a computer keyboard and electronic equipment, which are characterized in that the computer keyboard is provided with an Fn key and a QWERTY main key area right mapping telephone numeric keypad, switching is carried out through Fn + Tel, and calling and single-hand input through a mobile phone T9 input method are facilitated; a scientific calculator function operator is mapped on the left side of the main key area, Fn + Scie is used in cooperation with the built-in scientific calculator of Windows, and the operation process and the operation result can be copied and pasted to other application programs; the keyboard integrates three keyboards of a mobile phone, a computer and a scientific calculator, and is particularly suitable for replacing a virtual keyboard in a unified software environment of XR virtual-real fusion, so that the interaction efficiency and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer peripherals and human-computer interaction, in particular to a computer keyboard and electronic equipment. Background Art

[0002] As virtual reality (VR), mixed reality (MR) and augmented reality (AR) technologies extend people's work, study and entertainment from real space to virtual space, the human-computer interaction mode has also changed. VR, MR and AR are collectively referred to as XR (extended reality). XR requires the use of handles and gestures to achieve human-computer interaction. Although XR handles can complete various interactions in virtual space, the text, numbers and punctuation input in the computer input method, if the ray emitted by the XR handle (presented as a beam in virtual space) is used to click and select on the virtual keyboard (mobile phone keyboard / computer keyboard / calculator keyboard) in the virtual space (virtual three-dimensional space) and the symbol table in the virtual space, the user experience is worse and less efficient than the experience of using a mouse to click on the virtual keyboard and symbol table on the display screen (two-dimensional plane in real space) to input characters. Mixed reality (MR) uses video see-through (VST) technology. VST (video see-through) is the acronym for Video See Through. VST superimposes virtual images on real-world real-world video streams, allowing users to view augmented reality content through head-mounted displays, thereby achieving virtual-real integration. MR superimposes the physical keyboard in the real space into the virtual space. People can use the physical keyboard on the desktop to input characters, make calls, perform calculations, and obtain real key tactile feedback in the virtual environment, just like in the real environment. Facts have proved that the three high-frequency physical keyboards, mobile phone keyboards, calculator keyboards, and computer keyboards, cannot be replaced by virtual keyboards and XR handles, whether in virtual environments or in real environments. The computer keyboard and numeric keypad on the desktop exist in the form of peripherals, while mobile phones and external calculators exist in the form of terminals, each independent of the software environment of XR and computers. Even if there is a physical keyboard, it cannot replace the virtual keyboard. It can be seen from this that it is particularly important to integrate the mobile phone keyboard, calculator keyboard and computer keyboard, and run them in a unified virtual and real fusion software environment with XR and computers. Computer keyboards are classified according to the number of key areas, usually divided into three-key area keyboards for desktop computers, double-key area keyboards for laptops above 15 o'clock, and single-key area keyboards for laptops below 14 o'clock. The keys on the computer keyboard are divided into four key areas based on function:

[0003] The QWERTY layout consists of a main key area (i.e., the letter key area, also called the typewriter key area), a function key area (F1-F12), a numeric key area (3*3 numeric keypad area), and an editing key area (cursor control key area). Due to space limitations, laptop keyboards below 14:00 all use a single key area, without an independent 3*3 numeric keypad. The previous solution was to superimpose the 3*3 numeric keypad of the numeric keypad on the right half of the main keypad, and to superimpose and reuse it on the first row of numeric keys 7 8 9 and letter keys UIOJKLM, and switch through Fn+NumLock. Unlike the vertical arrangement of the numeric keypad keys, the letter keys of the main keypad are all arranged diagonally, which results in poor usability of the superimposed and reused 3*3 numeric keypad; the four operators +-* / are also arranged diagonally in 4 rows (different rows), and are far away from the BackSpace key and the Enter key, resulting in a large finger jump. Due to poor user experience, all current laptops below 14:00 have abandoned the superimposed multiplexed 3*3 numeric keypad and only retain the 1*10 numeric keypad (0-9 keys in the first row of the main keypad). This brings a very serious problem: because there is no superimposed multiplexed numeric keypad, the four basic operators +-* / do not have dedicated corresponding keys. + must be obtained by pressing Shift+"=+" and * must be obtained by pressing Shift+"8*". Only - and / can be obtained by pressing one key, because - and / correspond to the basic keys "-_" and " / ?" (one key to obtain) instead of the Shift combination key (two keys to obtain). Although the previous single-key area superimposed multiplexed numeric keypad was not easy to use, the +-* / operators could still be obtained with one click, and the ordinary calculator that came with the computer system was still usable. However, the current single-key area laptop keyboard has a 1*10 arrangement of numeric keys (the first row of keys in the main key area), which causes a large range of finger jumps. The + and * of the four basic operators +-* / must be obtained by the shift key combination, resulting in the inability to use the ordinary calculator that comes with the computer system. This brings a lot of inconvenience to users in finance, banks, etc. who have a rigid demand for ordinary calculators. They can only use external independent calculators, but the external independent calculator cannot copy and paste the calculation process and calculation results into the computer's application (because it is not in a unified software environment). Similarly, the external independent scientific calculator cannot copy and paste the calculation process and calculation results into other computer applications like the scientific calculator that comes with the computer system (from this we can see how important a unified software environment is), which brings a lot of inconvenience to teachers, students, and scientific and technological personnel. In addition to the above, the 3*3 numeric keypad is indispensable when using the computer's built-in calculator. When using computer programs to make Internet calls and IP calls, and when using the mobile phone's T9 input method (one-handed 9-key nine-square input method), the 3*3 telephone (mobile phone) keyboard is also required. Although the four operator keys +-* / are not required to make IP calls, the * key and # key are indispensable.In short, a better solution should be given to integrate the telephone (mobile phone) keyboard, calculator (ordinary calculator and scientific calculator) keyboard, and computer keyboard, so that they can run in a unified virtual-real fusion software environment (a unified software environment that integrates virtual reality and real environment) including VR / MR head display and computer host, which is convenient for using the computer system's built-in calculator (ordinary calculator and scientific calculator) and making calls. The technical solution I gave effectively solved the above problems. Summary of the invention

[0004] The purpose of the present invention is to provide an improved technical solution to solve the usability problem of the 3*3 numeric keypad superimposed and multiplexed on the above-mentioned single-key area laptop keyboard, and integrate the telephone (mobile phone) keyboard, calculator (ordinary calculator and scientific calculator) keyboard, and computer keyboard, and run them in a unified XR software environment that integrates the virtual and the real. In virtual space and real space, it is convenient to use the calculator (ordinary calculator and scientific calculator) that comes with the computer system, and it is also convenient to make calls and use the T9 input method (one-handed 9-key nine-square input method) of the mobile phone. The numeric keypad maps the +-* / basic operators of the ordinary calculator, and the main key area maps the function operators of the scientific calculator, and further promotes it from the single-key area keyboard of the laptop to the double-key area keyboard and the three-key area keyboard of the desktop.

[0005] The technical solution adopted by the present invention includes the following contents:

[0006] For keyboards with Fn keys, the mapping relationship between the virtual key code and the scan code in the main key area is modified by adjusting the keyboard driver to realize related functions. The new keyboard driver is stored in the EPROM (Erasable Programmable Read Only Memory) or FLASH of the keyboard MCU (Microcontroller Unit, also known as Single Chip Microcomputer) in the form of firmware. The Fn+Tel (Telephone) conversion program is set in the keyboard driver, the Fn+Scie (Scientific) conversion program is set in the keyboard driver, and the Fn+Calc (Calculator) is set to call the calculator application that comes with the Windows system. With the following key mapping relationship, the telephone (mobile phone) keyboard, calculator (ordinary calculator and scientific calculator) keyboard, and computer keyboard are integrated and unified.

[0007] In the right half of the main key area of ​​the single-key area laptop keyboard, the 0-9 numeric keys arranged in 1*10 in the first row of the main key area are remapped. The specific mapping relationship is: superimpose multiplexed numeric keys 1 2 3 on the three letter keys IOP; superimpose multiplexed numeric keys 0 4 5 6 on the four letter keys JKL and the symbol key ";"; superimpose multiplexed numeric keys 7 8 9 on the three symbol keys "<," ">." and "? / "; realize the new superimposition multiplexing mapping relationship through Fn+Tel conversion. Based on the above numeric key mapping, map # to the letter key U, map * to the first row numeric key "8", map / to the first row numeric key "9", and map + to the first row numeric key "0". Since the four punctuation keys ";", ",",".","?"" are occupied by keys 6, 7, 8, and 9, and these four punctuation keys and "!" are very important, especially "." is both a period in English and a decimal point on a numeric keypad, which is indispensable for a calculator keyboard, and the five punctuation keys ";", ",",".","?","!"" are most commonly used in the mobile phone nine-square grid input method, so they are adjusted as follows: "," is mapped to letter key N, "." is mapped to letter key M, "?" is mapped to letter key H, ";" is mapped to letter key G, and "!" is mapped to letter key Y. In summary, by switching the program through Fn+Tel, the 0-9 numeric keys in the first row of the main key area arranged in 1*10, as well as #* / + and the punctuation keys ";", ",".",".","?","!""!", a total of 19 keys (main key area) are remapped to the specified key positions, and a numeric keypad in the order of a telephone keypad is obtained, and the 26 letters of the mobile phone T9 input method and the 5 strokes of the horizontal, vertical, left-falling, right-falling, and folding strokes of the Chinese character stroke input method are printed on the telephone keypad.

[0008] In the left half of the main key area of ​​the single-key area laptop keyboard, based on and optimized with the shortcut keys of the win10 scientific calculator, the mapping relationship between the F1-F12 function key area and the first to fourth rows of keys in the main key area is as follows:

[0009] Fl-F12 function key area:

[0010] Esc - C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete-CE;

[0011] The first to fourth row of keys in the main key area:

[0012] The first row of keys: 1-n!, 2-√, 3-X^3;

[0013] The second row of keys, QX^2, R-1 / X, T-tan, YX^y;

[0014] The third row of keys: A-cos, S-sin, D-Mod;

[0015] The fourth row of keys: X-Exp, VFE, B-log, N-ln.

[0016] When the Win10 calculator is running in scientific calculator mode, the Fn+Scie conversion program is used to enable these keys to perform function operations and function buttons.

[0017] On the other hand, the present invention also provides an electronic device, comprising:

[0018] Main device;

[0019] A processor, disposed in the main device;

[0020] The computer keyboard is connected to the processor.

[0021] Compared with the prior art, the beneficial effects of the present invention are: 1. The numeric key order of the mobile phone (telephone) keyboard is more in line with user habits than the numeric key order of the calculator keyboard, and can be mapped to the mobile phone T9 input method (nine-square input method) for one-handed operation. 2. The +-* / operators are arranged horizontally on the same row of keys, which is more than arranged diagonally on 4 rows (different rows) of keys, which significantly improves the user experience, and the numeric keypad is closer to the BackSpace key and the Enter key, and the finger jump amplitude is smaller. 3. The left half of the main key area is based on and optimized from the shortcut keys of the win10 scientific calculator, and maps the scientific calculator function operators. When the win10 calculator is running in the scientific calculator mode, these keys implement function operations and function keys through the Fn+Scie conversion program. 4. The new solution not only restores the numeric keypad overlay reuse solution, but also has a more reasonable layout than the old solution. It integrates the telephone (mobile phone) keyboard, calculator (ordinary calculator and scientific calculator) keyboard, and computer keyboard, so that they can run in a unified virtual-real fusion software environment (a unified software environment that integrates virtual reality and real environment) including VR / MR headsets and computer hosts. It is convenient to use the computer's built-in calculator (ordinary calculator and scientific calculator) and to make calls. 5. Only by refreshing the firmware for conventional laptop keyboards and desktop keyboards with Fn keys, the integration of mobile phone keyboards, computer keyboards, and calculator keyboards can be achieved without opening new keyboard molds, which makes the new technical solution very easy to promote and popularize. 6. The mobile phone keyboard and scientific calculator keyboard are both in the main key area, and can be operated by both the left and right hands. When the right-hand mouse + left-hand keyboard is used, the efficiency is significantly improved.

[0022] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention,

[0023] The present invention can be implemented according to the contents of the specification. The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0024] The present invention will be further described below in conjunction with the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 The figure shows a common QWERTY layout single-key area laptop keyboard, a horizontal Enter American keyboard, and a 3*3 numeric keypad in the numeric keypad area that is overlaid diagonally on the first row of numeric keys 789 and letter keys UIOJKLM in the main keypad, and is switched by Fn+NumLock. Although this solution has a 3*3 numeric keypad, its usability is poor; the four operators +-* / are also arranged diagonally on 4 rows (different rows) of keys, and are far away from the BackSpace key and the Enter key, resulting in a large finger jump. Although the previous single-key area superimposed multiplexed numeric keypad was not easy to use, the +-* / operators could still be obtained with one click, and the computer's built-in ordinary calculator was still usable. However, the current single-key area laptop keyboard, the 1*10 arrangement of numeric keys (the first row of keys in the main key area) causes the finger jump amplitude to be larger than the finger jump amplitude of the 3*3 arrangement of numeric keys. The + and * of the four basic operators +-* / must be obtained by the shift key combination, resulting in the computer's built-in ordinary calculator being unusable. This brings a lot of inconvenience to users in finance, banks, etc. who have a rigid demand for ordinary calculators. They can only use external independent calculators, but the external independent calculator cannot copy and paste the calculation process and calculation results into the computer's application (because it is not in a unified software environment). Similarly, the external independent scientific calculator cannot copy and paste the calculation process and calculation results into other computer applications like the computer's built-in scientific calculator (from this we can see how important a unified software environment is), which brings a lot of inconvenience to teachers, students, and scientific and technological personnel. In addition to the above, the use of the computer's built-in calculator requires a 3*3 numeric keypad. When using a computer program to make an Internet call or an IP phone call, or when using the mobile phone's T9 input method (a one-handed 9-key nine-square input method), a 3*3 telephone (mobile phone) keyboard is also required. Although the four operator keys +-* / are not required to make an IP phone call, the * and # keys are indispensable. This solution was previously mainly used by 14-inch American laptops.

[0026] Figure 2 A first embodiment of the present invention is shown.

[0027] Figure 3 Shown Figure 1 The old scheme and Figure 2 A comparison chart of the new solution.

[0028] Figure 4A second embodiment of the present invention is shown.

[0029] Figure 5 A third embodiment of the present invention is shown.

[0030] Figure 6 A fourth embodiment of the present invention is shown.

[0031] Figure 7 Demonstrates the keyboard input model. The keyboard sends a scan code to the keyboard device driver, which maps the scan code to a virtual key code, which is a system-defined, device-independent value. After mapping the scan code, a message is created, which contains the scan code, virtual key code, and other information about the keystroke, and then the message is placed in the system message queue. The system removes the message from the system message queue and posts it to the message queue of the corresponding thread. Finally, the thread's message loop removes the message and passes it to the corresponding window procedure for processing. DETAILED DESCRIPTION

[0032] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0033] Figure 2 The first embodiment of the present invention is shown. Figure 1The 14-hour American laptop keyboard has an Fn key. The keyboard driver is adjusted to modify the mapping relationship between the virtual key code and the scan code in the main key area to realize related functions. The new keyboard driver is stored in the EPROM (Erasable Programmable Read Only Memory) or FLASH of the keyboard MCU (Microcontroller Unit, also known as Single Chip Microcomputer) in the form of firmware. Tel is mapped on the "\|" key, and the Fn+Tel (Telephone) conversion program is set in the keyboard driver. In the right half of the QWERTY layout main key area, the 0-9 numeric keys arranged in 1*10 in the first row of the main key area are remapped. The specific mapping relationship is: the numeric keys 1 2 3 are superimposed on the three letter keys IOP; the numeric keys 0 4 5 6 are superimposed on the four letter keys JKL and the symbol key ";"; the numeric keys 7 8 9 are superimposed on the three symbol keys "," "." and " / "; the new superimposed multiplexing mapping relationship is realized through the Fn+Tel conversion. Based on the above numeric key mapping, map # to the letter key U, map * to the first row of numeric keys "8", map / to the first row of numeric keys "9", and map + to the first row of numeric keys "0". Since the punctuation keys ";", "," ".", "?" are occupied by keys 6 7 8 9, and these four punctuation marks and "!" are very important, especially "." is both the English period and the decimal point on the numeric keypad, which is indispensable for the calculator keyboard. In addition, the five punctuation marks ";", ",".","?", "!" are most commonly used in the mobile phone nine-square input method, so they are adjusted as follows: "," is mapped to the letter key N, "." is mapped to the letter key M, "?" is mapped to the letter key H, ";" is mapped to the letter key G, and "!" is mapped to the letter key Y. To summarize, through the Fn+Tel switching program, the 0-9 numeric keys arranged in 1*10 in the first row of the main key area, as well as the #* / + and punctuation keys ";", ",".","?","!", a total of 19 keys (main key area) are remapped to designated key positions, and a numeric keypad in the order of a telephone keypad is obtained, and the 26 letters of the mobile phone T9 input method and the 5 strokes of the Chinese character stroke input method are printed on the telephone keypad.

[0034] Map Scie to the Tab key, set Fn+Scie (Scientific) conversion program in the keyboard driver, map Calc to the left shift key, set Fn+Calc (Calculator) to call the Windows system built-in calculator application, and in the left half of the main key area, based on the shortcut keys of the win10 scientific calculator and optimized, the mapping relationship of the F1-F12 function key area and the first to fourth rows of keys in the main key area is as follows:

[0035] F1-F12 function key area:

[0036] Esc-C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete - CE;

[0037] The first to fourth row of keys in the main key area:

[0038] The first row of keys: 1-n!, 2-√, 3-X^3;

[0039] The second row of keys, QX^2, R-1 / X, T-tan, YX^y;

[0040] The third row of keys: A-cos, S-sin, D-Mod;

[0041] The fourth row of keys: X-Exp, VFE, B-log, N-ln.

[0042] When the Win10 calculator is running in scientific calculator mode, switch the program through Fn+Scie, and these keys realize function operations and function keys.

[0043] In addition, NumLock on the F12 key corresponds to the Fn+NumLock switch of the numeric keypad, thereby realizing the dual superposition and reuse of the original numeric keypad (first numeric keypad) and the mobile phone numeric keypad (second numeric keypad). The 0-9 numeric keys of the original numeric keypad (the virtual key codes are different from the first row of numeric keys in the main keypad) are arranged in the order of 123 456 789 of the mobile phone numeric keypad, and are dual-superimposed and reused with the numeric key positions corresponding to the Fn+Tel switch. The calculator numeric keypad switched by NumLock on the original computer keyboard is the first numeric keypad (calculator numeric keypad), and the virtual key codes for the numeric keys and the four operators +-* / are: VK_NUMPAD0-VK_NUMPAD9, VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_DECIMAL; in the new solution, the mobile phone (telephone) keyboard on the right side of the main key area switched by Tel is the second numeric keypad (telephone numeric keypad) independent of the NumLock numeric keypad, and the corresponding virtual key codes for the 10 numeric keys 0-9 in the first row of the main key area are: VK_0-VK_9.

[0044] Figure 3 Shown Figure 1 The Fn+NumLock overlay reuse solution (pictured above) and Figure 2 The comparison of the Fn+Tel overlay reuse scheme (the figure below) shows the following differences between the new and old schemes: 1. The numeric key order of the mobile phone (telephone) keyboard is more in line with user habits than the numeric key order of the calculator keyboard, and can be mapped to the mobile phone T9 input method (nine-square input method) for one-handed operation. 2. The +-* / operators are arranged horizontally on the same row of keys, which is more obliquely arranged on different 4 rows of keys, which significantly improves the user experience, and the numeric keypad is closer to the BackSpace key and the Enter key, and the finger jump amplitude is significantly reduced. 3. The left half of the main key area is based on the shortcut keys of the win10 scientific calculator and optimized to map the scientific calculator function operators. When the win10 calculator is running in the scientific calculator mode, these keys realize function operations and function keys through the Fn+Scie conversion program. 4. The mobile phone keyboard and the scientific calculator keyboard are both in the main key area, which can be operated by both the left and right hands. When the right-hand mouse + left-hand keyboard is used, the efficiency is significantly improved. 5. Only by updating the firmware of the conventional laptop keyboard and desktop keyboard with Fn key, the integration of mobile phone keyboard, computer keyboard and calculator keyboard can be realized, without opening new keyboard molds, which makes the new technical solution very easy to promote and popularize. It can be seen that the new solution not only restores the overlay reuse solution of the numeric keypad, but also has a more reasonable layout than the old solution, integrating and unifying the three keyboards of mobile phone, computer and scientific calculator.

[0045] Figure 4 The second embodiment of the present invention is shown, which is aimed at a horizontal Enter American Apple laptop keyboard, which is a keyboard with an Fn key, and realizes related functions by adjusting the keyboard driver and modifying the mapping relationship between the virtual key code and the scan code in the main key area. The new keyboard driver is stored in the EPROM (Erasable Programmable Read Only Memory) or FLASH of the keyboard MCU (Microcontroller Unit, also known as Single Chip Microcomputer) in the form of firmware. Map Tel on the "\|" key, set the Fn+Tel conversion program in the keyboard driver, and remap the 0-9 numeric keys arranged in 1*10 in the first row of the main key area in the right half of the QWERTY layout. The specific mapping relationship is: superimpose multiplexed numeric keys 1 23 on the three letter keys IOP; superimpose multiplexed numeric keys 0 4 5 6 on the four letter keys JKL and the symbol key ";"; superimpose multiplexed numeric keys 7 8 9 on the three symbol keys "," "." and " / "; realize the new superimposed multiplexed mapping relationship through Fn+Tel conversion. Based on the above numeric key mapping, map # to the letter key U, map * to the first row numeric key "8", map / to the first row numeric key "9", and map + to the first row numeric key "0". Since the four punctuation keys ";", ",",".","?"" are occupied by keys 6, 7, 8, and 9, and these four punctuation marks and "!" are very important, especially "." is both a period in English and a decimal point on a numeric keypad, which is indispensable for a calculator keyboard, and the five punctuation marks ";", ",",",","?","!"" are most commonly used in the mobile phone nine-square grid input method, so they are adjusted as follows: "," is mapped to letter key N, "." is mapped to letter key M, "?" is mapped to letter key H, ";" is mapped to letter key G, and "!" is mapped to letter key Y. In summary, by switching the program through Fn+Tel, the 0-9 numeric keys in the first row of the main key area arranged in 1*10, as well as #* / + and the punctuation keys ";", ",",".","?","!""!", a total of 19 keys (main key area) are remapped to designated key positions, and a numeric keypad in the order of a telephone keypad is obtained, and 26 letters of the mobile phone T9 input method and 5 strokes of the horizontal, vertical, left-falling, right-falling, and folding strokes of the Chinese character stroke input method are printed on the telephone keypad.

[0046] Map Scie to the Tab key, set Fn+Scie (Scientific) conversion program in the keyboard driver, map Calc to the left shift key, set Fn+Calc (Calculator) to call the Windows system built-in calculator application, and in the left half of the main key area, based on the shortcut keys of the win10 scientific calculator and optimized, the mapping relationship of the F1-F12 function key area and the first to fourth rows of keys in the main key area is as follows:

[0047] F1-F12 function key area:

[0048] Esc-C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete-CE;

[0049] The first to fourth row of keys in the main key area:

[0050] The first row of keys: 1-n!, 2-√, 3-X^3;

[0051] The second row of keys, QX^2, R-1 / X, T-tan, YX^y;

[0052] The third row of keys: A-cos, S-sin, D-Mod;

[0053] The fourth row of keys: X-Exp, VFE, B-log, N-ln.

[0054] When the Win10 calculator is running in scientific calculator mode, switch the program through Fn+Scie, and these keys realize function operations and function keys.

[0055] In this embodiment, the first numeric keypad (Fn+NumLock switching) and the second numeric keypad (Fn+Tel switching) are not double-overlapped and reused on the right side of the main key area. Because the numeric keypad of the mobile phone (telephone) obtained by Fn+Tel conversion includes 0-9 numeric keys, as well as #* / + and punctuation keys ";", ",",".","?","!","!", a total of 19 keys, which completely include the 0-9 numeric keys, "." decimal point key, and +-* / operators on the numeric keypad of the calculator obtained by Fn+NumLock switching, there is no problem even if the NumLock numeric keypad is not double-overlapped and reused. Although the virtual key codes are different, the mapped ASCII codes are the same and do not affect normal use.

[0056] Figure 5The third embodiment of the present invention is shown, for a double key area of ​​more than 15 o'clock, a horizontal Enter American laptop keyboard, which is a keyboard with an Fn key, by adjusting the keyboard driver, modifying the mapping relationship between the virtual key code and the scan code to achieve related functions. The new keyboard driver is stored in the EPROM (Erasable Programmable Read Only Memory) or FLASH of the keyboard MCU (Microcontroller Unit, also known as Single Chip Microcomputer) in the form of firmware. Map Tel on the "\|" key, set the Fn+Tel conversion program in the keyboard driver, and remap the 0-9 numeric keys arranged in 1*10 in the first row of the main key area in the right half of the QWERTY layout. The specific mapping relationship is: superimpose multiplexed numeric keys 1 23 on the three letter keys IOP; superimpose multiplexed numeric keys 0 4 5 6 on the four letter keys JKL and the symbol key ";"; superimpose multiplexed numeric keys 7 8 9 on the three symbol keys "," "." and " / "; realize the new superimposed multiplexed mapping relationship through Fn+Tel conversion. Based on the above numeric key mapping, map # to the letter key U, map * to the first row numeric key "8", map / to the first row numeric key "9", and map + to the first row numeric key "0". Since the four punctuation keys ";", ",",".","?"" are occupied by keys 6, 7, 8, and 9, and these four punctuation marks and "!" are very important, especially "." is both a period in English and a decimal point on a numeric keypad, which is indispensable for a calculator keyboard, and the five punctuation marks ";", ",",".","?","!"" are most commonly used in the mobile phone nine-square grid input method, so they are adjusted as follows: "," is mapped to letter key N, "." is mapped to letter key M, "?" is mapped to letter key H, ";" is mapped to letter key G, and "!" is mapped to letter key Y. In summary, by switching the program through Fn+Tel, the 0-9 numeric keys in the first row of the main key area arranged in 1*10, as well as #* / + and the punctuation keys ";", ",".",".","?","!""!", a total of 19 keys (main key area) are remapped to designated key positions, and a numeric keypad in the order of a telephone keypad is obtained, and 26 letters of the mobile phone T9 input method and 5 strokes of the horizontal, vertical, left, right, and fold strokes of the Chinese character stroke input method are printed on the telephone keypad.

[0057] Map Scie to the Tab key, set Fn+Scie (Scientific) conversion program in the keyboard driver, map Calc to the left shift key, set Fn+Calc (Calculator) to call the Windows system built-in calculator application, and in the left half of the main key area, based on the shortcut keys of the win10 scientific calculator and optimized, the mapping relationship of the F1-F12 function key area and the first to fourth rows of keys in the main key area is as follows:

[0058] F1-F12 function key area:

[0059] Esc-C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete-CE;

[0060] The first to fourth row of keys in the main key area:

[0061] The first row of keys: 1-n!, 2-√, 3-X^3;

[0062] The second row of keys, QX^2, R-1 / X, T-tan, YX^y;

[0063] The third row of keys: A-cos, S-sin, D-Mod;

[0064] The fourth row of keys: X-Exp, VFE, B-log, N-ln.

[0065] When the Win10 calculator is running in scientific calculator mode, switch the program through Fn+Scie, and these keys realize function operations and function keys.

[0066] The mobile phone numeric keypad (second numeric keypad) obtained by converting the main key area Fn+Tel includes 0-9 numeric keys, #* / + and punctuation keys ";", ",".","?","!", a total of 19 keys (main key area); the outer nine-square numeric keypad, the calculator numeric keypad (first numeric keypad) obtained by switching Fn+NumLock includes 0-9 numeric keys, "." decimal point key, and +-* / operators, a total of 15 keys (numeric keypad). The two numeric keypads are independent of each other, each corresponding to a different virtual key code, and do not interfere with each other. The calculator numeric keypad switched by NumLock on the original computer keyboard is the first numeric keypad (calculator numeric keypad), and the virtual key codes for the numeric keys and the four operators +-* / are: VK_NUMPADO-VK_NUMPAD9, VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_DECIMAL; in the new solution, the mobile phone (telephone) keyboard on the right side of the main key area switched by Tel is the second numeric keypad (telephone numeric keypad) independent of the NumLock numeric keypad, and the virtual key codes for the 10 numeric keys are: VK_0-VK_9. The second numeric keypad is in the main key area, suitable for both left and right hands to operate, and the first numeric keypad is only suitable for right-hand operation. When the right hand uses the mouse, the left hand operates the second numeric keypad, left-hand keyboard + right-hand mouse, which can significantly improve efficiency.

[0067] Figure 6The fourth embodiment of the present invention is shown, for a desktop three-key area American computer keyboard with a wired and wireless dual-mode connection or a wireless connection, the keyboard is a keyboard with an Fn key, and the mapping relationship between the virtual key code of the main key area and the scan code is modified by adjusting the keyboard driver to realize the relevant functions. The new keyboard driver is stored in the EPROM (Erasable Programmable Read Only Memory) or FLASH of the keyboard MCU (Microcontroller Unit, also known as Single Chip Microcomputer) in the form of firmware. Map Tel on the "\|" key, set the Fn+Tel conversion program in the keyboard driver, and remap the 0-9 numeric keys arranged in 1*10 in the first row of the main key area in the right half of the QWERTY layout. The specific mapping relationship is: superimpose multiplexed numeric keys 1 2 3 on the three letter keys IOP; superimpose multiplexed numeric keys 0 4 5 6 on the four letter keys JKL and the symbol key ";"; superimpose multiplexed numeric keys 7 8 9 on the three symbol keys "," "." and " / "; realize the new superimposed multiplexed mapping relationship through Fn+Tel conversion. Based on the above numeric key mapping, map # to the letter key U, map * to the first row numeric key "8", map / to the first row numeric key "9", and map + to the first row numeric key "0". Since the four punctuation keys ";", ",",".","?"" are occupied by keys 6, 7, 8, and 9, and these four punctuation marks and "!" are very important, especially "." is both an English period and a decimal point on the numeric keypad, which is indispensable for calculator keyboards, and the five punctuation marks ";", ",",".","?","!"" are most commonly used in the mobile phone nine-square input method, so they are adjusted as follows: "," is mapped to letter key N, "." is mapped to letter key M, "?" is mapped to letter key H, ";" is mapped to letter key G, and "!" is mapped to letter key Y. In summary, through the Fn+Tel switching program, the 0-9 numeric keys arranged in 1*10 in the first row of the main key area, as well as #* / + and the punctuation keys ";", ",".",".","?","!""!", a total of 19 keys (main key area) are remapped to designated key positions, and a numeric keypad in the order of a telephone keypad is obtained, and the 26 letters of the mobile phone T9 input method and the 5 strokes of the horizontal, vertical, left-falling, right-falling, and folding strokes of the Chinese character stroke input method are printed on the telephone keypad.

[0068] Map Scie to the Tab key, set Fn+Scie (Scientific) conversion program in the keyboard driver, map Calc to the left shift key, set Fn+Calc (Calculator) to call the Windows system built-in calculator application, and in the left half of the main key area, based on the shortcut keys of the win10 scientific calculator and optimized, the mapping relationship of the F1-F12 function key area and the first to fourth rows of keys in the main key area is as follows:

[0069] F1-F12 function key area:

[0070] Esc-C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete - CE;

[0071] The first to fourth row of keys in the main key area:

[0072] The first row of keys: 1-n!, 2-√, 3-X^3;

[0073] The second row of keys, QX^2, R-1 / X, T-tan, YX^y;

[0074] The third row of keys: A-cos, S-sin, D-Mod;

[0075] The fourth row of keys: X-Exp, VFE, B-log, N-ln.

[0076] When the Win10 calculator is running in scientific calculator mode, switch the program through Fn+Scie, and these keys realize function operations and function keys.

[0077] The mobile phone (telephone) numeric keypad obtained by converting Fn+Tel in the main key area includes 0-9 numeric keys, #* / + and punctuation keys ";", ",".","?","!", a total of 19 keys; the outer nine-square numeric keypad, the calculator numeric keypad obtained by switching Fn+NumLock includes 0-9 numeric keys, "." decimal point key, and +-* / operators, a total of 15 keys. The two numeric keypads do not need to be double-superimposed and multiplexed, each corresponds to a different virtual key code, which is independent of each other and does not interfere with each other. The calculator numeric keypad switched by NumLock on the original computer keyboard is the first numeric keypad (calculator numeric keypad), and the virtual key codes for the numeric keys and the four operators +-* / are: VK_NUMPADO-VK_NUMPAD9, VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_DECIMAL; in the new solution, the mobile phone (telephone) keyboard on the right side of the main key area switched by Tel is the second numeric keypad (telephone numeric keypad) independent of the NumLock numeric keypad, and the virtual key codes of the 10 numeric keys 0-9 arranged in 1*10 in the first row of the main key area are mapped to: VK_0-VK_9. The second numeric keypad is in the main key area, suitable for both left and right hands to operate, and the first numeric keypad is only suitable for right-hand operation. When the right hand uses the mouse, the left hand operates the second numeric keypad, left-hand keyboard + right-hand mouse, which can significantly improve efficiency.

[0078] The above four embodiments are all for keyboards with Fn keys, and are implemented by improving the keyboard driver. The working principle of a computer keyboard is: when a user presses a key, 1. the keyboard MCU will detect this action and generate a scan code (ScanCode), and each key corresponds to a unique scan code; 2. The scan code (Scan Code) is sent to the keyboard driver; 3. The keyboard driver maps this scan code to a keyboard virtual key code VirtualKey; 3. The scan code, keyboard virtual key code and other information are passed to the Windows operating system; 4. The Windows operating system encapsulates the obtained information in a keyboard message and inserts the keyboard message into the message queue; 5. Through the Windows message system, the keyboard message is sent to a certain window. The virtual key code VirtualKey is stored in the wParam and lParam parameters of the WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN, and WM_SYSKEYUP messages. wParam specifies the virtual-key code of the nonsystem key, and lParam specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag (wParam Specifies the virtual-key code of the nonsystemkey. LParam Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag, as shown in the following table.). When we press a character key on the keyboard, the system will generate WM_KEYDOWN and WM_KEYUP messages. WM_KEYDOWN corresponds to the Make Code of the scan code, and WM_KEYUP corresponds to the Break Code of the scan code. The additional parameters (wParam and lParam) of these two messages contain information such as the virtual key code VirtualKey and the scan code scan code. We often need to get the ASCII code of a certain character in the program. The TranslateMessage function can convert the combination of WM_KEYDOWN and WM_KEYUP messages into a WM_CHAR message, whose wParam additional parameter contains the ASCII code of the character.

[0079] Based on the working principle of the keyboard, for the keyboard with the Fn key, by adjusting the keyboard driver, the virtual key codes of the 0-9 numeric keys arranged in 1*10 in the main key area are remapped to the numeric key area arranged in 3*3 on the right side of the main key area, and a mapping relationship is established with the corresponding key scan codes, the scan code of the letter I key is corresponded to the virtual key code VK_1, the scan code of the letter O key is corresponded to the virtual key code VK_2, the scan code of the letter P key is corresponded to the virtual key code VK_3... and so on, the virtual key codes VK_0-VK_9 of the 0-9 numeric keys arranged in 1*10 in the main key area and the key scan codes of the 3*3 numeric key area on the right side of the main key area are re-established; switch the program through Fn+Tel, and the "#", "*", " / ", "+" and punctuation keys ";", ","."", "?"", "!" and the above 10 numeric keys, a total of 19 keys, are remapped to the specified key positions. The calculator numeric keypad switched by NumLock on the original computer keyboard is the first numeric keypad (calculator numeric keypad), and the virtual key codes of the 0-9 numeric keys and the four operators +-* / are: VK_NUMPAD0-VK_NUMPAD9, VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_DECIMAL; in the new solution, the mobile phone (telephone) keyboard on the right side of the main key area switched by Tel is the second numeric keypad (telephone numeric keypad) independent of the NumLock numeric keypad, and the virtual key codes of the 10 numeric keys 0-9 arranged in 1*10 in the first row of the main key area are mapped to: VK_0-VK_9.

[0080] The embodiments provided by the present invention have at least the following technical effects: the computer keyboard is not only integrated with the mobile phone (telephone) keyboard, but also integrated with the 3*3 numeric keypad of the calculator, and has various function operations and function keys of the scientific calculator, giving full play to the powerful functions of the Windows calculator that comes with the PC, and improving the efficiency of human-computer interaction and user experience. Although the external ordinary calculator and scientific calculator can be used separately, they are independent of the software environment of the computer and XR, and the calculation process and calculation results cannot be retained and copied and pasted into the application of the PC, while the calculator that comes with the PC can retain and copy and paste the calculation process and calculation results into other applications, which is impossible for an external independent calculator. The integration of the computer keyboard and the telephone keyboard is not only convenient for people to make calls with the computer keyboard, but also convenient for using the one-handed T9 input method of the mobile phone to input text. The mobile phone keyboard and the scientific calculator keyboard are both in the main key area, and can be operated by both the left and right hands. When the right-hand mouse + left-hand keyboard is used, the efficiency is significantly improved. By simply refreshing the firmware of regular laptop keyboards and desktop keyboards with Fn keys, the integration of mobile phone keyboards, computer keyboards, and calculator keyboards can be achieved without the need to make new keyboard molds. This makes the new technical solution very easy to promote and popularize.

[0081] The above is only a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Although the present invention has been disclosed as a preferred embodiment as above, it is not intended to limit the present invention. Any technician familiar with the profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A computer keyboard, characterized in that: include: A computer keyboard with an Fn key, a QWERTY layout of the main key area, a numeric keypad mapped to the right of the main key area in the order of telephone number keys, and a scientific calculator function operator mapped to the left of the main key area; Modify the mapping relationship between the virtual key code and the scan code in the primary key area, adjust the keyboard driver, and store the keyboard driver in the EPROM or FLASH of the keyboard MCU in the form of firmware; set the Fn+Tel (Telephone) conversion program in the keyboard driver, set the Fn+Scie (Scientific) conversion program in the keyboard driver, set Fn+Calc (Calculator) to call the calculator application that comes with the Windows system, and cooperate with the following key mapping relationship to realize the integration of the telephone (mobile phone) keyboard, calculator (ordinary calculator and scientific calculator) keyboard, and computer keyboard; In the right half of the main key area of ​​the computer keyboard, the 0-9 numeric keys arranged in 1*10 in the first row of the main key area are remapped. The specific mapping relationship is: superimpose multiplexed numeric keys 123 on the three letter keys IOP; superimpose multiplexed numeric keys 0456 on the four letter keys JKL and the symbol key ";"; superimpose multiplexed numeric keys 789 on the three symbol keys "<," ">.""? / "; realize the new superimposed multiplexed mapping relationship through Fn+Tel conversion; on the basis of the above numeric key mapping, map # to the letter key U, map * to the first row numeric key "8", and map / to the first row numeric key " 9", + is mapped to the first row of numeric keys "0", punctuation marks "," are mapped to letter keys N, "." are mapped to letter keys M, "?" are mapped to letter keys H, ";" are mapped to letter keys G, and "!" are mapped to letter keys Y; by switching the program with Fn+Tel, the 0-9 numeric keys in the first row of the main keypad arranged in 1*10, as well as #* / + and punctuation marks keys ";",""..""?"?""!"!"!", a total of 19 keys (main keypad) are remapped to the specified key positions; the 26 letters of the mobile phone T9 input method and the 5 strokes of the Chinese character stroke input method are printed on the telephone keyboard; In the left half of the main key area of ​​the computer keyboard, based on and optimized with the shortcut keys of the win10 scientific calculator, the mapping relationship between the F1-F12 function key area and the first to fourth rows of keys in the main key area is obtained as follows: F1-F12 function key area: Esc-C, F3-DEG, F4-RAD, F5-GRAD, F9-″+-″, Delete-CE; The first to fourth row of keys in the main key area: The first row of keys: 1-n!, 2-√, 3-X^3; The second row of keys, QX^2, R-1 / X, T-tan, YX^y; The third row of keys: A-cos, S-sin, D-Mod; The fourth row of keys: X-Exp, VFE, B-log, N-ln; When the Win10 calculator is running in scientific calculator mode, the Fn+Scie conversion program is used to enable these keys to perform function operations and function buttons.

2. The keyboard according to claim 1, characterized in that This keyboard is a 14:00 single-key American laptop keyboard, with Tel mapped on the "\|" key, Scie mapped on the Tab key, Calc mapped on the left shift key, NumLock mapped on the F12 key, the original numeric keypad (first numeric keypad) and the mobile phone numeric keypad (second numeric keypad) are double-superimposed and reused in the right half of the main key area, the 0-9 numeric keys of the original numeric keypad are arranged in the order of 123456789 of the mobile phone numeric keypad, and the arrangement of the first numeric keypad is consistent with that of the second numeric keypad.

3. The keyboard according to claim 1, characterized in that: The keyboard is an Apple-style American laptop keyboard, with Tel mapped on the "\|" key, Scie mapped on the Tab key, Calc mapped on the left shift key, and only a mobile phone numeric keypad (second numeric keypad) superimposed and reused on the right half of the main key area.

4. The keyboard according to claim 1, characterized in that: This keyboard is a double-key area American laptop keyboard larger than 15 o'clock. Tel is mapped on the "\|" key, Scie is mapped on the Tab key, and Calc is mapped on the left shift key. Only the mobile phone numeric keypad (second numeric keypad) is superimposed and reused on the right half of the main key area. The first numeric keypad (NumLock numeric keypad) is in the numeric key area outside the main key area. The first numeric keypad and the second numeric keypad each correspond to different virtual key codes, are independent of each other, and do not interfere with each other.

5. The keyboard according to claim 1, characterized in that: This keyboard is a three-key American keyboard, with Tel mapped on the "\|" key, Scie mapped on the Tab key, and Calc mapped on the left shift key. Only the mobile phone numeric keypad (second numeric keypad) is superimposed and reused on the right half of the main key area, and the first numeric keypad (NumLock numeric keypad) is in the numeric key area outside the main key area. The first numeric keypad and the second numeric keypad each correspond to different virtual key codes, are independent of each other, and do not interfere with each other.

6. The keyboard according to claim 1, characterized in that: The keyboard adopts dual-mode connection of wired mode and wireless mode.

7. The keyboard according to claim 1, characterized in that: The keyboard connects wirelessly.

8. An electronic device, characterized in that include: Main device; A processor, disposed in the main device; A computer keyboard as claimed in any one of claims 1 to 7, connected to the processor.