CN110515571A - A kind of image data Bluetooth transmission print system and method based on dither algorithm - Google Patents
A kind of image data Bluetooth transmission print system and method based on dither algorithm Download PDFInfo
- Publication number
- CN110515571A CN110515571A CN201910810719.4A CN201910810719A CN110515571A CN 110515571 A CN110515571 A CN 110515571A CN 201910810719 A CN201910810719 A CN 201910810719A CN 110515571 A CN110515571 A CN 110515571A
- Authority
- CN
- China
- Prior art keywords
- data
- bluetooth
- spp
- module
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1292—Mobile client, e.g. wireless printing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Abstract
The invention belongs to smart bluetooth equipment and application method fields, are specifically related to a kind of image data Bluetooth transmission print system and method based on dither algorithm.Including mobile data terminal and Portable Bluetooth printing device;Mobile data terminal includes SPP data transmission unit;Portable Bluetooth printing device includes SPP data transmission module, print module, image processing module;SPP data transmission unit is connected with SPP data transmission module, establishes SPP data channel;SPP data transmission module receives the photo print data that SPP data transmission unit is sent, and is sent to image processing module;It is converted by image processing module to photo print data are received, and is sent to print module.The utility model has the advantages that the calculation dithering has the characteristics that be simple and efficient, photo print effect actual response picture carries information, and print data transmission quantity is small, effectively improves image data Bluetooth transmission efficiency.
Description
Technical field
The invention belongs to smart bluetooth equipment and application method fields, are specifically related to a kind of picture based on dither algorithm
Bluetooth data transfer printing system and method.
Background technique
As mobile communication technology continues to develop, the portable printing device such as hand held printer is with constantly popularizing, such as mobile phone
The photo of the inside storage can be printed by hand-portable printer.Existing Portable Bluetooth printing device prints color image
When be to make corresponding pixel blackening or white by image binaryzation, cause the image printed to show mostly unclear, it is special
It is not when original image color is abundanter, the image detail printed is more unclear.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of, the image data Bluetooth transmission based on dither algorithm is printed
System and method overcomes existing Portable Bluetooth printing device printing color by optimization system structures and methods steps flow chart
Chromatic graph is as soft edge, the problems such as details is distorted.
The specific technical proposal is: a kind of image data Bluetooth transmission Method of printing based on dither algorithm, including mobile number
According to terminal and Portable Bluetooth printing device;
Mobile data terminal includes SPP data transmission unit;
Portable Bluetooth printing device includes SPP data transmission module, print module, image processing module;
SPP data transmission unit is connected with SPP data transmission module, establishes SPP data channel;SPP data transmission module connects
The photo print data that SPP data transmission unit is sent are received, and are sent to image processing module;It is docked by image processing module
It receives photo print data to be converted, and is sent to print module.
A kind of image data Bluetooth transmission Method of printing based on dither algorithm, comprising the following steps:
Step 1 (S101), mobile data terminal and Portable Bluetooth printing device establish SPP data connection;
Step 2 (S102), user need to print digital picture by mobile data terminal addition;
Step 3 (S103), user are configured papery picture parameter by mobile data terminal;
Photo print data are sent Portable Bluetooth printing device by step 4 (S104), mobile data terminal;
Step 5 (S105), Portable Bluetooth printing device carry out print job according to the photo print data received;
Step 6 (S106), mobile data terminal judge whether printing succeeds according to Portable Bluetooth printing device feedback result, and
Prompt user.
Preferably, based on step 1 in the image data Bluetooth transmission print system and method for dither algorithm specifically:
Mobile data terminal scanning obtains periphery bluetooth equipment UUID;SPP data transmission unit is according to the UUID characteristic value of agreement, automatically
Judge Portable Bluetooth printing device and is attached.
Preferably, based on step 3 in the image data Bluetooth transmission print system and method for dither algorithm specifically:
User presets papery picture parameter in mobile data terminal;Parameter includes range, length and width, rotation angle angle.
Preferably, based on step 4 in the image data Bluetooth transmission print system and method for dither algorithm specifically:
Mobile data terminal makes digital picture gray processing according to papery picture parameter, and is handled by dither algorithm;
Dither algorithm code:
Corresponding picture print data is generated, and arrives Portable Bluetooth printing device.
Preferably, based on step 5 in the image data Bluetooth transmission print system and method for dither algorithm specifically:
Portable Bluetooth printing device receives the photo print data that SPP data transmission unit is sent by SPP data transmission module, concurrently
It is sent to image processing module;It is converted by image processing module to photo print data are received, and is sent to print module;
Corresponding papery picture is printed by print module.
Preferably, based on step 6 in the image data Bluetooth transmission print system and method for dither algorithm specifically:
After Portable Bluetooth printing device completes printing, field is returned to by SPP data transmission module and gives SPP data transmission module;It is mobile
After data terminal receives field, judge whether comprising specific fields;If comprising prompting user to print successfully;If 30 seconds do not connect
It receives comprising specific fields, user is prompted to print failure.
Preferably, mobile data involved in the image data Bluetooth transmission print system and method based on dither algorithm is whole
End is smart phone, tablet computer, laptop, smartwatch, intelligent glasses;Portable Bluetooth printing device is hand-hold Bluetooth
Printer.
Preferably, based in the image data Bluetooth transmission print system and method for dither algorithm, user passes through manipulation
APP controls mobile data terminal.
After above-mentioned technical proposal, the beneficial effects of the present invention are:
Relative to disclosed technical solution, the technical program will by image data Bluetooth transmission print system and method, gram
Existing Portable Bluetooth printing device printing color image soft edge is taken, the problems such as details is distorted.Specific innovative point is: the calculation
Dithering has the characteristics that be simple and efficient, and photo print effect actual response picture carries information, and print data transmission quantity is small, has
Effect improves image data Bluetooth transmission efficiency.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of image data Bluetooth transmission print system based on dither algorithm;
Fig. 2 is a kind of flow diagram of image data Bluetooth transmission Method of printing step based on dither algorithm.
Specific embodiment
System as shown in Figure 1, including mobile data terminal and Portable Bluetooth printing device;
Mobile data terminal includes SPP data transmission unit;
Portable Bluetooth printing device includes SPP data transmission module, print module, image processing module;
SPP data transmission unit is connected with SPP data transmission module, establishes SPP data channel;SPP data transmission module connects
The photo print data that SPP data transmission unit is sent are received, and are sent to image processing module;It is docked by image processing module
It receives photo print data to be converted, and is sent to print module.
Wherein, mobile data terminal can be smart phone, tablet computer, laptop, smartwatch, intelligent glasses
Deng;The present embodiment mobile data terminal is by taking a smart phone as an example;Portable Bluetooth printing device is with hand-hold Bluetooth printer
Example.
It mainly include following referring to Fig. 2, being a kind of image data Bluetooth transmission Method of printing based on dither algorithm
Step:
Step 1 (S101), smart phone and hand-hold Bluetooth printer establish SPP data connection;Smart phone scanning obtains periphery
Bluetooth equipment UUID;SPP data transmission unit judges automatically hand-hold Bluetooth printer and carries out according to the UUID characteristic value of agreement
Connection.
Step 2 (S102), user need to print digital picture by smart phone APP addition;
Step 3 (S103), user are configured papery picture parameter by smart phone APP;Parameter includes range, length and width,
Rotation angle angle.
Photo print data are sent hand-hold Bluetooth printer by step 4 (S104), smart phone;Smart phone according to
Papery picture parameter makes digital picture gray processing, and is handled by dither algorithm;
Dither algorithm code:
Corresponding picture print data is generated, and arrives hand-held blue-tooth printer.
Step 5 (S105), hand-hold Bluetooth printer carry out print job according to the photo print data received;Hand-held indigo plant
Tooth printer receives the photo print data that SPP data transmission unit is sent by SPP data transmission module, and is sent to image
Processing module;It is converted by image processing module to photo print data are received, and is sent to print module;Pass through printing
Module prints corresponding papery picture.
Step 6 (S106), smart phone judge whether printing succeeds according to hand-hold Bluetooth printer feedback result, and mention
Show user.After hand-hold Bluetooth printer completes printing, field is returned to by SPP data transmission module and gives SPP data transmission module;
After smart phone receives field, judge whether comprising specific fields;If comprising prompting user to print successfully;If 30 seconds do not connect
It receives comprising specific fields, user is prompted to print failure.
As known by the technical knowledge, the technical program can pass through other essence without departing from its spirit or the reality of essential feature
Scheme is applied to realize.Therefore, embodiment disclosed above, in all respects are merely illustrative, and are not only
's.All changes within the scope of the invention or within the scope equivalent to the present invention are included in the invention.
Claims (9)
1. a kind of image data Bluetooth transmission print system based on dither algorithm, including mobile data terminal and Portable Bluetooth are beaten
Printing apparatus;It is characterized by:
The mobile data terminal includes SPP data transmission unit;
The Portable Bluetooth printing device includes SPP data transmission module, print module, image processing module;
The SPP data transmission unit is connected with SPP data transmission module, establishes SPP data channel;SPP data transmit mould
Block receives the photo print data that SPP data transmission unit is sent, and is sent to image processing module;Pass through image processing module
It is converted to photo print data are received, and is sent to print module.
2. a kind of image data Bluetooth transmission Method of printing based on dither algorithm, it is characterised in that the following steps are included:
Step 1 (S101), mobile data terminal and Portable Bluetooth printing device establish SPP data connection;
Step 2 (S102), user need to print digital picture by mobile data terminal addition;
Step 3 (S103), user are configured papery picture parameter by mobile data terminal;
Photo print data are sent Portable Bluetooth printing device by step 4 (S104), mobile data terminal;
Step 5 (S105), Portable Bluetooth printing device carry out print job according to the photo print data received;
Step 6 (S106), mobile data terminal judge whether printing succeeds according to Portable Bluetooth printing device feedback result, and
Prompt user.
3. a kind of image data Bluetooth transmission Method of printing based on dither algorithm according to claim 2, feature exist
In step 1 specifically: mobile data terminal scanning obtains periphery bluetooth equipment UUID;SPP data transmission unit is according to agreement
UUID characteristic value judges automatically Portable Bluetooth printing device and is attached.
4. a kind of image data Bluetooth transmission Method of printing based on dither algorithm according to claim 2, feature exist
In step 3 specifically: user presets papery picture parameter in mobile data terminal;Parameter includes range, length and width, rotation
Angle angle.
5. a kind of image data Bluetooth transmission Method of printing based on dither algorithm according to claim 2, feature exist
In step 4 specifically: mobile data terminal makes digital picture gray processing according to papery picture parameter, and by dither algorithm into
Row processing;
Dither algorithm code:
Corresponding picture print data is generated, and arrives Portable Bluetooth printing device.
6. a kind of image data Bluetooth transmission Method of printing based on dither algorithm according to claim 2, feature exist
In step 5 specifically: Portable Bluetooth printing device receives the figure that SPP data transmission unit is sent by SPP data transmission module
Piece print data, and it is sent to image processing module;It is converted by image processing module to photo print data are received, and
It is sent to print module;Corresponding papery picture is printed by print module.
7. a kind of image data Bluetooth transmission Method of printing based on dither algorithm according to claim 2, feature exist
In step 6 specifically: after Portable Bluetooth printing device completes printing, return to field by SPP data transmission module and give SPP number
According to transmission module;After mobile data terminal receives field, judge whether comprising specific fields;If comprising prompting user to be printed as
Function;If not receiving within 30 seconds comprising specific fields, user is prompted to print failure.
8. a kind of image data Bluetooth transmission print system and method based on dither algorithm according to claim 1 or 2,
It is characterized by: the mobile data terminal is smart phone, tablet computer, laptop, smartwatch, intelligent glasses;
The Portable Bluetooth printing device is hand-hold Bluetooth printer.
9. a kind of image data Bluetooth transmission print system and method based on dither algorithm according to claim 1 or 2,
It is characterized by: user controls the mobile data terminal by manipulation APP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910810719.4A CN110515571A (en) | 2019-08-29 | 2019-08-29 | A kind of image data Bluetooth transmission print system and method based on dither algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910810719.4A CN110515571A (en) | 2019-08-29 | 2019-08-29 | A kind of image data Bluetooth transmission print system and method based on dither algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110515571A true CN110515571A (en) | 2019-11-29 |
Family
ID=68629275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910810719.4A Pending CN110515571A (en) | 2019-08-29 | 2019-08-29 | A kind of image data Bluetooth transmission print system and method based on dither algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515571A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799616A (en) * | 2021-01-26 | 2021-05-14 | 武汉先同科技有限公司 | Printing system and printing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135956A (en) * | 2006-08-29 | 2008-03-05 | 北京维深科技发展有限公司 | Method for spreading bar-code printers compatible code order |
CN102855104A (en) * | 2012-08-27 | 2013-01-02 | 深圳市乐印信息技术有限公司 | Mobile communication equipment as well as printing method and system thereof |
US20160162230A1 (en) * | 2014-12-04 | 2016-06-09 | Seiko Epson Corporation | Printing device, printing system, control method of a printing device, and storage medium |
-
2019
- 2019-08-29 CN CN201910810719.4A patent/CN110515571A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135956A (en) * | 2006-08-29 | 2008-03-05 | 北京维深科技发展有限公司 | Method for spreading bar-code printers compatible code order |
CN102855104A (en) * | 2012-08-27 | 2013-01-02 | 深圳市乐印信息技术有限公司 | Mobile communication equipment as well as printing method and system thereof |
US20160162230A1 (en) * | 2014-12-04 | 2016-06-09 | Seiko Epson Corporation | Printing device, printing system, control method of a printing device, and storage medium |
Non-Patent Citations (2)
Title |
---|
PARIS图像世界: "DITHER抖动算法", 《CSDN》 * |
WEIXIN_38608548: "RGB颜色表示方法,red = (rgb & 0x00ff0000) >> 16是什么意思?", 《CSDN》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799616A (en) * | 2021-01-26 | 2021-05-14 | 武汉先同科技有限公司 | Printing system and printing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
FI113132B (en) | Method and apparatus for improving an image | |
JP5761322B2 (en) | Terminal, image processing method, program | |
CN104200361A (en) | Automatic two-dimension code generation based mobile banking payment system and payment method | |
EP1758356A3 (en) | Mobile phone, communication terminal, phone call method and phone call program | |
CN110852951A (en) | Image processing method, image processing device, terminal equipment and computer readable storage medium | |
CN104834491A (en) | Wireless interactive communication and self-service type printing method based on wireless local area network intelligent terminal equipment and local server | |
CN104932845A (en) | Handheld terminal printing method and printing apparatus thereof | |
CN110515571A (en) | A kind of image data Bluetooth transmission print system and method based on dither algorithm | |
CN110274690A (en) | A kind of miniature bloom spectrometer system and its application method | |
US8848237B2 (en) | Wireless scanning device and method for scanning and transmitting scan data | |
JP2005005960A (en) | Apparatus, system, and method for image processing | |
CN206021627U (en) | A kind of talking pen and point-of-reading system | |
CN107888288A (en) | A kind of short distance visible light communication method and its hardware system based on mobile terminal | |
TW200713006A (en) | Mobile printing interface apparatus using wireless communication between mobile terminal and printing device and printing method using the same | |
CN107608643B (en) | Multi-dimensional analysis, identification and optimization method based on low-quality photos | |
JP2003319311A (en) | Image processing apparatus and system | |
CN107301025B (en) | Copying method and system based on mobile terminal photographing | |
CN115188000A (en) | Text recognition method and device based on OCR (optical character recognition), storage medium and electronic equipment | |
JP2011233138A (en) | Image display device, picture tone conversion service system, terminal, server and image display method | |
CN112150357B (en) | Image processing method and mobile terminal | |
CN103312978B (en) | Communication device, communication method, communication system, and communication establishing method | |
US20040165083A1 (en) | Active digital image capture device | |
JP4592074B2 (en) | Image processing apparatus and method thereof, and information processing apparatus and method thereof | |
KR101198987B1 (en) | Method for providing user interface of terminal using electronic pen and system | |
CN108262969A (en) | Image acquisition terminal and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191129 |