WO2020252770A1 - Control method, keyboard, and electronic equipment - Google Patents
Control method, keyboard, and electronic equipment Download PDFInfo
- Publication number
- WO2020252770A1 WO2020252770A1 PCT/CN2019/092265 CN2019092265W WO2020252770A1 WO 2020252770 A1 WO2020252770 A1 WO 2020252770A1 CN 2019092265 W CN2019092265 W CN 2019092265W WO 2020252770 A1 WO2020252770 A1 WO 2020252770A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- key
- list
- key list
- change information
- keyboard
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
Definitions
- This application relates to the field of control technology, in particular to a control method, a keyboard, and an electronic device.
- the external wireless keyboard receives the user's operation and sends the user's operation information to the electronic device, so that the electronic device performs corresponding operations according to the user's operation information, but in related technologies, the above-mentioned keyboard is sending the user's operation information to the electronic device At this time, the amount of data that needs to be transmitted is relatively large, which results in a relatively long time for the electronic device to respond to the user's operation and a poor user experience.
- the embodiments of the present application provide a control method, keyboard, and electronic device to reduce the amount of data transmitted between the keyboard and the electronic device.
- an embodiment of the present application provides a control method, including: detecting the pressed state of a key, and determining the current key list based on the pressed state of the key, and using the obtained key list as the first key list; After the preset time interval, detect the pressed state of the key, determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with all the keys The first key list is compared to obtain first change information; the first change information is sent to the electronic device, so that the electronic device updates its stored key list according to the first change information, where all The electronic device is wirelessly connected with the keyboard.
- an embodiment of the present application provides a control method, including: receiving first change information sent by a keyboard, wherein the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, And determine the current key list based on the pressed state of the key, and use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and based on the pressed key The state determines the current key list, and uses the obtained key list as the second key list; compares the second key list with the first key list to obtain the first change information; according to the first change information Update the key list stored by itself; perform corresponding operations according to the updated key list.
- an embodiment of the present application provides a keyboard, including a memory, a processor, and a control program stored in the memory and capable of running on the processor.
- the processor executes the control program, The following steps: detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as the first key list; after a preset time interval, detect the pressing of the key State, and determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with the first key list to obtain first change information Sending the first change information to an electronic device, so that the electronic device updates its stored key list according to the first change information, wherein the electronic device is wirelessly connected to the keyboard.
- an embodiment of the present application provides an electronic device, including a memory, a processor, and a control program stored on the memory and capable of running on the processor.
- the processor executes the control program, The following steps are implemented: receiving first change information sent by the keyboard, where the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, and determining the current state based on the pressed state of the key.
- the key list the obtained key list is used as the first key list; after a preset time interval, the pressed state of the key is detected, and the current key list is determined based on the pressed state of the key, and the obtained key list As a second key list; compare the second key list with the first key list to obtain the first change information; update the key list stored in itself according to the first change information; To perform the corresponding operation.
- an embodiment of the present application provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method described in the first aspect is implemented.
- an embodiment of the present application provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method described in the second aspect is implemented.
- FIG. 1 is a schematic diagram of the comparison between the amount of data transmitted by the keyboard to the electronic device in the related art and the amount of data transmitted by the keyboard to the electronic device in an embodiment of the present application;
- FIGS 2-1 to 2-3 are schematic diagrams of a key list provided by an embodiment of this application.
- FIG. 3 is a flowchart of a keyboard and electronic device execution control method provided by the first embodiment of the application
- FIG. 4 is a schematic diagram of a touch keyboard provided by an embodiment of the application.
- FIGS. 5-1 to 5-4 are schematic diagrams of establishing a coordinate system based on the horizontal plane where the touch keyboard is located according to an embodiment of the application;
- FIG. 6 is a flowchart of determining the pressed button according to the coordinates of the touch point according to an embodiment of the application
- FIG. 7 is a schematic diagram of the electronic device according to the information reported by the keyboard updating the key list stored in the electronic device according to the second embodiment of the application.
- FIG. 8 is a structural block diagram of a keyboard provided by an embodiment of the application.
- the pressed state of the button includes two possible situations: 1. The button is in a pressed state; 2. The button is in a released state.
- the external wireless keyboard receives the user's operation, and sends the user's operation information to the electronic device, so that the electronic device performs corresponding operations according to the user's operation information.
- the following examples illustrate related technologies.
- the keyboard detects that the key A and the key K are in the pressed state, and reports the information of the key A and the key K to the electronic device (ie, the second key in Figure 1(a)). Information transmitted for the second time).
- both the keyboard and the electronic device store a key list.
- the button list may include one or more buttons, or it may not include any buttons.
- the key list is called an empty list. Please refer to Figure 2-1, which shows a key list including one button; refer to Figure 2-2, which shows a key list including two keys; refer to Figure 2-3, which shows a Kind of empty list.
- the initial state of the key list stored in the keyboard and the electronic device is an empty list.
- the keyboard During a period of time when the button A is in the pressed state, the user presses the button K of the keyboard again, and the keyboard detects that the button A and the button K are in the pressed state, and the keyboard updates its own stored button list.
- the key list includes key A and key K.
- the keyboard compares the currently stored key list with the previously stored key list.
- the change information is key K.
- the keyboard reports the information of key K to the electronic device (ie the second in Figure 1(b)). Information transmitted for the second time).
- the keyboard reports all the information of the pressed key to the electronic device, and the amount of data transmitted between the keyboard and the electronic device is relatively large, which causes the electronic device to respond to user operations more time-consuming. Long and poor user experience.
- the keyboard reports to the electronic device information about the keys whose state has changed (that is, from the pressed state to the released state, or from the released state to the pressed state). The amount of data transmitted between electronic devices is reduced, and the transmission speed is faster, thereby improving the response speed of the electronic devices.
- An embodiment of the present application provides a control system, which includes a keyboard and electronic equipment.
- the keyboard can be a touch keyboard or a keyboard with physical keys.
- the electronic device can be a mobile phone, a tablet computer, a notebook computer, etc.
- the keyboard is wirelessly connected to the electronic device, and jointly executes the control method provided in the embodiment of the present application.
- FIG. 3 shows a flowchart of a method for controlling the keyboard and an electronic device to execute jointly provided by the first embodiment of the application.
- the controlling method includes the following steps:
- Step S301 The keyboard detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the first key list.
- step S301 If it is detected in step S301 that two buttons (for example, button A and button B) are in a pressed state, it is determined that the current button list includes two buttons (button A and button B).
- step S301 If it is detected in step S301 that no keys are in a pressed state, that is, all keys are in a released state, it is determined that the current key list is an empty list.
- detecting the pressed state of the key in step S301 may specifically include: obtaining the position information of the touch point, the touch point is located in the touch area of the touch keyboard; and determining the pressed state according to the position information of the touch point Button.
- FIG. 4 shows a touch keyboard 10 provided by an embodiment of the application, and the touch keyboard 10 includes a touch area 100.
- the user touches the touch area of the touch keyboard with a finger or other object, and the point in contact with the touch keyboard is the touch point.
- the position information of the touch point includes the coordinates of the touch point
- determining the button in the pressed state according to the position information of the touch point includes: determining whether the coordinates of the touch point are within the coordinate range corresponding to the first button ; If the coordinates of the touch point are within the coordinate range corresponding to the first key, it is determined that the first key is in the pressed state, and the first key is any key in the touch keyboard.
- FIGS. 5-1 to 5-4 show optional ways to establish a coordinate system. It should be noted that FIGS. 5-1 to 5-4 are only examples, and the method of establishing a coordinate system provided by the embodiment of the present application is not limited to these specific situations.
- Each key of the keyboard corresponds to a certain coordinate range.
- the coordinates of the touch point fall within the coordinate range corresponding to a certain key, it is considered that the user has pressed the key.
- the coordinate range corresponding to button A is: the range of abscissa is (317, 507), and the range of ordinate is (1057, 1319); button S corresponds to The coordinate range is: the range of the abscissa is (533, 965), and the range of the ordinate is (1057, 1319).
- the abscissa of the touch point is not in the range of (317, 507), it means that the touch point is not in the coordinate range corresponding to button A, so you can know the corresponding touch point
- the button is not button A; since the abscissa of the touch point is not within the range of (533, 965), it means that the touch point is not in the coordinate range corresponding to button S, so it can be known that the button corresponding to this touch point is not button S either .
- Step S302 After the preset time interval, the keyboard detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the second key list.
- the preset time interval is a relatively short time, which can be set according to actual requirements.
- the preset time interval is set to 0.1 second, 0.2 second, or 0.5 second.
- Step S303 The keyboard compares the second key list with the first key list to obtain first change information.
- the first change information includes keys that are different from the second key list and the first key list, for example, keys included in the first key list and not included in the second key list, or included in the second key list and Keys not included in the first key list.
- keys included in the first key list and not included in the second key list for example, keys included in the first key list and not included in the second key list, or included in the second key list and Keys not included in the first key list.
- the second key list includes two keys: the key “Ctrl” and the key "V”. Comparing the second key list with the first key list, we can see that The different key in the two key lists is the key "V”.
- the first button list includes the button “Ctrl" and the button "C”
- the second button list includes only one button: the button “Ctrl”. Compare the second button list with the first button list. The different key in these two key lists is key "C”.
- the first change information includes all the buttons in the first button list. For example, suppose that the first key list includes the key “Ctrl” and the key "C”, and the second key list does not include any keys. Comparing the second key list with the first key list, you can see that the two key lists are different The keys are all the keys in the first key list, namely key "Ctrl" and key "C”.
- Step S304 The keyboard sends the first change information to the electronic device.
- the electronic device is wirelessly connected to the keyboard.
- Step S305 The electronic device receives the first change information sent by the keyboard.
- Step S306 The electronic device updates its stored button list according to the first change information.
- Step S307 The electronic device performs a corresponding operation according to the updated key list.
- a key list is also stored and maintained in the electronic device.
- the first change information includes the different keys in the second key list and the first key list.
- the different keys in the second key list and the first key list are called the second keys.
- a change message includes the second button.
- step S306 may specifically include: the electronic device determines whether the second key is included in the key list stored in the electronic device; if the second key is not included in the key list stored in the electronic device, then the stored key list Add a second key in the key list; if the second key is included in the key list stored in the self, delete the second key in the key list stored in the self.
- step S303 if it is determined in step S303 that the different key in the second key list and the first key list is the key "V" (the first change information is the key "V”), then the first change information is sent to the electronic device, and the electronic The device itself stores and maintains a key list. Assuming that the key “Ctrl” is stored in the key list, after receiving the information of the key “V”, the electronic device judges whether the key “V” is included in the stored key list. The judgment result indicates If the key "V” is not included in the key list stored in the electronic device, the key "V” is added to the key list stored in the electronic device.
- the electronic device itself stores and maintains a key list.
- the key list stores the key "Ctrl” and the key "V”. It is assumed that the keys in the second key list and the first key list are determined in step S303. Press the “Ctrl” and “V” keys (the “Ctrl” and “V” keys are the first change information), the first change information is sent to the electronic device, and the electronic device receives the "Ctrl” and "V” keys After the information, it is judged whether the stored key list includes the key "Ctrl” and the key "V”. The judgment result indicates that the key list stored by the electronic device includes the key "Ctrl” and the key "V", and the electronic device deletes the stored keys The key "Ctrl” and key “V” in the list.
- step S307 a corresponding operation is performed according to the updated key list. For example, assuming that the keys stored in the updated key list of the electronic device are the key "Ctrl" and the key "V", the electronic device performs the "paste" operation.
- the keyboard only needs to send information about different keys included in the first key list and the second key list to the electronic device.
- the key is included in the first key list and not included in the second key list (The deleted key) is still included in the second key list and not included in the first key list (added key), and this information does not need to be sent to the electronic device.
- the electronic device receives the information of a certain key, for example, receives the information of the second key, it determines whether the second key is included in the key list stored by the electronic device.
- the electronic device deletes the second button in the button list stored by itself; if the button list stored by the electronic device does not include the second button Press the button, it means that the second button was in the released state before, then the operation this time is to press the second button, and the electronic device adds the second button to its stored button list.
- the keyboard after sending the first change information to the electronic device, the keyboard also performs the following steps: detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, and the obtained key The list is used as the third key list; the third key list is compared with the second key list to obtain the second change information; the second change information is sent to the electronic device, so that the electronic device can store the key list of itself according to the second change information Update.
- the keyboard detects that there is no key currently in a pressed state, it is determined that the current key list does not include any keys, that is, the third key list is an empty list.
- the second key list includes two keys, namely the key "Ctrl” and the key "V”.
- the third key list is compared with the second key list, and the obtained second change information includes all keys in the second key list.
- the keyboard sends the key "Ctrl" and the key "V" to the electronic device, so that the electronic device updates its stored key list.
- the keyboard sends the second change information to the electronic device, it can continue to detect the state of the key, and determine the current key list based on the pressed state of the key, and compare the current key list with the last key list to obtain the key list
- the change information of the button list is sent to the electronic device, so that the electronic device updates its stored button list according to the change information of the button list, and performs corresponding operations according to the updated button list.
- the coordinate & key lookup table can be stored in the keyboard.
- the query table stores the coordinate range corresponding to each button. Establish the coordinate system as shown in Figure 5-1.
- the area corresponding to each button is a rectangle.
- the coordinates of the upper left corner of the rectangle are referred to as the upper left coordinates of the button, and the coordinates of the lower right corner of the matrix are referred to as the The bottom right coordinates of the button, please refer to Figure 6, the top left coordinates of the button A are (317, 1057), the bottom right coordinates are (507, 1319); the top left coordinates of the button S are (533, 1057), the bottom right coordinates are ( 965, 1319).
- the coordinate range corresponding to button A is: the range of abscissa is (317, 507), and the range of ordinate is (1057, 1319);
- the coordinate range corresponding to button S is: the range of abscissa is (533, 965) ), and the range of the ordinate is (1057, 1319).
- touch coordinates (x, y) of a certain touch point are within the coordinate range corresponding to a certain key, it means that the touch point corresponds to the key and the key is in a pressed state.
- the button corresponding to this touch point is button A, which is in a pressed state.
- the abscissa of the touch point is not in the range of (317, 507), it means that the touch point is not in the coordinate range corresponding to button A, so you can know the corresponding touch point
- the button is not button A; since the abscissa of the touch point is not within the range of (533, 965), it means that the touch point is not in the coordinate range corresponding to button S, so it can be known that the button corresponding to this touch point is not button S either .
- the button list currently stored by the electronic device is an empty list
- the current button list stored by the electronic device does not include button A
- the electronic device updates the button list (that is, adding button A to its own stored button list), and the updated button list stored by the electronic device includes button A.
- the button list includes two buttons: button A and button K.
- the keyboard compares the current button list with the last button list. Get the change information as the button K.
- the keyboard transmits the information of the button K to the electronic device, and the electronic device updates its stored button list (the electronic device determines whether the currently stored button list includes the button K. Since the judgment result indicates that the button K is not included, the button K is added
- the key list stored in the electronic device itself after the update includes key A and key K. After a period of time, the user releases button A and button K at the same time.
- the keyboard detects the pressed state of the key. The detection result shows that no key is in the pressed state.
- the keyboard updates its own stored key list. After the update, the key list is empty.
- the keyboard compares the current key list with the last key list to get the change
- the information is button A and button K.
- the keyboard transmits the information of button A and button K to the electronic device, and the electronic device updates its stored button list (the electronic device determines whether the currently stored button list includes button A and button K, because the judgment result indicates that it includes button A and Press the button K, so the button A and the button K are deleted from the button list stored in itself), the button list stored in the electronic device itself is an empty list after the update.
- the coordinate & key lookup table can be pre-stored in the touch keyboard.
- the user touches a certain position on the touch area of the touch keyboard, and the touch IC (Integrated Circuit, integrated circuit) determines the touch coordinates.
- the touch IC Integrated Circuit, integrated circuit
- the conversion from position to key is performed, that is, the key corresponding to the touch position is determined.
- the current key list is obtained, the current key list is compared with the last key list, and if there is a change, the changed key is reported to the electronic device connected to the touch keyboard.
- the amount of data reported by the keyboard to the electronic device is smaller, and it has the advantages of small communication volume and real-time reporting. It can be applied to wireless channels, such as Bluetooth keyboard, 2.4
- the G keyboard can reduce the time consumption of the electronic device in responding to the user's touch operation, improve the response speed of the electronic device, and can improve the user experience.
- the embodiment of the present application also provides a touch keyboard.
- the touch keyboard includes a memory, a processor, and a control program that is stored on the memory and can run on the processor.
- the processor executes the control program, the following steps are implemented: detecting the pressed state of the key, and based on the pressed state of the key Determine the current key list, and use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as The second button list; compare the second button list with the first button list to obtain the first change information; send the first change information to the electronic device, so that the electronic device updates its stored button list according to the first change information , Among them, the electronic device is wirelessly connected to the keyboard.
- the processor executes the control program, the following steps are further implemented: after sending the first change information to the electronic device, detecting the pressed state of the key, and determining based on the pressed state of the key For the current key list, the obtained key list is used as the third key list; the third key list is compared with the second key list to obtain the second change information; the second change information is sent to the electronic device so that the electronic device according to the first Second, the change information updates the key list stored in itself.
- the processor executes the control program, the following steps are further implemented: obtaining the position information of the touch point, the touch point is located in the touch area of the touch keyboard; Press the button in the state.
- the processor executes the control program, the following steps are further implemented: judging whether the coordinates of the touch point are within the coordinate range corresponding to the first button; if the coordinates of the touch point are located corresponding to the first button Within the coordinate range of, it is determined that the first button is in the pressed state, and the first button is any button in the touch keyboard.
- the embodiment of the present application also provides an electronic device.
- the electronic device includes a memory, a processor, and a control program that is stored on the memory and can run on the processor.
- the processor executes the control program, the following steps are implemented: receiving the first change information sent by the keyboard, where the first change information
- the keyboard is obtained by the following method: detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, using the obtained key list as the first key list; after a preset time interval, detecting the pressing of the key Press down state, and determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with the first key list to obtain the first change information; according to the first change
- the information updates the key list stored by itself; performs corresponding operations according to the updated key list.
- the processor executes the control program, the following steps are further implemented: determining whether the second button is included in the button list stored in the electronic device itself; if the button list stored in the electronic device does not include The second key is to add the second key to the key list stored in the electronic device itself; if the second key is included in the key list stored in the electronic device itself, the second key in the key list stored in the electronic device itself is deleted.
- the following step is further implemented: receiving the second change information sent by the keyboard, where the second change information is obtained by the keyboard in the following manner: After the device sends the first change information, it detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the third key list; compare the third key list with the second key list Compare to obtain the second change information; update the key list stored in itself according to the second change information; perform corresponding operations according to the updated key list.
- the embodiment of the present application also provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method provided in the embodiment of the present application is implemented.
- FIG. 8 is a structural block diagram of a keyboard 10 according to an embodiment of the application.
- the keyboard 10 includes, but is not limited to, a memory 101, a processor 102, and a touch module 104, where the touch module 104 includes a touch area.
- the memory 101 and the processor 102 may be coupled through a communication bus 103.
- FIG. 8 is only an example of the keyboard 10, and does not constitute a limitation on the keyboard 10.
- the keyboard 10 may include more or less components than those shown in FIG. , Or a combination of some components, or different components, for example, the keyboard 10 may also include a network access device.
- the memory 101 can be used to store control programs and/or modules, and the processor 102 executes or executes the control programs and/or modules stored in the memory 101 and calls the data stored in the memory 101 to achieve all
- the various functions of the keyboard 10 are described.
- the memory 101 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, application programs required by multiple functions (such as sound playback function, image playback function, etc.), etc.; the data storage area may Store data (such as audio data, phone book, etc.) created based on the use of mobile phones.
- the memory 101 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
- a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
- the processor 102 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
- the processor is the control center of the keyboard 10, and various interfaces and lines are used to connect the various parts of the keyboard 10 .
- the interactive method provided in this application can be implemented in hardware and firmware, or can be used as software or computer code that can be stored in a readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or can be used as original
- a readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk
- the programmable or dedicated hardware is presented in software stored on a recording medium.
- a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., when the computer, processor, or hardware implements the processing methods described herein, access When executing software or computer code, the memory component can store or receive the software or computer code.
- the execution of the code converts the general-purpose computer into a dedicated computer for executing the processing shown here.
- the readable storage medium may be solid state memory, memory card, optical disc, etc.
- the readable storage medium stores program instructions for the computer to call to execute the aforementioned interaction method.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The embodiment of the present application provides a control method, a keyboard, and an electronic equipment. The described control method comprises: detecting the pressed state of a key, determining the current key list based on the pressed state of the key, and using the obtained key list as a first key list; detecting the pressed state of the key after a preset time interval, determining the current key list based on the pressed state of the key, and using the obtained key list as a second key list; comparing the second key list with the first key list to obtain first change information; and sending the first change information to the electronic equipment such that the electronic equipment updates the stored key list therein according to the first change information, wherein the electronic equipment is wirelessly connected to the keyboard. According to the solution, the content that the keyboard reports to the electronic equipment is the change information of the key list, the data amount transmitted between the keyboard and the electronic equipment is small, thereby shortenning the time that the electronic equipment responds to the touch operations of a user.
Description
本申请涉及控制技术领域,尤其涉及一种控制方法、键盘、以及电子设备。This application relates to the field of control technology, in particular to a control method, a keyboard, and an electronic device.
外接式无线键盘接收用户的操作,并将用户操作的信息发送给电子设备,以使电子设备根据用户操作的信息执行相应的操作,但相关技术中,上述键盘在向电子设备发送用户操作的信息时,需要传输的数据量较大,从而导致电子设备响应用户的操作的耗时较长,用户体验较差。The external wireless keyboard receives the user's operation and sends the user's operation information to the electronic device, so that the electronic device performs corresponding operations according to the user's operation information, but in related technologies, the above-mentioned keyboard is sending the user's operation information to the electronic device At this time, the amount of data that needs to be transmitted is relatively large, which results in a relatively long time for the electronic device to respond to the user's operation and a poor user experience.
【申请内容】【Content of Application】
本申请实施例提供了一种控制方法、键盘、以及电子设备,以减小键盘与电子设备之间传输的数据量。The embodiments of the present application provide a control method, keyboard, and electronic device to reduce the amount of data transmitted between the keyboard and the electronic device.
第一方面,本申请实施例提供一种控制方法,包括:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到第一变化信息;向电子设备发送所述第一变化信息,以使所述电子设备根据所述第一变化信息对自身存储的按键列表进行更新,其中,所述电子设备与所述键盘无线连接。In a first aspect, an embodiment of the present application provides a control method, including: detecting the pressed state of a key, and determining the current key list based on the pressed state of the key, and using the obtained key list as the first key list; After the preset time interval, detect the pressed state of the key, determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with all the keys The first key list is compared to obtain first change information; the first change information is sent to the electronic device, so that the electronic device updates its stored key list according to the first change information, where all The electronic device is wirelessly connected with the keyboard.
第二方面,本申请实施例提供一种控制方法,包括:接收键盘发送的第一变化信息,其中,所述第一变化信息是所述键盘通过以下方式得到的:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到所述第一变化 信息;根据所述第一变化信息对自身存储的按键列表进行更新;根据更新后的按键列表执行相应的操作。In a second aspect, an embodiment of the present application provides a control method, including: receiving first change information sent by a keyboard, wherein the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, And determine the current key list based on the pressed state of the key, and use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and based on the pressed key The state determines the current key list, and uses the obtained key list as the second key list; compares the second key list with the first key list to obtain the first change information; according to the first change information Update the key list stored by itself; perform corresponding operations according to the updated key list.
第三方面,本申请实施例提供一种键盘,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的控制程序,所述处理器执行所述控制程序时,实现以下步骤:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到第一变化信息;向电子设备发送所述第一变化信息,以使所述电子设备根据所述第一变化信息对自身存储的按键列表进行更新,其中,所述电子设备与所述键盘无线连接。In a third aspect, an embodiment of the present application provides a keyboard, including a memory, a processor, and a control program stored in the memory and capable of running on the processor. When the processor executes the control program, The following steps: detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as the first key list; after a preset time interval, detect the pressing of the key State, and determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with the first key list to obtain first change information Sending the first change information to an electronic device, so that the electronic device updates its stored key list according to the first change information, wherein the electronic device is wirelessly connected to the keyboard.
第四方面,本申请实施例提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的控制程序,所述处理器执行所述控制程序时,实现以下步骤:接收键盘发送的第一变化信息,其中,所述第一变化信息是所述键盘通过以下方式得到的:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到所述第一变化信息;根据所述第一变化信息对自身存储的按键列表进行更新;根据更新后的按键列表执行相应的操作。In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a control program stored on the memory and capable of running on the processor. When the processor executes the control program, The following steps are implemented: receiving first change information sent by the keyboard, where the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, and determining the current state based on the pressed state of the key The key list, the obtained key list is used as the first key list; after a preset time interval, the pressed state of the key is detected, and the current key list is determined based on the pressed state of the key, and the obtained key list As a second key list; compare the second key list with the first key list to obtain the first change information; update the key list stored in itself according to the first change information; To perform the corresponding operation.
第五方面,本申请实施例提供一种非临时性计算机可读存储介质,其上存储有控制程序,所述控制程序被处理器执行时实现上述第一方面所述的控制方法。In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method described in the first aspect is implemented.
第六方面,本申请实施例提供一种非临时性计算机可读存储介质,其上存储有控制程序,所述控制程序被处理器执行时实现上述第二方面所述的控制方法。In a sixth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method described in the second aspect is implemented.
以上技术方案中,键盘向电子设备上报的是按键列表的变化信息,键盘与电子设备之间传输的数据量较小,避免了键盘向电子设备上报所有处于按下的状态的按键的信息导致数据传输量较大的问题,从而电子设备响应用户的触摸操作的耗时较短,提升了用户体验。In the above technical solution, what the keyboard reports to the electronic device is the change information of the key list, and the amount of data transmitted between the keyboard and the electronic device is small, which prevents the keyboard from reporting the information of all the keys in the pressed state to the electronic device to cause data Due to the problem of large transmission volume, the time it takes for the electronic device to respond to the user's touch operation is relatively short, and the user experience is improved.
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人 员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work.
图1为相关技术中键盘向电子设备传输的数据量和本申请一实施例中键盘向电子设备传输的数据量的对比示意图;FIG. 1 is a schematic diagram of the comparison between the amount of data transmitted by the keyboard to the electronic device in the related art and the amount of data transmitted by the keyboard to the electronic device in an embodiment of the present application;
图2-1至图2-3为本申请一实施例提供的按键列表的示意图;Figures 2-1 to 2-3 are schematic diagrams of a key list provided by an embodiment of this application;
图3为本申请第一实施例提供的键盘和电子设备执行控制方法的流程图;3 is a flowchart of a keyboard and electronic device execution control method provided by the first embodiment of the application;
图4为本申请一实施例提供的触控键盘的示意图;FIG. 4 is a schematic diagram of a touch keyboard provided by an embodiment of the application;
图5-1至图5-4为本申请一实施例提供的基于触控键盘所在的水平面建立坐标系的示意图;FIGS. 5-1 to 5-4 are schematic diagrams of establishing a coordinate system based on the horizontal plane where the touch keyboard is located according to an embodiment of the application;
图6为本申请一实施例提供的根据触摸点的坐标确定按下的按键的流程图;6 is a flowchart of determining the pressed button according to the coordinates of the touch point according to an embodiment of the application;
图7为本申请第二实施例提供的电子设备根据键盘上报的信息更新自身存储的按键列表的示意图;以及FIG. 7 is a schematic diagram of the electronic device according to the information reported by the keyboard updating the key list stored in the electronic device according to the second embodiment of the application; and
图8为本申请一实施例提供的键盘的结构框图。FIG. 8 is a structural block diagram of a keyboard provided by an embodiment of the application.
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solutions of the present application, the following describes the embodiments of the present application in detail with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
需要说明的是,按键的按下状态包括两种可能的情况:一、按键处于按下的状态;二、按键处于释放的状态。It should be noted that the pressed state of the button includes two possible situations: 1. The button is in a pressed state; 2. The button is in a released state.
外接式无线键盘接收用户的操作,并将用户操作的信息发送给电子设备,以使电子设备根据用户操作的信息执行相应的操作。下面举例对相关技术进行说明。用户按下键盘的按键A,键盘检测到按键A处于按下的状态,向电子设备上报按键A的信息(即图1(a)中第一次传输的信息),在按键A处于按下的状态的一段时间内,用户又按下键盘的按键K,键盘检测到按键A和按键K处于按下的状态,向电子设备上报按键A和按键K的信息(即图1(a)中第二次传输的信息)。The external wireless keyboard receives the user's operation, and sends the user's operation information to the electronic device, so that the electronic device performs corresponding operations according to the user's operation information. The following examples illustrate related technologies. The user presses the key A of the keyboard, and the keyboard detects that the key A is in a pressed state, and reports the information of the key A (that is, the information transmitted for the first time in Figure 1(a)) to the electronic device. Within a period of time, the user presses the key K of the keyboard again. The keyboard detects that the key A and the key K are in the pressed state, and reports the information of the key A and the key K to the electronic device (ie, the second key in Figure 1(a)). Information transmitted for the second time).
在本申请实施例中,键盘和电子设备中均存储了一个按键列表。该按键列表可以包括一个及一个以上的按键,也可以不包括任何按键。在按键列表不包括任何按键的情况下,将该按键列表称为空列表。请参见图2-1,所示为一种包括一个按键的按键列表;请参见图2-2,所示为一种包括两个按键的按键列表;请参见图2-3,所示为一种空列表。In the embodiment of the present application, both the keyboard and the electronic device store a key list. The button list may include one or more buttons, or it may not include any buttons. In the case where the key list does not include any keys, the key list is called an empty list. Please refer to Figure 2-1, which shows a key list including one button; refer to Figure 2-2, which shows a key list including two keys; refer to Figure 2-3, which shows a Kind of empty list.
假设键盘和电子设备中存储的按键列表的初始状态均为空列表。用户按下键盘的按键A,键盘检测到按键A处于按下的状态,则键盘更新自身存储的按键列表,更新后键盘存储的按键列表包括按键A,键盘将当前存储的按键列表与之前存储的按键列表进行比较,变化信息为按键A,键盘向电子设备上报按键A的信息(即图1(b)中第一次传输的信息)。在按键A处于按下的状态的一段时间内,用户又按下键盘的按键K,键盘检测到按键A和按键K处于按下的状态,则键盘更新自身存储的按键列表,更新后键盘存储的按键列表包括按键A和按键K,键盘将当前存储的按键列表与之前存储的按键列表进行比较,变化信息为按键K,键盘向电子设备上报按键K的信息(即图1(b)中第二次传输的信息)。It is assumed that the initial state of the key list stored in the keyboard and the electronic device is an empty list. The user presses the key A of the keyboard, and the keyboard detects that the key A is in the pressed state, the keyboard updates its own stored key list. After the update, the key list stored in the keyboard includes key A. The keyboard compares the currently stored key list with the previously stored key list. The key list is compared, the change information is key A, and the keyboard reports the information of key A to the electronic device (that is, the information transmitted for the first time in Figure 1(b)). During a period of time when the button A is in the pressed state, the user presses the button K of the keyboard again, and the keyboard detects that the button A and the button K are in the pressed state, and the keyboard updates its own stored button list. The key list includes key A and key K. The keyboard compares the currently stored key list with the previously stored key list. The change information is key K. The keyboard reports the information of key K to the electronic device (ie the second in Figure 1(b)). Information transmitted for the second time).
通过上述分析,可知,相关技术中键盘向电子设备上报处于按下的状态的按键的所有信息,在键盘和电子设备之间传输的数据量较大,从而导致电子设备响应用户操作的耗时较长,用户体验较差。而本申请实施例中,键盘向电子设备上报状态发生改变(即,从按下的状态变为释放的状态,或者,从释放的状态变为按下的状态)的按键的信息,在键盘和电子设备之间传输的数据量减小了,传输速度更快,从而提高了电子设备的响应速度。Through the above analysis, it can be known that in the related art, the keyboard reports all the information of the pressed key to the electronic device, and the amount of data transmitted between the keyboard and the electronic device is relatively large, which causes the electronic device to respond to user operations more time-consuming. Long and poor user experience. In the embodiment of the present application, the keyboard reports to the electronic device information about the keys whose state has changed (that is, from the pressed state to the released state, or from the released state to the pressed state). The amount of data transmitted between electronic devices is reduced, and the transmission speed is faster, thereby improving the response speed of the electronic devices.
本申请一实施例提供了一种控制系统,该控制系统包括键盘、电子设备。An embodiment of the present application provides a control system, which includes a keyboard and electronic equipment.
键盘可以是触控键盘,也可以是带有实体按键的键盘。电子设备可以是手机、平板电脑、笔记本电脑等。The keyboard can be a touch keyboard or a keyboard with physical keys. The electronic device can be a mobile phone, a tablet computer, a notebook computer, etc.
键盘与电子设备无线连接,共同执行本申请实施例提供的控制方法。The keyboard is wirelessly connected to the electronic device, and jointly executes the control method provided in the embodiment of the present application.
请参见图3,所示为本申请第一实施例提供的键盘与电子设备共同执行控制方法的流程图,该控制方法包括以下步骤:Please refer to FIG. 3, which shows a flowchart of a method for controlling the keyboard and an electronic device to execute jointly provided by the first embodiment of the application. The controlling method includes the following steps:
步骤S301:键盘检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表。Step S301: The keyboard detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the first key list.
如果步骤S301中检测到有2个按键(例如按键A和按键B)处于按下的状态,则确定当前的按键列表包括2个按键(按键A和按键B)。If it is detected in step S301 that two buttons (for example, button A and button B) are in a pressed state, it is determined that the current button list includes two buttons (button A and button B).
如果步骤S301中检测到没有按键处于按下的状态,即,所有按键处于释放的状态,则确定当前的按键列表为空列表。If it is detected in step S301 that no keys are in a pressed state, that is, all keys are in a released state, it is determined that the current key list is an empty list.
对于触控键盘来说,步骤S301中检测按键的按下状态,具体可以包括:获取触摸点的位置信息,触摸点位于触控键盘的触控区;根据触摸点的位置信息确定处于按下状态的按键。For the touch keyboard, detecting the pressed state of the key in step S301 may specifically include: obtaining the position information of the touch point, the touch point is located in the touch area of the touch keyboard; and determining the pressed state according to the position information of the touch point Button.
请参阅图4,所示为本申请一实施例提供的一种触控键盘10,该触控键盘10包括触控区100。Please refer to FIG. 4, which shows a touch keyboard 10 provided by an embodiment of the application, and the touch keyboard 10 includes a touch area 100.
用户用手指或其他物体在触控键盘的触控区进行触摸,与触控键盘接触的点即为触摸点。The user touches the touch area of the touch keyboard with a finger or other object, and the point in contact with the touch keyboard is the touch point.
作为一种可选的方式,触摸点的位置信息包括触摸点的坐标,根据触摸点的位置信息确定处于按下状态的按键,包括:判断触摸点的坐标是否位于第一按键对应的坐标范围内;如果触摸点的坐标位于第一按键对应的坐标范围内,则确定第一按键处于按下状态,第一按键为触摸键盘中的任意一个按键。As an optional method, the position information of the touch point includes the coordinates of the touch point, and determining the button in the pressed state according to the position information of the touch point includes: determining whether the coordinates of the touch point are within the coordinate range corresponding to the first button ; If the coordinates of the touch point are within the coordinate range corresponding to the first key, it is determined that the first key is in the pressed state, and the first key is any key in the touch keyboard.
为了确定触摸点的坐标,在键盘所在的平面建立二维直角坐标系,图5-1至图5-4示出了可选的建立坐标系的方式。需要注意的是,图5-1至图5-4仅给出示例,本申请实施例所提供的建立坐标系的方式并不限于这几种特定的情况。In order to determine the coordinates of the touch point, a two-dimensional rectangular coordinate system is established on the plane where the keyboard is located. Figures 5-1 to 5-4 show optional ways to establish a coordinate system. It should be noted that FIGS. 5-1 to 5-4 are only examples, and the method of establishing a coordinate system provided by the embodiment of the present application is not limited to these specific situations.
键盘的每个按键都对应一定的坐标范围,当触摸点的坐标落在某一个按键对应的坐标范围之内时,则认为用户按下了该按键。Each key of the keyboard corresponds to a certain coordinate range. When the coordinates of the touch point fall within the coordinate range corresponding to a certain key, it is considered that the user has pressed the key.
例如,假设在图5-1所示的坐标系中,按键A对应的坐标范围为:横坐标的范围为(317,507),并且纵坐标的范围为(1057,1319);按键S对应的坐标范围为:横坐标的范围为(533,965),并且纵坐标的范围为(1057,1319)。For example, suppose that in the coordinate system shown in Figure 5-1, the coordinate range corresponding to button A is: the range of abscissa is (317, 507), and the range of ordinate is (1057, 1319); button S corresponds to The coordinate range is: the range of the abscissa is (533, 965), and the range of the ordinate is (1057, 1319).
如果触摸点的坐标为(500,1300),由于该触摸点的横坐标在(317,507)这个范围内并且纵坐标在(1057,1319)这个范围内,说明该触摸点位于按键A对应的坐标范围内,因此可以知道A处于按下的状态。If the coordinates of the touch point are (500, 1300), since the abscissa of the touch point is in the range (317, 507) and the ordinate is in the range (1057, 1319), it means that the touch point is located at the corresponding button A Within the range of coordinates, it can be known that A is in a pressed state.
如果触摸点的坐标为(600,1300),由于该触摸点的横坐标在(533,965)这个范围内并且纵坐标在(1057,1319)这个范围内,说明该触摸点位于按键S对应的坐标范围内,因此可以知道按键S处于按下的状态。If the coordinates of the touch point are (600, 1300), since the abscissa of the touch point is in the range (533, 965) and the ordinate is in the range (1057, 1319), it means that the touch point is located at the corresponding button S Within the coordinate range, it can be known that the button S is in a pressed state.
如果触摸点的坐标为(1000,1300),由于该触摸点的横坐标不在(317,507)这个范围内,说明该触摸点不在按键A对应的坐标范围内,因此可以知道这个触摸点对应的按键不是按键A;由于该触摸点的横坐标也不在(533,965)这个范围内,说明该触摸点也不在按键S对应的坐标范围内,因此可以知道这个触摸点对应的按键也不是按键S。If the coordinates of the touch point are (1000, 1300), since the abscissa of the touch point is not in the range of (317, 507), it means that the touch point is not in the coordinate range corresponding to button A, so you can know the corresponding touch point The button is not button A; since the abscissa of the touch point is not within the range of (533, 965), it means that the touch point is not in the coordinate range corresponding to button S, so it can be known that the button corresponding to this touch point is not button S either .
步骤S302:在预设时间间隔之后,键盘检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表。Step S302: After the preset time interval, the keyboard detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the second key list.
预设时间间隔是一个较短的时间,可以根据实际需求设置,例如,将预设时间间隔设置为0.1秒、0.2秒、或0.5秒等。The preset time interval is a relatively short time, which can be set according to actual requirements. For example, the preset time interval is set to 0.1 second, 0.2 second, or 0.5 second.
步骤S303:键盘将第二按键列表与第一按键列表进行比较,得到第一变化信息。Step S303: The keyboard compares the second key list with the first key list to obtain first change information.
第一变化信息包括第二按键列表与第一按键列表中不同的按键,例如,包括在第一按键列表中并且不包括在第二按键列表中的按键,或者,包括在第二按键列表中并且不包括在第一按键列表中的按键。例如,假设,第一按键列表中只包括按键“Ctrl”,第二按键列表包括两个按键:按键“Ctrl”和按键“V”,将第二按键列表与第一按键列表进行比较,可知,这两个按键列表中不同的按键为按键“V”。再例如,假设,第一按键列表中包括按键“Ctrl”和按键“C”,第二按键列表只包括一个按键:按键“Ctrl”,将第二按键列表与第一按键列表进行比较,可知,这两个按键列表中不同的按键为按键“C”。The first change information includes keys that are different from the second key list and the first key list, for example, keys included in the first key list and not included in the second key list, or included in the second key list and Keys not included in the first key list. For example, suppose that only the key "Ctrl" is included in the first key list, and the second key list includes two keys: the key "Ctrl" and the key "V". Comparing the second key list with the first key list, we can see that The different key in the two key lists is the key "V". As another example, suppose that the first button list includes the button "Ctrl" and the button "C", and the second button list includes only one button: the button "Ctrl". Compare the second button list with the first button list. The different key in these two key lists is key "C".
如果第一按键列表包括至少一个按键,第二按键列表不包括任何按键,则第一变化信息包括第一按键列表中的所有按键。例如,假设,第一按键列表中包括按键“Ctrl”和按键“C”,第二按键列表不包括任何按键,将第二按键列表与第一按键列表进行比较,可知,两个按键列表中不同的按键为第一按键列表中的所有按键,即按键“Ctrl”和按键“C”。If the first button list includes at least one button and the second button list does not include any buttons, the first change information includes all the buttons in the first button list. For example, suppose that the first key list includes the key "Ctrl" and the key "C", and the second key list does not include any keys. Comparing the second key list with the first key list, you can see that the two key lists are different The keys are all the keys in the first key list, namely key "Ctrl" and key "C".
步骤S304:键盘向电子设备发送第一变化信息。电子设备与键盘无线连接。Step S304: The keyboard sends the first change information to the electronic device. The electronic device is wirelessly connected to the keyboard.
步骤S305:电子设备接收键盘发送的第一变化信息。Step S305: The electronic device receives the first change information sent by the keyboard.
步骤S306:电子设备根据第一变化信息对自身存储的按键列表进行更新。Step S306: The electronic device updates its stored button list according to the first change information.
步骤S307:电子设备根据更新后的按键列表执行相应的操作。Step S307: The electronic device performs a corresponding operation according to the updated key list.
电子设备中也存储并维护着一个按键列表。A key list is also stored and maintained in the electronic device.
如前所述,第一变化信息包括第二按键列表与第一按键列表中不同的按键,为叙述方便,将第二按键列表与第一按键列表中不同的按键称为第二按键,则第一变化信息包括第二按键。As mentioned above, the first change information includes the different keys in the second key list and the first key list. For the convenience of description, the different keys in the second key list and the first key list are called the second keys. A change message includes the second button.
作为一种可选的实施方式,步骤S306可以具体包括:电子设备判断自身存储的按键列表中是否包括第二按键;如果自身存储的按键列表中不包括第二按键,则在自身存储的按键列表中增加第二按键;如果自身存储的按键列表中包括第二按键,则删除自身存储的按键列表中的第二按键。As an optional implementation manner, step S306 may specifically include: the electronic device determines whether the second key is included in the key list stored in the electronic device; if the second key is not included in the key list stored in the electronic device, then the stored key list Add a second key in the key list; if the second key is included in the key list stored in the self, delete the second key in the key list stored in the self.
例如,假设步骤S303中确定出第二按键列表与第一按键列表中不同的按键为按键“V”(第一变化信息即为按键“V”),则向电子设备发送第一变化信息,电子设备自身存储并维护了一个按键列表,假设该按键列表中存储了按键“Ctrl”,电子设备接收按键“V”的信息之后,判断自 身存储的按键列表中是否包括按键“V”,判断结果表明电子设备自身存储的按键列表中不包括按键“V”,则在电子设备自身存储的按键列表中增加按键“V”。For example, if it is determined in step S303 that the different key in the second key list and the first key list is the key "V" (the first change information is the key "V"), then the first change information is sent to the electronic device, and the electronic The device itself stores and maintains a key list. Assuming that the key “Ctrl” is stored in the key list, after receiving the information of the key “V”, the electronic device judges whether the key “V” is included in the stored key list. The judgment result indicates If the key "V" is not included in the key list stored in the electronic device, the key "V" is added to the key list stored in the electronic device.
再例如,电子设备自身存储并维护了一个按键列表,该按键列表中存储了按键“Ctrl”和按键“V”,假设上述步骤S303中确定出第二按键列表与第一按键列表不同的按键为按键“Ctrl”和按键“V”(按键“Ctrl”和按键“V”即为第一变化信息),则向电子设备发送第一变化信息,电子设备接收按键“Ctrl”和按键“V”的信息之后,判断自身存储的按键列表是否包括按键“Ctrl”和按键“V”,判断结果表明电子设备自身存储的按键列表包括按键“Ctrl”和按键“V”,则电子设备删除自身存储的按键列表中的按键“Ctrl”和按键“V”。For another example, the electronic device itself stores and maintains a key list. The key list stores the key "Ctrl" and the key "V". It is assumed that the keys in the second key list and the first key list are determined in step S303. Press the "Ctrl" and "V" keys (the "Ctrl" and "V" keys are the first change information), the first change information is sent to the electronic device, and the electronic device receives the "Ctrl" and "V" keys After the information, it is judged whether the stored key list includes the key "Ctrl" and the key "V". The judgment result indicates that the key list stored by the electronic device includes the key "Ctrl" and the key "V", and the electronic device deletes the stored keys The key "Ctrl" and key "V" in the list.
步骤S307中根据更新后的按键列表执行相应的操作,例如,假设电子设备更新后的按键列表中存储的按键为按键“Ctrl”和按键“V”,则电子设备执行“粘贴”的操作。In step S307, a corresponding operation is performed according to the updated key list. For example, assuming that the keys stored in the updated key list of the electronic device are the key "Ctrl" and the key "V", the electronic device performs the "paste" operation.
需要注意的是,键盘只需要将第一按键列表和第二按键列表包括的不同的按键的信息发送给电子设备,至于该按键是包括在第一按键列表中并且没有包括在第二按键列表中(删除的按键),还是包括在第二按键列表中并且没有包括在第一按键列表中(增加的按键),这些信息并不需要发送给电子设备。电子设备接收到某一个按键的信息后,例如,接收到第二按键的信息,则判断自身存储的按键列表中是否包括第二按键,如果电子设备自身存储的按键列表中包括第二按键,则说明该第二按键之前已经按下了,那么这次的操作是释放第二按键,电子设备将自身存储的按键列表中的第二按键删除;如果电子设备自身存储的按键列表中不包括第二按键,则说明该第二按键之前处于释放的状态,那么这次的操作是按下第二按键,电子设备将第二按键加入自身存储的按键列表中。It should be noted that the keyboard only needs to send information about different keys included in the first key list and the second key list to the electronic device. As for the key is included in the first key list and not included in the second key list (The deleted key) is still included in the second key list and not included in the first key list (added key), and this information does not need to be sent to the electronic device. After the electronic device receives the information of a certain key, for example, receives the information of the second key, it determines whether the second key is included in the key list stored by the electronic device. If the second key is included in the key list stored by the electronic device, then It means that the second button has been pressed before, then this operation is to release the second button, and the electronic device deletes the second button in the button list stored by itself; if the button list stored by the electronic device does not include the second button Press the button, it means that the second button was in the released state before, then the operation this time is to press the second button, and the electronic device adds the second button to its stored button list.
作为一种可选的方式,在向电子设备发送第一变化信息之后,键盘还执行了以下步骤:检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;将第三按键列表与第二按键列表进行比较,得到第二变化信息;向电子设备发送第二变化信息,以使电子设备根据第二变化信息对自身存储的按键列表进行更新。As an optional method, after sending the first change information to the electronic device, the keyboard also performs the following steps: detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, and the obtained key The list is used as the third key list; the third key list is compared with the second key list to obtain the second change information; the second change information is sent to the electronic device, so that the electronic device can store the key list of itself according to the second change information Update.
假设,在键盘向电子设备发送第一变化信息之后,键盘检测到当前没有处于按下的状态的按键,则确定当前的按键列表不包括任何按键,即,第三按键列表为空列表。假设第二按键列表包括两个按键,分别为按键“Ctrl”和按键“V”。将第三按键列表与第二按键列表进行比较,得到的第二变化信息包括第二按键列表中的所有按键。键盘向电子设备发送按键“Ctrl”和按键“V”,以使电子设备对自身存储的按键列表进行更新。Assuming that after the keyboard sends the first change information to the electronic device, the keyboard detects that there is no key currently in a pressed state, it is determined that the current key list does not include any keys, that is, the third key list is an empty list. Assume that the second key list includes two keys, namely the key "Ctrl" and the key "V". The third key list is compared with the second key list, and the obtained second change information includes all keys in the second key list. The keyboard sends the key "Ctrl" and the key "V" to the electronic device, so that the electronic device updates its stored key list.
可以理解,键盘向电子设备发送第二变化信息之后,还可以继续检测处于按键的状态,并基于按键的按下状态确定当前按键列表,将当前按键列表与上次按键列表进行比较,得到按键列表的变化信息,将按键列表的变化信息发送给电子设备,以使电子设备根据按键列表的变化信息更新自身存储的按键列表,并根据更新后的按键列表执行相应的操作。It can be understood that after the keyboard sends the second change information to the electronic device, it can continue to detect the state of the key, and determine the current key list based on the pressed state of the key, and compare the current key list with the last key list to obtain the key list The change information of the button list is sent to the electronic device, so that the electronic device updates its stored button list according to the change information of the button list, and performs corresponding operations according to the updated button list.
作为一种可选的方式,可以在键盘中存储坐标&按键查询表。该查询表中存储了每个按键对应的坐标范围。按照图5-1所示的方式建立坐标系,每个按键对应的区域为一个矩形,该矩形的左上角点的坐标简称为该按键的左上坐标,该矩阵的右下角点的坐标简称为该按键的右下坐标,请参阅图6,按键A的左上坐标为(317,1057),右下坐标为(507,1319);按键S的左上坐标为(533,1057),右下坐标为(965,1319)。即,按键A对应的坐标范围为:横坐标的范围为(317,507),并且纵坐标的范围为(1057,1319);按键S对应的坐标范围为:横坐标的范围为(533,965),并且纵坐标的范围为(1057,1319)。As an optional way, the coordinate & key lookup table can be stored in the keyboard. The query table stores the coordinate range corresponding to each button. Establish the coordinate system as shown in Figure 5-1. The area corresponding to each button is a rectangle. The coordinates of the upper left corner of the rectangle are referred to as the upper left coordinates of the button, and the coordinates of the lower right corner of the matrix are referred to as the The bottom right coordinates of the button, please refer to Figure 6, the top left coordinates of the button A are (317, 1057), the bottom right coordinates are (507, 1319); the top left coordinates of the button S are (533, 1057), the bottom right coordinates are ( 965, 1319). That is, the coordinate range corresponding to button A is: the range of abscissa is (317, 507), and the range of ordinate is (1057, 1319); the coordinate range corresponding to button S is: the range of abscissa is (533, 965) ), and the range of the ordinate is (1057, 1319).
如果某个触摸点的触摸坐标(x,y)在某个按键对应的坐标范围内,则说明该触摸点与该按键对应,该按键处于按下的状态。例如:If the touch coordinates (x, y) of a certain touch point are within the coordinate range corresponding to a certain key, it means that the touch point corresponds to the key and the key is in a pressed state. E.g:
如果触摸点的坐标为(500,1300),由于该触摸点的横坐标在(317,507)这个范围内并且纵坐标在(1057,1319)这个范围内,说明该触摸点位于按键A对应的坐标范围内,这个触摸点对应的按键是按键A,按键A处于按下的状态。If the coordinates of the touch point are (500, 1300), since the abscissa of the touch point is in the range (317, 507) and the ordinate is in the range (1057, 1319), it means that the touch point is located at the corresponding button A Within the coordinate range, the button corresponding to this touch point is button A, which is in a pressed state.
如果触摸点的坐标为(600,1300),由于该触摸点的横坐标在(533,965)这个范围内并且纵坐标在(1057,1319)这个范围内,说明该触摸点位于按键S对应的坐标范围内,这个触摸点对应的按键是按键S,因此可以知道按键S处于按下的状态。If the coordinates of the touch point are (600, 1300), since the abscissa of the touch point is in the range (533, 965) and the ordinate is in the range (1057, 1319), it means that the touch point is located at the corresponding button S Within the coordinate range, the button corresponding to this touch point is button S, so it can be known that button S is in a pressed state.
如果触摸点的坐标为(1000,1300),由于该触摸点的横坐标不在(317,507)这个范围内,说明该触摸点不在按键A对应的坐标范围内,因此可以知道这个触摸点对应的按键不是按键A;由于该触摸点的横坐标也不在(533,965)这个范围内,说明该触摸点也不在按键S对应的坐标范围内,因此可以知道这个触摸点对应的按键也不是按键S。If the coordinates of the touch point are (1000, 1300), since the abscissa of the touch point is not in the range of (317, 507), it means that the touch point is not in the coordinate range corresponding to button A, so you can know the corresponding touch point The button is not button A; since the abscissa of the touch point is not within the range of (533, 965), it means that the touch point is not in the coordinate range corresponding to button S, so it can be known that the button corresponding to this touch point is not button S either .
在本申请第二实施例中,假设键盘和电子设备中都存储了一个空列表。请参阅图7,用户按下键盘的按键A,键盘检测到按键A处于按下的状态,则键盘更新自身存储的按键列表,更新后按键列表包括一个按键:按键A,键盘将当前按键列表与上次按键列表进行比较,得到变化信息为按键A。键盘将按键A的信息传输给电子设备,电子设备判断自身存储的按键列表中是否包括按键A,由于电子设备当前存储的按键列表为空列表,因此,电子设备当前存储的按键列表不包括按键A,电子设备对按键列表进行更新(即将按键A加入自身存储的按键列表), 更新后电子设备存储的按键列表包括按键A。假设用户按下按键A之后没有马上释放,而是在一段时间内保持按键A处于按下的状态,并按下按键K。键盘检测到按键A和按键K处于按下的状态,则键盘更新存储的按键列表,更新后按键列表包括两个按键:按键A和按键K,键盘将当前按键列表与上次按键列表进行比较,得到变化信息为按键K。键盘将按键K的信息传输给电子设备,电子设备对自身存储的按键列表进行更新(电子设备判断自身当前存储的按键列表是否包括按键K,由于判断结果表明不包括按键K,因此把按键K加入自身存储的按键列表),更新后电子设备自身存储的按键列表包括按键A和按键K。一段时间之后,用户同时释放按键A和按键K。键盘检测按键的按下状态,检测结果表明没有按键处于按下的状态,键盘更新自身存储的按键列表,更新后按键列表为空列表,键盘将当前按键列表与上次按键列表进行比较,得到变化信息为按键A和按键K。键盘将按键A和按键K的信息传输给电子设备,电子设备对自身存储的按键列表进行更新(电子设备判断自身当前存储的按键列表是否包括按键A和按键K,由于判断结果表明包括按键A和按键K,因此把按键A和按键K从自身存储的按键列表中删除),更新后电子设备自身存储的按键列表为空列表。In the second embodiment of the present application, it is assumed that an empty list is stored in both the keyboard and the electronic device. Please refer to Figure 7. The user presses the key A of the keyboard, and the keyboard detects that the key A is in a pressed state, the keyboard updates its stored key list. After the update, the key list includes a key: key A, the keyboard will compare the current key list with The last time the key-press list is compared, the change information is key A. The keyboard transmits the information of button A to the electronic device. The electronic device determines whether the stored button list includes button A. Since the button list currently stored by the electronic device is an empty list, the current button list stored by the electronic device does not include button A , The electronic device updates the button list (that is, adding button A to its own stored button list), and the updated button list stored by the electronic device includes button A. Assume that the user does not release the button A immediately after pressing the button, but keeps the button A in a pressed state for a period of time and presses the button K. When the keyboard detects that button A and button K are in a pressed state, the keyboard updates the stored button list. After the update, the button list includes two buttons: button A and button K. The keyboard compares the current button list with the last button list. Get the change information as the button K. The keyboard transmits the information of the button K to the electronic device, and the electronic device updates its stored button list (the electronic device determines whether the currently stored button list includes the button K. Since the judgment result indicates that the button K is not included, the button K is added The key list stored in the electronic device itself after the update includes key A and key K. After a period of time, the user releases button A and button K at the same time. The keyboard detects the pressed state of the key. The detection result shows that no key is in the pressed state. The keyboard updates its own stored key list. After the update, the key list is empty. The keyboard compares the current key list with the last key list to get the change The information is button A and button K. The keyboard transmits the information of button A and button K to the electronic device, and the electronic device updates its stored button list (the electronic device determines whether the currently stored button list includes button A and button K, because the judgment result indicates that it includes button A and Press the button K, so the button A and the button K are deleted from the button list stored in itself), the button list stored in the electronic device itself is an empty list after the update.
在本申请一实施例中,触控键盘中可预先存储坐标&按键查询表,用户在触控键盘的触控区触摸某个位置,触控IC(Integrated Circuit,集成电路)确定触控坐标,通过在坐标&按键查询表中查找该触控坐标对应的按键,进行从位置到按键的转换,即,确定出触摸位置对应的按键。根据确定出的按键得到当前按键列表,将当前按键列表与上次按键列表对比,如果有变化,则向与触控键盘相连的电子设备上报变化的按键。In an embodiment of the present application, the coordinate & key lookup table can be pre-stored in the touch keyboard. The user touches a certain position on the touch area of the touch keyboard, and the touch IC (Integrated Circuit, integrated circuit) determines the touch coordinates. By searching the key corresponding to the touch coordinate in the coordinate & key query table, the conversion from position to key is performed, that is, the key corresponding to the touch position is determined. According to the determined keys, the current key list is obtained, the current key list is compared with the last key list, and if there is a change, the changed key is reported to the electronic device connected to the touch keyboard.
相比于相关技术中的方法,采用本申请实施例提供的方法,键盘上报给电子设备的数据量更小,具有通信量小、实时上报的优点,可以应用于无线信道,例如蓝牙键盘、2.4G键盘等,能够减小电子设备响应用户的触摸操作的耗时,提高了电子设备的响应速度,能够提升用户体验。Compared with the method in the related art, using the method provided in the embodiment of the application, the amount of data reported by the keyboard to the electronic device is smaller, and it has the advantages of small communication volume and real-time reporting. It can be applied to wireless channels, such as Bluetooth keyboard, 2.4 The G keyboard can reduce the time consumption of the electronic device in responding to the user's touch operation, improve the response speed of the electronic device, and can improve the user experience.
本申请实施例还提供了一种触控键盘。该触控键盘包括存储器、处理器及存储在存储器上并可在处理器上运行的控制程序,处理器执行控制程序时,实现以下步骤:检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将第二按键列表与第一按键列表进行比较,得到第一变化信息;向电子设备发送第一变化信息,以使电子设备根据第一变化信息对自身存储的按键列表进行更新,其中,电子设备与键盘无线连接。The embodiment of the present application also provides a touch keyboard. The touch keyboard includes a memory, a processor, and a control program that is stored on the memory and can run on the processor. When the processor executes the control program, the following steps are implemented: detecting the pressed state of the key, and based on the pressed state of the key Determine the current key list, and use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as The second button list; compare the second button list with the first button list to obtain the first change information; send the first change information to the electronic device, so that the electronic device updates its stored button list according to the first change information , Among them, the electronic device is wirelessly connected to the keyboard.
在本申请一种可选的实施方式中,处理器执行控制程序时,还实现以下步骤:在向电子设备发送第一变化信息之后,检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;将第三按键列表与第二按键列表进行比较,得到第二变化信息;向电子设备发送第二变化信息,以使电子设备根据第二变化信息对自身存储的按键列表进行更新。In an optional implementation manner of the present application, when the processor executes the control program, the following steps are further implemented: after sending the first change information to the electronic device, detecting the pressed state of the key, and determining based on the pressed state of the key For the current key list, the obtained key list is used as the third key list; the third key list is compared with the second key list to obtain the second change information; the second change information is sent to the electronic device so that the electronic device according to the first Second, the change information updates the key list stored in itself.
在本申请一种可选的实施方式中,处理器执行控制程序时,还实现以下步骤:获取触摸点的位置信息,触摸点位于触控键盘的触控区;根据触摸点的位置信息确定处于按下状态的按键。In an optional implementation manner of the present application, when the processor executes the control program, the following steps are further implemented: obtaining the position information of the touch point, the touch point is located in the touch area of the touch keyboard; Press the button in the state.
在本申请一种可选的实施方式中,处理器执行控制程序时,还实现以下步骤:判断触摸点的坐标是否位于第一按键对应的坐标范围内;如果触摸点的坐标位于第一按键对应的坐标范围内,则确定第一按键处于按下状态,第一按键为触摸键盘中的任意一个按键。In an optional implementation manner of the present application, when the processor executes the control program, the following steps are further implemented: judging whether the coordinates of the touch point are within the coordinate range corresponding to the first button; if the coordinates of the touch point are located corresponding to the first button Within the coordinate range of, it is determined that the first button is in the pressed state, and the first button is any button in the touch keyboard.
本申请实施例还提供了一种电子设备。该电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的控制程序,处理器执行控制程序时,实现以下步骤:接收键盘发送的第一变化信息,其中,第一变化信息是键盘通过以下方式得到的:检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将第二按键列表与第一按键列表进行比较,得到第一变化信息;根据第一变化信息对自身存储的按键列表进行更新;根据更新后的按键列表执行相应的操作。The embodiment of the present application also provides an electronic device. The electronic device includes a memory, a processor, and a control program that is stored on the memory and can run on the processor. When the processor executes the control program, the following steps are implemented: receiving the first change information sent by the keyboard, where the first change information The keyboard is obtained by the following method: detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, using the obtained key list as the first key list; after a preset time interval, detecting the pressing of the key Press down state, and determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list; compare the second key list with the first key list to obtain the first change information; according to the first change The information updates the key list stored by itself; performs corresponding operations according to the updated key list.
在本申请一种可选的实施方式中,处理器执行控制程序时,还实现以下步骤:判断电子设备自身存储的按键列表中是否包括第二按键;如果电子设备自身存储的按键列表中不包括第二按键,则在电子设备自身存储的按键列表中增加第二按键;如果电子设备自身存储的按键列表中包括第二按键,则删除电子设备自身存储的按键列表中的第二按键。In an optional implementation manner of the present application, when the processor executes the control program, the following steps are further implemented: determining whether the second button is included in the button list stored in the electronic device itself; if the button list stored in the electronic device does not include The second key is to add the second key to the key list stored in the electronic device itself; if the second key is included in the key list stored in the electronic device itself, the second key in the key list stored in the electronic device itself is deleted.
在本申请一种可选的实施方式中,处理器执行控制程序时,还实现以下步骤:接收键盘发送的第二变化信息,其中,第二变化信息是键盘通过以下方式得到的:在向电子设备发送第一变化信息之后,检测按键的按下状态,并基于按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;将第三按键列表与第二按键列表进行比较,得到第二变化信息;根据第二变化信息对自身存储的按键列表进行更新;根据更新后的按键列表执行相应的操作。In an optional implementation manner of the present application, when the processor executes the control program, the following step is further implemented: receiving the second change information sent by the keyboard, where the second change information is obtained by the keyboard in the following manner: After the device sends the first change information, it detects the pressed state of the key, and determines the current key list based on the pressed state of the key, and uses the obtained key list as the third key list; compare the third key list with the second key list Compare to obtain the second change information; update the key list stored in itself according to the second change information; perform corresponding operations according to the updated key list.
本申请实施例还提供了一种非临时性计算机可读存储介质,其上存储有控制程序,控制程序被处理器执行时实现本申请实施例提供的控制方法。The embodiment of the present application also provides a non-transitory computer-readable storage medium on which a control program is stored, and when the control program is executed by a processor, the control method provided in the embodiment of the present application is implemented.
请参阅图8,其为本申请一实施例提供的键盘10的结构框图。键盘10包括但不限于存储 器101、处理器102以及触控模组104,其中,触控模组104包括触控区。具体地,存储器101和所述处理器102可以通过通信总线103耦合。本领技术人员应当理解的是,所述图8仅是所述键盘10的示例,并不构成对所述键盘10的限定,所述键盘10可以包括比图15所示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述键盘10还可以包括网络接入设备等。Please refer to FIG. 8, which is a structural block diagram of a keyboard 10 according to an embodiment of the application. The keyboard 10 includes, but is not limited to, a memory 101, a processor 102, and a touch module 104, where the touch module 104 includes a touch area. Specifically, the memory 101 and the processor 102 may be coupled through a communication bus 103. Those skilled in the art should understand that, FIG. 8 is only an example of the keyboard 10, and does not constitute a limitation on the keyboard 10. The keyboard 10 may include more or less components than those shown in FIG. , Or a combination of some components, or different components, for example, the keyboard 10 may also include a network access device.
所述存储器101可用于存储控制程序和/或模块,所述处理器102通过运行或执行存储在所述存储器101内的控制程序和/或模块,以及调用存储在存储器101内的数据,实现所述键盘10的各种功能。所述存储器101可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、多个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,所述存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 101 can be used to store control programs and/or modules, and the processor 102 executes or executes the control programs and/or modules stored in the memory 101 and calls the data stored in the memory 101 to achieve all The various functions of the keyboard 10 are described. The memory 101 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, application programs required by multiple functions (such as sound playback function, image playback function, etc.), etc.; the data storage area may Store data (such as audio data, phone book, etc.) created based on the use of mobile phones. In addition, the memory 101 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
所述处理器102可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述键盘10的控制中心,利用各种接口和线路连接整个所述键盘10的各个部分。The processor 102 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the keyboard 10, and various interfaces and lines are used to connect the various parts of the keyboard 10 .
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions, because According to the application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present application can be adjusted, merged, and deleted in order according to actual needs.
本申请提供的交互方法可以在硬件、固件中实施,或者可以作为可以存储在例如CD、ROM、RAM、软盘、硬盘或磁光盘的等可读存储介质中的软件或计算机代码,或者可以作为原始存储在远程记录介质或非瞬时的机器可读介质上、通过网络下载并且存储在本地记录介质中的计算 机代码,从而这里描述的方法可以利用通用计算机或特殊处理器或在诸如ASIC或FPGA之类的可编程或专用硬件中以存储在记录介质上的软件来呈现。如本领能够理解的,计算机、处理器、微处理器、控制器或可编程硬件包括存储器组件,例如,RAM、ROM、闪存等,当计算机、处理器或硬件实施这里描述的处理方法而存取和执行软件或计算机代码时,存储器组件可以存储或接收软件或计算机代码。另外,当通用计算机存取用于实施这里示出的处理的代码时,代码的执行将通用计算机转换为用于执行这里示出的处理的专用计算机。The interactive method provided in this application can be implemented in hardware and firmware, or can be used as software or computer code that can be stored in a readable storage medium such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or can be used as original The computer code stored on a remote recording medium or a non-transitory machine-readable medium, downloaded via a network, and stored in a local recording medium, so that the method described here can use a general-purpose computer or a special processor or be used in such as ASIC or FPGA The programmable or dedicated hardware is presented in software stored on a recording medium. As can be understood in the art, a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., when the computer, processor, or hardware implements the processing methods described herein, access When executing software or computer code, the memory component can store or receive the software or computer code. In addition, when a general-purpose computer accesses the code for implementing the processing shown here, the execution of the code converts the general-purpose computer into a dedicated computer for executing the processing shown here.
其中,所述可读存储介质可为固态存储器、存储卡、光碟等。所述可读存储介质存储有程序指令而供计算机调用后执行上述的交互方法。Wherein, the readable storage medium may be solid state memory, memory card, optical disc, etc. The readable storage medium stores program instructions for the computer to call to execute the aforementioned interaction method.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施例进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领的一般技术人员,依据本申请的思想,在具体实施例及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and embodiments of the application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the application; Those skilled in the art, based on the ideas of this application, will have changes in the specific embodiments and application scope. In summary, the content of this specification should not be construed as a limitation to this application.
Claims (20)
- 一种控制方法,应用于键盘,其特征在于,包括:A control method applied to a keyboard, characterized in that it comprises:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;Detecting the pressed state of the key, determining the current key list based on the pressed state of the key, and using the obtained key list as the first key list;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;After a preset time interval, detect the pressed state of the key, determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list;将所述第二按键列表与所述第一按键列表进行比较,得到第一变化信息;Comparing the second button list with the first button list to obtain first change information;向电子设备发送所述第一变化信息,以使所述电子设备根据所述第一变化信息对自身存储的按键列表进行更新,其中,所述电子设备与所述键盘无线连接。Sending the first change information to an electronic device, so that the electronic device updates its stored key list according to the first change information, wherein the electronic device is wirelessly connected to the keyboard.
- 根据权利要求1所述的控制方法,其特征在于,所述第一变化信息包括所述第二按键列表与所述第一按键列表中不同的按键。The control method according to claim 1, wherein the first change information includes different keys in the second key list and the first key list.
- 根据权利要求1所述的控制方法,其特征在于,在所述向电子设备发送所述第一变化信息之后,所述方法还包括:The control method according to claim 1, wherein after the sending the first change information to an electronic device, the method further comprises:检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;Detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, and using the obtained key list as the third key list;将所述第三按键列表与所述第二按键列表进行比较,得到第二变化信息;Comparing the third button list with the second button list to obtain second change information;向所述电子设备发送所述第二变化信息,以使所述电子设备根据所述第二变化信息对自身存储的按键列表进行更新。Sending the second change information to the electronic device, so that the electronic device updates its stored button list according to the second change information.
- 根据权利要求1-3中任一项所述的控制方法,其特征在于,所述方法应用于触控键盘,所述检测按键的按下状态,包括:The control method according to any one of claims 1 to 3, wherein the method is applied to a touch keyboard, and the detecting the pressed state of a key comprises:获取触摸点的位置信息,所述触摸点位于所述触控键盘的触控区;Acquiring position information of a touch point located in a touch area of the touch keyboard;根据所述触摸点的位置信息确定处于按下状态的按键。The key in the pressed state is determined according to the position information of the touch point.
- 根据权利要求4所述的控制方法,其特征在于,所述触摸点的位置信息包括所述触摸点的坐标,所述根据所述触摸点的位置信息确定处于按下状态的按键,包括:The control method according to claim 4, wherein the position information of the touch point includes the coordinates of the touch point, and the determining the button in the pressed state according to the position information of the touch point includes:判断所述触摸点的坐标是否位于第一按键对应的坐标范围内;Judging whether the coordinates of the touch point are within the coordinate range corresponding to the first button;如果所述触摸点的坐标位于所述第一按键对应的坐标范围内,则确定所述第一按键处于按下状态,所述第一按键为所述触摸键盘中的任意一个按键。If the coordinates of the touch point are within the coordinate range corresponding to the first key, it is determined that the first key is in a pressed state, and the first key is any key in the touch keyboard.
- 一种控制方法,应用于与键盘无线连接的电子设备,其特征在于,包括:A control method, applied to an electronic device wirelessly connected with a keyboard, characterized in that it includes:接收所述键盘发送的第一变化信息,其中,所述第一变化信息是所述键盘通过以下方式得到的:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到所述第一变化信息;Receive first change information sent by the keyboard, where the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, and determining the current key list based on the pressed state of the key , Use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as the first Two key list; compare the second key list with the first key list to obtain the first change information;根据所述第一变化信息对自身存储的按键列表进行更新;Update the key list stored by itself according to the first change information;根据更新后的按键列表执行相应的操作。Perform corresponding operations according to the updated key list.
- 根据权利要求6所述的控制方法,其特征在于,所述第一变化信息包括所述第二按键列表与所述第一按键列表中不同的按键。7. The control method according to claim 6, wherein the first change information includes different keys in the second key list and the first key list.
- 根据权利要求7所述的控制方法,其特征在于,所述第一变化信息包括第二按键,所述根据所述第一变化信息对自身存储的按键列表进行更新,包括:8. The control method according to claim 7, wherein the first change information comprises a second button, and the updating of the stored button list according to the first change information comprises:判断自身存储的按键列表中是否包括所述第二按键;Judging whether the second key is included in the key list stored by itself;如果自身存储的按键列表中不包括所述第二按键,则在自身存储的按键列表中增加所述第二按键;If the second key is not included in the key list stored in the self, adding the second key to the key list stored in the self;如果自身存储的按键列表中包括所述第二按键,则删除自身存储的按键列表中的所述第二按键。If the second key is included in the key list stored in the self, the second key in the key list stored in the self is deleted.
- 根据权利要求6-8任一项所述的控制方法,其特征在于,在所述根据更新后的按键列表执行相应的操作之后,所述方法还包括:The control method according to any one of claims 6-8, wherein after the corresponding operation is performed according to the updated key list, the method further comprises:接收所述键盘发送的第二变化信息,其中,所述第二变化信息是所述键盘通过以下方式得到的:在向所述电子设备发送所述第一变化信息之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列 表,将得到的按键列表作为第三按键列表;将所述第三按键列表与所述第二按键列表进行比较,得到所述第二变化信息;Receiving second change information sent by the keyboard, where the second change information is obtained by the keyboard in the following manner: after sending the first change information to the electronic device, detecting the pressing of the key And determine the current key list based on the pressed state of the key, and use the obtained key list as the third key list; compare the third key list with the second key list to obtain the first key list 2. Change information;根据所述第二变化信息对自身存储的按键列表进行更新;Update the key list stored by itself according to the second change information;根据更新后的按键列表执行相应的操作。Perform corresponding operations according to the updated key list.
- 一种键盘,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的控制程序,所述处理器执行所述控制程序时,实现以下步骤:A keyboard, characterized by comprising a memory, a processor, and a control program stored in the memory and capable of running on the processor, and when the processor executes the control program, the following steps are implemented:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;Detecting the pressed state of the key, determining the current key list based on the pressed state of the key, and using the obtained key list as the first key list;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;After a preset time interval, detect the pressed state of the key, determine the current key list based on the pressed state of the key, and use the obtained key list as the second key list;将所述第二按键列表与所述第一按键列表进行比较,得到第一变化信息;Comparing the second button list with the first button list to obtain first change information;向电子设备发送所述第一变化信息,以使所述电子设备根据所述第一变化信息对自身存储的按键列表进行更新,其中,所述电子设备与所述键盘无线连接。Sending the first change information to an electronic device, so that the electronic device updates its stored key list according to the first change information, wherein the electronic device is wirelessly connected to the keyboard.
- 根据权利要求10所述的键盘,其特征在于,所述第一变化信息包括所述第二按键列表与所述第一按键列表中不同的按键。11. The keyboard according to claim 10, wherein the first change information includes different keys in the second key list and the first key list.
- 根据权利要求10所述的键盘,其特征在于,所述处理器执行所述控制程序时,还实现以下步骤:The keyboard according to claim 10, wherein the processor further implements the following steps when executing the control program:在所述向电子设备发送所述第一变化信息之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;After sending the first change information to the electronic device, detecting the pressed state of the key, and determining the current key list based on the pressed state of the key, and using the obtained key list as the third key list;将所述第三按键列表与所述第二按键列表进行比较,得到第二变化信息;Comparing the third button list with the second button list to obtain second change information;向所述电子设备发送所述第二变化信息,以使所述电子设备根据所述第二变化信息对自身存储的按键列表进行更新。Sending the second change information to the electronic device, so that the electronic device updates its stored button list according to the second change information.
- 根据权利要求10-12中任一项所述的键盘,其特征在于,所述键盘为触控键盘,所述处理器执行所述控制程序时,还实现以下步骤:The keyboard according to any one of claims 10-12, wherein the keyboard is a touch keyboard, and when the processor executes the control program, the following steps are further implemented:获取触摸点的位置信息,所述触摸点位于所述触控键盘的触控区;Acquiring position information of a touch point located in a touch area of the touch keyboard;根据所述触摸点的位置信息确定处于按下状态的按键。The key in the pressed state is determined according to the position information of the touch point.
- 根据权利要求13所述的键盘,其特征在于,所述键盘为触控键盘,所述处理器执行所述控制程序时,还实现以下步骤:The keyboard according to claim 13, wherein the keyboard is a touch keyboard, and when the processor executes the control program, the following steps are further implemented:判断所述触摸点的坐标是否位于第一按键对应的坐标范围内;Judging whether the coordinates of the touch point are within the coordinate range corresponding to the first button;如果所述触摸点的坐标位于所述第一按键对应的坐标范围内,则确定所述第一按键处于按下状态,所述第一按键为所述触摸键盘中的任意一个按键。If the coordinates of the touch point are within the coordinate range corresponding to the first key, it is determined that the first key is in a pressed state, and the first key is any key in the touch keyboard.
- 一种电子设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的控制程序,所述处理器执行所述控制程序时,实现以下步骤:An electronic device, characterized by comprising a memory, a processor, and a control program stored on the memory and capable of running on the processor, and when the processor executes the control program, the following steps are implemented:接收所述键盘发送的第一变化信息,其中,所述第一变化信息是所述键盘通过以下方式得到的:检测按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第一按键列表;在预设时间间隔之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第二按键列表;将所述第二按键列表与所述第一按键列表进行比较,得到所述第一变化信息;Receive first change information sent by the keyboard, where the first change information is obtained by the keyboard in the following manner: detecting the pressed state of a key, and determining the current key list based on the pressed state of the key , Use the obtained key list as the first key list; after a preset time interval, detect the pressed state of the key, and determine the current key list based on the pressed state of the key, and use the obtained key list as the first Two key list; compare the second key list with the first key list to obtain the first change information;根据所述第一变化信息对自身存储的按键列表进行更新;Update the key list stored by itself according to the first change information;根据更新后的按键列表执行相应的操作。Perform corresponding operations according to the updated key list.
- 根据权利要求15所述的电子设备,其特征在于,所述第一变化信息包括所述第二按键列表与所述第一按键列表中不同的按键。The electronic device according to claim 15, wherein the first change information comprises different keys in the second key list and the first key list.
- 根据权利要求16所述的电子设备,其特征在于,所述第一变化信息包括第二按键,所述处理器执行所述控制程序时,还实现以下步骤:The electronic device according to claim 16, wherein the first change information comprises a second button, and when the processor executes the control program, the following steps are further implemented:判断所述电子设备自身存储的按键列表中是否包括所述第二按键;Determining whether the second button is included in the button list stored in the electronic device itself;如果所述电子设备自身存储的按键列表中不包括所述第二按键,则在所述电子设备自身存储的按键列表中增加所述第二按键;If the second button is not included in the button list stored in the electronic device itself, adding the second button to the button list stored in the electronic device itself;如果所述电子设备自身存储的按键列表中包括所述第二按键,则删除所述电子设备自身存储的按键列表中的所述第二按键。If the second button is included in the button list stored in the electronic device itself, the second button in the button list stored in the electronic device itself is deleted.
- 根据权利要求15-17任一项所述的电子设备,其特征在于,所述 处理器执行所述控制程序时,还实现以下步骤:The electronic device according to any one of claims 15-17, wherein the processor further implements the following steps when executing the control program:接收所述键盘发送的第二变化信息,其中,所述第二变化信息是所述键盘通过以下方式得到的:在向所述电子设备发送所述第一变化信息之后,检测所述按键的按下状态,并基于所述按键的按下状态确定当前的按键列表,将得到的按键列表作为第三按键列表;将所述第三按键列表与所述第二按键列表进行比较,得到所述第二变化信息;Receiving second change information sent by the keyboard, where the second change information is obtained by the keyboard in the following manner: after sending the first change information to the electronic device, detecting the pressing of the key And determine the current key list based on the pressed state of the key, and use the obtained key list as the third key list; compare the third key list with the second key list to obtain the first key list 2. Change information;根据所述第二变化信息对自身存储的按键列表进行更新;Update the key list stored by itself according to the second change information;根据更新后的按键列表执行相应的操作。Perform corresponding operations according to the updated key list.
- 一种非临时性计算机可读存储介质,其上存储有控制程序,其特征在于,所述控制程序被处理器执行时实现如权利要求1-5中任意一项所述的控制方法。A non-transitory computer-readable storage medium having a control program stored thereon, wherein the control program is executed by a processor to implement the control method according to any one of claims 1-5.
- 一种非临时性计算机可读存储介质,其上存储有控制程序,其特征在于,所述控制程序被处理器执行时实现如权利要求6-9中任意一项所述的控制方法。A non-transitory computer-readable storage medium with a control program stored thereon, wherein the control program is executed by a processor to implement the control method according to any one of claims 6-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201980079824.3A CN113330396A (en) | 2019-06-21 | 2019-06-21 | Control method, keyboard and electronic equipment |
PCT/CN2019/092265 WO2020252770A1 (en) | 2019-06-21 | 2019-06-21 | Control method, keyboard, and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/092265 WO2020252770A1 (en) | 2019-06-21 | 2019-06-21 | Control method, keyboard, and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020252770A1 true WO2020252770A1 (en) | 2020-12-24 |
Family
ID=74037638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/092265 WO2020252770A1 (en) | 2019-06-21 | 2019-06-21 | Control method, keyboard, and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113330396A (en) |
WO (1) | WO2020252770A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6509845B1 (en) * | 1999-03-08 | 2003-01-21 | Sharp Kabushiki Kaisha | Wireless input apparatus |
CN102759998A (en) * | 2011-04-25 | 2012-10-31 | 鸿富锦精密工业(深圳)有限公司 | Peripheral type touch control keyboard |
CN103176608A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Keyboard, keyboard control method and signal generator adopting keyboard |
CN105677017A (en) * | 2015-12-28 | 2016-06-15 | 联想(北京)有限公司 | Control method, keyboard, electronic device and electronic apparatus |
CN108227940A (en) * | 2017-12-12 | 2018-06-29 | 天津津航计算技术研究所 | A kind of ultralow radiation keyboard |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2221071B (en) * | 1988-07-04 | 1992-08-19 | Devlin Electronics Ltd | Improvements in electronic keyboards |
JPH1091310A (en) * | 1996-09-12 | 1998-04-10 | Oki Electric Ind Co Ltd | Wireless keyboard system |
-
2019
- 2019-06-21 CN CN201980079824.3A patent/CN113330396A/en active Pending
- 2019-06-21 WO PCT/CN2019/092265 patent/WO2020252770A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6509845B1 (en) * | 1999-03-08 | 2003-01-21 | Sharp Kabushiki Kaisha | Wireless input apparatus |
CN102759998A (en) * | 2011-04-25 | 2012-10-31 | 鸿富锦精密工业(深圳)有限公司 | Peripheral type touch control keyboard |
CN103176608A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Keyboard, keyboard control method and signal generator adopting keyboard |
CN105677017A (en) * | 2015-12-28 | 2016-06-15 | 联想(北京)有限公司 | Control method, keyboard, electronic device and electronic apparatus |
CN108227940A (en) * | 2017-12-12 | 2018-06-29 | 天津津航计算技术研究所 | A kind of ultralow radiation keyboard |
Also Published As
Publication number | Publication date |
---|---|
CN113330396A (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019174611A1 (en) | Application configuration method and mobile terminal | |
US9258402B2 (en) | System and method for controlling mobile devices | |
US10165391B2 (en) | Companion application for activity cooperation | |
WO2018103525A1 (en) | Method and device for tracking facial key point, and storage medium | |
WO2016127795A1 (en) | Service processing method, server, and terminal | |
CN103294562B (en) | Method for sharing peripheral device by dual operating systems and electronic device | |
CN108920070B (en) | Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal | |
WO2018040813A1 (en) | Audio/video communication method, terminal, server, and storage medium | |
CN107885448B (en) | Control method for application touch operation, mobile terminal and readable storage medium | |
CN112764891B (en) | Electronic terminal and method for controlling application | |
WO2019029618A1 (en) | Ims voice call network switching method, storage device and mobile terminal | |
WO2017096909A1 (en) | Data connection establishing method and apparatus | |
WO2019214477A1 (en) | Application program pre-loading method and device, storage medium and terminal | |
WO2021190373A1 (en) | Interaction method, interaction system, and display device | |
WO2021088706A1 (en) | Method for controlling application program and electronic device | |
WO2021136141A1 (en) | Playback method and electronic device | |
WO2021208890A1 (en) | Screen capturing method and electronic device | |
WO2021104285A1 (en) | Application control method and electronic device | |
CN111078108A (en) | Screen display method and device, storage medium and mobile terminal | |
WO2017020671A1 (en) | Video interaction method and apparatus, and video source device | |
WO2022110352A1 (en) | Smart home control method and apparatus, and terminal and storage medium | |
CN110688051B (en) | Screen recording operation method and device, computer readable storage medium and terminal | |
WO2018166169A1 (en) | Fingerprint recognition method and related product | |
WO2015101300A1 (en) | Method, device, and system for establishing temporary channel | |
WO2021190353A1 (en) | Interaction method and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19933581 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19933581 Country of ref document: EP Kind code of ref document: A1 |