A remote device native driver control method and device

By generating local virtual peripheral devices and data transmission protocol stacks on the device access client, and using the device sharing server to obtain and compress peripheral device data, wireless access and long-distance transmission are achieved, solving the problem that devices such as tablets cannot connect to multiple peripheral devices, and improving user experience and transmission efficiency.

CN115866109BActive Publication Date: 2025-09-26HUNAN GREATWALL INFORMATION FINANCIAL EQUIP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211514141.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-09-26
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

Tablets cannot connect to multiple USB, serial ports, and other financial peripheral devices. Mobile phones, tablets, laptops, and other devices cannot natively access USB, serial ports, USB flash drives, and other peripheral devices through wireless networks. In addition, the distance between the host and peripheral devices is limited.

Method used

Generate a local virtual peripheral device and the corresponding data transmission protocol stack on the device access client. Obtain the data of the peripheral device through the device sharing server, compress the data, and transmit it to the device access client through the network, so that the device access client can natively access the remote peripheral device.

Benefits of technology

It solves the problem that tablet computers cannot connect to multiple financial peripheral devices, realizes wireless access to peripheral devices, improves the user operation experience, breaks through the cable length limitation of USB and serial port wired methods, realizes long-distance transmission, and solves the synchronous transmission problem of TCP/IP network transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115866109B_ABST
    Figure CN115866109B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and apparatus for native driver control of remote devices. By generating a local virtual peripheral device and a corresponding data transmission protocol stack in a device access client, then utilizing a device sharing server to obtain the peripheral device's data and transmit it to the device access client via a network, the method enables the device access client to natively access remote peripheral devices. This invention addresses the problems of tablet computers being unable to connect to multiple USB and serial ports, and other financial peripheral devices; the inability of mobile phones, tablet computers, laptops, and other devices to natively access USB, serial ports, USB flash drives, and other peripheral devices via wireless networks; and the limited distance between the host and peripheral devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of peripheral calling technology, and in particular to a method and apparatus for controlling a native driver of a remote device. Background Art

[0002] With the increasingly diversified financial business needs of the banking industry, there is a need to connect financial peripheral devices such as USB and serial ports on the counter to general tablets. However, tablets cannot connect to multiple financial peripherals due to the limitations of port resources and USB bandwidth.

[0003] In the current consumer goods industry, mobile phones, tablets, laptops and other devices can only be connected to USB, serial ports, USB flash drives and other peripheral devices through wired methods, and cannot be accessed wirelessly in the native way (using native drivers to call USB drivers, serial port protocols, USB storage protocols and other functions); the length of wired cables is limited by the technical level. Under normal conditions, USB can only be within 5 meters, and serial ports can only be within 15 meters.

[0004] Furthermore, according to the USB standard, the maximum data transmission bandwidth of USB 2.0 is 480Mbps, and the packet transmission interval for high-speed transmission is 125μs. Each data packet sent must receive an ACK (Acknowledge character) response signal from the receiving end within 125μs. Isochronous transmission mode requires the same data transmission bandwidth and interval from the host to the peripheral. USB cameras and other imaging devices use USB high-speed and isochronous transmission modes. Due to TCP / IP standard limitations, data transmission delays over TCP / IP networks can exceed 1ms. In such scenarios, USB camera data transmission over the network can suffer from serious issues such as frame loss, packet loss, and screen distortion.

[0005] In summary, in order to solve the problems that tablet computers cannot connect to multiple USB, serial ports and other financial peripheral devices, mobile phones, tablets, laptops and other devices cannot access USB, serial ports, U disks and other peripheral devices natively through wireless networks, and the distance between the host and peripheral devices is limited, a remote device native driver control method and device are needed to solve the above problems. Summary of the Invention

[0006] In response to the above-mentioned shortcomings of the existing technology, the purpose of the present invention is to provide a remote device native drive control method and device, which at least solves the problem that tablet computers cannot connect to multiple USB, serial ports and other financial peripheral devices, mobile phones, tablet computers, laptops and other devices cannot access USB, serial ports, U disks and other peripheral devices natively through wireless networks, and the distance between the host and peripheral devices is limited.

[0007] In a first aspect, a method for controlling a native driver of a remote device is provided, comprising:

[0008] Generate a local virtual peripheral device and a corresponding data transmission protocol stack in the device access client;

[0009] Access the corresponding local virtual peripheral device according to the peripheral service request in the device access client and obtain the corresponding result data;

[0010] The result data is obtained by the following method:

[0011] The device sharing server obtains data from the peripheral devices connected to it by wire. The device sharing server compresses the obtained data and transmits it to the device access client through the network. The device access client parses the data and feeds the resulting data back to the local virtual peripheral device.

[0012] According to the first aspect, in a possible implementation, before generating a local virtual peripheral device and a corresponding data transmission protocol stack in the device access client, the method further includes:

[0013] The device sharing server identifies all connected peripheral devices;

[0014] Obtain driver information and data transmission channel information of all connected peripheral devices, and share them to the device access client through the network.

[0015] According to the first aspect, in a possible implementation, the device access client generates a corresponding local virtual peripheral device and a corresponding data transmission protocol stack according to received driver information and data transmission channel information of the peripheral device.

[0016] According to the first aspect, in a possible implementation method, the device sharing server identifies the connected peripheral devices in real time. When a new peripheral device is detected, the driver information and data transmission channel information of the newly connected peripheral device are obtained and shared with the device access client; the device access client generates a local virtual peripheral device and a corresponding data transmission protocol stack corresponding to the newly connected peripheral device.

[0017] According to the first aspect, in a possible implementation, after the device sharing server obtains data of the peripheral device, the following steps are included:

[0018] Encrypting the acquired data of the peripheral device;

[0019] The encrypted data is compressed and then transmitted to the device access client through the network.

[0020] According to the first aspect, in a possible implementation manner, data is exchanged between the device access client and the device sharing server via a wired network or a wireless network.

[0021] According to the first aspect, in a possible implementation, for USB2.0 peripheral devices, the device sharing server establishes a virtual USB driver layer to send ACK responses and simulate data packet synchronization at a time of 125μs to achieve data interaction between the device sharing server and the USB2.0 peripheral devices.

[0022] In a second aspect, a remote device native driver control apparatus is provided, comprising a device access client and a device sharing server connected to the network thereof;

[0023] The device sharing server is used to obtain data from the peripheral devices connected to it by wire, and compress the obtained data and transmit it to the device access client through the network;

[0024] The device access client is used to generate a local virtual peripheral device and a corresponding data transmission protocol stack corresponding to the peripheral device connected to the device sharing server, and access the corresponding local virtual peripheral device according to the peripheral service request to obtain the corresponding result data, wherein the result data is the data that the device access client parses the data transmitted by the device sharing server and then feeds back to the corresponding local virtual peripheral device.

[0025] According to the second aspect, in a possible implementation, the device access client generates a local virtual peripheral device and a corresponding data transmission protocol stack by the following method:

[0026] The device access client obtains the driver information and data transmission channel information of all connected peripheral devices obtained by the device sharing server;

[0027] The device access client generates a local virtual peripheral device and a corresponding data transmission protocol stack according to the acquired driver information and data transmission channel information of the peripheral device.

[0028] According to the second aspect, in a possible implementation, when there is a USB2.0 peripheral device, a virtual USB driver layer is established in the device sharing server to send an ACK response and simulate data packet synchronization at a time of 125μs to realize data interaction between the device sharing server and the USB2.0 peripheral device.

[0029] The present invention proposes a remote device native driver control method and apparatus. By generating a local virtual peripheral device and a corresponding data transmission protocol stack in a device access client, the device sharing server obtains the peripheral device data and transmits it to the device access client via the network, thereby enabling the device access client to natively access the remote peripheral device. The present invention has the following advantages:

[0030] 1. This invention solves the problem that bank customers' tablet computers cannot connect to multiple financial peripherals due to port resource and USB bandwidth limitations. It also solves the problem of reusing a large number of existing tablet computers and existing financial peripherals, and reduces the equipment procurement investment cost of each banking branch.

[0031] 2. This invention enables mobile phones, tablet computers, laptops, etc. in the consumer goods industry to access peripheral devices such as USB, serial ports, and USB flash drives in a native way via wireless (using native drivers to call USB drivers, serial port protocols, USB storage protocols, and other functions), greatly improving the user experience and generating extremely high social value;

[0032] 3. This invention solves the technical problem that TCP / IP network transmission cannot support the speed, bandwidth and synchronization of USB2.0 high-speed synchronous transmission, and solves the problems of USB communication link interruption caused by timeout of USB peripheral device receiving ACK signal, frame loss, packet loss, screen distortion and so on caused by timeout;

[0033] 4. It breaks through the industry technical level limit of USB and serial port wired cable length, breaks through the industry technical bottleneck, makes long-distance transmission between the host and peripheral devices possible, and generates extremely high social value. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 Schematic diagram of the structure of a native driver control device for a remote device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] To make the objectives, technical solutions, and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other implementations obtained by those of ordinary skill in the art without inventive effort are within the scope of protection of the present invention.

[0037] The embodiment of the present invention provides a remote device native driver control device, such as Figure 1 As shown, it includes a device access client 1 and a device sharing server 2 connected to its network;

[0038] The device sharing server 2 is used to obtain data from the peripheral device 3 connected to it by wire, and compress the obtained data and transmit it to the device access client 1 through the network;

[0039] The device access client 1 is used to generate a local virtual peripheral device and a corresponding data transmission protocol stack corresponding to the peripheral device 3 connected to the device sharing server 2, and access the corresponding local virtual peripheral device according to the peripheral service request to obtain the corresponding result data, wherein the result data is the data that the device access client 1 parses the data transmitted by the device sharing server 2 and then feeds back to the corresponding local virtual peripheral device.

[0040] Among them, the device access client 1 can be a mobile phone, tablet computer or laptop computer and other devices; the device sharing server 2 supports running operating system, wireless or wired network transmission, USB and serial port and other peripheral device wired access functions.

[0041] When peripheral devices 3 such as USB and serial ports are connected to the device sharing server 2 via a wired connection, the device sharing server 2 identifies the connected peripheral devices 3 through the operating system driver, and then shares the driver information and data transmission channel information of the connected peripheral devices 3 to the device access client through the network. The device access client 1 generates the corresponding local virtual peripheral device and the corresponding data transmission protocol stack in its operating system. Each connected peripheral device 3 corresponds to a local virtual peripheral device, thereby achieving the purpose of the device access client 1 natively remotely accessing peripheral devices 3 such as USB and serial ports.

[0042] During operation, the device sharing server 2 performs real-time identification and detection of connected peripheral devices 3. When a new peripheral device 3 is detected, the device access client generates a local virtual peripheral device corresponding to the new peripheral device 3 and the corresponding data transmission protocol stack using the above-mentioned local virtual peripheral device generation process. This allows the device access client 1 to instantly and natively access the newly connected peripheral device 3 remotely.

[0043] For imaging devices such as USB cameras or other USB audio devices, high-speed USB and synchronous transmission modes are required due to their high real-time requirements and large data volumes. According to the USB standard, the maximum data transmission bandwidth of USB 2.0 is 480Mbps, and the packet transmission interval for high-speed transmission is 125μs. Each data packet sent must receive an ACK signal from the receiver within 125μs. The synchronous transmission mode requires the same data transmission bandwidth and interval from the host to the peripheral. However, due to the limitations of the TCP / IP standard, the delay in transmitting data over a TCP / IP network can be greater than 1ms, typically reaching tens of milliseconds. In this case, serious problems such as frame loss, packet loss, and screen distortion can occur during network data transmission of USB camera peripheral devices.

[0044] In order to solve the above problems, in this embodiment, a virtual USB driver layer is established in the device sharing server 2 to send ACK responses and simulate data packet synchronization at a time of 125μs, thereby realizing data interaction between the device sharing server and the USB2.0 peripheral device, solving the problems of USB communication link interruption caused by the timeout of the USB peripheral device receiving the ACK response signal, frame loss, packet loss, screen distortion, etc. due to the timeout; moreover, the device sharing server 2 first compresses the data of peripheral devices such as USB cameras, and then transmits the data to the device sharing client 1 through the network, so as to improve the efficiency and quality of data transmission and ensure the real-time data feedback.

[0045] In real-time processes, in many scenarios, ensuring both transmission efficiency and data security is crucial. Therefore, in some feasible embodiments, device sharing server 2 incorporates an encryption program. After acquiring data from a peripheral device, device sharing server 2 first encrypts the data, then compresses the encrypted data before transmitting it to device access client 1 via the network. In this embodiment, the encryption and data compression algorithms are not specifically limited, and existing encryption and data compression algorithms can be used.

[0046] The principles of the embodiments of the present invention are as follows:

[0047] First, the device access client 1 connects to the device sharing server 2 via a network connection, either wired or wireless. The device sharing server 2 connects to the peripheral device 3 via a USB, serial port, or other interface. For peripheral devices such as USB cameras, the device sharing server 2 also pre-establishes a virtual USB driver layer to send ACK responses and simulate data packet synchronization at 125μs intervals, enabling data exchange between the device sharing server and the USB 2.0 peripheral device. After completing this connection, the device sharing server 2 identifies the connected peripheral device 3 and shares its driver information and data transmission channel information with the device access client 1 via the network. The device access client 1 then generates a corresponding local virtual peripheral device and the corresponding data transmission protocol stack in its operating system. After receiving the data from the peripheral device, the device sharing server 2 encrypts and compresses it before transmitting it to the device access client 1. Upon receiving the data, the device access client 1 decompresses and decrypts it, and then sends it back to the corresponding local virtual peripheral device. Based on the peripheral service request, the device access client 1 then accesses the corresponding local virtual peripheral device using native access and obtains the corresponding result data. This solves the problem that tablet computers cannot connect to multiple USB, serial ports and other financial peripheral devices, that mobile phones, tablets, laptops and other devices cannot access USB, serial ports, U disks and other peripheral devices natively through wireless networks, and that the distance between the host and peripheral devices is limited.

[0048] An embodiment of the present invention further provides a remote device native driver control method, comprising:

[0049] S1: The device sharing server identifies all connected peripheral devices;

[0050] S2: Obtain the driver information and data transmission channel information of all connected peripheral devices, and share them to the device access client through the network;

[0051] S3: Generate a corresponding local virtual peripheral device and a corresponding data transmission protocol stack in the device access client according to the received driver information and data transmission channel information of the peripheral device;

[0052] S4: Access the corresponding local virtual peripheral device according to the peripheral service request in the device access client, and obtain corresponding result data;

[0053] The result data is obtained by the following method:

[0054] The device sharing server obtains data from the peripheral devices connected to it by wire. The device sharing server compresses the obtained data and transmits it to the device access client through the network. The device access client parses the data and feeds the resulting data back to the local virtual peripheral device.

[0055] During the implementation process, the device sharing server identifies the connected peripheral devices in real time. When a new peripheral device is detected, it obtains the driver information and data transmission channel information of the newly connected peripheral device and shares it with the device access client; the device access client generates a local virtual peripheral device and the corresponding data transmission protocol stack corresponding to the newly connected peripheral device.

[0056] When USB 2.0 peripherals are present, the device sharing server pre-establishes a virtual USB driver layer to send ACK responses and simulate data packet synchronization at a timed interval of 125μs, enabling data exchange between the device sharing server and the USB 2.0 peripherals. This solves issues such as USB communication link interruption caused by a timeout in receiving the ACK response signal from the USB peripheral, as well as frame loss, packet loss, and screen distortion caused by timeouts. Furthermore, a caching mechanism is implemented on the device sharing server and device access client to improve data retrieval efficiency. For image peripherals such as USB cameras, if frame loss occurs, the previous frame of data is copied to fill the gap, ensuring the smoothness and integrity of the video image.

[0057] In order to solve the transmission security and efficiency issues during the data transmission process of peripheral devices, the device sharing server encrypts and compresses the data of peripheral devices. After the device sharing server obtains the data of the peripheral device, it first encrypts the data, then compresses the encrypted data, and then transmits it to the device access client through the network.

[0058] In the method provided in this embodiment, data is exchanged between the device access client and the device sharing server via a wired or wireless network, and the device sharing server interacts with the peripheral device via a wired connection. By generating a local virtual peripheral device and a corresponding data transmission protocol stack in the device access client, then using the device sharing server to retrieve the peripheral device's data and transmit it to the device access client via the network, the device access client can natively access the remote peripheral device. It has the following advantages: it solves the problem that bank customers' tablet computers cannot connect to multiple financial peripherals due to port resources and USB bandwidth limitations, solves the problem of reusing a large number of customers' existing tablet computers and existing financial peripherals, and reduces the equipment procurement investment cost of each branch of the banking industry; it enables mobile phones, tablet computers, laptops, etc. in the consumer goods industry to access USB, serial ports, U disks and other peripheral devices in a native way through wireless means (using native drivers to call USB drivers, serial port protocols, USB storage protocols and other functions), which greatly improves the user experience and generates extremely high social value; it solves the technical problems that TCP / IP network transmission cannot support the speed, bandwidth and synchronization of USB2.0 high-speed synchronous transmission, and solves the problems of USB peripheral devices receiving ACK signal timeout resulting in USB communication link interruption, frame loss, packet loss, screen distortion and other problems caused by timeout; it breaks through the industry technical level limitations of USB and serial port wired cable length, breaks through the industry technical bottleneck, makes long-distance transmission between the host and peripheral devices possible, and generates extremely high social value.

[0059] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0060] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A remote device native driver control method, characterized in that: include: Generate a local virtual peripheral device and a corresponding data transmission protocol stack in the device access client; Access the corresponding local virtual peripheral device according to the peripheral service request in the device access client and obtain the corresponding result data; The result data is obtained by the following method: The device sharing server obtains data from the peripheral device connected to it by wire. The device sharing server compresses the obtained data and transmits it to the device access client through the network. The device access client analyzes the data and feeds the obtained result data back to the local virtual peripheral device. Enable device access clients to access peripheral devices in a native way via wireless; For USB2.0 peripheral devices, the device sharing server establishes a virtual USB driver layer to send ACK responses and simulate data packet synchronization at a time of 125μs to achieve data interaction between the device sharing server and the USB2.0 peripheral devices; The device sharing server and device access client are equipped with a cache mechanism to improve data retrieval efficiency. When a USB camera image peripheral device is present, if frame loss occurs, the previous frame data is copied to fill the gap to ensure the smoothness and integrity of the video image.

2. The remote device native driver control method according to claim 1, characterized in that: Before generating a local virtual peripheral device and a corresponding data transmission protocol stack in the device access client, the method further includes: The device sharing server identifies all connected peripheral devices; Obtain driver information and data transmission channel information of all connected peripheral devices, and share them to the device access client through the network.

3. The remote device native driver control method according to claim 2, characterized in that: The device access client generates a corresponding local virtual peripheral device and a corresponding data transmission protocol stack according to the received driver information and data transmission channel information of the peripheral device.

4. The remote device native driver control method according to claim 2, characterized in that: The device sharing server identifies connected peripheral devices in real time. When a new peripheral device is detected, it obtains the driver information and data transmission channel information of the newly connected peripheral device and shares it with the device access client; the device access client generates a local virtual peripheral device and the corresponding data transmission protocol stack corresponding to the newly connected peripheral device.

5. The remote device native driver control method according to claim 1, characterized in that: After the device sharing server obtains the data of the peripheral device, it includes: Encrypting the acquired data of the peripheral device; The encrypted data is compressed and then transmitted to the device access client through the network.

6. The remote device native driver control method according to claim 1, characterized in that: The device access client and the device sharing server exchange data through a wired network or a wireless network.

7. A remote device native driver control device, characterized in that: Includes device access client and device sharing server connected to its network; The device sharing server is used to obtain data from the peripheral devices connected to it by wire, and compress the obtained data and transmit it to the device access client through the network; The device access client is used to generate a local virtual peripheral device and a corresponding data transmission protocol stack corresponding to the peripheral device connected to the device sharing server, and access the corresponding local virtual peripheral device according to the peripheral service request to obtain corresponding result data, wherein the result data is the data that the device access client feeds back to the corresponding local virtual peripheral device after parsing the data transmitted by the device sharing server; Enable device access clients to access peripheral devices in a native way via wireless; When a USB2.0 peripheral device exists, a virtual USB driver layer is established in the device sharing server to send ACK responses and simulate data packet synchronization at a time of 125μs to realize data interaction between the device sharing server and the USB2.0 peripheral device.

8. The remote device native driver control device according to claim 7, characterized in that: The device access client generates a local virtual peripheral device and a corresponding data transmission protocol stack by the following method: The device access client obtains the driver information and data transmission channel information of all connected peripheral devices obtained by the device sharing server; The device access client generates a local virtual peripheral device and a corresponding data transmission protocol stack according to the acquired driver information and data transmission channel information of the peripheral device.

Citation Information

Patent Citations

  • Far-end sharing system for external equipment

    CN105872096A

  • Servitization implementation and management method for Internet-of-things sharing use of financial equipment

    CN117834717A