WO2017088349A1 - 图像处理系统、方法和装置 - Google Patents

图像处理系统、方法和装置 Download PDF

Info

Publication number
WO2017088349A1
WO2017088349A1 PCT/CN2016/080095 CN2016080095W WO2017088349A1 WO 2017088349 A1 WO2017088349 A1 WO 2017088349A1 CN 2016080095 W CN2016080095 W CN 2016080095W WO 2017088349 A1 WO2017088349 A1 WO 2017088349A1
Authority
WO
WIPO (PCT)
Prior art keywords
data source
image
input device
image input
manager
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.)
Ceased
Application number
PCT/CN2016/080095
Other languages
English (en)
French (fr)
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 EP16867578.3A priority Critical patent/EP3355563B1/en
Publication of WO2017088349A1 publication Critical patent/WO2017088349A1/zh
Priority to US15/969,210 priority patent/US11829409B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • H04N1/00244Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server with a server, e.g. an internet server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00912Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
    • H04N1/00954Scheduling operations or managing resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00962Input arrangements for operating instructions or parameters, e.g. updating internal software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00962Input arrangements for operating instructions or parameters, e.g. updating internal software
    • H04N1/00973Input arrangements for operating instructions or parameters, e.g. updating internal software from a remote device, e.g. receiving via the internet instructions input to a computer terminal

Definitions

  • the present invention relates to the field of information technology, and in particular, to an image processing system, method and apparatus.
  • image input devices have been widely used.
  • image input devices traditional paper data can be converted into electronic images, which greatly improves the efficiency of processing data.
  • the first interface between the data source manager and the data source manager may be invoked to start the data source manager, and the data source manager loads the data source provided by the image input device in the specified directory. And invoking the second interface between the data source and the data source to start the data source, the data source may instruct the image input device to acquire an image, and return the acquired image to the application client through the second interface and the first interface.
  • the data source provided by the image input device must be used to obtain the image acquired by the image input device, and when the image input device does not provide the data source, the image cannot be acquired, and the limitation is strong.
  • the present application provides an image processing system, method and apparatus.
  • the technical solution is as follows:
  • an embodiment of the present application provides an image processing system, the system comprising: an application client, a data source manager, a universal data source, and at least one image input device corresponding to the universal data source;
  • This universal data source is suitable for different types of image input devices.
  • the application client sends an image processing instruction to the data source manager to the general data source, and the data source manager sends the image processing instruction to the universal data source, and the universal data source can
  • the image acquired by the image input device specified by the image processing instruction is processed according to the image processing instruction, and the processing result is returned to the application client through the data source manager.
  • the universal data source faces at least one image input device, and the device identifier of at least one image input device can be obtained, and can also be rooted from at least one device identifier.
  • the specified device identification is determined according to the image processing instruction to process the image acquired by the image input device indicated by the specified device identification.
  • the system also includes a general purpose device manager capable of generating a generic data source for the image input device and establishing a mapping relationship between the device identification of the image input device and the generic data source.
  • the system consists of a terminal and a server.
  • the server installs the TWAIN server
  • the terminal installs the TWAIN client
  • the TWAIN server communicates with the TWAIN client
  • the application client is located in the server
  • the data source manager and the general device.
  • the manager and the generic data source are located in the terminal.
  • any combination of the data source manager, the general device manager, and the general data source may be built into the TWAIN client, not in the combination.
  • Externally placed inside the TWAIN client can be externally placed on the TWAIN client; or the Data Source Manager and Generic Data Source are external to the TWAIN client, and the Generic Device Manager is built into the TWAIN client.
  • the data source manager, general device manager, and general data source are built into the TWAIN client; or the universal data source is external to the TWAIN client, and the data source manager and general device manager are built into the TWAIN client.
  • an embodiment of the present application provides an image processing method, in which an application client triggers an image processing instruction and sends the image processing instruction to a data source manager, where the image processing instruction is used to indicate an image input corresponding to a general data source.
  • the image acquired by the device is processed.
  • the data source manager processes the image acquired by the image input device and returns the processing result.
  • a universal data source is generated by the universal device manager, and a mapping relationship between the universal data source and the device identifier of the image input device is established to determine an image input device corresponding to the universal data source, and the universal data source is guaranteed.
  • the image acquired by the corresponding image input device can be processed.
  • the universal device manager can query the device identifier corresponding to the universal data source according to the established mapping relationship.
  • the universal device manager presets a universal data source, and after traversing the device identifier of the currently configured at least one image input device, generates a pre-set general data source according to the preset universal data source. The same at least one common data source. Thereafter, the universal device manager establishes a device identifier of each image input device and a corresponding universal data source. The mapping relationship between.
  • the universal device manager copies the preset universal data source multiple times according to the number of image input devices currently configured by the terminal, obtains the at least one universal data source, and establishes each image input device.
  • the mapping between the device identifier and the corresponding generic data source is a possible design.
  • the universal data source is directed to the at least one image input device, and the device identifier of the at least one image input device may be acquired, and the specified device identifier may be determined according to the image processing instruction from the at least one device identifier, thereby The image acquired by the image input device indicated by the device identification is processed.
  • the universal data source can determine the specified device identifier from the at least one device identifier, and can also switch the specified device identifier. For example, when the first device identifier is the specified device identifier, the switch to the second device identifier is specified. Equipment Identity.
  • a generic data source when a generic device manager establishes a generic data source, a generic data source can be generated for each image input device, sharing a common data source by different image input devices.
  • the universal device manager can query the device identifier corresponding to the universal data source according to the established mapping relationship.
  • an embodiment of the present application further provides a general data source that performs the above image processing method, and provides a terminal that implements the universal data source described above, such that the universal data source can perform the image processing method provided above.
  • an embodiment of the present application further provides a general device manager that performs the above image processing method, and provides a terminal that implements the above-described general device manager, such that the general device manager can execute the image processing method provided above.
  • the technical solution provided by the present application has the beneficial effects of processing an image acquired by an image input device by a universal data source by introducing a general data source, when the universal data source receives an image processing instruction sent by the data source manager. And processing, according to the image processing instruction, the image acquired by the image input device, and transmitting the processing result to the data source manager, thereby preventing the image input device from being unable to obtain the image input device because the image input device does not provide the data source.
  • the image is processed to improve the flexibility of the problem.
  • FIG. 1 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 9A is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 9B is a schematic flowchart of an operation process of processing an image according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the universal device manager is configured to traverse the image input device configured by the terminal, generate a corresponding universal data source for the image input device configured by the terminal, and maintain a mapping relationship between the image input device and the universal data source, waiting for the universal
  • the data source queries the image input device corresponding to itself. In addition, it is also used to monitor the insertion and removal of image input devices, for the removed image input device, and Delete the corresponding generic data source.
  • the data source manager which is responsible for negotiating the interaction between the application client and the universal data source, is a bridge between the application client and the universal data source.
  • the universal data source is applicable to various types of image input devices, can be loaded and recognized by the data source manager, interacts with the application client through the data source manager, and can actively query the general device manager for the corresponding image input device, and Calling the interface with the image input device, completing the necessary functions such as opening the video device, setting video parameters, setting the acquisition mode, acquiring image data, and turning off the video device, and also realizing real-time preview of the video image, simple processing of the image, and saving the user More rich features such as interface parameters.
  • the existing data source is provided by the image input device and is only applicable to a specific image input device.
  • the universal data source in the embodiment of the present invention can be compatible with multiple types of image input devices, even if the image input device does not provide a data source. It is also possible to process images acquired by the image input device through a common data source.
  • the TWAIN (Toolkit Without An Interesting Name) client establishes a virtual channel with the TWAIN server to communicate through the virtual channel.
  • the universal device manager can be built in the TWAIN client, and the TWAIN client has the function of a universal device manager, which can enumerate the image input device configured by the terminal, obtain the device identifier and related information of each image input device, and Generating a corresponding universal data source for the image input device, maintaining a mapping relationship between the image input device and the universal data source, and waiting for the image input device corresponding to the universal data source to query itself.
  • the TWAIN client can have a built-in data source manager that implements the data source manager to manage common data sources and negotiate interactions between application clients and common data sources.
  • FIG. 1 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • the image processing system includes an application client, a data source manager, a general data source, and at least one image input device corresponding to the universal data source.
  • the application client is configured to send an image processing instruction to the data source manager to the universal data source;
  • the data source manager is configured to send the image processing instruction to the universal data source when receiving the image processing instruction
  • the universal data source is configured to receive the image processing instruction according to the image processing instruction
  • the image acquired by the image input device specified by the image processing instruction is processed, and the processing result is sent to the data source manager;
  • the data source manager is further configured to send the processing result to the application client when receiving the processing result.
  • the system provided by the embodiment of the present invention sends an image processing instruction to the data source manager to the data source manager, where the data source manager receives the image processing instruction, and sends the image processing instruction to the universal data source, where Receiving, by the universal data source, the image processing instruction, processing the image acquired by the image input device according to the image processing instruction, and transmitting the processing result to the data source manager, when the data source manager receives the universal data source and returns When the processing result is sent, the processing result is sent to the application client, and the application client receives the processing result.
  • the universal data source can be used to process the image acquired by the image input device, thereby avoiding the fact that the image input device does not provide the data source.
  • the problem of being unable to process the image acquired by the image input device increases flexibility.
  • the universal data source is further configured to determine, according to the image processing instruction, the specified device identifier from the device identifier of the at least one image input device; and process the image acquired by the image input device indicated by the specified device identifier.
  • the system further includes a general device manager; the universal device manager is configured to acquire a device identifier of the image input device, generate a universal data source according to the device identifier of the image input device, and establish a universal identifier of the device identifier and the generated device The mapping between data sources.
  • the universal device manager is configured to acquire a device identifier of the image input device, generate a universal data source according to the device identifier of the image input device, and establish a universal identifier of the device identifier and the generated device The mapping between data sources.
  • the system may also be deployed in a terminal, and the application client, the data source manager, the universal data source, and the universal device manager are located in the terminal.
  • the image input device can be externally connected to the terminal, and connected to the terminal through a USB (Universal Serial Bus) protocol, an SPI (Serial Peripheral Interface) protocol, or the like, such as the image input device. It can be a scanner or a high-poster connected to the terminal. Alternatively, the image input device may be built in the terminal. For example, the image input device may be an album or the like configured in the terminal.
  • USB Universal Serial Bus
  • SPI Serial Peripheral Interface
  • the system may also be composed of a terminal and a server.
  • the configuration of the application client, the data source manager, the universal data source, and the universal device manager may include the following:
  • the application client is located in the server, the data source manager, the universal data source is located in the terminal, the server is installed with a TWAIN server, and the terminal is installed with a TWAIN client.
  • the TWAIN server is in communication with the TWAIN client, and the data source manager and the universal data source are externally located in the TWAIN client, and the universal device manager is built in the TWAIN client.
  • the application client is located in the server, the server is installed with a TWAIN server, the terminal is installed with a TWAIN client, and the TWAIN server is communicatively connected with the TWAIN client, the data source manager and the universal device.
  • the manager, the universal data source is built into the TWAIN client.
  • the application client is located in the server, the data source manager, the universal device manager, and the universal data source are located in the terminal, and the server is installed with a TWAIN server, and the terminal is installed with a TWAIN client.
  • the TWAIN server is in communication with the TWAIN client, and the data source manager, the universal device manager, and the universal data source are external to the TWAIN client.
  • the application client is located in the server, the server is installed with a TWAIN server, the terminal is installed with a TWAIN client, and the TWAIN server is in communication with the TWAIN client, and the universal data source is externally placed in the TWAIN.
  • the client, the data source manager, and the universal device manager are built in the TWAIN client.
  • the image processing system shown in FIG. 3-6 may be a remote virtual desktop system.
  • the application client and the TWAIN server are included in the server, and the terminal includes a TWAIN client and a universal data source.
  • the remote virtual desktop system maps the universal data source on the terminal to the server through the TWAIN server and the TWAIN client, which is equivalent to a virtual universal data source of the server, and processes the image in the remote virtual desktop system.
  • the server may be a server or multiple servers in a server cluster, and the application client may be located on the same server or different servers in the server cluster.
  • FIG. 7 is a flowchart of an image processing method according to an embodiment of the present invention.
  • the embodiment of the present invention is applied to the image processing system shown in FIG. 2, and the interaction subject is an application client, a data source manager, a general device manager, and a general data source.
  • the method includes:
  • the universal device manager generates a universal data source for the at least one image input device, and establishes a mapping relationship between the device identifier of the at least one image input device and the generated universal data source, so that the universal data source is connected to the corresponding image input device.
  • the acquired image is processed.
  • the process of establishing a mapping relationship may include the following steps (1) or (2):
  • the universal device manager generates a universal data source for each of the at least one image input device, and respectively establishes a device identifier of each image input device and a general data source generated for the corresponding image input device.
  • the device identifier of the image input device is used to uniquely determine the image input device, and may be a device serial number, a device name, and the like of the image input device, which is not limited in this embodiment.
  • the universal device manager presets a universal data source, and after traversing the device identifier of the at least one image input device currently configured by the terminal, generates a common data source according to the preset universal data source according to a preset universal data source. At least one generic data source. Thereafter, the universal device manager establishes a mapping relationship between the device identification of each image input device and the corresponding universal data source.
  • the universal device manager may perform multiple copies on the preset universal data source according to the number of image input devices currently configured by the terminal, obtain the at least one universal data source, and establish the mapping relationship.
  • At least one universal data source in order to distinguish different common data sources, at least one universal data source may be named according to the device identifier and the preset rule of the image input device, so that the name of at least one common data source is The device identifier corresponding to the image input device is included, and the names of the respective common data sources are different.
  • the common data source may be generated in different file directories. The names of the common data sources in different file directories may be the same or different, which is not limited in the embodiment of the present invention.
  • At least one generic data source can be stored in the specified directory so that the data source manager can load the generic data source in the specified directory and launch the generic data source.
  • the specified directory may be determined by the data source manager, which is not limited by the embodiment of the present invention.
  • the general device manager obtains the device identifiers of the three image input devices as video1, video2, and video3, respectively, and generates the same in the specified directory /user/local/lib/twain/ according to the preset universal data source hw_video.ds.
  • the three common data sources, and the names of the three common data sources are hw_video_1.ds, hw_video_2.ds, and hw_video_3.ds, respectively.
  • the mapping between the device identifier of each image input device and the corresponding universal data source is as follows: Table 1 shows.
  • the universal device manager traverses the device identifier of the at least one image input device currently configured by the terminal, generates a universal data source for the plurality of image input devices in the at least one image input device, and establishes a device for each image input device.
  • the mapping relationship between the identification and the universal data source generated for the corresponding image input device is shared by a plurality of image input devices.
  • the preset number may be determined by the general device manager or determined by the terminal, which is not limited in this embodiment.
  • step (2) The process of generating a common data source and establishing a mapping relationship in the step (2) is similar to the above step (1), and details are not described herein again.
  • the difference between steps (1) and (2) is that a ratio of 1:1 is used in the above step (1), and a common data source is generated for each image input device, and M: 1 is used in the step (2).
  • the ratio (M represents the number of image input devices sharing a common data source) generates a common data source for the M image input devices, which share a common data source.
  • the universal data source can determine a specified image input device among the plurality of image input devices, that is, the default is determined. The image is input to the device so that the image acquired by the specified image input device can be subsequently processed.
  • the general data source can also switch to the specified image input device during the subsequent process.
  • the universal data source may first use the first device identifier as the designated device identifier, to indicate that the image input device indicated by the first device identifier is a specified image input device, and the universal data source further provides a display interface on the terminal.
  • the universal data source determines to receive the instruction to switch the image input device, and determines the instruction to switch the image input device.
  • the indicated device identifier is the second device identifier, and the second device identifier is used as the designated device identifier, and the first device identifier is no longer determined as the designated device identifier, thereby determining that the image input device indicated by the second device identifier is
  • the generic data source currently specifies the image input device.
  • the display interface may be a dialog box or a pop-up operation window, etc., which is not limited by the embodiment of the present invention.
  • the universal device manager can delete the image input device and the device identifier of the universal data source. Mapping relationship. And when the generic device manager is alone for the diagram When a input device generates a generic data source, it can also delete the generic data source.
  • the terminal can also generate a universal data source (M represents the total number of image input devices) for all image input devices according to the ratio of M: 1, and the M image input devices can share the common data source.
  • M represents the total number of image input devices
  • the terminal does not need to configure the universal device manager, and only needs to generate a common data source, and the universal data source can traverse the currently configured image input device, and establish a relationship between the universal data source and the device identifier of each image input device.
  • the mapping relationship can be.
  • a general data source is introduced in the embodiment of the present invention, and the image acquired by the image input device is processed by the universal data source. If only one general data source is introduced, when the common data source is shared by multiple image input devices, there is no need to introduce a general device manager, and if multiple common data sources are introduced, a general device manager needs to be introduced, by the universal device manager. Generate multiple common data sources and establish a mapping relationship between each generic data source and the device identifier of the image input device.
  • the application client sends an image acquisition instruction to the universal data source to the data source manager.
  • the terminal in the embodiment of the present invention is configured with an application client and a data source manager, and the terminal can also be configured with an image input device, and the user can process the image acquired by the image input device through the application client.
  • the application client may be a chat application client, a browser application client, an album management application client, and the like, which are not limited in this embodiment of the present invention.
  • the image input device can acquire an image and provide the acquired image to the application client.
  • the image input device can be a specific type of device, and the specific type can be a video type device or other type of device, and the image input device can
  • the scanner or the high-spot meter connected to the terminal may be an album or the like built in the terminal, which is not limited in the embodiment of the present invention.
  • the terminal can also configure a generic device manager and a generic data source. That is, before the step 701, the method further includes: the terminal configuring the universal device manager, when the terminal is connected to the image input device, the universal device manager generates a universal data source corresponding to the image input device, and the universal data source is used for The image acquired by the image input device is processed, and the data source manager is used to manage the general data source.
  • the general device manager may be an executable program or a class, etc., for example, the general device manager may be an executable program or a daemon for system services, or a CTwainVideoManager class in a TWAIN client.
  • the general data source can be a dynamic library or class with a ds extension, such as a data source file hw_video.ds that satisfies the TWAIN protocol specification, or The CTwainVideo class and the like in the TWAIN client, and the common data source is a dynamic library with the extension ds, which can be stored in a specified directory of the TWAIN client, which is not limited in the embodiment of the present invention.
  • the application client and the data source manager interact with each other through a first interface, which may be a DSM_Entry interface, etc.
  • a first interface which may be a DSM_Entry interface, etc.
  • the data source manager and the universal data source interact through the second interface, and the second interface
  • the DS_Entry interface and the like, the common data source and the image input device can communicate with each other through a third interface, and the third interface can be a DirectShow interface, a V4L2 (Video 4 Linux 2) interface, etc., which is not performed by the embodiment of the present invention. limited.
  • first interface and the second interface may be a TWAIN-based interface
  • the application client supports the TWAIN protocol, and may be Photoshop or the like, which is not limited by the embodiment of the present invention.
  • the application client in order to acquire an image acquired by the image input device, sends an image acquisition instruction to the image input device to the data source manager, where the image acquisition instruction is used for the universal data source corresponding image input device.
  • the acquired image is acquired.
  • the application client displays a universal data source corresponding to each image input device currently configured by the terminal, and the user can select any universal data source in the application client, where the universal data source displays the corresponding image input device.
  • the image the user can trigger the acquisition operation of any image.
  • the application client detects the acquisition operation of the image, the first interface is invoked, and an image acquisition instruction is sent to the data source manager to indicate the data source management. Get the image.
  • the data source manager receives the image acquisition instruction, and sends the image acquisition instruction to the universal data source.
  • a second interface with the universal data source may be invoked, and an image acquisition instruction is sent to the universal data source, so that the universal data source is from the corresponding image input device. Get the image.
  • the universal data source receives the image acquisition instruction, acquires an image acquired by the image input device according to the image acquisition instruction, and sends the image to the data source manager.
  • the universal data source may determine, according to the image obtaining instruction, a specified device identifier of the plurality of device identifiers corresponding to the universal data source, and invoke a third interface between the specified device identifier to obtain the specified
  • the device identifies the image obtained by the image input device, and then calls the second interface to send the image to the data source manager.
  • the The method further includes: the universal data source sending a query request to the universal device manager, the universal device manager receiving the query request, querying the universal according to a mapping relationship between the device identifier of the established image input device and the universal data source a device identifier of the at least one image input device corresponding to the data source, the at least one device identifier being sent to the universal data source, the universal data source receiving the at least one device identifier, so as to obtain the image input device corresponding to the at least one device identifier The image is obtained.
  • the mapping relationship established by the universal device manager represents the universal data source by using a universal data source identifier, and the universal data source can obtain the universal data source identifier, and send a query request to the universal device manager, and the query request is sent.
  • the universal data source identifier is included, and when the general device manager receives the query request, the device identifier of the at least one image input device corresponding to the universal data source identifier may be queried according to the universal data source identifier.
  • the common data source identifier may be the name of the general data source, the serial number included in the name, and the like, which are not limited in this embodiment of the present invention.
  • the application client receives the image.
  • the image is sent to the application client by invoking the first interface, and the application client receives the image, after which the image can be displayed or stored.
  • the embodiment of the present invention is only described by taking an image obtained by the application client for acquiring the image input device as an example, and in the process of actual application, after the application client determines the selected universal data source, before acquiring the image through the universal data source, It is also possible to process the acquired image.
  • processing the image acquired by the image input device may include any one of the following methods:
  • the general data source queries the capabilities of the image input device, and provides multiple image setting options in the provided display interface according to the capabilities of the image input device.
  • any image setting option may be clicked in the display interface to set an image parameter corresponding to the image setting option, and the universal data source may be set according to the image set by the user.
  • the parameter processes the image acquired by the image input device to obtain an image that matches the image parameter.
  • the plurality of image setting options may include an image preview option, an image acquisition option, an image cropping option, a color adjustment option, a brightness adjustment option, etc.
  • the image parameter may include an image size parameter
  • the number, the color parameter, the brightness parameter, and the like are not limited in this embodiment of the present invention.
  • the user can use the image setting options to perform various processing operations such as previewing, capturing, cropping, color adjustment, and brightness adjustment of the image, which is not limited by the embodiment of the present invention.
  • the application client can also display multiple image setting options in the provided display interface.
  • the user wants to obtain an image
  • the user can first set the image to be acquired through the displayed multiple image setting options, and the application client will The user operates the setting options of the images, determines the image parameters set by the user, and sends the image parameters to the universal data source according to the TWAIN protocol, and the subsequent universal data sources can follow the set images when acquiring the images acquired by the image input device.
  • the method provided by the embodiment of the present invention acquires an image acquired by the image input device by using the universal data source, and when the universal data source receives the image acquisition instruction sent by the data source manager, according to the image acquisition instruction Obtaining an image acquired by the image input device, and setting according to an image setting option, thereby performing certain processing on the image, and transmitting the processed image to the data source manager, thereby avoiding that the image input device does not provide the data source.
  • the problem of the inability to obtain images acquired by the image input device increases flexibility.
  • FIG. 8 is a flowchart of an image processing method according to an embodiment of the present invention.
  • the embodiment of the present invention is applied to the image processing system shown in FIG. 3, and the interaction subject is an application client, a TWAIN server, a general device manager, a general data source, and a data source manager, and the data source manager and the universal data.
  • the source is external to the TWAIN client, and the universal device manager is built in the TWAIN client.
  • the method includes:
  • the universal device manager in the TWAIN client generates a universal data source for the at least one image input device, and establishes a mapping relationship between the at least one device identifier and the generated universal data source.
  • This step 801 is similar to the process of establishing a mapping relationship in step 701, and details are not described herein again.
  • the general device manager when the TWAIN client initializes, the general device manager is initialized, and the general device manager performs step 801 to establish a mapping relationship, and then the TWAIN client loads the data source manager and starts the data source manager. . After initialization, the TWAIN client will establish a connection with the TWAIN server to complete the TWAIN redirect mapping process.
  • the application client sends an image processing instruction to the universal data source to the TWAIN server.
  • the application client processes the image acquired by the image input device configured by the terminal, acquiring an instruction parameter according to the image information of the image to be processed, and using the instruction parameter according to the specified protocol.
  • the image generation instruction is generated by the package, and the image processing instruction is sent to the TWAIN server.
  • the instruction parameter includes an application client identifier, image information of an image to be processed, and an image processing type.
  • the image information is used to indicate which image is to be processed, and may be the name, type, and the like of the image.
  • the image processing type is used to indicate the type of operation to be performed on the image, and may be a cropping operation, a color adjustment operation, and a brightness adjustment operation.
  • the embodiment of the present invention does not limit this.
  • the specified protocol may be a TWAIN protocol or the like, which is not limited in this embodiment of the present invention.
  • the command parameters may also include image parameters set by the user.
  • the application client can display multiple image setting options in the provided display interface. When the user wants to process the image, the user can first set the multiple image setting options, and the application client can obtain the image. Image parameters set by the user.
  • the TWAIN server After receiving the image processing instruction, the TWAIN server sends the image processing instruction to the TWAIN client, and when the TWAIN client receives the image processing instruction, unpacks the image processing instruction to obtain an instruction parameter in the image processing instruction. And calling the first interface, and sending the instruction parameters in the image processing instruction to the data source manager.
  • the data source manager receives the image processing instruction, and sends the image processing instruction to the universal data source.
  • the data source manager When the data source manager receives the instruction parameter in the image processing instruction, according to the mapping relationship between the device identifier established by the universal device manager and the universal data source, acquiring the image input device corresponding to the TWAIN client A generic data source. Thereafter, the data source manager invokes the second interface to send the instruction parameters in the image processing instruction to the universal data source.
  • the universal data source receives the image processing instruction, processes the image acquired by the image input device according to the image processing instruction, and sends the processing result to the data source manager.
  • This step 806 is similar to step 704, and details are not described herein again.
  • the universal data source may The image acquired by the image input device is processed in accordance with the image parameter to obtain an image that matches the image parameter.
  • the processing result is packaged according to the specified protocol to obtain a processing result data packet, and the processing result data packet is sent to the TWAIN server.
  • the application client receives the processing result.
  • the processing result data packet is unpacked, the processing result is obtained, and the processing result is sent to the application client, and the application client receives the processing result.
  • the data source manager is externally placed on the TWAIN client as an example.
  • the data source manager may also be built in the TWAIN client, which is used in the embodiment of the present invention. Not limited.
  • the data source manager in the terminal may be used to manage the data source provided by the image input device and the general data source generated by the universal device manager, or the terminal may further include two data source managers: a data source manager and a second data source manager, the first data source manager is dedicated to managing the data source provided by the image input device, and the second data source manager is dedicated to the general data generated by the universal device manager
  • the source is managed, which is not limited by the embodiment of the present invention.
  • the method provided by the embodiment of the present invention processes the image acquired by the image input device by the universal data source by introducing a universal data source, and when the universal data source receives the image processing instruction sent by the data source manager, according to the image Processing the instruction, processing the image acquired by the image input device, and transmitting the processing result to the data source manager, thereby avoiding that the image acquired by the image input device cannot be processed because the image input device does not provide the data source.
  • the problem is increased flexibility.
  • FIG. 9A is a flowchart of an image processing method according to an embodiment of the present invention.
  • the example is applied to the image processing system shown in FIG. 4, and the interaction subject is an application client, a TWAIN server, a TWAIN client, a data source manager, a general device manager, and a general data source, and the image shown in FIG. 3 above.
  • the difference in the processing system is that the data source manager, the general device manager, and the general data source in the image processing system shown in FIG. 4 are built in the TWAIN client.
  • the method includes:
  • the application client sends an image processing instruction to the universal data source to the TWAIN server.
  • the general data source in the TWAIN client processes the image acquired by the image input device according to the image processing instruction, and returns a processing result to the TWAIN client.
  • the TWAIN client can implement the function of the data source manager, that is, the TWAIN client can instantiate the general data source and send instructions to the general data source, which are executed by the general data source according to the instruction. deal with.
  • the application client receives the processing result.
  • the operation flow of the application client to process the image acquired by the image input device can be as shown in FIG. 9B.
  • the specific steps are as follows:
  • the application client acquires an instruction parameter according to the image information of the image to be processed, and sends the instruction parameter to the TWAIN server.
  • the image processing instruction is unpacked to obtain an instruction parameter in the image processing instruction.
  • the TWAIN client invokes the DSM_Entry interface, and sends the instruction parameter to the data source manager.
  • the data source manager calls the DS_Entry interface, and sends the instruction parameter to the universal data source.
  • the processing result is packaged to obtain a processing result data packet, and the processing result data packet is sent to the TWAIN server.
  • the TWAIN server receives the processing result data packet, unpacks the processing result data packet, obtains a processing result, and sends the processing result to the application client, and the application client receives the processing result.
  • the method provided by the embodiment of the present invention processes the image acquired by the image input device by the universal data source by introducing a universal data source, and when the universal data source receives the image processing instruction sent by the data source manager, according to the image Processing the instruction, processing the image acquired by the image input device, and transmitting the processing result to the data source manager, thereby avoiding that the image acquired by the image input device cannot be processed because the image input device does not provide the data source.
  • the problem is increased flexibility.
  • FIG. 10 is a flowchart of an image processing method according to an embodiment of the present invention.
  • the embodiment of the present invention is applied to the image processing system shown in FIG. 5, and the interaction entity is an application client, a TWAIN server, a TWAIN client, a data source manager, a general device manager, and a general data source, and the foregoing FIG. 3
  • the difference of the illustrated image processing system is that the data source manager, the general device manager, and the general data source in the image processing system shown in FIG. 5 are externally placed on the TWAIN client.
  • the method includes:
  • the application client sends an image processing instruction to the universal data source to the TWAIN server.
  • the data source manager receives the image processing instruction, and sends the image processing instruction to the universal data source.
  • the universal data source receives the image processing instruction, and processes an image acquired by the image input device according to the image processing instruction, and sends the processing result to the data source manager.
  • the processing result is sent to the TWAIN client.
  • the application client receives the processing result.
  • the method provided by the embodiment of the present invention processes the image acquired by the image input device by the universal data source by introducing a universal data source, and when the universal data source receives the image processing instruction sent by the data source manager, according to the image Processing the instruction, processing the image acquired by the image input device, and transmitting the processing result to the data source manager, thereby avoiding that the image acquired by the image input device cannot be processed because the image input device does not provide the data source.
  • the problem is increased flexibility.
  • the image processing method provided in the above steps 1001-1009 can also be applied to the image processing system shown in FIG. 6, which is different from the image processing system shown in FIG. 5 described above.
  • the general data source in the image processing system shown in FIG. 6 is externally placed in the TWAIN client, and the data source manager and the general device manager are built in the TWAIN client. The specific process is not described here.
  • FIG. 11 is a flowchart of an image processing method according to an embodiment of the present invention.
  • the execution body of the embodiment of the present invention is a general data source. Referring to FIG. 11, the method includes:
  • the method provided by the embodiment of the present invention by introducing a universal data source, the image is shared by the universal data source
  • the image acquired by the input device is processed, and when the general data source receives the image processing instruction sent by the data source manager, the image acquired by the image input device is processed according to the image processing instruction, and is processed to the data source manager. Transmitting the processing result avoids the problem that the image acquired by the image input device cannot be processed due to the fact that the image input device does not provide the data source, and the flexibility is improved.
  • the general data source is generated by a general device manager, and the image acquired by the image input device is processed according to the image processing instruction, including:
  • the image acquired by the image input device corresponding to the device identifier is processed.
  • the image acquired by the image input device is processed according to the image processing instruction, including:
  • the image acquired by the image input device indicated by the specified device identification is processed.
  • the method further includes:
  • the second device identifier indicated by the instruction to switch the image input device is determined as the specified device identifier.
  • FIG. 12 is a flowchart of an image processing method according to an embodiment of the present invention.
  • the executive body of the embodiment of the present invention is a general device manager. Referring to FIG. 12, the method includes:
  • the method provided by the embodiment of the present invention generates a general data source for the image input device by using the universal device manager, and processes the image acquired by the image input device by the universal data source, when the universal data source receives the method.
  • the image processing instruction is sent by the data source manager
  • the image acquired by the image input device is processed according to the image processing instruction, and the processing result is sent to the data source manager, thereby avoiding that the image input device does not provide the data source.
  • the problem of being unable to process the image acquired by the image input device increases flexibility.
  • the method further includes:
  • a mapping relationship between the device identifier of each image input device and the general data source generated for the corresponding image input device is separately established.
  • the method further includes:
  • the queried device ID is sent to the specified universal data source.
  • FIG. 13 is a schematic structural diagram of a general data source according to an embodiment of the present invention.
  • the universal data source includes:
  • the receiving module 1301 is configured to receive an image processing instruction sent by the data source manager, where the image processing instruction is triggered by the application client, where the image processing instruction is used to indicate that the image acquired by the image input device corresponding to the universal data source is processed;
  • An image processing module 1302, configured to process an image acquired by the image input device according to the image processing instruction
  • the sending module 1303 is configured to send a processing result to the data source manager.
  • the universal data source provided by the embodiment of the present invention processes the image acquired by the image input device.
  • the universal data source receives the image processing instruction sent by the data source manager, the image input device is input according to the image processing instruction.
  • the acquired image is processed, and the processing result is sent to the data source manager, which avoids the problem that the image obtained by the image input device cannot be processed due to the fact that the image input device does not provide the data source, and the flexibility is improved.
  • the generic data source is generated by a generic device manager
  • the sending module 1303 is further configured to send a query request to the universal device manager, so that the universal device manager queries the corresponding data source according to the mapping relationship between the established universal data source and the device identifier of the image input device.
  • the device identifier of the image input device, and the device identifier is returned;
  • the receiving module 1301 is further configured to receive a device identifier returned by the universal device manager.
  • the image processing module 1302 is further configured to process an image acquired by the image input device corresponding to the device identifier.
  • the image processing module 1302 is further configured to determine, according to the image processing instruction, the specified device identifier from the device identifier of the at least one image input device; the image input device indicated by the specified device identifier The acquired image is processed.
  • the universal data source further includes:
  • the receiving module 1301 is further configured to: when the first device identifier in the device identifier of the at least one image input device is the specified device identifier, receive an instruction to switch the image input device;
  • a determining module configured to determine the second device identifier indicated by the instruction of the switching image input device as the specified device identifier.
  • FIG. 14 is a schematic structural diagram of a general device manager according to an embodiment of the present invention.
  • the general device manager includes:
  • the universal data source generating module 1401 is configured to generate, for the at least one image input device, a universal data source, where the universal data source is used to process an image acquired by the corresponding image input device;
  • the mapping relationship establishing module 1402 is configured to establish a mapping relationship between the device identifier of the at least one image input device and the generated universal data source, so that the universal data source processes the image acquired by the corresponding image input device.
  • the device provided by the embodiment of the present invention generates a general data source for the image input device by using the universal device manager, and processes the image acquired by the image input device by the universal data source, when the universal data source receives the device.
  • the image processing instruction is sent by the data source manager
  • the image acquired by the image input device is processed according to the image processing instruction, and the processing result is sent to the data source manager, thereby avoiding that the image input device does not provide the data source.
  • the problem of being unable to process the image acquired by the image input device increases flexibility.
  • the universal data source generating module 1401 is further configured to generate a universal data source for each of the at least one image input device;
  • the mapping relationship establishing module 1402 is further configured to separately establish a mapping relationship between a device identifier of each image input device and a general data source generated for the corresponding image input device.
  • the device further includes:
  • a receiving module configured to receive a query request sent by a specified universal data source
  • a querying module configured to query, according to the established mapping relationship, at least one device identifier corresponding to the specified universal data source
  • a sending module configured to send the queried device identifier to the specified universal data source.
  • the image processing apparatus when processing an image, the image processing apparatus provided by the above embodiment is only illustrated by the division of each functional module. In actual applications, the function allocation may be completed by different functional modules as needed.
  • the internal structure of the data source manager, general purpose device manager, and general data source is divided into different functional modules to perform all or part of the functions described above.
  • the image processing apparatus and the image processing method embodiment provided in the above embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • FIG. 15 is a schematic diagram of a possible structure of the foregoing terminal according to an embodiment of the present invention.
  • the terminal includes a processor 1501 and a memory 1502.
  • the processor 1501 is connected to the memory 1502 through a bus.
  • the memory 1502 is configured to store computer execution instructions.
  • the processor 1501 executes the computer execution instructions stored in the memory 1502 to implement a general data source, and causes the universal data source to perform image processing in the above embodiment. method.
  • a driver corresponding to the interface may be stored in the memory 1502.
  • the terminal installs a driver of the image input device, and the terminal has an interface matching the image input device, and the external image input device is matched through the interface.
  • FIG. 16 is a schematic structural diagram of an optional terminal according to an embodiment of the present invention.
  • the terminal includes a processor 1601 and a memory 1602.
  • the processor 1601 is connected to the memory 1602 through a bus.
  • the memory 1602 is configured to store a computer execution instruction, when the terminal is running, the processor 1601 executes the computer execution instruction stored by the memory 1602 to implement a general device manager, and causes the universal device manager to execute the above embodiment. Image processing method.
  • interfaces such as a network interface, a general-purpose IO interface, etc.
  • a driver corresponding to the interface may be stored in the memory 1602.
  • the terminal installs a driver of the image input device, and the terminal has an interface matching the image input device, and the external image input device is matched through the interface.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Facsimiles In General (AREA)

Abstract

本发明公开了一种图像处理系统、方法和装置,属于信息技术领域。方法包括:接收数据源管理器发送的图像处理指令,所述图像处理指令由应用客户端触发,所述图像处理指令用于指示对所述通用数据源对应图像输入设备所获取的图像进行处理;根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理;向所述数据源管理器发送处理结果。本发明通过引入了与图像输入设备对应的通用数据源,该通用数据源用于对图像输入设备所获取的图像进行处理,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。

Description

图像处理系统、方法和装置 技术领域
本发明涉及信息技术领域,特别涉及一种图像处理系统、方法和装置。
背景技术
随着信息技术的发展,图像输入设备得到了广泛的应用,通过图像输入设备,可以将传统的纸质数据等转换为电子化图像,大大提高了处理数据的效率。
应用客户端要从图像输入设备获取图像时,可以调用与数据源管理器之间的第一接口,启动数据源管理器,则数据源管理器加载指定目录下、由图像输入设备提供的数据源,调用与数据源之间的第二接口,启动该数据源,该数据源即可指示图像输入设备获取图像,将获取的图像通过该第二接口和该第一接口,返回给应用客户端。
在实现本发明的过程中,发明人发现现有技术中至少存在以下问题:
必须通过图像输入设备提供的数据源,才能获取到图像输入设备所获取的图像,而当图像输入设备未提供数据源时,将无法获取图像,局限性强。
发明内容
为了解决现有技术的问题,本申请提供了一种图像处理系统、方法和装置。所述技术方案如下:
一方面,本申请的实施例提供一种图像处理系统,系统包括:应用客户端、数据源管理器、通用数据源,以及与所述通用数据源对应的至少一个图像输入设备;
该通用数据源适用于不同类型的图像输入设备。在对图像输入设备所获取的图像进行处理时,应用客户端向数据源管理器发送对通用数据源的图像处理指令,由数据源管理器向通用数据源发送图像处理指令,通用数据源即可根据图像处理指令,对图像处理指令指定的图像输入设备所获取的图像进行处理,通过数据源管理器,向应用客户端返回处理结果。
在一个可能的设计中,通用数据源面向至少一个图像输入设备,可以获取到至少一个图像输入设备的设备标识,还可以从至少一个设备标识中,根 据图像处理指令确定指定设备标识,从而对指定设备标识所指示的图像输入设备所获取的图像进行处理。
在一个可能的设计中,系统还包括通用设备管理器,通用设备管理器能够为图像输入设备生成通用数据源,并建立图像输入设备的设备标识与通用数据源之间的映射关系。
在一个可能的设计中,系统由终端和服务器组成,服务器安装TWAIN服务端,终端安装TWAIN客户端,TWAIN服务端与TWAIN客户端通信连接,应用客户端位于服务器中,数据源管理器、通用设备管理器和通用数据源位于终端中。
且,对于数据源管理器、通用设备管理器和通用数据源的布局情况,可以是将数据源管理器、通用设备管理器和通用数据源的任一组合内置于TWAIN客户端,未在该组合内的外置于TWAIN客户端。例如,数据源管理器、通用设备管理器和通用数据源可以外置于TWAIN客户端;或者,数据源管理器和通用数据源外置于TWAIN客户端,通用设备管理器内置于TWAIN客户端中;或者,数据源管理器、通用设备管理器、通用数据源内置于TWAIN客户端中;或者,通用数据源外置于TWAIN客户端,数据源管理器、通用设备管理器内置于TWAIN客户端中。
另一方面,本申请的实施例提供一种图像处理方法,该方法中,应用客户端触发图像处理指令,并发送给数据源管理器,该图像处理指令用于指示对通用数据源对应图像输入设备所获取的图像进行处理。数据源管理器接收该图像处理指令后,对图像输入设备所获取的图像进行处理,并返回处理结果。
在一个可能的设计中,由通用设备管理器生成通用数据源,并建立通用数据源与图像输入设备的设备标识之间的映射关系,以确定通用数据源对应的图像输入设备,保证通用数据源能够对相应图像输入设备所获取的图像进行处理。
且通用数据源向通用设备管理器发送查询请求时,通用设备管理器可以根据已建立的映射关系查询到通用数据源对应的设备标识。
在一个可能的设计中,通用设备管理器预先设置一个通用数据源,在遍历当前配置的至少一个图像输入设备的设备标识之后,根据预先设置的通用数据源,生成与该预先设置的通用数据源相同的至少一个通用数据源。之后,该通用设备管理器建立每个图像输入设备的设备标识与对应的通用数据源之 间的映射关系。
在一个可能的设计中,通用设备管理器根据该终端当前配置的图像输入设备的数目,对预先设置的通用数据源进行多次拷贝,得到该至少一个通用数据源,再建立每个图像输入设备的设备标识与对应的通用数据源之间的映射关系。
在一个可能的设计中,通用数据源面向至少一个图像输入设备,可以获取到至少一个图像输入设备的设备标识,还可以从至少一个设备标识中,根据图像处理指令确定指定设备标识,从而对指定设备标识所指示的图像输入设备所获取的图像进行处理。
在一个可能的设计中,通用数据源可以从至少一个设备标识中确定指定设备标识,而且还能够切换指定设备标识,如在第一设备标识为指定设备标识时,切换为第二设备标识为指定设备标识。
在一个可能的设计中,通用设备管理器建立通用数据源时,可以为每个图像输入设备生成一个通用数据源,由不同的图像输入设备共享通用数据源。
在一个可能的设计中,通用数据源发送查询请求时,通用设备管理器可以根据已建立的映射关系查询到通用数据源对应的设备标识。
再一方面,本申请的实施例还提供了执行上述图像处理方法的通用数据源,并提供了实现上述通用数据源的终端,使得通用数据源能够执行上述提供的图像处理方法。
又一方面,本申请的实施例还提供了执行上述图像处理方法的通用设备管理器,并提供了实现上述通用设备管理器的终端,使得通用设备管理器能够执行上述提供的图像处理方法。
本申请提供的技术方案带来的有益效果是:通过引入通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中 所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种图像处理系统的结构示意图;
图2是本发明实施例提供的一种图像处理系统的结构示意图;
图3是本发明实施例提供的一种图像处理系统的结构示意图;
图4是本发明实施例提供的一种图像处理系统的结构示意图;
图5是本发明实施例提供的一种图像处理系统的结构示意图;
图6是本发明实施例提供的一种图像处理系统的结构示意图;
图7是本发明实施例提供的一种图像处理方法的流程图;
图8是本发明实施例提供的一种图像处理方法的流程图;
图9A是本发明实施例提供的一种图像处理方法的流程图;
图9B是本发明实施例提供的一种处理图像的操作流程示意图;
图10是本发明实施例提供的一种图像处理方法的流程图;
图11是本发明实施例提供的一种图像处理方法的流程图;
图12是本发明实施例提供的一种图像处理方法的流程图;
图13是本发明实施例提供的一种图像处理装置结构示意图;
图14是本发明实施例提供的一种图像处理装置结构示意图;
图15是本发明实施例提供的一种终端的结构示意图;
图16是本发明实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本发明保护的范围。
为了便于对本发明的理解,现对本发明实施例涉及的概念进行如下解释:
通用设备管理器,用于遍历出终端已配置的图像输入设备,针对终端已配置的图像输入设备,生成对应的通用数据源,并维护图像输入设备与通用数据源之间的映射关系,等待通用数据源查询本身对应的图像输入设备。此外,还用于监控图像输入设备的拔插情况,针对已移除的图像输入设备,及 时删除对应的通用数据源。
数据源管理器,负责协商应用客户端和通用数据源之间的交互,是应用客户端和通用数据源之间的交互数据传递的桥梁。
通用数据源,适用于多种类型的图像输入设备,可以被数据源管理器加载识别,通过数据源管理器与应用客户端进行交互,能主动向通用设备管理器查询对应的图像输入设备,并调用与图像输入设备之间的接口,完成打开视频设备、设置视频参数、设置采集方式、获取图像数据和关闭视频设备等必要功能,还可以完成视频图像实时预览、图像简单加工处理、能保存用户界面参数等更加丰富的功能。
现有的数据源由图像输入设备提供,仅适用于特定的图像输入设备,而本发明实施例中的通用数据源可以兼容多种类型的图像输入设备,则即使图像输入设备未提供数据源,也能够通过通用数据源,对图像输入设备所获取的图像进行处理。
TWAIN(Toolkit Without An Interesting Name,无注名工具包协议)客户端和TWAIN服务端建立虚拟通道,通过该虚拟通道进行通信。其中,通用设备管理器可以内置于TWAIN客户端中,则TWAIN客户端具有通用设备管理器的功能,能够枚举终端已配置的图像输入设备,获取各个图像输入设备的设备标识及相关信息,并为图像输入设备生成相应的通用数据源,维护图像输入设备与通用数据源之间的映射关系,等待通用数据源查询本身对应的图像输入设备。此外,TWAIN客户端还可以内置数据源管理器,实现数据源管理器的功能,从而能够对通用数据源进行管理,并负责协商应用客户端和通用数据源之间的交互。
图1是本发明实施例提供的一种图像处理系统的结构示意图。参见图1,该图像处理系统包括:应用客户端、数据源管理器、通用数据源以及与该通用数据源对应的至少一个图像输入设备。
该应用客户端用于向该数据源管理器发送对该通用数据源的图像处理指令;
该数据源管理器用于接收到该图像处理指令时,向该通用数据源发送该图像处理指令;
该通用数据源用于接收到该图像处理指令时,根据该图像处理指令,对该 图像处理指令指定的图像输入设备所获取的图像进行处理,向该数据源管理器发送处理结果;
该数据源管理器还用于接收到该处理结果时,向该应用客户端发送该处理结果。
本发明实施例提供的系统,通过应用客户端向数据源管理器发送对通用数据源的图像处理指令,该数据源管理器接收该图像处理指令,向该通用数据源发送该图像处理指令,该通用数据源接收该图像处理指令,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,向该数据源管理器发送处理结果,当该数据源管理器接收到该通用数据源返回的处理结果时,向该应用客户端发送该处理结果,该应用客户端接收该处理结果。本发明采用的技术方案,通过预先生成与图像输入设备对应的通用数据源,该通用数据源可以用于对图像输入设备所获取的图像进行处理,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
可选地,该通用数据源还用于从该至少一个图像输入设备的设备标识中,根据该图像处理指令确定指定设备标识;对该指定设备标识指示的图像输入设备所获取的图像进行处理。
可选地,该系统还包括通用设备管理器;该通用设备管理器用于获取该图像输入设备的设备标识并根据该图像输入设备的设备标识生成通用数据源,并建立该设备标识与生成的通用数据源之间的映射关系。
可选地,参见图2,该系统还可以布局在终端,该应用客户端、数据源管理器、通用数据源以及该通用设备管理器位于终端中。
而该图像输入设备可以外置于该终端,通过USB(Universal Serial Bus,通用串行总线)协议、SPI(Serial Peripheral Interface,串行外设接口)协议等与该终端连接,如该图像输入设备可以为与该终端连接的扫描仪或者高拍仪等。或者,该图像输入设备也可以内置于该终端中,如该图像输入设备可以为该终端中配置的相册等,本发明实施例对此不做限定。
可选地,该系统还可以由终端和服务器组成,相应的,该应用客户端、数据源管理器、通用数据源和通用设备管理器的配置情况可以包括如下几种:
1、参见图3,该应用客户端位于该服务器中,该数据源管理器、该通用数据源位于该终端中,该服务器安装TWAIN服务端,该终端安装TWAIN客户端, 该TWAIN服务端与该TWAIN客户端通信连接,该数据源管理器和该通用数据源外置于该TWAIN客户端,该通用设备管理器内置于该TWAIN客户端中。
2、参见图4,该应用客户端位于该服务器中,该服务器安装TWAIN服务端,该终端安装TWAIN客户端,该TWAIN服务端与该TWAIN客户端通信连接,该数据源管理器、该通用设备管理器、该通用数据源内置于该TWAIN客户端中。
3、参见图5,该应用客户端位于该服务器中,该数据源管理器、该通用设备管理器和该通用数据源位于该终端中,该服务器安装TWAIN服务端,该终端安装TWAIN客户端,该TWAIN服务端与该TWAIN客户端通信连接,该数据源管理器、该通用设备管理器和该通用数据源外置于该TWAIN客户端。
4、参见图6,该应用客户端位于该服务器中,该服务器安装TWAIN服务端,该终端安装TWAIN客户端,该TWAIN服务端与该TWAIN客户端通信连接,该通用数据源外置于该TWAIN客户端,该数据源管理器、该通用设备管理器内置于该TWAIN客户端中。
图3-图6所示的图像处理系统可以为远程虚拟桌面系统,在该远程虚拟桌面系统中,服务器中包括该应用客户端和TWAIN服务端,终端中包括TWAIN客户端和通用数据源。该远程虚拟桌面系统通过TWAIN服务端和TWAIN客户端,将终端上的通用数据源映射至服务器,相当于服务器的一个虚拟通用数据源,实现在远程虚拟桌面系统中对图像进行处理。
其中,该服务器可以为一个服务器或者服务器集群中的多个服务器,该应用客户端可以位于服务器集群中的同一服务器或者不同服务器上。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
图7是本发明实施例提供的一种图像处理方法的流程图。本发明实施例应用于图2所示的图像处理系统中,交互主体为应用客户端、数据源管理器、通用设备管理器及通用数据源,参见图7,该方法包括:
701、通用设备管理器为至少一个图像输入设备生成通用数据源,建立该至少一个图像输入设备的设备标识与生成的通用数据源之间的映射关系,以便该通用数据源对相应图像输入设备所获取的图像进行处理。
具体地,该建立映射关系的过程可以包括以下步骤(1)或(2):
(1)该通用设备管理器为该至少一个图像输入设备中的每个图像输入设备生成一个通用数据源,分别建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系。
其中,图像输入设备的设备标识用于唯一确定图像输入设备,可以为图像输入设备的设备序列号、设备名称等,本实施例对此不做限定。
具体地,该通用设备管理器预先设置一个通用数据源,在遍历该终端当前配置的至少一个图像输入设备的设备标识之后,根据预先设置的通用数据源,生成与该预先设置的通用数据源相同的至少一个通用数据源。之后,该通用设备管理器建立每个图像输入设备的设备标识与对应的通用数据源之间的映射关系。
可选地,该通用设备管理器可以根据该终端当前配置的图像输入设备的数目,对预先设置的通用数据源进行多次拷贝,得到该至少一个通用数据源,再建立该映射关系。
其中,在生成至少一个通用数据源时,为了区分不同的通用数据源,可以按照图像输入设备的设备标识和预设规则,对至少一个通用数据源进行命名,使得至少一个通用数据源的名称中包括对应图像输入设备的设备标识,且各个通用数据源的名称不同。或者,还可以在不同的文件目录中生成通用数据源,此时不同文件目录中的通用数据源的名称可以相同,也可以不同,本发明实施例对此不做限定。
另外,生成至少一个通用数据源后,可以将至少一个通用数据源存储在指定目录中,以便数据源管理器能够加载指定目录中的通用数据源,并启动通用数据源。该指定目录可以由该数据源管理器确定,本发明实施例对此不做限定。
例如,通用设备管理器获取三个图像输入设备的设备标识分别为video1、video2和video3,在指定目录/user/local/lib/twain/中,根据预先设置的通用数据源hw_video.ds,生成相同的三个通用数据源,且三个通用数据源的名称分别为hw_video_1.ds、hw_video_2.ds和hw_video_3.ds,建立每个图像输入设备的设备标识与对应的通用数据源之间的映射关系如下表1所示。
表1
设备标识 通用数据源
video1 hw_video_1.ds
video2 hw_video_2.ds
video3 hw_video_3.ds
(2)该通用设备管理器遍历该终端当前配置的至少一个图像输入设备的设备标识,为该至少一个图像输入设备中多个图像输入设备生成一个通用数据源,建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系,由多个图像输入设备共享一个通用数据源。
其中,该预设数目可以由该通用设备管理器确定,或者由终端预先确定,本实施例对此不做限定。
本步骤(2)中生成通用数据源、建立映射关系的过程与上述步骤(1)类似,在此不再赘述。而步骤(1)与(2)的区别在于:上述步骤(1)中采用1:1的比例,为每个图像输入设备均生成一个通用数据源,而本步骤(2)中采用M:1的比例(M表示共享一个通用数据源的图像输入设备的数目),为M个图像输入设备生成一个通用数据源,这多个图像输入设备共享一个通用数据源。
由于通用数据源每次仅可以针对一个图像输入设备进行处理,当多个图像输入设备共享通用数据源,该通用数据源可以确定多个图像输入设备中的指定图像输入设备,也即是确定默认的图像输入设备,以便后续可以对该指定图像输入设备所获取的图像进行处理。
后续过程中,该通用数据源还可以切换指定图像输入设备。具体地,该通用数据源可以先将第一设备标识作为指定设备标识,以表示第一设备标识所指示的图像输入设备为指定图像输入设备,该通用数据源还会在终端上提供显示界面,在该显示界面中提供对图像输入设备的切换功能,当用户触发该切换功能并选择第二设备标识时,通用数据源确定接收到切换图像输入设备的指令,并确定该切换图像输入设备的指令所指示的设备标识为第二设备标识,将该第二设备标识作为指定设备标识,而不再将第一设备标识确定为指定设备标识,从而确定第二设备标识所指示的图像输入设备即为通用数据源当前的指定图像输入设备。其中,该显示界面可以为对话框或者弹出的操作窗口等,本发明实施例对此不做限定。
需要说明的是,当该终端删除了本地配置的图像输入设备,或者断开与图像输入设备之间的连接时,该通用设备管理器可以删除该图像输入设备与通用数据源的设备标识之间的映射关系。且,当通用设备管理器单独为该图 像输入设备生成一个通用数据源时,还可以删除该通用数据源。
另外,该终端还可以按照M:1的比例,为所有的图像输入设备生成一个通用数据源(M表示图像输入设备的总数目),M个图像输入设备可以共享该通用数据源。此时,该终端无需配置通用设备管理器,只需生成一个通用数据源,该通用数据源即可遍历当前配置的图像输入设备,建立这个通用数据源与每个图像输入设备的设备标识之间的映射关系即可。
也即是,在本发明实施例中引入了通用数据源,由通用数据源对图像输入设备所获取的图像进行处理。如果仅引入一个通用数据源,由多个图像输入设备共享该通用数据源时,无需引入通用设备管理器,而如果引入多个通用数据源,则需要引入通用设备管理器,由通用设备管理器生成多个通用数据源,并建立每个通用数据源与图像输入设备的设备标识之间的映射关系。
702、该应用客户端向该数据源管理器发送对通用数据源的图像获取指令。
本发明实施例中的终端配置有应用客户端和数据源管理器,该终端还可以配置图像输入设备,用户可以通过应用客户端,对图像输入设备所获取的图像进行处理。
其中,该应用客户端可以为聊天应用客户端、浏览器应用客户端、相册管理应用客户端等,本发明实施例对此不做限定。该图像输入设备可以获取图像,并为应用客户端提供获取的图像,该图像输入设备可以为特定类型的设备,该特定类型可以为视频类设备或者其他类型的设备等,且该图像输入设备可以为与终端连接的扫描仪或者高拍仪等,也可以为内置于终端中的相册等,本发明实施例对此也不做限定。
为了便于对未提供数据源的图像输入设备进行管理,该终端还可以配置通用设备管理器和通用数据源。也即是,在该步骤701之前,该方法还包括:终端配置通用设备管理器,当终端与图像输入设备连接时,通用设备管理器生成图像输入设备对应的通用数据源,通用数据源用于对图像输入设备所获取的图像进行处理,而数据源管理器用于对通用数据源进行管理。
其中,通用设备管理器可以为可执行程序或者类等,如该通用设备管理器可以为用于系统服务的可执行程序或守护进程,或者为TWAIN客户端中的CTwainVideoManager类。通用数据源可以为扩展名为ds的动态库或者类等,如可以为满足TWAIN协议规范的数据源文件hw_video.ds,或者为 TWAIN客户端中的CTwainVideo类等,且,该通用数据源为扩展名为ds的动态库时,可以存储在TWAIN客户端的指定目录中,本发明实施例对此均不做限定。
另外,应用客户端与数据源管理器之间通过第一接口进行交互,该第一接口可以为DSM_Entry接口等,数据源管理器与通用数据源之间通过第二接口进行交互,该第二接口可以为DS_Entry接口等,通用数据源与图像输入设备之间通过第三接口进行交互,该第三接口可以为DirectShow接口、V4L2(Video 4 Linux 2)接口等,本发明实施例对此均不做限定。
进一步地,该第一接口和该第二接口可以为基于TWAIN协议的接口,该应用客户端支持TWAIN协议,可以为Photoshop等,本发明实施例对此不做限定。
在本发明实施例中,为了获取图像输入设备所获取的图像,应用客户端向该数据源管理器发送对图像输入设备的图像获取指令,该图像获取指令用于对通用数据源对应图像输入设备所获取的图像进行获取。
具体地,应用客户端展示终端当前配置的每个图像输入设备对应的通用数据源,用户可以在应用客户端中选择任一通用数据源,该通用数据源会显示对应的图像输入设备所获取的图像,用户即可触发对任一图像的获取操作,当该应用客户端检测到对该图像的获取操作时,调用第一接口,向数据源管理器发送图像获取指令,以指示该数据源管理器获取该图像。
703、该数据源管理器接收该图像获取指令,向该通用数据源发送该图像获取指令。
当该数据源管理器接收到该图像获取指令时,可以调用与该通用数据源之间的第二接口,向该通用数据源发送图像获取指令,以便该通用数据源从对应的图像输入设备中获取图像。
704、该通用数据源接收该图像获取指令,根据该图像获取指令,获取该图像输入设备所获取的图像,向该数据源管理器发送该图像。
该通用数据源接收该图像获取指令时,可以根据该图像获取指令,确定该通用数据源对应的多个设备标识中的指定设备标识,调用与指定设备标识之间的第三接口,获取该指定设备标识所指示的图像输入设备所获取的图像,之后,再调用第二接口,向数据源管理器发送该图像。
为了确定该通用数据源对应的至少一个设备标识,在步骤704之前,该 方法还包括:该通用数据源向通用设备管理器发送查询请求,该通用设备管理器接收该查询请求,根据已建立的图像输入设备的设备标识与通用数据源之间的映射关系,查询该通用数据源对应的至少一个图像输入设备的设备标识,向该通用数据源发送该至少一个设备标识,该通用数据源接收该至少一个设备标识,以便对该至少一个设备标识对应的图像输入设备所获取的图像进行获取。
需要说明的是,该通用设备管理器建立的映射关系会以通用数据源标识来表示该通用数据源,则通用数据源可以获取通用数据源标识,向通用设备管理器发送查询请求,该查询请求包括该通用数据源标识,当该通用设备管理器接收该查询请求时,即可根据该通用数据源标识,查询该通用数据源标识对应的至少一个图像输入设备的设备标识。其中,该通用数据源标识可以为该通用数据源的名称、名称中包含的序号等,本发明实施例对此不做限定。
705、当该数据源管理器接收到该通用数据源返回的图像时,向该应用客户端发送该图像。
706、该应用客户端接收该图像。
当该数据源管理器接收到该图像时,通过调用第一接口,向应用客户端发送该图像,该应用客户端接收到该图像,之后,可以显示该图像或者存储该图像。
本发明实施例仅以应用客户端获取图像输入设备所获取的图像为例进行说明,而在实际应用的过程中,在应用客户端确定选择的通用数据源之后,通过该通用数据源获取图像之前,还可以对待获取的图像进行处理。
可选地,对图像输入设备所获取的图像进行处理可以包括以下任一种方式:
1、通用数据源查询图像输入设备的能力,根据图像输入设备的能力,在提供的显示界面中,提供多个图像设置选项。当用户希望对图像输入设备所获取的图像进行处理时,可以在该显示界面中点击任一图像设置选项,设置与该图像设置选项对应的图像参数,该通用数据源即可根据用户设置的图像参数,对图像输入设备所获取的图像进行处理,获取到与该图像参数匹配的图像。
该多个图像设置选项可以包括图像预览选项、图像获取选项、图像裁剪选项、色彩调整选项、亮度调整选项等,该图像参数可以包括图像的尺寸参 数、色彩参数、亮度参数等,本发明实施例对此不做限定。用户可以通过这些图像设置选项,可以实现对图像的预览、获取、裁剪、色彩调整、亮度调整等多种处理操作,本发明实施例对此也不做限定。
2、应用客户端也可以在提供的显示界面中,显示多个图像设置选项,当用户希望获取图像时,可以先通过显示的多个图像设置选项,对待获取图像进行设置,应用客户端会根据用户对这些图像设置选项的操作,确定用户设置的图像参数,并根据TWAIN协议,向通用数据源发送图像参数,后续通用数据源在获取图像输入设备所获取的图像时,即可按照设置的图像参数,对待获取图像进行处理,从而获取到与该图像参数匹配的图像。
本发明实施例提供的方法,通过引入通用数据源,由通用数据源对图像输入设备所获取的图像进行获取,当通用数据源接收到数据源管理器发送的图像获取指令时,根据图像获取指令,获取图像输入设备所获取的图像,并根据图像设置选项进行设置,从而对图像进行一定的加工处理,并向数据源管理器发送处理后的图像,避免了由于图像输入设备未提供数据源而导致无法获取图像输入设备所获取的图像的问题,提高了灵活性。
图8是本发明实施例提供的一种图像处理方法的流程图。本发明实施例应用于图3所示的图像处理系统中,交互主体为应用客户端、TWAIN服务端、通用设备管理器、通用数据源和数据源管理器,该数据源管理器和该通用数据源外置于该TWAIN客户端,该通用设备管理器内置于该TWAIN客户端中,参见图8,该方法包括:
801、TWAIN客户端中的通用设备管理器为该至少一个图像输入设备生成通用数据源,建立该至少一个设备标识与生成的通用数据源之间的映射关系。
该步骤801与步骤701中建立映射关系的过程类似,在此不再赘述。
另外需要补充说明的是,TWAIN客户端在初始化时,会先初始化通用设备管理器,由通用设备管理器执行步骤801建立映射关系,之后TWAIN客户端加载数据源管理器,并启动数据源管理器。初始化后,TWAIN客户端会与TWAIN服务端建立连接,完成TWAIN重定向映射过程。
802、该应用客户端向该TWAIN服务端发送对通用数据源的图像处理指令。
可选地,在远程虚拟桌面系统中,应用客户端要对终端所配置的图像输入设备所获取的图像进行处理时,根据待处理图像的图像信息,获取指令参数,根据指定协议将该指令参数打包生成图像处理指令,向TWAIN服务端发送该图像处理指令。
其中,该指令参数包括应用客户端标识、待处理图像的图像信息和图像处理类型。该图像信息用于指示待处理图像为哪一个图像,可以为图像的名称、类型等,该图像处理类型用于指示要对图像进行的操作类型,可以为裁剪操作、色彩调整操作、亮度调整操作等,本发明实施例对此不做限定。另外,该指定协议可以为TWAIN协议等,本发明实施例对此不做限定。
该指令参数中还可以包括用户设置的图像参数。具体地,该应用客户端可以在提供的显示界面中,显示多个图像设置选项,用户希望对图像进行处理时,可以先通过显示的多个图像设置选项进行设置,应用客户端即可获取到用户设置的图像参数。
803、当该TWAIN服务端接收到该图像处理指令时,向该TWAIN客户端发送该图像处理指令。
804、当该TWAIN客户端接收到该图像处理指令时,向该数据源管理器发送该图像处理指令。
TWAIN服务端接收到该图像处理指令后,向TWAIN客户端发送该图像处理指令,当TWAIN客户端接收到该图像处理指令时,将该图像处理指令进行解包,得到图像处理指令中的指令参数,再调用第一接口,向数据源管理器发送该图像处理指令中的指令参数。
805、该数据源管理器接收该图像处理指令,向该通用数据源发送该图像处理指令。
当该数据源管理器接收该图像处理指令中的指令参数,根据通用设备管理器已建立的设备标识与通用数据源之间的映射关系,获取内置于TWAIN客户端中的该图像输入设备对应的通用数据源。之后,该数据源管理器调用第二接口,向该通用数据源发送该图像处理指令中的指令参数。
806、该通用数据源接收该图像处理指令,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,向该数据源管理器发送处理结果。
该步骤806与步骤704类似,在此不再赘述。
另外,如果该图像处理指令包括用户设置的图像参数,该通用数据源可 以按照该图像参数,对图像输入设备所获取的图像进行处理,以便获取到与该图像参数匹配的图像。
807、当该数据源管理器接收到该通用数据源返回的处理结果时,向该TWAIN客户端发送该处理结果。
808、当该TWAIN客户端接收到该处理结果时,向该TWAIN服务端发送该处理结果。
当该TWAIN客户端接收到该处理结果时,根据指定协议,将该处理结果打包得到处理结果数据包,向TWAIN服务端发送该处理结果数据包。
809、当该TWAIN服务端接收到该处理结果时,向该应用客户端发送该处理结果。
810、该应用客户端接收该处理结果。
当该TWAIN服务端接收到处理结果数据包时,将该处理结果数据包进行解包,得到处理结果,向应用客户端发送该处理结果,该应用客户端接收该处理结果。
需要说明的是,本发明实施例中仅以数据源管理器外置于TWAIN客户端为例进行说明,在实际应用中,数据源管理器还可以内置于TWAIN客户端,本发明实施例对此不做限定。
进一步地,终端中的数据源管理器可以用于对图像输入设备提供的数据源以及通用设备管理器生成的通用数据源进行管理,或者,终端中还可以包括两个数据源管理器:第一数据源管理器和第二数据源管理器,第一数据源管理器专门用于对图像输入设备提供的数据源进行管理,第二数据源管理器专门用于对通用设备管理器生成的通用数据源进行管理,本发明实施例对此不做限定。
本发明实施例提供的方法,通过引入通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
图9A是本发明实施例提供的一种图像处理方法的流程图。本发明实施 例应用于图4所示的图像处理系统中,交互主体为应用客户端、TWAIN服务端、TWAIN客户端、数据源管理器、通用设备管理器和通用数据源,与上述图3所示的图像处理系统的区别在于,图4所示的图像处理系统中的数据源管理器、通用设备管理器和通用数据源内置于TWAIN客户端。参见图9A,该方法包括:
901、该应用客户端向该TWAIN服务端发送对通用数据源的图像处理指令。
902、当该TWAIN服务端接收到该图像处理指令时,向该TWAIN客户端发送该图像处理指令。
903、当该TWAIN客户端接收到该图像处理指令时,TWAIN客户端中的通用数据源根据该图像处理指令,对该图像输入设备所获取的图像进行处理,向该TWAIN客户端返回处理结果。
数据源管理器内置于TWAIN客户端时,TWAIN客户端可以实现数据源管理器的功能,即TWAIN客户端可以实例化通用数据源,并向通用数据源发送指令,由通用数据源根据该指令进行处理。
904、当该TWAIN客户端获取到该通用数据源返回的处理结果时,向该TWAIN服务端发送该处理结果。
905、当该TWAIN服务端接收到该处理结果时,向该应用客户端发送该处理结果。
906、该应用客户端接收该处理结果。
本发明实施例的具体过程与上述图7所示实施例的具体过程类似,在此不再赘述。
以第一接口为DSM_Entry接口、第二接口为DS_Entry接口为例,应用客户端对图像输入设备所获取的图像进行处理的操作流程可以如图9B所示,具体步骤如下:
(1)该应用客户端根据待处理图像的图像信息,获取指令参数,向该TWAIN服务端发送该指令参数。
(2)当该TWAIN服务端接收到该指令参数时,打包生成图像处理指令,向该TWAIN客户端发送该图像处理指令。
(3)当该TWAIN客户端接收到该图像处理指令时,将该图像处理指令进行解包,得到图像处理指令中的指令参数。
(4)TWAIN客户端调用DSM_Entry接口,向数据源管理器发送该指令参数,数据源管理器调用DS_Entry接口,向该通用数据源发送该指令参数。
(5)当该通用数据源接收到该指令参数时,对该图像输入设备所获取的图像进行处理,调用DSM_Entry接口,向数据源管理器返回处理结果,数据源管理器调用DS_Entry接口,向该TWAIN客户端发送处理结果。
(6)当TWAIN客户端接收到该处理结果时,将该处理结果打包得到处理结果数据包,向该TWAIN服务端发送该处理结果数据包。
(7)TWAIN服务端接收该处理结果数据包,将该处理结果数据包进行解包,得到处理结果,向应用客户端发送该处理结果,应用客户端接收该处理结果。
本发明实施例提供的方法,通过引入通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
图10是本发明实施例提供的一种图像处理方法的流程图。本发明实施例应用于图5所示的图像处理系统中,交互主体为应用客户端、TWAIN服务端、TWAIN客户端、数据源管理器、通用设备管理器和通用数据源,与上述图3所示的图像处理系统的区别在于,图5所示的图像处理系统中的数据源管理器、通用设备管理器和通用数据源均外置于该TWAIN客户端。参见图10,该方法包括:
1001、该应用客户端向该TWAIN服务端发送对通用数据源的图像处理指令。
1002、当该TWAIN服务端接收到该图像处理指令时,向该TWAIN客户端发送该图像处理指令。
1003、当该TWAIN客户端接收到该图像处理指令时,向该数据源管理器发送该图像处理指令。
1004、该数据源管理器接收该图像处理指令,向该通用数据源发送该图像处理指令。
1005、该通用数据源接收该图像处理指令,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,向该数据源管理器发送处理结果。
1006、当该数据源管理器接收到该通用数据源返回的处理结果时,向该TWAIN客户端发送该处理结果。
1007、当该TWAIN客户端接收到该处理结果时,向该TWAIN服务端发送该处理结果。
1008、当该TWAIN服务端接收到该处理结果时,向该应用客户端发送该处理结果。
1009、该应用客户端接收该处理结果。
本发明实施例的具体过程与上述图7所示实施例的具体过程类似,在此不再赘述。
本发明实施例提供的方法,通过引入通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
在本发明实施例提供的另一实施例中,上述步骤1001-1009提供的图像处理方法还可以应用于图6所示的图像处理系统中,与上述图5所示的图像处理系统的区别在于,图6所示的图像处理系统中的通用数据源外置于该TWAIN客户端,数据源管理器、该通用设备管理器内置于该TWAIN客户端中,具体过程在此不再赘述。
图11是本发明实施例提供的一种图像处理方法的流程图。该发明实施例的执行主体为通用数据源,参见图11,该方法包括:
1101、接收数据源管理器发送的图像处理指令,该图像处理指令由应用客户端触发,该图像处理指令用于指示对该通用数据源对应图像输入设备所获取的图像进行处理。
1102、根据该图像处理指令,对该图像输入设备所获取的图像进行处理。
1103、向该数据源管理器发送处理结果。
本发明实施例提供的方法,通过引入通用数据源,由通用数据源对图像 输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
在第一种可能实现方式中,该通用数据源由通用设备管理器生成,该根据该图像处理指令,对该图像输入设备所获取的图像进行处理,包括:
向该通用设备管理器发送查询请求,使得该通用设备管理器根据已建立的通用数据源与图像输入设备的设备标识之间的映射关系,查询该通用数据源对应的图像输入设备的设备标识,返回该设备标识;
接收该通用设备管理器返回的设备标识;
对该设备标识对应的图像输入设备所获取的图像进行处理。
在第二种可能实现方式中,该根据该图像处理指令,对该图像输入设备所获取的图像进行处理,包括:
从该至少一个图像输入设备的设备标识中,根据该图像处理指令确定指定设备标识;
对该指定设备标识指示的图像输入设备所获取的图像进行处理。
在第三种可能实现方式中,该方法还包括:
在该至少一个图像输入设备的设备标识中的第一设备标识为指定设备标识时,接收切换图像输入设备的指令;
将该切换图像输入设备的指令所指示的第二设备标识确定为指定设备标识。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
图12是本发明实施例提供的一种图像处理方法的流程图。该发明实施例的执行主体为通用设备管理器,参见图12,该方法包括:
1201、为该至少一个图像输入设备生成通用数据源,该通用数据源用于对相应图像输入设备所获取的图像进行处理。
1202、建立该至少一个图像输入设备的设备标识与生成的通用数据源之间的映射关系,以便该通用数据源对相应图像输入设备所获取的图像进行处理。
本发明实施例提供的方法,通过引入通用设备管理器,由通用设备管理器为图像输入设备生成通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
在第一种可能实现方式中,该方法还包括:
为该至少一个图像输入设备中的每个图像输入设备生成一个通用数据源;
分别建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系。
在第二种可能实现方式中,该方法还包括:
接收指定通用数据源发送的查询请求;
根据已建立的映射关系,查询与该指定通用数据源对应的至少一个设备标识;
向该指定通用数据源发送查询到的设备标识。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
图13是本发明实施例提供的一种通用数据源的结构示意图,参见图13,该通用数据源包括:
接收模块1301,用于接收数据源管理器发送的图像处理指令,该图像处理指令由应用客户端触发,该图像处理指令用于指示对该通用数据源对应图像输入设备所获取的图像进行处理;
图像处理模块1302,用于根据该图像处理指令,对该图像输入设备所获取的图像进行处理;
发送模块1303,用于向该数据源管理器发送处理结果。
本发明实施例提供的通用数据源,通过对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
在第一种可能实现方式中,该通用数据源由通用设备管理器生成;
该发送模块1303,还用于向该通用设备管理器发送查询请求,使得通用设备管理器根据已建立的通用数据源与图像输入设备的设备标识之间的映射关系,查询该通用数据源对应的图像输入设备的设备标识,返回该设备标识;
该接收模块1301,还用于接收该通用设备管理器返回的设备标识;
该图像处理模块1302,还用于对该设备标识对应的图像输入设备所获取的图像进行处理。
在第二种可能实现方式中,该图像处理模块1302还用于从该至少一个图像输入设备的设备标识中,根据该图像处理指令确定指定设备标识;对该指定设备标识指示的图像输入设备所获取的图像进行处理。
在第三种可能实现方式中,该通用数据源还包括:
该接收模块1301,还用于在该至少一个图像输入设备的设备标识中的第一设备标识为指定设备标识时,接收切换图像输入设备的指令;
确定模块,用于将该切换图像输入设备的指令所指示的第二设备标识确定为指定设备标识。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
图14是本发明实施例提供的一种通用设备管理器的结构示意图,参见图14,通用设备管理器包括:
通用数据源生成模块1401,用于为至少一个图像输入设备生成通用数据源,该通用数据源用于对相应图像输入设备所获取的图像进行处理;
映射关系建立模块1402,用于建立所述至少一个图像输入设备的设备标识与生成的通用数据源之间的映射关系,以便所述通用数据源对相应图像输入设备所获取的图像进行处理。
本发明实施例提供的装置,通过引入通用设备管理器,由通用设备管理器为图像输入设备生成通用数据源,由通用数据源对图像输入设备所获取的图像进行处理,当通用数据源接收到数据源管理器发送的图像处理指令时,根据该图像处理指令,对该图像输入设备所获取的图像进行处理,并向数据源管理器发送处理结果,避免了由于图像输入设备未提供数据源而导致无法对图像输入设备所获取的图像进行处理的问题,提高了灵活性。
在第一种可能实现方式中,
该通用数据源生成模块1401,还用于为该至少一个图像输入设备中的每个图像输入设备生成一个通用数据源;
该映射关系建立模块1402,还用于分别建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系。
在第二种可能实现方式中,该装置还包括:
接收模块,用于接收指定通用数据源发送的查询请求;
查询模块,用于根据已建立的映射关系,查询与该指定通用数据源对应的至少一个设备标识;
发送模块,用于向该指定通用数据源发送查询到的设备标识。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
需要说明的是:上述实施例提供的图像处理装置在处理图像时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将数据源管理器、通用设备管理器和通用数据源的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的图像处理装置与图像处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图15是本发明实施例提供的上述终端的一种可能结构示意图,参见图15,该终端包括处理器1501和存储器1502,该处理器1501与该存储器1502通过总线连接;
该存储器1502用于存储计算机执行指令,当该终端运行时,该处理器1501执行该存储器1502存储的该计算机执行指令来实现通用数据源,并使得该通用数据源执行上述实施例中的图像处理方法。
应知,为具体实施需要,可在该终端中增设其他接口(例如网络接口、通用IO接口等)以及在存储器1502存储该接口对应的驱动程序。举例说明,终端安装了该图像输入设备的驱动,终端具有与该图像输入设备匹配的接口,并通过该接口匹配地外接图像输入设备。
图16是本发明实施例提供的上述终端的一种可选结构示意图,参见图16,该终端包括处理器1601和存储器1602,该处理器1601与该存储器1602通过总线连接;
该存储器1602用于存储计算机执行指令,当该终端运行时,该处理器1601执行该存储器1602存储的该计算机执行指令来实现通用设备管理器,并使得该通用设备管理器执行上述实施例中的图像处理方法。
应知,为具体实施需要,可在该终端中增设其他接口(例如网络接口、通用IO接口等)以及在存储器1602存储该接口对应的驱动程序。举例说明,终端安装了该图像输入设备的驱动,终端具有与该图像输入设备匹配的接口,并通过该接口匹配地外接图像输入设备。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种图像处理系统,其特征在于,所述系统包括:应用客户端、数据源管理器、通用数据源,以及与所述通用数据源对应的至少一个图像输入设备;
    所述应用客户端用于向所述数据源管理器发送对所述通用数据源的图像处理指令;
    所述数据源管理器用于接收到所述图像处理指令时,向所述通用数据源发送所述图像处理指令;
    所述通用数据源用于接收到所述图像处理指令时,根据所述图像处理指令,对所述图像处理指令指定的图像输入设备所获取的图像进行处理,向所述数据源管理器发送处理结果;
    所述数据源管理器还用于接收到所述处理结果时,向所述应用客户端发送所述处理结果。
  2. 根据权利要求1所述的系统,其特征在于,所述通用数据源还用于从所述至少一个图像输入设备的设备标识中,根据所述图像处理指令确定指定设备标识;对所述指定设备标识指示的图像输入设备所获取的图像进行处理。
  3. 根据权利要求1所述的系统,其特征在于,所述系统还包括通用设备管理器;
    所述通用设备管理器用于获取所述图像输入设备的设备标识并根据所述图像输入设备的设备标识生成通用数据源,并建立所述设备标识与生成的通用数据源之间的映射关系。
  4. 根据权利要求3所述的系统,其特征在于,所述系统由终端和服务器组成;
    所述应用客户端位于所述服务器中,所述数据源管理器、所述通用设备管理器和所述通用数据源位于所述终端中,所述服务器安装TWAIN服务端,所述终端安装TWAIN客户端,所述TWAIN服务端与所述TWAIN客户端通信连接,所述数据源管理器、所述通用设备管理器和所述通用数据源外置于所述TWAIN客户端;或者,
    所述应用客户端位于所述服务器中,所述数据源管理器、所述通用数据源位于所述终端中,所述服务器安装TWAIN服务端,所述终端安装TWAIN客户端,所述TWAIN服务端与所述TWAIN客户端通信连接,所述数据源管理器和 所述通用数据源外置于所述TWAIN客户端,所述通用设备管理器内置于所述TWAIN客户端中;或者,
    所述应用客户端位于所述服务器中,所述服务器安装TWAIN服务端,所述终端安装TWAIN客户端,所述TWAIN服务端与所述TWAIN客户端通信连接,所述数据源管理器、所述通用设备管理器、所述通用数据源内置于所述TWAIN客户端中;或者,
    所述应用客户端位于所述服务器中,所述服务器安装TWAIN服务端,所述终端安装TWAIN客户端,所述TWAIN服务端与所述TWAIN客户端通信连接,所述通用数据源外置于所述TWAIN客户端,所述数据源管理器、所述通用设备管理器内置于所述TWAIN客户端中。
  5. 一种图像处理方法,其特征在于,所述方法应用于通用数据源,所述通用数据源对应于至少一个图像输入设备,所述方法包括:
    接收数据源管理器发送的图像处理指令,所述图像处理指令由应用客户端触发,所述图像处理指令用于指示对所述通用数据源对应图像输入设备所获取的图像进行处理;
    根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理;
    向所述数据源管理器发送处理结果。
  6. 根据权利要求5所述的方法,其特征在于,所述通用数据源由通用设备管理器生成,所述根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,包括:
    向所述通用设备管理器发送查询请求,使得所述通用设备管理器根据已建立的通用数据源与图像输入设备的设备标识之间的映射关系,查询所述通用数据源对应的图像输入设备的设备标识,返回所述设备标识;
    接收所述通用设备管理器返回的设备标识;
    对所述设备标识对应的图像输入设备所获取的图像进行处理。
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理,包括:
    从所述至少一个图像输入设备的设备标识中,根据所述图像处理指令确定指定设备标识;
    对所述指定设备标识指示的图像输入设备所获取的图像进行处理。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    在所述至少一个图像输入设备的设备标识中的第一设备标识为指定设备标识时,接收切换图像输入设备的指令;
    将所述切换图像输入设备的指令所指示的第二设备标识确定为指定设备标识。
  9. 一种图像处理方法,其特征在于,所述方法应用于通用设备管理器,所述方法包括:
    为至少一个图像输入设备生成通用数据源;
    建立所述至少一个图像输入设备的设备标识与生成的通用数据源之间的映射关系,以便所述通用数据源对相应图像输入设备所获取的图像进行处理。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    为所述至少一个图像输入设备中的每个图像输入设备生成一个通用数据源;
    分别建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系。
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:
    接收指定通用数据源发送的查询请求;
    根据已建立的映射关系,查询与所述指定通用数据源对应的至少一个设备标识;
    向所述指定通用数据源发送查询到的设备标识。
  12. 一种通用数据源,其特征在于,所述通用数据源包括:
    接收模块,用于接收数据源管理器发送的图像处理指令,所述图像处理指令由应用客户端触发,所述图像处理指令用于指示对所述通用数据源对应图像输入设备所获取的图像进行处理;
    图像处理模块,用于根据所述图像处理指令,对所述图像输入设备所获取的图像进行处理;
    发送模块,用于向所述数据源管理器发送处理结果。
  13. 根据权利要求12所述的通用数据源,其特征在于,所述通用数据源由通用设备管理器生成;
    所述发送模块,还用于向所述通用设备管理器发送查询请求,使得通用设备管理器根据已建立的通用数据源与图像输入设备的设备标识之间的映射关系,查询所述通用数据源对应的图像输入设备的设备标识,返回所述设备标识;
    所述接收模块,还用于接收所述通用设备管理器返回的设备标识;
    所述图像处理模块,还用于对所述设备标识对应的图像输入设备所获取的图像进行处理。
  14. 根据权利要求12所述的通用数据源,其特征在于,所述图像处理模块还用于从所述至少一个图像输入设备的设备标识中,根据所述图像处理指令确定指定设备标识;对所述指定设备标识指示的图像输入设备所获取的图像进行处理。
  15. 根据权利要求14所述的通用数据源,其特征在于,所述通用数据源还包括:
    所述接收模块,还用于在所述至少一个图像输入设备的设备标识中的第一设备标识为指定设备标识时,接收切换图像输入设备的指令;
    确定模块,用于将所述切换图像输入设备的指令所指示的第二设备标识确定为指定设备标识。
  16. 一种通用设备管理器,其特征在于,所述装置包括:
    通用数据源生成模块,用于为至少一个图像输入设备生成通用数据源;
    映射关系建立模块,用于建立所述至少一个图像输入设备的设备标识与生成的通用数据源之间的映射关系,以便所述通用数据源对相应图像输入设备所获取的图像进行处理。
  17. 根据权利要求16所述的通用设备管理器,其特征在于,
    所述通用数据源生成模块,还用于为所述至少一个图像输入设备中的每个图像输入设备生成一个通用数据源;
    所述映射关系建立模块,还用于分别建立每个图像输入设备的设备标识与为对应图像输入设备生成的通用数据源之间的映射关系。
  18. 根据权利要求16或17所述的通用设备管理器,其特征在于,所述装置还包括:
    接收模块,用于接收指定通用数据源发送的查询请求;
    查询模块,用于根据已建立的映射关系,查询与所述指定通用数据源对应 的至少一个设备标识;
    发送模块,用于向所述指定通用数据源发送查询到的设备标识。
  19. 一种终端,其特征在于,所述终端包括处理器和存储器,所述处理器与所述存储器通过总线连接;
    所述存储器用于存储计算机执行指令,当所述终端运行时,所述处理器执行所述存储器存储的所述计算机执行指令来实现通用数据源,并使得所述通用数据源执行权利要求5至8任一项所述的图像处理方法。
  20. 一种终端,其特征在于,所述终端包括处理器和存储器,所述处理器与所述存储器通过总线连接;
    所述存储器用于存储计算机执行指令,当所述终端运行时,所述处理器执行所述存储器存储的所述计算机执行指令来实现通用设备管理器,并使得所述通用设备管理器执行权利要求9至11任一项所述的图像处理方法。
PCT/CN2016/080095 2015-11-24 2016-04-23 图像处理系统、方法和装置 Ceased WO2017088349A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP16867578.3A EP3355563B1 (en) 2015-11-24 2016-04-23 System, method and apparatus for processing information
US15/969,210 US11829409B2 (en) 2015-11-24 2018-05-02 Image processing system, method, and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510825073.9A CN105472197B (zh) 2015-11-24 2015-11-24 图像处理系统、方法和装置
CN201510825073.9 2015-11-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/969,210 Continuation US11829409B2 (en) 2015-11-24 2018-05-02 Image processing system, method, and apparatus

Publications (1)

Publication Number Publication Date
WO2017088349A1 true WO2017088349A1 (zh) 2017-06-01

Family

ID=55609435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080095 Ceased WO2017088349A1 (zh) 2015-11-24 2016-04-23 图像处理系统、方法和装置

Country Status (4)

Country Link
US (1) US11829409B2 (zh)
EP (1) EP3355563B1 (zh)
CN (1) CN105472197B (zh)
WO (1) WO2017088349A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472197B (zh) * 2015-11-24 2019-01-18 华为技术有限公司 图像处理系统、方法和装置
CN109769092A (zh) * 2019-03-05 2019-05-17 山东浪潮通软信息科技有限公司 一种设备可扩展的影像处理方法
CN111796893A (zh) * 2020-06-12 2020-10-20 彭程 数据交互方法与电子设备
US20250036446A1 (en) * 2023-07-24 2025-01-30 Omnissa, Llc Unified scanner redirection method across different transfer modes
US20250130840A1 (en) * 2023-10-18 2025-04-24 Omnissa, Llc Method to improve scanner redirection performance with nested mode

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472197A (zh) * 2015-11-24 2016-04-06 华为技术有限公司 图像处理系统、方法和装置

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650761B1 (en) * 1999-05-19 2003-11-18 Digimarc Corporation Watermarked business cards and methods
US6003093A (en) * 1996-12-19 1999-12-14 Canon Kabushiki Kaisha Architecture for image processing application
US7039876B2 (en) * 1997-10-06 2006-05-02 Canon Kabushiki Kaisha User interface for image acquisition devices
US7266761B2 (en) * 1999-06-15 2007-09-04 Microsoft Corporation Special API interface for interfacing an application with a TWAIN module, negotiating and presenting a user interface for inserting an image into a document
JP2001285570A (ja) * 2000-01-27 2001-10-12 Canon Inc 画像入力システム及び装置及び方法並びに記憶媒体
CN1157656C (zh) * 2002-12-30 2004-07-14 北京北大方正电子有限公司 一种外挂式影像捕捉设备功能扩充方法
US20060015569A1 (en) * 2003-12-16 2006-01-19 Lexmark International, Inc. Method and system for initiating a task and receiving task data via a TWAIN interface
US7712110B2 (en) * 2004-09-28 2010-05-04 Citrix Systems, Inc. System and method for remoting twain function calls from a user session to a client system
US20060069815A1 (en) * 2004-09-29 2006-03-30 Warner William T Iii Method and system for initiating a task and receiving task data via TWAIN interface from network-attached peripheral
KR101161344B1 (ko) * 2007-07-11 2012-06-29 삼성전자주식회사 트웨인 드라이버를 이용한 스캐닝 방법 및 스캐닝 시스템
US20110304740A1 (en) * 2010-06-10 2011-12-15 Apteryx, Inc. Universal image capture manager
US20150073697A1 (en) * 2012-11-27 2015-03-12 CloudCar Inc. Geographical location aggregation from multiple sources
US10673922B2 (en) * 2014-02-19 2020-06-02 RealCloud Imaging Inc. Cloud based 2D dental imaging system with HTML web browser acquisition
US11100469B2 (en) * 2016-10-25 2021-08-24 International Business Machines Corporation Cross-domain collaborative data log

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472197A (zh) * 2015-11-24 2016-04-06 华为技术有限公司 图像处理系统、方法和装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Scan Images from a TWAIN Device", BAIDU LIBRARY, 6 May 2015 (2015-05-06), XP009507563 *
"TWain Interface Specification and Its Application", BAIDU LIBRARY, 9 June 2011 (2011-06-09), XP009507482 *

Also Published As

Publication number Publication date
EP3355563A4 (en) 2018-09-26
CN105472197A (zh) 2016-04-06
US20180253447A1 (en) 2018-09-06
EP3355563B1 (en) 2020-10-28
EP3355563A1 (en) 2018-08-01
CN105472197B (zh) 2019-01-18
US11829409B2 (en) 2023-11-28

Similar Documents

Publication Publication Date Title
CN104160376B (zh) 虚拟机的离线准备
CN106487869B (zh) 用于对标签化数据进行控制和标准化的多云网络代理
US9124494B2 (en) Method and apparatus of performing remote management of a managed machine
WO2017088349A1 (zh) 图像处理系统、方法和装置
US20180210752A1 (en) Accelerator virtualization method and apparatus, and centralized resource manager
WO2016101545A1 (zh) 设备管理方法、装置及系统
WO2017162043A1 (zh) 用于设备间服务的访问方法、配置方法及装置
WO2019178855A1 (zh) 一种虚拟机访问远端加速设备方法及系统
US10574518B2 (en) Method and apparatus of performing remote management of a managed machine
CN101303650A (zh) 一种软件平台的功能扩展方法及功能扩展系统
WO2015109872A1 (zh) 基于samba的快速访问和控制播放共享媒体文件方法
US12028491B2 (en) Scanning preview method for a remote application when using scanner redirection for remote desktop services
CN110399136A (zh) 一种bmc固件更新方法、装置、设备及介质
CN105872578A (zh) 一种调用方法及服务器
WO2016082551A1 (zh) Twain协议的远程重定向方法、装置及系统
CN108632354A (zh) 物理机纳管方法、装置及云桌面管理平台
CN115225482A (zh) 一种基于Kubernetes进行Pod容器网络配置的方法及装置
CN116156069B (zh) 一种在云桌面上的扫描仪映射方法及其终端
WO2018072101A1 (zh) 设备调用方法、装置、系统、电子设备和计算机程序产品
CN115766313A (zh) 影音系统控制方法、设备及存储介质
JP2015228086A (ja) 情報処理システム、情報処理装置、情報処理方法およびプログラム
CN114095476B (zh) 电子设备查询路由器接口的方法、路由器及通信系统
CN107483382B (zh) 一种云渲染方法
WO2023035619A1 (zh) 一种场景渲染方法、装置、设备及系统
CN114691381A (zh) 远程访问方法及其装置、计算机设备、存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16867578

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2016867578

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE