CN101452417B - Monitoring method and monitoring device thereof - Google Patents
Monitoring method and monitoring device thereof Download PDFInfo
- Publication number
- CN101452417B CN101452417B CN2007101997135A CN200710199713A CN101452417B CN 101452417 B CN101452417 B CN 101452417B CN 2007101997135 A CN2007101997135 A CN 2007101997135A CN 200710199713 A CN200710199713 A CN 200710199713A CN 101452417 B CN101452417 B CN 101452417B
- Authority
- CN
- China
- Prior art keywords
- identification code
- usb interface
- control unit
- input
- interface device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000012806 monitoring device Methods 0.000 title claims abstract description 25
- 238000012544 monitoring process Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 9
- 230000008569 process Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
本发明为一种监控方法及其监控装置,用以监控电脑系统的USB接口的连接端口。监控装置包括输出入控制单元及基本输出入系统程序码储存单元。基本输出入系统程序码储存单元用以储存基本输出入系统程序码。监控方法包括:执行基本输出入系统程序码;判断USB接口的连接端口是否连接USB接口装置;若USB接口的连接端口连接USB接口装置,则读取USB接口装置的识别码;判断识别码是否为验证过的识别码;以及若否,则进行相对应的处理。
The present invention is a monitoring method and a monitoring device thereof, which are used to monitor the connection port of the USB interface of a computer system. The monitoring device includes an input/output control unit and a basic input/output system program code storage unit. The basic input/output system program code storage unit is used to store basic input/output system program codes. The monitoring method includes: executing the basic input/output system program code; determining whether the connection port of the USB interface is connected to a USB interface device; if the connection port of the USB interface is connected to the USB interface device, reading an identification code of the USB interface device; determining whether the identification code is a verified identification code; and if not, performing corresponding processing.
Description
技术领域technical field
本发明有关一种监控装置,特别是一种监控USB接口连接端口的监控装置。The invention relates to a monitoring device, in particular to a monitoring device for monitoring a USB interface connection port.
背景技术Background technique
随着科技的进步,电脑系统可以扩充的装置也越来越多元化,并且使用者也能够自行对电脑系统进行设定与改装。扩充装置可包括网络卡、蓝牙传输卡或是网络摄影机扩充卡等装置。扩充装置可利用PCI接口连接端口或是USB接口连接端口等接口的总线以传输讯号到电脑系统。但使用者在自行对电脑系统进行扩充装置的安装或是设定时,可能会使用到没有验证过的扩充装置,或是自行更改扩充装置的原有设定。若将没有验证过或是将更改过设定的扩充装置安装进电脑系统,可能会使得电脑系统损坏或是产生不可预期的错误。如此一来,就会耗费不少维修电脑系统的时间或是金钱。With the advancement of technology, the expandable devices of the computer system are becoming more and more diversified, and users can also set and modify the computer system by themselves. The expansion device may include a network card, a bluetooth transmission card, or a network camera expansion card. The expansion device can use a bus such as a PCI interface connection port or a USB interface connection port to transmit signals to the computer system. However, when the user installs or configures the expansion device on the computer system by himself, he may use an unauthenticated expansion device, or change the original setting of the expansion device by himself. If an expansion device that has not been authenticated or whose settings have been changed is installed into the computer system, the computer system may be damaged or unexpected errors may occur. In this way, it will consume a lot of time or money to repair the computer system.
在先前技术当中,已经具有针对适用于PCI接口的扩充装置做监控的监控装置。但是随着可扩充的装置越来越多元化,若是单单利用PCI接口的连接端口可能已经没有办法负荷。因此部份的扩充装置即设定为利用USB接口的连接端口以传输数据。但在先前技术当中,并没有提供监控USB接口的扩充装置的监控装置与方法。In the prior art, there is already a monitoring device for monitoring expansion devices suitable for PCI interfaces. However, as expandable devices become more and more diversified, it may not be able to bear the load if only the connection port of the PCI interface is used. Therefore, some expansion devices are configured to use the connection port of the USB interface to transmit data. However, in the prior art, there is no monitoring device and method for monitoring the expansion device of the USB interface.
有鉴于先前技术的缺失,因此有需要一种新的监控装置与方法以解决先前技术所发生的缺失。In view of the deficiencies of the prior art, there is a need for a new monitoring device and method to solve the deficiencies of the prior art.
发明内容Contents of the invention
本发明的主要目的是提供一种监控装置,具有监控电脑系统的USB接口的连接端口的效果。The main purpose of the present invention is to provide a monitoring device with the effect of monitoring the connection port of the USB interface of the computer system.
本发明的另一主要目的是提供一种监控方法。Another main object of the present invention is to provide a monitoring method.
为达成上述的目的,本发明的监控装置是用于一电脑系统以监控一USB接口的连接端口。监控装置包括输出入控制单元、基本输出入系统程序码储存单元与数据库。基本输出入系统程序码储存单元与输出入控制单元电性连接,用以储存基本输出入系统程序码。数据库用以储存识别码对应表。其中输出入控制单元于USB接口的连接端口与USB接口装置连接时,用以执行该基本输出入系统程序码,以读取该USB接口装置的识别码。并将识别码与识别码对应表进行比对,以检查该识别码是否为一验证过的识别码。To achieve the above purpose, the monitoring device of the present invention is used in a computer system to monitor a connection port of a USB interface. The monitoring device includes an I/O control unit, a basic I/O system program code storage unit and a database. The BIOS program code storage unit is electrically connected to the I/O control unit for storing the BIOS program code. The database is used for storing the identification code correspondence table. Wherein the I/O control unit is used to execute the basic I/O system program code to read the identification code of the USB interface device when the connection port of the USB interface is connected to the USB interface device. And comparing the identification code with the corresponding table of identification codes to check whether the identification code is a verified identification code.
本发明的监控方法包括以下步骤:执行基本输出入系统程序码;判断USB接口的连接端口是否连接USB接口装置;若USB接口的连接端口连接USB接口装置,则读取USB接口装置的识别码;判断识别码是否为验证过的识别码;以及若否,则对电脑系统进行相对应的处理。The monitoring method of the present invention comprises the following steps: executing the basic input/output system program code; judging whether the connection port of the USB interface is connected to the USB interface device; if the connection port of the USB interface is connected to the USB interface device, then reading the identification code of the USB interface device; Judging whether the identification code is a verified identification code; and if not, performing corresponding processing on the computer system.
附图说明Description of drawings
图1是本发明电脑系统及监控装置的系统方块图。Fig. 1 is a system block diagram of a computer system and a monitoring device of the present invention.
图2是本发明监控方法的步骤流程图。Fig. 2 is a flowchart of the steps of the monitoring method of the present invention.
图3是本发明识别码对应表的示意图。Fig. 3 is a schematic diagram of an identification code correspondence table in the present invention.
具体实施方式Detailed ways
为让本发明的上述和其他目的、特征和优点能更明显易懂,下面将结合附图对本发明的具体实施例进行详细说明。In order to make the above and other objects, features and advantages of the present invention more comprehensible, specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
请先参考图1是本发明电脑系统及监控装置的系统方块图。Please refer to FIG. 1 which is a system block diagram of the computer system and monitoring device of the present invention.
本发明监控装置10设置于电脑系统90内,电脑系统90具有USB接口的连接端口91。在本实施例中,监控装置10可实施成一个模块而可以选择性地组设在电脑系统90的主机板(图未示)上。其中USB接口的连接端口91为借用USB的总线来传输数据的连接端口,例如USB接口的插槽(Slot)。USB接口的连接端口91可用以安装相对应的USB接口装置50。在本发明的一实施例中,电脑系统90可为一笔记本电脑,但本发明并不以此为限,任何其他装置(例如台式电脑)只要包含如图1所示的结构,都属于本发明的电脑系统90的范畴。The monitoring device 10 of the present invention is set in a computer system 90 , and the computer system 90 has a connection port 91 of a USB interface. In this embodiment, the monitoring device 10 can be implemented as a module that can be selectively assembled on the main board (not shown) of the computer system 90 . The connection port 91 of the USB interface is a connection port for transferring data by using the USB bus, such as a slot (Slot) of the USB interface. The connection port 91 of the USB interface can be used to install the corresponding USB interface device 50 . In one embodiment of the present invention, the computer system 90 can be a notebook computer, but the present invention is not limited thereto, any other devices (such as desktop computers) as long as they include the structure shown in Figure 1, all belong to the present invention 90 categories of computer systems.
监控装置10具有输出入控制单元20、基本输出入系统(Basic Input/OutputSystem,BIOS)程序码储存单元30及数据库40,上述元件之间彼此电性连接。输出入控制单元20可为电脑系统90的南桥芯片,但本发明并不以此为限。基本输出入系统程序码储存单元30可为一快闪存储器,用以储存基本输出入系统程序码31,但本发明并不以此为限。基本输出入系统程序码31具有电脑系统90进行开机自我检查(Power On Self Test,POST)时所需的必要程序,其中包括对于USB接口的连接端口91的监控程序。数据库40用以储存识别码对应表41。识别码对应表41设定有已经验证过的识别码,用来和USB接口装置50的识别码51作比对。The monitoring device 10 has an I/O control unit 20, a Basic Input/Output System (BIOS) program code storage unit 30 and a database 40, and the above components are electrically connected to each other. The I/O control unit 20 can be a south bridge chip of the computer system 90, but the present invention is not limited thereto. The BIOS program code storage unit 30 can be a flash memory for storing the BIOS program code 31 , but the invention is not limited thereto. The basic input and output system program code 31 has the necessary programs required for the computer system 90 to perform Power On Self Test (POST), including the monitoring program for the connection port 91 of the USB interface. The database 40 is used for storing the identification code correspondence table 41 . The identification code corresponding table 41 is set with the verified identification code for comparison with the identification code 51 of the USB interface device 50 .
USB接口装置50可为网络卡、蓝牙传输卡等要经由USB接口的总线以传输数据的装置。USB接口装置50设定有其专属的识别码51,识别码51可包括产品识别码(Product ID)51a与厂商识别码(Vendor ID)51b,但本发明并不以此为限。当电脑系统90开机时,输出入控制单元20可利用执行基本输出入系统程序码31的监控程序以对电脑系统90进行监控。输出入控制单元20可读取USB接口装置50的识别码51,并查询识别码对应表41,以确定识别码51是否为验证过的识别码。其监控的方法在之后会有详细的描述。The USB interface device 50 can be a network card, a bluetooth transmission card and other devices that need to transmit data through the bus of the USB interface. The USB interface device 50 is set with its exclusive identification code 51, and the identification code 51 may include a product identification code (Product ID) 51a and a vendor identification code (Vendor ID) 51b, but the present invention is not limited thereto. When the computer system 90 is turned on, the I/O control unit 20 can monitor the computer system 90 by executing the monitoring program of the basic I/O system program code 31 . The I/O control unit 20 can read the identification code 51 of the USB interface device 50 and query the identification code corresponding table 41 to determine whether the identification code 51 is a verified identification code. The monitoring method will be described in detail later.
接着请参考图2关于监控方法的步骤流程图。此处需注意的是,以下虽以监控装置10为例说明本发明的监控方法,但本发明的监控方法并不以使用在监控装置10为限。Next, please refer to FIG. 2 for a flow chart of the steps of the monitoring method. It should be noted here that although the monitoring device 10 is used as an example to describe the monitoring method of the present invention, the monitoring method of the present invention is not limited to be used in the monitoring device 10 .
首先进行步骤201:执行基本输出入系统程序码。First proceed to step 201: execute the BIOS program code.
当电脑系统90开机时,会执行基本输出入系统程序码31会以进行开机自我检查,借此检查电脑系统90的硬件状况。When the computer system 90 is turned on, the BIOS program code 31 will be executed to perform a boot self-check, thereby checking the hardware status of the computer system 90 .
接着进行步骤202:判断USB接口的连接端口是否与USB接口装置连接。Then proceed to step 202: determine whether the connection port of the USB interface is connected to the USB interface device.
此时输出入控制单元20会检查USB接口的连接端口91是否与USB接口装置50连接,亦即USB接口装置50是否插入了USB接口的插槽。由于USB接口的连接端口91的地址是固定的,因此输出入控制单元20对USB接口的连接端口91的地址送出讯号即可确认USB接口的连接端口91是否有与USB接口装置50连接。若USB接口的连接端口91有连接USB接口装置50,就进行步骤203。若没有,输出入控制单元20即结束对于USB接口的连接端口91的监控程序。At this time, the I/O control unit 20 will check whether the connection port 91 of the USB interface is connected to the USB interface device 50, that is, whether the USB interface device 50 is inserted into the slot of the USB interface. Because the address of the connection port 91 of the USB interface is fixed, the I/O control unit 20 can confirm whether the connection port 91 of the USB interface is connected with the USB interface device 50 by sending a signal to the address of the connection port 91 of the USB interface. If the connection port 91 of the USB interface is connected with the USB interface device 50 , go to
步骤203:读取USB接口装置的识别码。Step 203: Read the identification code of the USB interface device.
此时输出入控制单元20再利用基本输出入系统程序码31以读取USB接口装置50的识别码51。在本发明的一实施例中,输出入控制单元20读取出USB接口装置50的产品识别码51a与厂商识别码51b。At this time, the I/O control unit 20 uses the basic I/O system program code 31 to read the identification code 51 of the USB interface device 50 . In an embodiment of the present invention, the I/O control unit 20 reads out the product identification code 51 a and the manufacturer identification code 51 b of the USB interface device 50 .
接着进行步骤204:判断识别码是否在识别码对应表中。Then go to step 204: determine whether the identification code is in the identification code correspondence table.
接着请同时参考图3关于本发明识别码对应表的示意图。当读取出产品识别码51a与厂商识别码51b之后,输出入控制单元20就查询数据库40中的识别码对应表41,借此判断产品识别码51a与厂商识别码51b是否为识别码对应表41中已经验证过的识别码。举例而言,若在步骤203中读取出的产品识别码51a为0400,厂商识别码51b为040a。接着再去与识别码对应表41中所设定已验证过的识别码进行比对,即可得知此产品识别码51a及厂商识别码51b皆在识别码对应表41所列举的识别码中。如此一来,即代表此USB接口装置50是已经通过验证的,就可以结束此监控方法的程序。若产品识别码51a及厂商识别码51b不在识别码对应表41所列举的识别码中,则进行步骤205。Then please also refer to FIG. 3 for a schematic diagram of the identification code correspondence table of the present invention. After reading the product identification code 51a and the manufacturer identification code 51b, the I/O control unit 20 inquires the identification code correspondence table 41 in the database 40, thereby judging whether the product identification code 51a and the manufacturer identification code 51b are the identification code correspondence table 41 has been verified identification code. For example, if the product identification code 51a read in
此处需注意的是,在图3中识别码对应表41所列举的识别码仅为示意,本发明并不以图3中所列举的识别码为限。It should be noted here that the identification codes listed in the identification code correspondence table 41 in FIG. 3 are only for illustration, and the present invention is not limited to the identification codes listed in FIG. 3 .
步骤205:对电脑系统进行相对应的处理或者限制USB接口装置使用。Step 205: Perform corresponding processing on the computer system or limit the use of the USB interface device.
若产品识别码51a或厂商识别码51b没有在识别码对应表41中所设定的已验证过的识别码内,就代表此USB接口装置50是不合乎规格或是其他没有验证过的装置。此时为避免此USB接口装置50会对电脑系统90造成损害,输出入控制单元20会立即执行基本输出入系统程序码31,以进行相对应的处理。其中相对应的处理可以包括停止电脑系统90的开机流程或者限制USB接口装置50的使用。其中限制USB接口装置50的使用为限制USB接口装置50的某些功能或是直接封锁USB接口装置50。并且最后可在电脑系统90的屏幕上显示错误讯息以告知使用者,但本发明并不以上述的处理流程为限。If the product identification code 51a or the manufacturer identification code 51b is not in the verified identification codes set in the identification code correspondence table 41, it means that the USB interface device 50 is not up to standard or other non-verified devices. At this time, in order to prevent the USB interface device 50 from causing damage to the computer system 90 , the I/O control unit 20 will immediately execute the basic I/O system program code 31 to perform corresponding processing. The corresponding processing may include stopping the boot process of the computer system 90 or restricting the usage of the USB interface device 50 . Wherein, restricting the use of the USB interface device 50 is to restrict certain functions of the USB interface device 50 or directly block the USB interface device 50 . And finally, an error message may be displayed on the screen of the computer system 90 to inform the user, but the present invention is not limited to the above processing flow.
此处需注意的是,本发明的监控方法并不以上述的步骤次序为限,只要能达成本发明的目的,上述的步骤次序亦可加以改变。It should be noted here that the monitoring method of the present invention is not limited to the order of the above steps, as long as the purpose of the present invention can be achieved, the order of the above steps can also be changed.
借助上述的方法,即可避免不合乎规格或不相容的USB接口装置50插入电脑系统90中,而造成电脑系统90损坏。By means of the above method, it is possible to prevent the computer system 90 from being damaged by inserting the non-compliant or incompatible USB interface device 50 into the computer system 90 .
综上所陈,本发明无论就目的、手段及功效,均显示其迥异于现有技术的特征。但应注意的是,上述诸多实施例仅是了便于说明而举例而已,本发明所主张的权利范围自应以本申请权利要求范围所述为准,而非仅限于上述实施例。To sum up, the present invention has features that are quite different from the prior art in terms of purpose, means and efficacy. However, it should be noted that the above-mentioned embodiments are only examples for convenience of description, and the scope of rights claimed by the present invention should be determined by the claims of the present application, rather than being limited to the above-mentioned embodiments.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101997135A CN101452417B (en) | 2007-12-07 | 2007-12-07 | Monitoring method and monitoring device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101997135A CN101452417B (en) | 2007-12-07 | 2007-12-07 | Monitoring method and monitoring device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101452417A CN101452417A (en) | 2009-06-10 |
CN101452417B true CN101452417B (en) | 2010-12-15 |
Family
ID=40734660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101997135A Expired - Fee Related CN101452417B (en) | 2007-12-07 | 2007-12-07 | Monitoring method and monitoring device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101452417B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105160260B (en) * | 2015-10-20 | 2018-10-12 | 国网江西省电力公司南昌供电分公司 | Can differentiate whether be certification mobile memory medium device |
CN106533812B (en) * | 2016-12-30 | 2020-01-14 | 重庆腾帆科技有限公司 | Application server |
CN109271289B (en) * | 2017-07-18 | 2022-05-03 | 车伯乐(北京)信息科技有限公司 | Application interface monitoring method, device, equipment and computer readable medium |
CN110580176A (en) * | 2018-06-08 | 2019-12-17 | 英研智能移动股份有限公司 | Device identification method and server with device identification function |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192420B1 (en) * | 1997-08-09 | 2001-02-20 | Weltrend Semiconductor Inc. | Controller with a vendor/product identification pin for a Universal Serial Bus by various manufacturers |
EP1100018A2 (en) * | 1999-11-11 | 2001-05-16 | Sankyo Seiki Mfg. Co. Ltd. | USB-Interface Equipped Device |
CN1621994A (en) * | 2005-01-10 | 2005-06-01 | 北京太极英泰信息科技有限公司 | Computer security control module and safeguard control method thereof |
-
2007
- 2007-12-07 CN CN2007101997135A patent/CN101452417B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192420B1 (en) * | 1997-08-09 | 2001-02-20 | Weltrend Semiconductor Inc. | Controller with a vendor/product identification pin for a Universal Serial Bus by various manufacturers |
EP1100018A2 (en) * | 1999-11-11 | 2001-05-16 | Sankyo Seiki Mfg. Co. Ltd. | USB-Interface Equipped Device |
CN1621994A (en) * | 2005-01-10 | 2005-06-01 | 北京太极英泰信息科技有限公司 | Computer security control module and safeguard control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101452417A (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI465901B (en) | Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices | |
US8943302B2 (en) | Method of flashing bios using service processor and computer system using the same | |
CN107608693B (en) | Version upgrading method and terminal equipment | |
CN110096314B (en) | Interface initialization method, device, equipment and computer readable storage medium | |
US11281768B1 (en) | Firmware security vulnerability verification service | |
US10606677B2 (en) | Method of retrieving debugging data in UEFI and computer system thereof | |
US10831897B2 (en) | Selective enforcement of secure boot database entries in an information handling system | |
CN105912489A (en) | Apparatus, method, and computer program product for network bios management | |
US20130268744A1 (en) | Method for detecting hardware | |
CN103593281A (en) | Test system and test method | |
US10922150B2 (en) | Deep hardware access and policy engine | |
CN102567171A (en) | Method for testing blade server mainboard | |
US20060265581A1 (en) | Method for switching booting devices of a computer | |
CN103257922B (en) | A kind of method of quick test BIOS and OS interface code reliability | |
CN101452417B (en) | Monitoring method and monitoring device thereof | |
US7080164B2 (en) | Peripheral device having a programmable identification configuration register | |
CN102541711A (en) | Method for testing X86 architecture server mainboards | |
CN117032813A (en) | Switching judging method and device for flash memory of dual basic input/output system | |
CN101699415A (en) | Core logic circuit, computer system and peripheral equipment initialization method | |
CN104572143A (en) | Startup detection system and method for computer | |
US20090144536A1 (en) | Monitoring method and monitor apparatus | |
WO2020113469A1 (en) | Power on self test method, power on self test device and mobile terminal | |
CN116521585A (en) | Slot screen printing display method, device, equipment and storage medium | |
CN102082715A (en) | Test method for network card reset | |
CN115129384A (en) | Electronic equipment and running method of starting program of electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Assignee: WISTRON (SHANGHAI) Co.,Ltd. Assignor: WISTRON Corp. Contract record no.: 2012990000277 Denomination of invention: Monitoring method of electronic component working frequency and monitoring device and electronic device thereof Granted publication date: 20101215 License type: Exclusive License Open date: 20090610 Record date: 20120426 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101215 Termination date: 20211207 |