CN1251522C - Method of transmitting picture file using POSAG coding - Google Patents

Method of transmitting picture file using POSAG coding Download PDF

Info

Publication number
CN1251522C
CN1251522C CN 02146373 CN02146373A CN1251522C CN 1251522 C CN1251522 C CN 1251522C CN 02146373 CN02146373 CN 02146373 CN 02146373 A CN02146373 A CN 02146373A CN 1251522 C CN1251522 C CN 1251522C
Authority
CN
China
Prior art keywords
coding
posag
picture files
byte
pocsag
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.)
Expired - Fee Related
Application number
CN 02146373
Other languages
Chinese (zh)
Other versions
CN1494330A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 02146373 priority Critical patent/CN1251522C/en
Publication of CN1494330A publication Critical patent/CN1494330A/en
Application granted granted Critical
Publication of CN1251522C publication Critical patent/CN1251522C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The aim of the present invention is to transmit picture files on the basis of current POSAG paging protocols, and the picture files are converted to POSAG coding which can be directly discriminated by POSAG. The edited picture files are converted to protocols which can be completely displayed and recognized by the POSAG through arranging and recoding lattice picture files, and the protocols are transmitted. The present invention uses POSAG coding to transmit the picture files for realizing the aim of the present invention, and the method comprises generation of the binary data flow of the picture files, interception of the binary data, generation of basic recording bytes by addition of basic coefficients and quadric generating processing to generated basic bytes; the generated bytes can become POSAG codes in ASCII encoding, the POSAG codes can be coded, and the reduction of the lattice picture files is realized by inverse algorithm of coding modes.

Description

A kind of method of utilizing the POCSAG coding to transmit graphic file
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 POCSAG 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 POCSAG 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 POCSAG coding.The POCSAG 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 POCSAG of standard coding, after expansion can transmit Chinese character information.Its method is when using the POCSAG 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 POCSAG coding, pocsag code 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 POCSAG, convert graphic file to coding that POCSAG can directly differentiate.By arrangement, recompile, convert the graphic file that edits to POCSAG and can show all that the agreement of identification transmits the dot pattern file.
In order to realize the order of foregoing invention, the present invention adopts following technical scheme:
The invention provides the method that a kind of POCSAG of utilization coding transmits graphic file, this method comprises the steps:
1) the dot pattern generation binary number that only has two states flows;
2) described binary number being flowed per 7 is one group and intercepts;
3) add 0 in each position, 7 hytes end and generate basic byte;
4) thus every group of byte code dropped on the byte addition 20H of 0-4FH and the byte addition 50H that drops on 50H-7FH drops on the byte of its generation can to compile it can be transmitted by the POCSAG coding;
5) algorithm for inversion employing step 4) to 1) is realized the reduction of dot pattern file.
Described method is included in the positive that adopts dot pattern, and bright spot is recorded as 1, and 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.
Described positive computing and inverse operation are all finished at computer and single-chip microcomputer.
Embodiment
The present invention is the coding method foot of usefulness, 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
Conversion table in 0 ~ 40H interval:
0 ...... 4FH
Become behind+the 20H:
20H ...... 6FH
In POCSAG when coding, be the ASCII encoding process routinely.
The byte addition " 50H " that coding is dropped on 50H ~ 7FH, as conversion table 2:
Conversion table 2
Conversion table in 50H ~ 7FH interval:
50H ...... 7FH
Become behind+the 50H:
AOH ...... DFH
Press expansion ASCII encoding process during the POCSAG coding.
Byte after all are intercepted all drops on the pocsag code the compiled 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 POCSAG coding.The mode that can compile the graphic file reduction figure of pocsag code 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 pocsag code transmits.

Claims (3)

1. method of utilizing POCSAG coding to transmit graphic file, this method comprises the steps:
1) the dot pattern generation binary number that will only have two states flows;
2) described binary number being flowed per 7 is one group and intercepts;
3) add 0 in each position, 7 hytes end and generate basic byte;
4) thus every group of byte code dropped on the byte addition 20H of 0-4FH and the byte addition 50H that drops on 50H-7FH drops on the byte of its generation can to compile it can be transmitted by the POCSAG coding;
5) algorithm for inversion employing step 4) to 1) is realized the reduction of dot pattern file.
2. the method for utilizing the POCSAG coding to transmit graphic file as claimed in claim 1, it is characterized in that, described method is included in the positive that adopts gas system of battle formations shape, bright spot is recorded as 1, stain is recorded as 0, in negative, bright spot is recorded as 0, stain is recorded as 1, to convert dot pattern to binary data stream.
3. the method for utilizing the POCSAG coding to transmit graphic file according to claim 1 and 2 is characterized in that described positive computing and inverse operation are all finished at computer and single-chip microcomputer.
CN 02146373 2002-10-29 2002-10-29 Method of transmitting picture file using POSAG coding Expired - Fee Related CN1251522C (en)

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 CN1494330A (en) 2004-05-05
CN1251522C true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082989B (en) * 2006-05-29 2011-05-18 联咏科技股份有限公司 Method and device for area intercepting encode
JP5553140B2 (en) * 2009-10-02 2014-07-16 ソニー株式会社 Information processing apparatus and method
CN107919943B (en) 2016-10-11 2020-08-04 阿里巴巴集团控股有限公司 Method and device for coding and decoding binary data
CN112801081B (en) * 2021-01-18 2024-07-05 王玉宏 Computer recognition method for answer sheet

Also Published As

Publication number Publication date
CN1494330A (en) 2004-05-05

Similar Documents

Publication Publication Date Title
GB2288108B (en) Network service system
CN1251522C (en) Method of transmitting picture file using POSAG coding
CN1137202A (en) Method of bypassing vocoders in digital mobile communication system
CN1891002A (en) Systems and methods for multiplexing control data for multiple data channels onto a single control channel
CN100446580C (en) Method for intensifying short message business
CN102523444B (en) A kind of monochrome bitmap compression method and system thereof
CN110458250A (en) A kind of instant fabrication method of social security card
CN1968441A (en) Method for implementation of predefined short message service
CN101754155B (en) Call bill format conversion method and device and call bill processing method and system
CN1324914C (en) Short message transmitting method for PCS short message system
GB0104940D0 (en) Direct data placement and message reassembly
CN1335733A (en) Handwriting inputting, sending and receiving method and system for mobile terminal
CN1145309C (en) Method for managing intelligent network by open interface of service management site
CN1568058A (en) A remote control system and method thereof
CN2852536Y (en) Card scanner based on wireless communication
CN2445370Y (en) Terminal device of comprehensive intelligent reporting system
CN1145320C (en) Method for implement interneting protocol communication data transmission
CN2407538Y (en) Upward station for wireless security transaction system
CN1770807A (en) Wireless communication system in astronomical telescope
CN106658439A (en) Intelligent short message interaction system based on short message platform
CN1505374A (en) Method for handling short message via mobile communication apparatus on fixed platform by use of external electronic equipment
CN110019460A (en) Heterogeneous database exchange method and device based on annular high-speed buffer
TW343314B (en) Method to adjust a computer unit on the type of a connected picture-output-device as well as a TV-PC-converting-cable
CN1271507A (en) Communication system
CN110650150A (en) Computer wireless propagation neural network method based on 5G 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