CN103761203A - General connection method for different types of hardware equipment - Google Patents

General connection method for different types of hardware equipment Download PDF

Info

Publication number
CN103761203A
CN103761203A CN201310631694.4A CN201310631694A CN103761203A CN 103761203 A CN103761203 A CN 103761203A CN 201310631694 A CN201310631694 A CN 201310631694A CN 103761203 A CN103761203 A CN 103761203A
Authority
CN
China
Prior art keywords
hardware device
hardware equipment
information
hardware
function information
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.)
Granted
Application number
CN201310631694.4A
Other languages
Chinese (zh)
Other versions
CN103761203B (en
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.)
BEIJING ZHONGQI ZHIYUAN DIGITAL INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING ZHONGQI ZHIYUAN DIGITAL INFORMATION 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 BEIJING ZHONGQI ZHIYUAN DIGITAL INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING ZHONGQI ZHIYUAN DIGITAL INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310631694.4A priority Critical patent/CN103761203B/en
Publication of CN103761203A publication Critical patent/CN103761203A/en
Application granted granted Critical
Publication of CN103761203B publication Critical patent/CN103761203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a general connection method for different types of hardware equipment. The method comprises the following steps: monitoring the access of hardware equipment in real time by using an external interface system; when the hardware equipment is connected to a host system, connecting the external interface system with the hardware equipment to acquire the type and function information of the hardware equipment; converting the functional operation of a user into instruction information according to the function information, and implementing corresponding operation on the hardware equipment according to the instruction information. By using the method, connection can be completed through the external interface system whether or not the hardware equipment is provided with a driver, the application range of the hardware equipment is expanded, and the working efficiency is increased.

Description

A kind of general method of attachment for different hardware equipment
Technical field
The present invention relates to a kind of general method of attachment for different hardware equipment, belong to computer peripheral equipment technical field.
Background technology
Under usual condition, the designed hardware device extra install driver of (also claiming peripheral hardware) needs and the host computer system (as PC, mobile terminal etc.) of manufacturer communicates, even for different hardware devices, need to again write different drivers and corresponding function software, could allow user effectively use the hardware device with difference in functionality.
The driver of hardware device is a kind of separate procedure that can make interaction between host computer system, software and hardware device, is equivalent to the interface of hardware device.Operating system can only be passed through this interface, could control hardware the work of equipment, if the driver of certain hardware device is failed correct installation, just cisco unity malfunction.Driver is set up the interface of linking up between user and hardware device.But for dissimilar hardware device, while carrying out attended operation with host computer system, the driver of use is different, so when connecting dissimilar hardware device, often need to reinstall the driver for this hardware device, thereby use the corresponding function of this hardware device.This process is time-consuming bothersome, especially when hardware device, changes when frequent, need to spend a large amount of fitting operation time.
For addressing the above problem, at publication number, be in the Chinese invention patent application of CN 103383670A, a kind of universal driving method and system of integrating peripheral device disclosed.In this technical scheme, host computer system utilizes descriptive language to drive peripheral equipment, can solve conventional hardware manufacturer and need to provide the miscellaneous editions driver of different host system, operating system, the puzzlement of function software for specific hardware.According to embodiment, when peripheral device connects after host computer system, the operating system of host computer system can be passed through this peripheral device of Address Recognition, and this peripheral device of access, set up a passage of access peripheral device, utilize afterwards descriptive language further to produce the operation interface that belongs to this peripheral device, user can pass through operation interface access peripheral device.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of general method of attachment for different hardware equipment.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A general method of attachment for different hardware equipment, comprises the steps:
The access of Peripheral Interface system Real-Time Monitoring hardware device;
When hardware device is connected to host computer system, Peripheral Interface system is connected with hardware device, obtains type and the function information of hardware device;
According to function information, user's feature operation is changed into command information, according to command information, hardware device is implemented to corresponding operation.
Wherein more preferably, described Peripheral Interface system comprises monitoring unit and api interface unit;
Wherein, the real-time monitor command information of described monitoring unit, when receiving described command information, calls described api interface unit hardware device is implemented to corresponding operation.
Wherein more preferably, described Peripheral Interface system comprises display unit;
Described display unit comprises display module and operational module;
Wherein, described display module is presented at display interface by function information, and described operational module changes into command information by corresponding feature operation, and sends.
Wherein more preferably, the test case that the manufacturer of described function information by hardware device provides obtains.
Wherein more preferably, described Peripheral Interface system also comprises storage unit, type and the function information of the hardware device of described cell stores access, when the hardware device of same type is again during access host system, directly transfer corresponding function information from described storage unit.
The present invention is a kind of general method of attachment for different hardware equipment, no matter whether hardware device is provided with driver, can complete connection by Peripheral Interface system, by copying hardware equipment function information, corresponding operating changes into command information, finally realize the use to this hardware device corresponding function, thereby reduced use difficulty, effectively improved work efficiency.
Accompanying drawing explanation
Fig. 1 is that host computer system utilizes this general method of attachment to realize the schematic diagram being connected with hardware device;
Fig. 2 is the logical organization schematic diagram of Peripheral Interface system;
Fig. 3 is the operational flowchart of general method of attachment provided by the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Technical matters to be solved by this invention is to provide a kind of general method of attachment for different hardware equipment.In this general method of attachment, the access of Peripheral Interface system Real-Time Monitoring hardware device; When hardware device is connected to host computer system, Peripheral Interface system is connected with hardware device, obtain type and the function information of hardware device, after being copied, function information is presented on display interface, according to function information, user's feature operation is changed into command information and sends, the real-time monitor command information of Peripheral Interface system, implements corresponding operation according to command information to hardware device.Like this, no matter whether hardware device is provided with driver, can complete connection by Peripheral Interface system, and by the copying of hardware equipment function information, corresponding operating changes into command information, finally realizes the use to this hardware device corresponding function.This process is done to detailed specific description below.
As shown in Figure 1, when hardware device access host system, Peripheral Interface system is connected with hardware device, carries out a series of operational processes, finally command information is acted on to hardware device, completes the corresponding operating of hardware device.When hardware device accesses, without being concerned about the driver difference between different hardware equipment, cause inoperable problem, even with being concerned about whether hardware device does not contain driver, thereby simplified the complicacy operating, improved work efficiency.
As shown in Figure 2, Peripheral Interface system comprises function acquiring unit, function copied cells, storage unit, display unit, monitoring unit and api interface (application programming interface) unit.Wherein, function acquiring unit is in order to the access of Real-Time Monitoring hardware device, and when hardware device is connected to host computer system, function acquiring unit is in order to connect hardware device, utilizes test case that manufacturer provides to obtain type and the function information of hardware device simultaneously.The test case here (Test Case) is a group of test input, executive condition and expected results that the manufacturer of hardware device works out for certain intended target, to test certain Program path or examine whether meet certain predetermined demand.By test case, can in the situation that lacking driver, know the concrete function (being the function information of hardware device) that this hardware device can complete.
Function acquiring unit compares the hardware device information of storing in the function information of hardware device and storage unit, when the information of the hardware device of storing in the information of connected hardware device and storage unit does not match, function acquiring unit is sent to function copied cells by the function information of the hardware device obtaining.
The function information of the hardware device of the access that function copied cells sends in order to receiving function acquiring unit, copies and is deposited into storage unit.
Storage unit is in order to type and the corresponding function information of the hardware device of storage access.When the hardware device of same type is again during access host system, can directly transfer corresponding function information according to the information of storage unit, function copied cells does not need the function information carrying out again to copy, thereby has reduced operating process, has improved work efficiency.
Display unit comprises display module and operational module.Wherein display module is in order to be presented at display interface by function information, for user, operate, corresponding feature operation is changed into command information, after operational order completes, display interface can show that corresponding operation completes or operation failure information to user, reminding user is made corresponding processing.User clicks corresponding operational order according to demand, and operational module changes into command information by corresponding feature operation, and sends.
Monitoring unit is for real-time monitor command information, when receiving the command information that the operational module of display unit sends, calls api interface unit, and hardware device is implemented to corresponding operation, complete operation order.Api interface unit, for providing unified calling interface to various application programs, by calling api interface unit, can complete the access to hardware device.
It should be noted that, above-mentioned Peripheral Interface system and functional unit thereof can be realized with the combination of software, hardware or software and hardware.Wherein hardware components can utilize special logic to realize; Software section can be stored in storer, and by suitable instruction execution system, for example microprocessor or special designs hardware are carried out.Those having ordinary skill in the art will appreciate that above-mentioned method and system can and/or be included in processor control routine with computer executable instructions realizes, for example, at the mounting medium such as disk, CD or DVD-ROM, provide such code on such as the programmable memory of ROM (read-only memory) (firmware) or the data carrier such as optics or electronic signal carrier.System in the present invention and functional unit thereof can be by such as VLSI (very large scale integrated circuit) or gate array, realize such as the semiconductor of logic chip, transistor etc. or such as the hardware circuit of the programmable hardware device of field programmable gate array, programmable logic device etc., also can use the software of being carried out by various types of processors to realize, also can by the combination of above-mentioned hardware circuit and software for example firmware realize.
As shown in Figure 3, the access of the function acquiring unit Real-Time Monitoring hardware device in Peripheral Interface system, when hardware device is connected to host computer system, function acquiring unit connects hardware device and constantly scans, utilize the test case that manufacturer provides can obtain type and the function information of hardware device, and further obtain this hardware device and accept the response after external signal.Corresponding relation between this external signal and hardware device response is exactly in the situation that lacking driver, the corresponding function that hardware device can complete.Next, the hardware device information of storing in the type of obtained hardware device and storage unit is compared, when the information of the hardware device of storing in the information of the hardware device connecting and storage unit matches, directly enter storage unit and extract the relevant information of hardware device, when the information of the hardware device of storing in the information of the hardware device connecting and storage unit does not match, function acquiring unit is sent to function copied cells by the function information of obtained hardware device, relevant information to hardware device copies, and is deposited into storage unit.Display module in display unit extracts the function information of hardware device and is presented on display interface from storage unit, for user, carries out feature operation, and corresponding feature operation is changed into command information, command information is sent simultaneously.The real-time monitor command information of monitoring unit, when receiving the command information that the operational module of display unit sends, calls api interface unit hardware device is inputted to corresponding external signal.This hardware device is made corresponding response after receiving external signal, thereby completes corresponding function.Operating result is presented on display interface, and reminding user is made further processing.
The general method of attachment of hardware device provided by the present invention, by the copying of hardware equipment function information, has avoided the direct access of hardware device to operating system, by Peripheral Interface system, directly completes the associative operation to hardware device.No matter whether hardware device is provided with driver, can complete connection by Peripheral Interface system, and then carries out the operational order of corresponding hardware device.Avoided, when connecting dissimilar hardware device, need to reinstalling the driver for this hardware device, could realize the sequence of operations of hardware device corresponding function, improved work efficiency.
Above the general method of attachment for different hardware equipment provided by the present invention is had been described in detail.To those skilled in the art, any apparent change of under the prerequisite that does not deviate from connotation of the present invention, it being done, all will form infringement of patent right of the present invention, will bear corresponding legal liabilities.

Claims (5)

1. for a general method of attachment for different hardware equipment, it is characterized in that comprising the steps:
The access of Peripheral Interface system Real-Time Monitoring hardware device;
When hardware device is connected to host computer system, Peripheral Interface system is connected with hardware device, obtains type and the function information of hardware device;
According to function information, user's feature operation is changed into command information, according to command information, hardware device is implemented to corresponding operation.
2. the general method of attachment for different hardware equipment as claimed in claim 1, is characterized in that:
Described Peripheral Interface system comprises monitoring unit and application programming interface unit;
Wherein, the real-time monitor command information of described monitoring unit, when receiving described command information, calls described application programming interface unit hardware device is implemented to corresponding operation.
3. the general method of attachment for different hardware equipment as claimed in claim 1, is characterized in that:
Described Peripheral Interface system comprises display unit;
Described display unit comprises display module and operational module;
Wherein, described display module is presented at display interface by function information, and described operational module changes into command information by corresponding feature operation, and sends.
4. the general method of attachment for different hardware equipment as claimed in claim 1, is characterized in that:
The test case that the manufacturer of described function information by hardware device provides obtains.
5. the general method of attachment for different hardware equipment as claimed in claim 1, is characterized in that:
Described Peripheral Interface system also comprises storage unit, and type and the function information of the hardware device of described cell stores access, when the hardware device of same type is again during access host system, are directly transferred corresponding function information from described storage unit.
CN201310631694.4A 2013-11-29 2013-11-29 A kind of general connection method for different hardware equipment Active CN103761203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310631694.4A CN103761203B (en) 2013-11-29 2013-11-29 A kind of general connection method for different hardware equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310631694.4A CN103761203B (en) 2013-11-29 2013-11-29 A kind of general connection method for different hardware equipment

Publications (2)

Publication Number Publication Date
CN103761203A true CN103761203A (en) 2014-04-30
CN103761203B CN103761203B (en) 2017-09-22

Family

ID=50528445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310631694.4A Active CN103761203B (en) 2013-11-29 2013-11-29 A kind of general connection method for different hardware equipment

Country Status (1)

Country Link
CN (1) CN103761203B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867891A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Guide loading device and method, electronic equipment and mainboard replacement method thereof
CN107273603A (en) * 2017-06-09 2017-10-20 科影视讯(北京)信息科技有限公司 A kind of connection method in system scheme between hardware
CN109413370A (en) * 2017-08-17 2019-03-01 杭州海康威视数字技术股份有限公司 A kind of function displaying method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172342A1 (en) * 2002-03-08 2003-09-11 Uri Elzur System and method for identifying upper layer protocol message boundaries
CN101852832A (en) * 2010-04-22 2010-10-06 芯通科技(成都)有限公司 Flexibly-extendable automatic testing system platform suitable for testing radio frequency module product
CN102193788A (en) * 2010-03-12 2011-09-21 复旦大学 Method for multiplexing cross-platform driver based on dynamic binary translation
CN103383670A (en) * 2012-05-02 2013-11-06 智易科技股份有限公司 Universal driving method and system for integrating peripheral device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172342A1 (en) * 2002-03-08 2003-09-11 Uri Elzur System and method for identifying upper layer protocol message boundaries
CN102193788A (en) * 2010-03-12 2011-09-21 复旦大学 Method for multiplexing cross-platform driver based on dynamic binary translation
CN101852832A (en) * 2010-04-22 2010-10-06 芯通科技(成都)有限公司 Flexibly-extendable automatic testing system platform suitable for testing radio frequency module product
CN103383670A (en) * 2012-05-02 2013-11-06 智易科技股份有限公司 Universal driving method and system for integrating peripheral device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867891A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Guide loading device and method, electronic equipment and mainboard replacement method thereof
CN107273603A (en) * 2017-06-09 2017-10-20 科影视讯(北京)信息科技有限公司 A kind of connection method in system scheme between hardware
CN109413370A (en) * 2017-08-17 2019-03-01 杭州海康威视数字技术股份有限公司 A kind of function displaying method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103761203B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN103412769A (en) External card parameter configuration method, equipment and system
CN107122321A (en) Hardware restorative procedure, hardware repair system and embodied on computer readable storage device
US10936299B2 (en) Automated intra-system persistent memory updates
US20030236970A1 (en) Method and system for maintaining firmware versions in a data processing system
US20070061818A1 (en) Detection of devices during operating system setup
CN101739266B (en) Firmware updating method
CN102207896A (en) Virtual machine crash file generation techniques
CN109426613B (en) Method for retrieving debugging data in UEFI and computer system thereof
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
US20120271983A1 (en) Computing device and data synchronization method
CN103593281A (en) Test system and test method
US8825920B2 (en) Field upgradable firmware for electronic devices
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN103761203A (en) General connection method for different types of hardware equipment
US6904484B1 (en) Low pin count (LPC) firmware hub recovery
US20100205423A1 (en) Bios, computer device and method for recovering bios
CN103455750B (en) The high peace verification method of a kind of embedded device and device
CN105138337A (en) Plugin adaptation method and plugin adaptation device
CN102799479A (en) Mainboard with multifunctional basic input output system (BIOS) and test method thereof
US20150309903A1 (en) Recovery circuit for basic input-output system
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
US20090210589A1 (en) Dynamic Vital Product Data Update Based on an Installed Feature Card
US20090217389A1 (en) Hardware password alignment system apparatus and methods
CN104750591A (en) Evidence-taking device and method for computer
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant