CN101969498A - Braille short message printing equipment - Google Patents

Braille short message printing equipment Download PDF

Info

Publication number
CN101969498A
CN101969498A CN2010102725708A CN201010272570A CN101969498A CN 101969498 A CN101969498 A CN 101969498A CN 2010102725708 A CN2010102725708 A CN 2010102725708A CN 201010272570 A CN201010272570 A CN 201010272570A CN 101969498 A CN101969498 A CN 101969498A
Authority
CN
China
Prior art keywords
braille
controller module
module
note
printer
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.)
Granted
Application number
CN2010102725708A
Other languages
Chinese (zh)
Other versions
CN101969498B (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201010272570.8A priority Critical patent/CN101969498B/en
Publication of CN101969498A publication Critical patent/CN101969498A/en
Application granted granted Critical
Publication of CN101969498B publication Critical patent/CN101969498B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to braille short message printing equipment comprising a GSM (Global System for Mobile Communication) module, a braille printer and a controller module, wherein the GSM module receives a short message; the braille printer prints the short message in braille; the controller module is realized by the programming of a single chip computer and takes the charge of managing and coordinating the working of the GSM module and the braille printer so that the function of printing the braille short message is realized; and the GSM module and the controller module, and the braille printer and the controller module are respectively connected through RS232 serial ports. According to the braille short message printing equipment, the blind can receive and read short messages.

Description

Braille note printing equipment
Technical field
The present invention relates to a kind of printing equipment, more specifically, the present invention relates to a kind of braille note printing equipment.
Background technology
GSM (Global System for Mobile communication) system is that comparative maturity is perfect, and most widely used a kind of system in the present mobile communication system based on tdma.Based on the short message service of GSM, be a kind of wireless application that on the mobile network, transmits brief information, be the process that a kind of information is stored and hopped on the mobile network.
Print the field at traditional braille, adopt the brown paper with higher hardness and intensity to print braille usually, the braille printer utilizes mechanical shock and method such as roll makes the paper surface distortion form the braille point of projection or depression.Patent 200910082584.0 has proposed a kind of the utilization and has solidified the full-automatic Braille printing device that glue point forms the braille salient point.
Because the demonstration of SMS depends on light, the blind person can easily not utilize note and people to link up, and often need can not independently read note by means of other people help.
Summary of the invention
The purpose of this invention is to provide a kind of relatively simple for structure, complete function, the braille note printing equipment of automation.Thereby make the blind person can independently receive and read short message.The entire equipment structure is relatively succinct, complete function, reliability height.
The present invention is by gsm module, and controller module and braille printer three parts are formed.Gsm module receives note, and the braille printer prints note with braille, and controller module is realized by mcu programming, is in charge of and coordinates gsm module and the work of braille printer, to realize printing the braille SMS.All connect between gsm module and the controller module and between controller module and the braille printer with serial ports RS232.Adopt the communication of inquiry-feedback system between described controller module and the gsm module and between controller module and the braille printer.
Gsm module major function: access network, SMS receiving; Receive the querying command that controller is sent, and return corresponding feedback information, have or not the note feedback and the note feedback is arranged and three kinds of feedback informations of short message content feedback.
Braille printer major function: receive the control command that controller module is sent, return corresponding feedback information, equipment Ready and equipment B usy are arranged and receive three kinds of feedback informations of print data; Convert buffering area character GB2312 coding to the braille matrix of printed dots according to the braille dictionary, braille dot lattice printing is as a result come out.
Controller module major function: control gsm module access network and SMS receiving; Receive note from gsm module; Short message content is become the GB2312 coding from the Unicode code conversion; Control braille printer prints short message content.
51 series monolithics generally have only an IEEE Std serial highway, and controller module of the present invention all is to be connected by the RS232 interface with braille printer and gsm module, so do many serial extended units with numerical control analog switch CD4052.
Short message time and date under the Text pattern is ASCII character, can directly read, and only needs to convert the Unicode sign indicating number of Chinese character part in the content to GB.
Controller module workflow: choose with the serial ports of gsm module to be connected, the inquiry gsm module is obtained the feedback whether note is arranged, if received the note feedback information, send the short message reading order to gsm module, and will change the GB2312 coding from the short message content that gsm module imports in case of necessity into and deposit the data buffer zone in; Choose with the serial ports of braille printer to be connected,, take out a note, be sent to the braille printer prints by serial communication from the data buffer zone if the note that the data buffer zone remains to be printed is then waited for to the braille printer readyly.More than be flow process in the one-period, constantly repeat this process during controller module work.
Adopt blind person's note printing equipment of the present invention can make the blind person receive and read note easily, increased blind person and social exchanging.
Description of drawings
Fig. 1 is the structural representation of blind person's note printing equipment of the present invention;
Among the figure: 1GSM module, 2 braille printers, 3 controller modules;
Fig. 2 is the schematic diagram of blind person's note printing equipment CD4052 serial extended unit of the present invention;
Fig. 3 is that blind person's note printing equipment of the present invention is changed GB2312 sign indicating number flow chart with ASCII character;
Fig. 4 is blind person's note printing equipment controller module workflow diagram of the present invention.
Embodiment
Below in conjunction with the drawings and the specific embodiments, the present invention will be further described.
As shown in Figure 1, the present invention is by gsm module, and controller module and braille printer three parts are formed.Gsm module receives note, and the braille printer prints note with braille, and controller module is realized by mcu programming, is in charge of and coordinates gsm module and the work of braille printer, to realize printing the braille SMS.In the system, three modules were both separate, interdepended again, finished systemic-function jointly.Controller module plays a part control in system coordinates, and is the nucleus module of system.All connect between gsm module and the controller module and between controller module and the braille printer with serial ports RS232.
Gsm module function: access network, SMS receiving; Receive the querying command that controller is sent, the correctness of calculation check and definite order, and return corresponding feedback information, have or not the note feedback and the note feedback is arranged and three kinds of feedback informations of short message content feedback.
Gsm module is integrated in GSM radio frequency chip, baseband processing chip, memory, power discharging device etc. on the wiring board, has independently operating system, GSM radio frequency processing, Base-Band Processing and the functional module of standard interface is provided.Gsm module has solved the radio frequency transmission and the Base-Band Processing problem of complexity in the wireless network communication, and standard communication is provided.
Most in the market gsm modules are all supported the AT command set of GSM07.07 regulation.Utilize the serial line interface of gsm module, controller module sends the AT order and by the gsm module feedback information, just can realize control gsm module transmitting-receiving note to gsm module.It is as shown in table 1 that gsm module receives the related AT instruction of short message.
Table 1
The AT instruction Functional description
AT+OFF Shutdown is also restarted
AT+CMGF=1 Selecting messaging format is the TEXT pattern
AT+CMGR=* Read * bar short message
AT+CMGD=* Delete * bar short message
AT+CMGL=0 List and do not read SMS message
Braille printer function: receive the control command that controller module is sent, return corresponding feedback information, equipment Ready and equipment B usy are arranged and receive three kinds of feedback informations of print data, equipment Ready shows that the ready and data buffer zone of printer has living space, can receive short message content from controller module, equipment B usy shows that printer is printing and the data buffer zone is full, can't receive short message content, receive print data and show that the braille printer successfully receives the short message content that will print from controller module; Convert buffering area character GB2312 coding to the braille matrix of printed dots according to the braille dictionary, braille dot lattice printing is as a result come out, and the content that printing is finished is removed from buffering area.The braille dictionary is to be stored in the Chinese characters in common use national standard codes in the braille printer chip and the table of comparisons of braille word lattice, is specifically designed to output braille literal.
Controller module function: control gsm module access network and SMS receiving; Receive note and remove draft from gsm module; Short message content is become the GB2312 coding from the Unicode code conversion; Control braille printer prints short message content.
Controller module is realized by mcu programming, is the center of whole invention, the operation of control whole system.
Controller module and gsm module and controller module and braille printer adopt the serial asynchronous communication interface, and communication speed can be set, and is generally 9600bps.When adopting this RS232 cable mode to connect, reliability of data transmission is better.The RS232 interface mode connects, be connected with gsm module and braille printer with level shifting circuit by the serial line interface integrated circuit, circuit is fairly simple, and related chip comprises single-chip microcomputer such as 89C52 and level transferring chip MAX232, the interface circuit that right and wrong are usually seen.
51 series monolithics generally have only an IEEE Std serial highway, and controller module of the present invention all is to be connected by the RS232 interface with braille printer and gsm module, so do many serial extended units with numerical control analog switch CD4052, wiring as shown in Figure 2.
CD4052 has 4 independently channel data selectors, has two inputs of A, B and one to forbid importing INH, selects a pair of in 4 pairs of passages by 4 kinds of binary combination states of A, B.
Serial data frame format between gsm module and controller module and controller module and the braille printer module: Frame is made up of 1 Bit start bit, 8 Bit data bit and 1 Bit position of rest.8 Bit data bit sequences be low level (LSB) in proper order preceding, high-order (MSB) after.1 Bit start bit is always low level, and 1 Bit position of rest is always high level.Do not have transfer of data (RXD or TXD) on the connection, be necessary for high level during line idle.
Whole system is the center with the controller module, adopts inquiry-response mode to carry out communication.Be that controller module is given an order to gsm module or braille printer, feed back after gsm module and the braille printer fill order.
Controller module is as shown in table 1 to the AT order that gsm module sends, data encoding format is: the 1st byte at every turn transmitting data sequence is the beginning byte, second byte is for sending the total bytes of data, do not comprise own and CRC length and beginning end byte, last the 2nd byte of transmission data sequence is necessary for 8 the polynomial cyclic redundancy detection check of divisor sign indicating numbers (CRC8) that CCITT (Consultative Committee on International Telegraph and Telephone) recommends, and last byte is an end byte.Gsm module is same as described above to the feedback information coded format that controller module sends.
The order that controller module sends to the braille printer has two kinds of querying command and print commands.First kind of order is used for inquiring about printer modes, and second kind of order makes printer prints braille note under the printer ready state.Data encoding format is: the 1st byte at every turn transmitting data sequence is the beginning byte, second byte is for sending the total bytes of data, do not comprise own and check byte length and beginning end byte, last the 2nd byte of transmission data sequence is check byte, computable number is according to district's byte and remove carry as check results, and last byte is an end byte.The braille printer is same as described above to the feedback information coded format that controller module sends.
In gsm module or braille printer transmission order, can start timer at controller module, if timer surpasses certain hour, controller module is not received feedback information, just retransmit order, retransmit the certain number of times of order and all do not receive feedback, just thinking that controller module loses with command object is connected, and provides warning prompt.And do not carry out this mechanism when the GSM feedback information for gsm module and braille printer, acquiescence packet loss control device module is retransmitted order.
Short message time and date under the Text pattern is ASCII character, can directly read, and only needs to convert the Unicode sign indicating number of Chinese character part in the content to GB.Owing to there is not linear transformation relation one to one between Unicode coding and the GB2312 coding, to adopt look-up method to realize with the conversion of controller module control routine, therefore, need set up the table of comparisons of changing between Unicode sign indicating number and the GB2312 sign indicating number.
Controller module, sends and reads new short message instruction with after gsm module is connected by serial ports: " AT+CMGR=* ", when extracting short message, judge its content encoding earlier, if ASCII character then need not conversion and directly reads; Otherwise, search its corresponding Chinese character GB2312 sign indicating number by look-up table, realize the conversion between different coding, flow path switch is as shown in Figure 3.
Should adopt binary chop when look-up table is searched coding, its worst number of times of searching is log 2(n+1), the length n of the table of comparisons is approximately 7000, so the worst number of times of searching is about 13 times.That is to say that a Chinese character code conversion is relatively searched and can be finished through 13 times at most, controller module can be finished in real time.
As Fig. 4, controller module workflow: choose with the serial ports of gsm module to be connected, the inquiry gsm module is obtained the feedback whether note is arranged, if received the note feedback information, send the short message reading order to gsm module, and will change GB2312 coding from the short message content that gsm module imports in case of necessity into and deposit the data buffer zone in, simultaneously to the gsm module note that deletion obtains of giving an order; Choose with the serial ports of braille printer and be connected, if the note that the data buffer zone remains to be printed, then inquire about the braille typewriter state, if braille typewriter feedback Busy state information, wait for that then certain hour inquires about the braille typewriter state again, if braille typewriter feedback Ready state information is then taken out a note from the data buffer zone, be sent to the braille printer prints by serial communication.More than be flow process in the one-period, constantly repeat this process during controller module work.The controller module data buffer zone adopts round-robin queue's data structure to realize, makes things convenient for the access and the counting of note data and saves when being necessary the buffer pool size needed efficient expense that increases.
After start powered on, program was moved in principal function, and single-chip microcomputer and gsm module carry out initialization respectively.The initialization of single-chip microcomputer comprises serial ports working method, baud rate is set, and initializing variable parameter and flag bit.The gsm module initialization comprises that restarting, select messaging format is the TEXT pattern, opens serial ports interruption preparation reception data.After initial work is finished, can enter controller module periodic duty flow process, realize the printing of braille note.

Claims (7)

1. a braille note printing equipment comprises gsm module, braille printer and controller module; Gsm module receives note, and the braille printer is printed note with braille, controller module management coordination gsm module and the work of braille printer; Controller module is realized by mcu programming, is the center of whole system; Connect by the RS232 interface between controller module and gsm module and braille printer and the controller module; Adopt the communication of inquiry-feedback system between controller module and the gsm module and between controller module and the braille printer.
2. braille note printing equipment according to claim 1, it is characterized in that gsm module is operated in the Text pattern, the addresser and the time that send to controller module are the ASCII codings, short message content is the Unicode coding, coded conversion device through controller module is converted to the GB2312 coding, again by the braille printer prints.
3. braille note printing equipment according to claim 1 is characterized in that the gsm module major function is an access network, and SMS receiving receives the querying command that controller is sent, and returns corresponding feedback information.
4. braille note printing equipment according to claim 3 is characterized in that described feedback information comprises and has or not note feedback, note feedback and short message content feedback are arranged.
5. braille note printing equipment according to claim 1 is characterized in that the control command that braille printer major function is sent for the reception controller module, returns corresponding feedback information.
6. braille note printing equipment according to claim 5 is characterized in that described feedback information comprises equipment Ready, equipment B usy and receives three kinds of feedback informations of print data.
7. braille note printing equipment according to claim 1, it is characterized in that single-chip microcomputer has only a serial ports in the controller module, CD4052 does many serial extended units by the numerical control analog switch, will carry out serial ports at controller module by MUX during respectively with braille printer and gsm module communication and select.
CN201010272570.8A 2010-08-31 2010-08-31 Braille short message printing equipment Expired - Fee Related CN101969498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010272570.8A CN101969498B (en) 2010-08-31 2010-08-31 Braille short message printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010272570.8A CN101969498B (en) 2010-08-31 2010-08-31 Braille short message printing equipment

Publications (2)

Publication Number Publication Date
CN101969498A true CN101969498A (en) 2011-02-09
CN101969498B CN101969498B (en) 2013-11-06

Family

ID=43548599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010272570.8A Expired - Fee Related CN101969498B (en) 2010-08-31 2010-08-31 Braille short message printing equipment

Country Status (1)

Country Link
CN (1) CN101969498B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890661A (en) * 2011-07-19 2013-01-23 北京精益达明电子科技有限责任公司 Host-slave communication protocol
CN105058998A (en) * 2015-09-05 2015-11-18 吴耀 Printer intelligent box for realizing standardized printing service and using method thereof
CN105334781A (en) * 2015-12-11 2016-02-17 天津市津达执行器有限公司 Single chip microcomputer double-serial port structure of electric actuator
CN106341801A (en) * 2016-07-28 2017-01-18 浪潮电子信息产业股份有限公司 Apparatus, system and method for controlling display screen
CN109474707A (en) * 2019-01-16 2019-03-15 济南浪潮高新科技投资发展有限公司 Two-layer protocol design and data transmission method and system based on serial port protocol

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1082733A (en) * 1992-08-06 1994-02-23 张数玄 Chinese character computer coding method and braille Hanzi input keyboard
JPH1058819A (en) * 1996-08-22 1998-03-03 Ito Insatsu:Kk Braille printing device
CN1599399A (en) * 2003-09-17 2005-03-23 天津光电通信技术有限公司 Facsimile apparatus short message receiving printing device
CN101150783A (en) * 2007-11-08 2008-03-26 河北大学 A method and device for automatic mobile phone SMS recording
US20080286025A1 (en) * 2006-05-04 2008-11-20 Wright Christopher B Mobile messaging micro-printer
CN101404007A (en) * 2008-11-19 2009-04-08 闻泰集团有限公司 Method for conversion from Unicode code to GB2312 code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1082733A (en) * 1992-08-06 1994-02-23 张数玄 Chinese character computer coding method and braille Hanzi input keyboard
JPH1058819A (en) * 1996-08-22 1998-03-03 Ito Insatsu:Kk Braille printing device
CN1599399A (en) * 2003-09-17 2005-03-23 天津光电通信技术有限公司 Facsimile apparatus short message receiving printing device
US20080286025A1 (en) * 2006-05-04 2008-11-20 Wright Christopher B Mobile messaging micro-printer
CN101150783A (en) * 2007-11-08 2008-03-26 河北大学 A method and device for automatic mobile phone SMS recording
CN101404007A (en) * 2008-11-19 2009-04-08 闻泰集团有限公司 Method for conversion from Unicode code to GB2312 code

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890661A (en) * 2011-07-19 2013-01-23 北京精益达明电子科技有限责任公司 Host-slave communication protocol
CN105058998A (en) * 2015-09-05 2015-11-18 吴耀 Printer intelligent box for realizing standardized printing service and using method thereof
CN105334781A (en) * 2015-12-11 2016-02-17 天津市津达执行器有限公司 Single chip microcomputer double-serial port structure of electric actuator
CN106341801A (en) * 2016-07-28 2017-01-18 浪潮电子信息产业股份有限公司 Apparatus, system and method for controlling display screen
CN109474707A (en) * 2019-01-16 2019-03-15 济南浪潮高新科技投资发展有限公司 Two-layer protocol design and data transmission method and system based on serial port protocol
CN109474707B (en) * 2019-01-16 2021-02-02 浪潮集团有限公司 Two-layer protocol design and data transmission method and system based on serial port protocol

Also Published As

Publication number Publication date
CN101969498B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN101969498B (en) Braille short message printing equipment
CN1229949C (en) System and method for sending e-mail by wireless device
CN102592160B (en) Character two-dimension code encoding and decoding method for short message
CN105683933B (en) Camera control interface is communicated from equipment to from equipment
CN100425081C (en) Code-conversion method for shortmessage receiving and transmitting and network apparatus used thereof
CN101636955A (en) Configurable acknowledgement processing in a wireless communication system
CN101674552A (en) Short message coding method and terminal
CN105160956A (en) Classroom teaching auxiliary system and communication method thereof
CN102736601B (en) Device data acquisition, treating apparatus and method and apparatus system for managing state
CN101599890B (en) System and method for transmitting data in communication system
CN101695154A (en) Short message processing method and short message processing device
CN101599264B (en) Method and relevant device for displaying characters on mobile terminal
CN101150783A (en) A method and device for automatic mobile phone SMS recording
CN100576787C (en) A kind of method of between maintenance terminal and background devices, carrying out the transmission of big data quantity safety
CN111061441A (en) Novel label batch printing method
CN102968609B (en) Bar code reading equipment setting device based on one-dimensional Code 128 bar codes
CN106683296A (en) Terminal billing and printing system and method
CN112016270B (en) Logistics information coding method, device and equipment of Chinese-character codes
CN101155383A (en) Indication method for resource allocation information, transmission method and device for indication information
CN100353797C (en) Method for detecting up enhancement special physical control channel
CN203118217U (en) Blindman traffic prompting system based on single-chip microcomputer wireless communication
CN100440912C (en) Facsimile apparatus short message receiving printing device
CN101692689B (en) Data processing method, data processing system and data processing equipment
CN102857355A (en) Method and device for information adaptation
CN102117397A (en) Automatic identification and registration method and system based on document bar codes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20140831

EXPY Termination of patent right or utility model