CN1266626C - Portable terminal for realizing information exchange by utilizing wireless communication protocol - Google Patents

Portable terminal for realizing information exchange by utilizing wireless communication protocol Download PDF

Info

Publication number
CN1266626C
CN1266626C CN 02152065 CN02152065A CN1266626C CN 1266626 C CN1266626 C CN 1266626C CN 02152065 CN02152065 CN 02152065 CN 02152065 A CN02152065 A CN 02152065A CN 1266626 C CN1266626 C CN 1266626C
Authority
CN
China
Prior art keywords
data
portable terminal
wireless communication
microprocessor
radio communication
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 02152065
Other languages
Chinese (zh)
Other versions
CN1503148A (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.)
Shenzhen Sonny Technology Co., Ltd.
Original Assignee
SHENZHEN ZHANGXIN SCIENCE AND 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 SHENZHEN ZHANGXIN SCIENCE AND TECHNOLOGY Co Ltd filed Critical SHENZHEN ZHANGXIN SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN 02152065 priority Critical patent/CN1266626C/en
Publication of CN1503148A publication Critical patent/CN1503148A/en
Application granted granted Critical
Publication of CN1266626C publication Critical patent/CN1266626C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a portable terminal device which comprises an electronic notebook, an electronic dictionary, a palmtop computer, etc. The present invention particularly relates to a portable terminal which implements data information exchange with other equipment by a wireless communication protocol. The portable terminal comprises a microprocessor, a storage device and a display device, wherein the storage device is connected with the microprocessor. On the basis of a portable terminal module of a human-computer interaction device, the portable terminal also comprises a wireless communication module, wherein the wireless communication module uses an ISM frequency channel and an FSK modulation / demodulation mode; the wireless communication module is connected with a communication port of the microprocessor, and communicates in an RS232 standard serial mode. According to the portable terminal device which exchanges data information by wireless communication, the present invention can implement long distance communication with lower cost, and has an extensive application prospect; the present invention carries out wireless communication by the ISM frequency channel. Thus, one-to-one or one-to-many or many-to-many data communication between machines is obtained, and the functions of wireless games, data exchange, the close range chat of a wireless network, etc. are completed.

Description

Realize the portable terminal of message exchange by wireless communication protocol
Technical field
The present invention relates to comprise the mobile terminal device of electronic notebook, electronic dictionary, palm PC etc., be specifically related to a kind of portable terminal by data information exchange between wireless communication protocol realization and other equipment.
Background technology
Development along with infotech, various portable terminals emerge in an endless stream, for example, electronic dictionary that multi-form words explains can be provided, conveniently to write down and to read the electronic notebook that various information are major function, the palm PC that gathers multi-function in integral whole or the like, the portable terminal that these functions are identical or different lacks between the terminal, the valid data means of exchange between terminal and outside other equipment.For example, adopt short-range bluetooth standard to realize radio interconnected communication, have then that communication distance is short, cost is high, be difficult to problems such as popularization, as earlier by with the wired connection of notebook, realize and external interconnect by mobile phone again, though communication distance improves, but complicated operation, the very difficult user who is not possessed professional knowledge accepts.
Summary of the invention
The technical problem to be solved in the present invention is the communication capacity that how to strengthen terminal device, promptly how to realize between the terminal and the radio communication between terminal and the miscellaneous equipment, the communication mode and the specific communication protocol that specifically will provide a kind of suitable terminal device to use, provide and to carry out the portable pda terminal of wireless data exchange to each other or with external unit, this terminal can directly be carried out wireless connection communication with communication object, realizes the real time data message exchange.
The above-mentioned technical matters of the present invention solves like this, construct a kind of portable terminal of realizing message exchange by wireless communication protocol, the portable terminal module that memory storage, display device and a human-computer interaction device that comprises microprocessor, is connected with described microprocessor is arranged, it is characterized in that, also comprise a wireless communication module that adopts ISM band and FSK modulating/demodulating mode, described wireless communication module is connected with described microprocessor communication port, and communicates in RS232 standard serial port mode.
In according to portable terminal provided by the invention, described portable terminal module can be electronic notebook, electronic dictionary, palm PC, and described memory storage can be FLASH storer, ROM or SRAM storer.
In according to portable terminal provided by the invention, signal link comprises power lead VCC and VSS, look-at-me line INT1 and WAKEUP line, command channel line PC2-SDATA, PC1-SCK and PC0-SLE, data line RX/TX-DATAMSG and data clock line PC3-DATACLK between described communication port and the described wireless communication module.
In according to portable terminal provided by the invention, after receiving radiofrequency signal, described wireless communication module notifies described microprocessor by look-at-me line WAKEUP, read digital signal after the demodulation by described microprocessor by the send buffer of data line DATAMSG from be included in described wireless communication module, when described microprocessor has data to send, the data that needs send are delivered to the transmission buffer zone that is included in the described wireless communication module and started timed sending by signal wire TX, and the communications command between described microprocessor and the described wireless communication module is by described signal wire SLE, SCK, SDATA transmits.
In according to portable terminal provided by the invention, the Transmission bit rate of described RS232 standard serial port mode is 19200,8 bit data, no parity check position, 1 position of rest.
In according to portable terminal provided by the invention, the communication protocol data packet format that described wireless communication module adopts comprises the guiding byte of 1 byte, the beginning label of 2 bytes, the data segment of 30 bytes and the end mark of 1 byte.
In according to portable terminal provided by the invention, the data segment of described 30 bytes comprise transmit leg ID, 20 bytes of take over party ID, 3 bytes of packet id field, 3 bytes of type field, 1 byte of 1 byte of representing packet valid data section, 2 bytes with the verification section.
Implement the mobile terminal device by the radio communication exchange data information provided by the invention, owing to realizing that the communication of longer communication distance has broad application prospects with lower cost, carry out radio communication by ISM band, reach between the machine one to one, the data communication of one-to-many or multi-to-multi, function such as finish that wireless game, swap date, wireless network are closely chatted.
Description of drawings
Fig. 1 is the logic diagram that the present invention passes through the mobile terminal device of radio communication exchange data information
Fig. 2 is the main control part of the signal relation between explanation communication module and the terminal module and the connection diagram between the wireless communication module.
Fig. 3 is the circuit theory diagrams that the present invention passes through the mobile terminal device of radio communication exchange data information;
Fig. 4 is the schematic flow sheet of master routine in the mobile terminal device of the present invention;
Fig. 5 is the schematic flow sheet that receives interruption subroutine in the mobile terminal device of the present invention;
Fig. 6 is the schematic flow sheet of timing interruption subroutine in the mobile terminal device of the present invention;
Fig. 7 is the communication protocol data packet format synoptic diagram that explanation is used in mobile terminal device of the present invention;
Fig. 8 is the form synoptic diagram of data field part among Fig. 7.
Embodiment
The present invention comprises two aspects: communication mode and communication protocol.By these two kinds of technology are embedded into any portable terminal, can constitute various, distinguished portable terminal product.Wherein, communication mode is to use general in the world ISM band, adopts FSK modulation and demodulation technology, and the sending and receiving function of data is integrated on the chip, its biggest advantage is need not be to Wireless Management Committee application frequency range, at the bottom of the power consumption, radiation is little, integrated level is high.Communication protocol then is custom protocol, has simple, reliable and certain characteristics of maintaining secrecy.If adopt existing communication protocol, must there be the unfavorable factor of agreement complexity, coding difficulty and the very expensive testing tool of needs.
As shown in Figure 1, include LCD LCD 2 and human-computer interaction interface unit 4 according to the mobile terminal device by the radio communication exchange data information provided by the invention, this human-computer interaction interface unit 4 can be button or touch-screen, power supply power supply unit 5 is not only given the power supply of portable terminal end parts, and returns wireless communication module 7 power supplies by power lead 10; Main Control Unit 1 can carry out display driver for LCD unit 2, also can receive the information from human-computer interaction interface unit 4, and MCU unit 1 also is connected with storer 3, and it can be FLASH storer, ROM or SRAM storer.
The present invention is the improvement of conventional portable terminal, increases wireless communication module 7, and Main Control Unit 1 comes the supervisory communications process by communication interface 6 and order wire 9.Order and data that wireless communication module 7 receives from Main Control Unit 1, and modulation, the amplification of the data that will send by FSK, send in the air via antenna 8; Wireless communication module 7 receptions simultaneously are from the wireless signal of antenna 8, through the radio frequency of this wireless communication module 7 amplify, the mixing of superhet, again pass through the intermediate frequency filtering (10.7Mhz and 455KHz) of two-stage, then to the fsk signal demodulation, the digital signal that obtains is by interrupt mode notice Main Control Unit 1, at last, Main Control Unit 1 reads back data to come and is stored in by communication interface 6 and order wire 9 from the impact damper of wireless communication module 7 accepts buffer zone, handles for the master routine of Main Control Unit 1.
As shown in Figure 2, the order wire 9 that links to each other with wireless communication module 7 of the communication interface 6 in the portable terminal end parts is by 8 lines.Wherein there are two to be power lead VCC (positive source) and VSS (power cathode); A look-at-me line INT1, when wireless communication module 7 receives data, WAKEUP wakes Main Control Unit 1 up by its look-at-me line, make it receive data as early as possible, use signal wire WAKEUP that two benefits are arranged: the one, whether Main Control Unit 1 need not at every moment be inquired about wireless communication module 7 data, improves the efficient of Main Control Unit 1.Two are to use interrupt mode to reduce the power consumption of portable terminal greatly; Datamsg in the wireless communication module 7 is a data line, when sending data, Main Control Unit 1 data are sent to wireless communication module 7 with predefined traffic rate by the TX signal wire, when receiving data, Main Control Unit 1 receives data in conjunction with RX and PC3 line; Command communication between Main Control Unit 1 and the wireless communication module 7 is that three signal wire SLE, SCK, the SDATA by wireless communication module 7 realizes, SLE is the enable signal line of wireless communication module 7, SCK is a clock cable, and SDATA used data line during for exchange command between the two.
In the circuit theory diagrams of the present invention shown in Fig. 3 by the mobile terminal device of radio communication exchange data information, wireless communication module (U1), CPU (U11), the LCD MODULE that is connected with CPU, memory module and human-computer interaction module are arranged, and the power supply unit of giving above each module for power supply.The on line of wireless communication module and terminal module illustrates in Fig. 2.
The communication protocol that the present invention is adopted is described as follows below:
Communication employing standard 232 serial ports, baud rate 19200,8 bit data, no parity check position, 1 position of rest.Reception information is used interrupt mode, as shown in Figure 5, judge have do not receive data (frame 501), if any then will receiving data storage to buffer zone, and pointer add 1 (frame 502) the data storage that receives in send buffer, return (frame 503); And transmission information adopts timer interrupt mode.The task of master routine as shown in Figure 4 then is to detect send buffer earlier whether a complete packet information (frame 404) is arranged, if any then handling this packet (frame 404) earlier; Otherwise other incidents of this machine of processing (frame 403), in case this machine has the data (frame 406) that will send, at first data storage in sending the data buffer (frame 407), start timer then, carry out data and send.Comprise that between this common process is as powering on, reset (frame 401) and hardware initialization (frame 402), the timing interruption subroutine flow process of transmission data as shown in Figure 6, comprise and judge have the data of denying to send (frame 601), subtract 1 (frame 602), return (frame 603) at last if any sending 1 byte data and pointer.
The communication protocol data packet format as shown in Figure 7.Wherein:
1. guide byte (0xA5)
Starting the RF receiver module, all is standard 232 because our system sends reception, is to be unit with the byte, so need 1 BYTE..
Opening flag (0xAA, 0x55)
Data opening flag byte.Be used for when receiving, filtering mixed and disorderly signal.
3, end mark (0x16)
Represent that this packet finishes.
4, data (30BYTE) data division form as shown in Figure 8.
1. type (1 byte) is used to represent the type of packet.Data have two classes: packets of information, response packet.
2. packet ID (1 byte), because the valid data of each packet i.e. 10 Chinese character informations of 20 bytes only, a lot of information all need to split into a plurality of bags and send.The total data bag number of high 4 these information of bit representation of this field, low which packet of 4 bit representations.
If response packet:
Low 4 bit representations of this field: packet ID.
High 4: 0000 expression receives OK
1111 request repeats.
3. take over party ID (1 byte) can be a sequence number, from 000000~0xFFFFFF, can represent more than 1,670 ten thousand different identity.Take over party ID can be public ID.
4. transmit leg ID (1 byte) can be a sequence number, from 000000~0xFFFFFF, can represent more than 1,670 ten thousand different identity.
5. valid data (20 byte), certain one piece of data of certain bar information.(response packet is this field not)
6. and verification, comprise the data sum of each byte, for example, before each byte data sum from " type " byte to " and verification ".

Claims (6)

1, a kind of portable terminal of realizing message exchange by wireless communication protocol, there is one to comprise microprocessor, the memory storage that is connected with described microprocessor, the mobile terminal device of display device and human-computer interaction device, it is characterized in that, also comprise a radio communication device that adopts ISM band and FSK modulating/demodulating mode, described radio communication device is connected with described microprocessor communication port, and communicate in RS232 standard serial port mode, signal link comprises the look-at-me line WAKEUP that notifies described microprocessor after described radio communication device is received radiofrequency signal between described radio communication device and the described microprocessor, described microprocessor is used for reading from the send buffer that is included in described radio communication device the data line DATAMSG of the digital signal after the demodulation, be used for when described microprocessor has data to send, the data that needs send are delivered to transmission buffer zone that is included in the described radio communication device and the signal wire TX that starts timed sending, and the signal wire SLE that is used between described microprocessor and described radio communication device, transmitting communications command, SCK and SDATA.
According to the described portable terminal of claim 1, it is characterized in that 2, described mobile terminal device is one of electronic notebook, electronic dictionary, palm PC, described memory storage is one of FLASH storer, ROM or SRAM storer.
3, according to claim 1 or 2 described portable terminals, it is characterized in that, signal link comprises power lead VCC and VSS, look-at-me line INT1 and WAKEUP, command channel line PC2-SDATA, PC1-SCK and PC0-SLE, data line RX/TX-DATAMSG and data clock line PC3-DATACLK between described communication port and the described radio communication device.
According to claim 1 or 2 described portable terminals, it is characterized in that 4, the Transmission bit rate of described RS232 standard serial port mode is 19200,8 bit data, no parity check position, 1 position of rest.
According to the described portable terminal of claim 4, it is characterized in that 5, the communication protocol data packet format that described radio communication device adopts comprises the guiding byte of 1 byte, the beginning label of 2 bytes, the data segment of 30 bytes and the end mark of 1 byte.
6, according to the described portable terminal of claim 5, it is characterized in that, the data segment of described 30 bytes comprise transmit leg ID, 20 bytes of take over party ID, 3 bytes of packet id field, 3 bytes of type field, 1 byte of 1 byte of representing packet valid data section, 2 bytes with the verification section.
CN 02152065 2002-11-26 2002-11-26 Portable terminal for realizing information exchange by utilizing wireless communication protocol Expired - Fee Related CN1266626C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02152065 CN1266626C (en) 2002-11-26 2002-11-26 Portable terminal for realizing information exchange by utilizing wireless communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02152065 CN1266626C (en) 2002-11-26 2002-11-26 Portable terminal for realizing information exchange by utilizing wireless communication protocol

Publications (2)

Publication Number Publication Date
CN1503148A CN1503148A (en) 2004-06-09
CN1266626C true CN1266626C (en) 2006-07-26

Family

ID=34234609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02152065 Expired - Fee Related CN1266626C (en) 2002-11-26 2002-11-26 Portable terminal for realizing information exchange by utilizing wireless communication protocol

Country Status (1)

Country Link
CN (1) CN1266626C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877598A (en) * 2010-06-11 2010-11-03 武汉虹信通信技术有限责任公司 Reception level acquisition system for FSK wireless transceiver circuit and method thereof
CN111306712A (en) * 2020-02-25 2020-06-19 珠海格力电器股份有限公司 Communication control method and device and air conditioning system

Also Published As

Publication number Publication date
CN1503148A (en) 2004-06-09

Similar Documents

Publication Publication Date Title
CN101061468A (en) System, method, and apparatus for extended serial peripheral interface
CN102055501A (en) Electronic tour guide system and method based on bluetooth technology
CN106254043A (en) Method, base station and the target terminal of a kind of data transmission
CN201757903U (en) Usb key device
CN101080073B (en) A between-module communication circuit and method of dual-mode communication terminal
CN201717938U (en) Portable communication device
CN1266626C (en) Portable terminal for realizing information exchange by utilizing wireless communication protocol
CN201331764Y (en) Multifunctional handhold terminal
CN201638358U (en) Intelligent radio-frequency wireless anti-lost device
CN100351860C (en) Hand held device with radio frequency electronic label
CN202110568U (en) 2.4GHz RFID read-write equipment
CN2772134Y (en) External wireless communication device
CN1768327A (en) Method and system for efficient character-based processing
CN2532533Y (en) PDA capable of exchanging data by radio communication
CN201910097U (en) Gprs wireless intelligent payment terminal
CN201262751Y (en) Control circuit structure for bar-code scanning gun
CN206596046U (en) Network telephone
CN202034970U (en) Wireless receiver based on chip AT89S52
CN201360355Y (en) Wireless transmission device
CN201298218Y (en) Handwritten input positioning device
CN204028954U (en) A kind of RFID card reader
CN108337724A (en) A method of sending energy consumption for being reduced in passive reflective communication
CN216490487U (en) DK25L series-based ultra-low power consumption Bluetooth read-write module
CN208044553U (en) A kind of 2.4GHz wireless mouses keyboard receiver
CN204479937U (en) A kind of multimachine wireless telecommunication system for Smart Home Near Field Communication

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN CITY SANGNI TECHNOLOGIES CO., LTD.; ZONG

Free format text: FORMER OWNER: SHENZHEN CITY ZHANGXIN SCIENCE CO., LTD.; ZONG GUISHENG

Effective date: 20060707

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20060707

Address after: 518054 Guangdong city of Shenzhen province Nanshan District venture Road Yihai Square East Building Room 2308

Co-patentee after: Zong Guisheng

Patentee after: Shenzhen Sonny Technology Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Nanguang road Day holiday Verde A19A

Co-patentee before: Zong Guisheng

Patentee before: Shenzhen Zhangxin Science and Technology Co., Ltd.

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