CN100568202C - Control method for sharing server by peripheral equipments of computer - Google Patents
Control method for sharing server by peripheral equipments of computer Download PDFInfo
- Publication number
- CN100568202C CN100568202C CNB2007100084774A CN200710008477A CN100568202C CN 100568202 C CN100568202 C CN 100568202C CN B2007100084774 A CNB2007100084774 A CN B2007100084774A CN 200710008477 A CN200710008477 A CN 200710008477A CN 100568202 C CN100568202 C CN 100568202C
- Authority
- CN
- China
- Prior art keywords
- virtual device
- virtual
- job
- physical
- shared server
- 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
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000004891 communication Methods 0.000 claims abstract description 6
- 230000006870 function Effects 0.000 description 7
- 238000012795 verification Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 206010017577 Gait disturbance Diseases 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
本发明提供一种计算机外围设备共享服务器控制方法,所述的计算机外围设备共享服务器由微处理器和多个或多种通讯接口组成;共享服务器通过局域网或INTERNET网与位于异地的计算机相连接。本发明的方法可以大大减少对外设的投资,节约成本,也能提高设备的使用率,将带来极大的经济价值。
The invention provides a computer peripheral equipment sharing server control method. The computer peripheral equipment sharing server is composed of a microprocessor and multiple or multiple communication interfaces; the sharing server is connected with a computer located in a different place through a local area network or an Internet network. The method of the invention can greatly reduce the investment on peripherals, save costs, and can also improve the utilization rate of equipment, which will bring great economic value.
Description
技术领域 technical field
本发明涉及一种外设被多台计算机类设备共享使用的控制方法,特别是关于一种多台计算机类设备通过网络共享使用同一外设的装置的控制。The invention relates to a control method for peripherals shared and used by multiple computer-type devices, in particular to a control method for multiple computer-type devices to share and use the same peripheral device through a network.
背景技术 Background technique
网络技术的发展使得网络资源变得廉价起来,对网络资源的投资费用也减少了很多,外设的发展却远远落后网络技术的发展,尤其是一些特殊的外设,高昂的成本成为设备广泛使用的绊脚石,因此,如何能够提供更为经济简便快捷的设备共享方法和装置,为市场及业界待解决的课题。The development of network technology has made network resources cheaper, and the investment cost of network resources has also been reduced a lot. However, the development of peripheral devices is far behind the development of network technology, especially for some special peripheral devices. The stumbling block to use, therefore, how to provide a more economical, convenient and quicker equipment sharing method and device is a problem to be solved by the market and the industry.
通过网络将外设共享出来供多台计算机使用,这种全新的外设解决方式可以大大减少对外设的投资,节约成本,也能提高设备的使用率,将带来极大的经济价值。Share the peripherals through the network for use by multiple computers. This brand-new peripheral solution can greatly reduce the investment in peripherals, save costs, and improve the utilization rate of equipment, which will bring great economic value.
发明内容 Contents of the invention
本发明目的是要提供一种计算机外围设备共享服务器控制方法,The purpose of the present invention is to provide a computer peripheral equipment sharing server control method,
该方法将计算机对外设的操作和数据通过网络技术转发到该共享服务器设备本身,共享服务器设备再将操作和数据发送给外设,从而实现了计算机操作远程外设的功能。The method forwards the operation and data of the computer to the peripheral device through the network technology to the shared server device itself, and then the shared server device sends the operation and data to the peripheral device, thereby realizing the function of the computer operating the remote peripheral device.
本发明另一目的,是满足多台计算机分时共享使用同一外设,使用软件技术实现多台计算机的外设请求队列,满足各台计算机分时使用同一外设。Another object of the present invention is to allow multiple computers to share and use the same peripheral device in time-sharing, and use software technology to realize the peripheral device request queue of multiple computers, so that each computer can use the same peripheral device in time-sharing.
本发明再一目的,是满足多台计算机同时使用不同外设,对于接在该设备上的不同外设,能够分别被同一或不同计算机同时使用而互不干扰。Another object of the present invention is to allow multiple computers to use different peripherals at the same time, and the different peripherals connected to the device can be used by the same or different computers at the same time without interfering with each other.
本发明的再一目的,是给允许用户通过计算机控制外设和获取外设相关信息,如申请作业,取消作业,查询外设信息等。Another object of the present invention is to allow users to control peripheral devices and obtain related information of peripheral devices through computers, such as applying for jobs, canceling jobs, and querying peripheral device information.
本发明的计算机外围设备共享服务器控制方法,其特征在于:所述的计算机外围设备共享服务器由微处理器和多个或多种通讯接口组成;共享服务器通过局域网或INTERNET网与位于异地的计算机相连接;所述的控制方法步骤如下:The computer peripheral device sharing server control method of the present invention is characterized in that: the computer peripheral device sharing server is composed of a microprocessor and multiple or multiple communication interfaces; the sharing server communicates with computers located in different places through a local area network or the Internet Connect; The described control method step is as follows:
(1)用户程序通过虚拟设备驱动开始使用设备;(1) The user program starts to use the device through the virtual device driver;
(2)虚拟设备驱动通知虚拟设备守护请求作业,虚拟设备守护查看是否本物理设备已可以使用,如果不行告知虚拟设备管理;(2) The virtual device driver notifies the virtual device guardian to request a job, and the virtual device guardian checks whether the physical device is ready to use, and if not, informs the virtual device management;
(3)虚拟设备管理通过物理设备管理向作业队列请求作业;(3) The virtual device management requests jobs from the job queue through the physical device management;
(4)作业轮到时,作业队列通过物理设备管理通知虚拟设备管理,虚拟设备告知虚拟设备守护;(4) When the job is in turn, the job queue notifies the virtual device management through the physical device management, and the virtual device notifies the virtual device guardian;
(5)用户程序通过虚拟设备驱动->虚拟设备守护->物理设备守护->物理设备驱动->物理设备间接的使用物理设备;(5) The user program uses the physical device indirectly through the virtual device driver -> virtual device guard -> physical device guard -> physical device driver -> physical device;
(6)用户使用设备完毕,虚拟设备驱动通知虚拟设备守护,虚拟设备守护要求虚拟设备管理结束作业;(6) After the user finishes using the device, the virtual device driver notifies the virtual device guardian, and the virtual device guardian requires the virtual device management to end the operation;
(7)虚拟设备管理通过物理设备管理向作业队列请求作业结束;(7) The virtual device management requests the end of the job from the job queue through the physical device management;
(8)作业结束时,虚拟设备管理和物理设备管理得知后释放相关资源;(8) At the end of the operation, the virtual device management and physical device management release relevant resources after learning;
(9)设备共享使用结束。(9) End of equipment sharing.
上述所述通讯接口包括网络接口,RS232串行接口、并行接口或USB接口中的一种或几种。The communication interface mentioned above includes one or more of a network interface, an RS232 serial interface, a parallel interface or a USB interface.
上述计算机外围设备共享服务器还设有可插拔的扩展接口模块,微处理器与可插拔的扩展接口模块相连接,可插拔的扩展接口模块通过UBS接口与并口扩展模块、串口扩展模块或者USB扩展模块上的USB接口相连接。The above-mentioned computer peripheral equipment sharing server is also provided with a pluggable expansion interface module. Connect to the USB interface on the USB expansion module.
本发明的硬件部分包括:The hardware part of the present invention comprises:
1.计算机25针并口接口电路:本发明硬件部分与并口外设连接的接口;1. Computer 25-pin parallel port interface circuit: the interface connecting the hardware part of the present invention with the parallel port peripherals;
2.计算机9针RS232接口电路:本发明硬件部分与串口外设连接的接口;2. Computer 9-pin RS232 interface circuit: the interface connecting the hardware part of the present invention with the serial port peripherals;
3.计算机USB接口电路:本发明硬件部分与USB外设连接的接口;3. Computer USB interface circuit: the interface that the hardware part of the present invention is connected with USB peripherals;
4.计算机网络接口电路:本发明硬件部分的网络接口;4. Computer network interface circuit: the network interface of the hardware part of the present invention;
本发明的软件部分包括:The software part of the present invention comprises:
1.系统软件:提供本发明最基本的系统功能,为下面各功能软件的基础;1. System software: provide the most basic system functions of the present invention, which is the basis of each functional software below;
2.虚拟串口驱动:实现Windows、Linux下的虚拟串口,对Windows或Linux下该串口的操作数据转发到网络上;2. Virtual serial port driver: realize the virtual serial port under Windows and Linux, and forward the operation data of the serial port under Windows or Linux to the network;
3.虚拟并口驱动:实现Windows、Linux下的虚拟并口、对Windows或Linux下该串口的操作数据转发到网络上;3. Virtual parallel port driver: realize the virtual parallel port under Windows and Linux, forward the operation data of the serial port under Windows or Linux to the network;
4.虚拟USB总线驱动:实现Windows、Linux下虚拟USB总线,对Windows或Linux下对该USB总线下的操作数据转发到网络上;4. Virtual USB bus driver: realize the virtual USB bus under Windows and Linux, and forward the operation data under the USB bus under Windows or Linux to the network;
5.作业队列功能的实现:对接入该发明的每一外设建立作业队列,实现用户对该外设的请求和排队;5. Realization of the job queue function: set up a job queue for each peripheral connected to the invention, and realize the user's request and queuing for the peripheral;
6.外设管理和使用客户端:提供连接服务器、用户登录、设备查询、作业申请、作业取消、事件通知功能;6. Peripheral management and use client: provide connection server, user login, device query, job application, job cancellation, event notification functions;
7.外设管理和使用服务器端:和客户端相对应,提供监听各客户端连接、用户登录验证、设备状态反馈、作业申请、作业取消、事件通知功能;7. Peripheral management and use of the server side: corresponding to the client side, it provides the functions of monitoring each client connection, user login verification, device status feedback, job application, job cancellation, and event notification;
本发明的方法可以大大减少对外设的投资,可节约成本,也能提高设备的使用率,将带来极大的经济价值。The method of the invention can greatly reduce the investment on external devices, can save costs, can also improve the utilization rate of equipment, and will bring great economic value.
附图说明 Description of drawings
图1本发明的连接控制流程示意图。Fig. 1 is a schematic diagram of the connection control flow of the present invention.
图2是本发明软件系统构架示意图。Fig. 2 is a schematic diagram of the software system architecture of the present invention.
具体实施方式 Detailed ways
各种外设通过串口、并口或者USB口连接到本发明的硬件部分,配置好各种外设信息和网络参数,插上网线,接上电源,开机,本发明的服务器端监听各客户端远程连接,客户端通过网络连接到本发明的服务器,申请用户登录,服务器端进行用户登录验证,反馈验证结果,客户端验证成功,发出查询外设请求,服务器端枚举本地外设,并将每一外设信息发送到客户端,客户端接收到每一外设信息后,显示出来,客户端接收用户操作指令,如对某台外设进行作业请求,将该请求发送给服务器端,服务器端在该设备作业队列中加入设备请求作业,设备请求作业被允许后,反馈给客户端,客户端接收到作业请求被允许指令后提示用户安装外设驱动,对于串口外设,客户端将要求用户安装串口虚拟驱动,对于并口外设,将要求用户安装并口虚拟驱动,对于USB设备,则要求用户安装该USB外设的虚拟驱动,根据用户使用的操作系统安装不同操作系统版本的虚拟驱动,虚拟驱动安装完毕,用户还需要安装不同外设的外设驱动,外设驱动安装完毕,可以使用该设备,当多台客户端同时申请同一台外设作业请求时,服务器端根据优先级插入将作业请求插入作业队列,每次只允许运行一个作业队列,其他作业必须等待其完成,通过该种方式,达到多个客户端分时共享该设备的目的。当正在使用该作业的客户端发出作业取消请求后,服务器端将进行作业取消操作,并将作业队列中第一个等待作业变成作业处理状态,该客户端即可允许使用外设,由于每个设备一个作业队列,各作业队列相互独立,互不干扰,故多台外设可以同时被使用。Various peripherals are connected to the hardware part of the present invention through the serial port, parallel port or USB port, configure various peripherals information and network parameters, plug in the Internet cable, connect the power supply, start the machine, the server end of the present invention monitors each client remote connection, the client connects to the server of the present invention through the network, applies for user login, the server performs user login verification, feeds back the verification result, the client verification is successful, sends a request for querying peripherals, the server enumerates the local peripherals, and sends each A peripheral device information is sent to the client. After the client receives each peripheral device information, it is displayed. The client receives user operation instructions, such as a job request for a certain peripheral device, and sends the request to the server. The server side Add a device request job to the device job queue. After the device request job is allowed, it will feed back to the client. After receiving the job request permission command, the client prompts the user to install the peripheral driver. For serial port peripherals, the client will ask the user to Install the serial port virtual driver. For parallel port peripherals, the user will be required to install the parallel port virtual driver. For USB devices, the user will be required to install the virtual driver of the USB peripheral. Install virtual drivers of different operating system versions according to the operating system used by the user. After the driver is installed, the user also needs to install the peripheral drivers for different peripherals. After the peripheral drivers are installed, the device can be used. When multiple clients apply for the same peripheral job request at the same time, the server will insert the job according to the priority. The request is inserted into the job queue. Only one job queue is allowed to run at a time, and other jobs must wait for its completion. In this way, multiple clients can share the device in time. When the client that is using the job sends a job cancellation request, the server will cancel the job and turn the first waiting job in the job queue into the job processing state, and the client can use the peripheral device. Each device has one job queue, each job queue is independent of each other and does not interfere with each other, so multiple peripherals can be used at the same time.
当需要使用扩展模块时,在设备共享服务器关机状态下,插入所需扩展模块,并固定住,然后打开设备共享服务器的电源,设备共享服务器自动识别插入模块,专载相应驱动,形成新的串口、并口或者USB口,外部设备直接和扩展模块中的串口、并口或者USB口相连,无须增加任何接口。When the expansion module needs to be used, when the device sharing server is turned off, insert the required expansion module and fix it, then turn on the power supply of the device sharing server, the device sharing server will automatically recognize the inserted module, load the corresponding driver, and form a new serial port , parallel port or USB port, the external device is directly connected to the serial port, parallel port or USB port in the expansion module without adding any interface.
共享模式使用设备(软件):Shared mode using equipment (software):
管理层主要负责作业管理,下层进程管理,状态管理,并提供用户UI接口。The management layer is mainly responsible for job management, lower layer process management, status management, and provides user UI interface.
通信层主要负责虚拟设备操作命令和结果报文转发,确保连接正常。The communication layer is mainly responsible for forwarding virtual device operation commands and result messages to ensure normal connections.
设备层主要负责设备具体功能、作业排队功能。The device layer is mainly responsible for the specific functions of the device and the job queuing function.
设备共享使用流程:Equipment sharing process:
1.用户程序通过虚拟设备驱动开始使用设备;1. The user program starts to use the device through the virtual device driver;
2.虚拟设备驱动通知虚拟设备守护请求作业,虚拟设备守护查看是否本物理设备已可以使用,如果不行告知虚拟设备管理;2. The virtual device driver notifies the virtual device guardian to request a job, and the virtual device guardian checks whether the physical device is ready to use, and if not, informs the virtual device management;
3.虚拟设备管理通过物理设备管理向作业队列请求作业;3. Virtual device management requests jobs from the job queue through physical device management;
4.作业轮到时,作业队列通过物理设备管理通知虚拟设备管理,虚拟设备告知虚拟设备守护;4. When the job's turn comes, the job queue notifies the virtual device management through the physical device management, and the virtual device notifies the virtual device guardian;
5.用户程序通过虚拟设备驱动->虚拟设备守护->物理设备守护->物理设备驱动->物理设备间接的使用物理设备;5. The user program uses the physical device indirectly through the virtual device driver -> virtual device guard -> physical device guard -> physical device driver -> physical device;
6.用户使用设备完毕,虚拟设备驱动通知虚拟设备守护,虚拟设备守护要求虚拟设备管理结束作业;6. After the user finishes using the device, the virtual device driver notifies the virtual device guardian, and the virtual device guardian requires the virtual device management to end the operation;
7.虚拟设备管理通过物理设备管理向作业队列请求作业结束;7. The virtual device management requests the end of the job from the job queue through the physical device management;
8.作业结束时,虚拟设备管理和物理设备管理得知后释放相关资源;8. At the end of the operation, the virtual device management and physical device management will release relevant resources after learning;
9.设备共享使用结束。9. The end of equipment sharing.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100084774A CN100568202C (en) | 2007-01-23 | 2007-01-23 | Control method for sharing server by peripheral equipments of computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100084774A CN100568202C (en) | 2007-01-23 | 2007-01-23 | Control method for sharing server by peripheral equipments of computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101004721A CN101004721A (en) | 2007-07-25 |
CN100568202C true CN100568202C (en) | 2009-12-09 |
Family
ID=38703877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100084774A Expired - Fee Related CN100568202C (en) | 2007-01-23 | 2007-01-23 | Control method for sharing server by peripheral equipments of computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100568202C (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7886106B2 (en) | 2008-11-11 | 2011-02-08 | Aten International Co., Ltd. | USB sharing switch with automatic switching capabilities |
CN101510236B (en) * | 2009-03-11 | 2011-04-06 | 上海坦瑞信息技术有限公司 | Plug and play system based on field operating platform |
CN103312781A (en) * | 2013-05-15 | 2013-09-18 | 山东超越数控电子有限公司 | Implementation method of virtual USB (Universal Serial Bus) |
CN105376278A (en) * | 2014-08-25 | 2016-03-02 | 北京云巢动脉科技有限公司 | Method of realizing control on mobile equipment at different terminal and system thereof |
US9396015B2 (en) * | 2014-10-27 | 2016-07-19 | Ayla Networks, Inc. | Flexible device templates for connected consumer devices |
CN105391719A (en) * | 2015-11-19 | 2016-03-09 | 苏州跬步信息技术有限公司 | Intelligent equipment remote control system based on TCP/IP network and interaction method thereof |
CN105376326A (en) * | 2015-12-06 | 2016-03-02 | 常州工程职业技术学院 | Wifi-based wireless remote operation control system |
CN108123914A (en) * | 2016-11-28 | 2018-06-05 | 中国航天科工集团第四研究院指挥自动化技术研发与应用中心 | A kind of multimedia equipment control method and device |
CN112445593A (en) * | 2020-11-23 | 2021-03-05 | 中信银行股份有限公司 | Peripheral calling method and device and storage medium |
CN114461427A (en) * | 2022-04-14 | 2022-05-10 | 中博信息技术研究院有限公司 | Method for sharing computer peripheral equipment by PMS (personal computer) in hotel |
-
2007
- 2007-01-23 CN CNB2007100084774A patent/CN100568202C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101004721A (en) | 2007-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100568202C (en) | Control method for sharing server by peripheral equipments of computer | |
US20070299650A1 (en) | Method to change USB device descriptors from host to emulate a new device | |
US6477569B1 (en) | Method and apparatus for computer network management | |
CN102467402B (en) | Methods for Selective Suspend of Network Devices | |
CN102567074A (en) | USB (universal serial bus) device redirecting method facing virtual machines | |
CN110932900B (en) | Method and system for service docking of cloud management platform and cloud security management platform | |
US10824488B2 (en) | Device detection method and system, electronic device, cloud robot system, and computer program product | |
CN104346911B (en) | production system | |
JP6062652B2 (en) | Image forming apparatus and information processing apparatus | |
JP2003202972A5 (en) | ||
CN114619462A (en) | Remote desktop control method based on robot flow automation | |
CN101636717B (en) | Grid processing control apparatus | |
US20100228816A1 (en) | Sharing system and management method for hardware device | |
US20130326501A1 (en) | Cloud system having flexible applications | |
US20130103840A1 (en) | Information processing apparatus that controls connection of devices, method of controlling the apparatus, and device control system | |
US9087031B2 (en) | Method and program for selective suspension of USB device | |
JP2003345638A5 (en) | ||
JP2000163345A (en) | Device control system, information registration method, device utilization method, and recording medium recording computer program | |
KR100432663B1 (en) | Signal Process Device of USB System and Method thereof | |
CN201011567Y (en) | Sharing server device for computer peripheral device | |
EP3161672B1 (en) | Retrieval of a command from a management server | |
JPH08110883A (en) | Access method for non-scsi device | |
KR20250054218A (en) | Method and system for implementing vehicle bus virtual channel | |
US7437435B2 (en) | Automatically setting method and related system | |
Ing et al. | USB Device Sharing Server for Office Environment |
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 | ||
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: 20091209 Termination date: 20130123 |