CN1494330A - Method of transmitting picture file using POSAG coding - Google Patents
Method of transmitting picture file using POSAG coding Download PDFInfo
- Publication number
- CN1494330A CN1494330A CNA021463735A CN02146373A CN1494330A CN 1494330 A CN1494330 A CN 1494330A CN A021463735 A CNA021463735 A CN A021463735A CN 02146373 A CN02146373 A CN 02146373A CN 1494330 A CN1494330 A CN 1494330A
- Authority
- CN
- China
- Prior art keywords
- posag
- coding
- graphic file
- byte
- dot pattern
- 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
Links
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The purpose of the invention is to realize transmission of image file based on current POSAG protocol for pager-seek. Image files are converted to codes discriminated by POSAG directly. With dot pattern file being arranged and coded again, edited image file is transmitted through a protocol, which is displayed and recognized by POSAG totally. The method includes following steps: generating binary data flow of the image file, intercepting binary data, foundation coefficient adding basic bytes for generating records. Finally, generating and arranging of basic bytes are carried out second time, thus the generated by tes become programmable POSAG codes in ASCII coding. Restoration of dot pattern file can be realized by using alogirhtm for inversion of the coding mode.
Description
Technical field
The mode that the present invention relates to a kind of mode of utilizing specific coding record and decoding and displaying is preserved, the method for transmission of graphical file, especially the coding that utilizes the graphic file of the ASCII character the compiled record dot matrix of POSAG to reach the use standard is preserved, the transmission of graphical file, and the method that specific graphic file is converted into dot pattern.The present invention is mainly used in the POSAG coded format of utilizing radio call and transmits graphic file, reaches current paging system and software are not being made any technology modification and realize the transmission of figure.
Background technology
Can only transmit numeral, English, Chinese in the present known POSAG coding.The POSAG of standard coding can't be directly to the wireless transmission of carrying out of graphic file.Because can only transmit English character and numerical character coding in the Central Plains design of the POSAG of standard coding, after expansion can transmit Chinese character information.Its method is when using the POSAG coding to send Chinese character, has done the expansion of agreement.The initial OEH that adds when sending Chinese character information adds OFH and distinguishes Chinese information when Chinese character finishes, when when showing the OEH of running into and OFH being arranged its filtration is not shown.Outside the field at 0-127 in the paging communication agreement of POSAG coding, the POSAG sign indicating number need be selected the control character of a lot of characters as coding, and in process of transmitting, paging system can all not made all control characters any transmission automatically and handled.Thereby the coding that adopts simple directly data intercept stream mode to obtain, a lot of bytes can not send out in process of transmitting.
Summary of the invention
The objective of the invention is to be implemented in the transmission of carrying out graphic file on the paging protocol basis of current POSAG, convert graphic file to coding that POSAG can directly differentiate.By arrangement, recompile, convert the graphic file that edits to POSAG and can show all that the agreement of identification transmits the dot pattern file.
In order to realize the order of foregoing invention, the first aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: the generation of the binary data stream of graphic file, the intercepting of binary data, basic coefficients is added the basic byte that generates record, the basic byte that generates is made secondary generate arrangement, the byte of its one-tenth can be become in ASCII coding can compile the POSAG sign indicating number, utilize the algorithm for inversion of coded system to realize the reduction of dot pattern file.
The second aspect that the POSAG of utilization of the present invention coding transmits the method for graphic file comprises: the dot pattern file converts the ASCII character compiled file in the POSAG coding to by specific well-regulated algorithm and coded system.Also the graphic file inverse operation of the POSAG sign indicating number of having encoded can be generated the dot pattern file.
The third aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: adopt bright spot in the positive of dot pattern is recorded as 1, stain is recorded as 0, bright spot is recorded as 0 in the negative, and stain is recorded as 1, converts dot pattern to binary data stream.
The fourth aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: described with binary data flow, binary data stream recording start from the first place, playing per in order 7 bit data is one group, being truncated to binary data stream continuously finishes to end, 7 of the less thaies in end position become one group in the end data of intercepting, and the position is mended 0 to 7 becomes a data set.
The 5th aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: described each that will intercept 7 bit data groups positions, end (high position) add 0 becomes a byte.
The 6th aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: the described byte addition 20H that every group of byte code is dropped on 0-4FH, and will drop on the byte addition 50H of 50H-7FH, (seeing attached list one, two) makes through the byte after the conversion and drops between the compiled POSAG code area of ASCII character and expansion ASCII character.
The 7th aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: described graphic file is to be reduced into dot pattern with the inverse operation mode of encoding.
The eight aspect that the POSAG of utilization coding of the present invention transmits the method for graphic file comprises: described positive computing and inverse operation are all finished at computer and single-chip microcomputer.
Embodiment
The present invention is that the coding method of usefulness is, laterally gets a record in dot pattern in order, and in positive, the bright spot record is done " 1 ", and the stain record is done " 0 "; In negative, bright spot is recorded as " 0 ", and stain is recorded as " 1 ", forms binary data stream, is one group from per in order 7 bit data of the first recording start, is truncated to continuously to finish to end.End group 7 usefulness of less than " 0 " are supplied.The high position of every group of data of taking out is mended " 0 ", be complemented into 8 and form a byte, the byte addition " 20H " that then coding of each byte is dropped on 0 ~ 4FH, as conversion table 1:
Conversion table 1 is at the conversion table in 0 ~ 40H interval:
Become behind+the 20H:
In POSAG when coding, be the ASCII encoding process routinely.
0 | ...... | 4FH |
20H | ...... | 6FH |
The byte addition " 50H " that coding is dropped on 50H ~ 7FH, as conversion table 2:
Conversion table 2 is at the conversion table in 50H ~ 7FH interval:
Become behind+the 50H:
Press expansion ASCII encoding process during the POSAG coding.
50H | ...... | 7FH |
AOH | ...... | DFH |
Byte after all are intercepted all drops on the compiled POSAG sign indicating number interval of ASCII character and expansion ASCII character.To form a file to be encoded in proper order by intercepting through the ASCII character after the arrangement and carry out the POSAG coding.The mode that can compile the graphic file reduction figure of POSAG sign indicating number record with ASCII character is, graphic file with the visible encoded recording of ASCII, the byte that will drop on 20H ~ 6FH subtracts " 20H ", and the byte that drops on AOH ~ DFH subtracts " 50H ", again the high position of each byte is gone to " 0 ".At last all high positions are gone the data set of " 0 " to be reduced into continuous binary data stream by the former connection that puts in order, according to continuous data flow in dot pattern, " 1 " in the positive mode is a bright spot, and " 0 " is that " 0 " is bright spot in the stain negative mode, and " 1 " is stain.Final reduction shows dot pattern.
Coding of the present invention and decoding reduction mode are used in the displayed record preservation that the print record that can also be applied in the dot pattern file is preserved, scanned and other mistakes that coding restriction is arranged except the agreement that is applied in the POSAG sign indicating number transmits.
Claims (8)
1. utilize the POSAG coding to transmit the method for graphic file, it is characterized in that: this method comprises the generation of binary data stream, the intercepting of binary data, basic coefficients is added the basic byte that generates record, the basic byte that generates is made secondary generate arrangement, the byte of its one-tenth can be become in ASCII coding can compile the POSAG sign indicating number, utilize the algorithm for inversion of coded system to realize the reduction of dot pattern file.
2. the method for utilizing POSAG coding to transmit graphic file as claimed in claim 1 is characterized in that: described dot pattern file converts the ASCII character compiled file in the POSAG coding to by specific well-regulated algorithm and coded system.Also the graphic file inverse operation of the POSAG sign indicating number of having encoded can be generated the dot pattern file.
3. the method for utilizing the POSAG coding to transmit graphic file as claimed in claim 1 or 2, it is characterized in that: described method is included in the positive that adopts dot pattern, bright spot is recorded as 1, stain is recorded as 0, in negative, bright spot is recorded as 0, and stain is recorded as 1, to convert dot pattern to binary data stream.
4. the method for utilizing the POSAG coding to transmit graphic file as claimed in claim 1 or 2, it is characterized in that: described method comprises binary data flow, binary data stream recording start from the first place, playing per in order 7 bit data is one group, being truncated to binary data stream continuously finishes to end, 7 of the less thaies in end position become one group in the end data of intercepting, and the position is mended 0 to 7 becomes a data set.
5. the method for utilizing the POSAG coding to transmit graphic file according to claim 1 and 2 is characterized in that: described method comprises that each 7 bit data group of intercepting last (high position) are added 0 becomes a byte.
6. the method for utilizing the POSAG coding to transmit graphic file according to claim 1 and 2, it is characterized in that: the described byte addition 20H that every group of byte code is dropped on 0-4FH, and will drop on the byte addition 50H of 50H-7FH, (seeing attached list one, two) makes through the byte after the conversion and drops between the compiled POSAG code area of ASCII character and expansion ASCII character.
7. the method for utilizing the POSAG coding to transmit graphic file according to claim 1 and 2 is characterized in that described graphic file is to be reduced into dot pattern with the inverse operation mode of encoding.
8. the method for utilizing POSAG coding to transmit graphic file according to claim 1 and 2 is characterized in that described positive computing and inverse operation all finish at computer and single-chip microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02146373 CN1251522C (en) | 2002-10-29 | 2002-10-29 | Method of transmitting picture file using POSAG coding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02146373 CN1251522C (en) | 2002-10-29 | 2002-10-29 | Method of transmitting picture file using POSAG coding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1494330A true CN1494330A (en) | 2004-05-05 |
CN1251522C CN1251522C (en) | 2006-04-12 |
Family
ID=34232705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02146373 Expired - Fee Related CN1251522C (en) | 2002-10-29 | 2002-10-29 | Method of transmitting picture file using POSAG coding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1251522C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033896A (en) * | 2009-10-02 | 2011-04-27 | 索尼公司 | Device and method for processing information |
CN101082989B (en) * | 2006-05-29 | 2011-05-18 | 联咏科技股份有限公司 | Method and device for area intercepting encode |
CN107919943A (en) * | 2016-10-11 | 2018-04-17 | 阿里巴巴集团控股有限公司 | Coding, coding/decoding method and the device of binary data |
CN112801081A (en) * | 2021-01-18 | 2021-05-14 | 王玉宏 | Computer identification method of answer sheet |
-
2002
- 2002-10-29 CN CN 02146373 patent/CN1251522C/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082989B (en) * | 2006-05-29 | 2011-05-18 | 联咏科技股份有限公司 | Method and device for area intercepting encode |
CN102033896A (en) * | 2009-10-02 | 2011-04-27 | 索尼公司 | Device and method for processing information |
CN102033896B (en) * | 2009-10-02 | 2013-07-24 | 索尼公司 | Device and method for processing information |
CN107919943A (en) * | 2016-10-11 | 2018-04-17 | 阿里巴巴集团控股有限公司 | Coding, coding/decoding method and the device of binary data |
CN107919943B (en) * | 2016-10-11 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Method and device for coding and decoding binary data |
US10785277B2 (en) | 2016-10-11 | 2020-09-22 | Alibaba Group Holding Limited | Methods and devices for encoding and decoding binary data |
CN112801081A (en) * | 2021-01-18 | 2021-05-14 | 王玉宏 | Computer identification method of answer sheet |
Also Published As
Publication number | Publication date |
---|---|
CN1251522C (en) | 2006-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB2288108B (en) | Network service system | |
ATE217748T1 (en) | MAINTAINING GROUP DATA IN A MOBILE COMMUNICATIONS SYSTEM | |
EP0913785A3 (en) | Method of sending messages to an electronic price label | |
EP0840509A3 (en) | System and method for accessing data files in a computer network | |
CN100446580C (en) | Method for intensifying short message business | |
CN1494330A (en) | Method of transmitting picture file using POSAG coding | |
EP1251436A3 (en) | Retrieval device, retrieval server, and retrieval system, as well as retrieval method and computer program | |
CN101754155B (en) | Call bill format conversion method and device and call bill processing method and system | |
EP1225526A3 (en) | Record media delivery system, record media delivery method, record media delivery program and information transmission device | |
CN1149463C (en) | Method of inputting characters through combination of numberic keys | |
CN1324914C (en) | Short message transmitting method for PCS short message system | |
WO2003107128A3 (en) | System for mapping business technology | |
PL326507A1 (en) | Digital-analog communication method and system | |
CN2852536Y (en) | Card scanner based on wireless communication | |
CN1325100A (en) | Radio data transmitting advertisement display in public traffic vehicles | |
CN1578358A (en) | Method for recharging on recharge card | |
CN100346657C (en) | Method for transmitting message on name card to telepone number book of mobile phone | |
CN2399797Y (en) | Radio data transmitting advertisement display of bus | |
CN1283016A (en) | Intelligent wireless announce system of integrated information | |
CN2445370Y (en) | Terminal device of comprehensive intelligent reporting system | |
CN1156133C (en) | Display segment of main call user number | |
CN1145320C (en) | Method for implement interneting protocol communication data transmission | |
CN1182313A (en) | High-efficiency transmission method of quotation information | |
CN2277542Y (en) | Infrared remote transmission teaching information feedback system | |
CN2620440Y (en) | Telephone bank digital information terminal based on fixed telephone network |
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 | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |