[go: up one dir, main page]

CN102438096A - Instant image transmission and preview system and transmission and preview method thereof - Google Patents

Instant image transmission and preview system and transmission and preview method thereof Download PDF

Info

Publication number
CN102438096A
CN102438096A CN2010105094187A CN201010509418A CN102438096A CN 102438096 A CN102438096 A CN 102438096A CN 2010105094187 A CN2010105094187 A CN 2010105094187A CN 201010509418 A CN201010509418 A CN 201010509418A CN 102438096 A CN102438096 A CN 102438096A
Authority
CN
China
Prior art keywords
image
electronic device
scanner
scanned
default format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105094187A
Other languages
Chinese (zh)
Inventor
宋彰宪
钱建生
汪家祥
周炳坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foxlink Image Technology Co Ltd
Original Assignee
Foxlink Image Technology 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 Foxlink Image Technology Co Ltd filed Critical Foxlink Image Technology Co Ltd
Priority to CN2010105094187A priority Critical patent/CN102438096A/en
Publication of CN102438096A publication Critical patent/CN102438096A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

本发明公开了一种即时图像传输与预览系统及其传输与预览方法,该即时图像传输与预览系统包括扫描仪与电子设备,扫描仪由一预设格式并沿一方向以多次线状扫描方式扫描文件。扫描仪预先发送该默认格式给电子设备,之后,当扫描仪完成特定次数的线状扫描后,会发送一相应的图像给电子设备。当电子设备接收图像后,会修改图像以使其符合默认格式,并以默认格式显示图像。因此,本发明即时图像传输与预览系统及其传输与预览方法可在默认扫描图像格式的状态下,每当执行完特定次数的线状扫描后即发送扫描图像,而扫描图像可依照该默认扫描图像格式实时被显示,以实现即时扫描即时预览的功能。

Figure 201010509418

The present invention discloses an instant image transmission and preview system and a transmission and preview method thereof. The instant image transmission and preview system includes a scanner and an electronic device. The scanner scans a document in a preset format and in a multiple linear scanning manner along a direction. The scanner sends the default format to the electronic device in advance, and then, when the scanner completes a specific number of linear scans, it sends a corresponding image to the electronic device. When the electronic device receives the image, it modifies the image to make it conform to the default format and displays the image in the default format. Therefore, the instant image transmission and preview system and the transmission and preview method of the present invention can send a scanned image in the default scanned image format state each time a specific number of linear scans are performed, and the scanned image can be displayed in real time according to the default scanned image format to realize the function of instant scanning and instant preview.

Figure 201010509418

Description

即时图像传输与预览系统及其传输与预览方法Real-time image transmission and preview system and its transmission and preview method

技术领域 technical field

本发明涉及一种即时图像传输与预览技术,尤其涉及一种即时接收与预览图像系统及其传输与预览方法。The invention relates to an instant image transmission and preview technology, in particular to an instant image reception and preview system and its transmission and preview method.

背景技术 Background technique

请参阅图1,为现有的图像传输与预览系统700,包括扫描仪701、计算机设备702与存储卡703,扫描仪701具有一存储卡存取装置7010,计算机设备702包括计算机主机7020与显示器7021,计算机主机7020设有一存储卡存取装置7022。Please refer to Fig. 1, it is an existing image transmission and preview system 700, including a scanner 701, computer equipment 702 and memory card 703, the scanner 701 has a memory card access device 7010, and the computer equipment 702 includes a computer host 7020 and a display 7021 , the host computer 7020 is provided with a memory card access device 7022 .

当图像传输与预览系统700运作时,用户必须预先将存储卡703插入扫描仪701的存储卡存取装置7010中,当扫描仪701扫描完毕之后,扫描的图像经由存储卡存取装置7010记录在存储卡703内,之后,用户必须将存储卡703由扫描仪701的存储卡存取装置7010内拔出来,再将存储卡703插入计算机主机7020的存储卡存取装置7022内,计算机主机7020经由存储卡存取装置7022读取存储卡703内的扫描图像,并将扫描图像显示在显示器7021上。When the image transmission and preview system 700 is in operation, the user must insert the memory card 703 into the memory card access device 7010 of the scanner 701 in advance. After the scanner 701 scans, the scanned image is recorded in the memory card access device 7010 Afterwards, the user must pull out the memory card 703 from the memory card access device 7010 of the scanner 701, and then insert the memory card 703 into the memory card access device 7022 of the computer host 7020, and the computer host 7020 passes The memory card access device 7022 reads the scanned image in the memory card 703 and displays the scanned image on the display 7021 .

此种图像传输与预览系统700必须等扫描仪701完成扫描后,再经由存储卡703转存扫描图像,最后,经由计算机主机7020读取存储卡703内的扫描图像,以将扫描图像显示在显示器7021上。此种方法不仅步骤复杂、费时费工,而且无法在扫描图像的同时做即时预览,须等到扫描仪701完成扫描之后才能知道图像是否正确。This kind of image transmission and preview system 700 must wait for the scanner 701 to finish scanning, then dump the scanned image through the memory card 703, and finally read the scanned image in the memory card 703 through the host computer 7020 to display the scanned image on the monitor 7021 on. This method not only has complicated steps, is time-consuming and labor-intensive, but also cannot perform real-time preview while scanning the image. It is necessary to wait until the scanner 701 finishes scanning to know whether the image is correct.

请参阅图2,为另一种现有的图像传输与预览系统800,包括扫描仪801、计算机设备802与短距离传输线缆803,计算机设备802包括计算机主机8020与显示器8021,短距离传输线缆803连接扫描仪801与计算机主机8020。短距离传输线缆803可为USB线或RS-232线等。Please refer to Fig. 2, which is another existing image transmission and preview system 800, which includes a scanner 801, computer equipment 802 and short-distance transmission cable 803, and the computer equipment 802 includes a computer host 8020 and a display 8021, and a short-distance transmission line The cable 803 connects the scanner 801 and the host computer 8020 . The short-distance transmission cable 803 can be a USB cable or an RS-232 cable or the like.

当图像传输与预览系统800运作时,在扫描仪801完成扫描之后,扫描的图像会经由短距离传输线缆803传送至计算机主机8020,计算机主机8020读取扫描图像,并将图像显示在显示器8021上。When the image transmission and preview system 800 is in operation, after the scanner 801 finishes scanning, the scanned image will be transmitted to the host computer 8020 via the short-distance transmission cable 803, and the host computer 8020 will read the scanned image and display the image on the display 8021 superior.

此图像传输与预览系统800虽然省去插拔存储卡的步骤,但是仍须等到扫描仪801完成扫描后,再将扫描图像经由短距离传输线缆803传送至计算机主机8020,最后经由计算机主机8020读取扫描图像以显示在显示器8021上。此种方法不仅必须将扫描仪801与计算机设备802设置于短距离传输线缆803可联机的范围内,而且无法在扫描图像的同时做即时预览,须等到扫描仪801完成扫描后之后才能知道图像是否正确。Although this image transmission and preview system 800 saves the step of inserting and pulling out the memory card, it still has to wait until the scanner 801 completes the scan, and then transmit the scanned image to the host computer 8020 via the short-distance transmission cable 803, and finally via the host computer 8020 The scanned image is read to be displayed on the display 8021. In this method, not only must the scanner 801 and the computer equipment 802 be set within the range where the short-distance transmission cable 803 can be connected, but also it is impossible to perform instant preview while scanning the image, and the image cannot be known until the scanner 801 completes scanning. is it right or not.

请参阅图3,为另一种现有的图像传输与预览系统900,包括扫描仪901、计算机设备902与有线网络设备903,计算机设备902包括计算机主机9020与显示器9021,有线网络设备903连接扫描仪901与计算机主机9020。有线网络设备903可为局域网络或因特网等。Please refer to Fig. 3, it is another kind of existing image transmission and preview system 900, including scanner 901, computer equipment 902 and wired network equipment 903, computer equipment 902 includes computer mainframe 9020 and display 9021, wired network equipment 903 connects scanning Instrument 901 and computer host 9020. The wired network device 903 can be a local area network or the Internet.

当图像传输与预览系统900运作时,在扫描仪901扫描完毕之后,扫描的图像会经由有线网络设备903传送至计算机主机9020,计算机主机9020读取扫描图像,并将图像显示在显示器9021上。When the image transmission and preview system 900 is in operation, after the scanner 901 scans, the scanned image will be sent to the host computer 9020 via the wired network device 903, and the host computer 9020 will read the scanned image and display the image on the monitor 9021.

此图像传输与预览系统900虽然改善了扫描仪901与计算机设备902设置位置的限制,但是仍须等到扫描仪901完成扫描后,再将扫描图像传送至计算机主机9020,最后经由计算机主机9020读取扫描图像以在显示器9021上显示图像。此种方法无法在扫描图像的同时做即时预览,须等到扫描仪801完成扫描后之后才能知道图像是否正确。Although the image transmission and preview system 900 has improved the restrictions on the installation positions of the scanner 901 and the computer equipment 902, it still has to wait until the scanner 901 finishes scanning, then transmit the scanned image to the computer host 9020, and finally read it through the computer host 9020 The image is scanned to display the image on the display 9021. In this method, real-time preview cannot be performed while the image is being scanned, and it is necessary to wait until the scanner 801 finishes scanning to know whether the image is correct.

发明内容 Contents of the invention

本发明的主要目的是针对上述背景技术存在的缺陷提供一种即时扫描即时预览的即时图像传输与预览系统。The main purpose of the present invention is to provide a real-time image transmission and preview system for real-time scanning and real-time preview to solve the defects of the above-mentioned background technology.

为实现上述目的,本发明所提供即时图像传输与预览系统包括一扫描仪与一电子设备,扫描仪沿一方向以多次线状扫描方式扫描文件并将文件扫描成一默认格式的图像,电子设备设有一显示模块,其中:扫描仪发送默认格式,并且,当扫描仪完成特定次数的线状扫描,发送一相应的扫描图像;及电子设备接收默认格式,并且,接收扫描图像,电子设备修改扫描图像,以使扫描图像符合默认格式,显示模块以该默认格式显示该扫描图像。In order to achieve the above object, the real-time image transmission and preview system provided by the present invention includes a scanner and an electronic device. The scanner scans the document in multiple linear scans along one direction and scans the document into an image in a default format. The electronic device A display module is provided, wherein: the scanner sends a default format, and, when the scanner completes a specific number of linear scans, sends a corresponding scanned image; and the electronic device receives the default format, and, receiving the scanned image, the electronic device modifies the scanned image image, so that the scanned image conforms to a default format, and the display module displays the scanned image in the default format.

本发明的另一目的是针对上述背景技术存在的缺陷提供一种即时扫描即时预览的即时图像传输与预览方法。Another object of the present invention is to provide a real-time image transmission and preview method for real-time scanning and real-time preview in view of the defects in the above-mentioned background technology.

为实现上述目的,本发明所提供即时图像传输与预览方法用于一扫描仪与一电子设备,扫描仪沿一方向以多次线状扫描方式扫描文件并将文件扫描成一默认格式的图像,电子设备设有一显示模块,该即时图像传输与预览方法包括:扫描仪发送默认格式给电子设备;电子设备接收默认格式;当扫描仪完成特定次数的线状扫描后,发送一相应的扫描图像给电子设备;电子设备接收并修改扫描图像,以使扫描图像符合默认格式;及显示模块以默认格式显示扫描图像。In order to achieve the above object, the real-time image transmission and preview method provided by the present invention is used for a scanner and an electronic device. The scanner scans the document in multiple linear scans along one direction and scans the document into an image in a default format. The device is equipped with a display module. The instant image transmission and preview method includes: the scanner sends a default format to the electronic device; the electronic device receives the default format; when the scanner completes a specific number of linear scans, it sends a corresponding scanned image to the electronic device. The device; the electronic device receives and modifies the scanned image so that the scanned image conforms to a default format; and the display module displays the scanned image in the default format.

综上所述,本发明即时图像传输与预览系统及其传输与预览方法可在默认扫描图像格式的情况下,在扫描仪每执行完特定次数的线状扫描之后即可发送扫描图像给电子设备,而电子设备可即时接收该扫描图像并依照默认扫描图像格式即时显示该扫描图像,以实现即时扫描即时预览的功能。In summary, the real-time image transmission and preview system and its transmission and preview method of the present invention can send scanned images to electronic devices after the scanner performs a specific number of linear scans in the default scanned image format , and the electronic device can immediately receive the scanned image and instantly display the scanned image according to the default scanned image format, so as to realize the function of instant scanning and instant preview.

附图说明 Description of drawings

图1为现有的图像传输与预览系统的示意图。FIG. 1 is a schematic diagram of an existing image transmission and preview system.

图2为另一种现有的图像传输与预览系统的示意图。Fig. 2 is a schematic diagram of another existing image transmission and preview system.

图3为又一种现有的图像传输与预览系统的示意图。Fig. 3 is a schematic diagram of another existing image transmission and preview system.

图4为本发明即时图像传输与预览系统的示意图。FIG. 4 is a schematic diagram of the real-time image transmission and preview system of the present invention.

图5为本发明即时图像传输与预览系统的功能方框图。Fig. 5 is a functional block diagram of the real-time image transmission and preview system of the present invention.

图6为本发明即时图像传输与预览方法的流程图。FIG. 6 is a flow chart of the instant image transmission and preview method of the present invention.

图7为本发明即时图像传输与预览方法的封包示意图。FIG. 7 is a schematic diagram of a package of the instant image transmission and preview method of the present invention.

图8为本发明即时图像传输方法的流程图。FIG. 8 is a flow chart of the instant image transmission method of the present invention.

图9为本发明即时图像预览方法的流程图。FIG. 9 is a flow chart of the instant image preview method of the present invention.

上述附图中的附图标记说明如下:The reference numerals in the above-mentioned accompanying drawings are explained as follows:

背景技术 Background technique

图像传输与预览系统    700、800、900Image transmission and preview system 700, 800, 900

扫描仪                701、801、901Scanner 701, 801, 901

存储卡存取装置        7010、7022Memory card access device 7010, 7022

计算机设备            702、802、902Computer equipment 702, 802, 902

计算机主机      7020、8020、9020Computer host 7020, 8020, 9020

显示器          7021、8021、9021Monitor 7021, 8021, 9021

存储卡          703   短距离传输线缆    803Memory card 703 Short distance transmission cable 803

有线网络设备    903Wired network equipment 903

本发明this invention

即时图像传输与预览系统    100Instant image transmission and preview system 100

手持式扫描仪    1     扫描模块      10Handheld Scanner 1 Scanning Module 10

第一处理器      11    第一内存      12First processor 11 First memory 12

无线转接器      13    按钮          14Wireless Adapter 13 Button 14

台式计算机      2     移动电话      3Desktop Computer 2 Mobile Phone 3

笔记本电脑      4     电子书        5Laptop 4 E-book 5

显示模块        50    第二处理器    51Display module 50 Second processor 51

第二内存        52    无线模块      53Second Memory 52 Wireless Module 53

具体实施方式 Detailed ways

为详细说明本发明的技术内容、构造特征、所实现的目的及功效,以下例举实施例并配合附图予以详细说明。In order to describe in detail the technical content, structural features, achieved goals and effects of the present invention, the following examples are given and described in detail with accompanying drawings.

请参阅图4与图5,本发明即时图像传输与预览系统100运用在无线网络中,例如WiFi网络。本发明即时图像传输与预览系统100包括扫描仪与无线设备,无线设备包括台式计算机2、移动电话3、笔记本电脑4与电子书5等。在本发明实施例中,扫描仪可为一手持式扫描仪1,无线设备可为电子书5,手持式扫描仪1与电子书5可经由WiFi网络互相连接。在真正实施时,可以用任一具有无线功能的电子设备取代电子书5。Please refer to FIG. 4 and FIG. 5 , the real-time image transmission and preview system 100 of the present invention is applied in a wireless network, such as a WiFi network. The real-time image transmission and preview system 100 of the present invention includes a scanner and a wireless device, and the wireless device includes a desktop computer 2 , a mobile phone 3 , a notebook computer 4 , and an e-book 5 . In the embodiment of the present invention, the scanner can be a hand-held scanner 1 , the wireless device can be an e-book 5 , and the hand-held scanner 1 and the e-book 5 can be connected to each other via a WiFi network. In actual implementation, any electronic device with wireless function can be used to replace the e-book 5 .

手持式扫描仪1具有扫描模块10、第一处理器11与第一内存12,手持式扫描仪1可连接一无线转接器13,以经由无线信号收发数据,电子书5具有显示模块50、第二处理器51、第二内存52与无线模块53。扫描模块10可沿一方向以多次线状扫描方式扫描文件,第一处理器11用以控制手持式扫描仪1的运作,第一内存12用以储存手持式扫描仪1的运作数据与扫描的图像数据。The handheld scanner 1 has a scanning module 10, a first processor 11, and a first memory 12. The handheld scanner 1 can be connected to a wireless adapter 13 to transmit and receive data via wireless signals. The electronic book 5 has a display module 50, A second processor 51 , a second memory 52 and a wireless module 53 . The scanning module 10 can scan documents in multiple linear scans along one direction. The first processor 11 is used to control the operation of the hand-held scanner 1. The first memory 12 is used to store the operation data and scanning data of the hand-held scanner 1. image data.

无线模块53用以接收图像数据,第二内存52用以储存接收的图像数据,第二处理器51用以控制电子书5的运作,显示模块50用以显示接收的图像。在真正实施时,无线转接器13可为一USB无线转接器,用以将USB信号转成WiFi信号,电子书5的无线模块53可为一WiFi模块。The wireless module 53 is used to receive image data, the second memory 52 is used to store the received image data, the second processor 51 is used to control the operation of the electronic book 5 , and the display module 50 is used to display the received image. In actual implementation, the wireless adapter 13 can be a USB wireless adapter for converting USB signals into WiFi signals, and the wireless module 53 of the electronic book 5 can be a WiFi module.

当即时图像传输与预览系统100运作时,手持式扫描仪1的第一处理器11控制扫描模块10沿一方向以多次线状扫描方式扫描文件。例如,扫描模块10以线状扫描方式从文件的上方到下方逐渐扫描文件,扫描模块10一次可扫描文件的一部分,扫描模块10在经过多次扫描后即可扫描完整个文件。When the real-time image transmission and preview system 100 is in operation, the first processor 11 of the hand-held scanner 1 controls the scanning module 10 to scan the document in multiple linear scans along a direction. For example, the scanning module 10 gradually scans the document from the top to the bottom of the document in a linear scanning manner, the scanning module 10 can scan a part of the document at a time, and the scanning module 10 can scan the entire document after multiple scans.

当扫描模块10执行完一次线状扫描之后,第一处理器11将扫描到的部分图像储存至第一内存12,并经由无线转接器13将部分图像传送至电子书5的无线模块53。After the scanning module 10 performs a linear scan, the first processor 11 stores the scanned part of the image in the first memory 12 , and transmits the part of the image to the wireless module 53 of the e-book 5 via the wireless adapter 13 .

第二处理器51检测到无线模块53接收到部分图像之后,将部分图像储存至第二内存52,之后,第二处理器51读取并修改部分图像,以使部分图像符合图像显示格式,最后,显示模块50显示修改过后且符合图像显示格式的部分图像。因此,本发明即时图像传输与预览系统1可实现即时扫描与即时预览的功能,另外,当上述作业重复执行时,在手持式扫描仪1的扫描模块逐渐完成扫描时,电子书5的显示模块50也随之逐渐显示完整的图像。After the second processor 51 detects that the wireless module 53 has received the partial image, the partial image is stored in the second memory 52, and then the second processor 51 reads and modifies the partial image so that the partial image conforms to the image display format, and finally , the display module 50 displays the modified partial image conforming to the image display format. Therefore, the real-time image transmission and preview system 1 of the present invention can realize the functions of real-time scanning and real-time preview. In addition, when the above-mentioned operations are repeatedly executed, when the scanning module of the hand-held scanner 1 gradually completes scanning, the display module of the electronic book 5 50 also gradually reveals the complete image.

请参阅图6到图9与下表1,本发明即时图像传输与预览方法6可以软件方式烧录在第一内存12与第二内存52内,第一处理器11与第二处理器51可分别读取第一内存12与第二内存52并执行软件以实现即时图像传输与预览方法6。Please refer to FIG. 6 to FIG. 9 and the following table 1, the real-time image transmission and preview method 6 of the present invention can be burned in the first memory 12 and the second memory 52 in the form of software, and the first processor 11 and the second processor 51 can Read the first memory 12 and the second memory 52 respectively and execute the software to realize the instant image transmission and preview method 6 .

本发明即时图像传输与预览方法6包括运用于掌上型扫描器1的即时图像传输方法60以及运用于电子书5的即时图像预览方法65。请参阅图8,即时图像传输方法60包括以下步骤:The instant image transmission and preview method 6 of the present invention includes an instant image transmission method 60 applied to the palm scanner 1 and an instant image preview method 65 applied to the e-book 5 . Referring to Fig. 8, instant image transmission method 60 comprises the following steps:

步骤600:当手持式扫描仪1开机后,第一处理器11读取第一内存12内的数据以控制手持式扫描仪1的运作并启动即时图像传输功能,当手持式扫描仪1待机时,第一处理器产生一待机信息封包。如图7与表1所示,待机信息封包具有三个字段,分别为代码字段、长度字段与数据字段。待机信息封包的代码字段被写入0X00,长度字段被写入0,数据字段不被写入任何数据,此待机信息封包指示手持式扫描仪1处于待机状态。Step 600: When the handheld scanner 1 is turned on, the first processor 11 reads the data in the first memory 12 to control the operation of the handheld scanner 1 and start the instant image transmission function. When the handheld scanner 1 is in standby , the first processor generates a standby information packet. As shown in FIG. 7 and Table 1, the standby information packet has three fields, namely a code field, a length field and a data field. The code field of the standby information packet is written with 0X00, the length field is written with 0, and the data field is not written with any data. The standby information packet indicates that the handheld scanner 1 is in a standby state.

步骤601:第一处理器11将待机信息封包传送至无线转接器13,并经由无线转接器13以WiFi信号发送待机信息封包。Step 601: The first processor 11 transmits the standby information packet to the wireless adapter 13, and sends the standby information packet via the wireless adapter 13 with a WiFi signal.

步骤602:第一处理器11判断扫描模块10是否开始扫描。如果扫描模块10尚未开始扫描,则重复执行步骤600。Step 602: The first processor 11 determines whether the scanning module 10 starts scanning. If the scanning module 10 has not started scanning, step 600 is repeated.

步骤603:如果扫描模块10开始扫描,第一处理器11产生一格式信息封包。格式信息封包的代码字段被写入0X01,长度字段被写入1,数据字段可依照扫描格式被写入相应的数值。本实施例中,扫描格式可分为彩色高解析扫描、彩色低解析扫描、灰阶高解析扫描与灰阶低解析扫描等四种,且图像压缩格式可选择JPEG压缩技术,图像大小可选择为长度10英寸、宽度5英寸,依照上述四种扫描格式,数据字段可被写入0、1、2或3等四种数值。此格式封包指出图像将被扫描成何种格式。在真正实施时,图像压缩格式与图像大小可以为其他广泛使用格式。Step 603: If the scanning module 10 starts scanning, the first processor 11 generates a format information packet. The code field of the format information packet is written into 0X01, the length field is written into 1, and the data field can be written into corresponding values according to the scanning format. In this embodiment, the scanning format can be divided into four types: color high-resolution scanning, color low-resolution scanning, gray-scale high-resolution scanning and gray-scale low-resolution scanning, and the image compression format can choose JPEG compression technology, and the image size can be selected as The length is 10 inches and the width is 5 inches. According to the above four scanning formats, the data field can be written with four values of 0, 1, 2 or 3. This format packet indicates in which format the image will be scanned. When actually implemented, the image compression format and image size can be other widely used formats.

步骤604:第一处理器11将格式信息封包传送至无线转接器13,并经由无线转接器13发送格式信息封包。Step 604: The first processor 11 transmits the format information packet to the wireless adapter 13, and sends the format information packet via the wireless adapter 13.

步骤605:第一处理器11判断扫描程序是否中断。在真正实施时,使用者可以经由按压手持式扫描仪1机壳上的按钮14以中断扫描,或者,当第一处理器11检测到手持式扫描仪1发生异常时也可中断扫描。Step 605: The first processor 11 determines whether the scanning procedure is interrupted. In actual implementation, the user can interrupt the scanning by pressing the button 14 on the casing of the handheld scanner 1 , or the scanning can also be interrupted when the first processor 11 detects an abnormality in the handheld scanner 1 .

步骤606:如果扫描中断,第一处理器11产生一中断信息封包,中断信息封包的代码字段被写入0X40,长度字段被写入0,数据字段不被写入任何数据,此中断信息封包指出手持式扫描仪1处于中断扫描状态。Step 606: If the scan is interrupted, the first processor 11 generates an interrupt information packet, the code field of the interrupt information packet is written into 0X40, the length field is written into 0, and the data field is not written into any data. This interrupt information packet indicates The handheld scanner 1 is in the interrupted scanning state.

步骤607:第一处理器11将中断信息封包传送至无线转接器13,并经由无线转接器13发送中断信息封包。之后,重复执行步骤600。Step 607: The first processor 11 transmits the interruption information packet to the wireless adapter 13, and sends the interruption information packet via the wireless adapter 13. Afterwards, step 600 is repeatedly executed.

步骤608:如果扫描继续,扫描模块10以线状方式逐次扫描部分文件。Step 608: If the scanning continues, the scanning module 10 scans part of the files sequentially in a linear manner.

步骤609:第一处理器11计算扫描的图像位数并产生一图像封包,图像封包的代码字段被写入0X02。长度字段被写入扫描图像的位数,例如,扫描图像的位为256字节时,长度字段被写入256。数据字段被写入扫描取得的部分图像。Step 609: The first processor 11 calculates the number of scanned image bits and generates an image packet, and the code field of the image packet is written into 0X02. The length field is written into the number of bits of the scanned image, for example, when the number of bits of the scanned image is 256 bytes, the length field is written into 256. The data field is written to the scanned portion of the image.

步骤610:第一处理器11将图像封包传送至无线转接器13,并经由无线转接器13发送图像封包。Step 610 : The first processor 11 transmits the image packet to the wireless adapter 13 , and sends the image packet via the wireless adapter 13 .

步骤611:第一处理器11判断扫描是否完成。如果尚未完成扫描,则重复执行步骤605。Step 611: The first processor 11 judges whether the scanning is completed. If the scan has not been completed, step 605 is repeatedly performed.

步骤612:如果完成扫描,第一处理器11产生一完成信息封包。完成信息封包的代码字段被写入0XFF。长度字段被写入该扫描格式的文件头位数,例如,扫描格式的文件头位为5字节时,长度字段被写入5。数据字段被写入该扫描格式的文件头数据。Step 612: If the scan is completed, the first processor 11 generates a completion packet. The code field of the completion packet is written with 0XFF. The length field is written into the file header number of the scan format, for example, when the file header number of the scan format is 5 bytes, the length field is written into 5. The data field is written in the header data of the scan format.

在真正实施时,完成步骤612之后可重复执行步骤600以连续执行即时图像传输功能。In actual implementation, after step 612 is completed, step 600 may be repeatedly performed to continuously perform the instant image transmission function.

Figure BSA00000307146800071
Figure BSA00000307146800071

请参阅图9,即时图像预览方法65包括以下步骤:Referring to Fig. 9, the instant image preview method 65 includes the following steps:

步骤650:当电子书5开机后,第二处理器51读取第二内存52内的数据以控制电子书5的运作并启动即时图像预览功能,第二处理器51控制无线模块53以接收手持式扫描仪1发出的封包。Step 650: When the electronic book 5 is turned on, the second processor 51 reads the data in the second memory 52 to control the operation of the electronic book 5 and activate the instant image preview function, and the second processor 51 controls the wireless module 53 to receive the handheld Packet sent by Type Scanner 1.

步骤651:第二处理器51读取封包内的代码字段。Step 651: The second processor 51 reads the code field in the packet.

步骤652:第二处理器51判断代码字段。如果代码字段为0X00,代表手持式扫描仪1处于待机状态。此时重复执行步骤650。Step 652: The second processor 51 judges the code field. If the code field is 0X00, it means that the handheld scanner 1 is in standby state. At this point, step 650 is repeatedly executed.

步骤653:如果代码字段为0X01,代表手持式扫描仪1已经开始扫描程序。此时第二处理器51读取封包内的数据字段。Step 653: If the code field is 0X01, it means that the handheld scanner 1 has started the scanning procedure. At this time, the second processor 51 reads the data field in the packet.

步骤654:第二处理器51判断数据字段内的数值。第二处理器51可经由判断数据字段内的数值以得知扫描图像的格式,并且记录图像格式。Step 654: The second processor 51 judges the value in the data field. The second processor 51 can know the format of the scanned image by judging the value in the data field, and record the format of the image.

步骤655:第二处理器51根据数据字段内的数值建立一内存空间。意即,第二处理器51根据图像格式建立符合图像格式位数的内存空间。Step 655: The second processor 51 creates a memory space according to the value in the data field. That is, the second processor 51 establishes a memory space corresponding to the number of bits of the image format according to the image format.

步骤656:第二处理器51控制无线模块53以接收手持式扫描仪1发出的封包。Step 656 : The second processor 51 controls the wireless module 53 to receive the packet sent by the handheld scanner 1 .

步骤657:第二处理器51读取封包内的代码字段。Step 657: The second processor 51 reads the code field in the packet.

步骤658:第二处理器51判断代码字段。如果代码字段为0X40,代表手持式扫描仪1处于中断扫描状态。此时重复执行步骤650。Step 658: The second processor 51 judges the code field. If the code field is 0X40, it means that the hand-held scanner 1 is in interrupted scanning state. At this point, step 650 is repeatedly executed.

步骤659:如果代码字段为0X02,代表此封包为图像封包。第二处理器51读取封包内的长度字段与数据字段,并将图像数据储存在内存空间。Step 659: If the code field is 0X02, it means that the packet is an image packet. The second processor 51 reads the length field and the data field in the packet, and stores the image data in the memory space.

步骤660:第二处理器51读取内存空间内存的图像数据。在真正实施时,如果第二处理器51未根据图像的格式建立符合图像格式位数的内存空间,而是利用一固定容量的内存空间来储存图像数据时,第二处理器51可以根据图像格式的位数去读取固定图像空间内符合位数的最新图像数据。例如,固定容量的内存空间可存储长度20英寸、宽度8.5英寸的图像,而扫描图像的图像格式为长度10英寸、宽度8.5英寸,则第二处理器51会读取最晚被写入的长度10英寸、宽度8.5英寸的图像,并在图像内加上结束码以使图像能被显示。在真正实施时,扫描图像的图像格式可为JPEG格式,当第二处理器51读取最晚被写入的长度10英寸、宽度8.5英寸的图像后,会在图像中加入FFD9的结束码以使图像符合JPEG格式。Step 660: The second processor 51 reads the image data stored in the memory space. During actual implementation, if the second processor 51 does not set up a memory space conforming to the number of digits of the image format according to the format of the image, but utilizes a fixed-capacity memory space to store image data, the second processor 51 can store image data according to the image format. The number of bits to read the latest image data that matches the number of bits in the fixed image space. For example, the fixed-capacity memory space can store an image with a length of 20 inches and a width of 8.5 inches, and the image format of the scanned image is 10 inches in length and 8.5 inches in width, then the second processor 51 will read the latest written length 10-inch, 8.5-inch wide image, and add an end code to the image so that the image can be displayed. In actual implementation, the image format of the scanned image can be in JPEG format. After the second processor 51 reads the latest written image with a length of 10 inches and a width of 8.5 inches, it will add an end code of FFD9 to the image to Make the image conform to JPEG format.

步骤661:第二处理器51驱动显示模块50以显示最新的图像。Step 661: The second processor 51 drives the display module 50 to display the latest image.

步骤662:第二处理器51控制无线模块5以接收手持式扫描仪1发出的封包。Step 662 : The second processor 51 controls the wireless module 5 to receive the packet sent by the handheld scanner 1 .

步骤663:第二处理器51读取封包内的代码字段。Step 663: The second processor 51 reads the code field in the packet.

步骤664:第二处理器51判断代码字段是否为0XFF。如果代码栏不是0XFF,则重复执行步骤658。Step 664: The second processor 51 judges whether the code field is 0XFF. If the code column is not 0XFF, step 658 is repeatedly executed.

步骤665:如果代码字段为0XFF代表手持式扫描仪1已经完成扫描,意即,图像传输已经完成。此时第二处理器51读取长度字段与数据字段。Step 665: If the code field is 0XFF, it means that the handheld scanner 1 has finished scanning, that is, the image transmission has been completed. At this time, the second processor 51 reads the length field and the data field.

步骤666:第二处理器51将数据字段内的文件头数据加入图像中以形成一符合格式的完整图像,之后,第二处理器51将图像储存为单一图像文件案,例如一JPEG文件。之后,即时图像预览即可完成。Step 666: The second processor 51 adds the header data in the data field to the image to form a complete image conforming to the format. Afterwards, the second processor 51 stores the image as a single image file, such as a JPEG file. After that, the instant image preview is complete.

在真正实施时,在完成步骤666之后可重复执行步骤650以连续执行即时图像预览功能。In actual implementation, after step 666 is completed, step 650 may be repeatedly performed to continuously perform the instant image preview function.

综上所述,本发明即时图像传输与预览系统及其传输与预览方法1可用运用于无线网络中,在预先设定扫描图像格式的情况下,在手持式扫描仪1每执行完一次现状扫描之后即可发送部分图像给电子书5,而电子书5可即时接收部分图像并依照预先设定扫描图像格式即时显示部分图像,以实现即时扫描即时预览的功能。To sum up, the real-time image transmission and preview system and its transmission and preview method 1 of the present invention can be used in wireless networks. In the case of preset scanning image format, each time the hand-held scanner 1 performs a status scan Afterwards, the part of the image can be sent to the e-book 5, and the e-book 5 can immediately receive the part of the image and display the part of the image in accordance with the preset scanning image format, so as to realize the function of real-time scanning and real-time preview.

Claims (10)

1.一种即时图像传输与预览系统,包括一扫描仪与一电子设备,扫描仪沿一方向以多次线状扫描方式扫描文件并将文件扫描成一默认格式的图像,电子设备设有一显示模块,其特征在于:1. A real-time image transmission and preview system, comprising a scanner and an electronic device, the scanner scans documents in multiple linear scans along one direction and scans the documents into an image in a default format, and the electronic device is provided with a display module , characterized by: 扫描仪发送默认格式,并且,当扫描仪完成特定次数的线状扫描,发送一相应的扫描图像;及the scanner sends the default format, and, when the scanner completes a specified number of line scans, sends a corresponding scanned image; and 电子设备接收默认格式,并且,接收扫描图像,电子设备修改扫描图像,以使扫描图像符合默认格式,显示模块以该默认格式显示该扫描图像。The electronic device receives the default format, and upon receiving the scanned image, the electronic device modifies the scanned image so that the scanned image conforms to the default format, and the display module displays the scanned image in the default format. 2.根据权利要求1所述的即时图像传输与预览系统,其特征在于:2. The instant image transmission and preview system according to claim 1, characterized in that: 所述扫描仪发送默认格式之后,持续特定次数的线状扫描,并且持续发送相应的扫描图像;After the scanner sends the default format, it continues a specific number of linear scans, and continues to send corresponding scanned images; 所述电子设备接收默认格式之后,持续接收扫描图像并依接收顺序合并扫描图像,电子设备修改合并的扫描图像,以使合并的扫描图像符合默认格式,显示模块以默认格式显示合并的扫描图像。After the electronic device receives the default format, it continues to receive scanned images and merges the scanned images in the order received, the electronic device modifies the merged scanned images so that the merged scanned images conform to the default format, and the display module displays the merged scanned images in the default format. 3.根据权利要求2所述的即时图像传输与预览系统,其特征在于:所述电子设备接收默认格式之后,建立一内存空间以依序储存扫描图像,电子设备根据默认格式读取内存空间内存的扫描图像以显示在显示模块上。3. The real-time image transmission and preview system according to claim 2, characterized in that: after the electronic device receives the default format, it creates a memory space to sequentially store scanned images, and the electronic device reads the memory space according to the default format scanned image to display on the display module. 4.根据权利要求3所述的即时图像传输与预览系统,其特征在于:所述默认格式包括图像压缩格式与图像尺寸。4. The real-time image transmission and preview system according to claim 3, wherein the default format includes image compression format and image size. 5.根据权利要求4所述的即时图像传输与预览系统,其特征在于:所述电子设备读取内存空间内符合图像尺寸且储存顺序较晚的扫描图像以显示在显示模块上,扫描仪为一掌上型扫描器并连接有一无线转接器以收发WiFi信号,电子设备设有一无线模块以收发WiFi信号,默认格式与扫描图像经由无线转接器传送至无线模块。5. The real-time image transmission and preview system according to claim 4, characterized in that: the electronic device reads the scanned images that meet the image size and are stored later in the memory space to be displayed on the display module, and the scanner is A handheld scanner is connected with a wireless adapter to send and receive WiFi signals. The electronic device is provided with a wireless module to send and receive WiFi signals. The default format and scanned images are transmitted to the wireless module through the wireless adapter. 6.一种即时图像传输与预览方法,用于一扫描仪与一电子设备,扫描仪沿一方向以多次线状扫描方式扫描文件并将文件扫描成一默认格式的图像,电子设备设有一显示模块,其特征在于:包括:6. A real-time image transmission and preview method, used for a scanner and an electronic device, the scanner scans the document in a multiple linear scanning manner along one direction and scans the document into an image in a default format, and the electronic device is provided with a display The module is characterized in that: comprising: 扫描仪发送默认格式给电子设备;The scanner sends the default format to the electronic device; 电子设备接收默认格式;The electronic device receives the default format; 当扫描仪完成特定次数的线状扫描后,发送一相应的扫描图像给电子设备;When the scanner completes a certain number of linear scans, it sends a corresponding scanned image to the electronic device; 电子设备接收并修改扫描图像,以使扫描图像符合默认格式;及The electronic device receives and modifies the scanned image so that the scanned image conforms to a default format; and 显示模块以默认格式显示扫描图像。The display module displays scanned images in a default format. 7.根据权利要求6所述的即时图像传输与预览方法,其特征在于:进一步包括:7. The instant image transmission and preview method according to claim 6, characterized in that: further comprising: 所述扫描仪持续特定次数的线状扫描,且持续发送相应的扫描图像;The scanner continues to perform linear scanning for a specific number of times, and continuously sends corresponding scanned images; 所述电子设备持续接收扫描图像并依接收顺序合并该扫描图像,电子设备修改该合并的扫描图像,以使合并的扫描图像符合默认格式;及The electronic device continuously receives scanned images and merges the scanned images in the order received, and the electronic device modifies the merged scanned image so that the merged scanned image conforms to a default format; and 显示模块以默认格式显示合并的扫描图像。The display module displays the merged scanned image in the default format. 8.根据权利要求7所述的即时图像传输与预览方法,其特征在于:进一步包括:8. The instant image transmission and preview method according to claim 7, characterized in that: further comprising: 所述电子设备接收默认格式之后,建立一内存空间以依序储存该扫描图像;After receiving the default format, the electronic device establishes a memory space to sequentially store the scanned images; 电子设备根据默认格式读取内存空间内存的扫描图像以显示在显示模块上。The electronic device reads the scanned image stored in the memory space according to a default format to display on the display module. 9.根据权利要求8所述的即时图像传输与预览方法,其特征在于:所述默认格式包括图像压缩格式与图像尺寸。9. The instant image transmission and preview method according to claim 8, wherein the default format includes image compression format and image size. 10.根据权利要求9所述的即时图像传输与预览方法,其特征在于:所述电子设备读取内存空间内符合图像尺寸且储存顺序较晚的扫描图像以显示在显示模块上,扫描仪为一掌上型扫描器并连接有一无线转接器以收发WiFi信号,电子设备设有一无线模块以收发WiFi信号,默认格式与扫描图像经由无线转接器传送至无线模块。10. The instant image transmission and preview method according to claim 9, characterized in that: the electronic device reads scanned images in the memory space that meet the image size and are stored later in order to display on the display module, and the scanner is A handheld scanner is connected with a wireless adapter to send and receive WiFi signals. The electronic device is provided with a wireless module to send and receive WiFi signals. The default format and scanned images are transmitted to the wireless module through the wireless adapter.
CN2010105094187A 2010-09-29 2010-09-29 Instant image transmission and preview system and transmission and preview method thereof Pending CN102438096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105094187A CN102438096A (en) 2010-09-29 2010-09-29 Instant image transmission and preview system and transmission and preview method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105094187A CN102438096A (en) 2010-09-29 2010-09-29 Instant image transmission and preview system and transmission and preview method thereof

Publications (1)

Publication Number Publication Date
CN102438096A true CN102438096A (en) 2012-05-02

Family

ID=45985959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105094187A Pending CN102438096A (en) 2010-09-29 2010-09-29 Instant image transmission and preview system and transmission and preview method thereof

Country Status (1)

Country Link
CN (1) CN102438096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959503A (en) * 2016-05-25 2016-09-21 西北工业大学 Remote image preview transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252670A (en) * 1998-10-27 2000-05-10 佳能株式会社 Image communication apparatus and its communication control method
CN1266244A (en) * 1999-02-24 2000-09-13 惠普公司 Operation method for simutaneously multi-mode catching press-button
CN1790419A (en) * 2005-10-21 2006-06-21 曲建明 Method for standardizing medical digital image information in accordance with required format and application thereof
US20080112638A1 (en) * 2006-11-10 2008-05-15 Samsung Electronics Co., Ltd. Computer system and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252670A (en) * 1998-10-27 2000-05-10 佳能株式会社 Image communication apparatus and its communication control method
CN1266244A (en) * 1999-02-24 2000-09-13 惠普公司 Operation method for simutaneously multi-mode catching press-button
CN1790419A (en) * 2005-10-21 2006-06-21 曲建明 Method for standardizing medical digital image information in accordance with required format and application thereof
US20080112638A1 (en) * 2006-11-10 2008-05-15 Samsung Electronics Co., Ltd. Computer system and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959503A (en) * 2016-05-25 2016-09-21 西北工业大学 Remote image preview transmission method and device

Similar Documents

Publication Publication Date Title
US10084933B2 (en) Apparatus and method of scanning and/or printing an image
US10108584B2 (en) Host apparatus and screen capture control method thereof
US8665481B2 (en) Image processing system, information processing apparatus, image processing apparatus, control method therefor, and computer program
JP4680197B2 (en) Portable terminal device, printing system and method
US20110019242A1 (en) Image processing system, image processing apparatus, image data transfer method and recording medium
US8966397B2 (en) Method of converting digital data
CN102438096A (en) Instant image transmission and preview system and transmission and preview method thereof
JP2015164021A (en) Image processing system and processing method and program thereof
WO2007032585A1 (en) Mobile printing device in use wireless communication
TW201419829A (en) A scanner, an intelligent scanner system and a method for controlling remote printing of the scanner
KR101033538B1 (en) Digital pen connection system for mobile phones
JP2012090178A (en) System and method for real time image transmission and preview
JP2014179044A (en) Information processing system, output system, and output method
JP5223328B2 (en) Information management apparatus, information management method, and program thereof
TW201215087A (en) System and method for real time image transmission and preview
JP2008022489A (en) Data transmission/reception system, data transmission/reception method and program
KR20020071065A (en) Wire or wireless character identify system using pen scanner
JP2005184673A (en) Network fax machine
CN103678434A (en) Method for automatically converting format of scanned image document
JP2002051248A (en) Camera, image transmission method, and image transmission / reception method
JP2005025491A (en) Print system
JP2006229721A (en) Network facsimile machine and system thereof
JP2018165865A (en) Information processing device, information processing method, program
JP2014120924A (en) Image processing apparatus, image processing method, and program
JPH08274966A (en) Composite function communication equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120502