[go: up one dir, main page]

CN106406554A - Reminding method and reminding device - Google Patents

Reminding method and reminding device Download PDF

Info

Publication number
CN106406554A
CN106406554A CN201610785879.4A CN201610785879A CN106406554A CN 106406554 A CN106406554 A CN 106406554A CN 201610785879 A CN201610785879 A CN 201610785879A CN 106406554 A CN106406554 A CN 106406554A
Authority
CN
China
Prior art keywords
key
reminder
total number
presses
keyboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610785879.4A
Other languages
Chinese (zh)
Inventor
陈鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN201610785879.4A priority Critical patent/CN106406554A/en
Publication of CN106406554A publication Critical patent/CN106406554A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a reminding method and a reminding device. The reminding method comprises the steps of obtaining a total number of pressing times of a key position of a keyboard; if the total number of pressing times of the first key position exceeds a preset threshold, generating a reminding instruction according to the total number of pressing times; and sending out reminding according to the reminding instruction, wherein the reminding comprises one or more of light-emitting reminding, vibration reminding, character reminding and sound reminding. According to the reminding method and the reminding device, a user can be reminded to timely replace the key position of reaching a use threshold; the fault of the key position is avoided; use by a user can be more intelligently facilitated by monitoring the service condition of the key position of the keyboard; and the user experience is improved.

Description

一种提醒方法以及提醒装置A reminder method and reminder device

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种提醒方法以及提醒装置。The invention relates to the field of electronic technology, in particular to a reminder method and a reminder device.

背景技术Background technique

现阶段,随着科技的不断发展,电脑、手机等电子设备日益普及,人们通常通过键盘等输入设备来进行相应的信息输入。At present, with the continuous development of science and technology, electronic devices such as computers and mobile phones are becoming more and more popular, and people usually input corresponding information through input devices such as keyboards.

当前技术中,由于不同键盘的按键的使用频率不同,当某一按键的使用时间超过预期寿命了之后,往往就会出现相应的问题或者故障,用户也只有在出现键位无反应、失灵等问题了之后才能知晓,从而导致往往不能及时进行更换或者修理,给日常的使用带来了不便,用户体验较低。In the current technology, due to the different frequency of use of the keys of different keyboards, when a certain key is used for more than the expected life, there will often be corresponding problems or failures, and the user will only have problems such as no response or malfunction of the keys. It can only be known after the device is installed, which often leads to failure to replace or repair it in time, which brings inconvenience to daily use and lower user experience.

发明内容Contents of the invention

本发明实施例提供一种提醒方法以及提醒装置,能够及时提醒用户使用次数超过一定阈值的键位,及时提醒用户进行更换。Embodiments of the present invention provide a reminder method and a reminder device, which can promptly remind the user of a key that has been used more than a certain threshold, and promptly remind the user to replace it.

本发明实施例第一方面提供了一种提醒方法,应用于键盘,包括:The first aspect of the embodiment of the present invention provides a reminder method applied to a keyboard, including:

获取所述键盘的键位的按压总次数;Obtain the total number of press times of the keys of the keyboard;

若存在第一键位的按压总次数超过第一预设阈值,则根据所述按压总次数生成提醒指令;根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。If the total number of presses of the first key exceeds the first preset threshold, a reminder instruction is generated according to the total number of presses; a reminder is issued according to the reminder instruction, and the reminder includes: light reminder, vibration reminder, text reminder and One or more of the sound alerts.

优选地,所述获取所述键盘的键位的按压次数,包括:Preferably, said acquiring the number of presses of keys of said keyboard includes:

侦测所述键盘的键位的轴的按压;detecting pressing of an axis of a key of the keyboard;

若所述键位的轴的按压超过预设的程度,则记录为一次按压;If the pressing of the axis of the key exceeds a preset level, it is recorded as a pressing;

在所述键位的按压总次数上加1。Add 1 to the total number of key presses.

优选地,所述根据所述按压总次数生成提醒指令生成提醒指令,包括:Preferably, the generating a reminder instruction according to the total number of presses includes:

若所述第一键位的按压总次数超过第一预设阈值,则获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率;If the total number of presses of the first key exceeds the first preset threshold, the position information of the first key is obtained, and a reminder instruction is generated according to the location information, and the reminder instruction includes: used to control the The light-emitting color and light-emitting frequency of the indicator light corresponding to the key position;

若所述第一键位的按压总次数超过第二预设阈值,则获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。If the total number of presses of the first key exceeds a second preset threshold, the description information of the first key is obtained, and a reminder instruction is generated according to the description information, and the reminder instruction includes: including the description information voice information and sound frequency.

优选地,所述方法还包括:Preferably, the method also includes:

获取按压总次数最少的第二键位;Obtain the second key position with the least number of presses;

根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。A replacement reminder is generated according to the position information of the second key, and the replacement reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders, and the replacement reminder is used to remind the first key Bit and second key swap.

优选地,所述方法还包括:Preferably, the method also includes:

在预设时段内统计所述键盘的键位的按压总次数;Counting the total number of presses of the keys of the keyboard within a preset period of time;

根据所述按压总次数获取所述键盘的键位的使用频率;Obtain the frequency of use of the keys of the keyboard according to the total number of presses;

根据所述使用频率对所述键位进行排序;获取使用频率高的至少一个键位;Sort the keys according to the frequency of use; acquire at least one key with high frequency of use;

根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。Generate a characteristic parameter according to the at least one key position, and send the characteristic parameter to a preset server.

本发明实施例第二方面提供了一种提醒装置,应用于键盘,包括:The second aspect of the embodiment of the present invention provides a reminder device applied to a keyboard, including:

获取模块,用于获取所述键盘的键位的按压总次数;An acquisition module, configured to acquire the total number of presses of the keys of the keyboard;

生成模块,用于当存在第一键位的按压总次数超过第一预设阈值时,根据所述按压总次数生成提醒指令;A generating module, configured to generate a reminder instruction according to the total number of presses when the total number of presses of the first key exceeds a first preset threshold;

提醒模块,用于根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。The reminder module is configured to issue a reminder according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders.

优选地,所述获取模块包括:Preferably, the acquisition module includes:

侦测单元,用于侦测所述键盘的键位的轴的按压;a detection unit for detecting the pressing of the key axis of the keyboard;

记录单元,用于当所述键位的轴的按压超过预设的程度时,记录为一次按压;A recording unit, configured to record as a press when the press of the axis of the key exceeds a preset level;

统计单元,用于在所述键位的按压总次数上加1。The statistical unit is used to add 1 to the total number of press times of the key.

优选地,所述生成模块包括:Preferably, the generating module includes:

第一生成单元,用于当所述第一键位的按压总次数超过第一预设阈值时,获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率;A first generating unit, configured to obtain position information of the first key when the total number of presses of the first key exceeds a first preset threshold, and generate a reminder instruction according to the position information, the reminder instruction Including: used to control the light-emitting color and light-emitting frequency of the indicator light corresponding to the key position;

第二生成单元,用于当所述第一键位的按压总次数超过第二预设阈值时,获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。A second generating unit, configured to obtain description information of the first key when the total number of presses of the first key exceeds a second preset threshold, and generate a reminder instruction according to the description information, the reminder instruction Including: the voice information including the description information and the sounding frequency.

优选地,所述装置还包括:Preferably, the device also includes:

所述获取模块还用于获取按压总次数最少的第二键位;The obtaining module is also used to obtain the second key position with the least total number of presses;

提示模块,用于根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。A prompt module, configured to generate a replacement prompt according to the position information of the second key position, the replacement prompt includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders, and the replacement prompts are used to Remind to swap the first key position and the second key position.

优选地,所述装置还包括:Preferably, the device also includes:

所述获取模块还用于在预设时段内统计所述键盘的键位的按压总次数,根据所述按压总次数获取所述键盘的键位的使用频率,根据所述使用频率对所述键位进行排序,获取使用频率高的至少一个键位;The acquisition module is also used to count the total number of presses of the keys of the keyboard within a preset period of time, acquire the frequency of use of the keys of the keyboard according to the total number of presses, and calculate the frequency of use of the keys according to the frequency of use. Bits are sorted to obtain at least one key with high frequency of use;

发送模块,用于根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。A sending module, configured to generate a characteristic parameter according to the at least one key position, and send the characteristic parameter to a preset server.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例中,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。In the embodiment of the present invention, by obtaining the total number of presses of the keys of the keyboard, when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is sent to remind the user to replace the key in time to avoid the key If a fault occurs, by monitoring the use of keyboard keys, it can be more intelligent and convenient for users to use and improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明实施例提供的一种提醒方法第一实施例的流程图。FIG. 1 is a flowchart of a first embodiment of a reminder method provided by an embodiment of the present invention.

图2为本发明实施例提供的一种提醒方法第二实施例的流程图。FIG. 2 is a flowchart of a second embodiment of a reminder method provided by an embodiment of the present invention.

图3为本发明实施例提供的一种提醒方法第三实施例的流程图。FIG. 3 is a flow chart of a third embodiment of a reminder method provided by an embodiment of the present invention.

图4为本发明实施例提供的一种提醒方法第四实施例的流程图。FIG. 4 is a flowchart of a fourth embodiment of a reminder method provided by an embodiment of the present invention.

图5为本发明实施例提供的一种提醒装置第一实施例的结构示意图。Fig. 5 is a schematic structural diagram of a first embodiment of a reminder device provided by an embodiment of the present invention.

图6为本发明实施例提供的一种提醒装置第二实施例的结构示意图。Fig. 6 is a schematic structural diagram of a second embodiment of a reminding device provided by an embodiment of the present invention.

图7为本发明实施例提供的一种提醒装置第三实施例的结构示意图。Fig. 7 is a schematic structural diagram of a third embodiment of a reminding device provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprise", as well as any variations thereof, is intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

图1为本发明实施例提供的一种提醒方法第一实施例的流程图。该提醒方法应用于键盘,该键盘可以设置于电脑上,也可以是手机上的按键。优选的,该键盘可以为机械键盘。通过侦测该键盘上的键位的按压总次数,当存在某一键位的按压总次数超过预设阈值时,可以发出相应的提醒,提醒用户更换该按键。该提醒方法包括步骤S101-S103。FIG. 1 is a flowchart of a first embodiment of a reminder method provided by an embodiment of the present invention. The reminding method is applied to a keyboard, and the keyboard can be set on a computer or a key on a mobile phone. Preferably, the keyboard can be a mechanical keyboard. By detecting the total number of presses of the keys on the keyboard, when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder can be sent to remind the user to replace the key. The reminding method includes steps S101-S103.

在步骤S101中,获取所述键盘的键位的按压总次数。In step S101, the total number of press times of keys of the keyboard is acquired.

具体的,通过相应的传感器进行侦测,获取所述键盘的每一个键位的按压总次数。比如,当侦测都某一键位进行了按压时,则把该键位的按压总次数加1。Specifically, the corresponding sensors are used to detect and obtain the total number of presses of each key of the keyboard. For example, when it is detected that a key has been pressed, the total number of presses of the key is increased by 1.

在步骤S102中,若存在第一键位的按压总次数超过第一预设阈值,则根据所述按压总次数生成提醒指令。In step S102, if the total number of presses of the first key exceeds a first preset threshold, a reminder instruction is generated according to the total number of presses.

具体的,若在所述键盘的键位中存在第一键位,该第一键位的按压总次数超过了第一预设阈值,则判断为该第一键位使用时间过长,需要进行更换,此时,根据所述第一键位的按压总次数生成提醒指令。其中,该第一预设阈值根据键盘的材质、结构会有所不同,该第一预设阈值可以在出厂时进行预设。比如,可以是500万次,也可以是1000万次,也可以是250万次,本发明实施例并不以此为限。Specifically, if there is a first key among the keys of the keyboard, and the total number of presses of the first key exceeds the first preset threshold, it is determined that the first key has been used for too long, and it is necessary to perform Instead, at this time, a reminder instruction is generated according to the total number of presses of the first key. Wherein, the first preset threshold will be different according to the material and structure of the keyboard, and the first preset threshold can be preset at the factory. For example, it may be 5 million times, 10 million times, or 2.5 million times, which is not limited in this embodiment of the present invention.

在步骤S103中,根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。In step S103, a reminder is issued according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders.

具体的,根据生成的提醒指令发出相应的提醒,其中,所述提醒可以为多种形式,包括发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。比如,可以是通过该第一键位的背光显示发光提醒,也可以是整个键盘输出震动提醒,还可以是键盘发出声音提醒。在其他实施方式中,还可以是通过与键盘连接的终端发出相应的文字提醒、语音提醒等,本发明实施例并不以此为限。Specifically, a corresponding reminder is issued according to the generated reminder instruction, wherein the reminder can be in various forms, including one or more of light reminders, vibration reminders, text reminders, and sound reminders. For example, the backlight of the first key may be used to display a luminous reminder, or the entire keyboard may output a vibration reminder, or the keyboard may emit a sound reminder. In other implementation manners, corresponding text reminders, voice reminders, etc. may also be issued through a terminal connected to the keyboard, which is not limited in this embodiment of the present invention.

上述可知,本发明实施例中的提醒方法,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。As can be seen from the above, the reminder method in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued to remind the user to replace the key in time. position, to avoid failure of the key position, and monitor the usage of the keyboard key position to make it more intelligent for users to use and improve user experience.

图2为本发明实施例提供的一种提醒方法第二实施例的流程图。对比图1所示的第一实施例,本实施例中,该提醒方法进一步包括获取按压次数以及生成提醒指令的步骤,该提醒方法包括步骤S201-S206。FIG. 2 is a flowchart of a second embodiment of a reminder method provided by an embodiment of the present invention. Compared with the first embodiment shown in FIG. 1 , in this embodiment, the reminding method further includes the steps of acquiring the number of presses and generating a reminding instruction, and the reminding method includes steps S201-S206.

在步骤S201中,侦测所述键盘的键位的轴的按压。In step S201, the pressing of the axis of the key of the keyboard is detected.

具体的,通过设置在键盘键位下方的传感器侦测键位的轴的按压。本实施例中,所述键盘优选为机械键盘,机械键盘的每一颗键位都有一个单独的开关来控制闭合,这个开关被称为“轴”,通过侦测轴的按压来判断是否按压该相应的键位。Specifically, the pressing of the axis of the key is detected by a sensor arranged under the key of the keyboard. In this embodiment, the keyboard is preferably a mechanical keyboard. Each key of the mechanical keyboard has a separate switch to control the closing. the corresponding keys.

在步骤S202中,若所述键位的轴的按压超过预设的程度,则记录为一次按压。In step S202, if the axis of the key is pressed beyond a preset level, it is recorded as a press.

具体的,当键位的轴的按压超过预设的程度时,记录为以此按压。通过设置预设的程度,能避免一部分误触,从而更加精确的进行判断。Specifically, when the axis of the key is pressed beyond a preset level, it is recorded as being pressed. By setting the preset degree, a part of false touches can be avoided, so as to judge more accurately.

在步骤S203中,在所述键位的按压总次数上加1。In step S203, add 1 to the total number of press times of the key.

具体的,当侦测到进行了一个键位的按压之后,则在所述键位的按压总次数上加1。可以理解的是,本实施例中,是针对键盘上的每一个键位都进行按压总次数的统计。在获取了每个键位的按压总次数之后,将按压总次数与预设的值进行比较,若存在某一键位的按压总次数超过第一预设阈值,则进入步骤S204中;若存在某一键位的按压总次数超过第二预设阈值,则进入步骤S205中。Specifically, when it is detected that a key has been pressed, 1 is added to the total number of presses of the key. It can be understood that, in this embodiment, statistics are performed on the total number of presses for each key on the keyboard. After obtaining the total number of presses of each key, compare the total number of presses with the preset value, if there is a total number of presses of a certain key that exceeds the first preset threshold, then enter step S204; if there is If the total number of times of pressing a certain key exceeds the second preset threshold, the process enters step S205.

在步骤S204中,若所述第一键位的按压总次数超过第一预设阈值,则获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率。In step S204, if the total number of presses of the first key exceeds the first preset threshold, the position information of the first key is obtained, and a reminder instruction is generated according to the location information, and the reminder instruction includes: It is used to control the light-emitting color and light-emitting frequency of the indicator light corresponding to the key.

具体的,当第一键位的按压总次数超过第一预设阈值时,采取发光提醒的模式,此时根据第一键位的位置信息,生成提醒指令,此时的提醒指令包括用于控制所述键位对应的指示灯的发光颜色以及发光频率。可以理解的是,提醒指令中对应的发光颜色与正常情况下键盘按键的背光颜色不相同,以区别显示出该第一键位。Specifically, when the total number of presses of the first key exceeds the first preset threshold, a light-emitting reminder mode is adopted. At this time, a reminder instruction is generated according to the position information of the first button, and the reminder instruction at this time includes information for controlling The light-emitting color and light-emitting frequency of the indicator light corresponding to the key position. It can be understood that the corresponding luminescent color in the reminder command is different from the backlight color of the keyboard keys in normal conditions, so as to distinguish and display the first key position.

在步骤S205中,若所述第一键位的按压总次数超过第二预设阈值,则获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。In step S205, if the total number of presses of the first key exceeds a second preset threshold, the description information of the first key is obtained, and a reminder instruction is generated according to the description information, and the reminder instruction includes: Voice information including the description information and a sound frequency.

具体的,当第一键位的按压总次数超过第二预设阈值时,采取声音提醒的模式,此时获取第一键位的描述信息,所述描述信息是指该第一键位的按键名称,比如字母W键或者空格键等。可以理解的是,当按键存在两个时,比如ctrl键或者alt键,描述信息上面还可以包括具体的位置,比如左侧的ctrl键或者小键盘区域的enter键等,本发明实施例并不以此为限。在获取到描述信息了之后,根据所述描述信息生成提醒指令,其中,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。所述语音信息是指包含所述描述信息的一段语音,比如可以是:左侧ctrl键需要更换,发声频率是指语音信息的播放频率,比如可以是一天一次或者是一周一次等。Specifically, when the total number of presses of the first key exceeds the second preset threshold, the sound reminder mode is adopted, and the description information of the first key is obtained at this time, and the description information refers to the key of the first key. Name, such as the letter W key or space bar, etc. It can be understood that when there are two keys, such as the ctrl key or the alt key, the description information may also include a specific position, such as the ctrl key on the left or the enter key in the small keyboard area, etc., the embodiment of the present invention does not This is the limit. After the description information is acquired, a reminder instruction is generated according to the description information, wherein the reminder instruction includes: voice information including the description information and a sound frequency. The voice information refers to a section of voice containing the description information, for example, it may be: the left ctrl key needs to be replaced, and the sound frequency refers to the playback frequency of the voice information, such as once a day or once a week.

在步骤S206中,根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。In step S206, a reminder is issued according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders.

具体的,根据按压总次数的不同,发出的提醒可以不同。如步骤S204和步骤S205中所述,当按压总次数超过第一预设阈值时,采用发光提醒;当按压总次数超过第二预设阈值时,采用语音提醒,在本实施例中,第二预设阈值大于第一预设阈值,此时表面该第一键位的按压次数已经很多,已经急需更换,因此采用更加能吸引用户注意的语音提醒的方式。可以理解的是,当采用语音提醒时,表面该第一键位之前已经进行了发光提醒,而并没有得到相应的更换。在其他实施方式中,还可以采取其他提醒方式,比如震动提醒或者文字提醒。比如可以是整个键盘输出震动,或者通过与键盘连接的终端发出相应的文字提醒。Specifically, depending on the total number of presses, different reminders can be issued. As described in step S204 and step S205, when the total number of presses exceeds the first preset threshold, a light-emitting reminder is used; when the total number of presses exceeds the second preset threshold, a voice reminder is used. In this embodiment, the second The preset threshold is greater than the first preset threshold. At this time, the first key has been pressed many times and needs to be replaced urgently. Therefore, a voice reminder that can attract the user's attention is adopted. It can be understood that when the voice reminder is used, the first key position has already been illuminated to remind, but has not been replaced accordingly. In other implementation manners, other reminder methods may also be adopted, such as vibration reminder or text reminder. For example, the entire keyboard may output vibration, or a corresponding text reminder may be sent through a terminal connected to the keyboard.

上述可知,本发明实施例中的提醒方法,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,并根据按压总次数的不同发出不同的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。As can be seen from the above, the reminder method in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued, and according to the difference in the total number of presses Send out different reminders to remind the user to replace the key in time to avoid failure of the key. By monitoring the usage of the keyboard key, it can be more intelligent and convenient for the user to use and improve the user experience.

图3为本发明实施例提供的一种提醒方法第三实施例的流程图。对比图1所示的第一实施例,在本实施例中,还包括提醒用户可供更换的第二键位的步骤。该提醒方法包括步骤S301-S305。其中,步骤S301-S303与第一实施例中步骤S101-S103相同,在此不赘述。可以理解的是,本实施例中提醒用户可供更换的第二键位的步骤也可以应用到图2所示的第二实施例中。FIG. 3 is a flow chart of a third embodiment of a reminder method provided by an embodiment of the present invention. Compared with the first embodiment shown in FIG. 1 , in this embodiment, a step of reminding the user of the second key position available for replacement is further included. The reminding method includes steps S301-S305. Wherein, steps S301-S303 are the same as steps S101-S103 in the first embodiment, and will not be repeated here. It can be understood that the step of reminding the user of the second key position that can be replaced in this embodiment can also be applied to the second embodiment shown in FIG. 2 .

在步骤S301中,获取所述键盘的键位的按压总次数。In step S301, the total number of press times of keys of the keyboard is obtained.

在步骤S302中,若存在第一键位的按压总次数超过第一预设阈值,则根据所述按压总次数生成提醒指令。In step S302, if the total number of presses of the first key exceeds a first preset threshold, a reminder instruction is generated according to the total number of presses.

在步骤S303中,根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。In step S303, a reminder is issued according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders.

在步骤S304中,获取按压总次数最少的第二键位。In step S304, the second key position with the least number of presses is acquired.

具体的,获取键盘所有键位中按压总次数最少的第二键位,由于键盘上按键的使用频率不同,有的键位的使用频率较低,按压总次数也会较少,比如位于键盘上方的F1-F12,使用频率就会比字母键位低。通过统计每个键位的按压总次数,获取按压总次数最少的第二键位。Specifically, obtain the second key with the least total number of presses among all the keys on the keyboard. Since the keys on the keyboard have different frequency of use, some keys are used less frequently and the total number of presses will be less, for example, they are located above the keyboard. F1-F12, the frequency of use will be lower than the letter keys. By counting the total number of presses of each key, the second key with the least total number of presses is obtained.

在步骤S305中,根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。In step S305, a replacement reminder is generated according to the position information of the second key, the replacement reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders, and the replacement reminder is used for Remind to swap the first key position and the second key position.

具体的,根据第二键位的位置信息生成更换提示,用于提醒用户进行第一键位和第二键位的互换。可以理解的是,所述更换是指更换第一键位和第二键位内部的相应结构,比如轴等,从而达到延长键位使用寿命的目的。在本实施方式中,更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或者多种。比如,可以是通过该第一键位以及第二键位的背光显示发光提醒,也可以是整个键盘输出震动提醒,还可以是键盘发出声音提醒。在其他实施方式中,还可以是通过与键盘连接的终端发出相应的文字提醒、语音提醒等,本发明实施例并不以此为限。Specifically, a replacement prompt is generated according to the position information of the second key, for reminding the user to exchange the first key with the second key. It can be understood that the replacement refers to replacing the corresponding structures inside the first key and the second key, such as shafts, so as to achieve the purpose of prolonging the service life of the key. In this embodiment, the replacement reminder includes: one or more of light reminder, vibration reminder, text reminder and sound reminder. For example, the backlight of the first key and the second key may be used to display a luminous reminder, or the entire keyboard may output a vibration reminder, or the keyboard may emit a sound reminder. In other implementation manners, corresponding text reminders, voice reminders, etc. may also be issued through a terminal connected to the keyboard, which is not limited in this embodiment of the present invention.

上述可知,本发明实施例中的提醒方法,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,并获取按压总次数最少的按键,以提醒用户及时更换相应的键位,延长键盘的使用寿命,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。As can be seen from the above, the reminder method in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued, and the key with the least total number of presses is obtained. key to remind the user to replace the corresponding key in time, prolong the service life of the keyboard, and avoid the failure of the key. By monitoring the use of the keyboard key, it can be more intelligent and convenient for the user to use and improve the user experience.

图4为本发明实施例提供的一种提醒方法第四实施例的流程图。对比图1所示的第一实施例,在本发明实施例中,进一步包括统计键位的使用频率的步骤,该提醒方法包括步骤S401-S407。其中,步骤S401-S403与第一实施例中步骤S101-S103相同,在此不赘述。可以理解的是,本实施例中统计键位的使用频率的步骤也可以应用于图2或者图3所示的实施例中。FIG. 4 is a flowchart of a fourth embodiment of a reminder method provided by an embodiment of the present invention. Compared with the first embodiment shown in FIG. 1 , in the embodiment of the present invention, the step of counting the usage frequency of keys is further included, and the reminding method includes steps S401-S407. Wherein, steps S401-S403 are the same as steps S101-S103 in the first embodiment, and will not be repeated here. It can be understood that the step of counting the usage frequency of keys in this embodiment can also be applied to the embodiment shown in FIG. 2 or FIG. 3 .

在步骤S401中,获取所述键盘的键位的按压总次数。In step S401, the total number of press times of keys of the keyboard is obtained.

在步骤S402中,若存在第一键位的按压总次数超过第一预设阈值,则根据所述按压总次数生成提醒指令。In step S402, if the total number of presses of the first key exceeds a first preset threshold, a reminder instruction is generated according to the total number of presses.

在步骤S403中,根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。In step S403, a reminder is issued according to the reminder instruction, and the reminder includes: one or more of a light reminder, a vibration reminder, a text reminder, and a sound reminder.

在步骤S404中,在预设时段内统计所述键盘的键位的按压总次数。In step S404, the total number of times of pressing the keys of the keyboard is counted within a preset period of time.

具体的,根据预设的时段,在该时段内统计键位的按压总次数,所述预设的时段可以由用户或者出厂设置,比如可以是一周或者一月。Specifically, according to a preset time period, the total number of key presses is counted within the time period, and the preset time period can be set by a user or a factory, for example, it can be one week or one month.

在步骤S405中,根据所述按压总次数获取所述键盘的键位的使用频率。In step S405, the frequency of use of the keys of the keyboard is acquired according to the total number of times of pressing.

具体的,根据按压总次数获取该预设时段内每个键位的使用频率,总次数越高,则表明该键位对应的使用频率越高。Specifically, the frequency of use of each key within the preset period is obtained according to the total number of presses, and the higher the total number of times, the higher the frequency of use corresponding to the key.

在步骤S406中,根据所述使用频率对所述键位进行排序;获取使用频率高的至少一个键位。In step S406, the keys are sorted according to the frequency of use; at least one key with high frequency of use is obtained.

具体的,根据获取的使用频率对键位进行排序,获取频率高的至少一个键位。比如,若用户经常打字,则可能频率高的键位为相应的字母键;若用户经常玩游戏,则可能频率高的键位为方向键以及WASD键;若用户经常用于数字处理,则可能频率高的为小键盘区域的数字键。在其他实施方式中,若键盘应用于手机上,则可能频率高的键位可以是home键或者返回键。Specifically, the keys are sorted according to the obtained frequency of use, and at least one key with a high frequency is obtained. For example, if the user often types, the key with high frequency may be the corresponding letter key; if the user often plays games, the key with high frequency may be the direction key and WASD key; if the user often uses number processing, it may be The ones with the highest frequency are the number keys in the small keyboard area. In other implementation manners, if the keyboard is applied to a mobile phone, the key with a high frequency may be a home key or a return key.

在步骤S407中,根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。In step S407, the characteristic parameter is generated according to the at least one key position, and the characteristic parameter is sent to a preset server.

具体的,根据所述频率高的至少一个键位生成特性参数,并将所述特性参数发送至预设的服务器。所述服务器可以是由键盘的生产厂商设置,通过统计键盘键位的特性参数,从而可以有针对性的设置相应键位的结构,以延长键盘的使用寿命。通过统计键位的特性参数,便于更加精确的设计满足用户需求的键盘。Specifically, a characteristic parameter is generated according to at least one key with a high frequency, and the characteristic parameter is sent to a preset server. The server may be set up by the keyboard manufacturer, and by counting the characteristic parameters of the keyboard keys, the structure of the corresponding keys can be set in a targeted manner to prolong the service life of the keyboard. Through the statistics of the characteristic parameters of the keys, it is convenient to more accurately design a keyboard that meets the user's needs.

上述可知,本发明实施例中的提醒方法,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。此外,通过侦测一段时间内的键位使用频率,并发送至相应的服务器,还能够方便对应的厂商进行统计,便于改进。As can be seen from the above, the reminder method in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued to remind the user to replace the key in time. position, to avoid failure of the key position, and monitor the usage of the keyboard key position to make it more intelligent for users to use and improve user experience. In addition, by detecting the key usage frequency within a period of time and sending it to the corresponding server, it is also convenient for the corresponding manufacturer to make statistics and facilitate improvement.

为便于更好的实施本发明实施例的上述方案,下面还提供用于配合实施上述方案的相关装置。In order to facilitate better implementation of the above solutions in the embodiments of the present invention, related devices for coordinating the implementation of the above solutions are also provided below.

图5为本发明实施例提供的一种提醒装置第一实施例的结构示意图,该提醒装置应用于键盘,该键盘可以设置于电脑上,也可以是手机上的按键。优选的,该键盘可以为机械键盘。通过侦测该键盘上的键位的按压总次数,当存在某一键位的按压总次数超过预设阈值时,可以发出相应的提醒,提醒用户更换该按键。FIG. 5 is a schematic structural diagram of a first embodiment of a reminder device provided by an embodiment of the present invention. The reminder device is applied to a keyboard, and the keyboard can be set on a computer or a key on a mobile phone. Preferably, the keyboard can be a mechanical keyboard. By detecting the total number of presses of the keys on the keyboard, when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder can be sent to remind the user to replace the key.

该提醒装置包括:The reminder device includes:

获取模块501,用于获取所述键盘的键位的按压总次数;An acquisition module 501, configured to acquire the total number of presses of keys of the keyboard;

生成模块502,用于当存在第一键位的按压总次数超过第一预设阈值时,根据所述按压总次数生成提醒指令;A generating module 502, configured to generate a reminder instruction according to the total number of presses when the total number of presses of the first key exceeds a first preset threshold;

提醒模块503,用于根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。The reminder module 503 is configured to issue a reminder according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders.

可以理解的是,本实施例的装置的各组成部分的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再进行赘述。It can be understood that the functions of the various components of the device in this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, and will not be repeated here.

上述可知,本发明实施例中的提醒装置,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。As can be seen from the above, the reminder device in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued to remind the user to replace the key in time. position, to avoid failure of the key position, and monitor the usage of the keyboard key position to make it more intelligent for users to use and improve user experience.

可选的,在其他实施方式中,所述获取模块501可进一步包括:Optionally, in other implementation manners, the obtaining module 501 may further include:

侦测单元,用于侦测所述键盘的键位的轴的按压;a detection unit for detecting the pressing of the key axis of the keyboard;

记录单元,用于当所述键位的轴的按压超过预设的程度时,记录为一次按压;A recording unit, configured to record as a press when the press of the axis of the key exceeds a preset level;

统计单元,用于在所述键位的按压总次数上加1。The statistical unit is used to add 1 to the total number of press times of the key.

可选的,在其他实施方式中,所述生成模块502可进一步包括:Optionally, in other implementation manners, the generating module 502 may further include:

第一生成单元,用于当所述第一键位的按压总次数超过第一预设阈值时,获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率;A first generating unit, configured to obtain position information of the first key when the total number of presses of the first key exceeds a first preset threshold, and generate a reminder instruction according to the position information, the reminder instruction Including: used to control the light-emitting color and light-emitting frequency of the indicator light corresponding to the key position;

第二生成单元,用于当所述第一键位的按压总次数超过第二预设阈值时,获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。A second generating unit, configured to obtain description information of the first key when the total number of presses of the first key exceeds a second preset threshold, and generate a reminder instruction according to the description information, the reminder instruction Including: the voice information including the description information and the sounding frequency.

可选的,在其他实施方式中,如图6所示,为本发明实施例提供的一种提醒装置第二实施例的结构示意图,相对于图5所示的第一实施例,在本实施例中,所述获取模块501还用于获取按压总次数最少的第二键位;Optionally, in other implementation manners, as shown in FIG. 6 , it is a schematic structural diagram of a second embodiment of a reminding device provided by an embodiment of the present invention. Compared with the first embodiment shown in FIG. 5 , in this embodiment In an example, the obtaining module 501 is also used to obtain the second key position with the least total number of presses;

所述装置还包括提示模块504,用于根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。The device also includes a prompt module 504, configured to generate a replacement prompt according to the position information of the second key position, and the replacement prompt includes: one or more of light-emitting reminders, vibration reminders, text reminders, and sound reminders, The replacement prompt is used to remind the exchange of the first key position and the second key position.

上述可知,本发明实施例中的提醒装置,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,并获取按压总次数最少的按键,以提醒用户及时更换相应的键位,延长键盘的使用寿命,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。As can be seen from the above, the reminder device in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold value, it sends out a corresponding reminder, and obtains the key with the least total number of presses. key to remind the user to replace the corresponding key in time, prolong the service life of the keyboard, and avoid the failure of the key. By monitoring the use of the keyboard key, it can be more intelligent and convenient for the user to use and improve the user experience.

可选的,在其他实施方式中,如图7所示,为本发明实施例提供的一种提醒装置第三实施例的结构示意图,相对于图5所示的第一实施例,在本实施例中,所述获取模块501还用于在预设时段内统计所述键盘的键位的按压总次数,根据所述按压总次数获取所述键盘的键位的使用频率,根据所述使用频率对所述键位进行排序,获取使用频率高的至少一个键位;Optionally, in other implementation manners, as shown in FIG. 7 , it is a schematic structural diagram of a third embodiment of a reminding device provided by an embodiment of the present invention. Compared with the first embodiment shown in FIG. 5 , in this embodiment In an example, the obtaining module 501 is further configured to count the total number of presses of the keys of the keyboard within a preset period of time, obtain the frequency of use of the keys of the keyboard according to the total number of presses, and obtain the frequency of use of the keys of the keyboard according to the frequency of use Sorting the keys to obtain at least one key with high usage frequency;

所述装置还包括发送模块505,用于根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。The device further includes a sending module 505, configured to generate a characteristic parameter according to the at least one key position, and send the characteristic parameter to a preset server.

上述可知,本发明实施例中的提醒装置,通过获取键盘的键位的按压总次数,当某一键位的按压总次数超过预设阈值时,发出相应的提醒,以提醒用户及时更换该键位,避免该键位出现故障,通过监控键盘键位的使用情况能够更加智能的便于用户使用,提升用户体验。此外,通过侦测一段时间内的键位使用频率,并发送至相应的服务器,还能够方便对应的厂商进行统计,便于改进。As can be seen from the above, the reminder device in the embodiment of the present invention obtains the total number of presses of the keys of the keyboard, and when the total number of presses of a certain key exceeds the preset threshold, a corresponding reminder is issued to remind the user to replace the key in time. position, to avoid failure of the key position, and monitor the usage of the keyboard key position to make it more intelligent for users to use and improve user experience. In addition, by detecting the key usage frequency within a period of time and sending it to the corresponding server, it is also convenient for the corresponding manufacturer to make statistics and facilitate improvement.

本发明实施例还提供了一种键盘,所述键盘可以包括如图5-图7所示的提醒装置,可应用图1-图4所示的提醒方法。An embodiment of the present invention also provides a keyboard, which may include a reminder device as shown in FIGS. 5-7 , and the reminder method shown in FIGS. 1-4 may be applied.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例装置中的模块、单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。The modules and units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. Those skilled in the art may combine or combine different embodiments and features of different embodiments described in this specification.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Take this as an example but not limited to: computer-readable media may include Random Access Memory (Random Access Memory, RAM), Read-Only Memory (Read-Only Memory, ROM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read -Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store information in the form of instructions or data structures desired program code and any other medium that can be accessed by a computer. also. Any connection can suitably be a computer-readable medium. For example, if the Software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are then included in the fixation of the associated medium. As used herein, Disk and disc include compact disc (CD), laser disc, compact disc, digital versatile disc (DVD), floppy disc, and Blu-ray disc, where discs usually reproduce data magnetically, and discs Lasers are used to optically reproduce the data. Combinations of the above should also be included within the scope of computer-readable media.

总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。In a word, the above descriptions are only preferred embodiments of the technical solutions of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种提醒方法,应用于键盘,其特征在于,包括:1. A reminding method, applied to a keyboard, is characterized in that, comprising: 获取所述键盘的键位的按压总次数;Obtain the total number of press times of the keys of the keyboard; 若存在第一键位的按压总次数超过第一预设阈值,则根据所述按压总次数生成提醒指令;根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。If the total number of presses of the first key exceeds the first preset threshold, a reminder instruction is generated according to the total number of presses; a reminder is issued according to the reminder instruction, and the reminder includes: light reminder, vibration reminder, text reminder and One or more of the sound alerts. 2.如权利要求1所述的提醒方法,其特征在于,所述获取所述键盘的键位的按压次数,包括:2. The reminding method according to claim 1, wherein said obtaining the number of presses of the keys of said keyboard comprises: 侦测所述键盘的键位的轴的按压;detecting pressing of an axis of a key of the keyboard; 若所述键位的轴的按压超过预设的程度,则记录为一次按压;If the pressing of the axis of the key exceeds a preset level, it is recorded as a pressing; 在所述键位的按压总次数上加1。Add 1 to the total number of key presses. 3.如权利要求2所述的提醒方法,其特征在于,所述根据所述按压总次数生成提醒指令生成提醒指令,包括:3. The reminder method according to claim 2, wherein said generating a reminder instruction according to said total number of presses to generate a reminder instruction comprises: 若所述第一键位的按压总次数超过第一预设阈值,则获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率;If the total number of presses of the first key exceeds the first preset threshold, the position information of the first key is obtained, and a reminder instruction is generated according to the location information, and the reminder instruction includes: used to control the The light-emitting color and light-emitting frequency of the indicator light corresponding to the key position; 若所述第一键位的按压总次数超过第二预设阈值,则获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。If the total number of presses of the first key exceeds a second preset threshold, the description information of the first key is obtained, and a reminder instruction is generated according to the description information, and the reminder instruction includes: including the description information voice information and sound frequency. 4.如权利要求1所述的提醒方法,其特征在于,还包括:4. The reminder method according to claim 1, further comprising: 获取按压总次数最少的第二键位;Obtain the second key position with the least number of presses; 根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。A replacement reminder is generated according to the position information of the second key, and the replacement reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders, and the replacement reminder is used to remind the first key Bit and second key swap. 5.如权利要求1-4任一项所述的提醒方法,其特征在于,还包括:5. The reminder method according to any one of claims 1-4, further comprising: 在预设时段内统计所述键盘的键位的按压总次数;Counting the total number of presses of the keys of the keyboard within a preset period of time; 根据所述按压总次数获取所述键盘的键位的使用频率;Obtain the frequency of use of the keys of the keyboard according to the total number of presses; 根据所述使用频率对所述键位进行排序;获取使用频率高的至少一个键位;Sort the keys according to the frequency of use; acquire at least one key with high frequency of use; 根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。Generate a characteristic parameter according to the at least one key position, and send the characteristic parameter to a preset server. 6.一种提醒装置,应用于键盘,其特征在于,包括:6. A reminder device applied to a keyboard, characterized in that it comprises: 获取模块,用于获取所述键盘的键位的按压总次数;An acquisition module, configured to acquire the total number of presses of the keys of the keyboard; 生成模块,用于当存在第一键位的按压总次数超过第一预设阈值时,根据所述按压总次数生成提醒指令;A generating module, configured to generate a reminder instruction according to the total number of presses when the total number of presses of the first key exceeds a first preset threshold; 提醒模块,用于根据所述提醒指令发出提醒,所述提醒包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种。The reminder module is configured to issue a reminder according to the reminder instruction, and the reminder includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders. 7.如权利要求6所述的提醒装置,其特征在于,所述获取模块包括:7. The reminding device according to claim 6, wherein the acquisition module comprises: 侦测单元,用于侦测所述键盘的键位的轴的按压;a detection unit for detecting the pressing of the key axis of the keyboard; 记录单元,用于当所述键位的轴的按压超过预设的程度时,记录为一次按压;A recording unit, configured to record as a press when the press of the axis of the key exceeds a preset level; 统计单元,用于在所述键位的按压总次数上加1。The statistical unit is used to add 1 to the total number of press times of the key. 8.如权利要求7所述的提醒装置,其特征在于,所述生成模块包括:8. The reminder device according to claim 7, wherein the generating module comprises: 第一生成单元,用于当所述第一键位的按压总次数超过第一预设阈值时,获取所述第一键位的位置信息,根据所述位置信息生成提醒指令,所述提醒指令包括:用于控制所述键位对应的指示灯的发光颜色以及发光频率;A first generating unit, configured to obtain position information of the first key when the total number of presses of the first key exceeds a first preset threshold, and generate a reminder instruction according to the position information, the reminder instruction Including: used to control the light-emitting color and light-emitting frequency of the indicator light corresponding to the key position; 第二生成单元,用于当所述第一键位的按压总次数超过第二预设阈值时,获取所述第一键位的描述信息,根据所述描述信息生成提醒指令,所述提醒指令包括:包含所述描述信息的语音信息以及发声频率。A second generating unit, configured to obtain description information of the first key when the total number of presses of the first key exceeds a second preset threshold, and generate a reminder instruction according to the description information, the reminder instruction Including: the voice information including the description information and the sounding frequency. 9.如权利要求6所述的提醒装置,其特征在于,还包括:9. The reminder device according to claim 6, further comprising: 所述获取模块还用于获取按压总次数最少的第二键位;The obtaining module is also used to obtain the second key position with the least total number of presses; 提示模块,用于根据所述第二键位的位置信息生成更换提示,所述更换提示包括:发光提醒、震动提醒、文字提醒以及声音提醒中的一种或多种,所述更换提示用于提醒进行第一键位和第二键位的互换。A prompt module, configured to generate a replacement prompt according to the position information of the second key position, the replacement prompt includes: one or more of light reminders, vibration reminders, text reminders, and sound reminders, and the replacement prompts are used to Remind to swap the first key position and the second key position. 10.如权利要求6-9任一项所述的提醒装置,其特征在于,还包括:10. The reminder device according to any one of claims 6-9, further comprising: 所述获取模块还用于在预设时段内统计所述键盘的键位的按压总次数,根据所述按压总次数获取所述键盘的键位的使用频率,根据所述使用频率对所述键位进行排序,获取使用频率高的至少一个键位;The acquisition module is also used to count the total number of presses of the keys of the keyboard within a preset period of time, acquire the frequency of use of the keys of the keyboard according to the total number of presses, and calculate the frequency of use of the keys according to the frequency of use. Bits are sorted to obtain at least one key with high frequency of use; 发送模块,用于根据所述至少一个键位生成特性参数,将所述特性参数发送至预设的服务器。A sending module, configured to generate a characteristic parameter according to the at least one key position, and send the characteristic parameter to a preset server.
CN201610785879.4A 2016-08-31 2016-08-31 Reminding method and reminding device Pending CN106406554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610785879.4A CN106406554A (en) 2016-08-31 2016-08-31 Reminding method and reminding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610785879.4A CN106406554A (en) 2016-08-31 2016-08-31 Reminding method and reminding device

Publications (1)

Publication Number Publication Date
CN106406554A true CN106406554A (en) 2017-02-15

Family

ID=58000791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610785879.4A Pending CN106406554A (en) 2016-08-31 2016-08-31 Reminding method and reminding device

Country Status (1)

Country Link
CN (1) CN106406554A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329862A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Detection method, device and the terminal of keyboard
CN108124063A (en) * 2017-12-26 2018-06-05 上海展扬通信技术有限公司 A kind of reminding method and relevant device
CN108260248A (en) * 2018-01-12 2018-07-06 广东小天才科技有限公司 Reminding method and device for external microphone of intelligent terminal
CN108399014A (en) * 2018-05-22 2018-08-14 漳州立达信光电子科技有限公司 Control system and keyboard

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329862A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Detection method, device and the terminal of keyboard
CN108124063A (en) * 2017-12-26 2018-06-05 上海展扬通信技术有限公司 A kind of reminding method and relevant device
CN108260248A (en) * 2018-01-12 2018-07-06 广东小天才科技有限公司 Reminding method and device for external microphone of intelligent terminal
CN108399014A (en) * 2018-05-22 2018-08-14 漳州立达信光电子科技有限公司 Control system and keyboard

Similar Documents

Publication Publication Date Title
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
CN103281687A (en) Network flow management method and device of double-card terminal
CN104618222B (en) A kind of method and device for matching facial expression image
CN113939814A (en) Content push method and related product
CN103605656A (en) Music recommendation method and device and mobile terminal
CN103458412A (en) System and method for preventing phone fraud, mobile terminal and cloud terminal analysis server
CN106406554A (en) Reminding method and reminding device
CN102187301B (en) System and method for using sound to differentiate keypresses
JP6305883B2 (en) Notification device, output device, information notification system, control method of notification device, and control program
CN110297621A (en) Method, apparatus, equipment and the storage medium of application message notice management
CN104090884A (en) Method and device for applying dynamic condition of media information to share
CN107678800A (en) Background application method for cleaning, device, storage medium and electronic equipment
CN103699373A (en) Interface color display method, device and system
CN107040955B (en) Power consumption state identification method, device and the electronic equipment of terminal
CN103501487A (en) Method, device, terminal, server and system for updating classifier
CN102567402A (en) Electronic equipment and information processing method
CN107562581A (en) Damage sensor for mobile computing device
CN105550316A (en) Pushing method and device of audio list
CN103605513A (en) Icon processing method, icon processing device and terminal device
CN110868347A (en) Message prompting method, device and system
CN113053332B (en) Backlight brightness adjustment method, device, electronic device and readable storage medium
CN111049679A (en) Server warning method and system
CN106789602B (en) Voice playing control method, terminal and mobile terminal
CN106098058B (en) Tone line generation method and device
CN115766933A (en) Barrier-free mode voice broadcasting method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication