CN105700864A - TWAIN protocol remote redirection method, apparatus and system - Google Patents

TWAIN protocol remote redirection method, apparatus and system Download PDF

Info

Publication number
CN105700864A
CN105700864A CN201410708341.4A CN201410708341A CN105700864A CN 105700864 A CN105700864 A CN 105700864A CN 201410708341 A CN201410708341 A CN 201410708341A CN 105700864 A CN105700864 A CN 105700864A
Authority
CN
China
Prior art keywords
data source
desktop computer
virtual desktop
remote virtual
terminal
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.)
Pending
Application number
CN201410708341.4A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410708341.4A priority Critical patent/CN105700864A/en
Priority to PCT/CN2015/083287 priority patent/WO2016082551A1/en
Publication of CN105700864A publication Critical patent/CN105700864A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Facsimiles In General (AREA)

Abstract

Embodiments of the invention provide a TWAIN protocol remote redirection method, apparatus and system to at least solve the problems of relatively low efficiency, bandwidth waste and relatively poor universality caused by adoption of a remote redirection mode of a USB image device in the prior art. The method comprises the steps that when a user triggers an image acquisition operation in a remote virtual desktop through an APP supporting a TWAIN protocol, a remote virtual desktop computer acquires an instruction parameter defined by the TWAIN protocol sent by the APP; the remote virtual desktop computer sends a first message package to a terminal, wherein the first message package carries the instruction parameter defined by the TWAIN protocol; the remote virtual desktop computer receives a second message package sent by the terminal, wherein the second message package carries an operation result corresponding to the instruction parameter, and the operation result corresponding to the instruction parameter is obtained by processing a data source of an image device arranged in the terminal; and the remote virtual desktop computer feeds back the operation result corresponding to the instruction parameter to the APP in a data format defined by the TWAIN protocol. The method, apparatus and system are suitable for the field of communications.

Description

The remoting redirection method of TWAIN agreement, Apparatus and system
Technical field
The present invention relates to the communications field, particularly relate to without note name tool kit (ToolkitWithoutAnInterestingName, be called for short: TWAIN) the remoting redirection method of agreement, Apparatus and system。
Background technology
In prior art, in remote virtual desktop environment, if remote virtual desktop needs the USB (universal serial bus) (UniversalSerialBus such as the scanner of use side, local terminal, it is called for short: USB) vision facilities obtains still image, and the remoting redirection mode being generally adopted USB vision facilities obtains。
The configuration diagram of the remoting redirection mode of USB vision facilities is as shown in Figure 1。Wherein, USB general driving, USB client, USB service end, virtual USB bus drive four parts to constitute the remoting redirection chassis body of USB vision facilities, it is responsible for the remoting redirection mappings work of USB vision facilities, the USB vision facilitiess such as the scanner of side, local terminal have been mapped in remote virtual desktop computer。User only need in remote virtual desktop computer, the vision facilities that installing this USB vision facilities manufacturer provides drives and vision facilities data source, the application program supporting TWAIN agreement can be used, select the data source that this USB vision facilities is corresponding, and then from USB vision facilities, obtain still image。
But, state in realization in the process of remoting redirection of USB vision facilities, at least there are the following problems:
First, such scheme needs the USB vision facilitiess such as the scanner by side, local terminal to be mapped in remote virtual desktop computer, remote virtual desktop is opened this USB vision facilities, this also implies that all a large amount of raw image datas scanning from USB vision facilities and obtaining, all being redirected by USB as former state is transferred to remote virtual desktop computer from side, local terminal, arranged according to the parameter of user by the vision facilities data source in remote virtual desktop computer again, it is processed raw image data processing (such as image format conversion, compression of images etc.) with screening after, it is supplied to application program, this inevitably takies or wastes considerable bandwidth, and cause that the speed of application program acquisition still image is very slow, inefficient;
Second, such scheme only supports the vision facilities of USB interface class, does not support the vision facilities of non-USB interface class。
Summary of the invention
Embodiments of the invention provide the remoting redirection method of TWAIN agreement, Apparatus and system, at least to solve inefficient, the technical problem that bandwidth waste, versatility are poor adopting the remoting redirection mode of USB vision facilities to cause in prior art。
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of remoting redirection method without note name tool kit TWAIN agreement, described method includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies;
Described remote virtual desktop computer sends the first message bag to terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies;
Described remote virtual desktop computer receives the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain;
The data form that described remote virtual desktop computer specifies with described TWAIN agreement, feeds back to described APP by operating result corresponding for described order parameter。
In the first possible implementation of first aspect, in conjunction with first aspect, described remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies, including:
Described remote virtual desktop computer passes through described APP, HOOKAPI mechanism is adopted to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies;
Described remote virtual desktop computer passes through described APP, calls described virtual DSM, obtains, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
In the implementation that first aspect the second is possible, in conjunction with first aspect, described remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies, including:
Described remote virtual desktop computer passes through described APP, loads the DSM being arranged on described remote virtual desktop computer-internal;
Described remote virtual desktop computer calls described DSM, and loads appointment data source DS by described DSM;
If described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described remote virtual desktop computer calls described virtual DS by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
In the third possible implementation of first aspect, in conjunction with the implementation that first aspect the second is possible, described method also includes:
When described terminal sets up tunnel with described remote virtual desktop computer, described remote virtual desktop computer obtains the information of at least one vision facilities data source;
The described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
In the 4th kind of possible implementation of first aspect, in conjunction with the third possible implementation of first aspect, in the described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, also include:
The mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described set up by described remote virtual desktop computer;
If being the virtual DS being arranged on described remote virtual desktop computer-internal at described appointment DS, described remote virtual desktop computer calls described virtual DS by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, described remote virtual desktop computer sends the first message bag to, before described terminal, also including:
Described remote virtual desktop computer is according to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding;
Described remote virtual desktop computer sends the first message bag to described terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies, including:
Described remote virtual desktop computer sends the first message bag to described terminal, and described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
Second aspect, it is provided that a kind of remoting redirection method without note name tool kit TWAIN agreement, described method includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, terminal receives the first message bag that remote virtual desktop computer sends, and described first message bag carries the order parameter that TWAIN agreement specifies;
Described terminal is according to described order parameter, in conjunction with described TWAIN agreement, performs, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtains the operating result that described order parameter is corresponding;
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding。
In the first possible implementation of second aspect, in conjunction with second aspect, described terminal send the second message bag to described remote virtual desktop computer before, also include:
Described terminal compresses, by being arranged on the TWAIN client of described terminal inner, the operating result that described order parameter is corresponding;
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding, including:
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that the described order parameter after compression is corresponding。
In the implementation that second aspect the second is possible, in conjunction with second aspect or the first possible implementation of second aspect, described first message bag also carries the information of described vision facilities data source;
In described terminal according to described order parameter, in conjunction with described TWAIN agreement, perform, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and before obtaining the operating result that described order parameter is corresponding, also include:
The described terminal information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
In the third possible implementation of second aspect, in conjunction with the implementation that second aspect or the first possible implementation of second aspect or second aspect the second are possible, before described terminal receives the first message bag that remote virtual desktop computer sends, also include:
When described terminal sets up tunnel with described remote virtual desktop computer, described terminal obtains the information of at least one vision facilities data source;
Described terminal sends the information of at least one vision facilities data source described to described remote virtual desktop computer, by the described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, it is created that the virtual data source DS corresponding with at least one vision facilities data source described。
In the 4th kind of possible implementation of second aspect, in conjunction with the third possible implementation of second aspect, described terminal obtains the information of at least one vision facilities data source, including:
Described terminal obtains the information of at least one vision facilities data source described by least one mode in following manner:
By the data source manager DSM of described terminal loads, the DSM by described terminal built-in and the DS by described terminal built-in。
The third aspect, it is provided that a kind of remote virtual desktop computer, described remote virtual desktop computer includes: acquiring unit, transmitting element, reception unit, feedback unit;
Described acquiring unit, for when user is triggered by the APP of support nothing note name tool kit TWAIN agreement in remote virtual desktop and obtains image manipulation, obtaining the order parameter that the described APP TWAIN agreement issued specifies;
Described transmitting element, is used for sending the first message bag to terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies;
Described reception unit, for receiving the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, and wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain;
Described feedback unit, for the data form specified with described TWAIN agreement, feeds back to described APP by operating result corresponding for described order parameter。
In the first possible implementation of the third aspect, in conjunction with the third aspect, described acquiring unit includes: calling module, load-on module;
Described load-on module, for by described APP, adopting HOOKAPI mechanism to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies;
Described calling module, for by described APP, calling described virtual DSM, obtains, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
In the implementation that third aspect the second is possible, in conjunction with the third aspect, described acquiring unit includes: calling module, load-on module;
Described load-on module, for by described APP, loading the DSM being arranged on described remote virtual desktop computer-internal;
Described calling module, is used for calling described DSM, and loads appointment data source DS by described DSM;
Described calling module, if being additionally operable to described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described virtual DS is called by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
In the third possible implementation of the third aspect, in conjunction with the implementation that third aspect the second is possible, described remote virtual desktop computer also includes: creating unit;
Described acquiring unit also includes: acquisition module;
Described acquisition module, for when described terminal sets up tunnel with described remote virtual desktop computer, obtaining the information of at least one vision facilities data source;
Described creating unit, for the information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
In the 4th kind of possible implementation of the third aspect, in conjunction with the third possible implementation of the third aspect, described remote virtual desktop computer also includes: sets up unit, determine unit;
Described set up unit, it is additionally operable in the described creating unit information according to preset rules and at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, set up the mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described;
Described determine unit, if for described appointment DS be the virtual DS being arranged on described remote virtual desktop computer-internal, described calling module calls described virtual DS by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, described transmitting element sends the first message bag to described terminal, before described first message bag carries the order parameter that described TWAIN agreement specifies, according to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding;
Described transmitting element specifically for:
Sending the first message bag to described terminal, described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
Fourth aspect, it is provided that a kind of terminal, described terminal includes: receive unit, performance element, transmitting element;
Described reception unit, for when user obtains image manipulation by support without the application APP triggering noting name tool kit TWAIN agreement in remote virtual desktop, receiving the first message bag that remote virtual desktop computer sends, described first message bag carries the order parameter that TWAIN agreement specifies;
Described performance element, for according to described order parameter, in conjunction with described TWAIN agreement, performs, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtains the operating result that described order parameter is corresponding;
Described transmitting element, is used for sending the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding。
In the first possible implementation of fourth aspect, in conjunction with fourth aspect, described terminal also includes: compression unit;
Described compression unit, for described transmitting element send the second message bag to described remote virtual desktop computer before, compress operating result corresponding to described order parameter by being arranged on the TWAIN client of described terminal inner;
Described transmitting element specifically for:
Sending the second message bag to described remote virtual desktop computer, described second message bag carries the operating result that the described order parameter after compression is corresponding。
In the implementation that fourth aspect the second is possible, in conjunction with fourth aspect or the first possible implementation of fourth aspect, described terminal also comprises determining that unit;
Described first message bag also carries the information of vision facilities data source;
Described determine unit, for at described performance element according to described order parameter, in conjunction with described TWAIN agreement, the operation that described order parameter is specified is performed by being arranged on the vision facilities data source of described terminal inner, and before obtaining the operating result that described order parameter is corresponding, information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
In the third possible implementation of fourth aspect, in conjunction with the implementation that fourth aspect or the first possible implementation of fourth aspect or fourth aspect the second are possible, described terminal also includes: acquiring unit;
Described acquiring unit, before receiving, at described reception unit, the first message bag that remote virtual desktop computer sends, when described terminal sets up tunnel with described remote virtual desktop computer, obtains the information of at least one vision facilities data source;
Described transmitting element, it be additionally operable to the information sending at least one vision facilities data source described to described remote virtual desktop computer, by described remote virtual desktop computer according to preset rules, it is created that the virtual DS corresponding with at least one vision facilities data source described。
In the 4th kind of possible implementation of fourth aspect, in conjunction with the third possible implementation of fourth aspect, described acquiring unit specifically for:
The information of at least one vision facilities data source described is obtained by least one mode in following manner:
By the data source manager DSM of described terminal loads, the DSM by described terminal built-in and the DS by described terminal built-in。
5th aspect, it is provided that a kind of remoting redirection system without note name tool kit TWAIN agreement, described system includes the remote virtual desktop computer as described in any one of the third aspect and the terminal as described in any one of fourth aspect。
Embodiments of the invention provide the remoting redirection method of TWAIN agreement, Apparatus and system, including: when user is triggered by the APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, remote virtual desktop computer obtains the order parameter that the APP TWAIN agreement issued specifies;Remote virtual desktop computer sends the first message bag to terminal, and the first message bag carries the order parameter that TWAIN agreement specifies;Remote virtual desktop computer receives the second message bag that terminal sends, and the second message bag carries the operating result that order parameter is corresponding, and wherein, the operating result that order parameter is corresponding is to be processed by the vision facilities data source being arranged on terminal inner to obtain;The data form that remote virtual desktop computer specifies with TWAIN agreement, feeds back to APP by operating result corresponding for order parameter。Based on such scheme, owing to the embodiment of the present invention is when carrying out the remoting redirection of TWAIN agreement, the order parameter that the TWAIN agreement issued by APP by remote virtual desktop computer specifies is sent to terminal, by terminal according to TWAIN agreement, by returning operating result to remote virtual desktop computer after being arranged on the operation that the vision facilities data source execution order parameter of terminal inner is specified。That is, the embodiment of the present invention performs corresponding operation by being arranged on the vision facilities data source of terminal inner, such as opens vision facilities data source。Consider that major part data are transmitted between vision facilities data source and vision facilities, vision facilities data source has preview, the function of screening, therefore by being arranged on the corresponding operation of vision facilities data source execution of terminal inner, just can arrange according to the parameter of user in end side, raw image data is screened, the image meeting preset rules the most at last sends to remote virtual desktop computer, without as in the prior art, need to scan, from USB vision facilities, a large amount of raw image datas obtained by all, all being redirected by USB as former state is transferred to remote virtual desktop computer from side, local terminal, arranged according to the parameter of user by the vision facilities data source in remote virtual desktop computer again, it is processed raw image data processing (such as image format conversion, compression of images etc.) with screening after, it is supplied to application program。Therefore can avoid prior art adopts the bandwidth waste that causes of remoting redirection mode of USB vision facilities and inefficient problem, thus saving the transmission bandwidth of TWAIN protocol remote redirection process, and improve the work efficiency of TWAIN protocol remote redirection process。On the other hand, in the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, data source is not necessarily relevant to concrete vision facilities, it is only necessary to be the data source meeting TWAIN agreement。It can be such as the data source of the vision facilities of the USB interface class meeting TWAIN agreement, it can also be the data source of the vision facilities of the non-USB interface class meeting TWAIN agreement, therefore the problem that the versatility that causes of remoting redirection mode that can avoid adopting USB vision facilities in prior art is poor, thus improving the versatility of TWAIN protocol remote redirection process。
To sum up, the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, it can be avoided that prior art adopts inefficient, the technical problem that bandwidth waste, versatility are poor that the remoting redirection mode of USB vision facilities causes, thus improve work efficiency and the versatility of TWAIN protocol remote redirection process, and save the transmission bandwidth of TWAIN protocol remote redirection process。
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the remoting redirection mode of a kind of existing USB vision facilities;
A kind of remote virtual desktop system schematic that Fig. 2 provides for the embodiment of the present invention;
A kind of remote virtual desktop system architecture schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The software architecture schematic diagram of a kind of TWAIN agreement that Fig. 4 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram one of the TWAIN agreement that Fig. 5 provides for the embodiment of the present invention;
The remoting redirection system architecture schematic diagram one of the TWAIN agreement that Fig. 6 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram two of the TWAIN agreement that Fig. 7 provides for the embodiment of the present invention;
The remoting redirection system architecture schematic diagram two of the TWAIN agreement that Fig. 8 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram three of the TWAIN agreement that Fig. 9 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram four of the TWAIN agreement that Figure 10 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram five of the TWAIN agreement that Figure 11 provides for the embodiment of the present invention;
A kind of virtual data source that Figure 12 provides for the embodiment of the present invention and vision facilities data source mapping relations principle schematic;
The remoting redirection method flow schematic diagram six of the TWAIN agreement that Figure 13 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram seven of the TWAIN agreement that Figure 14 provides for the embodiment of the present invention;
The remoting redirection method flow schematic diagram eight of the TWAIN agreement that Figure 15 provides for the embodiment of the present invention;
The mutual schematic diagram one of remoting redirection method of the TWAIN agreement that Figure 16 provides for the embodiment of the present invention;
The mutual schematic diagram two of remoting redirection method of the TWAIN agreement that Figure 17 provides for the embodiment of the present invention;
The structural representation one of the remote virtual desktop computer that Figure 18 provides for the embodiment of the present invention;
The structural representation two of the remote virtual desktop computer that Figure 19 provides for the embodiment of the present invention;
The structural representation three of the remote virtual desktop computer that Figure 20 provides for the embodiment of the present invention;
The structural representation four of the remote virtual desktop computer that Figure 21 provides for the embodiment of the present invention;
The structural representation one of the terminal that Figure 22 provides for the embodiment of the present invention;
The structural representation two of the terminal that Figure 23 provides for the embodiment of the present invention;
The structural representation three of the terminal that Figure 24 provides for the embodiment of the present invention;
The structural representation four of the terminal that Figure 25 provides for the embodiment of the present invention;
The structural representation five of the remote virtual desktop computer that Figure 26 provides for the embodiment of the present invention;
The structural representation five of the terminal that Figure 27 provides for the embodiment of the present invention;
The remoting redirection system structure schematic diagram of a kind of TWAIN agreement that Figure 28 provides for the embodiment of the present invention。
Detailed description of the invention
In order to the description of following each embodiment is clear succinct, first provide several briefly introducing:
The first, remote virtual desktop
Remote virtual desktop refers to that calculating and storage resource concentrate on remote server (being generally data center), by RDP by the interface delivery of remote virtual desktop to local various terminals (such as thin client, desktop PC (PersonalComputer, it is called for short: PC), portable PC, mobile terminal portable set (PortableDevice, it is called for short: PAD), smart mobile phone etc.) on show, simultaneously can the various input-output equipment of local terminal (such as keyboard, Mus mark, USB) peripheral hardware, serial paralled interface peripheral hardware, earphone and mike etc.) it is mapped to remote virtual desktop computer terminal。
General remote virtual desktop system is as shown in Figure 2: remote data center has concentrated server resource and storage resource 100;Multiple virtual machine (VirtualMachine is fictionalized by virtualizing operating systems 110, it is called for short: VM) 120, or physics PC121 is directly used without Intel Virtualization Technology, these VM or physics PC install operating system 130, and by RDP 150, the interface delivery of remote virtual desktop is shown on local terminal 160, the input-output equipment on local terminal is mapped to the computer terminal of remote virtual desktop simultaneously。
Remote virtual desktop system architecture is as shown in Figure 3: include terminal 170 (including various input-output equipment, such as USB/ serial paralled interface peripheral hardware, photographic head, display, headset, key Mus etc.), desktop management system 171, remote virtual desktop computer 172 (such as: VM1, VM2, physics PC1 and physics PC2 etc.) three part composition。Wherein, desktop management system 171 includes desktop and application management, user's management and logs in management three parts, and mainly the registration of management remote virtual desktop computer 172 and terminal 170 and user log in the management of remote virtual desktop。RDP is made up of client and service end, and inside is divided into different services according to difference in functionality and realizes, for instance USB/ serial paralled interface service client and server end realize the mapping of various peripheral hardware alternately and redirect;Display service client and server end realize remote virtual desktop alternately and are delivered to terminal display;Audio service client and server end realizes two way audio alternately and maps;Multimedia service client and server end realizes broadcasting and the recording of multimedia service alternately;Key Mus service client and server end realize keyboard and mouse mappings to remote virtual desktop。
The second, TWAIN agreement
TWAIN agreement is that application software obtains the international standard of still image from computer peripheral equipment, for providing unified interface specification between software developer and hardware device production firm, make the software meeting TWAIN agreement just can obtain still image from the peripheral hardware of compatible TWAIN agreement by calling TWAIN protocol interface, without the function difference considering peripheral hardware, it is effectively prevented from the incompatibility problem between system and equipment。
Such as, Photoshop is a software meeting TWAIN protocol requirement。In Photoshop, by clicking menu File | Select... can select different peripheral hardwares, then clicking on menu File | Acquire... ejects the TWAIN interface dialog box of corresponding peripheral hardware, can arrange the various parameters of image by this dialog box and obtain image。
The software architecture of TWAIN agreement is as shown in Figure 4, including application (Application, be called for short: APP), data source manager (DataSourceManager, be called for short: DSM) and data source (DataSource, be called for short: DS)。Wherein,
APP: refer to support the various application of TWAIN agreement, such as the application such as Photoshop, WORD。
DSM: its acquiescence realizes being normally contained in the TWAIN development kit provided by TWAIN tissue, it is responsible for consulting the interactive correspondence between management APP and DS, it is the interaction data between management bottom data source and top layer application and the bridge of data transmission, being also responsible for collecting and loading the vision facilities installed in local system as required, the twain_32.dll as carried under 32-bit Windows is exactly the realization of a DSM。
DS: according to TWAIN standard development, be used for the functions such as the request of image, scanning, transmission;If DS is relevant with concrete vision facilities, generally can be included in the driver installation kit of this equipment, such as digital camera data source。According to TWAIN specification, DS should make a dynamic link library, but its file extension can not be .dll or .so, and should change .ds into, in the catalogue that the system of being placed on is specified (as under 32 WINDOWS assigned catalogue be C: Windows twain_32)。
TWAIN software system, by APP, DSM, DS tri-part collaborative work, completes the request of image, scanning, transmission。And only can passing through two interfaces (function) between these ingredients and interact communication, they are DSM_Entry and DS_Entry。Its call format under a windows environment is as follows respectively:
Wherein DG, DAT, MSG parameter represents the Triplets operation that a user wants to perform, and is essentially the operation part in the order parameter that TWAIN agreement specifies;POrigin represents the object initiating Triplets operation;PDest represents the object receiving Triplets operation;PData transmits the request data corresponding with Triplets operation and response data for carrying, and is essentially the data division in the order parameter that TWAIN agreement specifies。
Each Triplets is operated, is all made up of tri-parameter combinations of DG, DAT, MSG。POrigin, pDest parameter according to different Triplets operations, and can use different values。
Function can return a value and represent that whether operation is successful after performing。If return value is TWRC_SUCCESS represents successful operation, TWRC_FAILURE represents operation failure。Type also according to Triplets operation is different, also has other return value。
Specifying information about TWAIN agreement is referred to TWAIN protocol specification instruction manual, and the present invention is only briefly described at this, and this is no longer repeated one by one。
3rd, the virtual DSM in remote virtual desktop computer:
Virtual DSM in remote virtual desktop computer is one and achieves DSM_Entry interface, meets the DSM of TWAIN specification;Can based on context practical situation, set up interprocess communication passage (such as NamedPipe pipeline etc.) with TWAIN service end, interacted by TWAIN service end and terminal。
4th, the virtual DS in remote virtual desktop computer:
Virtual DS in remote virtual desktop computer is one and achieves DS_Entry interface, meet the data source (such as hw_twain.ds) of TWAIN specification, be placed in the catalogue or its subdirectory that TWAIN agreement specifies (as 32 WINDOWS catalogues C: Windows twain_32 virtual)。This virtual DS by DSM load identification, and can set up communication port (such as NamedPipe pipeline) with TWAIN service end, is interacted by TWAIN service end and terminal。
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Embodiment one,
The embodiment of the present invention provides a kind of remoting redirection method of TWAIN agreement, is applied particularly in remote virtual desktop computer, as it is shown in figure 5, method includes:
S501, when user in remote virtual desktop by supporting the APP of TWAIN agreement to trigger to obtain image manipulation time, remote virtual desktop computer obtains the order parameter that the TWAIN agreement that issues of APP specifies。
S502, remote virtual desktop computer send the first message bag to terminal, and the first message bag carries the order parameter that TWAIN agreement specifies。
S503, remote virtual desktop computer receive the second message bag that terminal sends, and the second message bag carries the operating result that order parameter is corresponding, and wherein, the operating result that order parameter is corresponding is to be processed by the vision facilities data source being arranged on terminal inner to obtain。
The data form that S504, remote virtual desktop computer specify with TWAIN agreement, feeds back to APP by operating result corresponding for order parameter。
Concrete, as in figure 2 it is shown, in the embodiment of the present invention, remote virtual desktop computer can be specifically physics PC, it is also possible to being VM, this is not especially limited by the embodiment of the present invention。
Concrete, as shown in detailed description of the invention preamble, in the embodiment of the present invention, data two parts that the order parameter that TWAIN agreement specifies is specifically corresponding with instruction by instruction are constituted, and wherein, instruction may include that
1, appointment data source Triplets operation is opened
OPENDS:DG=DG_CONTROL, DAT=DAT_IDENTITY, MSG=MSG_OPENDS
2, display data sources Image Acquisition dialog interface Triplets operation
ENABLEDS:DG=DG_CONTROL, DAT=DAT_USERINTERFACE, MSG=MSG_ENABLEDS
3, view data is obtained one of in the following way
Mode one: MEM transmits image Triplets operation:
DG=DG_IMAGE, DAT=DAT_IMAGEMEMXFER, MSG=MSG_GET
Mode two: NATIVE transmits image Triplets operation:
DG=DG_IMAGE, DAT=DAT_IMAGENATIVEXFER, MSG=MSG_GET
Mode three: FILE transmits image Triplets operation:
DG=DG_IMAGE, DAT=DAT_IMAGEFILEXFER, MSG=MSG_GET
4, data source Image Acquisition dialog interface Triplets operation is closed
DISABLEDS:DG=DG_CONTROL, DAT=DAT_USERINTERFACE, MSG=MSG_DISABLEDS
5, data source Triplets operation is closed
CLOSEDS:DG=DG_CONTROL, DAT=DAT_IDENTITY, MSG=MSG_CLOSEDS
It is readily appreciated by a person skilled in the art that user passes through APP and triggers acquisition image manipulation, many bar instructions can be issued, above-mentioned is only list some relatively common representational instructions, of course, it is also possible to there is other instruction, this is not especially limited by the embodiment of the present invention。
It should be noted that after the order parameter that specify of the TWAIN agreement that issues of APP that remote virtual desktop computer obtains, it is possible to not exclusively pack message according to TWAIN protocol instructions, but the equivalent instruction after changing or data are used to pack message。Such as the closedown data source Triplets operational order of TWAIN agreement is equivalent to the mode of command code 100 to message of packing;Such terminal receives the message bag that command code is 100, can know that this instruction is to close data source Triplets operational order according to preset rules, and then restore the instruction that original TWAIN agreement specifies;Accordingly, the data that instruction is corresponding, it is also possible to conversion of equal value, particular with the data of pointer, it is necessary to through conversion, this is not especially limited by the embodiment of the present invention。
In a kind of possible implementation, the remoting redirection system 60 being applied in TWAIN agreement as shown in Figure 6 in this way illustrates for example。As shown in Figure 6, the remoting redirection system 60 of this TWAIN agreement includes terminal 61 and remote virtual desktop computer 62。Wherein, terminal 61 includes: TWAIN client 611, DSM612, vision facilities data source 613;Remote virtual desktop computer 62 includes: TWAIN service end 621, APP622, virtual DSM623, local data source 624。Wherein, the vision facilities data source 613 of terminal 61 side maps out virtual image device data source 625 by TWAIN redirection map in remote virtual desktop computer 62 side。TWAIN client 611, TWAIN service end 621, virtual DSM623 tri-part constitute embodiment of the present invention TWAIN and redirect chassis body, it is responsible for the redirection map of TWAIN agreement, by multiple vision facilities data sources of side, local terminal, successfully it is mapped in the virtual desktop system of remote virtual desktop computer。
As shown in Figure 7, in this implementation, when user is triggered by the APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, the order parameter (step S501) that the TWAIN agreement that remote virtual desktop computer acquisition APP issues specifies specifically may include that
S501a1, when user in remote virtual desktop by support TWAIN agreement APP trigger obtain image manipulation time, remote virtual desktop computer passes through APP, HOOKAPI mechanism is adopted to load the virtual DSM being arranged on remote virtual desktop computer-internal, wherein, virtual DSM is for being redirected to terminal by the order parameter that TWAIN agreement specifies。
S501b1, remote virtual desktop computer pass through APP, call virtual DSM, obtain, by virtual DSM, the order parameter that the APP TWAIN agreement issued specifies。
It should be noted that owing to DSM itself is a dynamic base (such as twain_32.dll), by APP dynamic load。Therefore, it is specially the virtual DSM being arranged on remote virtual desktop computer-internal to realize the APP DSM loaded, then in step S501a1, remote virtual desktop computer passes through APP, adopt HOOKAPI mechanism to load the virtual DSM being arranged on remote virtual desktop computer-internal, specifically may include that
Remote virtual desktop computer passes through APP, and (ApplicationProgrammingInterface is called for short: API) mechanism is loaded directly into being arranged on the virtual DSM of remote virtual desktop computer-internal to adopt HOOK application programming interface;
Or,
Remote virtual desktop computer passes through APP, adopts HOOKAPI mechanism to be replaced with the DSM_Entry interface function address that DSM provides and is arranged on the virtual DSM of the remote virtual desktop computer-internal DSM_Entry interface function address provided。
I.e., it is possible to adopt HOOKAPI technology to intercept the loading of DSM dynamic base, load virtual DSM dynamic base instead;Or still load DSM dynamic base, but in internal memory, revise its DSM_Entry interface function address for the virtual DSM DSM_Entry interface function address provided, reach the purpose of virtual DSM adapter DSM function;Calling of all DSM_Entry interface functions of subsequent applications program, all can by virtual DSM received and processed。
It should be noted that, above-mentioned being merely illustrative of provides two kinds of remote virtual desktop computers to pass through APP, HOOKAPI mechanism is adopted to load the specific implementation of the virtual DSM being arranged on remote virtual desktop computer-internal, certainly there is likely to be other possible implementation, such as, due to the corresponding dll file of DSM itself, therefore, a kind of simplest mode is, virtual DSM is also implemented as a dll file, and its filename is the same with the filename of DSM, and then directly overrides, this belongs to static replacement, and this is not especially limited by the embodiment of the present invention。
It should be noted that, step S501b1 medium-long range virtual desktop computer passes through APP, call virtual DSM, the order parameter that the APP TWAIN agreement issued specifies is obtained by virtual DSM, substantially, remote virtual desktop computer passes through APP, calls the DSM_Entry interface function of virtual DSM, obtaining, by the DSM_Entry interface function of virtual DSM, the order parameter that the APP TWAIN agreement issued specifies, this is not especially limited by the embodiment of the present invention。
It should be noted that in this implementation, although the DSM that APP loads is specially virtual DSM, and remote virtual desktop computer is realized by the DSM_Entry that the APP DSM_Entry called is virtual DSM, but this is for APP, is transparent。That is, APP does not know completely, namely APP it goes without doing any amendment。And use HOOKAPI mode, and in APP running, dynamic replacement, it is ensured that the DSM_Entry that the DSM_Entry function that APP calls is virtual DSM realizes, rather than the DSM_Entry realization of DSM。
It should be noted that, APP is passed through at remote virtual desktop computer, call virtual DSM, after obtaining, by virtual DSM, the order parameter (step S501b1) that the APP TWAIN agreement issued specifies, the order parameter that DSM_Entry interface function packing TWAIN agreement specifies can also be passed through, obtaining the first message bag, this is not especially limited by the embodiment of the present invention。
Namely, virtual DSM623 in the embodiment of the present invention is one and achieves DSM_Entry interface, meet the DSM of TWAIN specification, can based on context practical situation, interprocess communication (such as NamedPipe pipeline etc.) is set up with TWAIN service end 621, dependent instruction parameter in the DSM_Entry interface function that APP622 is issued is packed according to certain message format, then passes through TWAIN service end 621 and is sent to TWAIN client 611;And the response message that can TWAIN service end 621 be returned, returns to APP622 after unpacking process, completes the mutual of whole process。This is not especially limited by the embodiment of the present invention。
Those of ordinary skill in the art are easy to understand, first message wraps in when transmitting between terminal 61 and remote virtual desktop computer 62, can with the information of some message route necessity in its message header, (ProcessIDentifier is called for short the Process identifier of such as virtual data source place process: (SourceIdentifier is called for short: SID) the original data source mark of PID) corresponding with virtual data source vision facilities data source。Wherein, SID can ensure that the message that remote virtual desktop computer sends can be sent to the place specified, and PID can ensure that the response that terminal returns, and can be back to corresponding place。This is not especially limited by the embodiment of the present invention。Wherein, this SID can specifically be obtained in the following way:
When user opens the application APP supporting TWAIN agreement in remote virtual desktop, APP, after loading virtual DSM, can issue and open DSM instruction, and this can be opened DSM instruction and be transmitted to terminal processes by virtual DSM, and returns corresponding result from end side;Then APP can also issue other instruction, obtains the details (including sid value) of the data source of end side, obtains DS list。Therefore, on APP, when user chooses a certain DS in DS list, APP has just got the associated detailed information that SID corresponding for this DS or this DS is corresponding, comprises SID in the associated detailed information that this DS is corresponding, and this SID can a certain data source of direct counterpart terminal side。
It should be noted that the TWAIN service end 621 in remote virtual desktop computer 62 in the embodiment of the present invention is run generally as system service or finger daemon;Can wait that TWAIN client 611 is to set up tunnel (as based on transmission control protocol (TransmissionControlProtocol, it is called for short: TCP)/procotol (InternetProtocol, is called for short: connection IP), tunnel etc. based on desktop protocol);Can wait that virtual DSM623 is to set up interprocess communication passage (such as NamedPipe pipeline etc.);The TWAIN message bag that virtual DSM623 can be issued is transmitted to TWAIN client 611 and processes;The response results that TWAIN client 611 can be processed, routing forwarding gives corresponding virtual DSM623 process。This is not especially limited by the embodiment of the present invention。
In alternatively possible implementation, illustrate for the remoting redirection system 80 of TWAIN agreement as shown in Figure 8。As shown in Figure 8, the remoting redirection system 80 of this TWAIN agreement includes terminal 81 and remote virtual desktop computer 82。Wherein, terminal 81 includes: TWAIN client 811, DSM812, vision facilities data source 813;Remote virtual desktop computer 82 includes: TWAIN service end 821, APP822, DSM823, virtual data source 824, local data source 825 etc.。Wherein, the vision facilities data source 813 of terminal 81 side maps out virtual data source 824 by TWAIN redirection map in remote virtual desktop computer 82 side。TWAIN client 811, TWAIN service end 821, virtual data source 824 3 part constitute embodiment of the present invention TWAIN and redirect chassis body, it is responsible for the redirection map of TWAIN agreement, by multiple vision facilities data sources of side, local terminal, successfully it is mapped in the virtual desktop system of remote virtual desktop computer。
As shown in Figure 9, in this implementation, when user is triggered by the APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, remote virtual desktop computer obtains the order parameter (step S501) that the APP TWAIN agreement issued specifies, specifically may include that
S501a2, when user in remote virtual desktop by supporting the APP of TWAIN agreement to trigger to obtain image manipulation time, remote virtual desktop computer passes through APP, loads and is arranged on the DSM of remote virtual desktop computer-internal。
S501b2, remote virtual desktop computer call DSM, and load appointment DS by DSM。
If S501c2 specifies DS to be the virtual DS being arranged on remote virtual desktop computer-internal, remote virtual desktop computer calls virtual DS by DSM, and obtain, by virtual DS, the order parameter that TWAIN agreement specifies, wherein, virtual DS is for being redirected to terminal by the order parameter that TWAIN agreement specifies。
Concrete, in this implementation, remote virtual desktop computer passes through APP, loads the DSM being arranged on remote virtual desktop computer-internal。
It should be noted that, step S501b2 medium-long range virtual desktop computer calls DSM, and loads appointment DS by DSM, substantially, remote virtual desktop computer calls the DSM_Entry interface function of DSM, and loads appointment DS by the DSM_Entry interface function of DSM;Step S501c2 medium-long range virtual desktop computer calls virtual DS by DSM, and obtain, by virtual DS, the order parameter that TWAIN agreement specifies, substantially, remote virtual desktop computer calls the DS_Entry interface function of virtual DS by DSM_Entry interface function, and obtains, by the DS_Entry interface function of virtual DS, the order parameter that TWAIN agreement specifies。This is not especially limited by the embodiment of the present invention。
It should be noted that, virtual DS is called by DSM at remote virtual desktop computer, and after obtaining the order parameter (step S501c2) that specifies of TWAIN agreement by virtual DS, the order parameter that DS_Entry interface function packing TWAIN agreement specifies can also be passed through, obtaining the first message bag, this is not especially limited by the embodiment of the present invention。
Namely, virtual data source 824 in the embodiment of the present invention is one and achieves DS_Entry interface, meet the data source (such as hw_twain.ds) of TWAIN specification, be placed in the catalogue or its subdirectory that TWAIN agreement specifies (as 32 WINDOWS catalogues C: Windows twain_32 virtual);This virtual data source 824 by DSM load identification, and can set up communication port (such as NamedPipe pipeline) with TWAIN service end 824;Additionally, this virtual data source 824 can based on context practical situation, the dependent instruction parameter in DS_Entry interface function by the packing of certain message format, then passing through TWAIN service end 821 and be sent to TWAIN client 811, this is not especially limited by the embodiment of the present invention。
Further, as shown in Figure 10, in this implementation, it is also possible to including:
S505, when tunnel set up by terminal and remote virtual desktop computer, remote virtual desktop computer obtains the information of at least one vision facilities data source。
S506, the remote virtual desktop computer information according to preset rules and at least one vision facilities data source, be respectively created out the virtual data source that at least one vision facilities data source, each vision facilities data source is corresponding。
It should be noted that, in side, local terminal 81, would be likely to occur multiple vision facilities data source 813, TWAIN service end 821 obtains the number of these vision facilities data sources 813 and each according to after source information by TWAIN client 811, multiple virtual data source 824 can be gone out at remote virtual desktop computer-side dynamic virtual, namely in the data source catalogue that TWAIN agreement specifies, it is created that multiple data source, as the end side vision facilities data source 813 virtual data source 824 in remote virtual desktop computer。The virtual data source 824 (such as hw_twain.ds) that its virtual mode is based in scheme to provide, according to the virtual data source (such as hw_twain_1.ds, hw_twain_2.ds etc.) of the different filenames that certain rule copy generates。The realization of these virtual data sources 824 is completely living, and all can be searched by DSM823 and load access, all can set up interprocess communication passage with TWAIN service end 821 and interact。
Further, in this implementation, realize just the same due to virtual data source 824, and all can be searched by DSM823 and load access, all can set up interprocess communication passage with TWAIN service end 821 and interact;And according to TWAIN agreement, when APP822 beats opening/closing DSM823 or opens a certain data source, DSM meeting repeated loading/unloading data source (containing each virtual data source 824), to obtain its data source information or to carry out various operations etc.;This communication port resulting in virtual data source 824 and TWAIN service end 821 can repeatedly be set up/close;Also result in TWAIN service end 821 and cannot safeguard the mapping relations of a certain virtual data source and a certain vision facilities data source according to communication port, therefore in the embodiment of the present invention, also need to virtual data source 824 and carry out certain coordinating with TWAIN service end 821, complete the mapping to a certain vision facilities data source 813 of a certain virtual data source 824, and it is always maintained at this mapping relations at APP822 run duration, solve message bag routing issue。
Based on problem above, in the embodiment of the present invention, it is provided that a kind of concrete implementation mode is to solve this problem。Namely, as shown in figure 11, in the remote virtual desktop computer information according to preset rules He at least one vision facilities data source, after the virtual data source (step S506) that to be respectively created out at least one vision facilities data source each vision facilities data source corresponding, also include:
The mapping relations of each vision facilities data source and corresponding virtual data source at least one vision facilities data source set up by S507, remote virtual desktop computer。
If being the virtual DS being arranged on remote virtual desktop computer-internal specifying DS, remote virtual desktop computer calls virtual DS by DSM, and after obtaining the order parameter (step S501c2) that specifies of TWAIN agreement by virtual DS, remote virtual desktop computer sends the first message bag to terminal, first message bag carry the order parameter that TWAIN agreement specifies before before (step S502), it is also possible to including:
S508, remote virtual desktop computer are according to mapping relations, it is determined that the information of the vision facilities data source that appointment data source is corresponding。
Remote virtual desktop computer sends the first message bag to terminal, and the first message bag carries the order parameter (step S502) that TWAIN agreement specifies, specifically includes:
S502a, remote virtual desktop computer send the first message bag to terminal, and the first message bag carries the information of order parameter that TWAIN agreement the specifies vision facilities data source corresponding with specifying data source。
Exemplary, virtual data source identifier (the virtualIdentifier of virtual data source corresponding with each vision facilities data source for the SID of each vision facilities data source at least one vision facilities data source can be set up, it is called for short: corresponding relation VID), wherein, this SID can identify (Identifier with the original data source of end side, it is called for short: ID) identical, can also being certain value after certain one-one relationship maps, this be not especially limited by the embodiment of the present invention。
As shown in figure 12, when virtual data source realizes, system API can be operated by, obtain the process identification (PID) of oneself place process, as the PID of this virtual data source place process;And the module file name (the module file hw_twain_1.ds by name that hw_twain.ds, hw_twain_1.ds as by name in the hw_twain.ds module file obtained obtain) of oneself can be obtained, directly identify VID in this, as this virtual data source;Or continue from this module file name, extract numbering as this virtual data source identify VID (as hw_twain.ds extract be numbered 0, hw_twain_1.ds extraction be numbered 1);It is follow-up that using this, < PID, VID cause and are placed in message header as key message, communicate with TWAIN service end。
Constructing a routing table inside TWAIN service end, persist the mapping relations of virtual data source and vision facilities data source, and routing table distributes request and the response message of each virtual data source accordingly, exemplary, this routing table can be as shown in Table 1:
Table one
VID SID(ID)
0 M
1 N
…… ……
It should be noted that above-mentioned routing table is static routing table, it is typically in terminal and remote virtual desktop computer when setting up tunnel, TWAIN service end 821 has coordinated with TWAIN client 811。Under this kind of mode, all APP processes, its VID and SID (ID) mapping relations are identical, therefore, have only to the corresponding relation of record < VID, SID > in routing table。
Certainly, routing table in the embodiment of the present invention can also be dynamically generated, namely when APP process first time communicates with TWAIN service end, by TWAIN service end 821 in the routing table, new distribution one and PID, the SID that VID is corresponding, to guarantee in APP process corresponding for this PID, each VID and SID one_to_one corresponding。Under this kind of mode, in each APP process, its mapping relations are likely to difference, and the record strip number in whole routing table is dynamically change, therefore, needs the corresponding relation of record < PID, VID, SID > in routing table。As shown in Table 2。
Table two
PID VID SID(ID)
A 0 M
A 1 N
…… …… ……
It should be noted that above-mentioned being merely illustrative of gives implementing of two kinds of routing tables, of course, it is also possible to there is other implementation, the concrete form how building routing table and routing table is not especially limited by the embodiment of the present invention。
It should be noted that, owing to TWAIN service end need to guarantee certain application program run duration, the mapping relations of virtual data source and vision facilities data source do not change, therefore, the mode whether TWAIN service end 821 closes typically via monitoring APP process, remove the resource relevant to this process in time, as removed route record relevant to this APP process in routing table。This is not especially limited by the embodiment of the present invention。
It should be noted that, as described in detailed description of the invention preamble, the regulation according to TWAIN agreement, communicated by DSM_Entry interface function between APP and DSM, being communicated by DS_Entry interface function between DSM and virtual data source, this is not especially limited by the embodiment of the present invention。
It is readily appreciated by a person skilled in the art that above-mentioned be only example come the remoting redirection method of TWAIN agreement under two kinds of different scenes is provided, of course, it is also possible to there is other implementation, this is not especially limited by the embodiment of the present invention。
It should be noted that in the embodiment of the present invention, the APP in remote virtual desktop computer can also select to use local data source, and this is not especially limited by the embodiment of the present invention。
It should be noted that in the embodiment of the present invention, the local data source of remote virtual desktop computer-side can have multiple, and this is not especially limited by the embodiment of the present invention。
It should be noted that in the embodiment of the present invention, the local data source of remote virtual desktop computer-side is not necessarily relevant to concrete vision facilities, it is only necessary to be the data source meeting TWAIN agreement。Being mutual with USB vision facilities as this data source, also right and wrong USB vision facilities is mutual, does not all affect the remoting redirection of TWAIN agreement。Even, this data source can directly and disk file mutual, from picture file, obtain view data, this is not especially limited by the embodiment of the present invention。
The embodiment of the present invention provides a kind of remoting redirection method of TWAIN agreement, including: when user is triggered by the APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, remote virtual desktop computer obtains the order parameter that the APP TWAIN agreement issued specifies;Remote virtual desktop computer sends the first message bag to terminal, and the first message bag carries the order parameter that TWAIN agreement specifies;Remote virtual desktop computer receives the second message bag that terminal sends, and the second message bag carries the operating result that order parameter is corresponding, and wherein, the operating result that order parameter is corresponding is to be processed by the vision facilities data source being arranged on terminal inner to obtain;The data form that remote virtual desktop computer specifies with TWAIN agreement, feeds back to APP by operating result corresponding for order parameter。Based on such scheme, owing to the embodiment of the present invention is when carrying out the remoting redirection of TWAIN agreement, the order parameter that the TWAIN agreement issued by APP by remote virtual desktop computer specifies is sent to terminal, by terminal according to TWAIN agreement, by returning operating result to remote virtual desktop computer after being arranged on the operation that the vision facilities data source execution order parameter of terminal inner is specified。That is, the embodiment of the present invention performs corresponding operation by being arranged on the vision facilities data source of terminal inner, such as opens vision facilities data source。Consider that major part data are transmitted between vision facilities data source and vision facilities, vision facilities data source has preview, the function of screening, therefore by being arranged on the corresponding operation of vision facilities data source execution of terminal inner, just can arrange according to the parameter of user in end side, raw image data is screened, the image meeting preset rules the most at last sends to remote virtual desktop computer, without as in the prior art, need to scan, from USB vision facilities, a large amount of raw image datas obtained by all, all being redirected by USB as former state is transferred to remote virtual desktop computer from side, local terminal, arranged according to the parameter of user by the vision facilities data source in remote virtual desktop computer again, it is processed raw image data processing (such as image format conversion, compression of images etc.) with screening after, it is supplied to application program。Therefore can avoid prior art adopts the bandwidth waste that causes of remoting redirection mode of USB vision facilities and inefficient problem, thus saving the transmission bandwidth of TWAIN protocol remote redirection process, and improve the work efficiency of TWAIN protocol remote redirection process。On the other hand, in the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, data source is not necessarily relevant to concrete vision facilities, it is only necessary to be the data source meeting TWAIN agreement。It can be such as the data source of the vision facilities of the USB interface class meeting TWAIN agreement, it can also be the data source of the vision facilities of the non-USB interface class meeting TWAIN agreement, therefore the problem that the versatility that causes of remoting redirection mode that can avoid adopting USB vision facilities in prior art is poor, thus improving the versatility of TWAIN protocol remote redirection process。
To sum up, the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, it can be avoided that prior art adopts inefficient, the technical problem that bandwidth waste, versatility are poor that the remoting redirection mode of USB vision facilities causes, thus improve work efficiency and the versatility of TWAIN protocol remote redirection process, and save the transmission bandwidth of TWAIN protocol remote redirection process。
Embodiment two,
The embodiment of the present invention provides a kind of remoting redirection method of TWAIN agreement, is applied particularly in the terminal of remoting redirection system of TWAIN agreement as shown in Fig. 6 or Fig. 8, and as shown in figure 13, method includes:
S1301, when user in remote virtual desktop by support TWAIN agreement APP trigger obtain image manipulation constantly, terminal receive remote virtual desktop computer send the first message bag, the first message bag carries the order parameter that TWAIN agreement specifies。
S1302, terminal are according to order parameter, in conjunction with TWAIN agreement, perform, by being arranged on the vision facilities data source of terminal inner, the operation that order parameter is specified, and obtain the operating result that order parameter is corresponding。
S1303, terminal send the second message bag to remote virtual desktop computer, and the second message bag carries the operating result that order parameter is corresponding。
Concrete, in the embodiment of the present invention, the order parameter that TWAIN agreement specifies specifically is referred to the description of embodiment one, and the embodiment of the present invention does not repeat them here。
Concrete, in embodiment of the present invention step S1302, terminal is according to order parameter, in conjunction with TWAIN agreement, performs, by being arranged on the vision facilities data source of terminal inner, the operation that order parameter is specified, and obtains the operating result that order parameter is corresponding。
Certainly, the TWAIN client of end side can also be respectively processed according to the different implications of order parameter in TWAIN agreement request, as loaded DSM, accessed correspondence image device data source by DSM, sending concrete TWAIN instruction to vision facilities data source, completing the request of image, scanning, transmission operation etc., this is not especially limited by the embodiment of the present invention。
Further, as shown in figure 14, in the embodiment of the present invention, before step S1303, it is also possible to including:
S1304, terminal compress, by being arranged on the TWAIN client of terminal inner, the operating result that order parameter is corresponding。
Step S1303 specifically may include that
S1303a, terminal send the second message bag to remote virtual desktop computer, and the second message bag carries the operating result that the order parameter after compression is corresponding。
Namely, TWAIN client can also extend enhancing, support that the TWAIN according to user's customization redirects strategy, the finished static image data obtained from vision facilities data source carries out the lossy compression method of lossless or different stage again process and/or the compression such as image format conversion processes, after reducing transmitted data amount further, it is sent to remote virtual desktop computer-side, APP is fed back to after being carried out decompression accordingly by the virtual data source 824 of the virtual DSM623 of remote virtual desktop computer 62 side as indicated with 6 or remote virtual desktop computer 82 side as depicted in figure 8。So, it is possible to save the transmission bandwidth of TWAIN protocol remote redirection process further。
Further, in the invention process, first message bag can also carry the information of vision facilities data source, in terminal according to order parameter, in conjunction with TWAIN agreement, the operation specified of order parameter is performed by being arranged on the vision facilities data source of terminal inner, and before obtaining operating result corresponding to order parameter (step S1302), it is also possible to including:
The terminal information according to vision facilities data source, it is determined that be arranged on the vision facilities data source of terminal inner。
Exemplary, the first message bag can carry the SID of vision facilities data source, wherein, this SID can be identical with the original data source ID of end side, it is also possible to being certain value after certain one-one relationship maps, this is not especially limited by the embodiment of the present invention。
It is readily appreciated by a person skilled in the art that message wraps in when transmitting between terminal and remote virtual desktop computer, its message header can carry the information that some message route is necessary。Therefore, in the embodiment of the present invention, in the first message bag except can comprising SID, it is also possible to comprising other information, this is not especially limited by the embodiment of the present invention。
Exemplary, in the remoting redirection system of TWAIN agreement as shown in Figure 6, a kind of possible Message routing information is < PID, SID >, namely the first message bag can carry the SID of vision facilities data source and the PID of virtual data source place process, wherein, SID is to ensure that the message sent, the place specified can be delivered to, PID is to ensure that the response that terminal returns, returning to corresponding place, this is not especially limited by the embodiment of the present invention。
Exemplary, in the remoting redirection system of TWAIN agreement as shown in Figure 8, a kind of possible Message routing information is < PID, VID, SID >, namely the first message bag can carry the VID of the SID of vision facilities data source, the PID of virtual data source place process and virtual data source, wherein, SID is to ensure that the message sent, the place specified can be delivered to, PID and VID is to ensure that the response that terminal returns, returning to corresponding place, this is not especially limited by the embodiment of the present invention。
Further, as shown in figure 15, in the embodiment of the present invention, before terminal receives the first message bag (step S1301) that remote virtual desktop computer sends, also include:
S1305, when tunnel set up by terminal and remote virtual desktop computer, terminal obtains the information of at least one vision facilities data source。
S1306, terminal send the information of at least one vision facilities data source to remote virtual desktop computer, by the remote virtual desktop computer information according to preset rules He at least one vision facilities data source, it is created that the virtual data source corresponding with at least one vision facilities data source。
Concrete, in the embodiment of the present invention, when terminal sets up tunnel with remote virtual desktop computer, it is possible to trigger TWAIN client and carry out vision facilities data source traversal so that terminal obtains the information of at least one vision facilities data source。Wherein, terminal can obtain the information of at least one vision facilities data source by least one mode in following manner:
By the DSM of terminal loads, the DSM by terminal built-in and the DS by terminal built-in, this is not especially limited by the embodiment of the present invention。
Namely, in the embodiment of the present invention, the TWAIN client of end side without loading data source manager and/or vision facilities data source, but itself can possess some necessary functions of data source manager and/or vision facilities data source, and this is not especially limited by the embodiment of the present invention。
It should be noted that, generally, the major function of DSM is the mode specified according to TWAIN agreement, in assigned catalogue, search for and load the data source of extension ds by name, then call its DS_Entry interface, obtain the relevant information in data source, the follow-up bridge as upper layer application (such as TWAIN application software or TWAIN client) Yu lower data source, interacts and message forwards。In the embodiment of the present invention, TWAIN client can be not loaded with DSM, but in directly recording to feeling the pulse with the finger-tip, search is loading data source also, then calls its DS_Entry interface, is supported alternately with data source。This is equivalent to, and TWAIN client inherently has some necessary functions of data source manager。Wherein, the catalogue of TWAIN client-side search is probably catalogue and the subdirectory of regulation in TWAIN agreement, it is also possible to for other;TWAIN client-side search the extension name of data source loaded are likely ds, it is also possible to for other, this is not especially limited by the embodiment of the present invention。
It should be noted that in the embodiment of the present invention, the vision facilities data source of end side can have multiple, and this is not especially limited by the embodiment of the present invention。
It should be noted that in the embodiment of the present invention, the vision facilities data source of end side is not necessarily relevant to concrete vision facilities, it is only necessary to be the data source meeting TWAIN agreement。Being mutual with USB vision facilities as this data source, also right and wrong USB vision facilities is mutual, does not all affect the remoting redirection of TWAIN agreement。Even, this data source can directly and disk file mutual, from picture file, obtain view data, this is not especially limited by the embodiment of the present invention。
The embodiment of the present invention provides a kind of remoting redirection method of TWAIN agreement, including: when user is triggered by the APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, terminal receives the first message bag that remote virtual desktop computer sends, and the first message bag carries the order parameter that TWAIN agreement specifies;Terminal is according to order parameter, in conjunction with TWAIN agreement, performs, by being arranged on the vision facilities data source of terminal inner, the operation that order parameter is specified, and obtains the operating result that order parameter is corresponding;Terminal sends the second message bag to remote virtual desktop computer, and the second message bag carries the operating result that order parameter is corresponding。Based on such scheme, owing to the embodiment of the present invention is when carrying out the remoting redirection of TWAIN agreement, received the order parameter of the TWAIN agreement that remote virtual desktop computer sends by end side after, the operation that order parameter is specified is performed by being arranged on the vision facilities data source of terminal inner, finally returned operating result to remote virtual desktop computer by terminal, the data form specified with TWAIN agreement by remote virtual desktop computer, feeds back to APP by operating result corresponding for order parameter。That is, the embodiment of the present invention performs corresponding operation by being arranged on the vision facilities data source of terminal inner, such as opens vision facilities data source。Consider that major part data are transmitted between vision facilities data source and vision facilities, vision facilities data source has preview, the function of screening, therefore by being arranged on the corresponding operation of vision facilities data source execution of terminal inner, just can arrange according to the parameter of user in end side, it is processed raw image data processing (such as image format conversion, compression of images etc.) and screening, the image meeting preset rules the most at last sends to remote virtual desktop computer, without as in the prior art, need to scan, from USB vision facilities, a large amount of raw image datas obtained by all, all being redirected by USB as former state is transferred to remote virtual desktop computer from side, local terminal, arranged according to the parameter of user by the vision facilities data source in remote virtual desktop computer again, it is processed raw image data processing (such as image format conversion, compression of images etc.) with screening after, it is supplied to application program。Therefore can avoid prior art adopts the bandwidth waste that causes of remoting redirection mode of USB vision facilities and inefficient problem, thus saving the transmission bandwidth of TWAIN protocol remote redirection process, and improve the work efficiency of TWAIN protocol remote redirection process。On the other hand, in the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, data source is not necessarily relevant to concrete vision facilities, it is only necessary to be the data source meeting TWAIN agreement。It can be such as the data source of the vision facilities of the USB interface class meeting TWAIN agreement, it can also be the data source of the vision facilities of the non-USB interface class meeting TWAIN agreement, therefore the problem that the versatility that causes of remoting redirection mode that can avoid adopting USB vision facilities in prior art is poor, thus improving the versatility of TWAIN protocol remote redirection process。
To sum up, the remoting redirection method of the TWAIN agreement that the embodiment of the present invention provides, it can be avoided that prior art adopts inefficient, the technical problem that bandwidth waste, versatility are poor that the remoting redirection mode of USB vision facilities causes, thus improve work efficiency and the versatility of TWAIN protocol remote redirection process, and save the transmission bandwidth of TWAIN protocol remote redirection process。
Embodiment three,
The embodiment of the present invention provides a kind of remoting redirection method of TWAIN agreement, specifically illustrates for example in the remoting redirection system 60 of TWAIN agreement as shown in Figure 6, and as shown in figure 16, method includes:
S1601, when user in remote virtual desktop by supporting the APP of TWAIN agreement to trigger to obtain image manipulation time, remote virtual desktop computer passes through APP, adopts HOOKAPI mechanism to load and is arranged on the virtual DSM of remote virtual desktop computer-internal。
Wherein, virtual DSM is for being redirected to terminal by the order parameter that TWAIN agreement specifies
S1602, remote virtual desktop computer pass through APP, call virtual DSM, and obtain, by virtual DSM, the order parameter that TWAIN agreement specifies。
S1603, remote virtual desktop computer send the first message bag to terminal, and the first message bag carries the order parameter that TWAIN agreement specifies。
S1604, terminal receive the first message bag。
S1605, terminal are according to order parameter, in conjunction with TWAIN agreement, perform, by being arranged on the vision facilities data source of terminal inner, the operation that order parameter is specified, and obtain the operating result that order parameter is corresponding。
The operating result that S1606, terminal compression order parameter is corresponding。
S1607, terminal send the second message bag to remote virtual desktop computer, and the second message bag carries the operating result that the order parameter after compression is corresponding。
S1608, remote virtual desktop computer receive the second message bag。
The operating result that order parameter after compression is corresponding is decompressed by S1609, remote virtual desktop computer, it is thus achieved that the operating result that order parameter is corresponding。
The data form that S1610, remote virtual desktop computer specify with TWAIN agreement, feeds back to APP by operating result corresponding for order parameter。
Wherein, remote virtual desktop computer-side implements, with end side, the description being referred to embodiment one, and the embodiment of the present invention does not repeat them here。
Optionally, the present invention also embodiment provides a kind of remoting redirection method of TWAIN agreement, specifically illustrates for example in the remoting redirection system 80 of TWAIN agreement as shown in Figure 8, and as shown in figure 17, method includes:
S1701, when tunnel set up by terminal and remote virtual desktop computer, remote virtual desktop computer obtains the information of at least one vision facilities data source。
S1702, the remote virtual desktop computer information according to preset rules and at least one vision facilities data source, be respectively created out the virtual data source that at least one vision facilities data source, each vision facilities data source is corresponding。
S1703, when user in remote virtual desktop by supporting the APP of TWAIN agreement to trigger to obtain image manipulation time, remote virtual desktop computer is loaded by APP and is arranged on the DSM of remote virtual desktop computer-internal。
S1704, remote virtual desktop computer call DSM, and load appointment data source by DSM。
If S1705 specifies DS to be the virtual DS being arranged on remote virtual desktop computer-internal, remote virtual desktop computer calls virtual DS by DSM, and obtains, by virtual DS, the order parameter that TWAIN agreement specifies。
Wherein, virtual DS is for being redirected to terminal by the order parameter that TWAIN agreement specifies。
S1706, remote virtual desktop computer send the first message bag to terminal, and the first message bag carries the order parameter that TWAIN agreement specifies。
S1707, terminal receive the first message bag。
S1708, terminal are according to order parameter, in conjunction with TWAIN agreement, perform, by being arranged on the vision facilities data source of terminal inner, the operation that order parameter is specified, and obtain the operating result that order parameter is corresponding。
The operating result that S1709, terminal compression order parameter is corresponding。
S1710, terminal send the second message bag to remote virtual desktop computer, and the second message bag carries the operating result that the order parameter after compression is corresponding。
S1711, remote virtual desktop computer receive the second message bag。
The operating result that order parameter after compression is corresponding is decompressed by S1712, remote virtual desktop computer, it is thus achieved that the operating result that order parameter is corresponding。
The data form that S1713, remote virtual desktop computer specify with TWAIN agreement, feeds back to APP by operating result corresponding for order parameter。
Wherein, remote virtual desktop computer-side implements, with end side, the description being referred to embodiment one, and the embodiment of the present invention does not repeat them here。
Owing to the present embodiment is the specific descriptions to above-described embodiment, its technique effect that can reach with reference to foregoing description, can also repeat no more herein。
Embodiment four,
The embodiment of the present invention provides a kind of remote virtual desktop computer 1800, and as shown in figure 18, described remote virtual desktop computer 1800 includes: acquiring unit 1802, transmitting element 1803, reception unit 1804, feedback unit 1805。
Described acquiring unit 1802, for obtaining image manipulation when user is triggered by the application APP of support TWAIN agreement in remote virtual desktop, obtains the order parameter that the described APP TWAIN agreement issued specifies。
Described transmitting element 1803, is used for sending the first message bag to terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies。
Described reception unit 1804, for receiving the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, and wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain。
Described feedback unit 1805, for the data form specified with described TWAIN agreement, feeds back to described APP by operating result corresponding for described order parameter。
In a kind of possible implementation, as shown in figure 19, described acquiring unit 1802 includes: calling module 1802a, load-on module 1802b。
Described load-on module 1802b, for by described APP, adopting HOOKAPI mechanism to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
Described calling module 1802a, for by described APP, calling described virtual DSM, obtains, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
In alternatively possible implementation, described load-on module 1802b, for by described APP, loading the DSM being arranged on described remote virtual desktop computer-internal;
Described calling module 1802a, is used for calling described DSM, and loads appointment data source DS by described DSM;
Described calling module 1802a, if being additionally operable to described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described virtual DS is called by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
Further, as shown in figure 20, described remote virtual desktop computer 1800 also includes: creating unit 1806。
Described acquiring unit 1802 also includes: acquisition module 1802c。
Described acquisition module 1802c, for when described terminal sets up tunnel with described remote virtual desktop computer 1800, obtaining the information of at least one vision facilities data source。
Described creating unit 1806, for the information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
Further, as shown in figure 21, described remote virtual desktop computer 1800 also includes: sets up unit 1807, determine unit 1808。
Described set up unit 1807, for in the described creating unit 1806 information according to preset rules and at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, set up the mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described。
Described determine unit 1808, if being the virtual DS being arranged on described remote virtual desktop computer-internal at described appointment DS, described calling module 1802a calls described virtual DS by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, described transmitting element 1803 sends the first message bag to described terminal, before described first message bag carries the order parameter that described TWAIN agreement specifies, according to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding。
Described transmitting element 1803 specifically for:
Sending the first message bag to described terminal, described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
Concrete, the remoting redirection method being carried out TWAIN agreement by remote virtual desktop computer 1800 is referred to embodiment one or the description of embodiment three, and this is repeated no more by the embodiment of the present invention。
Owing to the remote virtual desktop computer 1800 of the present embodiment can be used in performing said method, therefore, it can be obtained with technique effect with reference to the description in above-described embodiment, can also repeat no more herein。
Embodiment five,
The embodiment of the present invention provides a kind of terminal 2200, and specifically as shown in figure 22, described terminal 2200 includes: receive unit 2201, performance element 2202, transmitting element 2203。
Described reception unit 2201, for obtaining image manipulation constantly when user is triggered by the application APP of support TWAIN agreement in remote virtual desktop, receiving the first message bag that remote virtual desktop computer sends, described first message bag carries the order parameter that TWAIN agreement specifies。
Described performance element 2202, for according to described order parameter, in conjunction with described TWAIN agreement, performs, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtains the operating result that described order parameter is corresponding。
Described transmitting element 2203, is used for sending the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding。
Further, as shown in figure 23, described terminal 2200 also includes: compression unit 2204。
Described compression unit 2204, for described transmitting element 2203 send the second message bag to described remote virtual desktop computer before, compress operating result corresponding to described order parameter by being arranged on the TWAIN client of described terminal inner。
Described transmitting element 2203 specifically for:
Sending the second message bag to described remote virtual desktop computer, described second message bag carries the operating result that the described order parameter after compression is corresponding。
Further, as shown in figure 24, described terminal 2200 also includes determining unit 2205。
Described first message bag also carries the information of vision facilities data source。
Described determine unit 2205, for at described performance element 2202 according to described order parameter, in conjunction with described TWAIN agreement, the operation that described order parameter is specified is performed by being arranged on the vision facilities data source of described terminal inner, and before obtaining the operating result that described order parameter is corresponding, information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
Further, as shown in figure 25, described terminal 2200 also includes: acquiring unit 2206。
Described acquiring unit 2206, before receiving, at described reception unit 2201, the first message bag that remote virtual desktop computer sends, when described terminal 2200 sets up tunnel with described remote virtual desktop computer, obtain the information of at least one vision facilities data source。
Described transmitting element 2203, it be additionally operable to the information sending at least one vision facilities data source described to described remote virtual desktop computer, by described remote virtual desktop computer according to preset rules, it is created that the virtual data source corresponding with at least one vision facilities data source described。
Preferably, described acquiring unit 2205 specifically for:
Described terminal 2200 obtains the information of at least one vision facilities data source described by least one mode in following manner:
The data source manager DSM that loaded by described terminal 2200, by the built-in DSM of described terminal 2200 and by the built-in DS of described terminal 2200。
Concrete, the remoting redirection method being carried out TWAIN agreement by terminal 2200 is referred to embodiment two or the description of embodiment three, and this is repeated no more by the embodiment of the present invention。
Owing to the terminal 2200 of the present embodiment can be used in performing said method, therefore, it can be obtained with technique effect with reference to the description in above-described embodiment, can also repeat no more herein。
Embodiment six,
The embodiment of the present invention provides a kind of remote virtual desktop computer 2600, as shown in figure 26, including at least one processor 2602 (such as central processing unit (CentralProcessingUnit is called for short: CPU)), at least one network interface 2605 or other communication interfaces, memorizer 2606 and at least one communication bus 2603。
Wherein, at least one communication bus 2603 is for realizing processor 2602, connection communication between at least one network interface 2605 or other communication interfaces and memorizer 2606。
Processor 2602 is for performing the executable module of storage in memorizer 2606, for instance computer program。
Memorizer 2606 is likely to comprise high-speed random access memory (RandomAccessMemory, RAM), read only memory (Read-OnlyMemory it is called for short:, it is called for short: ROM), it is likely to and also includes non-labile memorizer (non-volatilememory), for instance at least one disk memory。
The communication connection between this remote virtual desktop computer 2600 and at least one other device is realized, it is possible to use the Internet, wide area network, LAN, Metropolitan Area Network (MAN) etc. by least one network interface 2605 (can be wired or wireless)。
In some embodiments, memorizer 2606 stores program 26061, and program 26061 can be performed by processor 2602, and program 26061 includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, obtain the order parameter that the described APP TWAIN agreement issued specifies;
Sending the first message bag to terminal, described first message bag carries the order parameter that described TWAIN agreement specifies;
Receiving the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, and wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain;
With the data form that described TWAIN agreement specifies, operating result corresponding for described order parameter is fed back to described APP。
In a kind of possible implementation, the order parameter that the TWAIN agreement that the described APP of described acquisition issues specifies, including:
By described APP, adopting HOOKAPI mechanism to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies;
By described APP, call described virtual DSM, obtain, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
In alternatively possible implementation, the order parameter that the TWAIN agreement that the described APP of described acquisition issues specifies, including:
By described APP, load the DSM being arranged on described remote virtual desktop computer-internal;
Call described DSM, and load appointment data source DS by described DSM;
If described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described virtual DS is called by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
Further, described method also includes:
When described terminal sets up tunnel with described remote virtual desktop computer, obtain the information of at least one vision facilities data source;
Information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
Further, described according to preset rules with the information of at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, also include:
Set up the mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described;
If being the virtual DS being arranged on described remote virtual desktop computer-internal at described appointment DS, described virtual DS is called by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, send the first message bag to, before described terminal, also including:
According to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding;
Sending the first message bag to described terminal, described first message bag carries the order parameter that described TWAIN agreement specifies, including:
Sending the first message bag to described terminal, described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
Concrete, the remoting redirection method being carried out TWAIN agreement by remote virtual desktop computer 2600 is referred to embodiment one or the description of embodiment three, and this is repeated no more by the embodiment of the present invention。
Owing to the remote virtual desktop computer 2600 of the present embodiment can be used in performing said method, therefore, it can be obtained with technique effect with reference to the description in above-described embodiment, can also repeat no more herein。
Embodiment seven,
The embodiment of the present invention provides a kind of terminal 2700, as shown in figure 27, including at least one processor 2702 (such as CPU), at least one network interface 2705 or other communication interfaces, memorizer 2706 and at least one communication bus 2703。
Wherein, at least one communication bus 2703 is for realizing processor 2702, connection communication between at least one network interface 2705 or other communication interfaces and memorizer 2706。
Processor 2702 is for performing the executable module of storage in memorizer 2706, for instance computer program。
Memorizer 2706 is likely to comprise RAM, ROM, it is also possible to also include non-labile memorizer, for instance at least one disk memory。
The communication connection between this remote virtual desktop computer 2700 and at least one other device is realized, it is possible to use the Internet, wide area network, LAN, Metropolitan Area Network (MAN) etc. by least one network interface 2705 (can be wired or wireless)。
In some embodiments, memorizer 2706 stores program 27061, and program 27061 can be performed by processor 2702, and program 27061 includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, receiving the first message bag that remote virtual desktop computer sends, described first message bag carries the order parameter that TWAIN agreement specifies;
According to described order parameter, in conjunction with described TWAIN agreement, perform, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtain the operating result that described order parameter is corresponding;
Sending the second message bag to described remote virtual desktop computer, described second message bag carries the operating result that described order parameter is corresponding。
Further, before described transmission the second message bag is to described remote virtual desktop computer, also include:
The operating result that described order parameter is corresponding is compressed by being arranged on the TWAIN client of described terminal inner;
Described transmission the second message bag is to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding, including:
Sending the second message bag to described remote virtual desktop computer, described second message bag carries the operating result that the described order parameter after compression is corresponding。
Further, described first message bag also carries the information of vision facilities data source。
Described according to described order parameter, in conjunction with described TWAIN agreement, perform, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and before obtaining the operating result that described order parameter is corresponding, also include:
Information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
Further, before the first message bag that described reception remote virtual desktop computer sends, also include:
When described terminal 2700 sets up tunnel with described remote virtual desktop computer, obtain the information of at least one vision facilities data source。
Send the information of at least one vision facilities data source described to described remote virtual desktop computer, by described remote virtual desktop computer according to preset rules, be created that the virtual data source corresponding with at least one vision facilities data source described。
Preferably, the information of at least one vision facilities data source of described acquisition, including:
The information of at least one vision facilities data source described is obtained by least one mode in following manner:
By the data source manager DSM of described terminal loads, the DSM by described terminal built-in and the DS by described terminal built-in。
Concrete, the remoting redirection method being carried out TWAIN agreement by terminal 2700 is referred to embodiment two or the description of embodiment three, and this is repeated no more by the embodiment of the present invention。
Owing to the terminal 2700 of the present embodiment can be used in performing said method, therefore, it can be obtained with technique effect with reference to the description in above-described embodiment, can also repeat no more herein。
Embodiment eight,
The embodiment of the present invention provides the remoting redirection system 2800 of a kind of TWAIN agreement, and as shown in figure 28, described system includes the remote virtual desktop computer 1800 described in embodiment four and the terminal as described in embodiment five 2200。
Concrete, carry out the remoting redirection method of TWAIN agreement by the remoting redirection system 2800 of TWAIN agreement and be referred to the description of embodiment three, this is repeated no more by the embodiment of the present invention。
Owing to the remoting redirection system 2800 of the TWAIN agreement of the present embodiment can be used in performing said method, therefore, it can be obtained with technique effect with reference to the description in above-described embodiment, can also repeat no more herein。
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the device of foregoing description, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, be divided into different functional modules by the internal structure of device, to complete all or part of function described above。The specific works process of the system of foregoing description, device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here。
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way。Such as, device embodiment described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform。Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form。
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE。Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme。
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit。Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes。
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium。Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor perform all or part of step of method described in each embodiment of the present invention。And aforesaid storage medium includes: the various media that can store program code such as USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CDs。
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention。Therefore, protection scope of the present invention should be as the criterion with described scope of the claims。

Claims (21)

1. the remoting redirection method without note name tool kit TWAIN agreement, it is characterised in that described method includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies;
Described remote virtual desktop computer sends the first message bag to terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies;
Described remote virtual desktop computer receives the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain;
The data form that described remote virtual desktop computer specifies with described TWAIN agreement, feeds back to described APP by operating result corresponding for described order parameter。
2. method according to claim 1, it is characterised in that described remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies, including:
Described remote virtual desktop computer passes through described APP, HOOKAPI mechanism is adopted to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies;
Described remote virtual desktop computer passes through described APP, calls described virtual DSM, obtains, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
3. method according to claim 1, it is characterised in that described remote virtual desktop computer obtains the order parameter that the described APP TWAIN agreement issued specifies, including:
Described remote virtual desktop computer passes through described APP, loads the DSM being arranged on described remote virtual desktop computer-internal;
Described remote virtual desktop computer calls described DSM, and loads appointment data source DS by described DSM;
If described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described remote virtual desktop computer calls described virtual DS by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
4. method according to claim 3, it is characterised in that described method also includes:
When described terminal sets up tunnel with described remote virtual desktop computer, described remote virtual desktop computer obtains the information of at least one vision facilities data source;
The described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
5. method according to claim 4, it is characterized in that, in the described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, also include:
The mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described set up by described remote virtual desktop computer;
If being the virtual DS being arranged on described remote virtual desktop computer-internal at described appointment DS, described remote virtual desktop computer calls described virtual DS by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, described remote virtual desktop computer sends the first message bag to, before described terminal, also including:
Described remote virtual desktop computer is according to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding;
Described remote virtual desktop computer sends the first message bag to described terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies, including:
Described remote virtual desktop computer sends the first message bag to described terminal, and described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
6. the remoting redirection method without note name tool kit TWAIN agreement, it is characterised in that described method includes:
When user is triggered by the application APP of support TWAIN agreement in remote virtual desktop and obtains image manipulation, terminal receives the first message bag that remote virtual desktop computer sends, and described first message bag carries the order parameter that TWAIN agreement specifies;
Described terminal is according to described order parameter, in conjunction with described TWAIN agreement, performs, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtains the operating result that described order parameter is corresponding;
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding。
7. method according to claim 6, it is characterised in that described terminal send the second message bag to described remote virtual desktop computer before, also include:
Described terminal compresses, by being arranged on the TWAIN client of described terminal inner, the operating result that described order parameter is corresponding;
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding, including:
Described terminal sends the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that the described order parameter after compression is corresponding。
8. the method according to claim 6 or 7, it is characterised in that described first message bag also carries the information of described vision facilities data source;
In described terminal according to described order parameter, in conjunction with described TWAIN agreement, perform, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and before obtaining the operating result that described order parameter is corresponding, also include:
The described terminal information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
9. the method according to any one of claim 6-8, it is characterised in that before described terminal receives the first message bag that remote virtual desktop computer sends, also include:
When described terminal sets up tunnel with described remote virtual desktop computer, described terminal obtains the information of at least one vision facilities data source;
Described terminal sends the information of at least one vision facilities data source described to described remote virtual desktop computer, by the described remote virtual desktop computer information according to preset rules and at least one vision facilities data source described, it is created that the virtual data source DS corresponding with at least one vision facilities data source described。
10. method according to claim 9, it is characterised in that described terminal obtains the information of at least one vision facilities data source, including:
Described terminal obtains the information of at least one vision facilities data source described by least one mode in following manner:
By the data source manager DSM of described terminal loads, the DSM by described terminal built-in and the DS by described terminal built-in。
11. a remote virtual desktop computer, it is characterised in that described remote virtual desktop computer includes: acquiring unit, transmitting element, reception unit, feedback unit;
Described acquiring unit, for when user is triggered by the APP of support nothing note name tool kit TWAIN agreement in remote virtual desktop and obtains image manipulation, obtaining the order parameter that the described APP TWAIN agreement issued specifies;
Described transmitting element, is used for sending the first message bag to terminal, and described first message bag carries the order parameter that described TWAIN agreement specifies;
Described reception unit, for receiving the second message bag that described terminal sends, described second message bag carries the operating result that described order parameter is corresponding, and wherein, the operating result that described order parameter is corresponding is to be processed by the vision facilities data source being arranged on described terminal inner to obtain;
Described feedback unit, for the data form specified with described TWAIN agreement, feeds back to described APP by operating result corresponding for described order parameter。
12. remote virtual desktop computer according to claim 11, it is characterised in that described acquiring unit includes: calling module, load-on module;
Described load-on module, for by described APP, adopting HOOKAPI mechanism to load the virtual data source manager DSM being arranged on described remote virtual desktop computer-internal, wherein, described virtual DSM is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies;
Described calling module, for by described APP, calling described virtual DSM, obtains, by described virtual DSM, the order parameter that the described APP TWAIN agreement issued specifies。
13. remote virtual desktop computer according to claim 11, it is characterised in that described acquiring unit includes: calling module, load-on module;
Described load-on module, for by described APP, loading the DSM being arranged on described remote virtual desktop computer-internal;
Described calling module, is used for calling described DSM, and loads appointment data source DS by described DSM;
Described calling module, if being additionally operable to described appointment DS is the virtual DS being arranged on described remote virtual desktop computer-internal, described virtual DS is called by described DSM, and obtain, by described virtual DS, the order parameter that described TWAIN agreement specifies, wherein, described virtual DS is for being redirected to described terminal by the order parameter that described TWAIN agreement specifies。
14. remote virtual desktop computer according to claim 13, it is characterised in that described remote virtual desktop computer also includes: creating unit;
Described acquiring unit also includes: acquisition module;
Described acquisition module, for when described terminal sets up tunnel with described remote virtual desktop computer, obtaining the information of at least one vision facilities data source;
Described creating unit, for the information according to preset rules and at least one vision facilities data source described, is respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding。
15. remote virtual desktop computer according to claim 14, it is characterised in that described remote virtual desktop computer also includes: sets up unit, determine unit;
Described set up unit, it is additionally operable in the described creating unit information according to preset rules and at least one vision facilities data source described, after being respectively created out the virtual DS that at least one vision facilities data source described, each vision facilities data source is corresponding, set up the mapping relations of each vision facilities data source and corresponding virtual DS at least one vision facilities data source described;
Described determine unit, if for described appointment DS be the virtual DS being arranged on described remote virtual desktop computer-internal, described calling module calls described virtual DS by described DSM, and after obtaining the order parameter that specifies of described TWAIN agreement by described virtual DS, described transmitting element sends the first message bag to described terminal, before described first message bag carries the order parameter that described TWAIN agreement specifies, according to described mapping relations, it is determined that the information of the vision facilities data source that described appointment data source is corresponding;
Described transmitting element specifically for:
Sending the first message bag to described terminal, described first message bag carries the information of order parameter that described TWAIN agreement the specifies vision facilities data source corresponding with described appointment data source。
16. a terminal, it is characterised in that described terminal includes: receive unit, performance element, transmitting element;
Described reception unit, for when user obtains image manipulation by support without the application APP triggering noting name tool kit TWAIN agreement in remote virtual desktop, receiving the first message bag that remote virtual desktop computer sends, described first message bag carries the order parameter that TWAIN agreement specifies;
Described performance element, for according to described order parameter, in conjunction with described TWAIN agreement, performs, by being arranged on the vision facilities data source of described terminal inner, the operation that described order parameter is specified, and obtains the operating result that described order parameter is corresponding;
Described transmitting element, is used for sending the second message bag to described remote virtual desktop computer, and described second message bag carries the operating result that described order parameter is corresponding。
17. terminal according to claim 16, it is characterised in that described terminal also includes: compression unit;
Described compression unit, for described transmitting element send the second message bag to described remote virtual desktop computer before, compress operating result corresponding to described order parameter by being arranged on the TWAIN client of described terminal inner;
Described transmitting element specifically for:
Sending the second message bag to described remote virtual desktop computer, described second message bag carries the operating result that the described order parameter after compression is corresponding。
18. the terminal according to claim 16 or 17, it is characterised in that described terminal also comprises determining that unit;
Described first message bag also carries the information of vision facilities data source;
Described determine unit, for at described performance element according to described order parameter, in conjunction with described TWAIN agreement, the operation that described order parameter is specified is performed by being arranged on the vision facilities data source of described terminal inner, and before obtaining the operating result that described order parameter is corresponding, information according to described vision facilities data source, it is determined that described in be arranged on the vision facilities data source of described terminal inner。
19. according to the terminal described in any one of claim 16-18, it is characterised in that described terminal also includes: acquiring unit;
Described acquiring unit, before receiving, at described reception unit, the first message bag that remote virtual desktop computer sends, when described terminal sets up tunnel with described remote virtual desktop computer, obtains the information of at least one vision facilities data source;
Described transmitting element, it be additionally operable to the information sending at least one vision facilities data source described to described remote virtual desktop computer, by described remote virtual desktop computer according to preset rules, it is created that the virtual DS corresponding with at least one vision facilities data source described。
20. terminal according to claim 19, it is characterised in that described acquiring unit specifically for:
The information of at least one vision facilities data source described is obtained by least one mode in following manner:
By the data source manager DSM of described terminal loads, the DSM by described terminal built-in and the DS by described terminal built-in。
21. the remoting redirection system without note name tool kit TWAIN agreement, it is characterised in that described system includes the remote virtual desktop computer as described in any one of claim 11-15 and the terminal as described in any one of claim 16-20。
CN201410708341.4A 2014-11-28 2014-11-28 TWAIN protocol remote redirection method, apparatus and system Pending CN105700864A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410708341.4A CN105700864A (en) 2014-11-28 2014-11-28 TWAIN protocol remote redirection method, apparatus and system
PCT/CN2015/083287 WO2016082551A1 (en) 2014-11-28 2015-07-03 Remote redirection method, apparatus and system for twain protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410708341.4A CN105700864A (en) 2014-11-28 2014-11-28 TWAIN protocol remote redirection method, apparatus and system

Publications (1)

Publication Number Publication Date
CN105700864A true CN105700864A (en) 2016-06-22

Family

ID=56073528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410708341.4A Pending CN105700864A (en) 2014-11-28 2014-11-28 TWAIN protocol remote redirection method, apparatus and system

Country Status (2)

Country Link
CN (1) CN105700864A (en)
WO (1) WO2016082551A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229409A (en) * 2017-05-24 2017-10-03 中兴通讯股份有限公司 The operating method and device of remote virtual desktop system
CN107888594A (en) * 2017-11-15 2018-04-06 北京易讯通信息技术股份有限公司 A kind of high-definition image collecting device reorientation method in virtual desktop environment
CN109769092A (en) * 2019-03-05 2019-05-17 山东浪潮通软信息科技有限公司 A kind of image treatment method that equipment is expansible
CN114201249A (en) * 2020-09-17 2022-03-18 中兴通讯股份有限公司 Video equipment redirection method, client, virtual machine desktop and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107643936A (en) * 2017-10-26 2018-01-30 上海金途信息科技有限公司 A kind of image class peripheral data Redirectional system based on QEMU camera devices
CN112311943B (en) * 2019-08-01 2023-02-03 深信服科技股份有限公司 Data scanning optimization method, device and system and related components
CN117319592B (en) * 2023-12-01 2024-03-26 银河麒麟软件(长沙)有限公司 Cloud desktop camera redirection method, system and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003093A (en) * 1996-12-19 1999-12-14 Canon Kabushiki Kaisha Architecture for image processing application
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1553355A (en) * 2003-05-30 2004-12-08 德鑫科技股份有限公司 TWAIN network image transmission system and method thereof
CN1704916A (en) * 2004-06-03 2005-12-07 三星电子株式会社 External storage device, image acquisition device, and method and system to control a driver
CN102340513A (en) * 2010-07-15 2012-02-01 江苏国光信息产业股份有限公司 WinCE system-based method for realizing scanning in remote desktop mode
CN102694936A (en) * 2011-03-21 2012-09-26 山东新北洋信息技术股份有限公司 Control method and apparatus for composite scanning device and composite scanning system
CN102752281A (en) * 2012-05-28 2012-10-24 福建升腾资讯有限公司 Remote redirection method and system of TWAIN protocol
CN103685508A (en) * 2013-08-28 2014-03-26 东方证券股份有限公司 Calling method based on video image and text transmission in cloud desktop platform low-bandwidth mode

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003093A (en) * 1996-12-19 1999-12-14 Canon Kabushiki Kaisha Architecture for image processing application
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1553355A (en) * 2003-05-30 2004-12-08 德鑫科技股份有限公司 TWAIN network image transmission system and method thereof
CN1704916A (en) * 2004-06-03 2005-12-07 三星电子株式会社 External storage device, image acquisition device, and method and system to control a driver
CN102340513A (en) * 2010-07-15 2012-02-01 江苏国光信息产业股份有限公司 WinCE system-based method for realizing scanning in remote desktop mode
CN102694936A (en) * 2011-03-21 2012-09-26 山东新北洋信息技术股份有限公司 Control method and apparatus for composite scanning device and composite scanning system
CN102752281A (en) * 2012-05-28 2012-10-24 福建升腾资讯有限公司 Remote redirection method and system of TWAIN protocol
CN103685508A (en) * 2013-08-28 2014-03-26 东方证券股份有限公司 Calling method based on video image and text transmission in cloud desktop platform low-bandwidth mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "桌面云解决方案 V100R005C10系统兼容性和外设介绍", 《51CTO》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229409A (en) * 2017-05-24 2017-10-03 中兴通讯股份有限公司 The operating method and device of remote virtual desktop system
CN107888594A (en) * 2017-11-15 2018-04-06 北京易讯通信息技术股份有限公司 A kind of high-definition image collecting device reorientation method in virtual desktop environment
CN109769092A (en) * 2019-03-05 2019-05-17 山东浪潮通软信息科技有限公司 A kind of image treatment method that equipment is expansible
CN114201249A (en) * 2020-09-17 2022-03-18 中兴通讯股份有限公司 Video equipment redirection method, client, virtual machine desktop and storage medium
WO2022057560A1 (en) * 2020-09-17 2022-03-24 中兴通讯股份有限公司 Video device redirection method, client, virtual machine desktop and storage medium

Also Published As

Publication number Publication date
WO2016082551A1 (en) 2016-06-02

Similar Documents

Publication Publication Date Title
CN105700864A (en) TWAIN protocol remote redirection method, apparatus and system
US10282225B2 (en) Virtual machine morphing for heterogeneous migration environments
KR101740327B1 (en) Apparatus and system for providing software service using software virtualization and method thereof
KR101773638B1 (en) Methods for interfacing with a virtualized computing service over a network using a lightweight client
US8627310B2 (en) Capturing multi-disk virtual machine images automatically
CN107515776A (en) The uninterrupted upgrade method of business, node to be upgraded and readable storage medium storing program for executing
US9626157B2 (en) Method of projecting a workspace and system using the same
EP3082043A1 (en) Type-to-type analysis for cloud computing technical components
CN105683896A (en) Sharing a virtual hard disk across multiple virtual machines
CN103077024B (en) A kind of device and method supporting the on-demand customization of SaaS application flow and operation
CN103780700A (en) Application system and method for achieving compatibility and sharing among multi-source heterogeneous systems
US20150046503A1 (en) System and method for capturing, managing, and distributing computer files
CN104704471A (en) Virtual machine multicast/broadcast in virtual network
US11016794B2 (en) Peripheral device access support for containers
CN107580011B (en) Data sharing method and desktop cloud server
US20180234517A1 (en) Redirecting scanners and printers over a wan
US20170289313A1 (en) Combining redirected usb interfaces into a single composite device
KR101698739B1 (en) Video editing systems and a driving method using video project templates
US11550611B2 (en) Collaborative hosted virtual systems and methods
US10078609B1 (en) Virtualizing a non-USB device as a USB device
US20180227347A1 (en) Virtualizing audio and video devices using synchronous a/v streaming
CN112114927A (en) Interface notification message display method, device, equipment and storage medium
CN111708595A (en) Remote interactive cooperation method and device based on visual interface
US20170244646A1 (en) Dynamic Process Execution Architecture With Disassociated Resource Control
CN104516774A (en) Operation method of remote application, terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622