WO2015000290A1 - 一种hid设备一键上网访问的方法及使用该方法的hid设备 - Google Patents

一种hid设备一键上网访问的方法及使用该方法的hid设备 Download PDF

Info

Publication number
WO2015000290A1
WO2015000290A1 PCT/CN2014/070375 CN2014070375W WO2015000290A1 WO 2015000290 A1 WO2015000290 A1 WO 2015000290A1 CN 2014070375 W CN2014070375 W CN 2014070375W WO 2015000290 A1 WO2015000290 A1 WO 2015000290A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
command
hid device
internet access
click
Prior art date
Application number
PCT/CN2014/070375
Other languages
English (en)
French (fr)
Inventor
马洪生
Original Assignee
Ma Hongsheng
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 Ma Hongsheng filed Critical Ma Hongsheng
Publication of WO2015000290A1 publication Critical patent/WO2015000290A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • G06F3/0219Special purpose keyboards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor

Definitions

  • the present invention relates to a method for one-click Internet access and a HID device using the same, in particular, a HID device without driving
  • the method of one-click Internet access and the HID device using the method belong to the field of electronic products and computer peripherals.
  • BACKGROUND OF THE INVENTION Due to the improvement of the network, the demand for Internet access has increased dramatically, prompting the one-click Internet access function.
  • many computers on the market are equipped with a one-click Internet access function, which directly opens the browser by triggering the Internet button; however, these so-called one-click Internet access functions are implemented based on the control of the driver or application software, and the principle is: on the computer A special program is installed to monitor the Internet key action.
  • the program invokes the AP I of the corresponding production system or the related Internet program to start the web browser, or further simulates the input at the focus of the mouse after starting the browser.
  • the content performs the next network action, such as browsing a specific web page, searching for a specified content, and the like.
  • One-click Internet access has been widely praised for its convenience. However, due to the limitations of its driving methods, there is currently no way to enable hardware to implement one-click Internet access without driver or application support. .
  • the traditional one-click Internet connection is just the default browser on the computer system, or the website that loads the browser default URL after launching the browser. It can't really open the specified web page with hardware, let alone select the website.
  • the text string is searched for by a single key network keyword.
  • the Chinese invention patent CN1 02298496 discloses a method for displaying a word webpage by clicking a mouse button action, allowing any Word displayed on a computer screen to be clicked, double-clicked or long-pressed by a mouse button. After Wor dC I ck, the corresponding Wor dPage is displayed in the default browser window.
  • the method can complete the online search of the text keyword through one-click action of the mouse, its execution command is controlled by the software program of the production system, and needs to be started in the process of the operation.
  • HID Human Interface Device
  • USB devices USB devices that directly interacts with people, such as a keyboard, a mouse, and a joystick. In USB devices, the cost of HID devices is lower.
  • a method for one-click Internet access of a HID device includes the following steps: Step 1: The HID device listener monitors whether the HID device's Internet key performs a trigger action.
  • Step 2 When the listener listens to the triggering action of the Internet key, sends a command to the computer to access the specified web address by using the default browser of the system; and then returns to step 1.
  • a method for one-click Internet access of a HID device comprising the following steps: Step 1: The listener of the HID device monitors whether the Internet access key of the HID device performs a triggering action, and Step 2: the listener monitors the When the Internet button triggers the action, the computer sends a command to the computer to access the specified URL with the default selected text search parameter of the current computer using the default browser; and then returns to step 1.
  • the specified web address or the specified web address with the search parameter is data that is solidified or preset in the HID device, and different HID devices can be designed by the designer to specify different access URLs.
  • the last character of the specified web address or the specified web address with the search parameter is a standard keyboard space button character, which is equivalent to pressing a space button when inputting.
  • the command issued by the listener in step 2 is a standard keyboard command containing a specific sequence.
  • the internet button is a button that is set on the HID device set in the HID device, and the triggering action may be a click, a double click, a multi-click, a short press, or a long press. Any kind of button action.
  • the HID device is a wireless or wired computer HID peripheral product, including a mouse, a keyboard, a remote controller, a USB storage disk, a USB dongle, a USB game controller, a USB joystick device, a USB wireless network card, and a USB device.
  • the standard keyboard command issued by the listener in a specific order is: first executing the "run" command of the operating system to open the running window, then executing the keyboard input command and inputting the preset URL, and then executing "carriage return" Command, open a browser and access the default URL.
  • the standard keyboard command issued by the listener in a specific order is: first executing the copy command to copy the default text of the computer, and then executing the "run" command of the system to open the running window, then executing the input command and inputting the pre- Set the URL and search parameters, then paste the copied text by executing the paste command, and then execute the "Enter" command to open the browser to display the web page after searching for the selected text.
  • the listener listens to the trigger action of the Internet key, first sends a combination key command of the win hot key + R letter key to the computer, and then sends the input of the specified URL.
  • the listener listens to the Internet key touch
  • first issue the CTRL key + C letter key combination command to the computer then issue the win hot key + R letter key combination key command, then issue the specified URL and search parameter input command, then issue CTRL key + The key combination command of the V letter key, and finally the return key command
  • the listener listens to the trigger of the Internet key first sends a combination key command of the CTRL key + C letter key to the computer, Secondly, the ALT+F2 key combination command is issued, and the specified URL and the search parameter input command are issued, and then the CTRL key + V letter key combination command is issued, and finally the enter key command is issued.
  • An HID device using the above one-click Internet access method.
  • the monitoring program of the HID device monitors whether the Internet access key of the HID device performs a triggering action, and when the listening program listens to the triggering action of the Internet key
  • the computer issues a command to use the default browser to access the specified URL or to use the default browser to access the specified URL with the computer's default selected text search parameters. Then return to step one.
  • the listener starts and listens to whether the internet key is triggered when the firmware of the HID device is running; when the triggering action of the internet key is detected, the listener uses the standard keyboard channel of the HID device to send a use to the computer.
  • the H I D device does not need to call the computer software when using the one-click Internet access method of the method of the present invention, and all the operations can be independently performed by the HID device.
  • the above method effectively avoids the problem that the prior art system generates an error when executing the command due to the error of the invoked software, so that the H I D device can be plug and play, and the operation is fast and the accuracy is high.
  • the method for one-click Internet access of the HID device according to the present invention before the step one, the specified web address has been solidified or preset in the HID device.
  • Different HID devices can be designed by the designer to specify different access URLs.
  • the last character of the specified URL or the specified URL with search parameters is the standard keyboard space button character, which is equivalent to pressing the space button when inputting.
  • the current one-click Internet access device is a default website set in the default browser in the system, and the website can be arbitrarily modified by the user in the browser program.
  • the listener of the present invention sets the specified URL directly.
  • the website that the user visits when accessing the Internet through the Internet button at any time is a fixed URL preset in the HID device, and there is no need to worry about being tampered with; especially when the user searches for the selected text. There is no error that the default URL does not recognize the input data.
  • the default input method of most users' production system is Chinese Pinyin input
  • most Chinese input methods need to press the space bar after inputting to input the characters into the text box when typing English characters. Adding a space bar character after setting a standard URL or a standard URL with search parameters is to prevent the user's Chinese input method from completing the problem of correctly entering the specified URL or the specified URL with the search parameters.
  • the command issued by the listener in step 3 is a standard keyboard command including a specific sequence.
  • the standard keyboard channel of the HID device is used to issue a standard keyboard command to the computer to open a browser to access the specified web address or a specified web address with access parameters, the listener program.
  • the issued command is consistent with a standard keyboard command recognized by the computer. For example, when the listener issues a shortcut key command, the key signal in the command is issued and the order is the same as the standard keyboard shortcut.
  • the setting is to enable the computer to accurately recognize the command issued by the listener, and complete the operation quickly and without error, and improve the working efficiency of the HID device.
  • the Internet access key is a button of the HID device set in the firmware program set on the HID device, and the triggering action may be a click, Double-click, multi-click, short press, or long press on any of the case actions.
  • the internet button can be set as an existing button on the HID device, or the existing button can be multiplexed through different button actions, and the cost of the HID device is increased without adding a separate button.
  • the triggering action of the Internet key is also set to a common action of the user, which increases the ease of use of the Internet key.
  • the HID device comprises a mouse, a keyboard, a remote controller, a USB storage disk, a USB dongle, a USB game controller, a USB lever device, a USB wireless network card Wireless or wired computer HID peripheral products such as USB TV sticks, USB speakers, USB headsets, USB tablets.
  • the types of the above devices are all common types, and it is convenient for the user to perform one-click Internet access on the computer common production system by using any HID device applying the method of the present invention.
  • the HID device can implement a one-click Internet access function.
  • the second is: first execute the copy command to copy the selected text, then execute the "Run" name to open the run window, then execute the input command and enter the default URL and search parameters, then execute the paste command to paste the copied text, and then execute "back”
  • the car "commands to open the browser and jumps to the web page after searching for the selected text. For example, in the Windows operating system, if the listener listens to the Internet button triggering action, it will first issue a combination key command of the win hotkey + R letter key to the computer, and then issue the input command of the specified web address.
  • the Enter key command is issued; or the combination key command of the CTRL key + C letter key is sent to the computer first, and then the key combination command of the win hot key + R letter key is issued, and the input command of the specified URL and the search parameter is issued. , then issue the CTRL key + V letter key combination command, and finally issue the Enter key command.
  • the listener listens to the trigger of the Internet key, it will first issue a combination key command of the ALT key + F2 key to the computer, and then issue an input command of the specified URL.
  • the Enter key command is issued; or the combination key command of the CTRL key + C letter key is issued to the computer first, followed by the ALT key + F2 key combination command, and then the input command of the specified URL and search parameter is issued, and then CTRL is issued.
  • the key combination command of the key +V letter key, and finally the return key command is issued.
  • FIG. 1 is a basic flowchart of a method for one-click Internet access of a HID device according to the present invention
  • FIG. 2 is a diagram of a method for a one-click Internet access of a HID device according to the present invention.
  • FIG. 3 is a flowchart of a keystroke triggering access to a specified web address function in the system;
  • FIG. 3 is a method for a one-click internet access method of the HID device used in the present invention to implement a one-click trigger search on a specified web address.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The basic flow chart of the method for one-click Internet access of the HID device of the present invention is as shown in FIG.
  • Step 1 The listener of the HID device monitors whether the Internet key of the HID device performs a trigger action.
  • Step 2 When the listener listens to the triggering action of the Internet key, sends a command to the computer to use the default browser to access the specified web address or send the computer to the computer to use the default browser access.
  • the computer defaults to the command to specify the specified URL of the text search parameter; then returns to step one.
  • the HID device can complete the Internet operation by running the above-mentioned program steps, and does not need to rely on the software to implement the one-click Internet access function only by hardware. All of the following embodiments are added based on the above basic steps.
  • Embodiment 1 A method for implementing a one-button trigger access to a specified web address function by using a one-click Internet access method of the HID device of the present invention is shown in FIG. 2 .
  • the listener sets the internet key and the triggering action thereof as a right click of the mouse, and the Baidu homepage is fixed as a specified URL in the mouse.
  • the listener in the mouse central processor monitors whether the Internet button performs a triggering action.
  • the listener in the mouse central processor listens to the triggering action of the internet key, first sends a combination of the win hot key + the R letter key to the computer.
  • the key command opens the running window, and then issues a command to enter the URL of the Baidu homepage on the keyboard.
  • the HID device of the present invention uses a one-click Internet access method to implement a one-click trigger to search for a selected text function on a specified web address.
  • the listener monitors whether the Internet button performs a triggering action - double-clicking F1 1.
  • Embodiment 3 The flow chart of the one-button trigger access to the specified web address function of the one-key internet access method of the HID device of the present invention is shown in FIG. 4 .
  • the listening program in the central processing unit of the USB remote controller sets the Internet key and its triggering action as a short press of the numeric keypad 1 key of the USB remote controller, and sets the designated web address to Yahoo.
  • the listener monitors whether the internet button performs a triggering action.
  • the listening program of the USB remote controller detects the triggering action of the Internet key, first issue a combination key command of the ALT key + F2 key to the computer to open the running window, and then issue an input command of the URL of the Yahoo homepage.
  • the HID device of the present invention uses a one-click Internet access method to implement a one-click trigger to search for a selected text function on a specified web address.
  • the listening program in the central processing chip of the wireless USB mouse sets the Internet key and its triggering action as the 5th button long press of the wireless USB mouse, and sets the specified URL as the search URL with the search parameter "http: // The som.
  • the combination key of the CTRL key + C letter key is first issued to the computer to copy the selected text, and then the combination key command of the ALT key + F2 key is used to open the running window, and then the search is searched.

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)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

本发明涉及一种HID设备一键上网访问的方法及使用该方法的HID设备。所述方法包括如下步骤:步骤一、HID设备的监听程序监听HID设备的上网键是否执行了触发动作;步骤二、所述监听程序监听到所述上网键的触发动作时向计算机发出使用操作系统默认浏览器访问指定网址的操作命令或使用操作系统默认浏览器访问带有当前计算机默认选定文本搜索参数的指定网址的操作命令;然后返回步骤一。所述 HID 设备在运用本发明所述的方法进行的一键上网操作时无需再调用计算机软件,所有操作都能由HID设备独立完成。

Description

一种 H I D设备一键上网访问的方法及使用该方法的 H I D设备 技术领域 本发明涉及一种一键上网访问的方法及使用该方法的 H I D设备,具体是 一种 H I D设备在无需驱动的情况下一键上网访问的方法及使用该方法的 H I D 设备, 属于电子产品与计算机外设领域。 背景技术 由于网络的日益完善, 人们对上网的需求量急剧增加, 促使一键上网功 能应运而生。 目前市面上很多计算机都配有一键上网功能, 其通过触发上网 键直接打开浏览器;但这些所谓的一键上网功能都是基于驱动程序或应用软 件的控制而实现的,其原理是:计算机上安装有专用的程序监控上网键动作, 上网键触发后由所述程序调用相应的搡作系统的 AP I 或相关的上网程序启 动网页浏览器,或进一步在启动浏览器后在鼠标焦点位置模拟输入内容进行 下一步的网路搡作动作, 如浏览具体网页, 搜索指定内容等。 一键上网搡作 给人们带来的便捷已经被广为推崇, 但由于其驱动方法的限制, 目前没有任 何一种方法能够让硬件在没有驱动程序或应用程序支持的状态下实现一键 上网功能。 传统的一键上网仅仅是打开计算机搡作系统上默认的浏览器,或更进一 步在启动浏览器后加载浏览器默认网址的网站,并不能真正用硬件打开指定 的网页, 更妄论对选定的文本字符串通过一键进行网络关键字搜索。 以上缺 陷很大程度的局限了一键上网方法的便捷性。在现有技术中, 中国发明专利 CN1 02298496 公开了一种通过鼠标按键动作进行词语点击显示词语网页的 方法, 可以让电脑屏幕显示的任意一个 Word , 通过鼠标按键的单击、 双击 或长按动作进行 Wor dC I i ck后,在默认浏览器窗口中显示出相应的 Wor dPage。 该方法虽然能够通过鼠标的一键动作完成文本关键字的上网搜索,但它的执 行命令还是由搡作系统的软件程序来控制发出,在搡作过程中需要启动相关 软件, 无法做到鼠标的即插即用; 而且由于无法预知在调用软件的过程中搡 作系统是否会出现未知错误, 故加大了搡作系统在执行命令时错误的风险, 此外由于受到软件兼容性的限制,在不同的搡作系统上该一键上网的方式也 存在运行不稳定或不能正常运行的问题。 在计算机的外设中, 多数为 HID设备, HID (Human Interface Device, 人机接口设备)是 USB设备中常用的设备类型,是直接与人交互的 USB设备, 例如键盘、 鼠标与游戏杆等。 在 USB设备中, HID设备的成本较低。 只要符 合 HID类別规范的设备都是 HID设备,搡作系统对标准的 HID类型 USB设备 都可以支持。 发明内容 本发明所要解决的是现有技术中需要依赖安装在搡作系统上的软件才 能实现一键上网功能的技术问题,从而提供一种 H I D设备一键上网访问的方 法及使用该方法的 HID设备。 为解决上述技术问题, 本发明是通过以下技术方案实现的: 一种 H I D设备一键上网访问的方法, 包括如下步驟: 步驟一、 HID设备的监听程序监听 HID设备的上网键是否执行了触发动 作, 步驟二、 所述监听程序监听到所述上网键的触发动作时, 向计算机发出 使用搡作系统默认浏览器访问指定网址的搡作命令; 然后返回步驟一。 一种 HID设备一键上网访问的方法, 其特征在于, 包括如下步驟: 步驟一、 HID设备的监听程序监听 HID设备的上网键是否执行了触发动 作, 步驟二、 所述监听程序监听到所述上网键的触发动作时, 向计算机发出 使用搡作系统默认浏览器访问带有当前计算机默认选定文本搜索参数的指 定网址的搡作命令; 然后返回步驟一。 优选的是, 指定网址或带有搜索参数的指定网址是固化或预设在 HID设 备中的数据, 不同的 HID设备可以由设计方设计不同指定访问网址。 优选的是, 所述指定网址或带有搜索参数的指定网址最后一个字符为标 准键盘空格按键字符, 在输入时相当于按下空格按键。 优选的是, 步驟二中所述监听程序发出的所述搡作命令为包含一组特定 顺序的标准键盘搡作命令。 优选的是, 所述上网键为设置在 HID设备 fir隱 are程序中设定的 HID 设备上的某一按键, 所述触发动作可以是单击、 双击、 多击、 短按或长按中 的任一种按键动作。 优选的是, 所述 HID设备为无线或有线的计算机 HID外设产品, 包括鼠 标、 键盘、 遥控器、 USB存储盘、 USB加密狗、 USB游戏手柄, USB搡纵杆设 备, USB无线网卡、 USB电视棒、 USB音箱、 USB耳机或 USB手写板。 优选的是, 所述监听程序发出的特定顺序的标准键盘搡作命令为: 首先 执行搡作系统 "运行"命令打开运行窗口, 然后执行键盘输入命令并输入预 设网址, 然后执行 "回车"命令, 打开浏览器并访问预设网址。 优选的是, 所述监听程序发出的特定顺序的标准键盘搡作命令为: 首先 执行复制命令复制计算机默认选中文本, 然后执行搡作系统 "运行"命令打 开运行窗口, 之后执行输入命令并输入预设网址及搜索参数, 再执行粘贴命 令粘贴所复制的文本, 再执行 "回车"命令打开浏览器显示对所述选中文本 搜索后的网页。 优选的是, 在 w i ndows搡作系统下, 所述监听程序监听到所述上网键触 发动作时, 向计算机首先发出 win热键 +R字母键的组合键命令, 再发出所述 指定网址的输入命令, 最后发出回车键命令; 在 Linux搡作系统下, 所述监 听程序监听到所述上网键触发时, 向计算机首先发出 ALT键 +F2键的组合键 命令, 再发出所述指定网址的输入命令, 最后发出回车键命令。 优选的是, 在 w i ndows搡作系统下, 所述监听程序监听到所述上网键触 发时, 向计算机首先发出 CTRL键 +C字母键的组合键命令, 其次发出 win热 键 +R字母键的组合键命令, 再发出所述指定网址和搜索参数的输入命令, 然 后发出 CTRL键 +V字母键的组合键命令, 最后发出回车键命令; 在 Linux搡 作系统下, 所述监听程序监听到所述上网键触发时, 向计算机首先发出 CTRL 键 +C字母键的组合键命令, 其次发出 ALT键 +F2的组合键命令, 再发出所述 指定网址和搜索参数的输入命令,然后发出 CTRL键 +V字母键的组合键命令, 最后发出回车键命令。 一种使用上述一键上网访问方法的 HID设备。 本发明的上述技术方案相比现有技术具有以下优点:
(1) 本发明所述的 HID设备一键上网访问的方法, HID设备的监听程 序监听 HID设备的上网键是否执行了触发动作,当所述监听程序监听到所述 上网键的触发动作时向计算机发出使用搡作系统默认浏览器访问指定网址 的搡作命令或使用搡作系统默认浏览器访问带有计算机默认选定文本搜索 参数的指定网址的搡作命令。然后返回步驟一。所述监听程序在 HID设备的 Firmware 运行时启动并监听所述上网键是否触发; 当监听到所述上网键的 触发动作时,所述监听程序使用 HID设备的标准键盘通道向计算机发出使用 搡作系统默认浏览器访问指定网址或带有访问参数的指定网址的系列的搡 作命令。 H I D设备在运用本发明的方法进行的一键上网搡作时无需再调用计 算机软件,所有搡作都能由 HID设备独立完成。上述方法有效避免了现有技 术中因调用的软件出错误导致搡作系统执行命令时产生错误的问题,让 H I D 设备做到即插即用, 搡作快速、 准确率高。
(2) 本发明所述的 HID设备一键上网访问的方法, 在所述步驟一之前 指定网址已经固化或预设在 HID设备中。不同的 HID设备可以由设计方设计 不同指定访问网址,指定网址或带有搜索参数的指定网址最后一个字符为标 准键盘空格按键字符,在输入时相当于按下空格按键。 目前的一键上网设备 一键打开网页都是搡作系统中默认浏览器中设置的默认网站,该网站可以被 用户在浏览器程序中任意修改。而本发明所述的监听程序将指定网址直接设 置存储在程序里,使用户在任何时候通过所述上网键上网时访问的网站都是 预设在 HID设备中的固定网址,不用担心被篡改;尤其是用户在对选定文本 进行搜索时, 不会发生默认网址无法识別输入数据的错误。 因为大部分用户 的搡作系统的默认输入法是中文拼音输入,而绝大部分的中文输入法在键入 英文字符时需要在输入完成后按下空格键才能将所述字符输入文本框中,所 以设置在标准网址或带有搜索参数的标准网址后添加空格键字符是为了避 免用户的中文输入法不能完成将所述指定网址或带有搜索参数的指定网址 正确输入的问题。
(3) 本发明所述的 HID设备一键上网访问的方法, 步驟三中所述监听 程序发出的所述搡作命令为包含一组特定顺序的标准键盘搡作命令。当所述 监听程序监听到上网键的触发动作时,会使用 HID设备的标准键盘通道向计 算机发出打开浏览器访问指定网址或带有访问参数的指定网址的系列的标 准键盘指令,所述监听程序发出的所述指令与计算机能识別的标准键盘指令 一致,例如在所述监听程序发出快捷键搡作指令时, 发出指令中的按键信号 及其顺序都与标准的键盘快捷键相同。这样设置是为了使计算机能够准确的 识別出所述监听程序发出的搡作指令,迅速无误地完成搡作, 同时提高所述 HID设备的工作效率。
(4) 本发明所述的 HID设备一键上网访问的方法中所述上网键为设置 在 HID设备上的 firmware程序中设定的 HID设备的某一按键, 所述触发动 作可以是单击、 双击、 多击、短按或长按中的任一种案件动作。 所述上网键 可以设置为 HID设备上现有的按键, 或通过不同的按键动作, 复用现有的按 键,不必增加单独按键造成 HID设备成本的增加。所述上网键的所述触发动 作也都设置成用户常用的搡作动作, 增大了所述上网键的易搡作性。
(5) 本发明所述的 HID设备一键上网访问的方法, 所述 HID设备包括 鼠标、 键盘、 遥控器、 USB存储盘、 USB加密狗、 USB游戏手柄, USB搡纵杆 设备, USB无线网卡、 USB电视棒、 USB音箱、 USB耳机、 USB手写板等无线 或有线的计算机 H I D外设产品。上述设备的类型均为常见类型, 方便用户用 任何应用本发明的方法的 HID 设备在计算机常见搡作系统上进行一键上网 搡作时, 所述 H I D设备都能实现一键上网功能。
(6) 本发明所述的 H I D设备一键上网访问的方法, 所述监听程序在收 到所述上网键的触发动作后,向计算机发出的特定顺序的标准键盘搡作命令; 所述搡作命令分为两种, 第一种为: 首先执行 "运行"命名打开运行窗口, 然后执行输入命令并输入预设网址, 然后执行 "回车"命令打开浏览器并访 问预设网址。第二种为:首先执行复制命令复制选中文本,然后执行"运行" 命名打开运行窗口,之后执行输入命令并输入预设网址及搜索参数,再执行 粘贴命令粘贴所复制的文本, 再执行 "回车"命令打开浏览器并跳转到对所 述选中文本搜索后的网页。例如, 在 w i ndows搡作系统下, 如果所述监听程 序监听到所述上网键触发动作, 会向计算机首先发出 w i n热键 +R字母键的 组合键命令, 再发出所述指定网址的输入命令, 最后发出回车键命令; 或向 计算机首选发出 CTRL键 +C字母键的组合键命令,其次发出 w i n热键 +R字母 键的组合键命令, 再发出所述指定网址和搜索参数的输入命令, 然后发出 CTRL键 +V字母键的组合键命令, 最后发出回车键命令。 又如, 在 L i nux搡 作系统下,如果所述监听程序监听到所述上网键触发,会向计算机首先发出 ALT键 +F2键的组合键命令, 再发出所述指定网址的输入命令, 最后发出回 车键命令; 或向计算机首选发出 CTRL键 +C字母键的组合键命令, 其次发出 ALT键 +F2的组合键命令, 再发出所述指定网址和搜索参数的输入命令, 然 后发出 CTRL键 +V字母键的组合键命令, 最后发出回车键命令。如果用户在 未选定文本的情况下触发所述上网键,所述监听程序通过下达所述任一种搡 作命令都可以让所述 H I D设备实现的一键触发打开指定网址的功能。如果用 户在选定文本的情况下可以触发所述带搜索参数的上网键动作,所述监听程 序通过下达所述第二种种搡作命令就可以让所述 H I D 设备实现的一键触发 打开指定网址对所述文本搜索的结果页功能。而且因为不同的搡作系统的执 行统一搡作命令的组合快捷键不同, 所以针对不同的搡作的 H I D 设备 f i rmwa re中要使用对应的一键上网命令组。 附图说明 为了使本发明的内容更容易被清楚的理解, 下面结合附图,对本发明作 进一步详细的说明, 其中, 图 1是本发明所述 HID设备一键上网访问的方法的基本搡作流程图; 图 2是本发明所述 HID设备一键上网访问的方法应用在的 w i ndows搡作 系统下实现一键触发访问指定网址功能的搡作流程图; 图 3是本发明所述 HID设备一键上网访问的方法应用在的 w i ndows搡作 系统下实现一键触发在指定网址上搜索选定文本功能的搡作流程图; 图 4是本发明所述 HID设备一键上网访问的方法应用在的 L i nux搡作系 统下实现一键触发访问指定网址功能的搡作流程图; 图 5是本发明所述 HID设备一键上网访问的方法应用在的 L i nux搡作系 统下实现一键触发在指定网址上搜索选定文本功能的搡作流程图。 具体实施方式 本发明所述的 HID设备一键上网访问的方法的基本流程图如图 1 所示, 其包括如下步驟: 步驟一、 HID设备的监听程序监听 HID设备的上网键是否 执行了触发动作; 步驟二、 所述监听程序监听到所述上网键的触发动作时, 向计算机发出使用搡作系统默认浏览器访问指定网址的搡作命令或向计算 机发出使用搡作系统默认浏览器访问带有计算机默认选定文本搜索参数的 指定网址的搡作命令; 然后返回步驟一。 HID设备运行上述程序步驟就可以 完成上网搡作, 不需要在依赖于软件仅靠硬件就可以实现一键上网功能。 以 下的所有实施例都是基于上述基本搡作步驟添加完成的。 实施例 1 本发明所述 H I D设备一键上网访问的方法应用在的 w i ndows搡作系统下 实现一键触发访问指定网址功能的搡作流程图如图 2所示。所述监听程序设 置所述上网键及其触发动作为鼠标的右键双击,将百度首页作为指定网址固 化在鼠标中。在 windows搡作系统下, 所述鼠标中央处理器中监听程序监听 所述上网键是否执行了触发动作。当所鼠标中央处理器中所述监听程序监听 到所述上网键的触发动作时, 向计算机首先发出 win热键 +R字母键的组合 键命令打开运行窗口, 再发出键盘输入百度首页的网址的命令将所述网址
" http:〃 www. ba i du. com "输入运行窗口, 最后发出回车键命令打开浏览 器并访问百度首页。 实施例 2 本发明所述 H I D设备一键上网访问的方法应用在的 w i ndows搡作系统下 实现一键触发在指定网址上搜索选定文本功能的搡作流程图如图 3所示。所 述 H I D 设备键盘的中央处理器中监听程序设置所述上网键及其触发动作为 键 盘 的 F1 1 键 双 击 , 将 百 度 带 有 搜 索 参 数 的 网 址 http: //www, ba i du. c。m/s?wd= 作为指定网址预设在键盘中。 在 w i ndows搡 作系统下, 所述监听程序监听所述上网键是否执行了触发动作 -双击 F1 1。 当所述监听程序监听到所述上网键的触发动作时, 向计算机首先发出 CTRL 键 +C字母键的组合键命令复制选中文本, 其次发出 w i n热键 +R字母键的组 合键命令打开 运行 窗 口 , 再 发 出 百 度 带 有 参数 的 网 址 " http : //www. ba i du. com/s?wd= " 的输入命令将所述网址和搜索参数输入 运行窗口, 然后发出 CTRL键 +V字母键的组合键命令粘贴所复制的文本, 最 网页。再本实施例中, 如果鼠标选中了文本, 所述上网键其执行了一键上网 搡作后会使浏览器显示百度搜索选定文本后的页面;如果并未选中文本, 浏 览器则会自动跳转到百度首页。 实施例 3 本发明所述 H I D设备一键上网访问的方法应用在的 L i nux搡作系统下实 现一键触发访问指定网址功能的搡作流程图如图 4所示。所述 USB遥控器的 中央处理器中的监听程序设置所述上网键及其触发动作为 USB 遥控器的数 字键 1键短按, 设置指定网址为雅虎。在 L i nux搡作系统下, 所述监听程序 监听所述上网键是否执行了触发动作。当所述 USB遥控器的所述监听程序监 听到所述上网键的触发动作时, 向计算机首先发出 ALT键 +F2键的组合键命 令打开运行窗口,再发出雅虎首页的网址的输入命令将所述网址输入运行窗 口, 最后发出回车键命令打开浏览器并访问雅虎首页。 实施例 4 本发明所述 H I D设备一键上网访问的方法应用在的 L i nux搡作系统下实 现一键触发在指定网址上搜索选定文本功能的搡作流程图如图 5所示。所述 无线 USB 鼠标的中央处理芯片中的监听程序设置所述上网键及其触发动作 为无线 USB 鼠标的第 5键长按, 设置指定网址为搜搜带有搜索参数的网址 " http : //www. soso. com/q?w= ,,。在 L i nux搡作系统下, 所述无线 USB鼠标 中央处理芯片中监听程序监听所述上网键是否执行了触发动作。当所述监听 程序监听到所述上网键的触发动作时, 向计算机首先发出 CTRL键 +C字母键 的组合键命令复制选中文本, 其次发出 ALT键 +F2键的组合键命令打开运行 窗口, 再发出搜搜带有搜索参数的网址 " http:〃 www. soso. com/q?w= " 的 输入命令, 将所述网址和搜索参数输入运行窗口, 然后发出 CTRL键 +V字母 键的组合键命令粘贴所复制的文本,最后发出回车键命令打开浏览器显示搜 搜对所述选中文本搜索后的网页。此处如果鼠标并未选中文本, 其虽然执行 了复制和粘贴指令, 但内容为空, 因此跳转后的网页仍为搜搜首页。
显然, 上述实施例仅仅是为清楚地说明所作的举例, 而并非对实施方式 的限定。 对于所属领域的普通技术人员来说, 在上述说明的基础上还可以做 出其它不同形式的变化或变动。 这里无需也无法对所有的实施方式予以穷举。 而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之 中。

Claims

权 利 要 求 书
1.一种 H I D设备一键上网访问的方法, 其特征在于, 包括如下步驟: 步驟一、 HID设备的监听程序监听 HID设备的上网键是否执行了触发动 作, 步驟二、 所述监听程序监听到所述上网键的触发动作时, 向计算机发出 使用搡作系统默认浏览器访问指定网址的搡作命令; 然后返回步驟一。
2.—种 H I D设备一键上网访问的方法, 其特征在于, 包括如下步驟: 步驟一、 HID设备的监听程序监听 HID设备的上网键是否执行了触发动 作, 步驟二、 所述监听程序监听到所述上网键的触发动作时, 向计算机发出 使用搡作系统默认浏览器访问带有当前计算机默认选定文本搜索参数的指 定网址的搡作命令; 然后返回步驟一。
3.根据权利要求 1或 2所述的 HID设备一键上网访问的方法, 其特征在 于,指定网址或带有搜索参数的指定网址是固化或预设在 HID设备中的数据, 不同的 H I D设备可以由设计方设计不同指定访问网址。
4.根据权利要求 3所述的 HID设备一键上网访问的方法, 其特征在于, 所述指定网址或带有搜索参数的指定网址最后一个字符为标准键盘空格按 键字符, 在输入时相当于按下空格按键。
5. 根据权利要求 1-4中任一项所述的 HID设备一键上网访问的方法, 其特征在于, 步驟二中所述监听程序发出的所述搡作命令为包含一组特定顺 序的标准键盘搡作命令。
6. 根据权利要求 1-5中任一项所述的 HID设备一键上网访问的方法, 其特征在于, 所述上网键为设置在 HID设备 firmware程序中设定的 HID设 备上的某一按键, 所述触发动作可以是单击、 双击、 多击、 短按或长按中的 任一种按键动作。
7. 根据权利要求 1-6中任一项所述的 HID设备一键上网访问的方法, 其特征在于,所述 HID设备为无线或有线的计算机 HID外设产品,包括鼠标、 键盘、 遥控器、 USB存储盘、 USB加密狗、 USB游戏手柄, USB搡纵杆设备, USB无线网卡、 USB电视棒、 USB音箱、 USB耳机或 USB手写板。
8. 根据权利要求 1、3-7中任一项所述的 HID设备一键上网访问的方法, 其特征在于: 所述监听程序发出的特定顺序的标准键盘搡作命令为: 首先执 行搡作系统 "运行"命令打开运行窗口, 然后执行键盘输入命令并输入预设 网址, 然后执行 "回车"命令, 打开浏览器并访问预设网址。
9. 根据权利要求 2-7中任一项所述的 HID设备一键上网访问的方法, 其特征在于: 所述监听程序发出的特定顺序的标准键盘搡作命令为: 首先执 行复制命令复制计算机默认选中文本, 然后执行搡作系统 "运行"命令打开 运行窗口, 之后执行输入命令并输入预设网址及搜索参数, 再执行粘贴命令 粘贴所复制的文本, 再执行 "回车"命令打开浏览器显示对所述选中文本搜 索后的网页。
10. 根据权利要求 1、 3-8中任一项所述的 HID设备一键上网访问的方 法, 其特征在于, 在 windows搡作系统下, 所述监听程序监听到所述上网键 触发动作时, 向计算机首先发出 win热键 +R字母键的组合键命令, 再发出所 述指定网址的输入命令, 最后发出回车键命令; 在 Linux搡作系统下, 所述监听程序监听到所述上网键触发时, 向计算 机首先发出 ALT键 +F2键的组合键命令, 再发出所述指定网址的输入命令, 最后发出回车键命令。
11. 根据权利要求 2-7、 9中任一项所述的 HID设备一键上网访问的方 法, 其特征在于, 在 windows搡作系统下, 所述监听程序监听到所述上网键 触发时, 向计算机首先发出 CTRL键 +C字母键的组合键命令, 其次发出 win 热键 +R字母键的组合键命令, 再发出所述指定网址和搜索参数的输入命令, 然后发出 CTRL键 +V字母键的组合键命令, 最后发出回车键命令; 在 L i nux搡作系统下, 所述监听程序监听到所述上网键触发时, 向计算 机首先发出 CTRL键 +C字母键的组合键命令, 其次发出 ALT键 +F2的组合键 命令, 再发出所述指定网址和搜索参数的输入命令, 然后发出 CTRL键 +V字 母键的组合键命令, 最后发出回车键命令。
1 2.一种使用权利要求 1 -1 1 中任一项所述的一键上网访问方法的 H I D设 备。
PCT/CN2014/070375 2013-07-04 2014-01-09 一种hid设备一键上网访问的方法及使用该方法的hid设备 WO2015000290A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013102790132A CN103336666A (zh) 2013-07-04 2013-07-04 一种hid设备一键上网访问的方法及使用该方法的hid设备
CN201310279013.2 2013-07-04

Publications (1)

Publication Number Publication Date
WO2015000290A1 true WO2015000290A1 (zh) 2015-01-08

Family

ID=49244846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070375 WO2015000290A1 (zh) 2013-07-04 2014-01-09 一种hid设备一键上网访问的方法及使用该方法的hid设备

Country Status (2)

Country Link
CN (1) CN103336666A (zh)
WO (1) WO2015000290A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336666A (zh) * 2013-07-04 2013-10-02 马洪生 一种hid设备一键上网访问的方法及使用该方法的hid设备
CN103793463A (zh) * 2013-12-09 2014-05-14 刘锐敏 一种虚拟usb键盘自动打开指定网页页面的方法
CN104102350B (zh) * 2014-07-18 2016-09-28 刘锐敏 具有触发Webkey功能的USB数据线
CN104834453B (zh) * 2015-05-18 2018-06-19 上海芯歌智能科技有限公司 通过输入装置与网络进行互动的方法及系统
CN105138605A (zh) * 2015-08-07 2015-12-09 苏州博优赞信息科技有限责任公司 基于网页的用户行为实时监测方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349947A (zh) * 2007-07-19 2009-01-21 吴琛 一种一键上网设备
CN201533331U (zh) * 2009-11-23 2010-07-21 北京平治东方科技发展有限公司 可上网固定电话
CN201590050U (zh) * 2009-11-06 2010-09-22 周葆青 鼠标
CN103336666A (zh) * 2013-07-04 2013-10-02 马洪生 一种hid设备一键上网访问的方法及使用该方法的hid设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2424490Y (zh) * 2000-07-06 2001-03-21 北京兴荣时代科技发展有限公司 键盘
KR20020040166A (ko) * 2000-11-23 2002-05-30 황기수 인터넷 자동 접속 코드 입력 기능을 구비하는 마우스 장치
CN1393773A (zh) * 2001-06-21 2003-01-29 成田行股份有限公司 鼠标快速上网的方法
TWI320540B (en) * 2006-09-08 2010-02-11 Primax Electronics Ltd Mouse with a hot key for internet seraching
CN201307276Y (zh) * 2008-08-27 2009-09-09 孙翠朵 可一键快速上网的鼠标电路
CN201489561U (zh) * 2009-08-17 2010-05-26 龙旗科技(上海)有限公司 一种带独立usb头数据卡
CN202257483U (zh) * 2011-10-13 2012-05-30 深圳Tcl新技术有限公司 多功能遥控器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349947A (zh) * 2007-07-19 2009-01-21 吴琛 一种一键上网设备
CN201590050U (zh) * 2009-11-06 2010-09-22 周葆青 鼠标
CN201533331U (zh) * 2009-11-23 2010-07-21 北京平治东方科技发展有限公司 可上网固定电话
CN103336666A (zh) * 2013-07-04 2013-10-02 马洪生 一种hid设备一键上网访问的方法及使用该方法的hid设备

Also Published As

Publication number Publication date
CN103336666A (zh) 2013-10-02

Similar Documents

Publication Publication Date Title
US9310921B2 (en) Screen control method and the apparatus
US10768882B2 (en) Method and apparatus for implementing content displaying of component
JP6169590B2 (ja) 適応的な入力言語切り換え
WO2018137467A1 (zh) 一种分屏显示的方法及移动终端
US20170024226A1 (en) Information processing method and electronic device
WO2015000290A1 (zh) 一种hid设备一键上网访问的方法及使用该方法的hid设备
JP2014519108A (ja) 高速サイトアクセスユーザインタフェースを備えるウェブブラウザ
JP6211543B2 (ja) タッチ端末におけるテキスト検索のための方法及び装置
WO2014206065A1 (zh) 通过按键复用完成多种功能操作的鼠标及其控制方法
CN104850296B (zh) 显示页面内容的方法及装置
CN110992112B (zh) 广告信息的处理方法和装置
US10754452B2 (en) Unified input and invoke handling
WO2014008670A1 (zh) 确定操作对象的方法和终端
WO2018010316A1 (zh) 桌面页面管理的方法及装置
CN106855885B (zh) 一种浏览器的页面处理方法及终端
KR102044614B1 (ko) 입력방법 기반의 웹사이트 정보 제공방법 및 장치
BR112017003972B1 (pt) Terminal e método
WO2017045277A1 (zh) 搜索方法、装置、设备及非易失性计算机存储介质
CN111488092A (zh) 一种附加信息呈现方法、装置及电子设备
CN109614174B (zh) 显示方法、移动终端及图形用户界面
CN102866836A (zh) 通过移动鼠标指针选择搜索引擎进行键盘搜索的方法
WO2021017287A1 (zh) 页面滑动方法、装置、电子设备及计算机可读存储介质
KR20080080786A (ko) 단축 메뉴 제공 시스템 및 방법
WO2015085520A1 (zh) 移动终端及其应用图标生成方法
TWM598438U (zh) 模擬真人操作之電子裝置

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: 14818844

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: 14818844

Country of ref document: EP

Kind code of ref document: A1