CN1318987C - Computer interface driver program - Google Patents

Computer interface driver program Download PDF

Info

Publication number
CN1318987C
CN1318987C CNB028015622A CN02801562A CN1318987C CN 1318987 C CN1318987 C CN 1318987C CN B028015622 A CNB028015622 A CN B028015622A CN 02801562 A CN02801562 A CN 02801562A CN 1318987 C CN1318987 C CN 1318987C
Authority
CN
China
Prior art keywords
data
interface
driver
equipment
application program
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 - Lifetime
Application number
CNB028015622A
Other languages
Chinese (zh)
Other versions
CN1462395A (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.)
Science Park Corp
Original Assignee
Science Park Corp
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 Science Park Corp filed Critical Science Park Corp
Publication of CN1462395A publication Critical patent/CN1462395A/en
Application granted granted Critical
Publication of CN1318987C publication Critical patent/CN1318987C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Manipulator (AREA)

Abstract

A common interface is provided for device drivers (5) operating in a kernel (8) so as to obtain a high speed data transfer and data security. A common interface driver (7) is provided for device drivers (5) controlling a device (6) connected to a computer. The common interface driver (7) operates in a kernel mode (8) and provides interface with an application program (4). The common interface driver (7) receives and analyzes a command from the application program (4) and outputs an instruction to the device drivers (5).

Description

Robot calculator interface driver system
Technical field
The present invention relates to control the robot calculator of using between the device driver of robot calculator interface driver system.In detail, relate to conduct by the interface between the device driver of core mode work, and the robot calculator of the interface between device driver and application program interface driver system.
Background technology
Robot calculator is by being connected in central arithmetic processing apparatus (CPU), memory storage (storer, hard disk etc.), input media (keyboard, Genius mouse etc.), output unit (display etc.), a plurality of hardware resources such as the card slot of peripherals (printer, scanner etc.) usefulness are formed, and these hardware are controlled by the OS (operating system) that is stored in memory storage and worked.
The various application programs of working in robot calculator are worked on OS.OS controls the overall work of robot calculator, absorbs the difference of different hardware specifications, provides common environment to application program.That is to say, OS provides keyboard input or the such input/output function of picture output, the management of disk or storer etc. are the overall software of managing electronic system for computer from the common basic functions of utilizing of a plurality of application programs, are also referred to as " basic software " sometimes.
The hardware of robot calculator is produced by numerous manufacturers, and its specification is different because of manufacturer sometimes.The user wishes not consider the difference of this hardware specification and carries out the exploitation of application program.The difference of this specification of hardware, OS absorbs and application programs provides common environment.
The function that the developer of application program utilizes OS to provide can be saved development workload whereby, can unify the operability of application program.Basically on any robot calculator of this OS work, can utilize towards the application program that certain OS developed.
Having with MS-DOS (registered trademark), UNIX (registered trademark), Linux, FreeBSD (registered trademark) etc. among the OS is numerous kind of representative, and the OS that utilizes as the general user of enterprise or family is most popular to be the Windows series of Micrsoft company.The Mac OS (registered trademark) of Apple company is widely used in DTP industry or multimedia industry.The UNIX class OS of each company in the server of enterprise or the academic office, or UNIX class OS such as free Linux that scatters or FreeBSD have use more.In recent years, as the OS that server is used, the Windows NT/2000 (registered trademark) of Microsoft company is enlarging share.
[general structure always]
The summary of the general structure of Windows NT/2000 (registered trademark) is shown as the representative of OS in Fig. 9 here.As can be seen from Figure 9, Windows NT/2000 becomes hardware 2, OS 3 generally, realizes the such hierarchical structure of application program 4 of the function of actual customer requirements.
With micro core 51 is the center, and the various softwares of working on this level (core mode software) constitute core mode 8.And the application program 4 that is in highest level is by user mode 9 work.OS 3 has roughly divided cause executive routine 50, micro core 51, hardware abstraction layer (HAL) 52 compositions.HAL 52 is the programs of control of attention hardware that are positioned at the tight upper strata of hardware 2, absorbs the specification of various hardware such as processor, is the program that the service (micro core 51, executive routine 50 etc.) to upper layer provides same environment to use.
Micro core 51 provides the basic training able one of overall system.Executive routine 50 is to utilize the service provided in micro core 51, HAL 52 to realize the program that usefulness is provided overall of the main service of OS 3.In executive routine 50, comprise representational executive routines such as cache management program 53, management by objective program 54, process management program 55, memory manager program 56, I/O supervisory routine 57.
Management by objective program 54 is that the target that monitors existence is controlled the program of adjusting usefulness.Process management program 55 is to monitor that the process of working adjusts the program of usefulness.Cache management program 53 and memory manager program 56 are that the program that the storer virtual memory is used is adjusted in control.I/O supervisory routine 57 is the programs that monitor the input/output function of control OS.When robot calculator is worked with this executive routine 50, be called core mode 8.
By core mode 8, all orders of operation OS 3 usefulness can be carried out, if the order of execution error can not have harmful effect to overall system yet.In addition, also has application program etc. to the wide-open user mode 9 of user.By this user mode 9, the order of restriction operation OS 3 is not so that have harmful effect to system.Because system can automatically catch system there is dysgenic order, so concerning the user, become easy-to-use environment.
But,,, have to via core mode 8 so become the part that can't directly visit relevant hardware 2 by the application program 4 of user mode 9 work because the function that this restriction has limited OS 3 equally is set.Core mode 8 can be used the function of OS 3 fully, also can visit fully each input-output unit.In addition, handle than the process priority of user mode 9, can obtain high performance by the program of core mode 8 work.
Device driver 5 belongs to OS 3, is the software that the external hardware of managing electronic computing machine is used, by 8 work of core mode.Usually, device driver 5 is that the equipment with same alike result exists one to one.Application program 4 by user mode 9 work is had to via device driver 5 in order to visit each equipment.
For example, slave unit A transmits the occasion of data to equipment B as shown in Figure 10, the flow process of data becomes " device A " → " device driver A " → (from the switching of core mode 8 to user mode 9 ground working methods) " application program 4 " (from user mode 9 switching to core mode 8 ground working methods) → " device driver B " → " equipment B ", system carries out from core mode 8 on one side to user mode 9, on one side perhaps handle to the switching of core mode 8 ground working methods from user mode 9.
User mode 9 is processing of spended time with the switching of core mode 8, and when transmitted image data etc. and so on lot of data, transfer rate is slack-off, the delivery time lengthening.Therefore, the high speed of seeking transfer rate on application level is difficult.The cause of the switching of user mode 9 and core mode 8 because have to carry out at the processing of application program 4.
Here, always the work formality when equipment room transmits is described.Figure 10 illustrates the summary of the relation of application program 4 and device driver 5 and working method 8,9.As can be seen from the figure, application program 4 is pressed user mode 9 work.
Device driver 5 is included OS 3 in and is worked by core mode 8.The equipment 6 that constitutes the hardware 2 of robot calculator is made up of various internal units and the external unit that is connected in robot calculator, only controls from intrinsic separately device driver 5.That is to say, the visit of equipment 6 is all carried out via device driver 5.Device driver 5 via OS 3 because of working from the order of application program 4.
Next the flow chart with reference to Figure 11 illustrates the flow process that data transmit.The flow process of the data of application program 4 slave unit A when equipment B transmits data of user mode 9 work is pressed in working method 8,9 explanation on one side of comparison system on one side.At first, application program 4 transmission of sending data requires (order) (S50).
At this moment, device A is sent the requirement (S51) that data send, the requirement (S52) of equipment B being sent Data Receiving.The working method of system changes core mode 8 into from user mode 9.Device driver A receives the requirement (S53) that data send, and sends to device A (S54).Device A is received the requirement (S55) that data send, and sends data (S56).Device driver A receives the data (S57) that sent, and carries out inter-process (S58), sends data (S59) to application program 4.
The working method of system changes user mode 9 into from core mode 8, and application program 4 receives data and handle it that (S60 S61), sends result (S62) to device driver B.The working method of system switches to core mode 8 from user mode 9 once more.Device driver B receives data (S63), carries out inter-process (S64), sends result (S65) to equipment B.
Equipment B is received data (S66), sends the information (S67) of data payment received to device driver B.Device driver B receives the information (S68) of this data payment received, transmits finish (S69) to application program 4 notification datas.System changes user mode 9 into, and application program 4 is received Data Transfer Done (S70), and beginning is next to be handled, and the processing that a series of data transmit finishes (S71).
So, data are transmitted by " device A " → " device driver A " → (switching of working method) " application program 4 " (switching of working method) → " device driver B " → " equipment B ".Around here, the working method of an edge system repeats to switch an edge work in core mode 8 and 9 of user modes.If handle lot of data then the increased frequency of the hand-off process of this working method.
And then when other application programs were worked simultaneously in system, because system carries out the switching of working method for this application program, the switching times of pretending to the overall system working method increased, and became application program execution each other and handled the reason that slows down.These, the increase of the switching times of working method becomes the reason of the low speedization that the transmission of data receive to handle probably, particularly in the occasion of strong request real-times such as Flame Image Process, becomes the reason of the interference etc. of image shown on the picture probably.
In this type systematic, in order to ensure the performance of system, with the hardware development designing technique while, the development technique of controlling the device driver 5 of these hardware 2 becomes important.When particularly carrying out the transmission of view data and so on mass data, preferably reduce the switching of user mode 9 and core mode 8, seek the high speed that data transmit.In addition, when the strong request safety of data, preferably in the discontiguous core mode 8 of user, transmit.
Summary of the invention
The present invention makes according to above-mentioned technical background, realizes following purpose.
The object of the present invention is to provide a kind of interface driver system of robot calculator of the common interface that application program and device driver can be provided.
Another object of the present invention is to provide a kind of and provides by the common interface between the device driver of core mode work, can seek the interface driver system of the robot calculator of the high speed that data transmit.
Another purpose of the present invention is to provide a kind of aforementioned common interface that provides, and can seek the interface driver system of the robot calculator that the safety of the data that the secret of data is protected transmits.
Advantage of the present invention is that the common interface driver that can come the various device driver that comprised in the control operation system with a common device driver is set in the centre of device driver, can carry out the data transmit-receive of equipment room whereby at a high speed, safely.
Another advantage of the present invention is that the number of times that switches between the core mode of the user mode of application work and device driver work reduces, and data transmit to become at a high speed and transmit.By the common interface driver is set, become at a high speed view data income robot calculator and to the processing speed that network transmits usefulness.
And then another advantage of the present invention is by handle with the various data headed by the bar code information secret height of information data, security raising by the core mode.And then another advantage of the present invention is by the common interface driver being set, the unified environment of driver exploitation can be provided, just can shorten the development time, reducing development cost.
The present invention realizes by adopting following means in order to realize aforementioned purpose.
The present invention's first technical scheme is a kind of robot calculator interface driver system, and described robot calculator utilizes operating system work, and described operating system comprises:
Be used for opertaing device device driver and
Common interface is used in the order of sending according to the application program of moving at robot calculator when described equipment room carries out data transmit-receive, carries out from described application program it is characterized in that to the data of described device driver or the transmitting-receiving of order,
Described equipment is made up of the 1st equipment and the 2nd equipment,
There is the 1st device driver that is used to control described the 1st equipment,
There is the 2nd device driver that is used to control described the 2nd equipment,
Described interface driver system comprises:
Application program interface unit is used to receive the order from described application program, and to described application notification command execution results;
The 1st interface unit is used for being taken into the reception data from described the 1st device driver;
The 2nd interface unit is used for sending to described the 2nd device driver the transmission of data; And
Data processing unit is used to handle described reception data, generates described transmission data, and transmits described transmission data to the described mat woven of fine bamboo strips 2 interface units,
Described operating system has core mode and two kinds of working methods of user mode, and wherein, all orders that are used to operate described operating system can be carried out under the core mode, and described order only some can be carried out under user mode,
Described robot calculator is worked under described core mode with the interface driver system,
Described the 1st equipment is the image device that is used to be taken into view data,
Described the 2nd equipment is to be used for being connected with network and to send the network interface card of described view data to described network,
Described the 1st interface unit is taken into described view data from described image device,
Described data processing unit is handled the described view data that sends from described the 1st interface unit, and generates the transmission view data that is used for to described network transmission,
Described the 2nd interface unit sends described transmission view data from described data processing unit to described network.
The aforementioned data processing mechanism preferably carries out correcting process such as colour correction, compression processing, encryption, packing processing, the change of image file form of aforementioned view data to be handled or frame extraction processing.
Second technical scheme of the present invention is a kind of robot calculator interface driver system, and described robot calculator utilizes operating system work, and described operating system comprises:
The device driver that is used for opertaing device; With
Common interface is used in the order of sending according to the application program of moving at robot calculator when described equipment room carries out data transmit-receive, carries out from described application program it is characterized in that to the data of described device driver or the transmitting-receiving of order,
Described equipment is made up of the 1st equipment and the 2nd equipment,
There is the 1st device driver that is used to control described the 1st equipment,
There is the 2nd device driver that is used to control described the 2nd equipment,
Described interface driver system comprises:
Application program interface unit is used to receive the order from described application program, and to described application notification command execution results,
The 1st interface unit is used for being taken into the reception data from described the 1st device driver;
The 2nd interface unit is used for sending to described the 2nd device driver the transmission of data; And
Data processing unit is used to handle described reception data, generates described transmission data, and transmits described transmission data to described the 2nd interface unit,
Described operating system has core mode and two kinds of working methods of user mode, and wherein, all orders that are used to operate described operating system can be carried out under the core mode, and described order only some can be carried out under user mode,
Described robot calculator is worked under described core mode with the interface driver system,
Described the 1st equipment is the apparatus for reading of bar code that is used to read bar code data,
Described the 2nd equipment is to be used for being connected with network and to send the network interface card of described bar code data to described network,
Described the 1st interface unit is taken into described bar code data from described apparatus for reading of bar code,
Described data processing unit is handled the described bar code data that described the 1st interface unit sends, and generates the transmission bar code data that is used for to described network transmission,
Described the 2nd interface unit sends described transmission bar code data from described data processing unit to described network.
The aforementioned data processing unit preferably carries out correcting process, compression processing, encryption or the packing of aforementioned bar code data to be handled.
In addition, preferably have the addressing server in aforementioned network, this addressing server has the function that aforementioned bar code data is transformed into the URL address date,
Aforementioned the 2nd interface unit is obtained aforementioned URL address date from aforementioned addressing server via aforementioned network interface card,
Aforementioned applications routine interface unit transmits aforementioned URL address date to aforementioned application program.
And then preferably aforementioned network is the Internet, public's wireless communication networks, perhaps public's wire net.
Aforementioned URL address date is the IP address preferably.Aforementioned URL address date has preferably been encrypted.
Aforementioned addressing server is double as aforementioned electronic computing machine preferably.
The interface driver system of aforementioned electronic computing machine preferably writes down the recording medium of the interface driver of this robot calculator.
Description of drawings
Fig. 1 is the conceptual view of expression embodiments of the invention.
Fig. 2 is the flow chart of the work of expression embodiments of the invention.
Fig. 3 is the concept map of network image disposal system.
Fig. 4 is the pie graph of the common interface driver of network image disposal system.
Fig. 5 is the flow chart of work formality of the common interface driver of Fig. 4.
Fig. 6 is the concept map of bar code data URL address mapping system.
Fig. 7 is the pie graph of the common interface driver of bar code data URL address mapping system.
Fig. 8 is the flow chart of work formality of the common interface driver of Fig. 7.
Fig. 9 is the figure of the general structure of expression Windows.
Figure 10 be always OS and the concept map of device driver.
Figure 11 is a flow chart of representing the work formality of device driver always.
Embodiment
The following describes embodiments of the invention.Fig. 1 is the concept map of embodiment of the interface driver program of expression robot calculator of the present invention, is the concept map with the OS of common interface driver.The flow chart of the data when Fig. 2 is expression transmission data and the flow process of order.
Robot calculator 1 is made of hardware 2 such as CPU, storer, external units, controls these hardware 2 by the OS 3 that is stored in memory storage and makes it work.The application program 4 that the final user uses is worked in the environment that OS 3 provides.In OS 3, comprise the device driver 5 of controlling external unit, come opertaing device 6 by order from application program 4, both slave unit 6 received data, sent data to equipment 6 again.
In the present embodiment, become the common window of each device driver 5, common interface driver 7 gathers the exchange of carrying out with application program 4.In addition, by the order from application program 4, the transmission that also can control the data of 6 of two equipment receives.Common interface driver 7 is interfaces of 5 of two device driver (A) 5 and device drivers (B), by 8 work of core mode.
That is to say that device A and equipment B are arranged in equipment 6, control by device driver A and device driver B respectively.Slave unit A is shown in the flow chart of Fig. 2 to the flow process of the data of the occasion of equipment B transmission data.The application program 4 of pressing user mode 9 work when equipment B transmits data (S1), is sent requirement (order) that data transmit (S2) at slave unit A.At this moment, the working method of system is a user mode 9.
The working method of system switches to core mode 8, and common interface driver 7 receives that common interface driver 7 is analyzed the requirement (S4) that these data transmit, and sends indication to each handling part from the requirement (S3) of the data transmission of application program 4.Device driver A is sent the requirement (S5) that data send.Device driver B is sent the requirement (S6) of Data Receiving.
Device driver A receives from the requirement (S7) of the data transmission of common interface driver 7, sends (S8) to device A.Device A is received the requirement (S9) that data send, and sends data (S10) to device driver A.Device driver A receives data (S11), carries out inter-process (S12), is transplanted on common interface driver 7 (S13).Common interface driver 7 receives data, carries out sending result (S15) to device driver B after compress-encrypt etc. handles (S14).
Device driver B receives data (S16) from common interface driver 7, carries out inter-process (S17), sends the result (S18) of this inter-process to equipment B.Equipment B is received data (S19), sends the information (S20) of data payment received to device driver B.Device driver B receives the information (S21) of this data payment received, sends the information (S22) of Data Transfer Done to common interface driver 7.
Common interface driver 7 is received the information (S23) of Data Transfer Done, transmits the information that finishes and waits for Next Command (S24) to application program 4 notification datas.Here, the working method of system changes user mode 9 into from core mode 8, and application program 4 is received the information (S25) of Data Transfer Done, and beginning is next to be handled.
So, a series of ends of job (S26) that data transmit.So, data transmit by " device A " → " device driver A " → " common interface driver 7 " → " device driver B " → " equipment B ".Between this transmission, the working method of system there is no need the switching of the mode of carrying out by 8 work of core mode.
In addition, data are not directly pressed core mode 8 in 6 transmission of equipment (A, B) via the application program 4 of user mode 9, become and can transmit mass data at high speed.In addition, because transmit, so safety of data also improves by the core mode 8 that can not directly handle from application program 4.
[network image disposal system]
Explanation applies to image data processing and the example when system that network transmits in the interface driver program of robot calculator of the present invention.It is such that the formation of network image disposal system 10 becomes Fig. 3.As shown in the figure, network image disposal system 10 is made up of two robot calculator 11,12 at least, and each robot calculator 11,12 connects via network 13 each other.Robot calculator 11 sends from the view data of video camera 14 incomes of outside to robot calculator 12, and robot calculator 12 receives and this view data of resetting.
Insert capure card 15 and LAN card 16 in the expansion slot of robot calculator 11, outside video camera 14 is connected in capure card 15.The image of shooting is by capure card 15 income robot calculator 11 in video camera 14.This image of being taken in carries out Flame Image Process and compression in robot calculator 11 after, transmit by the robot calculator 12 of LAN card 16 on network 13.Robot calculator 12 receives view data by the LAN card 16 that is connected in network 13 equally, resets.
In this 1st embodiment, be that example describes with the work formality of the common interface driver 7 of in Windows NT/2000 system, working.Fig. 4 is the functional-block diagram of summary of flow process of inside formation, order and view data of the common interface driver 7 of expression robot calculator 11.Common interface driver 7 is by using (AP) interface portion 17, data income portion 18.Data processing division 19, TDI client's drive portion (TDI client drive portion) 20 are formed, and the summary of the function of each several part is as follows.
AP interface portion 17 provides the interface of 7 of application program 4 and common interface drivers, receives that parameter setting or the action from application program 4 begins to wait order, analyzes, to each handling part handover running parameter, the transmission status of monitoring picture data.Data income portion 18 carries out by the processing of capure card driver 24 from capure card 15 income view data.
Capure card driver 24 performance control of video are caught card 15 and the effect of income view data.Data processing division 19 compression is from the view data of data income portion 18, and in accordance with regulations length is cut apart packing in order to transmit the view data compressed to network.TDI customer interface drive portion 20 provides the interface of LAN (Local Area Network) driver 21 with common interface driver 7.
LAN (Local Area Network) driver 21 is made of protocol driver 22 and NDIS (NetWare Driver Interface Specification) driver 23, and control area net card 16 carries out the connection when network 13 transmits data and the control of agreement.Protocol driver 22 is controlled at the communication protocol when the transmission data in the network 13.
Ndis driver 23 provides the interface person of protocol driver 22 and LAN card 16.TDI client's drive portion 20 is received the compressing image data of having packed and to protocol driver 22 outputs from data processing division 19.
[work of network image disposal system]
Next, the work of aforementioned the 1st embodiment is described.The working condition of each one and the flow process of data are shown in the flow chart of Fig. 5.This flow chart illustrates the instruction by the application program 4 of working by user mode 9, and common interface driver 7 is received view data from capure card 15, via the formality of LAN card 16 to network 13 transmission.At first, the order that the transmission of application program 4 output image datas receives, data transmit beginning (S100).
This output command is via output to common interface driver 7 with the interface that standard criterion was provided in Windows.The order (S101) that the AP interface portion 17 of common interface driver 7 receives from application program 4.In order, comprise data income parameter, network parameter and action initiation command etc.
Then, AP interface portion 17 is transferred data income parameter (S102) to data income portion 18, transfers network parameter (S103) to TDI client's drive portion 20.TDI client's drive portion 20 is carried out the connection processing (S104) of ndis driver 23, carries out the setting (S105) of the network parameter of protocol driver 22.In this operation, the view data of sending here is ready to network 13 outputs.
Data income portion 18 carries out the setting (S106) of data incomes parameter, carries out the connection processing (S107) to capure card driver 24, receives ready from the image of video camera 14.Pass through capure card driver 24 by the reception buffer (S108) of income data income portion 18 from the view data of capure card 15.Then, data income portion 18 transfers the view data (S109) that enters reception buffer to data processing division 19.
Data income portion 18 is when AP interface portion 17 has requirement (S110), in order to send to application program 4, and the necessary information (S111) such as situation of carrying out that makes that the situation, the view data that receive view data handle.Transfer the information (S112) that is made to AP interface portion 17.In data processing division 19, (S113) handled in the compression of the view data of receiving.
Data processing division 19 to be cut apart the view data of having compressed by the network specified length and is made packet (S114) in order to transmit to network.The transmission view data of having packed is sent to the transmit buffer (S115) of TDI client's drive portion 20.At this moment, with (the S110~S112) same of data income portion 18, data processing division 19 can make to be sent the information of compression treatment situation etc. of view data of usefulness to AP interface portion 17 (S116~S117), the information that is made also can be transplanted on AP interface portion 17 (S118).
TDI client's drive portion 20 sends the transmission view data (S119) that enters transmit buffer to protocol driver 22.Same with data processing division 19, TDI client's drive portion 20 can make to the information such as transmission status of AP interface portion 17 data (S120~S121).The information that is made also can be transplanted on AP interface portion 17 (S122).TDI client's drive portion 20 sends packet to AP interface portion 17 and sends the information (S123) that finishes.
Last AP interface portion 17 transmits finish (S124) to application program 4 notification data bags, supervision is from the requirement (S125) of application program 4, in the occasion that does not have indication, proceed the income (S125 → S108) of view data, when halt instruction is arranged (S125), to data income portion 18, data processing division 19 and 20 these orders of indication of TDI client's drive portion, make processing finish (S126).
[bar code data URL address mapping system]
Next, illustrate the interface driver program of robot calculator of the present invention applied to bar code data is transformed into URL (Universal Resource Locator) address and in Web-browser the 2nd embodiment the during system of the homepage of this URL of reading.It is such that the formation of bar code data URL address mapping system 30 becomes Fig. 6.
Bar code data URL address mapping system 30 is connecting bar code by the Internet 34 URL address server (hereinafter referred to as the addressing server) 31, therewith one URL address corresponding Web server (hereinafter referred to as server) 33 and bar code is being read in user terminal 32.On each user terminal 32, connecting bar code reader 28.In addressing server 31, prepared the database 35 of registration in advance with the corresponding URL address information of bar code data.
Addressing server 31 is to receive 34 bar code datas of sending here from the Internet, retrieval and this bar code data corresponding URL address and the server of answering usefulness from database 35.Server 33 is the common Web servers on the Internet that store web page.Bar code reader 28 is to read the device of using with bar code printed on the printed matter headed by the sample.
User terminal 32 is received in the bar code data that reads in the bar code reader 28, carry out the encryption of data after, deliver to the addressing server 31 on the Internet 34.And user terminal 32 makes the corresponding web page of Web-browser starting and demonstration and URL address from the corresponding URL of the bar code data address that addressing server 31 is received and encrypted.User terminal 32 also can be portable terminal computers such as desktop PC, notebook-sized personal computer or personal digital assistant.
User terminal 32 is received corresponding with it URL address information so long as have to the Internet 34 and send the bar code information of being imported, and shows the merit able one of web page, just can be any electric terminal machine.Next be that example illustrates the work on the user terminal 32 of native system with the OS of Windows NT/2000.The summary of the common interface driver 7 of in user terminal 32, working shown in Fig. 7.
Common interface driver 7 is made of AP interface portion 17, data income portion 18, data processing division 19, TDI client's drive portion 20.Data income portion 18 uses from bar code reader 28 income bar code datas via USB/HID driver 25.Data processing division 19 is handled the bar code data of income in data income portion 18 and is carried out encryption.Simultaneously, also receive the information from the addressing server 31 of AP interface portion 17, length is in accordance with regulations cut apart and is made transfer data packets.
TDI client's drive portion 20 provides the interface with protocol driver 22, to LAN (Local Area Network) driver 21 output from the packing of encryption portion data use.Simultaneously, has function from the URL address information that obtains from addressing server 31 to AP interface portion 17 that transfer.AP interface portion 17 becomes the window of common interface driver 7, and the interface with application program 4 is provided.
Receive order, analyze order, send indication, provide information from each one to application program 4 to data income portion 18, data processing division 19, TDI client's drive portion 20 from application program 4.In detail, the orders such as setup parameter that AP interface portion 17 is received addressing server 31 from application program 4 are returned and the corresponding URL address information of bar code data to application program 4.
Press beginning and the finish command of the indication distribution apparatus driver 5 of application program 4.In addition, have functions such as information such as working condition in application program 4 Returning equipment drivers 5.Common interface driver 7 is possible by protocol driver 22 via LAN (Local Area Network) or direct access the Internet 34.Application program 4 is carried out starting, the end of Another application programs such as Web server, and controls such as the handing-over of parameter are possible.
[work of bar code data URL address mapping system]
Next, the work formality of common interface driver 7 is described with reference to Fig. 8.Application program 4 by user mode 9 work is received bar code data from bar code reader 28, addressing server 31 on the Internet 34 sends, receive the URL information of self-routing server 31, make the Web-browser starting, show the webpage of this URL address.At first, application program 4 outputs send the order (S150) that receives.
This order is via exporting by the interface that standard provided among the Windows.The order (S151) that the AP interface portion 17 of common interface driver 7 receives from application program 4.Setup parameter, network parameter and the action initiation command etc. that in order, comprise addressing server 31.Then, AP interface portion 17 is transferred network parameter (S153) to data income portion 18 transfer movement initiation commands (S152) to TDI client's drive portion 20.
TDI client's drive portion 20 is carried out the connection processing (S154) to ndis driver 23, carries out the setting (S155) of the network parameter of protocol driver 22.In this operation, carry out ready to the visit of the Internet 34.Data income portion 18 carries out the setting (S156) of data incomes parameter by the action initiation command, carries out the connection processing (S157) to USB/HID driver 25, and income is ready from the bar code data of bar code reader 28.
From the bar code data of bar code reader 28 by ndis driver 27 and UBS/HID quasi-driver 26 by the reception buffer (S158) of income data income portion 18.Then, data income portion 18 transfers the bar code data (S159) that enters reception buffer to data processing division 19.Data income portion 18 (S160) when requiring that information provides arranged from application program 4 makes the information (S161) to application program 4 outputs such as the situation of receiving bar code data.
Transfer this information that is made (S162) to AP interface portion 17.In data processing division 19, handle the bar code data of receiving, carry out encryption (S163), receive (S164) such as setup parameters from the addressing server 31 of AP interface portion 17.Then, the bar code data of having encrypted and the setup parameter of addressing server 31 are joined together, length makes packing data (S165) in accordance with regulations.The packing data that is made is sent to the transmit buffer (S166) of TDI client's drive portion 20.
With data income portion 18 equally have from application program 4 information provide require the time (S167), in data processing division 19, make the information (S168) of the treatment situation etc. of data to application program 4 outputs, transfer these information (S169) to AP interface portion 17.TDI client's drive portion 20 sends the data (S170) that enter the transmit buffer in this to protocol driver 22.
By protocol driver 22, enter the reception buffer (S171) of TDI client's drive portion 20 from the URL address that addressing server 31 is sent here.TDI client's drive portion 20 have from application program 4 information provide require the time, make the information of reception situation, transfer these information (S172~S174) to AP interface portion 17.Send the URL address information (S175) of reception buffer to AP interface portion 17.
AP interface portion 17 makes the information to application program 4 transmission usefulness that also comprises the URL address information, sends these information (S176) to application program 4.Then, 17 waits of AP interface portion are from the requirement of application program 4.In the occasion that does not have indication, proceed the income (S177 → S158) of bar code data.In that the occasion that stops to indicate is arranged, indicate this order to each handling part, and end (S178).
Industrial applicibility
Picture above in detail as described in, the interface driver device journey of electronic computer of the present invention Order, owing to can between equipment, transmit at high speed sending and receiving of the information such as data, so also can To transmit a large amount of data, to transmit required machine, long-range behaviour at picture image information machine and so on Use in the fields such as remote machine of doing. In addition because security improves, so also can The informational needs such as the data that secret is high like that such as bar code, password, personal authentication, program pass Send, pass on etc. in the field and use.

Claims (4)

1. robot calculator interface driver system, described robot calculator utilizes operating system work, and described operating system comprises:
Be used for opertaing device device driver and
Common interface is used in the order of sending according to the application program of moving at robot calculator when described equipment room carries out data transmit-receive, carries out from described application program it is characterized in that to the data of described device driver or the transmitting-receiving of order,
Described equipment is made up of the 1st equipment and the 2nd equipment,
There is the 1st device driver that is used to control described the 1st equipment,
There is the 2nd device driver that is used to control described the 2nd equipment,
Described interface driver system comprises:
Application program interface unit is used to receive the order from described application program, and to described application notification command execution results;
The 1st interface unit is used for being taken into the reception data from described the 1st device driver;
The 2nd interface unit is used for sending to described the 2nd device driver the transmission of data; And
Data processing unit is used to handle described reception data, generates described transmission data, and transmits described transmission data to described the 2nd interface unit,
Described operating system has core mode and two kinds of working methods of user mode, and wherein, all orders that are used to operate described operating system can be carried out under the core mode, and described order only some can be carried out under user mode,
Described robot calculator is worked under described core mode with the interface driver system,
Described the 1st equipment is the image device (15) that is used to be taken into view data,
Described the 2nd equipment is to be used for being connected with network (13) and to send the network interface card (16) of described view data to described network (13),
Described the 1st interface unit (18) is taken into described view data from described image device (15),
Described data processing unit (19) is handled the described view data that sends from described the 1st interface unit (18), and generates the transmission view data that is used for to described network (13) transmission,
Described the 2nd interface unit (20) sends described transmission view data from described data processing unit (19) to described network (13).
2. robot calculator interface driver system, described robot calculator utilizes operating system work, and described operating system comprises:
The device driver that is used for opertaing device; With
Common interface is used in the order of sending according to the application program of moving at robot calculator when described equipment room carries out data transmit-receive, carries out from described application program it is characterized in that to the data of described device driver or the transmitting-receiving of order,
Described equipment is made up of the 1st equipment and the 2nd equipment,
There is the 1st device driver that is used to control described the 1st equipment,
There is the 2nd device driver that is used to control described the 2nd equipment,
Described interface driver system comprises:
Application program interface unit is used to receive the order from described application program, and to described application notification command execution results,
The 1st interface unit is used for being taken into the reception data from described the 1st device driver;
The 2nd interface unit is used for sending to described the 2nd device driver the transmission of data; And
Data processing unit is used to handle described reception data, generates described transmission data, and transmits described transmission data to described the 2nd interface unit,
Described operating system has core mode and two kinds of working methods of user mode, and wherein, all orders that are used to operate described operating system can be carried out under the core mode, and described order only some can be carried out under user mode,
Described robot calculator is worked under described core mode with the interface driver system,
Described the 1st equipment is the apparatus for reading of bar code (28) that is used to read bar code data,
Described the 2nd equipment is to be used for being connected with network (34) and to send the network interface card (16) of described bar code data to described network (34),
Described the 1st interface unit (18) is taken into described bar code data from described apparatus for reading of bar code (28),
Described data processing unit (19) is handled the described bar code data that described the 1st interface unit (18) sends, and generates the transmission bar code data that is used for to described network (34) transmission,
Described the 2nd interface unit (20) sends described transmission bar code data from described data processing unit (19) to described network (34).
3. robot calculator as claimed in claim 2 interface driver system is characterized in that,
Have addressing server (31) in described network (34), this addressing server (31) has the function that described bar code data is transformed into the URL address date,
Described the 2nd interface unit (20) is obtained described URL address date from described addressing server (31) via described network interface card (16),
Described application program interface unit (17) transmits described URL address date to described application program (4).
4. robot calculator as claimed in claim 3 interface driver system is characterized in that,
Described network (13,34) is the Internet.
CNB028015622A 2001-05-07 2002-04-30 Computer interface driver program Expired - Lifetime CN1318987C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP136135/2001 2001-05-07
JP2001136135A JP5055492B2 (en) 2001-05-07 2001-05-07 Electronic computer interface driver program and recording medium therefor
JP2001136135 2001-05-07

Publications (2)

Publication Number Publication Date
CN1462395A CN1462395A (en) 2003-12-17
CN1318987C true CN1318987C (en) 2007-05-30

Family

ID=18983478

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB028015622A Expired - Lifetime CN1318987C (en) 2001-05-07 2002-04-30 Computer interface driver program

Country Status (6)

Country Link
US (2) US7395541B2 (en)
EP (2) EP2090979B1 (en)
JP (1) JP5055492B2 (en)
KR (1) KR100554115B1 (en)
CN (1) CN1318987C (en)
WO (1) WO2002091195A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10302427B4 (en) * 2003-01-22 2005-04-07 Fujitsu Siemens Computers Gmbh Method for operating a data processing system with a security device
EP1598738A4 (en) 2003-02-26 2009-04-01 Science Park Corp Computer containing a print control program, the program, and program recording medium
WO2005067394A2 (en) * 2003-08-14 2005-07-28 Vaman Technologies (R & D) Limited Enhancing security of odbc/oledb/jdbc driver interface
US20060080517A1 (en) * 2003-11-14 2006-04-13 Brown Christopher L T Accessing a protected area of a storage device
US7392527B2 (en) * 2003-12-10 2008-06-24 Microsoft Corporation Driver-specific context for kernel-mode shimming
JP2005275643A (en) * 2004-03-24 2005-10-06 Hitachi Ltd Contents data processor, and method
US20050257226A1 (en) * 2004-05-14 2005-11-17 Microsoft Corporation PnP functionality for unsupported devices
US7506343B2 (en) * 2004-08-19 2009-03-17 International Business Machines Corporation System and method for passing information from one device driver to another
US8239883B2 (en) 2005-03-29 2012-08-07 Canon Kabushiki Kaisha Information processing apparatus and method, program, and storage medium
WO2006129676A1 (en) * 2005-05-31 2006-12-07 Science Park Corporation Monitoring method, monitoring system, system program, and recording medium containing the program
US20070162350A1 (en) * 2005-11-23 2007-07-12 Friedman Paul R Method and apparatus for retrieving remote data based on local indicia
WO2008001823A1 (en) * 2006-06-27 2008-01-03 Science Park Corporation Computer data management method, program, and recording medium
JP2008107940A (en) * 2006-10-24 2008-05-08 Sony Corp Information processor, information processing method, and computer program
US20090064196A1 (en) * 2007-08-31 2009-03-05 Microsoft Corporation Model based device driver code generation
US8688744B2 (en) * 2008-09-09 2014-04-01 Applied Systems, Inc. Method, system, and apparatus for scanning and importing documents
US9613049B2 (en) 2008-09-09 2017-04-04 Applied Systems, Inc. Document integration and distribution system, method and device
US8725916B2 (en) * 2012-01-07 2014-05-13 Microsoft Corporation Host side implementation for HID I2C data bus
JP2015095067A (en) * 2013-11-12 2015-05-18 株式会社東芝 Data transmission device, data transmission method, and program
JP2015156186A (en) * 2014-02-21 2015-08-27 ソニー株式会社 Electronic device and linkage operation method
JP6349783B2 (en) 2014-02-28 2018-07-04 富士通株式会社 Terminal device, server device, device driver program, and external peripheral device control method
US9952853B2 (en) * 2015-02-10 2018-04-24 Mediatek Inc. Methods for cross-mounting devices and apparatus utilizing the same
US10831394B2 (en) * 2018-08-27 2020-11-10 International Business Machines Corporation Live upgrade of storage device driver using shim application
CN109637268A (en) * 2018-12-29 2019-04-16 无锡吾成互联科技有限公司 A kind of music teaching APP operating method and its realize system
EP3910485B1 (en) 2019-01-09 2023-08-23 Science Park Corporation Electronic data management device, electronic data management system, program therefor, and recording medium
CN113747087B (en) * 2021-09-10 2023-09-19 湖南君瀚信息技术有限公司 Remote driving low-delay image transmission method, device, computer equipment and medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5915131A (en) * 1995-05-05 1999-06-22 Apple Computer, Inc. Method and apparatus for handling I/O requests utilizing separate programming interfaces to access separate I/O services
JPH09164770A (en) 1995-12-18 1997-06-24 Ricoh Co Ltd Thermal recording material
US6205492B1 (en) * 1997-04-04 2001-03-20 Microsoft Corporation Method and computer program product for interconnecting software drivers in kernel mode
EP1008045B1 (en) * 1997-04-15 2007-11-21 Microsoft Corporation File system primitive allowing reprocessing of i/o requests by multiple drivers in a layered driver i/o system
JP2000057079A (en) 1998-08-10 2000-02-25 Yoshihiko Matsumoto Internet access system
US6598169B1 (en) * 1999-07-26 2003-07-22 Microsoft Corporation System and method for accessing information made available by a kernel mode driver
JP2001069160A (en) * 1999-08-31 2001-03-16 Ricoh Co Ltd Network setting system, interface device, setting device and network setting method
JP2001249840A (en) * 2000-03-06 2001-09-14 Shizuo Ichikawa Internet addressing by bar code
US6952830B2 (en) * 2001-08-16 2005-10-04 Occam Networks, Inc. System and method to uniformly access devices

Also Published As

Publication number Publication date
US7730497B2 (en) 2010-06-01
EP1387282A4 (en) 2008-05-28
KR100554115B1 (en) 2006-02-20
US20080134216A1 (en) 2008-06-05
JP2002328878A (en) 2002-11-15
US20040216141A1 (en) 2004-10-28
KR20030024772A (en) 2003-03-26
JP5055492B2 (en) 2012-10-24
EP2090979B1 (en) 2016-03-16
EP2090979A1 (en) 2009-08-19
WO2002091195A1 (en) 2002-11-14
CN1462395A (en) 2003-12-17
US7395541B2 (en) 2008-07-01
WO2002091195B1 (en) 2003-02-06
EP1387282A1 (en) 2004-02-04

Similar Documents

Publication Publication Date Title
CN1318987C (en) Computer interface driver program
US7039724B1 (en) Programmable command-line interface API for managing operation of a network device
US6772205B1 (en) Executing applications on a target network device using a proxy network device
US7945652B2 (en) Display multi-layers list item in web-browser with supporting of concurrent multi-users
US7127517B2 (en) Protocol adapter framework for integrating non-IIOP applications into an object server container
US7028091B1 (en) Web server in-kernel interface to data transport system and cache manager
KR20030060884A (en) Web os and web desktop
CN1675621A (en) Method and apparatus for booting with remote configuration data
CN101138216A (en) Server side TFTP flow control
EP0726519A1 (en) Operating system based remote communication system
US6671659B2 (en) System and method for monitoring controller diagnostics
US20080270483A1 (en) Storage Management System
US7433941B1 (en) Method and apparatus for accessing network information on a network device
US6404430B1 (en) Virtual space information processor
EP1385351A1 (en) Logging mobile devices onto multiple networks
Cisco Product Overview
Cisco Product Overview
Cisco Product Overview
Cisco Product Overview
CN103838586A (en) System and method for opening file
CN114721988B (en) Method and system for realizing USB peripheral drive agent and monitoring audit
US20030191761A1 (en) Methods and apparatus for remote file access
CN112738282B (en) Remote control method and system for 5G communication virtualization network element desktop
KR20040061760A (en) Platform system for executing an intelligent mobile agent
KR100321183B1 (en) Java Middleware System and Its Operation Method

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20070530